:root{--navy:#13294B;--navy2:#1d3a66;--teal:#0B6E78;--teal-d:#08525A;--teal-l:#E3F2F3;--ink:#18212F;--muted:#4B5565;--line:#DCE2EA;--line2:#EEF1F5;--bg:#F4F6F9;--warn:#FFF4DB;--warn-ink:#6B4300;--bad:#FDECEC;--bad-ink:#8A1C1C}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'IBM Plex Sans',system-ui,-apple-system,Segoe UI,sans-serif;font-size:15px;line-height:1.45}
a{color:var(--teal)}a:hover{color:var(--teal-d)}
header.top{background:var(--navy);color:#fff}
header.top .in{max-width:1280px;margin:0 auto;padding:0 28px;height:60px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;gap:8px;align-items:baseline;text-decoration:none;color:#fff}.brand b{font-weight:700;letter-spacing:.02em}.brand span{color:#B9C6DB}
nav.top a{color:#D3DCEA;text-decoration:none;margin-left:20px;font-size:14px}nav.top a:hover{color:#fff}
main{max-width:1280px;margin:0 auto;padding:28px}
h1{font-size:26px;font-weight:600;margin:0 0 4px}h2{font-size:18px;font-weight:600;margin:0}
.sub{color:var(--muted);margin:0}
.card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px;display:flex;flex-direction:column;gap:16px}
.grid{display:grid;gap:16px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:22px;align-items:start}
.stack{display:flex;flex-direction:column;gap:20px}
label{font-size:13px;color:var(--muted);display:block;margin-bottom:5px}
.f{display:flex;flex-direction:column}
input[type=file]{font:inherit}
input[type=text],input[type=search],input:not([type]),input[type=email],input[type=tel],input[type=password],input[type=number],select,textarea{width:100%;height:42px;padding:0 12px;border:1px solid #C7D0DC;border-radius:6px;font:inherit;background:#fff;color:var(--ink)}
textarea{height:auto;padding:10px 12px;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:13px}
input:focus,select:focus,textarea:focus{outline:2px solid var(--teal);outline-offset:0;border-color:var(--teal)}
.hint{font-size:12px;color:var(--muted);margin-top:4px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border-radius:6px;border:0;background:var(--navy);color:#fff;font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
.btn:hover{background:var(--navy2);color:#fff}.btn.sec{background:#fff;color:var(--navy);border:1px solid #C7D0DC;font-weight:500}.btn.sec:hover{background:var(--bg)}
.btn.sm{height:34px;padding:0 12px;font-size:14px}
.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}
.check{display:flex;gap:8px;align-items:center;font-size:15px;color:var(--ink)}.check input{width:18px;height:18px;accent-color:var(--navy)}
.msg{padding:12px 14px;border-radius:6px;font-size:14px}.msg.bad{background:var(--bad);color:var(--bad-ink)}.msg.warn{background:var(--warn);color:var(--warn-ink)}.msg.ok{background:var(--teal-l);color:var(--teal-d)}
.msg ul{margin:4px 0 0;padding-left:18px}
table.list{width:100%;border-collapse:collapse;background:#fff}
table.list th{text-align:left;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding:10px 14px;border-bottom:1px solid var(--line);background:#F8FAFC;font-weight:600}
table.list td{padding:11px 14px;border-bottom:1px solid var(--line2)}
table.list tr:hover td{background:#FAFBFC}
.tag{display:inline-block;padding:2px 8px;border-radius:10px;font-size:12px;background:var(--line2);color:var(--muted)}.tag.final{background:var(--teal-l);color:var(--teal-d)}
.kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.kpi{background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:4px}
.kpi .l{font-size:13px;color:var(--muted)}.kpi .v{font-size:21px;font-weight:600;font-family:'IBM Plex Mono',monospace}.kpi .s{font-size:12px;color:var(--muted)}
.kpi.dark{background:var(--navy);color:#fff;border-color:var(--navy)}.kpi.dark .l,.kpi.dark .s{color:#B9C6DB}
.qv{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:8px}
.qv table{border-collapse:collapse;width:100%;font-size:13px}
.qv th{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);padding:9px 8px;border-bottom:1px solid var(--line);text-align:right;vertical-align:bottom;background:#F8FAFC;position:sticky;top:0}
.qv td{padding:6px 8px;border-bottom:1px solid #D3D9E2;text-align:right;font-family:'IBM Plex Mono',monospace;white-space:nowrap}
.qv td.l,.qv th.l{text-align:left}
.qv tr.pay td{background:#E4F6E4;font-weight:600}.qv td.open{background:#F2FBF2}.qv td.last{font-weight:700;outline:1.5px solid #2f9a3a;outline-offset:-2px}
.tabs{display:flex;gap:6px}.tabs a{padding:8px 14px;border-radius:6px;text-decoration:none;background:#fff;border:1px solid var(--line);color:var(--muted)}.tabs a.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.seg{display:inline-flex;border:1px solid #C7D0DC;border-radius:6px;overflow:hidden}.seg label{margin:0;padding:9px 18px;cursor:pointer;color:var(--muted);font-size:15px}.seg input{display:none}.seg input:checked+span{color:#fff}.seg label:has(input:checked){background:var(--navy);color:#fff}
.login-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}
.login-side{background:var(--navy);color:#fff;padding:56px;display:flex;flex-direction:column;justify-content:space-between}
.login-side h1{font-size:36px;line-height:1.15;max-width:460px}.login-side p{color:#D3DCEA;max-width:460px}
.login-main{display:flex;align-items:center;justify-content:center;padding:40px}
.login-card{width:100%;max-width:400px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:36px;display:flex;flex-direction:column;gap:16px}
.hidden{display:none}
@media (max-width:900px){.layout,.g3,.g4,.kpis{grid-template-columns:1fr}.login-wrap{grid-template-columns:1fr}.login-side{display:none}}

.pill{display:inline-block;vertical-align:middle;margin-left:8px;padding:3px 9px;border-radius:999px;background:#E6EEF8;color:#16294A;font-size:12px;font-weight:700;letter-spacing:.3px}
.btn.danger{background:#fff;color:#A3241B;border:1px solid #E3B4AF}.btn.danger:hover{background:#FBEDEB}
.drop{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px;border:2px dashed #C7D0DC;border-radius:8px;background:#FAFBFD;cursor:pointer;text-align:center}
.drop input{display:none}.drop span{font-size:13px;color:#5B6B82}.drop.over{border-color:var(--navy);background:#EEF3FA}.drop .picked{color:#1E6B3A;font-weight:600}
.note{border-top:1px solid var(--line2);padding-top:12px;display:flex;flex-direction:column;gap:6px}
.notebody{white-space:pre-wrap;font-size:14px;max-height:260px;overflow:auto}
.mailhead{background:#F3F6FA;border-radius:6px;padding:8px 10px;font-size:13px}
.linkbtn{background:none;border:0;color:#A3241B;cursor:pointer;font:inherit;font-size:13px;padding:0}
.note.fresh{background:#EEF8F0;border-radius:6px;padding:10px;border-top:0}
.tag.notes{background:#E6F4EA;color:#1E6B3A;text-decoration:none;font-weight:600}
.tag{white-space:nowrap}table.list td:nth-last-child(1),table.list td.nw{white-space:nowrap}
table.list.wrap td:nth-last-child(1){white-space:normal;overflow-wrap:anywhere;min-width:180px}
tr.retired td{color:#8A94A6}tr.fresh td{background:#EEF8F0}
.combo{position:relative}.combo input{padding-right:34px}
.combo-arrow{position:absolute;right:1px;top:1px;height:40px;width:32px;border:0;background:transparent;color:var(--muted);font-size:14px;cursor:pointer}
.combo-list{position:absolute;z-index:20;right:0;width:max(100%,460px);top:44px;max-height:320px;overflow-y:auto;background:#fff;border:1px solid #C7D0DC;border-radius:6px;box-shadow:0 8px 24px rgba(16,32,64,.15)}
.combo-list .opt{padding:8px 12px;font-size:14px;cursor:pointer;border-bottom:1px solid #F0F3F7}
.combo-list .opt:hover,.combo-list .opt.hi{background:#EEF3FA}.combo-list .opt.sel{font-weight:600}
.combo-list .more{padding:8px 12px;font-size:13px;color:var(--muted)}
.calltab td input{height:36px}.calltab td:first-child{white-space:nowrap}.calltab tr.tot td{background:#F7F9FC}
input.diffcell{background:#FFFBCC;border-color:#D9C24A}
textarea{font:inherit}
a.sortlink{color:inherit;text-decoration:none;white-space:nowrap}a.sortlink:hover{text-decoration:underline}a.sortlink.on{color:var(--navy)}
.azbar{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:var(--bg);padding:8px 0;margin-bottom:8px}
.azbar a,.azbar .off{display:inline-block;min-width:30px;text-align:center;padding:5px 6px;border-radius:4px;font-weight:600;text-decoration:none}
.azbar a{color:var(--navy);background:#fff;border:1px solid var(--line)}.azbar a:hover{background:#EEF3FA}.azbar .off{color:#C2CAD6}
tr.azrow td{background:#F1F5FA;padding-top:6px;padding-bottom:6px}
.infdlg{width:min(760px,94vw);border:1px solid var(--line);border-radius:10px;padding:22px;box-shadow:0 20px 60px rgba(16,32,64,.25)}
.infdlg::backdrop{background:rgba(16,32,64,.35)}.infopts label span{font-size:14px}
.infrow{grid-template-columns:1fr 1.3fr 2fr auto;gap:12px;margin-bottom:12px}
@media (max-width:900px){.infrow{grid-template-columns:1fr}}
.kpis.dashk{grid-template-columns:repeat(4,minmax(0,1fr))}.kpis.dashk .kpi{text-decoration:none;color:inherit}.kpis.dashk .kpi b{font-size:26px}
.mail{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.mailrow{border-bottom:1px solid var(--line2)}.mailrow:last-child{border-bottom:0}
.mailrow summary{display:grid;grid-template-columns:200px 1fr auto;gap:12px;padding:10px 14px;cursor:pointer;list-style:none;align-items:baseline}
.mailrow summary::-webkit-details-marker{display:none}.mailrow summary:hover{background:#F7F9FC}
.mailrow .msubj{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mailrow .mwhen{white-space:nowrap}
.mailrow.handled summary{opacity:.6}.mailrow[open] summary{background:#EEF3FA}.mbody{padding:12px 14px;background:#FBFCFE}
.tnote{border-top:1px solid var(--line2);padding-top:10px}.tnote.done .notebody{text-decoration:line-through;color:var(--muted)}
.clip{font-size:14px;white-space:pre-wrap;color:#33415C}
@media (max-width:900px){.kpis.dashk{grid-template-columns:1fr 1fr}.mailrow summary{grid-template-columns:1fr}}
/* dashboard colour coding: green = support inbox, blue = collateral, amber = team notes, lilac = case notes */
.dash-mail{background:#F0F9F3;border-color:#BFE3CB;border-top:4px solid #2E8B57}
.dash-rem{background:#EEF4FC;border-color:#C6D8F0;border-top:4px solid #2B5797}
.dash-notes{background:#FFF9E8;border-color:#F0DFAE;border-top:4px solid #C9971C}
.dash-cnotes{background:#F5F3FB;border-color:#DAD3EE;border-top:4px solid #6F5BA8}
.dash-mail .mail,.dash-rem table.list,.dash-notes textarea{background:#fff}
.dash-rem table.list thead th{background:#E1EBF8}.dash-mail .mailrow summary:hover{background:#F6FBF8}
.dash-notes .tnote,.dash-cnotes .tnote{border-top-color:rgba(0,0,0,.08)}
.kpi.k-mail{background:#F0F9F3;border-color:#BFE3CB;border-left:4px solid #2E8B57}
.kpi.k-rem{background:#EEF4FC;border-color:#C6D8F0;border-left:4px solid #2B5797}
.kpi.k-notes{background:#FFF9E8;border-color:#F0DFAE;border-left:4px solid #C9971C}
.clip,.notebody{overflow-wrap:anywhere}
.statusbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:#F7F9FC;margin-bottom:16px;font-size:14px}
.statusbar.done{background:#EDF7F0;border-color:#BFE3CB;color:#1E5B33}
.toast{position:fixed;top:76px;left:50%;transform:translateX(-50%);z-index:50;width:min(640px,92vw);display:flex;align-items:center;justify-content:space-between;gap:14px;
 padding:14px 16px;border-radius:10px;background:#fff;border:1px solid #BFE3CB;border-left:6px solid #2E8B57;box-shadow:0 12px 32px rgba(16,32,64,.22);transition:opacity .6s}
.toast.warn{border-color:#F0DFAE;border-left-color:#C9971C}.toast.fade{opacity:0;pointer-events:none}
.toast-body{display:flex;flex-direction:column;gap:2px;font-size:14px}.toast-body b{font-size:16px;color:#1E6B3A}.toast.warn .toast-body b{color:#7A5A00}
.who{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:10px;font-size:12px;font-weight:600;background:#FFF1D6;color:#7A5A00;white-space:nowrap}
.who.me{background:#DCEFE3;color:#1E6B3A}.who.open{background:#E8EEF6;color:#2B5797;font-weight:500}
.mailrow summary{grid-template-columns:260px 1fr auto}
.mailframe{width:100%;height:460px;border:1px solid var(--line);border-radius:6px;background:#fff;resize:vertical}

.notify{display:inline-flex;align-items:center;gap:4px;margin-left:6px}
.notify input{width:auto;margin:0}
.replytext{margin-top:12px}
.replytext summary{cursor:pointer}

/* New case / edit case: each section its own light colour, like the Dashboard */
.cf-plat{background:#EEF1F6;border-color:#CDD5E2;border-top:4px solid #132A4E}
.cf-client{background:#EEF4FC;border-color:#C6D8F0;border-top:4px solid #2B5797}
.cf-loan{background:#F0F9F3;border-color:#BFE3CB;border-top:4px solid #2E8B57}
.cf-contrib{background:#EDF8F8;border-color:#BCE0E0;border-top:4px solid #1F7A7A}
.cf-low{background:#FDF2EE;border-color:#F0D0C3;border-top:4px solid #B5583A}
.cf-stress{background:#F5F3FB;border-color:#DAD3EE;border-top:4px solid #6F5BA8}
.cf-notes{background:#FFF9E8;border-color:#F0DFAE;border-top:4px solid #C9971C}
:is(.cf-plat,.cf-client,.cf-loan,.cf-contrib,.cf-low,.cf-stress,.cf-notes) :is(input:not([type=checkbox]):not([type=radio]),select,textarea,table.list,.combo,.drop,.note){background:#fff}
:is(.cf-stress,.cf-low) table.list thead th{background:rgba(255,255,255,.6)}
.list .num{text-align:right;font-variant-numeric:tabular-nums}
/* Team notes: alternate light blue / light green posts (Pat, 6 Oct) */
.dash-notes .tnote{border:1px solid #BCD8EE;border-left:4px solid #5B9BD5;border-radius:6px;padding:10px 12px;margin-top:10px;background:#E4F1FB}
.dash-notes .tnote.tn-green{background:#E6F5EA;border-color:#BFE3CB;border-left-color:#4CAF6E}
.dash-notes .tnote.done{opacity:.7}
.dash-notes .tnote + .tnote{margin-top:12px}
/* Recent case notes: alternate light blue / light grey (Pat, 6 Oct) */
.dash-cnotes .tnote{border:1px solid #BCD8EE;border-left:4px solid #5B9BD5;border-radius:6px;padding:10px 12px;margin-top:10px;background:#E4F1FB}
.dash-cnotes .tnote.cn-grey{background:#EEF0F3;border-color:#D3D8DF;border-left-color:#7D8794}
.dash-cnotes .tnote + .tnote{margin-top:12px}
.teamtab td{vertical-align:middle}.teamtab tr.off td{opacity:.6}.teamtab select{min-width:110px}
.reqcard{background:#fff;border:1px solid #F0DFAE;border-left:4px solid #C9971C;border-radius:6px;padding:12px 14px;margin-top:10px}
.reqcard select{width:auto;min-width:120px}
.teamtab input[type=text]{width:140px;min-width:0}.teamtab select{width:auto;min-width:100px}
.teamtab .acts{display:flex;flex-direction:column;gap:5px;align-items:stretch}.teamtab .acts .btn{white-space:nowrap;justify-content:center;text-align:center}
.teamtab td.when{font-size:12.5px;min-width:88px}.teamtab td.tmail{overflow-wrap:anywhere;min-width:120px;max-width:200px}
.teamtab th,.teamtab td{padding-left:8px;padding-right:8px}
/* Advisor portal */
.brand .portal-tag{background:#C9971C;color:#132A4E;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:3px 8px;border-radius:999px;align-self:center}
nav.top a.on{text-decoration:underline;text-underline-offset:6px}
.kpi.k-cn{background:#F5F3FB;border-color:#DAD3EE;border-left:4px solid #6F5BA8}
.dash-mail .tnote,.dash-notes .tnote{border:1px solid #BCD8EE;border-left:4px solid #5B9BD5;border-radius:6px;padding:10px 12px;margin-top:10px;background:#E4F1FB}
.dash-mail .tnote.tn-green{background:#E6F5EA;border-color:#BFE3CB;border-left-color:#4CAF6E}
.pdfhist summary{cursor:pointer}
.who.warn{background:#FFF3D6;color:#7A5A00}
.btn.off{opacity:.45;cursor:not-allowed}
fieldset.offset{border:0;margin:0;padding:0;min-width:0;opacity:.6}
fieldset.offset *{cursor:not-allowed}
.offnote{margin:6px 0 0;font-size:12px}
/* Ask Northstar assistant (8 Oct 2026) */
.asst-fab{position:fixed;right:24px;bottom:24px;z-index:60;display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 20px;border:0;border-radius:24px;background:var(--teal);color:#fff;font:inherit;font-weight:600;box-shadow:0 6px 20px rgba(19,41,75,.25);cursor:pointer}
.asst-fab:hover{background:var(--teal-d)}
.asst{position:fixed;right:24px;bottom:24px;z-index:61;width:380px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 48px);display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 40px rgba(19,41,75,.28);overflow:hidden}
.asst[hidden]{display:none}
.asst header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px 16px;background:var(--navy);color:#fff}
.asst header b{display:block;font-size:16px}.asst header span{display:block;font-size:12px;color:#B9C6DB}
.asst-x{background:none;border:0;color:#fff;font-size:24px;line-height:1;cursor:pointer;padding:0 4px}
.asst-log{position:relative;flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:var(--bg)}
.asst-m{max-width:88%;padding:9px 12px;border-radius:10px;white-space:pre-wrap;font-size:14px;line-height:1.45}
.asst-m.bot{align-self:flex-start;background:#fff;border:1px solid var(--line)}
.asst-m.me{align-self:flex-end;background:var(--navy);color:#fff}
.asst-m.wait{color:var(--muted);font-style:italic}.asst-m.err{background:var(--bad);color:var(--bad-ink);border-color:#F3C7C7}
.asst-chips{display:flex;flex-wrap:wrap;gap:6px}
.asst-chips button{border:1px solid #BFD9DC;background:var(--teal-l);color:var(--teal-d);border-radius:16px;padding:6px 11px;font:inherit;font-size:13px;cursor:pointer;text-align:left}
.asst-chips button:hover{background:#D3EAEC}
.asst-in{display:flex;gap:8px;align-items:flex-end;padding:10px;border-top:1px solid var(--line)}
.asst-in textarea{flex:1;height:auto;min-height:38px;resize:none;font-family:inherit;font-size:14px;padding:8px 10px}
.asst-foot{margin:0;padding:0 12px 10px;font-size:11px;color:var(--muted)}
@media (max-width:520px){.asst{right:8px;left:8px;bottom:8px;width:auto;height:calc(100vh - 16px)}.asst-fab{right:12px;bottom:12px}}
/* Collateral check (8 Oct 2026) */
.cc-dot{display:inline-block;width:10px;height:10px;border-radius:50%}
.cc-dot.cc-red{background:#C0392B}.cc-dot.cc-amber{background:#D99A1E}.cc-dot.cc-grey{background:#9AA5B5}.cc-dot.cc-ok{background:#2E8B57}
.cc-flag{padding:1px 0}.cc-flag.cc-red{color:#A3241B;font-weight:600}.cc-flag.cc-amber{color:#6B4300}.cc-flag.cc-grey{color:var(--muted)}
.kpi.cc-red .v{color:#A3241B}
.cc-adv{display:flex;flex-direction:column;gap:2px;margin-top:8px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;text-decoration:none;color:var(--ink)}
.cc-adv:hover{border-color:var(--teal);background:var(--teal-l)}
.cc-adv .tag{align-self:flex-start;margin-top:3px}
.tabs a.on{background:var(--navy);color:#fff;border-color:var(--navy)}
/* Case design agent (8 Oct 2026) */
.agentpanel{border-color:#BFD9DC;background:linear-gradient(#F3FAFA,#fff)}
.agentfound{border-collapse:collapse;margin-top:6px;font-size:14px}
.agentfound td{padding:3px 12px 3px 0;vertical-align:top}.agentfound td:first-child{color:var(--muted);white-space:nowrap}
.agentmissing{margin:6px 0 0;padding-left:18px;color:#6B4300;font-size:14px}
.agentcheck{margin:8px 0 0;padding-left:20px;display:flex;flex-direction:column;gap:5px;font-size:14px}
.agentchecklist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px;font-size:14px}
.agentchecklist .ac-red{color:#A3241B;font-weight:600}.agentchecklist .ac-amber{color:#6B4300}
.agentchecklist .ac-ok{color:var(--teal-d)}.agentchecklist .ac-info{color:var(--muted)}
.mailatts{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin:0 0 8px;font-size:14px}
/* Online suitability questionnaire (8 Oct 2026) */
.sq-wrap{max-width:920px;margin:0 auto;padding:24px 16px 40px}
.sq-head{display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--navy);color:#fff;border-radius:10px;padding:18px 22px;margin-bottom:18px}
.sq-head b{display:block;font-size:20px;letter-spacing:.04em}.sq-head span{font-size:13px;color:#B9C6DB}
.sq-brand{font-family:Georgia,'Times New Roman',serif;font-size:24px;letter-spacing:.12em;text-align:right;line-height:1}.sq-brand small{display:block;font-size:10px;letter-spacing:.3em;color:#B9C6DB;margin-top:4px}
.sq-intro{margin:0 0 14px;color:var(--muted)}
.sq-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 22px;margin-bottom:16px}
.sq-card h2{font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:var(--navy);margin:0 0 14px;padding-bottom:8px;border-bottom:2px solid var(--navy)}
.sq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.sq-wide{grid-column:1/-1}
.sq-radios{display:flex;flex-wrap:wrap;gap:6px 18px;min-height:42px;align-items:center}
.sq-radio{display:flex;gap:6px;align-items:center;font-size:15px;color:var(--ink);margin:0}
.sq-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.sq-submit{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.sq-done h1{font-size:24px;margin:0 0 8px}
.sq-foot{text-align:center;font-size:12px;color:var(--muted);margin-top:18px}
@media (max-width:640px){.sq-grid{grid-template-columns:1fr}.sq-head{flex-direction:column;align-items:flex-start}.sq-brand{text-align:left}}
/* questionnaire sections in the Dashboard colours (Pat, 8 Oct 2026) */
.sq-card.cf-plat h2{color:#132A4E;border-color:#132A4E}.sq-card.cf-client h2{color:#2B5797;border-color:#2B5797}
.sq-card.cf-loan h2{color:#2E8B57;border-color:#2E8B57}.sq-card.cf-stress h2{color:#6F5BA8;border-color:#6F5BA8}
.sq-card.cf-contrib h2{color:#1F7A7A;border-color:#1F7A7A}.sq-card.cf-notes h2{color:#9A7210;border-color:#C9971C}
.sq-card h2{display:flex;align-items:center;gap:10px}
.sq-num{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:currentColor;font-size:13px;letter-spacing:0}
.sq-num{color:inherit}.sq-card h2 .sq-num{-webkit-text-fill-color:#fff}
.sq-card.cf-low .btn{background:#B5583A}.sq-card.cf-low .btn:hover{background:#97472E}
.sq-card.cf-plat{background:#EEF1F6;border-color:#CDD5E2;border-top:4px solid #132A4E}
.sq-card.cf-client{background:#EEF4FC;border-color:#C6D8F0;border-top:4px solid #2B5797}
.sq-card.cf-loan{background:#F0F9F3;border-color:#BFE3CB;border-top:4px solid #2E8B57}
.sq-card.cf-stress{background:#F5F3FB;border-color:#DAD3EE;border-top:4px solid #6F5BA8}
.sq-card.cf-contrib{background:#EDF8F8;border-color:#BCE0E0;border-top:4px solid #1F7A7A}
.sq-card.cf-notes{background:#FFF9E8;border-color:#F0DFAE;border-top:4px solid #C9971C}
.sq-card.cf-low{background:#FDF2EE;border-color:#F0D0C3;border-top:4px solid #B5583A}
.sq-card :is(input:not([type=radio]),select,textarea){background:#fff}
.sq-req{color:#C0392B;font-weight:700}
/* Dashboard: send the suitability questionnaire */
.sq-send{border-left:4px solid var(--navy);margin:-6px 0 18px;padding:14px 18px}
.sq-send-head b{display:block;color:var(--navy)}.sq-send-head .sub{font-size:13px}
.sq-send-row{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end;margin-top:10px}
.sq-send-row label{display:block;font-size:13px;font-weight:600;flex:1 1 220px;min-width:0;margin:0}
.sq-send-row label .sub{font-weight:400}.sq-send-row label input{display:block;width:100%;margin-top:4px}
.sq-send-row .btn{flex:0 0 auto}
.sq-send[hidden]{display:none}

/* Inforce low-point Solve (Pat, 8 Oct 2026) */
.lpsolve{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:-4px 0 12px}
.lpsolve .sub{font-size:13px;flex:1 1 300px}
#lpSolveBtn.on{background:#E8F3EC;border-color:#2E7D4F;color:#1F5C38}
input.lpest::placeholder{color:#2E7D4F;font-style:italic;opacity:1}
.lpafter{font-size:12.5px;color:#1F5C38;margin-top:3px;min-height:0}
/* Questionnaire submit box: light green (Pat, 8 Oct 2026) */
.sq-card.sq-go{background:#EDF7EF;border-color:#C3E3CB;border-top:4px solid #2E7D4F}
.sq-card.sq-go .btn{background:#2E7D4F}.sq-card.sq-go .btn:hover{background:#246640}
/* Inbox agent page (owners) */
.ia-state{font-weight:700;padding:6px 12px;border-radius:999px;font-size:13px}.ia-state.on{background:#E8F3EC;color:#1F5C38}.ia-state.off{background:#EEF0F4;color:#5A6475}
.ia-ok{color:#1F5C38}.ia-err{color:#A33A2A}
/* agency hierarchy (My team / Team) */
.lvl{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;margin-right:6px;white-space:nowrap}
.l-exec{background:#FBF1D9;color:#7A5410}.l-mga{background:#E3ECFA;color:#13294B}.l-ga{background:#E8F3EC;color:#1F5C38}.l-adv{background:#F1ECF8;color:#5B3B8C}
table.tree td:first-child{white-space:nowrap}.pend{color:#9A7210;font-weight:600}
details.offmenu{display:inline-block;position:relative}details.offmenu>summary{list-style:none;cursor:pointer}details.offmenu>summary::-webkit-details-marker{display:none}
details.offmenu .menu{position:absolute;right:0;top:110%;z-index:5;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,.12);padding:8px;display:flex;flex-direction:column;gap:6px;min-width:240px}
details.offmenu .menu .btn{text-align:left;white-space:normal}
.btn.wmbtn{border-color:#C9A227;color:#7A5A00}
/* staff messages */
.mbtn{position:relative}.mbadge{position:absolute;top:-7px;right:-9px;background:#D64545;color:#fff;border-radius:999px;font-size:11px;font-weight:700;padding:1px 6px;line-height:1.4}
.msgpop{position:fixed;right:20px;bottom:20px;width:380px;max-width:calc(100vw - 32px);background:#fff;border-radius:12px;box-shadow:0 12px 32px rgba(19,41,75,.28);border:1px solid #d9e1ec;overflow:hidden;z-index:1000}
.msgpop .mp-hd{background:#13294B;color:#fff;padding:10px 14px;display:flex;justify-content:space-between;align-items:center;font-size:13px}
.msgpop .mp-x{background:none;border:0;color:#fff;font-size:15px;cursor:pointer}.msgpop .mp-bd{padding:14px}
.msgpop .mp-q{font-size:15px;margin:0 0 8px;white-space:pre-wrap;background:#2E7D4F;color:#fff;padding:10px 12px;border-radius:12px;border-bottom-left-radius:4px}.msgpop textarea{width:100%;box-sizing:border-box;margin-top:10px;min-height:56px}
.sm-chip{display:inline-block;background:#E8EEF6;color:#2B5797;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600;text-decoration:none;cursor:pointer}
.sm-panel{display:grid;grid-template-columns:260px 1fr;background:#fff;border:1px solid #d9e1ec;border-radius:12px;overflow:hidden;height:calc(100vh - 220px);min-height:460px}
.sm-side{border-right:1px solid #e6ebf2;background:#F8FAFC;overflow-y:auto}.sm-it{display:block;padding:12px 14px;border-bottom:1px solid #eef2f7;font-size:14px;color:inherit;text-decoration:none}
.sm-it.on{background:#fff;border-left:3px solid #2B5797}.sm-it small{display:block;color:#6b7a90;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sm-dot{background:#D64545;color:#fff;border-radius:999px;font-size:11px;padding:1px 6px;font-weight:700}
.sm-thread{display:flex;flex-direction:column;min-height:0}.sm-top{padding:12px 16px;border-bottom:1px solid #eef2f7;display:flex;justify-content:space-between;align-items:center}
.sm-msgs{flex:1;padding:16px;display:flex;flex-direction:column;gap:10px;overflow-y:auto}
.sm-b{max-width:70%;padding:10px 12px;border-radius:12px;font-size:14px}.sm-body{white-space:pre-wrap}.sm-b.me{align-self:flex-end;background:#13294B;color:#fff;border-bottom-right-radius:4px}
.sm-b.me .sm-chip{background:#2B4C7E;color:#fff}.sm-b.them{align-self:flex-start;background:#2E7D4F;color:#fff;border-bottom-left-radius:4px}.sm-b.them .sm-chip{background:#246A41;color:#fff}.sm-b.them .sm-t{opacity:.85}.sm-t{font-size:11px;opacity:.7;margin-top:4px;white-space:normal}
.sm-compose{border-top:1px solid #eef2f7;padding:12px 16px;display:flex;gap:10px;align-items:flex-end}.sm-compose textarea{width:100%;box-sizing:border-box}
.sm-hits{position:absolute;top:100%;left:0;z-index:20;background:#fff;border:1px solid #d9e1ec;border-radius:8px;box-shadow:0 8px 20px rgba(0,0,0,.12);max-height:260px;overflow-y:auto;min-width:360px}
.sm-hits a{display:block;padding:8px 12px;color:inherit;text-decoration:none;font-size:13px;border-bottom:1px solid #f0f3f7}.sm-hits a:hover{background:#F4F6FA}
@media (max-width:760px){.sm-panel{grid-template-columns:1fr;height:auto}.sm-side{max-height:200px}}
.sm-chip.hidden,.sm-hits.hidden{display:none}
/* materials */
.mat-two{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;align-items:start}@media (max-width:900px){.mat-two{grid-template-columns:1fr}}
.mat-row{display:flex;align-items:center;gap:10px;padding:8px 2px;border-bottom:1px solid #eef2f7;font-size:14px}
.mat-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-meta{font-size:12px;white-space:nowrap}
.mat-x{background:none;border:0;color:#A3241B;cursor:pointer;font-size:13px;padding:2px 4px}
.mat-up{margin-top:14px;padding-top:12px;border-top:1px dashed #d9e1ec}.mat-up input[type=file]{max-width:100%}
.mat-prev{background:#fff;border:1px solid #d9e1ec;border-radius:10px;padding:14px;font-size:14px;line-height:1.5}
/* more staff menu items (Materials, Messages): tighter spacing; brand name stays on one line */
nav.top{display:flex;flex-wrap:wrap;justify-content:flex-end;row-gap:2px}nav.top a{margin-left:13px;white-space:nowrap;font-size:13.5px}header.top .in{max-width:1440px}header.top .in>a:first-child,header.top .brand{white-space:nowrap}
@media (max-width:1460px){nav.top a{margin-left:10px;font-size:13px}}
/* Materials list closer together (Pat, 10 Oct 2026) */
.mat-row{padding:2px 2px;gap:8px;font-size:13.5px;line-height:1.25}.mat-row .check{font-size:13.5px;gap:6px;margin:0}
.mat-row .check input{width:15px;height:15px}.mat-row form{margin:0}.mat-x{padding:0 4px;line-height:1}
.mat-row:hover{background:#F4F8F5}
.mat-list{display:flex;flex-direction:column;gap:0}
/* troubleshooting */
.sc{font-size:15px}.sc-ok{color:#1E8A4C}.sc-warn{color:#C28A00}.sc-bad{color:#C0392B}
table.prob td{font-size:13px;vertical-align:top}table.prob tr.p500 td{background:#FFF7F6}
.probdet{white-space:pre-wrap;font-size:11.5px;background:#F4F6FA;border:1px solid #e1e6ee;border-radius:6px;padding:8px;max-height:260px;overflow:auto;margin:4px 0 0}
.viewbar{background:#FFF3D6;border-bottom:1px solid #E8C770;color:#5c4400}.viewbar .in{max-width:1440px;margin:0 auto;padding:8px 28px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}

/* Loan page: policy year from the issue date */
.pyear{margin-top:8px;border:1px solid #d9e1ec;border-radius:8px;background:#f5f8fc;padding:8px 12px;display:flex;flex-direction:column;gap:3px;font-size:14px}
.pyear>div{display:flex;justify-content:space-between;gap:10px}
.pyear .l{color:#5b6b80}
.pyear[hidden]{display:none}

/* collapsed notes on the advisor page (Pat, 14 Oct 2026): one line each, click to read */
details.tnote.fold>summary{list-style:none;cursor:pointer}
details.tnote.fold>summary::-webkit-details-marker{display:none}
details.tnote.fold>summary>div:first-child::before{content:"▸";display:inline-block;width:14px;color:var(--muted);transition:transform .15s}
details.tnote.fold[open]>summary>div:first-child::before{transform:rotate(90deg)}
details.tnote.fold>summary:hover b{text-decoration:underline}

/* sortable column headings (Cases list) */
.sortb{all:unset;cursor:pointer;font:inherit;color:inherit;text-transform:inherit;letter-spacing:inherit;white-space:nowrap}
.sortb:hover{color:var(--ink)}.sortb:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.sortb .sarr{font-size:10px;color:var(--navy)}.sortb:not([data-on="1"]) .sarr{color:#A0A8B5}

/* Team: Save / Sign-in email always in view at the right edge; the changed row is highlighted with its message */
.teamtab th:last-child,.teamtab td:last-child{position:sticky;right:0;background:#fff;box-shadow:-8px 0 8px -8px rgba(19,41,75,.25);z-index:1}
.teamtab thead th:last-child{background:#F8FAFC}
.teamtab tr.hit td{background:#F1F8F9}.teamtab tr.hit td:last-child{background:#F1F8F9}
.teamtab tr.rowmsg td{padding-top:0;background:#F1F8F9}.teamtab tr.rowmsg td:last-child{position:static;box-shadow:none}

/* Northstar Assistant answers: headings, bullets, sources (15 Oct 2026) */
.asst-m.md{white-space:normal}.asst-m.md p{margin:0 0 8px}.asst-m.md p:last-of-type{margin-bottom:0}
.asst-m.md h4{margin:10px 0 4px;font-size:14px;color:var(--navy)}.asst-m.md h4:first-child{margin-top:0}
.asst-m.md ul,.asst-m.md ol{margin:0 0 8px;padding-left:18px}.asst-m.md li{margin:2px 0}
.asst-src{margin-top:8px;padding-top:6px;border-top:1px solid var(--line2);font-size:12px;color:var(--muted)}

/* Support inbox by conversation (16 Oct 2026) */
.mailthread{border-bottom:1px solid var(--line2)}.mailthread:last-child{border-bottom:0}
.mailthread>summary{display:grid;grid-template-columns:260px 1fr auto;gap:12px;padding:10px 14px;cursor:pointer;list-style:none;align-items:baseline}
.mailthread>summary::-webkit-details-marker{display:none}.mailthread>summary:hover{background:#F6FBF8}
.mailthread .msubj{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mailthread .mwhen{white-space:nowrap}
.mailthread.handled>summary{opacity:.6}.mailthread[open]>summary{background:#EEF3FA}
.mthread{display:flex;flex-direction:column;gap:6px}.mthread .mailrow{border:1px solid var(--line2);border-radius:6px;background:#fff}
.mthread .mailrow summary{grid-template-columns:240px 1fr auto;padding:8px 12px}.mmore{align-self:flex-start}
.who.cnt{background:#EEF1F5;color:#4B5565}
@media (max-width:900px){.mailthread>summary,.mthread .mailrow summary{grid-template-columns:1fr}}

/* emails saved on a case: collapsed until clicked (Pat, 16 Oct 2026) */
.notemail>summary{list-style:none;cursor:pointer}.notemail>summary::-webkit-details-marker{display:none}
.notemail>summary:hover{background:#EEF3FA}.notemail .nm-arrow{display:inline-block;transition:transform .15s;color:var(--muted)}
.notemail[open] .nm-arrow{transform:rotate(90deg)}.notemail[open]>summary{margin-bottom:8px}
/* design options (case design agent, 16 Oct 2026) */
table.optcmp th{white-space:nowrap}table.optcmp td{white-space:normal;min-width:70px}table.optcmp td:first-child{white-space:nowrap}table.optcmp .ac-amber{color:#6B4300}table.optcmp .ac-ok{color:var(--teal-d)}
/* case page tiles in the same colours as the case form sections (Pat, 19 Oct 2026) */
.kpi.kc-navy{background:#EEF1F6;border-color:#CDD5E2;border-left:4px solid #132A4E}
.kpi.kc-blue{background:#EEF4FC;border-color:#C6D8F0;border-left:4px solid #2B5797}
.kpi.kc-gold{background:#FFF9E8;border-color:#F0DFAE;border-left:4px solid #C9971C}
.kpi.kc-coral{background:#FDF2EE;border-color:#F0D0C3;border-left:4px solid #B5583A}
.kpi.kc-teal{background:#EDF8F8;border-color:#BCE0E0;border-left:4px solid #1F7A7A}
.kpi.kc-green{background:#F0F9F3;border-color:#BFE3CB;border-left:4px solid #2E8B57}
.kpi.kc-purple{background:#F5F3FB;border-color:#DAD3EE;border-left:4px solid #6F5BA8}

/* 📹 Teams meetings in Messages (Pat, 20 Oct 2026) */
.sm-thread{position:relative}
.tm-btn{display:inline-flex;align-items:center;gap:6px;background:#4B53BC;color:#fff;border:0;border-radius:8px;padding:7px 12px;font-weight:600;font-size:13px;cursor:pointer;font-family:inherit}
.tm-btn:hover{background:#3D44A3}.tm-btn:disabled{opacity:.7;cursor:wait}.tm-btn svg{width:16px;height:16px}
.tm-pop{position:absolute;right:16px;top:56px;width:380px;max-width:calc(100% - 32px);background:#fff;border:1px solid #d9e1ec;border-radius:12px;box-shadow:0 12px 32px rgba(19,41,75,.18);padding:16px;z-index:30;font-size:14px;max-height:calc(100% - 72px);overflow-y:auto;box-sizing:border-box}
.tm-pop.hidden{display:none}.tm-pop h3{margin:0 0 4px;font-size:16px;color:#13294B}.tm-pop .sub{font-size:12.5px}
.tm-seg{display:flex;border:1px solid #d9e1ec;border-radius:8px;overflow:hidden;margin:12px 0}
.tm-seg label{flex:1;margin:0;cursor:pointer}.tm-seg input{position:absolute;opacity:0;pointer-events:none}
.tm-seg span{display:block;text-align:center;padding:7px;font-weight:600;font-size:13px;color:#4B5565}
.tm-seg input:checked+span{background:#13294B;color:#fff}.tm-seg input:focus-visible+span{outline:2px solid #4B53BC;outline-offset:-2px}
.tm-f{margin-bottom:10px}.tm-f label,.tm-lbl{display:block;font-size:12px;color:#4B5565;margin-bottom:3px}.tm-f .row a{font-size:12px;font-weight:600;color:#2B5797}
.tm-f input:not([type=checkbox]):not([type=radio]),.tm-f select{width:100%;box-sizing:border-box}
.tm-when.hidden{display:none}
.tm-who{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}
.tm-p{display:inline-flex!important;align-items:center;margin:0!important;cursor:pointer}.tm-p input{position:absolute;opacity:0;pointer-events:none}
.tm-p span{border:1px solid #cfd8e3;border-radius:999px;padding:4px 10px;font-size:12.5px;color:#4B5565;background:#fff}
.tm-p input:checked+span{background:#13294B;border-color:#13294B;color:#fff;font-weight:600}.tm-p input:checked+span::before{content:"✓ "}
.tm-p input:focus-visible+span{outline:2px solid #4B53BC;outline-offset:2px}
.tm-extra{font-size:13px}
.tm-card{align-self:flex-start;max-width:440px;background:#fff;border:1px solid #d9e1ec;border-left:4px solid #4B53BC;border-radius:10px;padding:12px 14px;font-size:14px}
.tm-card.me{align-self:flex-end}.tm-card .tt{display:flex;align-items:center;gap:8px;font-weight:700;color:#13294B}.tm-card .tt svg{width:18px;height:18px;flex:none}
.tm-card .meta{color:#4B5565;font-size:13px;margin:6px 0 10px;line-height:1.5}
.tm-join{display:inline-block;background:#4B53BC;color:#fff!important;border-radius:7px;padding:7px 14px;font-weight:600;text-decoration:none;font-size:13.5px;margin-right:10px}
.tm-join:hover{background:#3D44A3}.tm-sec{display:inline-block;color:#2B5797;font-weight:600;font-size:13px;text-decoration:none}
.tm-note{font-size:11.5px;color:#6B7685;margin-top:8px}
.mp-join{display:inline-block;background:#4B53BC;color:#fff!important;border-radius:7px;padding:5px 12px;font-weight:600;text-decoration:none;font-size:13px;margin:4px 0 6px}
.tm-del{display:inline}.tm-delbtn{background:none;border:0;color:#A3241B;font-weight:600;font-size:13px;cursor:pointer;padding:0 0 0 10px;font-family:inherit}.tm-delbtn:hover{text-decoration:underline}

/* Pays the year's interest — exception years (Pat, 20 Oct 2026) */
.excbox{background:#fff;border:1px solid #d9e1ec;border-radius:10px;padding:14px 16px;margin-top:14px}.excbox.hidden{display:none}
.excbox h3{margin:0 0 4px;font-size:15px;color:#13294B}.excrow{display:flex;gap:10px;align-items:flex-end;margin-top:10px;flex-wrap:wrap}
.excrow .f{margin:0}.excrow .ey{width:110px}.excrow .ea{width:160px}.exc-x{color:#A3241B;font-weight:600;font-size:13px;padding-bottom:9px}
.exc-add{display:inline-block;margin-top:10px;color:#2B5797;font-weight:600;font-size:14px}
.excpv tr.exc td{background:#FFF7E6}.excpv .tag{background:#FBF1D9;color:#7A5410;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:600;margin-left:4px}
.exc-opt{display:inline-block;margin-top:8px;color:#2B5797;font-weight:600;font-size:13.5px;text-decoration:none}.exc-opt.hidden{display:none}.exc-opt:hover{text-decoration:underline}
/* reply assistant cards (21 Oct 2026) */
.coachbox{border-top:1px solid var(--line);padding-top:14px;display:flex;flex-direction:column;gap:12px}
.coachgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.coachcard{border:1px solid var(--line);border-radius:8px;padding:12px;font-size:13px;line-height:1.45;background:#FBFCFE}
.coachcard h3{font-size:14px;margin:0 0 6px}.coachcard ul{margin:2px 0 4px 16px;padding:0}
.coachcard b{color:#1F3B66}.coachft{margin-top:8px;color:var(--muted);font-size:12px}
.coachcard details summary{cursor:pointer;color:#1F6F78;font-size:12.5px;margin-top:4px}
.coachcard input,.coachcard select,.coachcard textarea{width:100%;font-size:13px}
.cc-order{background:#FFF8E6;border:1px solid #F0DDA6;border-radius:6px;padding:6px 8px;margin-bottom:6px;font-size:12.5px}
/* Messages: "… is typing" (21 Oct 2026) */
.sm-typing{display:flex;align-items:center;gap:8px;padding:0 16px 8px}.sm-typing.hidden{display:none}
.sm-dots{background:#E7EEF7;border-radius:14px;border-bottom-left-radius:4px;padding:9px 13px;display:flex;gap:5px}
.sm-dots i{width:7px;height:7px;border-radius:50%;background:#7C8BA1;display:block;animation:smdot 1.2s infinite ease-in-out}
.sm-dots i:nth-child(2){animation-delay:.15s}.sm-dots i:nth-child(3){animation-delay:.3s}
@keyframes smdot{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.sm-who{font-size:12px;color:#6b7a90}.sm-it small.sm-typing-side{color:#2E7D4F;font-style:italic}
.coach-learned{margin-top:6px;background:#EEF7F1;border:1px solid #CFE6D7;border-radius:6px;padding:6px 8px}.coach-learned ul{margin:2px 0 0 16px;padding:0}

/* statement reader: spinning ring + progress (21 Oct 2026) */
.stmtbusy{display:flex;align-items:center;gap:14px}.stmtbusy small{color:#5B6B82}
.spin{flex:none;width:26px;height:26px;border:3px solid #D5DEEA;border-top-color:var(--navy);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.stmtbar{width:min(360px,60vw);height:8px;background:#E4EAF2;border-radius:4px;margin:6px 0 4px;overflow:hidden}
.stmtbar i{display:block;height:100%;width:4%;background:var(--navy);border-radius:4px;transition:width .4s}
@media (prefers-reduced-motion:reduce){.spin{animation-duration:2.4s}}

/* Terms of Service (21 Oct 2026) */
.tosbox{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#FAFBFD}
.tosck{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.45;cursor:pointer}.tosck input{margin-top:3px;width:17px;height:17px;flex:none}
.terms-wrap{min-height:100vh;display:flex;justify-content:center;padding:32px 16px;background:var(--bg,#F4F6FA)}
.terms-card{width:100%;max-width:820px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:32px;display:flex;flex-direction:column;gap:12px}
.terms-card h1{margin:0}.brand-sm{font-size:13px;font-weight:600;color:var(--navy)}
.terms-body h3{font-size:16px;margin:18px 0 4px}.terms-body p{margin:0 0 10px;line-height:1.55}
.terms-body.scroll{max-height:55vh;overflow-y:auto;border:1px solid var(--line);border-radius:8px;padding:6px 18px}
.terms-agree{display:flex;flex-direction:column;gap:14px;margin-top:6px}
@media (max-width:600px){.terms-card{padding:20px}}
