/* EMO Practice Lab membership, intentionally below first recommendation. */
.member-entry,.member-panel{max-width:740px;margin:16px auto 0;background:#faf8f3;border:1px solid #d7c9b8;border-radius:16px;padding:20px;color:#332922}
.member-entry h3,.member-panel h2{margin:0 0 5px;font-size:19px;line-height:1.35;letter-spacing:-.02em}
.member-entry p,.member-panel p{margin:6px 0 14px;color:#76695e;font-size:13px;line-height:1.7}
.member-entry button,.member-panel button,.member-dialog button:not(.member-close){border:0;border-radius:10px;background:#674628;color:#fff;font-weight:750;min-height:44px;padding:10px 15px;cursor:pointer}
.member-entry button:hover,.member-panel button:hover,.member-dialog button:not(.member-close):hover{background:#4e3520}
.member-panel .muted-action,.member-dialog .muted-action{background:#eee7dc!important;color:#4e3d2d!important}
.member-status{display:block;min-height:20px;font-size:12px;color:#6a4b2c;margin-top:9px;overflow-wrap:anywhere}
.member-status[data-error=true]{color:#a32d33}
.member-panel{max-width:980px;margin-top:22px}
.member-panel [hidden],.member-entry[hidden],.member-dialog [hidden]{display:none!important}
.member-top{display:flex;align-items:center;gap:14px;justify-content:space-between;flex-wrap:wrap}
.member-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.member-links a{font-size:12px;font-weight:700;color:#674628}
.member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.member-stack{display:grid;gap:10px;max-width:620px}
.member-panel label,.member-dialog label{font-size:13px;font-weight:700;color:#483a2c;display:grid;gap:6px;min-width:0}
.member-panel input:not([type=checkbox]),.member-panel select,.member-panel textarea,
.member-dialog input:not([type=checkbox]){width:100%;border:1px solid #d9c8b7;background:#fff;color:#35291e;border-radius:10px;padding:11px 12px;font-size:16px;min-height:45px;min-width:0}
.member-panel textarea{resize:vertical;min-height:85px}
.member-check{display:flex!important;align-items:flex-start;gap:10px!important;font-weight:500!important;line-height:1.6}
.member-check input{width:18px;height:18px;flex:none;margin-top:2px;accent-color:#795332}
.member-dialog{width:min(calc(100% - 24px),480px);max-height:90dvh;overflow:auto;background:#faf8f3;border:0;border-radius:20px;padding:24px;box-shadow:0 18px 70px #20140a47;color:#34281d}
.member-dialog::backdrop{background:#22170dc0}
.member-dialog h2{font-size:23px;line-height:1.3;margin:0 0 8px}
.member-dialog p{color:#76695e;font-size:13px;margin:6px 0 17px}
.member-dialog form{display:grid;gap:12px}
.member-dialog .dialog-heading{display:flex;justify-content:space-between;gap:10px;align-items:start}
.member-dialog .member-close{border:0;border-radius:9px;background:#eee5d9;color:#51402f;padding:9px 12px;cursor:pointer}
.member-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:10px 0}
.member-papers{display:grid;gap:9px;margin:12px 0 18px}
.member-paper{background:#fff;border:1px solid #e1d6c9;border-radius:10px;padding:12px}
.member-paper b{font-size:14px;display:block;overflow-wrap:anywhere}
.member-paper small{font-size:12px;color:#867567}
.member-paper button{margin-top:8px}
.member-divider{border:0;border-top:1px solid #ded2c3;margin:24px 0}
.member-inline-note{font-size:11px;color:#776a5c;line-height:1.7}
.member-panel .danger-outline{border:1px solid #ac6559!important;background:transparent!important;color:#9b4138!important}
.member-report-status{display:inline-block;margin-left:6px;padding:2px 7px;background:#eee6db;color:#4b4036;border-radius:999px;font-size:11px}
@media(max-width:650px){
  .member-entry,.member-panel{padding:16px}
  .member-grid{grid-template-columns:1fr}
  .member-dialog{padding:18px}
  .member-actions button,.member-entry button{width:100%}
}

.wrong-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:6px;margin:6px 0 12px}
.wrong-cell{min-height:38px;border:1px solid #cfc6b4;border-radius:8px;background:#fff;font:inherit;cursor:pointer}
.wrong-cell.on{background:#1f3a5f;color:#fff;border-color:#1f3a5f}
.member-note{margin:8px 0 2px;font-size:.92em;opacity:.8}

#official .shell{max-width:1100px;margin:0 auto;padding:0 20px}
.free-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin-top:12px}
.free-card{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid #e3dccd;border-radius:12px;background:#fff;text-decoration:none;color:inherit}
.free-card small{opacity:.7}
.free-card:hover{border-color:#1f3a5f}
