/* Dragatron Support — staff-only customer health & follow-up */
.sup-shell{position:fixed;inset:0;display:grid;grid-template-columns:220px 1fr;background:var(--bg)}
.sup-shell .off-side-brand-mark{background:var(--navy-600,#243b53)}
/* Office has since restyled its own brand row (240px rail, 29px light name in one row for the CQ logo); Support keeps
   the design's sidebar so the mark is not squashed and the name does not spill under the top bar. */
.sup-shell .off-side{width:auto;min-width:0}
.sup-shell .off-side-brand-mark{flex:none;width:30px;height:30px;color:#fff}
.sup-shell .off-side-brand-meta{flex-direction:column;align-items:flex-start;gap:0;min-width:0}
.sup-shell .off-side-brand-name{font-weight:600;font-size:14px;line-height:1.15;letter-spacing:-.01em}
.sup-shell .off-side-brand-store{white-space:nowrap}
.sup-main{display:grid;grid-template-rows:56px 1fr;min-width:0;overflow:hidden}
.sup-body{overflow-y:auto;padding:20px 24px 40px}
.sup-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.sup-title h1{margin:0;font-size:20px;font-weight:600;letter-spacing:-.015em}
.sup-title p{margin:4px 0 0;font-size:12.5px;color:var(--text-muted)}
.dsup-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.dsup-toolbar .input{height:32px;width:240px;font-size:13px}
.dsup-table{display:grid;grid-template-columns:minmax(240px,2fr) 120px 110px 90px 90px 70px 190px 110px 28px;min-width:1040px}
.dsup-table--pipe{grid-template-columns:minmax(240px,2fr) 120px 120px minmax(260px,1.5fr) 160px 28px;min-width:960px}
.badge--info{background:var(--brand-bg);color:var(--brand);border-color:var(--brand-border)}
.dsup-table--tickets{grid-template-columns:minmax(220px,1.4fr) minmax(220px,2fr) 110px 150px 120px;min-width:800px}
.dsup-table .off-grid-cell{font-size:13px;display:flex;align-items:center;gap:8px;min-width:0}
.dsup-table .off-grid-cell.r{justify-content:flex-end;font-variant-numeric:tabular-nums}
.sup-name{display:flex;flex-direction:column;min-width:0}.sup-name b{font-weight:500;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sup-name small{font-size:11px;color:var(--text-muted)}
.sup-ms{display:flex;gap:3px}
.sup-ms i{width:22px;height:8px;border-radius:2px;background:var(--bg-muted);border:1px solid var(--border)}
.sup-ms i.on{background:var(--brand);border-color:var(--brand)}
.sup-ev{display:flex;align-items:center;gap:8px;width:100%}
.sup-ev span{flex:1;height:6px;border-radius:3px;background:var(--bg-muted);overflow:hidden}
.sup-ev span i{display:block;height:100%;background:var(--navy-600,#243b53)}
.sup-ev b{font-size:12px;font-weight:500;width:34px;text-align:right;font-variant-numeric:tabular-nums}
.sup-row-active .off-grid-cell{background:var(--brand-bg)}
.sup-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:start}
.sup-q{display:flex;flex-direction:column;gap:10px}
.sup-q-item{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;cursor:pointer}
.sup-q-item:hover{border-color:var(--text-subtle)}
.sup-q-item--sel{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.sup-q-head{display:flex;align-items:center;gap:10px;min-width:0}
.sup-q-head b{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sup-q-why{font-size:13px;color:var(--text)}
.sup-q-last{font-size:12px;color:var(--text-muted);grid-column:1/-1}
.sup-q-next{font-size:12px;text-align:right;white-space:nowrap}
.sup-q-next.due{color:var(--void-text);font-weight:500}
.sup-q-sec{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-subtle);font-weight:500;margin:6px 0 0}
.sup-panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;position:sticky;top:0;max-height:calc(100vh - 120px);overflow-y:auto}
.sup-panel-h{padding:16px 18px 12px;border-bottom:1px solid var(--border)}
.sup-panel-h h3{margin:0;font-size:16px;font-weight:600;letter-spacing:-.01em}
.sup-panel-h p{margin:4px 0 0;font-size:12px;color:var(--text-muted)}
.sup-panel-s{padding:14px 18px;border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:10px}
.sup-panel-s:last-child{border-bottom:0}
.sup-panel-s h4{margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-subtle);font-weight:500}
.dsup-kv{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;font-size:13px}.dsup-kv span{color:var(--text-muted)}.dsup-kv b{font-weight:500}
.sup-mslist{display:flex;flex-direction:column;gap:6px}
.sup-msrow{display:flex;align-items:center;gap:10px;font-size:13px}
.sup-msrow i{width:16px;height:16px;border-radius:50%;border:1.5px solid var(--border);display:grid;place-items:center;flex:none}
.sup-msrow i.on{background:var(--brand);border-color:var(--brand);color:#fff}
.sup-msrow i svg{width:10px;height:10px}
.sup-msrow.off{color:var(--text-muted)}
.sup-log{display:flex;flex-direction:column;gap:10px}
.sup-log-item{display:grid;grid-template-columns:26px 1fr;gap:10px;font-size:12.5px}
.sup-log-av{width:26px;height:26px;border-radius:50%;background:var(--bg-muted);display:grid;place-items:center;font-size:11px;font-weight:600;color:var(--text-muted)}
.sup-log-item b{font-weight:500}.sup-log-item small{display:block;color:var(--text-muted);font-size:11.5px;margin-top:2px}
.sup-log-item p{margin:4px 0 0;line-height:1.45}
.sup-form{display:flex;flex-direction:column;gap:10px}
.sup-form .seg{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden}
.sup-form .seg button{border:0;border-radius:0;height:30px;padding:0 12px;font-size:12.5px;background:transparent;color:var(--text);cursor:pointer}
.sup-form .seg button.on{background:var(--text);color:var(--bg)}
.sup-form textarea{min-height:72px;font:inherit;font-size:13px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--bg-subtle);color:var(--text);resize:vertical}
.sup-form .input{height:32px;font-size:13px}
.sup-form select.input{padding:0 10px}
.sup-form label{font-size:11.5px;color:var(--text-muted);display:flex;flex-direction:column;gap:4px}
.sup-act{display:flex;gap:8px;flex-wrap:wrap}
.sup-act .btn{height:30px;font-size:12.5px;padding:0 12px}
.sup-week{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.sup-sched{display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--text-muted)}
.sup-sched b{color:var(--text);font-weight:500}
.sup-thresh{display:flex;gap:16px;font-size:12px;color:var(--text-muted);flex-wrap:wrap}
.sup-thresh b{color:var(--text);font-weight:500}
/* Deviation: the design's global a{} rule, scoped to Support so it cannot restyle Office's own links. */
.sup-shell a{color:var(--brand)}.sup-shell a:hover{color:var(--text)}
@media (max-width:1100px){.sup-layout{grid-template-columns:1fr}.sup-panel{position:static;max-height:none}}

/* Not in the design — the parts Support needs that the prototype left out (onboarding, editable contact,
   messages), built from the design's own primitives. */
.dsup-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dsup-form-grid .full{grid-column:1/-1}
.sup-err{font-size:12.5px;color:var(--void-text)}
.sup-note{font-size:12.5px;color:var(--text-muted);line-height:1.45}
.sup-secret{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px dashed var(--border);border-radius:8px;background:var(--bg-subtle);font-family:var(--font-mono,ui-monospace,monospace);font-size:13px}
.sup-matches{display:flex;flex-direction:column;gap:6px}
.sup-match{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;cursor:pointer;font-size:12.5px;text-align:left;background:var(--surface);color:var(--text)}
.sup-match:hover{border-color:var(--text-subtle)}
.sup-match--on{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.sup-match small{color:var(--text-muted);font-size:11.5px}
.off-nav-item[disabled]{opacity:.5;cursor:not-allowed}
