/* Client account portal (/qeeg-analysis/my, /neurofeedback-analysis/my) — FINAL-4A 2026-10-14. On top of site.css + v2.css. Mobile first (390 px).
   Whole file E (2026-10-15): site.css and v2.css carry the standard type themselves now (Inter text, Source Serif 4 headings); the block at the
   end keeps the portal's size (16/1.6) and weights. The "Parent: … · Child: …" line of a client under 18 (B-4) uses .badge.mute. */
.acct main{padding:18px 16px 48px}   /* CROSS-SERVICE SESSION KO/390: a 16px side gutter so the sign-in / content box never touches the edge on a phone */
.acct .wrap{max-width:980px}
.acct h1{font-size:30px;margin:6px 0 12px}
.acct .box{box-sizing:border-box;background:#fff;border:2px solid var(--ink);border-radius:var(--r);box-shadow:var(--shadow);padding:20px;margin:0 0 16px}   /* border-box: the 20px padding + 2px border stay inside the box so it never overflows a phone viewport */
.acct .login{max-width:460px;margin:24px auto}
.acct .login h2{margin:0 0 8px;font-size:24px}
.acct .field input[type=email],.acct .field input[type=text],.acct .codein{width:100%;box-sizing:border-box;padding:12px 14px;border:2px solid var(--ink);border-radius:12px;font:inherit;font-size:17px;background:#fff}
.acct .codein{letter-spacing:6px;font-size:24px;font-weight:800;text-align:center;max-width:240px}
.acct .btn.wide{width:100%;justify-content:center}
.acct .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}
.acct .linkbtn{background:none;border:0;padding:0;color:var(--ink);text-decoration:underline;font:inherit;font-weight:700;cursor:pointer}
.acct .who{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 12px;font-size:15px}
.acct .who .kind{border:1.5px solid var(--ink);border-radius:999px;padding:1px 10px;font-size:13px;font-weight:800;background:#fff}
.acct .who .sp{flex:1}
.acct .who-tt{display:inline-flex;gap:6px;align-items:center;font-size:14px;color:var(--muted);font-weight:700;white-space:nowrap;cursor:pointer}   /* A2: owner "Show test data" */
.acct .who-tt input{width:16px;height:16px;cursor:pointer}
.acct .tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px}
.acct .tabs button{border:2px solid var(--ink);background:#fff;border-radius:999px;padding:7px 15px;font:inherit;font-weight:800;font-size:15px;cursor:pointer;color:var(--ink)}
.acct .tabs button[aria-selected="true"]{background:var(--ink);color:#fff}
.acct .grp{margin:18px 0 8px;font-size:18px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.acct .grp small{font-weight:600;color:var(--muted);font-size:14px}
.acct .ord{background:#fff;border:2px solid var(--ink);border-radius:18px;padding:14px 16px;margin:0 0 12px}
.acct .ord.jump{outline:3px solid var(--ink);outline-offset:3px}   /* card 1010 B: the order opened from the board's [Open] */
.acct .ord .top{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.acct .ord .top b{font-size:17px}
.acct .ord .top .sp{flex:1}
.acct .ord .meta{color:var(--muted);font-size:14px;margin:4px 0 0}
.acct .ord .what{font-size:15px;margin:6px 0 0}
.acct .ord p.stp{margin:8px 0 0;font-size:15px}
.acct .pill{display:inline-block;border-radius:999px;padding:2px 10px;font-size:13px;font-weight:800;border:1.5px solid var(--ink);background:#fff;white-space:nowrap}
.acct .pill.received{background:#eef5fb}.acct .pill.working{background:#fff3e0}.acct .pill.ready{background:#e7f6ee}.acct .pill.refunded,.acct .pill.closed{background:#f1f1f1}
/* card 1950 A: an order that stopped — reupload (the client acts) · checking (we act) */
.acct .pill.reupload{background:#fdecea}.acct .pill.checking{background:#fff3e0}.acct .ord p.stp.why{margin-top:4px;color:#555}.acct .row.more{margin:14px 0 0;align-items:center;gap:10px}
.acct .badge{display:inline-flex;gap:6px;align-items:center;border-radius:999px;padding:3px 10px;font-size:13.5px;font-weight:800;background:#fde7d6;border:1.5px solid #c2581d;color:#7a3410}
.acct .badge.ok{background:#e7f6ee;border-color:#1f7a4d;color:#14532d}
.acct .badge.mute{background:#f1f1f1;border-color:#999;color:#444}
.acct .acts{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.acct .acts .btn{min-height:40px;font-size:14.5px;padding:0 14px}
.acct .panel{border:1.5px dashed var(--ink);border-radius:14px;padding:12px 14px;margin:12px 0 0;background:#fffdf6;font-size:15px}
.acct .panel ul{margin:6px 0 0;padding-left:18px}
.acct .panel textarea{width:100%;box-sizing:border-box;min-height:80px;border:2px solid var(--ink);border-radius:10px;padding:8px 10px;font:inherit}
.acct .kv{display:grid;grid-template-columns:max-content 1fr;gap:4px 12px;margin:6px 0}
.acct .kv b{font-family:Consolas,monospace;font-size:17px;letter-spacing:1px}
.acct .cc{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0 0;font-size:14px}
.acct .cc input{padding:6px 10px;border:1.5px solid var(--ink);border-radius:8px;font:inherit;width:170px}
.acct .att{display:flex;gap:6px;align-items:center;font-size:13.5px;color:#14532d;margin:6px 0 0}
.acct .att svg{width:17px;height:17px;flex:none}
.acct table.ag{width:100%;border-collapse:collapse;font-size:14.5px;margin:6px 0 4px}
.acct table.ag th,.acct table.ag td{text-align:left;padding:7px 8px;border-top:1px solid var(--line);vertical-align:top}
.acct table.ag th{font-size:13px;color:var(--muted)}
.acct .gate{position:fixed;inset:0;background:rgba(20,20,20,.55);z-index:70;display:flex;align-items:center;justify-content:center;padding:16px}
.acct .gate>div{background:#fff;border:2px solid var(--ink);border-radius:20px;max-width:560px;width:100%;padding:22px;max-height:90vh;overflow:auto}
.acct .gate ul{padding-left:18px}
.acct .state{display:flex;gap:10px;align-items:center;justify-content:center;padding:40px 0;color:var(--muted)}
@media (max-width:620px){
  .acct h1{font-size:25px}
  .acct .box{padding:16px}
  .acct .acts .btn{flex:1 1 calc(50% - 8px);justify-content:center}
  .acct table.ag thead{display:none}
  .acct table.ag,.acct table.ag tbody,.acct table.ag tr,.acct table.ag td{display:block;width:100%}
  .acct table.ag tr{border-top:1px solid var(--line);padding:6px 0}
  .acct table.ag td{border:0;padding:2px 0}
  .acct table.ag td::before{content:attr(data-l);display:block;font-size:12px;color:var(--muted);font-weight:700}
}
/* INTAKE-CATALOG (2026-10-14): My forms — builder + phone preview */
.acct .fbox .fgrid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
@media (max-width:760px){.acct .fbox .fgrid{grid-template-columns:minmax(0,1fr)}}
.acct .fbox input[type=text],.acct .fbox select{width:100%;box-sizing:border-box;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:10px;font:inherit;background:#fff}
.acct .fbox .l{display:block;font-weight:700;margin:12px 0 6px}
.acct .seg2{display:flex;gap:8px;margin:12px 0 4px}
.acct .seg2 button{flex:1;border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 10px;font:inherit;font-weight:700;cursor:pointer}
.acct .seg2 button.on{border-color:var(--blue);background:#eef5fb}
.acct ol.fitems{padding-left:20px;margin:6px 0}
.acct ol.fitems li{display:flex;gap:6px;align-items:center;margin:6px 0}
.acct .phone{width:280px;max-width:100%;border:10px solid #1c2733;border-radius:28px;padding:14px 12px;background:#fff;min-height:360px;box-sizing:border-box;font-size:14px}
.acct .phone .phead{font-weight:800;margin:0 0 10px}
.acct .phone .pq p{margin:8px 0 6px}
.acct .phone .po{display:flex;gap:6px;flex-wrap:wrap}
.acct .phone .po span{border:1px solid var(--line);border-radius:999px;padding:4px 10px;font-size:13px}
.acct .phone .pt{height:44px;border:1px solid var(--line);border-radius:8px}
.acct td.r{text-align:right;white-space:nowrap}
/* NEXT-3 (2026-10-15): both /my pages (QEEG and Neurofeedback) — Guided Path type: Source Serif 4 headings + Inter 16px/1.6, radius 8.
   Korean falls back to the system Korean fonts. */
body.acct{--round:"Source Serif 4",Georgia,serif;font-size:16px;line-height:1.6}
body.acct,body.acct button,body.acct input,body.acct select,body.acct textarea,html.lang-ko body.acct{font-family:"Inter","Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",system-ui,sans-serif}
body.acct h1,body.acct h2,body.acct h3,body.acct .brand,html.lang-ko body.acct h1,html.lang-ko body.acct h2,html.lang-ko body.acct h3{font-family:"Source Serif 4","Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",Georgia,serif;font-weight:600}
/* NEXT-2 B: report downloads (dl.js) — [PDF] [Word] per report + Client summary */
.dl{margin:8px 0 2px}.dl summary{cursor:pointer;font-weight:700;font-size:15px;color:#2E5A7A;padding:4px 0}
.dl-list{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:6px}
.dl-list li{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fbfaf6;border:1px solid #eee7d8;border-radius:8px;padding:6px 10px}
.dl-list li.dl-sum{background:#eef5fa;border-color:#cfe0ee}
.dl-n{flex:1 1 180px;font-size:14px}
.dl-b{min-height:36px;padding:4px 12px;border:1px solid #c9d7e3;border-radius:8px;background:#fff;font:600 14px Inter,system-ui,sans-serif;color:#1a1a1a;cursor:pointer}
.dl-b:hover{border-color:#2E5A7A}.dl-b:disabled{opacity:.6}
