/* THE FEEDBACK HELP DESK — the approved design (mockup v84, owner 2026-10-15), scoped to .hd-root.
   Generated from the mockup's stylesheet; tokens and shades are the owner's — change them only on his say. */
.hd-root {--bg:#f5f6f8; --panel:#fff; --soft:#f1f3f6; --soft2:#e9ecf1; --line:#e6e8ed; --text:#14161c; --muted:#6b7280; --faint:#9aa1ad; --accent:#d51f27; --accent-deep:#b3141c; --wash:#fdeeee; --blue:#2563eb; --blue-wash:#eef3fe; --ok:#15803d; --ok-wash:#e9f7ee; --amber:#a16207; --amber-wash:#fdf6e3; --note:#fff8db; --note-line:#f1dd8a; --purple:#7c3aed; --purple-wash:#f3edff; --sans:"Geist",system-ui,-apple-system,"Segoe UI Variable Text","Segoe UI",Arial,sans-serif;}
:root[data-theme="dark"] .hd-root {--bg:#0f1115; --panel:#171a20; --soft:#1f232b; --soft2:#272c35; --line:#2a2f38; --text:#eceef2; --muted:#9ca3af; --faint:#6b7280; --accent:#f0474e; --accent-deep:#d0262e; --wash:#33191b; --blue:#7aa7ff; --blue-wash:#172036; --ok:#4ade80; --ok-wash:#132a1c; --amber:#fbbf24; --amber-wash:#2d2410; --note:#2d2812; --note-line:#5b4d16; --purple:#b69bff; --purple-wash:#241c3a;}
:root[data-theme="dark"] .hd-root {--bg:#0f1115; --panel:#171a20; --soft:#1f232b; --soft2:#272c35; --line:#2a2f38; --text:#eceef2; --muted:#9ca3af; --faint:#6b7280; --accent:#f0474e; --accent-deep:#d0262e; --wash:#33191b; --blue:#7aa7ff; --blue-wash:#172036; --ok:#4ade80; --ok-wash:#132a1c; --amber:#fbbf24; --amber-wash:#2d2410; --note:#2d2812; --note-line:#5b4d16; --purple:#b69bff; --purple-wash:#241c3a;}
.hd-root * {box-sizing:border-box;}
.hd-root {margin:0;}
.hd-root {background:var(--bg); color:var(--text); font:14.5px/1.5 var(--sans); font-variant-numeric:tabular-nums;}
.hd-root button, .hd-root input, .hd-root select, .hd-root textarea {font:inherit; color:inherit;}
.hd-root .top {display:flex; flex-wrap:wrap; gap:12px 18px; align-items:center; max-width:1440px; margin:0 auto; padding:20px 24px 12px;}
.hd-root .top h1 {font-size:18px; font-weight:700; margin:0;}
.hd-root .switch {display:flex; flex-wrap:wrap; gap:4px; background:var(--soft2); padding:4px; border-radius:12px;}
.hd-root .switch button {border:0; background:transparent; padding:7px 14px; border-radius:9px; cursor:pointer; font-weight:600; font-size:13.5px; color:var(--muted);}
.hd-root .switch button.on {background:var(--panel); color:var(--text); box-shadow:0 1px 3px rgba(0,0,0,.08);}
.hd-root .top .right {margin-left:auto; display:flex; gap:10px; align-items:center;}
.hd-root .top select {border:1px solid var(--line); background:var(--panel); border-radius:10px; padding:6px 10px; font-size:13.5px;}
.hd-root .icon-btn {border:1px solid var(--line); background:var(--panel); border-radius:10px; width:36px; height:34px; cursor:pointer;}
.hd-root main {max-width:1440px; margin:0 auto; padding:0 24px 40px;}
.hd-root .opt {display:none;}
.hd-root .opt.on {display:block;}
.hd-root .caption {color:var(--muted); font-size:14px; margin:12px 4px 0;}
.hd-root .caption b {color:var(--text);}
.hd-root .screen {background:var(--panel); border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:0 10px 30px rgba(20,22,28,.06); height:760px;}
.hd-root .av {width:32px; height:32px; border-radius:50%; display:inline-grid; place-items:center; flex:none; color:#fff; font-weight:600; font-size:12px;}
.hd-root .c1 {background:#6366f1}
.hd-root .c2 {background:#16a34a}
.hd-root .c3 {background:#d97706}
.hd-root .c4 {background:#9333ea}
.hd-root .c5 {background:#e11d48}
.hd-root .c6 {background:#0891b2}
.hd-root .btn {border:0; background:var(--soft); border-radius:9px; padding:7px 13px; font-weight:600; font-size:13.5px; cursor:pointer; white-space:nowrap;}
.hd-root .btn:hover {background:var(--soft2);}
.hd-root .btn.primary {background:var(--accent-deep); color:#fff;}
.hd-root .btn.ghost {background:transparent; color:var(--muted);}
.hd-root .btn.sm {padding:4px 10px; font-size:12.5px;}
.hd-root .kbd {font-size:11px; border:1px solid var(--line); border-bottom-width:2px; border-radius:5px; padding:0 5px; color:var(--muted); margin-left:6px; font-weight:500;}
.hd-root .muted {color:var(--muted);}
.hd-root .faint {color:var(--faint);}
.hd-root .small {font-size:12.5px;}
.hd-root .n {color:var(--faint); font-weight:500; margin-left:auto; font-size:12.5px;}
.hd-root .n.hot {color:#fff; background:var(--accent); border-radius:999px; padding:0 7px; font-weight:700; font-size:11.5px; line-height:18px;}
.hd-root .dot {width:8px; height:8px; border-radius:50%; background:var(--accent); flex:none; display:inline-block;}
.hd-root .dot.off {background:transparent;}
.hd-root .p {display:inline-flex; align-items:center; gap:4px; font-size:12px; font-weight:600; padding:2px 8px; border-radius:999px; white-space:nowrap; background:var(--soft); color:var(--muted);}
.hd-root .p.p1 {background:var(--wash); color:var(--accent);}
.hd-root .p.p2 {background:#fff1e6; color:#c2410c;}
.hd-root .p.p3 {background:var(--amber-wash); color:var(--amber);}
.hd-root .p.p4, .hd-root .p.p5 {background:var(--soft); color:var(--muted);}
:root[data-theme="dark"] .hd-root .p.p2 {background:#3a2414; color:#fb923c;}
.hd-root .p.problem {background:var(--wash); color:var(--accent);}
.hd-root .p.idea {background:var(--purple-wash); color:var(--purple);}
.hd-root .p.question {background:var(--blue-wash); color:var(--blue);}
.hd-root .p.praise {background:var(--ok-wash); color:var(--ok);}
.hd-root .p.turn {background:var(--wash); color:var(--accent);}
.hd-root .p.wait {background:var(--blue-wash); color:var(--blue);}
.hd-root .p.review {background:var(--amber-wash); color:var(--amber);}
.hd-root .tk {display:grid; grid-template-columns:250px minmax(0,1fr); height:100%; min-height:0;}
.hd-root .props {border-right:1px solid var(--line); padding:16px; overflow:auto; background:var(--panel);}
.hd-root .props h4 {font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--faint); margin:16px 0 6px; font-weight:600;}
.hd-root .props h4:first-child {margin-top:0;}
.hd-root .field {display:grid; gap:3px; margin-bottom:10px;}
.hd-root .field label {font-size:12px; color:var(--muted);}
.hd-root .field select {border:1px solid var(--line); background:var(--panel); border-radius:8px; padding:6px 8px; font-size:13.5px;}
.hd-root .req {display:flex; gap:10px; align-items:center;}
.hd-root .mini-list a {display:block; font-size:12.5px; color:var(--text); text-decoration:none; padding:4px 0; border-bottom:1px dashed var(--line); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .mini-closed {margin-top:8px;}
.hd-root .mini-closed > summary {cursor:pointer; font-size:12px; color:var(--muted); padding:4px 0;}
.hd-root .mini-closed .mini-list a {color:var(--muted);}
.hd-root .convo {display:flex; flex-direction:column; min-height:0; min-width:0;}
.hd-root .convo-head {padding:14px 22px; border-bottom:1px solid var(--line); display:flex; gap:12px; align-items:flex-start;}
.hd-root .convo-head h3 {margin:0; font-size:17px; line-height:1.3; font-weight:700;}
.hd-root .convo-head .chips {display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; align-items:center;}
.hd-root .convo-head .right {margin-left:auto; display:flex; gap:6px; flex:none;}
.hd-root .triage-bar {margin:12px 22px 0; padding:12px 14px; border-radius:12px; background:var(--amber-wash); display:grid; gap:8px;}
.hd-root .triage-bar .row {display:flex; flex-wrap:wrap; gap:6px; align-items:center;}
.hd-root .triage-bar .lbl {font-size:12px; font-weight:700; color:var(--amber); width:62px;}
.hd-root .choice {border:1px solid var(--line); background:var(--panel); border-radius:999px; padding:3px 11px; font-size:12.5px; font-weight:600; cursor:pointer;}
.hd-root .choice.on {background:var(--text); color:var(--panel); border-color:var(--text);}
.hd-root .stream {flex:1; overflow:auto; padding:20px 22px; display:flex; flex-direction:column; gap:14px;}
.hd-root .msg {display:flex; gap:10px; max-width:80%;}
.hd-root .msg .who {font-size:12.5px; color:var(--muted); margin-bottom:3px;}
.hd-root .msg .who b {color:var(--text); font-weight:600;}
.hd-root .bubble {background:var(--soft); border-radius:4px 14px 14px 14px; padding:10px 14px; white-space:pre-wrap; overflow-wrap:anywhere;}
.hd-root .msg.me {align-self:flex-end; flex-direction:row-reverse;}
.hd-root .msg.me .bubble {background:var(--wash); border-radius:14px 4px 14px 14px;}
.hd-root .msg.me .who {text-align:right;}
.hd-root .msg.first .bubble {background:var(--panel); border:1px solid var(--line);}
.hd-root .msg.note .bubble {background:var(--note); border:1px solid var(--note-line);}
.hd-root .msg.side .bubble {background:var(--purple-wash);}
.hd-root .tagline {font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; margin-left:6px;}
.hd-root .tagline.note {color:var(--amber);}
.hd-root .tagline.side {color:var(--purple);}
.hd-root .event {align-self:center; font-size:12px; color:var(--faint); text-align:center;}
.hd-root .composer {border-top:1px solid var(--line); padding:10px 18px 14px;}
.hd-root .ctabs {display:flex; gap:4px; margin-bottom:8px;}
.hd-root .ctabs button {border:0; background:transparent; padding:5px 10px; border-radius:8px; font-size:13px; font-weight:600; color:var(--muted); cursor:pointer;}
.hd-root .ctabs button.on {background:var(--soft); color:var(--text);}
.hd-root .ctabs button.on.note {background:var(--note); color:var(--amber);}
.hd-root .ctabs button.on.side {background:var(--purple-wash); color:var(--purple);}
.hd-root .cbox {display:flex; gap:8px; align-items:flex-end; border:1px solid var(--line); border-radius:12px; padding:8px 8px 8px 12px; background:var(--panel);}
.hd-root .cbox.note {background:var(--note); border-color:var(--note-line);}
.hd-root .cbox.side {background:var(--purple-wash);}
.hd-root .cbox textarea {flex:1; border:0; background:transparent; outline:none; resize:none; height:44px;}
.hd-root .copts {display:flex; flex-wrap:wrap; gap:14px; margin-top:8px; font-size:12.5px; color:var(--muted);}
.hd-root .copts label {display:flex; gap:5px; align-items:center;}
.hd-root .a {display:grid; grid-template-columns:232px minmax(0,1fr); height:100%;}
.hd-root .views {border-right:1px solid var(--line); padding:14px 10px; overflow:auto; background:var(--panel);}
.hd-root .views h5 {margin:14px 8px 4px; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--faint); font-weight:600;}
.hd-root .views h5:first-child {margin-top:0;}
.hd-root .v {display:flex; align-items:center; gap:8px; width:100%; text-align:left; border:0; background:transparent; padding:7px 9px; border-radius:8px; cursor:pointer; font-size:13.5px; font-weight:500;}
.hd-root .v:hover {background:var(--soft);}
.hd-root .v.on {background:var(--wash); color:var(--accent); font-weight:600;}
.hd-root .v .star {color:var(--amber); font-size:12px;}
.hd-root .amain {display:flex; flex-direction:column; min-width:0; min-height:0;}
.hd-root .ahead {display:flex; flex-wrap:wrap; gap:10px; align-items:center; padding:14px 18px; border-bottom:1px solid var(--line);}
.hd-root .ahead h2 {margin:0; font-size:18px; font-weight:700;}
.hd-root .seg {display:inline-flex; background:var(--soft); border-radius:9px; padding:3px;}
.hd-root .seg button {border:0; background:transparent; padding:4px 11px; border-radius:7px; font-size:12.5px; font-weight:600; color:var(--muted); cursor:pointer;}
.hd-root .seg button.on {background:var(--panel); color:var(--text); box-shadow:0 1px 2px rgba(0,0,0,.08);}
.hd-root .defbtn {border:1px solid var(--line); background:var(--panel); border-radius:9px; padding:5px 10px; font-size:12.5px; font-weight:600; cursor:pointer; color:var(--muted); position:relative;}
.hd-root .defbtn.is {color:var(--amber); border-color:var(--note-line); background:var(--note);}
.hd-root .defmenu {position:absolute; top:34px; right:0; background:var(--panel); border:1px solid var(--line); border-radius:12px; box-shadow:0 14px 30px rgba(0,0,0,.14); padding:6px; width:250px; z-index:5; text-align:left;}
.hd-root .defmenu button {display:block; width:100%; text-align:left; border:0; background:transparent; padding:8px 10px; border-radius:8px; cursor:pointer; font-size:13px;}
.hd-root .defmenu button:hover {background:var(--soft);}
.hd-root .defmenu small {display:block; color:var(--muted); font-weight:400;}
.hd-root .tbl-wrap {overflow:auto; flex:1;}
.hd-root table.tbl {width:100%; border-collapse:collapse; font-size:13.5px;}
.hd-root .tbl th {position:sticky; top:0; background:var(--panel); text-align:left; font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--faint); font-weight:600; padding:9px 12px; border-bottom:1px solid var(--line); white-space:nowrap;}
.hd-root .tbl td {padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:middle;}
.hd-root .tbl tr.r {cursor:pointer;}
.hd-root .tbl tr.r:hover td {background:var(--soft);}
.hd-root .tbl .subj {font-weight:600; max-width:440px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .tbl .sub2 {font-size:12.5px; color:var(--muted);}
.hd-root .back {border:0; background:transparent; color:var(--muted); cursor:pointer; font-weight:600; font-size:13px; padding:0;}
.hd-root .b {display:flex; flex-direction:column; height:100%;}
.hd-root .bbar {display:flex; flex-wrap:wrap; gap:10px; align-items:center; padding:12px 18px; border-bottom:1px solid var(--line);}
.hd-root .tri {display:grid; grid-template-columns:300px minmax(0,1fr); flex:1; min-height:0;}
.hd-root .tri-list {border-right:1px solid var(--line); overflow:auto;}
.hd-root .tri-item {padding:12px 16px; border-bottom:1px solid var(--line); cursor:pointer;}
.hd-root .tri-item:hover {background:var(--soft);}
.hd-root .tri-item.on {background:var(--wash);}
.hd-root .tri-item .t {font-weight:600; font-size:13.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .focus {overflow:auto; padding:26px 34px;}
.hd-root .focus .card {max-width:760px; margin:0 auto;}
.hd-root .focus .body {font-size:15.5px; line-height:1.6; margin:14px 0 18px; white-space:pre-wrap;}
.hd-root .decide {border:1px solid var(--line); border-radius:14px; padding:16px; display:grid; gap:12px;}
.hd-root .decide .row {display:flex; flex-wrap:wrap; gap:6px; align-items:center;}
.hd-root .decide .lbl {width:76px; font-size:12.5px; font-weight:600; color:var(--muted);}
.hd-root .acts {display:flex; flex-wrap:wrap; gap:8px;}
.hd-root .board {display:grid; grid-template-columns:repeat(4,minmax(220px,1fr)); gap:12px; padding:14px 16px; overflow:auto; flex:1; background:var(--bg);}
.hd-root .col {background:var(--soft); border-radius:12px; padding:8px; display:flex; flex-direction:column; min-height:0;}
.hd-root .col h4 {margin:4px 6px 8px; font-size:13px; display:flex; gap:6px; align-items:center;}
.hd-root .col .cards {overflow:auto; display:grid; gap:8px; align-content:start;}
.hd-root .bc {background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:10px 11px; cursor:pointer;}
.hd-root .bc:hover {border-color:var(--faint);}
.hd-root .bc .t {font-weight:600; font-size:13px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.hd-root .bc .m {display:flex; gap:6px; align-items:center; margin-top:8px; flex-wrap:wrap;}
.hd-root .bc .m .av {width:22px; height:22px; font-size:9.5px;}
.hd-root .bc .m .right {margin-left:auto; display:flex; gap:4px;}
.hd-root .slide {position:absolute; top:0; right:0; bottom:0; width:min(780px,92%); background:var(--panel); border-left:1px solid var(--line); box-shadow:-20px 0 40px rgba(0,0,0,.12); display:flex; flex-direction:column; transform:translateX(105%); transition:transform .22s; z-index:4;}
.hd-root .slide.on {transform:none;}
.hd-root .slide .tk {grid-template-columns:minmax(0,1fr);}
.hd-root .slide .props {display:none;}
.hd-root .c {display:grid; grid-template-columns:200px 330px minmax(0,1fr); height:100%;}
.hd-root .folders {border-right:1px solid var(--line); padding:14px 10px; background:var(--panel); overflow:auto;}
.hd-root .clist {border-right:1px solid var(--line); overflow:auto; display:flex; flex-direction:column; min-height:0;}
.hd-root .clist-head {padding:10px 12px; border-bottom:1px solid var(--line); display:flex; gap:6px; flex-wrap:wrap; position:sticky; top:0; background:var(--panel); z-index:1;}
.hd-root .chip {border:0; background:var(--soft); border-radius:999px; padding:4px 10px; font-size:12px; font-weight:600; color:var(--muted); cursor:pointer;}
.hd-root .chip.on {background:var(--text); color:var(--panel);}
.hd-root .cv {display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; padding:11px 12px; border-bottom:1px solid var(--line); cursor:pointer;}
.hd-root .cv:hover {background:var(--soft);}
.hd-root .cv.on {background:var(--wash);}
.hd-root .cv .l1 {display:flex; gap:6px; align-items:center;}
.hd-root .cv .name {font-weight:600; flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .cv .s {font-size:12.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .cv .l3 {display:flex; gap:4px; margin-top:4px; flex-wrap:wrap;}
.hd-root .c .tk {grid-template-columns:minmax(0,1fr) 230px;}
.hd-root .c .props {border-right:0; border-left:1px solid var(--line); order:2;}
.hd-root .d {display:grid; grid-template-columns:360px minmax(0,1fr); height:100%;}
.hd-root .d-list {border-right:1px solid var(--line); display:flex; flex-direction:column; min-height:0;}
.hd-root .d-head {padding:18px 18px 12px;}
.hd-root .d-head h2 {margin:0 0 4px; font-size:20px;}
.hd-root .d-item {padding:13px 18px; border-top:1px solid var(--line); cursor:pointer;}
.hd-root .d-item:hover {background:var(--soft);}
.hd-root .d-item.on {background:var(--wash);}
.hd-root .d-item .t {font-weight:600;}
.hd-root .status {font-size:12px; font-weight:700;}
.hd-root .status.await {color:var(--accent);}
.hd-root .status.team {color:var(--blue);}
.hd-root .status.done {color:var(--ok);}
.hd-root .status.no {color:var(--muted);}
.hd-root .d .convo-head {align-items:center;}
.hd-root .research {display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:10px; margin:0 0 14px;}
.hd-root .rs {background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:10px 12px; font-size:13px;}
.hd-root .rs b {display:block; font-size:13px; margin-bottom:2px;}
.hd-root .rs span {color:var(--muted);}
.hd-root details.src {margin-top:18px; font-size:12.5px; color:var(--muted);}
.hd-root details.src a {color:var(--muted);}
.hd-root .relwrap {position:relative; height:100%; overflow:hidden;}
@media (max-width:1100px) {
.hd-root .screen {height:auto;}
.hd-root .a, .hd-root .tri, .hd-root .c, .hd-root .d {grid-template-columns:minmax(0,1fr);}
.hd-root .views, .hd-root .folders {display:flex; flex-wrap:wrap; gap:4px; border-right:0; border-bottom:1px solid var(--line);}
.hd-root .views h5, .hd-root .folders h5 {display:none;}
.hd-root .v {width:auto;}
.hd-root .tri-list, .hd-root .clist, .hd-root .d-list {max-height:300px; border-right:0; border-bottom:1px solid var(--line);}
.hd-root .tk, .hd-root .c .tk {grid-template-columns:minmax(0,1fr);}
.hd-root .props {border-right:0; border-bottom:1px solid var(--line);}
.hd-root .c .props {order:0; border-left:0;}
.hd-root .convo {min-height:560px;}
.hd-root .board {grid-template-columns:repeat(4,minmax(240px,1fr)); min-height:520px;}
.hd-root .msg {max-width:94%;}
.hd-root .tbl .hide-sm {display:none;}
}
@media (max-width:560px) {
.hd-root .top, .hd-root main {padding-left:16px; padding-right:16px;}
.hd-root .top .right {margin-left:0;}
.hd-root .focus {padding:18px 16px;}
}
.hd-root #senderSel {max-width:100%; border:1px solid var(--line); background:var(--panel); border-radius:10px; padding:6px 10px; font-size:13.5px;}
.hd-root .top select {max-width:100%;}
.hd-root .screen.tall {height:820px;}
.hd-root .hd {display:flex; flex-direction:column; height:100%;}
.hd-root .menu {display:flex; flex-wrap:wrap; gap:10px; align-items:center; padding:10px 16px; border-bottom:1px solid var(--line);}
.hd-root .mtabs {display:flex; flex-wrap:wrap; gap:2px; background:var(--soft); border-radius:10px; padding:3px;}
.hd-root .mtabs button {border:0; background:transparent; padding:6px 12px; border-radius:8px; font-size:13px; font-weight:600; color:var(--muted); cursor:pointer; display:flex; gap:6px; align-items:center; white-space:nowrap;}
.hd-root .mtabs button.on {background:var(--panel); color:var(--text); box-shadow:0 1px 2px rgba(0,0,0,.08);}
.hd-root .mtabs .cnt {font-size:11.5px; color:var(--faint); font-weight:600;}
.hd-root .mtabs .cnt.hot {color:#fff; background:var(--accent); border-radius:999px; padding:0 6px; line-height:17px;}
.hd-root .mtabs .star {color:var(--amber); font-size:11px;}
.hd-root .menu .right {margin-left:auto; display:flex; gap:8px; align-items:center; position:relative;}
.hd-root .body {flex:1; min-height:0; display:flex; flex-direction:column;}
.hd-root .ico {display:inline-flex; gap:3px; align-items:center; font-size:12px; color:var(--faint); margin-right:8px;}
.hd-root .ico.err {color:var(--accent);}
.hd-root .tbl .page {font-size:12.5px; color:var(--muted); white-space:nowrap; max-width:170px; overflow:hidden; text-overflow:ellipsis;}
.hd-root .tk3 {display:grid; grid-template-columns:220px minmax(0,1fr) 360px; height:100%; min-height:0;}
.hd-root .issue {border-left:1px solid var(--line); overflow:auto; background:var(--panel); padding:14px; display:flex; flex-direction:column; gap:12px;}
.hd-root .shot {display:block; width:100%; border:1px solid var(--line); border-radius:10px; cursor:zoom-in; background:var(--soft);}
.hd-root .shot-cap {font-size:12px; color:var(--muted); margin-top:4px;}
.hd-root .noshot {border:1px dashed var(--line); border-radius:10px; padding:22px; text-align:center; color:var(--faint); font-size:13px;}
.hd-root .ibtns {display:flex; flex-wrap:wrap; gap:6px;}
.hd-root .itabs {display:flex; gap:2px; border-bottom:1px solid var(--line);}
.hd-root .itabs button {border:0; background:transparent; padding:7px 10px; font-size:13px; font-weight:600; color:var(--muted); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-1px;}
.hd-root .itabs button.on {color:var(--text); border-color:var(--accent);}
.hd-root .itabs .cnt {color:var(--accent);}
.hd-root dl.kv {display:grid; grid-template-columns:96px minmax(0,1fr); gap:6px 10px; margin:0; font-size:13px;}
.hd-root dl.kv dt {color:var(--muted);}
.hd-root dl.kv dd {margin:0; overflow-wrap:anywhere;}
.hd-root dl.kv code, .hd-root .err code {font-size:12px; background:var(--soft); padding:1px 5px; border-radius:5px;}
.hd-root .ok-t {color:var(--ok); font-weight:600;}
.hd-root .warn-t {color:var(--amber); font-weight:600;}
.hd-root .pblock {border-radius:10px; padding:10px 12px; background:var(--soft); font-size:13px;}
.hd-root .pblock + .pblock {margin-top:8px;}
.hd-root .pblock b {display:block; font-size:12px; color:var(--muted); font-weight:600; margin-bottom:2px;}
.hd-root .pblock.red {background:var(--wash);}
.hd-root .pblock.red b {color:var(--accent);}
.hd-root .err {border-bottom:1px solid var(--line); padding:8px 0; font-size:12.5px;}
.hd-root .err .l1 {display:flex; gap:6px; align-items:center;}
.hd-root .err .st {font-weight:700; font-size:11.5px; padding:0 6px; border-radius:5px; background:var(--soft);}
.hd-root .err .st.s4 {background:var(--amber-wash); color:var(--amber);}
.hd-root .err .st.s5 {background:var(--wash); color:var(--accent);}
.hd-root .err .msg {color:var(--muted); margin-top:2px;}
.hd-root .lightbox {position:fixed; inset:0; background:rgba(10,12,16,.82); display:grid; place-items:center; z-index:50; padding:24px; cursor:zoom-out;}
.hd-root .lightbox img {max-width:100%; max-height:100%; border-radius:10px;}
.hd-root .lightbox[hidden] {display:none;}
.hd-root .tri3 {display:grid; grid-template-columns:280px minmax(0,1fr) 360px; flex:1; min-height:0;}
.hd-root .tri3 .focus {padding:22px 26px;}
.hd-root .tri3 .issue {border-left:1px solid var(--line);}
@media (max-width:1250px) {
.hd-root .tk3 {grid-template-columns:200px minmax(0,1fr);}
.hd-root .tk3 .issue {grid-column:1 / -1; border-left:0; border-top:1px solid var(--line);}
.hd-root .tri3 {grid-template-columns:240px minmax(0,1fr);}
.hd-root .tri3 .issue {grid-column:1 / -1; border-left:0; border-top:1px solid var(--line);}
.hd-root .screen.tall {height:auto;}
.hd-root .tk3 .convo {min-height:620px;}
}
@media (max-width:800px) {
.hd-root .tk3, .hd-root .tri3 {grid-template-columns:minmax(0,1fr);}
.hd-root .tri3 .tri-list {max-height:260px; border-right:0; border-bottom:1px solid var(--line);}
.hd-root .tk3 .props {border-right:0; border-bottom:1px solid var(--line);}
.hd-root .menu .right {margin-left:0;}
}
.hd-root .shot {max-height:230px; object-fit:cover; object-position:top left;}
.hd-root .tbl .subj {max-width:340px;}
.hd-root .tbl .page {max-width:160px;}
.hd-root dl.kv {grid-template-columns:110px minmax(0,1fr);}
.hd-root .tk3 .convo-head .back {display:block; margin-bottom:4px;}
@media (min-width:1251px) {
.hd-root .tk3 {grid-template-columns:200px minmax(0,1fr) 430px;}
.hd-root .tri3 {grid-template-columns:260px minmax(0,1fr) 400px;}
}
.hd-root .itabs button {white-space:nowrap; padding:7px 8px; font-size:12.5px;}
.hd-root dl.kv {grid-template-columns:104px minmax(0,1fr);}
.hd-root * {scrollbar-width: thin; scrollbar-color: transparent transparent;}
.hd-root *:hover {scrollbar-color: var(--soft2) transparent;}
.hd-root {scrollbar-color: var(--soft2) transparent;}
.hd-root .fade {mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%);}
.hd-root .tri7 {display:grid; grid-template-columns:300px minmax(0,1fr); flex:1; min-height:0;}
.hd-root .tri7 .tri-list {border-right:1px solid var(--line); overflow:auto; padding:6px 0;}
.hd-root .tri7 .tri-item {border-bottom:0; margin:2px 8px; border-radius:10px; padding:10px 12px;}
.hd-root .tri7 .tri-item.on {background:var(--wash);}
.hd-root .tri7 .tri-item .t {white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.hd-root .tri-main {display:flex; flex-direction:column; min-width:0; min-height:0;}
.hd-root .decide-bar {display:flex; flex-wrap:wrap; gap:10px 18px; align-items:center; padding:12px 18px; border-bottom:1px solid var(--line); background:var(--panel);}
.hd-root .dgroup {display:flex; gap:8px; align-items:center;}
.hd-root .dgroup .dl {font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--faint); font-weight:600;}
.hd-root .segc {display:inline-flex; border:1px solid var(--line); border-radius:9px; overflow:hidden;}
.hd-root .segc button {border:0; border-right:1px solid var(--line); background:var(--panel); padding:5px 11px; font-size:13px; font-weight:600; color:var(--muted); cursor:pointer;}
.hd-root .segc button:last-child {border-right:0;}
.hd-root .segc button.on {background:var(--text); color:var(--panel);}
.hd-root .dgroup select {border:1px solid var(--line); background:var(--panel); border-radius:9px; padding:5px 8px; font-size:13px;}
.hd-root .dacts {margin-left:auto; display:flex; gap:6px;}
.hd-root .tri-body {flex:1; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) 400px;}
.hd-root .report {overflow:auto; padding:22px 26px 30px;}
.hd-root .report .who {display:flex; gap:12px; align-items:center;}
.hd-root .report .when {font-size:12.5px; color:var(--muted);}
.hd-root .report .text {font-size:17px; line-height:1.6; margin:18px 0 20px; white-space:pre-wrap; font-weight:500;}
.hd-root .impact-grid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px;}
.hd-root .tile {border:1px solid var(--line); border-radius:12px; padding:12px 14px;}
.hd-root .tile.wide {grid-column:1 / -1;}
.hd-root .tile .k {font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--faint); font-weight:600; margin-bottom:4px;}
.hd-root .tile .v {font-size:14.5px; white-space:pre-wrap;}
.hd-root .tile.red {background:var(--wash); border-color:transparent;}
.hd-root .tile.red .k {color:var(--accent);}
.hd-root .tile.none .v {color:var(--muted);}
.hd-root .prior {margin-top:16px; font-size:13px; color:var(--muted);}
.hd-root .evidence {border-left:1px solid var(--line); display:flex; flex-direction:column; min-height:0; padding:14px; gap:10px; background:var(--panel);}
.hd-root .ev-btns {display:flex; gap:6px; flex:none;}
.hd-root .ev-btns .btn {flex:1; padding:6px 8px; font-size:12.5px; text-align:center;}
.hd-root .locked {flex:1; min-height:0; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:12px; overflow:hidden;}
.hd-root .locked .ltabs {display:flex; flex:none; background:var(--soft); padding:3px; gap:2px;}
.hd-root .locked .ltabs button {flex:1; border:0; background:transparent; padding:6px 4px; font-size:12.5px; font-weight:600; color:var(--muted); border-radius:8px; cursor:pointer; white-space:nowrap;}
.hd-root .locked .ltabs button.on {background:var(--panel); color:var(--text); box-shadow:0 1px 2px rgba(0,0,0,.08);}
.hd-root .locked .ltabs .cnt {color:var(--accent); margin-left:3px;}
.hd-root .locked .lbody {flex:1; min-height:0; overflow:auto; padding:12px 14px;}
.hd-root .locked dl.kv {grid-template-columns:100px minmax(0,1fr); font-size:12.5px;}
.hd-root .tk7 {display:grid; grid-template-columns:230px minmax(0,1fr) 400px; height:100%; min-height:0;}
.hd-root .about {border-right:1px solid var(--line); overflow:auto; padding:16px;}
.hd-root .about h4 {font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--faint); margin:18px 0 8px; font-weight:600;}
.hd-root .about h4:first-child {margin-top:0;}
.hd-root .hist {list-style:none; margin:0; padding:0 0 0 14px; border-left:2px solid var(--line); display:grid; gap:10px;}
.hd-root .hist li {font-size:12.5px; position:relative;}
.hd-root .hist li::before {content:""; position:absolute; left:-20px; top:5px; width:8px; height:8px; border-radius:50%; background:var(--faint); box-shadow:0 0 0 3px var(--panel);}
.hd-root .hist li.red::before {background:var(--accent);}
.hd-root .hist li span {display:block; color:var(--faint); font-size:11.5px;}
.hd-root .tk7 .convo-head {flex-direction:column; align-items:stretch; gap:8px;}
.hd-root .tk7 .convo-head .row1 {display:flex; gap:10px; align-items:flex-start;}
.hd-root .tk7 .convo-head .row1 .right {margin-left:auto;}
.hd-root .edit-chips {display:flex; flex-wrap:wrap; gap:6px; align-items:center;}
.hd-root .chipsel {appearance:none; -webkit-appearance:none; border:1px solid transparent; border-radius:999px; padding:3px 24px 3px 10px; font-size:12.5px; font-weight:600; cursor:pointer; background-image:linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position:calc(100% - 12px) 52%, calc(100% - 8px) 52%; background-size:4px 4px; background-repeat:no-repeat;}
.hd-root .chipsel:hover {border-color:var(--line);}
.hd-root .chipsel.kind-problem {background-color:var(--wash); color:var(--accent);}
.hd-root .chipsel.kind-idea {background-color:var(--purple-wash); color:var(--purple);}
.hd-root .chipsel.kind-question {background-color:var(--blue-wash); color:var(--blue);}
.hd-root .chipsel.kind-praise {background-color:var(--ok-wash); color:var(--ok);}
.hd-root .chipsel.pri-1 {background-color:var(--wash); color:var(--accent);}
.hd-root .chipsel.pri-2 {background-color:#fff1e6; color:#c2410c;}
.hd-root .chipsel.pri-3 {background-color:var(--amber-wash); color:var(--amber);}
.hd-root .chipsel.plain {background-color:var(--soft); color:var(--text);}
:root[data-theme="dark"] .hd-root .chipsel.pri-2 {background-color:#3a2414; color:#fb923c;}
.hd-root .chipsel option {color:var(--text); background:var(--panel);}
.hd-root .chip-lbl {font-size:11.5px; color:var(--faint); margin-left:4px;}
.hd-root .wo {font-size:12.5px; font-weight:600; white-space:nowrap;}
.hd-root .wo.you {color:var(--accent);}
.hd-root .wo.them {color:var(--blue);}
.hd-root .wo.none {color:var(--faint); font-weight:500;}
.hd-root .dash-grid {display:grid; gap:14px;}
.hd-root .kpis5 {display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px;}
.hd-root .kpi5 {background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:14px 16px;}
.hd-root .kpi5 .l {font-size:12.5px; color:var(--muted);}
.hd-root .kpi5 .v {font-size:28px; font-weight:800; letter-spacing:-.02em; margin-top:2px;}
.hd-root .kpi5 .s {font-size:12px; color:var(--muted);}
.hd-root .kpi5.alert .v {color:var(--accent);}
.hd-root .dcard {background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:16px 18px;}
.hd-root .dcard h3 {margin:0; font-size:15px;}
.hd-root .dcard .sub {font-size:12.5px; color:var(--muted); margin-top:2px;}
.hd-root .dcard .dhd {display:flex; gap:12px; align-items:flex-start; flex-wrap:wrap; margin-bottom:12px;}
.hd-root .dcard .dhd .right {margin-left:auto; display:flex; gap:12px; align-items:center;}
.hd-root .viz-root {--s1:#2a78d6; --s2:#eb6834; --grid:var(--line); position:relative;}
:root[data-theme="dark"] .hd-root .viz-root {--s1:#3987e5; --s2:#d95926;}
:root[data-theme="dark"] .hd-root .viz-root {--s1:#3987e5; --s2:#d95926;}
.hd-root .legend {display:flex; gap:14px; font-size:12.5px; color:var(--muted);}
.hd-root .legend i {display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:5px; vertical-align:-1px;}
.hd-root .viz-root svg {width:100%; height:240px; display:block; overflow:visible;}
.hd-root .viz-root .axis {font-size:11px; fill:var(--faint);}
.hd-root .viz-root .dlabel {font-size:11px; fill:var(--muted); font-weight:600;}
.hd-root .viz-tip {position:absolute; pointer-events:none; background:var(--panel); border:1px solid var(--line); border-radius:10px; box-shadow:0 10px 24px rgba(0,0,0,.14); padding:8px 10px; font-size:12.5px; min-width:130px;}
.hd-root .viz-tip b {display:block; margin-bottom:4px;}
.hd-root .viz-tip .r {display:flex; gap:8px; align-items:center;}
.hd-root .viz-tip .r span {margin-left:auto; font-weight:700;}
.hd-root .viz-tip i {width:9px; height:9px; border-radius:3px; display:inline-block;}
.hd-root .linkbtn {border:0; background:transparent; color:var(--accent); font-weight:600; font-size:12.5px; cursor:pointer; padding:0;}
.hd-root .two7 {display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:14px;}
.hd-root .two2 {display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px;}
.hd-root .kpis6 {display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px;}
.hd-root .kpi5 .dl {font-size:11.5px; color:var(--faint); margin-top:6px;}
.hd-root .kpi5 .dl.up {color:var(--ok);}
.hd-root .kpi5 .dl.down {color:var(--accent);}
.hd-root .dash-sec {display:flex; align-items:center; gap:12px; margin-top:8px;}
.hd-root .dash-sec h2 {margin:0; font-size:17px;}
.hd-root .dash-sec {flex-wrap:wrap;}
.hd-root .dash-sec .dash-range {margin-left:auto;}
.hd-root .dash-now {margin-right:auto;}
.hd-root .stops {margin-left:6px;}
.hd-root .hbars {display:grid; gap:7px;}
.hd-root .hbar {display:grid; grid-template-columns:minmax(110px,190px) minmax(0,1fr) 34px; gap:10px; align-items:center; font-size:13px;}
.hd-root .hbar .t {overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.hd-root .hbar .b {height:10px; border-radius:5px; background:var(--line); overflow:hidden;}
.hd-root .hbar .b i {display:block; height:100%; border-radius:5px; background:#2a78d6;}
.hd-root .hbar b {text-align:right;}
.hd-root .kind-row, .hd-root .stage-row {display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px;}
.hd-root .stage-row {margin:14px 0 0;}
.hd-root .kind-chip, .hd-root .stage-chip {border:1px solid var(--line); border-radius:999px; padding:3px 10px; font-size:12.5px; color:var(--muted);}
.hd-root .kind-chip b, .hd-root .stage-chip b {color:var(--text);}
.hd-root .mini-h {font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--faint); margin:16px 0 6px;}
.hd-root .old-row {display:flex; gap:8px; align-items:baseline; padding:5px 0; font-size:13px; color:var(--text); text-decoration:none; border-top:1px solid var(--line);}
.hd-root .old-row .tt {flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.hd-root .old-row:hover .tt {text-decoration:underline;}
.hd-root .stops {font-size:11.5px; color:var(--accent); font-weight:600;}
@media (max-width:1250px) {
.hd-root .tk7 {grid-template-columns:minmax(0,1fr) 380px;}
.hd-root .tk7 .about {display:none;}
.hd-root .tri-body {grid-template-columns:minmax(0,1fr);}
.hd-root .tri-body .evidence {border-left:0; border-top:1px solid var(--line);}
.hd-root .tri-body .locked {min-height:320px;}
.hd-root .kpis5 {grid-template-columns:repeat(3,minmax(0,1fr));}
.hd-root .two7 {grid-template-columns:minmax(0,1fr);}
.hd-root .kpis6 {grid-template-columns:repeat(3,minmax(0,1fr));}
.hd-root .two2 {grid-template-columns:minmax(0,1fr);}
}
@media (max-width:860px) {
.hd-root .tk7 {grid-template-columns:minmax(0,1fr); height:auto;}
.hd-root .tk7 .convo {min-height:560px;}
.hd-root .tk7 .evidence {border-left:0; border-top:1px solid var(--line);}
.hd-root .tk7 .locked {min-height:320px;}
.hd-root .tri7 {grid-template-columns:minmax(0,1fr);}
.hd-root .tri7 .tri-list {max-height:260px; border-right:0; border-bottom:1px solid var(--line);}
.hd-root .dacts {margin-left:0; flex-wrap:wrap;}
.hd-root .kpis5 {grid-template-columns:repeat(2,minmax(0,1fr));}
.hd-root .kpis6 {grid-template-columns:repeat(2,minmax(0,1fr));}
.hd-root .screen.tall {height:auto;}
}
.hd-root .chipsel.pri-4, .hd-root .chipsel.pri-5 {background-color:var(--soft); color:var(--muted);}
.hd-root .ico.ierr {color:var(--accent);}
.hd-root .top .right {flex-wrap:wrap; min-width:0; max-width:100%;}
.hd-root .top .right select {min-width:0; max-width:calc(100vw - 90px);}
.hd-root .tri7 .tri-item .where {margin-top:6px; font-weight:600; font-size:13.5px; line-height:1.35;}
.hd-root .sigs {display:flex; flex-wrap:wrap; gap:4px; margin-top:7px;}
.hd-root .sig {font-size:11.5px; font-weight:600; padding:1px 7px; border-radius:999px; background:var(--soft); color:var(--muted); white-space:nowrap;}
.hd-root .sig.red {background:var(--wash); color:var(--accent);}
.hd-root .sig.amber {background:var(--amber-wash); color:var(--amber);}
.hd-root .sig.blue {background:var(--blue-wash); color:var(--blue);}
.hd-root .sigs .p {font-size:11.5px; padding:1px 7px;}
.hd-root .decide-bar {flex-direction:column; align-items:stretch; gap:10px;}
.hd-root .drow {display:flex; flex-wrap:wrap; gap:10px 18px; align-items:center;}
.hd-root .dsame {margin-left:auto; font-size:12.5px; color:var(--muted); display:flex; gap:6px; align-items:center;}
.hd-root .dnote {flex:1; min-width:200px; border:1px solid var(--line); background:var(--panel); border-radius:9px; padding:6px 10px; font-size:13px;}
.hd-root .drow .dacts {margin-left:0;}
.hd-root .pin {border:1px solid var(--line); border-radius:14px; padding:14px 18px 16px; background:var(--panel);}
.hd-root .msgs-label {font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--faint); font-weight:600; margin:6px 0 -4px;}
.hd-root .pin-head {display:flex; gap:10px; align-items:center; font-size:13px;}
.hd-root .pin-head .linkbtn {margin-left:auto;}
.hd-root .pin-text {font-size:15px; line-height:1.6; margin-top:10px; white-space:pre-wrap; overflow-wrap:anywhere;}
.hd-root .pin-answer {margin-top:12px; border-left:3px solid var(--ok); background:var(--ok-wash); border-radius:0 10px 10px 0; padding:9px 12px; font-size:14px; white-space:pre-wrap;}
.hd-root .pin-answer .who {font-size:12px; color:var(--muted); margin-bottom:3px; white-space:normal;}
.hd-root .pin-answer .who b {color:var(--text);}
.hd-root .tri7 .tri-list {padding:4px 0;}
.hd-root .tri7 .tri-item {margin:0; border-radius:0; padding:12px 16px 12px 18px; border-bottom:1px solid var(--line); position:relative;}
.hd-root .tri7 .tri-item:hover {background:var(--soft);}
.hd-root .tri7 .tri-item.on {background:var(--wash);}
.hd-root .tri7 .tri-item.on::before {content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--accent);}
.hd-root .tri7 .tri-item .ttl {margin-top:5px; font-weight:600; font-size:14px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.hd-root .tri7 .tri-item .meta {margin-top:4px; font-size:12.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .tri7 .tri-item .meta .blk {color:var(--accent); font-weight:600;}
.hd-root .decide-bar.one {flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px; padding:10px 18px;}
.hd-root .decide-bar.one .chipsel {font-size:13px; padding:6px 28px 6px 12px;}
.hd-root .decide-bar.one .dacts {margin-left:auto; display:flex; gap:6px;}
.hd-root .decide-bar.one .btn.sel {background:var(--text); color:var(--panel);}
.hd-root .confirm {display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; align-items:end; padding:12px 18px; border-bottom:1px solid var(--line); background:var(--soft);}
.hd-root .confirm textarea {grid-column:1; min-height:56px; resize:vertical; border:1px solid var(--line); border-radius:10px; padding:8px 10px; background:var(--panel); font-size:13.5px;}
.hd-root .confirm .cf-row {grid-column:1 / -1; display:flex; gap:10px; align-items:center; font-size:13px; color:var(--muted);}
.hd-root .confirm .cf-row select {border:1px solid var(--line); border-radius:8px; padding:5px 8px; background:var(--panel); font-size:13px; min-width:0; max-width:100%;}
.hd-root .confirm .cf-acts {display:flex; gap:6px;}
.hd-root .rtitle {font-size:21px; font-weight:700; letter-spacing:-.01em; margin:18px 0 4px; display:flex; flex-wrap:wrap; gap:8px; align-items:baseline;}
.hd-root .autot {border:0; background:transparent; color:var(--faint); font-size:12px; font-weight:500; cursor:pointer; padding:0;}
.hd-root .autot:hover {color:var(--accent);}
.hd-root .report .text {margin-top:8px; font-weight:400; font-size:16px;}
.hd-root .dupe {margin-top:14px; border:1px dashed var(--line); border-radius:12px; padding:10px 14px; font-size:13.5px;}
.hd-root .dupe b {display:block; font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--faint); margin-bottom:4px;}
.hd-root .dupe-row {display:flex; gap:10px; align-items:center; padding:5px 0;}
.hd-root .dupe-row span:first-child {flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:600;}
.hd-root .tri7 .tri-item .meta {display:flex; gap:8px; align-items:center;}
.hd-root .tri7 .tri-item .meta .mt {min-width:0; overflow:hidden; text-overflow:ellipsis;}
.hd-root .tri7 .tri-item .meta .icons {margin-left:auto; display:flex; gap:2px; flex:none;}
.hd-root .tri7 .tri-item .meta .ico {margin-right:0;}
.hd-root .tbar .back {margin-right:4px; white-space:nowrap;}
.hd-root .tbar .wo {margin-right:6px;}
.hd-root .report.flat {overflow:visible; padding:4px 0 0;}
.hd-root .report.flat .rtitle {margin-top:14px;}
.hd-root .thread {margin-top:8px; border-top:1px solid var(--line); padding-top:14px; display:flex; flex-direction:column; gap:12px;}
.hd-root .thread-head {display:flex; align-items:center; gap:10px; font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--faint); font-weight:600;}
.hd-root .thread-head .linkbtn {margin-left:auto; text-transform:none; letter-spacing:0; font-size:12.5px;}
.hd-root .earlier {align-self:stretch; border:1px dashed var(--line); background:transparent; color:var(--muted); border-radius:10px; padding:8px 12px; font-size:13px; cursor:pointer; text-align:left;}
.hd-root .earlier:hover {color:var(--text); border-color:var(--faint);}
.hd-root .tk7 .stream {gap:0;}
.hd-root .top .btn.primary .k {border-color:rgba(255,255,255,.5);}
.hd-root #f7 {position:fixed; inset:0; background:rgba(10,12,16,.6); z-index:40; display:grid; place-items:center; padding:20px;}
.hd-root #f7[hidden] {display:none;}
.hd-root .f7-modal {width:min(1060px,100%); max-height:calc(100vh - 40px); overflow:auto; background:var(--panel); border:1px solid var(--line); border-radius:16px; box-shadow:0 30px 60px rgba(0,0,0,.35); display:flex; flex-direction:column;}
.hd-root .f7-head {display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; padding:16px 22px; border-bottom:1px solid var(--line);}
.hd-root .f7-head h2 {margin:0; font-size:18px; display:flex; gap:8px; align-items:center;}
.hd-root .f7-head kbd {font-size:11px; border:1px solid var(--line); border-bottom-width:2px; border-radius:5px; padding:0 5px; color:var(--muted); font-family:inherit;}
.hd-root .f7-kinds {margin-left:auto;}
.hd-root .f7-body {display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:0;}
.hd-root .f7-main {padding:18px 22px; display:flex; flex-direction:column; gap:6px;}
.hd-root .f7-side {padding:18px 20px; border-left:1px solid var(--line); background:var(--soft);}
.hd-root .f7-label {font-weight:600; font-size:13.5px; margin-top:8px;}
.hd-root .f7-label .req {font-weight:500; font-size:11.5px; color:var(--faint); margin-left:4px;}
.hd-root .f7-help {margin:0; font-size:12.5px; color:var(--muted);}
.hd-root .f7-titlebox {display:flex; align-items:center; border:1.5px solid var(--line); border-radius:11px; background:var(--panel); padding:0 12px 0 0;}
.hd-root .f7-titlebox input {flex:1; min-width:0; border:0; background:transparent; outline:none; font-size:17px; font-weight:600; padding:11px 14px;}
.hd-root .f7-titlebox:focus-within {border-color:var(--text);}
.hd-root .f7-titlebox.err, .hd-root .f7-titlebox.need {border-color:var(--accent);}
.hd-root .f7-titlebox.ok {border-color:var(--ok);}
.hd-root .f7-count {font-size:12px; color:var(--faint); white-space:nowrap;}
.hd-root .f7-count.near {color:var(--amber); font-weight:600;}
.hd-root .f7-hint {font-size:12.5px; color:var(--muted); min-height:18px;}
.hd-root .f7-hint.err, .hd-root .f7-hint.need {color:var(--accent);}
.hd-root .f7-hint.ok {color:var(--ok);}
.hd-root .f7-hint.tip, .hd-root .f7-hint.ask {color:var(--amber);}
.hd-root .f7-sims {border:1px solid var(--line); border-radius:12px; padding:10px 12px; margin:4px 0 4px; background:var(--blue-wash); display:grid; gap:6px;}
.hd-root .f7-sims > b {font-size:12.5px;}
.hd-root .f7-sim {display:flex; gap:10px; align-items:center;}
.hd-root .f7-sim .t {flex:1; min-width:0; display:flex; flex-direction:column;}
.hd-root .f7-sim .t span:first-child {font-weight:600; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .f7-sim.open .t span:first-child {white-space:normal; overflow-wrap:anywhere;}
.hd-root .f7-sim .btn.on {background:var(--ok-wash); color:var(--ok);}
.hd-root #f7details {border:1px solid var(--line); border-radius:11px; padding:10px 12px; background:var(--panel); font-size:14px; resize:vertical; min-height:110px;}
.hd-root .f7-problem {margin-top:8px; border-top:1px solid var(--line); padding-top:6px; display:flex; flex-direction:column; gap:8px;}
.hd-root .f7-wa {align-self:flex-start;}
.hd-root .f7-line {border:1px solid var(--line); border-radius:9px; padding:8px 11px; background:var(--panel); font-size:13.5px;}
.hd-root .checkline {display:flex; gap:8px; align-items:center; font-size:13.5px;}
.hd-root .f7-preview {background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:11px 13px; margin-top:6px;}
.hd-root .f7-preview .ttl {margin-top:5px; font-weight:600; font-size:14px; line-height:1.35;}
.hd-root .f7-preview .ttl.ph {color:var(--faint); font-weight:500; font-style:italic;}
.hd-root .f7-preview .meta {margin-top:4px; font-size:12.5px; color:var(--muted); display:flex; gap:6px;}
.hd-root .f7-preview .meta .icons {margin-left:auto;}
.hd-root .f7-pics {display:flex; gap:8px; margin-top:6px;}
.hd-root .f7-pic {width:130px; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--panel);}
.hd-root .f7-pic img {width:100%; height:78px; object-fit:cover; object-position:top left; display:block;}
.hd-root .f7-pic span {display:block; font-size:11.5px; padding:4px 7px; color:var(--muted);}
.hd-root .f7-add {width:96px; border:1px dashed var(--faint); border-radius:10px; background:transparent; color:var(--muted); cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; font-size:20px;}
.hd-root .f7-add span {font-size:11.5px;}
.hd-root .f7-sent {margin-top:14px; font-size:13px;}
.hd-root .f7-sent summary {cursor:pointer; font-weight:600;}
.hd-root .f7-foot {display:flex; gap:10px; align-items:center; padding:12px 22px; border-top:1px solid var(--line);}
.hd-root .f7-missing {margin-left:auto; font-size:12.5px; color:var(--muted);}
.hd-root .f7-foot .btn.primary[disabled] {opacity:.45; cursor:not-allowed;}
@media (max-width:860px) {
.hd-root .f7-body {grid-template-columns:minmax(0,1fr);}
.hd-root .f7-side {border-left:0; border-top:1px solid var(--line);}
.hd-root .f7-kinds {margin-left:0;}
.hd-root .f7-wa {flex-wrap:wrap;}
}
.hd-root .report {padding:14px 22px 16px;}
.hd-root .report .who {gap:10px;}
.hd-root .rtitle {font-size:19px; margin:12px 0 2px;}
.hd-root .report .text, .hd-root .report.flat .text {font-size:15px; line-height:1.5; margin:6px 0 12px;}
.hd-root dl.facts {display:grid; grid-template-columns:150px minmax(0,1fr); margin:0; border:1px solid var(--line); border-radius:10px; overflow:hidden; font-size:13.5px;}
.hd-root dl.facts dt {padding:7px 12px; white-space:nowrap; color:var(--faint); font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; font-weight:600; border-top:1px solid var(--line);}
.hd-root dl.facts dd {margin:0; padding:7px 12px 7px 0; border-top:1px solid var(--line); white-space:pre-wrap;}
.hd-root dl.facts dt:first-of-type, .hd-root dl.facts dd:first-of-type {border-top:0;}
.hd-root dl.facts dd.red {color:var(--accent); font-weight:600;}
.hd-root dl.facts dd.none {color:var(--faint);}
.hd-root .dupe {margin-top:10px; padding:7px 12px;}
.hd-root .dupe b {margin-bottom:2px;}
.hd-root .dupe-row {padding:3px 0;}
.hd-root .prior {margin-top:10px;}
.hd-root .report .text.clamp {display:-webkit-box; -webkit-line-clamp:9; -webkit-box-orient:vertical; overflow:hidden; margin-bottom:2px;}
.hd-root .report .linkbtn.more {margin:0 0 12px; display:block;}
.hd-root svg.i {flex:none; vertical-align:-2px;}
.hd-root .btn {display:inline-flex; align-items:center; justify-content:center; gap:6px;}
.hd-root .tri7, .hd-root .tri-body, .hd-root .tk7 {transition:grid-template-columns .18s ease;}
.hd-root .tri7.lmin {grid-template-columns:64px minmax(0,1fr);}
.hd-root .tri-body.rmin {grid-template-columns:minmax(0,1fr) 60px;}
.hd-root .tk7.lmin {grid-template-columns:64px minmax(0,1fr) 400px;}
.hd-root .tk7.rmin {grid-template-columns:230px minmax(0,1fr) 60px;}
.hd-root .tk7.lmin.rmin {grid-template-columns:64px minmax(0,1fr) 60px;}
.hd-root .ev-head, .hd-root .list-top {display:flex; align-items:center; gap:8px; font-size:11.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--faint); font-weight:600;}
.hd-root .ev-head span, .hd-root .list-top span {flex:1;}
.hd-root .list-top {padding:6px 10px 8px 18px; border-bottom:1px solid var(--line); text-transform:none; letter-spacing:0; font-size:12.5px; font-weight:500;}
.hd-root .list-top b {color:var(--text);}
.hd-root .about .ev-head {margin-bottom:10px;}
.hd-root .rail-btn {width:44px; min-height:40px; border:0; border-radius:10px; background:transparent; color:var(--muted); cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:6px 0; font-size:11px; font-weight:600;}
.hd-root .rail-btn:hover:not([disabled]) {background:var(--soft); color:var(--text);}
.hd-root .rail-btn[disabled] {opacity:.35; cursor:default;}
.hd-root .rail-btn.red {color:var(--accent);}
.hd-root .rail-btn.sm {width:28px; min-height:26px; padding:0; border-radius:7px;}
.hd-root .rail-sep {display:block; width:24px; height:1px; background:var(--line); margin:6px auto;}
.hd-root .ev-rail, .hd-root .about-rail {border-left:1px solid var(--line); display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 0; background:var(--panel); min-height:0; overflow:auto;}
.hd-root .about-rail {border-left:0; border-right:1px solid var(--line);}
.hd-root .rail-person {display:flex; flex-direction:column; align-items:center; gap:4px; font-size:11px; font-weight:600; color:var(--muted);}
.hd-root .tri-list.rail {display:flex; flex-direction:column; align-items:center; gap:2px; padding:10px 0;}
.hd-root .rail-item {position:relative; width:52px; border:0; background:transparent; border-radius:12px; padding:7px 0 5px; display:flex; flex-direction:column; align-items:center; gap:3px; cursor:pointer; color:var(--muted); font-size:11px; font-weight:600;}
.hd-root .rail-item:hover {background:var(--soft); color:var(--text);}
.hd-root .rail-item.on {background:var(--wash); color:var(--accent);}
.hd-root .rail-item.on .av {box-shadow:0 0 0 2px var(--panel), 0 0 0 4px var(--accent);}
.hd-root .rail-dot {position:absolute; top:6px; right:9px; width:8px; height:8px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 2px var(--panel);}
.hd-root .evidence {gap:10px;}
.hd-root .ev-btns .btn {gap:5px;}
.hd-root .ltabs button {display:inline-flex; gap:5px; align-items:center; justify-content:center;}
.hd-root .report .who .av {flex:none;}
.hd-root .rtitle {display:flex; align-items:flex-start; gap:8px;}
.hd-root .rtitle .edit-t {border:0; background:transparent; color:var(--faint); cursor:pointer; padding:4px; border-radius:6px; margin-top:2px; opacity:0; transition:opacity .15s;}
.hd-root .rtitle:hover .edit-t {opacity:1;}
.hd-root .rtitle .edit-t:hover {color:var(--text); background:var(--soft);}
.hd-root .badges {display:flex; gap:6px; margin:6px 0 2px;}
.hd-root .badge {display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:700; padding:3px 9px; border-radius:999px; background:var(--soft); color:var(--muted);}
.hd-root .badge.red {background:var(--wash); color:var(--accent);}
.hd-root .report .text, .hd-root .report.flat .text {max-width:78ch; margin:10px 0 4px;}
.hd-root .rsec {margin-top:16px; max-width:78ch;}
.hd-root .rsec h4 {margin:0 0 4px; font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--faint); font-weight:700;}
.hd-root .rsec-b {font-size:14.5px; line-height:1.55; white-space:pre-wrap; overflow-wrap:anywhere;}
.hd-root .rsec .adds {margin-top:4px; color:var(--muted); font-size:13.5px;}
.hd-root .dupe {border:0; border-top:1px solid var(--line); border-radius:0; padding:12px 0 0; margin-top:18px;}
.hd-root .prior {margin-top:12px;}
.hd-root .f7-titlerow {display:flex; align-items:flex-end; gap:12px;}
.hd-root .f7-titlerow .f7-label {flex:1;}
.hd-root .f7-switch {display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; color:var(--muted); cursor:pointer; user-select:none;}
.hd-root .f7-switch input {position:absolute; opacity:0; pointer-events:none;}
.hd-root .f7-switch i {width:32px; height:18px; border-radius:999px; background:var(--soft2); position:relative; transition:background .15s;}
.hd-root .f7-switch i::after {content:""; position:absolute; top:2px; left:2px; width:14px; height:14px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.25); transition:left .15s;}
.hd-root .f7-switch.on {color:var(--accent);}
.hd-root .f7-switch.on i {background:var(--accent);}
.hd-root .f7-switch.on i::after {left:16px;}
.hd-root .f7-line.blocked {border-color:var(--accent);}
.hd-root .f7-area {border:1px solid var(--line); border-radius:11px; padding:9px 12px; background:var(--panel); font-size:14px; resize:vertical;}
.hd-root .f7-problem {border-top:0; padding-top:0; margin-top:4px; gap:6px;}
.hd-root .rtitle {flex-wrap:nowrap;}
.hd-root .rtitle > span {flex:0 1 auto; min-width:0;}
.hd-root .rtitle .edit-t {flex:none;}
.hd-root .pd {display:flex; flex-direction:column; gap:12px;}
.hd-root .pd-flags {display:flex; flex-direction:column; gap:6px;}
.hd-root .pd-flag {display:flex; gap:8px; align-items:flex-start; font-size:12.5px; line-height:1.4; padding:7px 9px; border-radius:9px; background:var(--soft);}
.hd-root .pd-flag svg {margin-top:1px;}
.hd-root .pd-flag.amber {background:var(--amber-wash); color:var(--amber);}
.hd-root .pd-flag.red {background:var(--wash); color:var(--accent);}
.hd-root .pd-flag.blue {background:var(--blue-wash); color:var(--blue);}
.hd-root .pd-flag.ok {background:var(--ok-wash); color:var(--ok);}
.hd-root .pd-grid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 12px;}
.hd-root .pd-tile {display:flex; gap:9px; align-items:center; min-width:0;}
.hd-root .pd-ic {width:30px; height:30px; flex:none; border-radius:8px; background:var(--soft); display:grid; place-items:center; color:var(--muted);}
.hd-root .pd-k {font-size:11px; color:var(--faint); text-transform:uppercase; letter-spacing:.06em; font-weight:600;}
.hd-root .pd-v {font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .pd-rows {display:flex; flex-direction:column; gap:9px; border-top:1px solid var(--line); padding-top:11px;}
.hd-root .pd-row {display:flex; gap:9px; align-items:flex-start; font-size:13px; min-width:0;}
.hd-root .pd-row > div {min-width:0; overflow-wrap:anywhere; padding-top:5px;}
.hd-root .pd-sub {font-size:12px; color:var(--muted); margin-top:1px;}
.hd-root .pd-link {color:var(--accent);}
.hd-root .pd-row code {font-size:12px; background:var(--soft); padding:1px 5px; border-radius:5px;}
.hd-root .pd-sub svg.i {vertical-align:-1px;}
.hd-root .pd-more {border-top:1px solid var(--line); padding-top:9px; font-size:12.5px;}
.hd-root .pd-more summary {cursor:pointer; color:var(--muted); font-weight:600;}
.hd-root .pd-more dl.kv {margin-top:8px;}
.hd-root .rlabel {margin:14px 0 4px; font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--faint); font-weight:700;}
.hd-root .report .text, .hd-root .report.flat .text {margin-top:0;}
.hd-root .badges + .rlabel {margin-top:10px;}
.hd-root {--head-h:58px;}
.hd-root .pane-head, .hd-root .rail-head {height:var(--head-h); flex:none; display:flex; align-items:center; border-bottom:1px solid var(--line);}
.hd-root .pane-head {gap:8px; padding:0 10px 0 18px; font-size:11.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--faint); font-weight:600;}
.hd-root .pane-head span {flex:1;}
.hd-root .pane-head.list-top {text-transform:none; letter-spacing:0; font-size:12.5px; font-weight:500; color:var(--muted);}
.hd-root .rail-head {width:100%; justify-content:center; margin-bottom:6px;}
.hd-root .decide-bar.one {min-height:var(--head-h); padding-top:8px; padding-bottom:8px; box-sizing:border-box;}
.hd-root .tk7 .decide-bar.tbar {min-height:var(--head-h); box-sizing:border-box;}
.hd-root .tri-list {padding:0 !important;}
.hd-root .tri-list.rail {gap:2px; padding:0 0 10px !important;}
.hd-root .tri-main {display:grid; grid-template-columns:minmax(0,1fr) 400px; min-height:0; min-width:0; transition:grid-template-columns .18s ease;}
.hd-root .tri-main.rmin {grid-template-columns:minmax(0,1fr) 60px;}
.hd-root .tri-col {display:flex; flex-direction:column; min-width:0; min-height:0;}
.hd-root .tri-col .report {flex:1; min-height:0;}
.hd-root .evidence {padding:0; gap:0; border-left:1px solid var(--line);}
.hd-root .ev-inner {flex:1; min-height:0; display:flex; flex-direction:column; gap:10px; padding:14px;}
.hd-root .ev-rail, .hd-root .about-rail {padding:0 0 10px;}
.hd-root .about {padding:0; display:flex; flex-direction:column; min-height:0; overflow:hidden;}
.hd-root .about-inner {flex:1; min-height:0; overflow:auto; padding:14px 16px;}
.hd-root .about-inner > h4:first-child {margin-top:0;}
@media (max-width:1250px) {
.hd-root .tri-main, .hd-root .tri-main.rmin {grid-template-columns:minmax(0,1fr);}
.hd-root .tri-main .evidence {border-left:0; border-top:1px solid var(--line);}
.hd-root .tri-main .locked {min-height:320px;}
}
.hd-root .decide-bar.one {flex-wrap:nowrap; gap:6px;}
.hd-root .decide-bar.one .chipsel {font-size:12.5px; padding:5px 24px 5px 10px; max-width:150px; text-overflow:ellipsis;}
.hd-root .btn.icon {width:34px; height:32px; padding:0;}
.hd-root .decide-bar.one .dacts {gap:5px; flex:none;}
.hd-root .decide-bar.one .dacts .btn {padding:6px 11px;}
@media (max-width:1250px) {
.hd-root .decide-bar.one {flex-wrap:wrap;}
}
.hd-root .badge.soft {background:var(--wash);}
.hd-root .badge.blue {background:var(--blue-wash); color:var(--blue);}
.hd-root .badge.xs {font-size:11px; padding:1px 7px; margin-left:6px; vertical-align:1px;}
.hd-root .list2 td {padding:9px 12px;}
.hd-root .list2 .ck {width:34px; padding-right:0;}
.hd-root .list2 .ck input {width:15px; height:15px; accent-color:var(--accent); cursor:pointer;}
.hd-root .list2 .idc {width:44px;}
.hd-root .list2 .fb {max-width:380px;}
.hd-root .list2 .subj {max-width:100%; font-size:14px;}
.hd-root .list2 .sub2 {margin-top:2px; display:flex; align-items:center; flex-wrap:wrap; gap:2px;}
.hd-root .list2 tr.mine .subj::before {content:""; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--accent); margin-right:7px; vertical-align:2px;}
.hd-root .list2 tr.picked td {background:var(--wash);}
.hd-root .lmc {max-width:300px;}
.hd-root .lm {display:flex; gap:6px; align-items:center; font-size:12.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .lm b {color:var(--text); font-weight:600; flex:none;}
.hd-root .lm .av {flex:none;}
.hd-root .lm.new {color:var(--text);}
.hd-root .lm.new b {color:var(--accent);}
.hd-root .lm.none {color:var(--faint);}
.hd-root .evc {display:flex; gap:10px; color:var(--muted); font-size:12px; font-weight:600;}
.hd-root .evc span {display:inline-flex; gap:3px; align-items:center;}
.hd-root .evc .red {color:var(--accent);}
.hd-root .asg {display:inline-flex; gap:6px; align-items:center;}
.hd-root .wo.late {font-weight:700;}
.hd-root .sortable {cursor:pointer; user-select:none; white-space:nowrap;}
.hd-root .sortable:hover {color:var(--text);}
.hd-root .sortable.on {color:var(--text);}
.hd-root .sortable .arr {margin-left:4px;}
.hd-root .list2 .qa, .hd-root .list2 .qa-h {width:0; padding:0; position:relative;}
.hd-root .qa-btns {position:absolute; right:10px; top:50%; transform:translateY(-50%); display:none; gap:5px; background:var(--soft); padding:4px; border-radius:10px; box-shadow:0 4px 14px rgba(0,0,0,.15);}
.hd-root .list2 tr.r:hover .qa-btns {display:flex;}
.hd-root .qa-btns .btn {background:var(--panel);}
.hd-root .bulkbar {display:flex; gap:8px; align-items:center; padding:8px 16px; border-bottom:1px solid var(--line); background:var(--wash); position:sticky; top:0; z-index:2;}
.hd-root .bulkbar b {margin-right:6px;}
.hd-root .lm-t {min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.hd-root .tk7.chat {grid-template-columns:230px minmax(0,1fr) 420px;}
.hd-root .tk7.lmin.chat {grid-template-columns:64px minmax(0,1fr) 420px;}
.hd-root .chat-panel {border-left:1px solid var(--line); display:flex; flex-direction:column; min-height:0; background:var(--panel);}
.hd-root .chat-stream {flex:1; min-height:0; overflow:auto; padding:16px; display:flex; flex-direction:column; gap:12px;}
.hd-root .chat-panel .msg {max-width:92%;}
.hd-root .chat-panel .composer {border-top:1px solid var(--line);}
.hd-root .chat-strip {display:flex; gap:12px; align-items:center; width:100%; border:0; border-top:1px solid var(--line); background:var(--panel); padding:12px 22px; cursor:pointer; text-align:left; color:var(--text);}
.hd-root .chat-strip:hover {background:var(--soft);}
.hd-root .chat-strip .cs-ic {width:34px; height:34px; border-radius:10px; background:var(--soft); display:grid; place-items:center; color:var(--muted); flex:none;}
.hd-root .chat-strip.mine .cs-ic {background:var(--wash); color:var(--accent);}
.hd-root .chat-strip .cs-body {flex:1; min-width:0; display:flex; flex-direction:column;}
.hd-root .chat-strip .cs-body b {font-size:13px;}
.hd-root .chat-strip .cs-last {font-size:12.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .chat-strip .cs-go {display:inline-flex; gap:4px; align-items:center; font-size:13px; font-weight:700; color:var(--muted); flex:none;}
.hd-root .chat-strip.mine .cs-go {color:var(--accent);}
.hd-root .tbar .btn .nb {font-size:11.5px; font-weight:700; margin-left:2px;}
.hd-root .tbar .btn.hot {background:var(--wash); color:var(--accent);}
.hd-root .tbar .btn.sel {background:var(--text); color:var(--panel);}
.hd-root .rsec-b.answer {border-left:3px solid var(--ok); padding-left:12px;}
@media (max-width:1250px) {
.hd-root .tk7.chat, .hd-root .tk7.lmin.chat {grid-template-columns:minmax(0,1fr);}
.hd-root .chat-panel {border-left:0; border-top:1px solid var(--line); min-height:560px;}
}
.hd-root .tbar .chipsel {max-width:110px;}
.hd-root .tbar .dacts .btn {padding:6px 10px;}
.hd-root .tbar {overflow:hidden;}
.hd-root .pd-grid2 {border-top:1px solid var(--line); padding-top:12px; align-items:start;}
.hd-root .pd-tile {align-items:flex-start;}
.hd-root .pd-tile .pd-tx {min-width:0;}
.hd-root .pd-tile .pd-v {white-space:normal; overflow-wrap:anywhere; line-height:1.3;}
.hd-root .pd-tile .pd-sub {font-size:11.5px; margin-top:1px;}
.hd-root .pd-tile.wide {grid-column:1 / -1;}
.hd-root .rail-mark {width:32px; height:30px; display:grid; place-items:center; color:var(--muted); border-radius:8px; cursor:default;}
.hd-root .rail-mark:hover {background:var(--soft);}
.hd-root .rail-mark.amber {color:var(--amber); background:var(--amber-wash);}
.hd-root .rail-mark.red {color:var(--accent); background:var(--wash);}
.hd-root .wb {display:flex; flex-direction:column; height:100%; min-height:0;}
.hd-root .wb > .tri7, .hd-root .wb > .tk7 {flex:1; min-height:0;}
.hd-root .wb > .decide-bar.one {border-bottom:1px solid var(--line); flex-wrap:nowrap;}
.hd-root .wb > .confirm {flex:none;}
.hd-root .center-head {text-transform:none; letter-spacing:0; font-size:12.5px; font-weight:500; color:var(--muted); gap:6px; padding:0 12px;}
.hd-root .center-head .nav-pos {flex:none;}
.hd-root .center-head .nav-pos b {color:var(--text);}
.hd-root .center-head .nav-keys {margin-left:auto; flex:1; text-align:right; font-size:11.5px; color:var(--faint);}
.hd-root .tk7 .convo > .center-head {border-bottom:1px solid var(--line);}
@media (max-width:1250px) {
.hd-root .wb > .decide-bar.one {flex-wrap:wrap;}
}
.hd-root .lwrap {display:flex; flex-direction:column; height:100%; min-height:0;}
.hd-root .lhead {gap:12px; text-transform:none; letter-spacing:0; font-size:12.5px; font-weight:500; color:var(--muted); padding:0 16px 0 20px;}
.hd-root .lhead > span:first-child {flex:none;}
.hd-root .lhead b {color:var(--text);}
.hd-root .lhead .lsort {margin-left:auto; display:flex; gap:6px; align-items:center;}
.hd-root .lhead.bulk {background:var(--wash); color:var(--text);}
.hd-root .disp-wrap {position:relative;}
.hd-root .disp-menu {top:34px; right:0; width:240px; padding:8px;}
.hd-root .disp-opt {display:flex; gap:8px; align-items:center; padding:6px 8px; border-radius:7px; font-size:13px; cursor:pointer; color:var(--text); text-transform:none; letter-spacing:0; font-weight:500;}
.hd-root .disp-opt:hover {background:var(--soft);}
.hd-root .disp-menu small {display:block; padding:4px 8px 2px;}
.hd-root .lrows {flex:1; min-height:0; overflow:auto;}
.hd-root .lrow {display:grid; grid-template-columns:40px 64px minmax(0,1.3fr) minmax(0,1fr) auto; gap:14px; align-items:center; padding:11px 16px 11px 20px; border-bottom:1px solid var(--line); cursor:pointer; position:relative;}
.hd-root .lrow:hover {background:var(--soft);}
.hd-root .lrow.picked {background:var(--wash);}
.hd-root .lsel {position:relative; width:32px; height:32px; cursor:pointer;}
.hd-root .lsel input {position:absolute; inset:0; margin:auto; width:16px; height:16px; opacity:0; accent-color:var(--accent); cursor:pointer;}
.hd-root .lrow:hover .lsel .av, .hd-root .lrow.picking .lsel .av, .hd-root .lrow.picked .lsel .av {opacity:0;}
.hd-root .lrow:hover .lsel input, .hd-root .lrow.picking .lsel input, .hd-root .lrow.picked .lsel input {opacity:1;}
.hd-root .lwait {display:flex; flex-direction:column; line-height:1.15;}
.hd-root .lwait b {font-size:16px; font-weight:800; letter-spacing:-.01em;}
.hd-root .lwait span {font-size:11.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .lwait.you b {color:var(--text);}
.hd-root .lwait.you.warm b {color:var(--amber);}
.hd-root .lwait.you.late b {color:var(--accent);}
.hd-root .lwait.you span {color:var(--accent); font-weight:600;}
.hd-root .lwait.them b {color:var(--muted);}
.hd-root .lwait.quiet b {color:var(--faint); font-weight:700;}
.hd-root .lmain {min-width:0;}
.hd-root .lt {font-weight:600; font-size:14.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .lmeta {font-size:12.5px; color:var(--muted); margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .llast {min-width:0;}
.hd-root .lright {display:flex; align-items:center; gap:10px; justify-content:flex-end;}
.hd-root .lright .evc {gap:8px;}
.hd-root .noasg {width:24px; height:24px; border-radius:50%; border:1.5px dashed var(--line); display:inline-block;}
.hd-root .kebab-wrap {position:relative;}
.hd-root .kebab {width:30px; height:30px; font-size:18px; line-height:1; color:var(--muted);}
.hd-root .kebab-menu {top:34px; right:0; width:220px; z-index:6;}
.hd-root .kebab-menu button {display:flex; gap:8px; align-items:center;}
@media (max-width:1100px) {
.hd-root .lrow {grid-template-columns:36px 56px minmax(0,1fr) auto;}
.hd-root .llast {display:none;}
}
@media (max-width:640px) {
.hd-root .lrow {grid-template-columns:52px minmax(0,1fr) auto; gap:10px; padding:10px 12px;}
.hd-root .lsel {display:none;}
.hd-root .lright .evc, .hd-root .lright .noasg {display:none;}
.hd-root .lhead .lsort {display:none;}
}
.hd-root .swap-wrap {margin-left:auto;}
.hd-root .segc.swap button {display:inline-flex; gap:6px; align-items:center; padding:5px 12px; position:relative;}
.hd-root .segc.swap .nb {font-size:11px; font-weight:700; background:var(--soft2); color:var(--text); border-radius:999px; padding:0 6px;}
.hd-root .segc.swap button.on .nb {background:var(--panel); color:var(--text);}
.hd-root .turn-dot {width:7px; height:7px; border-radius:50%; background:var(--accent); display:inline-block;}
.hd-root .rtabs {padding:0 10px 0 12px;}
.hd-root .rtabs .segc {flex:1; display:flex;}
.hd-root .rtabs .segc button {flex:1; justify-content:center;}
.hd-root .convo .chat-stream {flex:1; min-height:0; overflow:auto; padding:18px 22px; display:flex; flex-direction:column; gap:12px;}
.hd-root .convo .composer {border-top:1px solid var(--line);}
.hd-root .composer .ctabs {align-items:center;}
.hd-root .composer .ctabs .pop {margin-left:auto;}
.hd-root #chatmode {max-width:260px;}
.hd-root .bar-mid {flex:1; min-width:0; display:flex; align-items:center; gap:8px; padding:0 10px; overflow:hidden; white-space:nowrap; font-size:12.5px;}
.hd-root .bar-mid .bm-k {color:var(--faint); text-transform:uppercase; letter-spacing:.06em; font-size:11px; font-weight:700;}
.hd-root .bm-item {border:0; background:transparent; color:var(--muted); cursor:pointer; padding:0; min-width:0; overflow:hidden; text-overflow:ellipsis;}
.hd-root .bm-item:hover {color:var(--text);}
.hd-root .bm-item b {color:var(--text);}
.hd-root .bm-sep {width:1px; height:18px; background:var(--line); flex:none;}
.hd-root .bar-mid .linkbtn {display:inline-flex; gap:5px; align-items:center; flex:none;}
.hd-root .wb > .tbar {padding-right:0;}
.hd-root .tbar .dacts {margin-left:auto; padding-right:16px;}
.hd-root .bar-right {width:400px; flex:none; align-self:stretch; display:flex; align-items:center; padding:0 12px; border-left:1px solid var(--line); box-sizing:border-box;}
.hd-root .bar-right .segc {flex:1; display:flex;}
.hd-root .bar-right .segc button {flex:1; justify-content:center;}
.hd-root .pane-head.ctx {text-transform:none; letter-spacing:0; font-size:13px; font-weight:500; color:var(--text); padding:0 10px 0 14px; gap:9px;}
.hd-root .ctx-t {flex:1; min-width:0; display:flex; flex-direction:column; line-height:1.2;}
.hd-root .ctx-t b {white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .ctx-t i {font-style:normal; font-size:11.5px; color:var(--muted);}
.hd-root .ctx-t i.you {color:var(--accent); font-weight:600;}
.hd-root .ctx-t i.them {color:var(--blue);}
.hd-root .evsum {flex:1; display:flex; gap:12px; align-items:center; color:var(--muted); font-weight:600; font-size:12.5px;}
.hd-root .evsum > span {display:inline-flex; gap:4px; align-items:center;}
.hd-root .evsum .red {color:var(--accent); cursor:pointer;}
.hd-root .evsum .amber {color:var(--amber);}
@media (max-width:1250px) {
.hd-root .bar-right {width:auto; border-left:0;}
.hd-root .bar-mid {display:none;}
}
.hd-root .tbar3 {display:grid; min-height:var(--head-h); border-bottom:1px solid var(--line); transition:grid-template-columns .18s ease; flex:none;}
.hd-root .tbar3 > div {display:flex; align-items:center; gap:6px; min-width:0; padding:0 10px 0 14px;}
.hd-root .tb-l {border-right:1px solid var(--line);}
.hd-root .tb-l .tb-t {flex:1;}
.hd-root .tb-l.min, .hd-root .tb-r.min {justify-content:center; padding:0 !important;}
.hd-root .tb-c {padding:0 16px !important;}
.hd-root .tb-c .dacts {margin-left:auto; flex:none; display:flex; gap:5px;}
.hd-root .tb-c .chipsel {font-size:12.5px; padding:5px 24px 5px 10px; max-width:150px;}
.hd-root .tb-r {border-left:1px solid var(--line);}
.hd-root .tb-r .segc {flex:1; display:flex;}
.hd-root .tb-r .segc button {flex:1; justify-content:center;}
.hd-root .tb-t {font-size:12.5px; color:var(--muted); font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .wb > .confirm {border-bottom:1px solid var(--line);}
.hd-root .pane-head .av {flex:none;}
.hd-root .pane-head > span.stack, .hd-root .pane-head > span.ctx-t, .hd-root .pane-head > span.head-tools {flex:initial;}
.hd-root .center-head .head-tools {margin-left:auto; display:flex; gap:6px; align-items:center;}
.hd-root .center-head .nav-keys {flex:1;}
.hd-root .stack {display:flex; flex:none;}
.hd-root .stack .av {box-shadow:0 0 0 2px var(--panel);}
.hd-root .stack .av + .av {margin-left:-8px;}
.hd-root .pane-head.ctx .ctx-t {flex:1;}
.hd-root .dd-wrap {position:relative;}
.hd-root .dd-wrap .btn b {margin-left:2px;}
.hd-root .same-menu {top:34px; right:0; left:auto; width:380px; padding:6px; z-index:8;}
.hd-root .sm-h {font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--faint); font-weight:700; padding:6px 8px 4px;}
.hd-root .sm-row {display:flex; gap:8px; align-items:center; padding:4px; border-radius:8px;}
.hd-root .sm-row:hover {background:var(--soft);}
.hd-root .sm-t {flex:1; min-width:0; text-align:left; border:0; background:transparent; cursor:pointer; padding:4px; font-size:13px; color:var(--text);}
.hd-root .sm-t small {display:block; color:var(--muted); font-size:11.5px; margin-top:1px;}
.hd-root .rail-now {display:flex; flex-direction:column; align-items:center; line-height:1.1; padding:4px 0;}
.hd-root .rail-now b {font-size:14px; font-weight:800;}
.hd-root .rail-now span {font-size:10.5px; color:var(--muted); font-weight:600;}
.hd-root .rail-now.you span {color:var(--accent);}
.hd-root .rail-now.you.late b {color:var(--accent);}
.hd-root .rail-now.them span {color:var(--blue);}
.hd-root .rail-now.quiet b {font-size:11px; color:var(--muted);}
.hd-root .rail-hist {list-style:none; margin:0; padding:0; display:flex; flex-direction:column; align-items:center; gap:0;}
.hd-root .rail-hist li {display:flex; flex-direction:column; align-items:center; font-size:10px; color:var(--faint); cursor:default; padding-bottom:6px; position:relative;}
.hd-root .rail-hist li i {width:9px; height:9px; border-radius:50%; background:var(--faint); box-shadow:0 0 0 3px var(--panel); margin-bottom:2px;}
.hd-root .rail-hist li.red i {background:var(--accent);}
.hd-root .rail-hist li.red span {color:var(--accent);}
.hd-root .rail-hist li:not(:last-child)::after {content:""; position:absolute; top:11px; bottom:-2px; width:2px; background:var(--line); z-index:-1;}
@media (max-width:1250px) {
.hd-root .tbar3 {display:flex; flex-wrap:wrap;}
.hd-root .tbar3 .tb-l {display:none;}
.hd-root .tbar3 .tb-c {flex:1;}
.hd-root .tbar3 .tb-r {border-left:0;}
}
.hd-root .tb-t b {color:var(--text);}
.hd-root .list-top .lsort {display:flex; gap:6px; align-items:center;}
.hd-root .pane-head .fold {flex:none;}
.hd-root .pane-head.list-top .fold {margin-left:-6px;}
.hd-root .list-top .lsort {margin-left:6px;}
.hd-root .about .pane-head .fold {margin-left:-6px;}
.hd-root .pane-head.ctx .fold, .hd-root .evidence > .pane-head .fold {margin-left:auto;}
.hd-root .split {position:relative; display:inline-flex;}
.hd-root .split > .btn:first-child {border-top-right-radius:0; border-bottom-right-radius:0;}
.hd-root .split > .caret {border-top-left-radius:0; border-bottom-left-radius:0; padding:6px 7px; border-left:1px solid rgba(255,255,255,.25);}
.hd-root .act-menu {top:38px; right:0; width:200px; padding:5px; z-index:9;}
.hd-root .act-menu button {display:flex; justify-content:space-between; align-items:center;}
.hd-root .act-menu kbd {font-size:11px; border:1px solid var(--line); border-bottom-width:2px; border-radius:5px; padding:0 5px; color:var(--muted); font-family:inherit;}
/* the pickers shrink sideways (clip, not hidden), so the bar's menus — Accept ▾, Resolve ▾, snooze — can hang below it */
.hd-root .tb-c {overflow-x:clip; overflow-y:visible; padding:0 12px !important; gap:6px !important;}
.hd-root .tb-c .chipsel {flex:0 1 auto; min-width:70px; max-width:150px; text-overflow:ellipsis;}
.hd-root .tb-c .dacts {flex:none;}
.hd-root .tb-r {justify-content:center; gap:4px !important;}
.hd-root .pane-head.rtabs {padding:0 10px 0 14px; gap:8px;}
.hd-root .pane-head.rtabs .segc {flex:1; display:flex;}
.hd-root .pane-head.rtabs .segc button {flex:1; justify-content:center;}
.hd-root .nav-who {display:flex; gap:9px; align-items:center; margin-left:10px; min-width:0; flex:1;}
.hd-root .nav-who .av {flex:none;}
.hd-root .nw-t {display:flex; flex-direction:column; min-width:0; line-height:1.25; text-transform:none; letter-spacing:0;}
.hd-root .nw-t > span {font-size:13.5px; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .nw-t small {font-size:11.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .nw-t small b {color:var(--text);}
.hd-root .report .rtitle, .hd-root .report.flat .rtitle {margin-top:2px;}
.hd-root .center-head .nav-pos {white-space:nowrap;}
.hd-root .ev-rail .rail-btn {position:relative;}
.hd-root .ev-rail .rail-btn .rail-dot {top:4px; right:8px;}
.hd-root .tb-asks {display:flex; gap:4px; align-items:center; flex:none; padding-left:10px; margin-left:4px; border-left:1px solid var(--line);}
.hd-root .tb-l.min .tb-count b {font-size:16px; font-weight:800; color:var(--text);}
.hd-root .chipsel option.po1 {color:#ef4444;}
.hd-root .chipsel option.po2 {color:#f97316;}
.hd-root .chipsel option.po3 {color:#eab308;}
.hd-root .chipsel option.po4 {color:#60a5fa;}
.hd-root .chipsel option.po5 {color:#9ca3af;}
.hd-root .chipsel.pri-4 {background-color:var(--blue-wash); color:var(--blue);}
.hd-root .chipsel.pri-5 {background-color:var(--soft); color:var(--muted);}
.hd-root .p.p4 {background:var(--blue-wash); color:var(--blue);}
.hd-root .legend2 {display:flex; gap:12px; margin-left:8px; font-size:12px;}
.hd-root .legend2 .lg {display:inline-flex; gap:5px; align-items:center;}
.hd-root .legend2 .in {color:var(--accent);}
.hd-root .legend2 .out {color:var(--blue);}
.hd-root .lrow2 {display:grid; grid-template-columns:22px 92px minmax(0,1fr) auto 32px; gap:12px; align-items:center; padding:9px 12px 9px 14px; border-bottom:1px solid var(--line); cursor:pointer;}
.hd-root .lrow2:hover {background:var(--soft);}
.hd-root .lrow2.picked {background:var(--wash);}
.hd-root .lck input {width:15px; height:15px; accent-color:var(--accent); opacity:0; cursor:pointer;}
.hd-root .lrow2:hover .lck input, .hd-root .lrow2.picked .lck input, .hd-root .lrows:has(.picked) .lck input {opacity:1;}
.hd-root .cstate {display:flex; gap:8px; align-items:center; min-width:0;}
.hd-root .cs-i {position:relative; width:30px; height:30px; border-radius:9px; display:grid; place-items:center; flex:none; background:var(--soft); color:var(--faint);}
.hd-root .cs-new {position:absolute; top:-2px; right:-2px; width:9px; height:9px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 2px var(--panel);}
.hd-root .cs-tx {display:flex; flex-direction:column; line-height:1.15; min-width:0;}
.hd-root .cs-tx b {font-size:14px; font-weight:800;}
.hd-root .cs-tx small {font-size:11px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .cstate.in .cs-i {background:var(--wash); color:var(--accent);}
.hd-root .cstate.in small {color:var(--accent); font-weight:600;}
.hd-root .cstate.in.late b {color:var(--accent);}
.hd-root .cstate.in.warm b {color:var(--amber);}
.hd-root .cstate.out .cs-i {background:var(--blue-wash); color:var(--blue);}
.hd-root .cstate.out small {color:var(--blue);}
.hd-root .cstate.other b, .hd-root .cstate.quiet b {color:var(--muted);}
.hd-root .lrow2 .lt {font-weight:600; font-size:14.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .lid {color:var(--faint); font-weight:500; font-size:12.5px; margin-right:7px;}
.hd-root .trail {display:flex; align-items:center; gap:5px; margin-top:3px; font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden;}
.hd-root .trail .tr {flex:none;}
.hd-root .trail .tr:last-child {flex:0 1 auto; overflow:hidden; text-overflow:ellipsis; color:var(--text);}
.hd-root .trail .tr.red {color:var(--accent); font-weight:600;}
.hd-root .trail em {font-style:normal; color:var(--faint);}
.hd-root .trail .tr-sep {font-style:normal; color:var(--faint);}
.hd-root .trail .tr-more {color:var(--faint);}
.hd-root .lic {display:flex; align-items:center; gap:6px;}
.hd-root .lic .slot {width:28px; display:grid; place-items:center; color:var(--muted);}
.hd-root .lic .slot.w {width:38px;}
.hd-root .lic .slot .red {color:var(--accent); display:inline-flex; gap:2px; align-items:center; font-size:12px;}
.hd-root .kind-ic {width:28px; height:28px; display:grid; place-items:center; border-radius:8px;}
.hd-root .kind-ic.k-problem {color:var(--accent);}
.hd-root .kind-ic.k-idea {color:var(--purple);}
.hd-root .kind-ic.k-question {color:var(--blue);}
.hd-root .kind-ic.k-praise {color:var(--ok);}
.hd-root .pri-ic {width:28px; height:28px; display:flex; align-items:flex-end; justify-content:center; gap:2px; padding-bottom:8px; box-sizing:border-box;}
.hd-root .pri-ic i {width:4px; border-radius:1px; background:var(--soft2); display:block;}
.hd-root .pri-ic i:nth-child(1) {height:5px;}
.hd-root .pri-ic i:nth-child(2) {height:9px;}
.hd-root .pri-ic i:nth-child(3) {height:13px;}
.hd-root .pri-ic.p2 i {background:#f97316;}
.hd-root .pri-ic.p3 i:nth-child(-n+2) {background:#eab308;}
.hd-root .pri-ic.p4 i:nth-child(1) {background:#60a5fa;}
.hd-root .pri-ic.p1 {align-items:center; padding:0;}
.hd-root .pri-ic.p1 {font-weight:900; font-size:13px; color:#fff;}
.hd-root .pri-ic.p1::before {content:"";}
.hd-root .pri-ic.p1 {background:#ef4444; border-radius:6px; width:18px; height:18px; margin:5px;}
.hd-root .lrow2 .noasg {width:22px; height:22px;}
@media (max-width:900px) {
.hd-root .lrow2 {grid-template-columns:84px minmax(0,1fr) auto;}
.hd-root .lck, .hd-root .lrow2 .kebab-wrap {display:none;}
.hd-root .lic .slot:not(:last-child) {display:none;}
.hd-root .legend2 {display:none;}
}
.hd-root .lhead > span:first-child {flex:none;}
.hd-root .lhead .legend2, .hd-root .lhead .legend2 span {flex:none;}
.hd-root .lhead .lsort {margin-left:auto;}
.hd-root .switch button.off {opacity:.4;}
.hd-root .sv {display:grid; grid-template-columns:340px minmax(0,1fr); height:100%; min-height:0;}
.hd-root .sv-list {border-right:1px solid var(--line); display:flex; flex-direction:column; min-height:0;}
.hd-root .sv-top {padding:16px 16px 10px; display:flex; flex-direction:column; gap:10px; border-bottom:1px solid var(--line);}
.hd-root .sv-hello {font-size:15px; font-weight:700;}
.hd-root .sv-hello .red {color:var(--accent); font-weight:700;}
.hd-root .sv-tabs {display:flex;}
.hd-root .sv-tabs button {flex:1; display:inline-flex; gap:6px; justify-content:center; align-items:center;}
.hd-root .sv-tabs .nb {font-size:11px; font-weight:700; background:var(--soft2); border-radius:999px; padding:0 6px;}
.hd-root .sv-filter {display:flex; gap:6px;}
.hd-root .sv-rows {flex:1; min-height:0; overflow:auto;}
.hd-root .sv-row {padding:12px 16px; border-bottom:1px solid var(--line); cursor:pointer; position:relative;}
.hd-root .sv-row:hover {background:var(--soft);}
.hd-root .sv-row.on {background:var(--wash);}
.hd-root .sv-row.on::before {content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--accent);}
.hd-root .sv-r1 {display:flex; gap:8px; align-items:center;}
.hd-root .sv-new {width:8px; height:8px; border-radius:50%; background:var(--accent);}
.hd-root .sv-t {font-weight:600; margin-top:5px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.hd-root .sv-m {font-size:12px; color:var(--muted); margin-top:3px; display:flex; gap:4px; align-items:center;}
.hd-root .spill {font-size:11.5px; font-weight:700; padding:2px 9px; border-radius:999px; background:var(--soft); color:var(--muted); white-space:nowrap;}
.hd-root .spill.big {font-size:13px; padding:5px 12px; flex:none;}
.hd-root .spill.you {background:var(--wash); color:var(--accent);}
.hd-root .spill.work {background:var(--blue-wash); color:var(--blue);}
.hd-root .spill.planned {background:var(--purple-wash); color:var(--purple);}
.hd-root .spill.done {background:var(--ok-wash); color:var(--ok);}
.hd-root .spill.new {background:var(--amber-wash); color:var(--amber);}
.hd-root .sv-detail {display:flex; flex-direction:column; min-width:0; min-height:0;}
.hd-root .sv-head {display:flex; gap:16px; align-items:flex-start; padding:18px 22px 6px;}
.hd-root .sv-head h2 {margin:0; font-size:19px; line-height:1.3;}
.hd-root .stepper {list-style:none; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:10px 22px 4px; padding:0;}
.hd-root .stepper li {position:relative; text-align:center; font-size:12px; color:var(--faint); padding-top:18px;}
.hd-root .stepper li i {position:absolute; top:3px; left:50%; transform:translateX(-50%); width:12px; height:12px; border-radius:50%; background:var(--soft2); z-index:1;}
.hd-root .stepper li::after {content:""; position:absolute; top:8px; left:-50%; width:100%; height:2px; background:var(--soft2);}
.hd-root .stepper li:first-child::after {display:none;}
.hd-root .stepper li.done {color:var(--muted);}
.hd-root .stepper li.done i, .hd-root .stepper li.done::after, .hd-root .stepper li.now::after {background:var(--ok);}
.hd-root .stepper li.now {color:var(--text); font-weight:700;}
.hd-root .stepper li.now i {background:var(--ok); box-shadow:0 0 0 4px var(--ok-wash);}
.hd-root .stepper.you li.now i {background:var(--accent); box-shadow:0 0 0 4px var(--wash);}
.hd-root .stepper.no li.now i {background:var(--muted); box-shadow:0 0 0 4px var(--soft);}
.hd-root .sv-ask {display:flex; gap:10px; align-items:center; margin:12px 22px 0; padding:10px 12px; border-radius:12px; background:var(--wash); color:var(--accent);}
.hd-root .sv-ask > div {flex:1; color:var(--text); font-size:13.5px;}
.hd-root .sv-ask b {color:var(--accent);}
.hd-root .sv-body {flex:1; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) 250px; margin-top:12px; border-top:1px solid var(--line);}
.hd-root .sv-main {display:flex; flex-direction:column; min-height:0; border-right:1px solid var(--line);}
.hd-root .sv-stream {flex:1; min-height:0; overflow:auto; padding:16px 22px; display:flex; flex-direction:column; gap:12px;}
.hd-root .sv-sent h4, .hd-root .sv-convh, .hd-root .sv-side h4 {margin:0 0 4px; font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--faint); font-weight:700;}
.hd-root .sv-sent h4 + .sv-text + h4 {margin-top:12px;}
.hd-root .sv-text {white-space:pre-wrap; font-size:14.5px; line-height:1.55;}
.hd-root .sv-convh {margin-top:8px; padding-top:12px; border-top:1px solid var(--line);}
.hd-root .sv-side {padding:16px; display:flex; flex-direction:column; gap:6px; overflow:auto;}
.hd-root .sv-side h4 {margin-top:10px;}
.hd-root .sv-side h4:first-child {margin-top:0;}
.hd-root .sv-pics {display:flex; gap:8px; align-items:center;}
.hd-root .sv-pics img {width:90px; height:56px; object-fit:cover; object-position:top left; border-radius:8px; border:1px solid var(--line); cursor:zoom-in;}
.hd-root .sv-follow {display:flex; gap:7px; align-items:center; font-size:13px;}
@media (max-width:1100px) {
.hd-root .sv {grid-template-columns:minmax(0,1fr);}
.hd-root .sv-list {max-height:320px; border-right:0; border-bottom:1px solid var(--line);}
.hd-root .sv-body {grid-template-columns:minmax(0,1fr);}
.hd-root .sv-main {border-right:0; min-height:480px;}
}
.hd-root .sv-wrap .edit-t {display:none;}
.hd-root .sv-tabs {flex:1; display:flex;}
.hd-root .sv-tabs button {flex:1; display:inline-flex; gap:6px; justify-content:center; align-items:center; padding:5px 8px;}
.hd-root .sv-filters {gap:6px;}
.hd-root .sv-filters .chip {flex:none;}
.hd-root .mini-steps {list-style:none; display:flex; align-items:center; gap:0; margin:0 0 0 10px; padding:0; font-size:12px; color:var(--faint); min-width:0; overflow:hidden;}
.hd-root .mini-steps li {display:flex; align-items:center; gap:5px; white-space:nowrap;}
.hd-root .mini-steps li + li::before {content:""; width:18px; height:2px; background:var(--soft2); margin:0 6px;}
.hd-root .mini-steps li i {width:8px; height:8px; border-radius:50%; background:var(--soft2); flex:none;}
.hd-root .mini-steps li.done {color:var(--muted);}
.hd-root .mini-steps li.done i, .hd-root .mini-steps li.done + li::before, .hd-root .mini-steps li.now::before {background:var(--ok);}
.hd-root .mini-steps li.now {color:var(--text); font-weight:700;}
.hd-root .mini-steps li.now i {background:var(--ok); box-shadow:0 0 0 3px var(--ok-wash);}
.hd-root .mini-steps.you li.now i {background:var(--accent); box-shadow:0 0 0 3px var(--wash);}
.hd-root .mini-steps.no li.now i {background:var(--muted); box-shadow:none;}
.hd-root .sv-handler {display:flex; gap:7px; align-items:center; font-size:12.5px; font-weight:600; min-width:0; flex:1;}
.hd-root .sv-handler span:last-child {white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .sv-follow {display:inline-flex; gap:6px; align-items:center; font-size:12.5px; color:var(--muted); flex:none;}
.hd-root .sv-wrap .tb-r {justify-content:space-between;}
.hd-root .sv-wrap .tri-item .spill {font-size:11px; padding:1px 8px;}
.hd-root .sv-new {width:8px; height:8px; border-radius:50%; background:var(--accent);}
.hd-root .sv-ask {display:flex; gap:10px; align-items:center; margin:0 0 14px; padding:10px 12px; border-radius:12px; background:var(--wash); color:var(--accent);}
.hd-root .sv-ask > div {flex:1; color:var(--text); font-size:13.5px;}
.hd-root .sv-ask b {color:var(--accent);}
.hd-root .sv-shot {width:100%; max-height:180px; object-fit:cover; object-position:top left; border-radius:10px; border:1px solid var(--line); cursor:zoom-in;}
.hd-root .chat-panel .about-inner h4 {margin:14px 0 8px;}
.hd-root .chat-panel .about-inner h4:first-child {margin-top:0;}
@media (max-width:1250px) {
.hd-root .sv-wrap .tri7 {grid-template-columns:minmax(0,1fr);}
.hd-root .sv-wrap .tri-list {max-height:300px; border-right:0; border-bottom:1px solid var(--line);}
.hd-root .mini-steps {display:none;}
}
.hd-root .sv-tabs .nb {background:var(--soft2) !important; color:var(--text) !important; font-size:11px; font-weight:700; border-radius:999px; padding:0 6px;}
.hd-root .sv-ttl {flex:1; min-width:0; margin-left:8px; font-size:13.5px; font-weight:600; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-transform:none; letter-spacing:0;}
.hd-root .sv-col {display:flex; flex-direction:column; min-height:0;}
.hd-root .sv-status {display:flex; gap:14px; align-items:center; margin:16px 22px 4px; padding:14px 16px; border-radius:14px; background:var(--soft);}
.hd-root .sv-status .ss-i {width:40px; height:40px; border-radius:12px; display:grid; place-items:center; flex:none; background:var(--panel); color:var(--muted);}
.hd-root .sv-status > div {flex:1; display:flex; flex-direction:column; gap:2px;}
.hd-root .sv-status b {font-size:17px;}
.hd-root .sv-status span:not(.ss-i) {font-size:13.5px; color:var(--muted);}
.hd-root .sv-status.you {background:var(--wash);}
.hd-root .sv-status.you .ss-i, .hd-root .sv-status.you b {color:var(--accent);}
.hd-root .sv-status.done {background:var(--ok-wash);}
.hd-root .sv-status.done .ss-i, .hd-root .sv-status.done b {color:var(--ok);}
.hd-root .sv-status.work {background:var(--blue-wash);}
.hd-root .sv-status.work .ss-i, .hd-root .sv-status.work b {color:var(--blue);}
.hd-root .sv-status.planned {background:var(--purple-wash);}
.hd-root .sv-status.planned .ss-i, .hd-root .sv-status.planned b {color:var(--purple);}
.hd-root .sv-status.new {background:var(--amber-wash);}
.hd-root .sv-status.new .ss-i, .hd-root .sv-status.new b {color:var(--amber);}
.hd-root .sv-col .chat-stream {flex:1; min-height:0; overflow:auto; padding:14px 22px; display:flex; flex-direction:column; gap:12px;}
.hd-root .sv-col .composer {border-top:1px solid var(--line);}
.hd-root .msg.answer .bubble {background:var(--ok-wash); border:1px solid var(--ok-bd, transparent);}
.hd-root .sv-side2 .about-inner h4 {margin:16px 0 6px;}
.hd-root .sv-sent-t {white-space:pre-wrap; font-size:13.5px; line-height:1.55;}
.hd-root .mini-steps {margin-left:0;}
.hd-root .sv-status.you {background:color-mix(in srgb, var(--accent) 10%, transparent);}
.hd-root .composer.your-turn .cbox {border-color:color-mix(in srgb, var(--accent) 55%, transparent);}
.hd-root .sv-side2 {display:flex; flex-direction:column; min-height:0;}
.hd-root .sv-side2 .about-inner {flex:1; min-height:0; overflow:auto;}
.hd-root .sv-hist {flex:none; border-top:1px solid var(--line); padding:12px 16px 14px; max-height:40%; overflow:auto;}
.hd-root .sv-hist h4 {margin:0 0 10px;}
.hd-root .sv-head2 {gap:6px;}
.hd-root .sv-st {flex:1; min-width:0; display:flex; align-items:center; gap:10px; margin-left:10px;}
.hd-root .sv-st .ss-i {width:32px; height:32px; border-radius:9px; display:grid; place-items:center; flex:none; background:var(--soft); color:var(--muted);}
.hd-root .sv-st > div {min-width:0; display:flex; flex-direction:column; line-height:1.25;}
.hd-root .sv-st b {font-size:14px; color:var(--text);}
.hd-root .sv-st span:not(.ss-i) {font-size:12.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .sv-head2.you {background:color-mix(in srgb, var(--accent) 10%, transparent);}
.hd-root .sv-head2.you .ss-i, .hd-root .sv-head2.you b {color:var(--accent);}
.hd-root .sv-head2.done {background:var(--ok-wash);}
.hd-root .sv-head2.done .ss-i, .hd-root .sv-head2.done b {color:var(--ok);}
.hd-root .sv-head2.work {background:var(--blue-wash);}
.hd-root .sv-head2.work .ss-i, .hd-root .sv-head2.work b {color:var(--blue);}
.hd-root .sv-head2.planned {background:var(--purple-wash);}
.hd-root .sv-head2.planned .ss-i, .hd-root .sv-head2.planned b {color:var(--purple);}
.hd-root .sv-head2.new {background:var(--amber-wash);}
.hd-root .sv-head2.new .ss-i, .hd-root .sv-head2.new b {color:var(--amber);}
.hd-root .sv-head2 .ss-i {background:var(--panel);}
.hd-root .sv-side2 .pane-head {justify-content:space-between;}
.hd-root .sv-fold {flex:none;}
.hd-root .sv-subj {font-size:14.5px; font-weight:700; line-height:1.4; margin-bottom:10px;}
.hd-root .sv-side2.folded .about-inner {flex:none;}
.hd-root .sv-side2.folded .sv-subj {margin-bottom:6px;}
.hd-root .sv-more {display:inline-flex; gap:5px; align-items:center; border:0; background:none; padding:0; font:inherit; font-size:12.5px; color:var(--muted); cursor:pointer;}
.hd-root .sv-more:hover {color:var(--text);}
.hd-root .sv-hist {max-height:none; overflow:visible;}
.hd-root .sv-strip {flex:1; min-width:0; height:100%; list-style:none; margin:0 0 0 8px; padding:0 4px; display:flex; align-items:center; gap:0; overflow-x:auto; overflow-y:hidden; scrollbar-width:none;}
.hd-root .sv-strip::-webkit-scrollbar {display:none;}
.hd-root .sv-strip.more-left {-webkit-mask-image:linear-gradient(90deg, transparent 0, #000 28px); mask-image:linear-gradient(90deg, transparent 0, #000 28px);}
.hd-root .sv-strip li {flex:none; display:flex; flex-direction:column; justify-content:center; line-height:1.25; padding:0 4px; position:relative;}
.hd-root .sv-strip li + li {margin-left:30px;}
.hd-root .sv-strip li + li::before {content:""; position:absolute; left:-26px; top:50%; width:22px; height:2px; background:var(--soft2);}
.hd-root .sv-strip li > i {display:none;}
.hd-root .sv-strip li > b {font-size:12.5px; font-weight:600; color:var(--muted); white-space:nowrap;}
.hd-root .sv-strip li > span {font-size:11.5px; color:var(--faint); white-space:nowrap;}
.hd-root .sv-strip li.now {flex-direction:row; align-items:center; gap:9px; padding:5px 12px 5px 6px; border-radius:11px; background:var(--soft); max-width:420px; flex:0 1 auto; min-width:190px;}
.hd-root .sv-strip li.now .ss-i {width:28px; height:28px; border-radius:8px; display:grid; place-items:center; flex:none; background:var(--panel); color:var(--muted);}
.hd-root .sv-strip li.now > div {min-width:0; display:flex; flex-direction:column;}
.hd-root .sv-strip li.now b {font-size:13.5px; color:var(--text); white-space:nowrap;}
.hd-root .sv-strip li.now div span {font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .sv-strip li.now.you {background:color-mix(in srgb, var(--accent) 12%, transparent);}
.hd-root .sv-strip li.now.you .ss-i, .hd-root .sv-strip li.now.you b {color:var(--accent);}
.hd-root .sv-strip li.now.done {background:var(--ok-wash);}
.hd-root .sv-strip li.now.done .ss-i, .hd-root .sv-strip li.now.done b {color:var(--ok);}
.hd-root .sv-strip li.now.work {background:var(--blue-wash);}
.hd-root .sv-strip li.now.work .ss-i, .hd-root .sv-strip li.now.work b {color:var(--blue);}
.hd-root .sv-strip li.now.planned {background:var(--purple-wash);}
.hd-root .sv-strip li.now.planned .ss-i, .hd-root .sv-strip li.now.planned b {color:var(--purple);}
.hd-root .sv-strip li.now.new {background:var(--amber-wash);}
.hd-root .sv-strip li.now.new .ss-i, .hd-root .sv-strip li.now.new b {color:var(--amber);}
.hd-root .sv-hbtns {display:flex; gap:4px; align-items:center; flex:none !important;}
.hd-root .sv-pic {color:var(--muted);}
.hd-root .sv-pic:hover {color:var(--text);}
.hd-root {--teal:#0f8f86; --teal-wash:#e2f5f3; --slate:#64748b; --slate-wash:#eef1f5;}
:root[data-theme="dark"] .hd-root {--teal:#2dd4bf; --teal-wash:#0f2e2c; --slate:#94a3b8; --slate-wash:#1e2530;}
:root[data-theme="dark"] .hd-root {--teal:#2dd4bf; --teal-wash:#0f2e2c; --slate:#94a3b8; --slate-wash:#1e2530;}
.hd-root .sv-head2.later {background:var(--teal-wash);}
.hd-root .sv-head2.later .ss-i, .hd-root .sv-head2.later b {color:var(--teal);}
.hd-root .sv-head2.no {background:var(--slate-wash);}
.hd-root .sv-head2.no .ss-i, .hd-root .sv-head2.no b {color:var(--slate);}
.hd-root .spill.later {background:var(--teal-wash); color:var(--teal);}
.hd-root .spill.no {background:var(--slate-wash); color:var(--slate);}
.hd-root .mini-steps.later li.now i {background:var(--teal); box-shadow:0 0 0 3px var(--teal-wash);}
.hd-root .sv-histbar {flex:none; height:58px; width:100%; border:0; border-top:1px solid var(--line); background:none; font:inherit; color:inherit; text-align:left; display:flex; align-items:center; gap:10px; padding:0 14px 0 16px; cursor:pointer;}
.hd-root button.sv-histbar:hover {background:var(--soft);}
.hd-root .sv-histbar .hb-l {flex:none; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--faint);}
.hd-root .hb-now {flex:1; min-width:0; display:flex; align-items:center; gap:8px;}
.hd-root .hb-now i {width:8px; height:8px; border-radius:50%; background:var(--ok); flex:none;}
.hd-root .hb-now b {font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .hb-now span {font-size:12px; color:var(--faint); flex:none;}
.hd-root .hb-n {flex:none; font-size:12px; color:var(--muted);}
.hd-root .sv-histbar svg {flex:none; color:var(--muted);}
.hd-root .sv-histbar.open {height:auto; max-height:55%; flex-direction:column; align-items:stretch; gap:10px; padding:0 14px 14px 16px; cursor:default; overflow:auto;}
.hd-root .sv-histbar.open .hb-top {height:44px; flex:none; display:flex; align-items:center; justify-content:space-between; border:0; background:none; font:inherit; color:inherit; padding:0; cursor:pointer;}
.hd-root .sv-histbar.open .hist {margin-left:4px;}
.hd-root .sv-side2.folded .about-inner {flex:1;}
.hd-root .sv-pic {display:inline-flex; align-items:center; gap:4px; height:28px; padding:0 8px; border:0; border-radius:8px; background:none; font:inherit; font-size:12.5px; color:var(--muted); cursor:zoom-in;}
.hd-root .sv-pic:hover {background:var(--soft); color:var(--text);}
.hd-root .sv-pic b {font-weight:700;}
.hd-root .sv-histbar {height:var(--sv-foot, 87px);}
.hd-root .sv-wrap {--sv-foot:88px;}
.hd-root .sv-col .composer {height:var(--sv-foot); flex:none; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; padding-top:0; padding-bottom:0;}
.hd-root .sv-histbar {height:var(--sv-foot); box-sizing:border-box;}
.hd-root .cpics {display:flex; flex-wrap:wrap; gap:6px; margin-top:8px;}
.hd-root .cpic {width:72px; height:52px; padding:0; border:1px solid var(--line); border-radius:8px; overflow:hidden; cursor:zoom-in; background:var(--soft2); display:grid; place-items:center; color:var(--muted);}
.hd-root .cpic img {width:100%; height:100%; object-fit:cover; object-position:top left; display:block;}
.hd-root .cpic:hover {border-color:var(--muted);}
.hd-root .cpic:focus-visible {outline:2px solid var(--accent); outline-offset:2px;}
.hd-root .msg.me .cpic {border-color:transparent;}
.hd-root .lightbox .gal {display:flex; flex-direction:column; gap:12px; width:96vw; height:94vh;}
.hd-root .gal-top {display:flex; align-items:center; gap:12px; color:#e5e7eb; font-size:13px;}
.hd-root .gal-top > span:first-child {flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .gal-n {color:#9ca3af;}
.hd-root .gal-x {border:0; background:rgba(255,255,255,.1); color:#fff; width:32px; height:32px; border-radius:9px; cursor:pointer; font-size:14px;}
.hd-root .gal-main {flex:1; min-height:0; display:flex; align-items:center; gap:10px;}
.hd-root .gal-view {flex:1; min-width:0; height:100%; display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:10px; background:#0b0d10; cursor:zoom-in;}
.hd-root .gal-view img {max-width:100%; max-height:100%; object-fit:contain; display:block; user-select:none;}
.hd-root .gal-view.zoomed {display:block; overflow:auto; cursor:grab; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.25) transparent;}
.hd-root .gal-view.zoomed img {max-width:none; max-height:none; margin:0 auto;}
.hd-root .gal-view.grab {cursor:grabbing;}
.hd-root .gal-arrow {flex:none; width:40px; height:40px; border-radius:50%; border:0; background:rgba(255,255,255,.12); color:#fff; display:grid; place-items:center; cursor:pointer;}
.hd-root .gal-arrow:hover {background:rgba(255,255,255,.22);}
.hd-root .gal-miss {flex:1; height:50vh; border-radius:10px; border:1px dashed rgba(255,255,255,.25); color:#9ca3af; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;}
.hd-root .gal-miss small {color:#6b7280;}
.hd-root .gal-strip {display:flex; gap:8px; justify-content:center; overflow-x:auto; padding-bottom:2px;}
.hd-root .gal-strip button {flex:none; width:72px; height:50px; padding:0; border-radius:8px; overflow:hidden; border:2px solid transparent; background:rgba(255,255,255,.08); color:#9ca3af; display:grid; place-items:center; cursor:pointer; opacity:.6;}
.hd-root .gal-strip button.on {border-color:#fff; opacity:1;}
.hd-root .gal-strip button:hover {opacity:1;}
.hd-root .gal-strip img {width:100%; height:100%; object-fit:cover; object-position:top left;}
.hd-root .lightbox .gal {cursor:default;}
.hd-root .lightbox .gal-strip img {border-radius:0;}
.hd-root .lightbox:has(.gal) {background:rgba(8,10,13,.94); cursor:default;}
.hd-root .switch {padding:0; gap:0; overflow:hidden; flex-wrap:nowrap;}
.hd-root .switch button {padding:11px 18px; border-radius:0;}
.hd-root .switch button:first-child {border-radius:12px 0 0 12px;}
.hd-root .switch button:last-child {border-radius:0 12px 12px 0;}
.hd-root .switch button.on {box-shadow:none;}
.hd-root .mtabs, .hd-root .segc, .hd-root .ev-btns {background:var(--soft2); border:0; border-radius:12px; padding:0; gap:0; overflow:hidden;}
.hd-root .mtabs button, .hd-root .segc button, .hd-root .locked .ltabs button {border:0; border-radius:0; background:transparent; box-shadow:none; color:var(--muted);}
.hd-root .mtabs button:hover:not(.on), .hd-root .segc button:hover:not(.on), .hd-root .locked .ltabs button:hover:not(.on) {color:var(--text);}
.hd-root .mtabs button.on, .hd-root .segc button.on, .hd-root .locked .ltabs button.on {background:var(--panel); color:var(--text); box-shadow:none;}
.hd-root .mtabs {flex-wrap:nowrap;}
.hd-root .mtabs button {padding:9px 14px;}
.hd-root .segc button {padding:7px 14px;}
.hd-root .segc.swap .nb {background:var(--panel);}
.hd-root .segc.swap button.on .nb {background:var(--soft2);}
.hd-root .locked .ltabs {background:var(--soft2); padding:0; gap:0;}
.hd-root .locked .ltabs button {padding:9px 4px;}
.hd-root .ev-btns .btn {border-radius:0; background:transparent; padding:9px 8px;}
.hd-root .ev-btns .btn + .btn {border-left:1px solid var(--panel);}
.hd-root .ev-btns .btn:hover {background:var(--soft);}
.hd-root .sv-f {flex:1; display:flex;}
.hd-root .sv-f button {flex:1; justify-content:center;}
.hd-root .pane-head.sv-filters {padding:0 14px;}
.hd-root .list-top .lsort {background:var(--soft2); border-radius:12px; overflow:hidden; padding:0 0 0 12px; gap:10px; height:34px; color:var(--muted); text-transform:none; letter-spacing:0; font-size:12.5px;}
.hd-root .list-top .lsort .chipsel {border-radius:0; height:100%; background-color:var(--panel); border:0; padding-left:12px;}
.hd-root .switch, .hd-root .mtabs, .hd-root .segc, .hd-root .ev-btns, .hd-root .list-top .lsort {border:1px solid var(--soft2); box-sizing:border-box;}
.hd-root .switch button {padding:10px 18px;}
.hd-root .mtabs button {padding:8px 14px;}
.hd-root .segc button {padding:6px 14px;}
.hd-root .ev-btns .btn {padding:8px 8px;}
.hd-root .segc {height:34px; align-items:stretch;}
.hd-root .segc button {display:inline-flex; align-items:center;}
.hd-root .ev-inner > .ev-btns:first-child {border-top:0; border-radius:0 0 12px 12px; border-color:var(--line);}
.hd-root .chipsel option.ko-problem {color:var(--accent);}
.hd-root .chipsel option.ko-idea {color:var(--purple);}
.hd-root .chipsel option.ko-question {color:var(--blue);}
.hd-root .chipsel option.ko-praise {color:var(--ok);}
.hd-root .top .icon-btn.txt {width:auto; padding:0 12px; font-size:12.5px; font-weight:600;}
.hd-root {--sh-top:#eceef2; --sh-left:#f5f6f9; --sh-mid:#ffffff; --sh-right:#f8f9fb;}
:root[data-theme="dark"] .hd-root {--sh-top:#22262e; --sh-left:#13161b; --sh-mid:#181b21; --sh-right:#1d2027;}
:root[data-theme="dark"] .hd-root {--sh-top:#22262e; --sh-left:#13161b; --sh-mid:#181b21; --sh-right:#1d2027;}
.hd-root.shades .menu, .hd-root.shades .tbar3 {background:var(--sh-top); border-bottom:0;}
.hd-root.shades .tb-l, .hd-root.shades .tb-r, .hd-root.shades .tb-asks {border-left:0; border-right:0;}
.hd-root.shades .tri7 .tri-list, .hd-root.shades .tk7 .about, .hd-root.shades .about-rail, .hd-root.shades .rail-left, .hd-root.shades .tri7 > .rail {background:var(--sh-left); border-right:0; border-left:0;}
.hd-root.shades .tri-main, .hd-root.shades .tk7 .convo, .hd-root.shades .sv-col {background:var(--sh-mid);}
.hd-root.shades .evidence, .hd-root.shades .chat-panel, .hd-root.shades .ev-rail {background:var(--sh-right); border-left:0;}
.hd-root.shades .pane-head, .hd-root.shades .rail-head, .hd-root.shades .list-top, .hd-root.shades .tk7 .convo > .center-head {border-bottom:0;}
.hd-root.shades .composer, .hd-root.shades .sv-histbar, .hd-root.shades .chat-strip {border-top:0;}
.hd-root.shades .tri7 .tri-item {border-bottom-color:color-mix(in srgb, var(--line) 55%, transparent);}
.hd-root .seg {background:var(--soft2); border:1px solid var(--soft2); border-radius:12px; padding:0; gap:0; overflow:hidden;}
.hd-root .seg button {border-radius:0; box-shadow:none; padding:6px 12px;}
.hd-root .seg button.on {background:var(--panel); box-shadow:none;}
.hd-root .pane-head.rtabs {padding:0; gap:0; align-items:stretch; background:var(--soft2); border-bottom:0;}
.hd-root .pane-head.rtabs .segc {flex:1; height:auto; border:0; border-radius:0; background:transparent;}
.hd-root .pane-head.rtabs .segc button {padding:0 14px; font-size:13.5px;}
.hd-root .pane-head.rtabs .segc button.on {background:var(--panel);}
.hd-root .pane-head.rtabs > .fold {flex:none; width:48px; height:auto; min-height:0; padding:0; border:0; border-radius:0; background:transparent; color:var(--muted);}
.hd-root .pane-head.rtabs > .fold:hover {color:var(--text); background:var(--soft);}
.hd-root.shades .pane-head.rtabs .segc button.on, .hd-root.shades :is(.evidence, .chat-panel) .locked .ltabs button.on {background:var(--sh-right);}
.hd-root .pane-head.rtabs .segc button.on, .hd-root .locked .ltabs button.on {border-radius:12px 12px 0 0;}
.hd-root .pane-head.list-top {padding:0; gap:0; align-items:stretch; background:var(--soft2); border-bottom:0;}
.hd-root .pane-head.list-top > .fold {flex:none; width:48px; height:auto; min-height:0; padding:0; border:0; border-radius:0; background:transparent; color:var(--muted);}
.hd-root .pane-head.list-top > .fold:hover {color:var(--text); background:var(--soft);}
.hd-root .list-top .lsort {flex:1; height:auto; border:0; border-radius:0; background:transparent; padding:0 0 0 12px; gap:10px; overflow:visible;}
.hd-root .list-top .lsort .chipsel {flex:1; align-self:stretch; height:auto; max-width:none; border:0; border-radius:12px 12px 0 0; background-color:var(--panel); padding-left:14px; font-size:13.5px;}
.hd-root .pane-head.sv-filters {padding:0;}
.hd-root .sv-filters .sv-f {flex:1; height:auto; border:0; border-radius:0; background:transparent;}
.hd-root .sv-filters .sv-f button {font-size:13.5px;}
.hd-root .sv-filters .sv-f button.on {border-radius:12px 12px 0 0; background:var(--panel);}
.hd-root.shades .list-top .lsort .chipsel, .hd-root.shades .sv-filters .sv-f button.on {background-color:var(--sh-left);}
.hd-root .tri7 .tri-list {scrollbar-width:none;}
.hd-root .tri7 .tri-list::-webkit-scrollbar {display:none;}
.hd-root .tri7 .tri-list > .pane-head.list-top {position:sticky; top:0; z-index:3;}
.hd-root .pane-head.list-top > .fold, .hd-root .pane-head.rtabs > .fold {margin:0; width:48px;}
.hd-root .list-top .lsort {padding:0 0 0 16px; gap:16px; font-size:13.5px; font-weight:600; color:var(--muted);}
.hd-root .list-top .lsort .chipsel {text-align:center; text-align-last:center; padding:0 28px 0 14px;}
.hd-root .pane-head.list-top .lsort {margin:0;}
.hd-root {--sh-tabs:#e2e5ea;}
:root[data-theme="dark"] .hd-root {--sh-tabs:#2c313b;}
:root[data-theme="dark"] .hd-root {--sh-tabs:#2c313b;}
.hd-root .menu {padding:0 14px 0 0; gap:0; align-items:stretch; min-height:var(--head-h); background:var(--sh-tabs); flex-wrap:nowrap;}
.hd-root .mtabs {align-self:stretch; height:auto; padding:0; gap:0; border:0; border-radius:0; background:transparent; overflow:visible;}
.hd-root .mtabs button {padding:0 18px; height:100%; border-radius:0;}
.hd-root .mtabs button.on {background:var(--panel); border-radius:12px 12px 0 0;}
.hd-root.shades .menu {background:var(--sh-tabs);}
.hd-root.shades .mtabs button.on {background:var(--sh-top);}
.hd-root .menu .right {align-items:center;}
.hd-root .ev-inner {padding-top:0;}
.hd-root .menu {min-height:46px; height:46px;}
.hd-root .mtabs button {font-size:13px;}
.hd-root .menu .right .defbtn {padding:4px 10px;}
.hd-root {--sh-rstrip:#e6e9ee;}
:root[data-theme="dark"] .hd-root {--sh-rstrip:#313641;}
:root[data-theme="dark"] .hd-root {--sh-rstrip:#313641;}
.hd-root.shades .pane-head.rtabs {background:var(--sh-rstrip);}
.hd-root {--sh-mhead:#f1f2f5;}
:root[data-theme="dark"] .hd-root {--sh-mhead:#20242b;}
:root[data-theme="dark"] .hd-root {--sh-mhead:#20242b;}
.hd-root.shades .pane-head.center-head:not(.sv-head2) {background:var(--sh-mhead);}
.hd-root .pane-head.rtabs .segc button.on, .hd-root .list-top .lsort .chipsel, .hd-root .sv-filters .sv-f button.on {position:relative; z-index:1; box-shadow:-6px 0 10px -6px rgba(0,0,0,.45), 6px 0 10px -6px rgba(0,0,0,.45), 0 -4px 10px -6px rgba(0,0,0,.35);}
:root[data-theme="light"] .hd-root .pane-head.rtabs .segc button.on, :root[data-theme="light"] .hd-root .list-top .lsort .chipsel, :root[data-theme="light"] .hd-root .sv-filters .sv-f button.on {box-shadow:-6px 0 10px -6px rgba(20,22,28,.18), 6px 0 10px -6px rgba(20,22,28,.18), 0 -4px 10px -6px rgba(20,22,28,.14);}
.hd-root .pane-head.rtabs .segc {overflow:visible;}
.hd-root .pane-head.list-top, .hd-root .pane-head.rtabs, .hd-root .pane-head.center-head, .hd-root .sv-side2 > .pane-head {box-shadow:inset 0 9px 9px -9px rgba(0,0,0,.55);}
:root[data-theme="light"] .hd-root :is(.pane-head.list-top, .pane-head.rtabs, .pane-head.center-head, .sv-side2 > .pane-head) {box-shadow:inset 0 9px 9px -9px rgba(20,22,28,.18);}
.hd-root .lhead .own-wrap {margin-left:auto; display:flex;}
.hd-root .lhead .own-wrap .seg button {font-size:12.5px; padding:5px 12px;}
.hd-root .sv-gal {flex:none; display:flex; align-items:center; gap:12px; padding:10px 14px 10px 16px;}
.hd-root .sv-gal .hb-l {flex:none;}
.hd-root .sv-thumbs {flex:1; min-width:0; display:flex; gap:8px; overflow-x:auto; scrollbar-width:none;}
.hd-root .sv-thumbs::-webkit-scrollbar {display:none;}
.hd-root .sv-thumb {flex:none; width:64px; height:46px; padding:0; border:1px solid var(--line); border-radius:8px; overflow:hidden; background:var(--soft2); cursor:zoom-in; display:grid; place-items:center; color:var(--muted);}
.hd-root .sv-thumb img {width:100%; height:100%; object-fit:cover; object-position:top left; display:block;}
.hd-root .sv-thumb:hover {border-color:var(--muted);}
.hd-root .sv-gal .hb-l {font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--faint); width:58px;}
.hd-root .sv-histbar .hb-l {width:58px;}
.hd-root .sv-gal {gap:10px;}
.hd-root .sv-gal {height:68px; box-sizing:border-box; padding-top:0; padding-bottom:0;}
.hd-root .sv-thumbs-wrap {position:relative; flex:1; min-width:0; display:flex; align-items:center;}
.hd-root .sv-thumbs {scroll-behavior:smooth;}
.hd-root .sv-tarrow {position:absolute; top:50%; transform:translateY(-50%); z-index:2; width:28px; height:46px; border:0; border-radius:8px; display:grid; place-items:center; cursor:pointer; color:var(--text); background:color-mix(in srgb, var(--soft2) 92%, transparent); box-shadow:0 0 12px 6px var(--sh-right, var(--panel));}
.hd-root .sv-tarrow.l {left:0;}
.hd-root .sv-tarrow.r {right:0;}
.hd-root .sv-tarrow[hidden] {display:none;}
.hd-root .sv-tarrow:hover {background:var(--soft2);}
.hd-root .sv-rail {border-left:0;}
.hd-root.shades .sv-rail {background:var(--sh-right);}
.hd-root .sv-hbtns .fold {margin-left:2px;}
.hd-root .sv-wrap .tb-r.min {justify-content:center; padding:0 !important;}
.hd-root .sv-now b {font-size:11.5px; font-weight:800;}
.hd-root .sv-now.new b {color:var(--amber);}
.hd-root .sv-now.planned b {color:var(--purple);}
.hd-root .sv-now.later b {color:var(--teal);}
.hd-root .sv-now.work b {color:var(--blue);}
.hd-root .sv-now.done b {color:var(--ok);}
.hd-root .sv-now.no b {color:var(--slate);}
.hd-root.shades .sv-rail .rail-hist li i {box-shadow:0 0 0 3px var(--sh-right);}
.hd-root .f7-modal {height:min(820px, calc(100vh - 40px)); max-height:none; overflow:hidden;}
.hd-root .f7-head, .hd-root .f7-foot {flex:none;}
.hd-root .f7-body {flex:1; min-height:0; overflow:hidden;}
.hd-root .f7-main {overflow-y:auto; min-height:0; scrollbar-gutter:stable;}
.hd-root .f7-side {overflow-y:auto; min-height:0;}
.hd-root #f7details {resize:none;}
.hd-root .f7-main textarea {resize:none;}
.hd-root #f7details {min-height:84px; height:84px;}
.hd-root .f7-main {gap:4px; padding-top:14px; padding-bottom:14px;}
.hd-root .msg.answer .bubble {background:var(--soft); border:1px solid color-mix(in srgb, var(--ok) 35%, transparent); border-left:3px solid var(--ok); color:var(--text);}
.hd-root .ans-tag {display:inline-flex; align-items:center; gap:3px; margin-left:6px; padding:0 7px; border-radius:999px; font-size:11px; font-weight:700; color:var(--ok); background:var(--ok-wash); vertical-align:1px;}
.hd-root .f7-modal {width:min(940px,100%); height:min(580px, calc(100vh - 40px));}
.hd-root .f7-main {display:flex; flex-direction:column;}
.hd-root #f7details {flex:1; min-height:110px; height:auto;}
.hd-root .f7-problem {flex:1; min-height:0; margin-top:0; border-top:0; padding-top:0;}
.hd-root #f7impact {flex:1; min-height:90px;}
.hd-root .f7-side {width:auto;}
.hd-root .f7-body {grid-template-columns:minmax(0,1fr) 290px;}
.hd-root .f7-steps {list-style:none; display:flex; gap:0; margin:0 0 8px; padding:0; border:1px solid var(--soft2); border-radius:12px; overflow:hidden; background:var(--soft2); flex:none;}
.hd-root .f7-steps li {flex:1;}
.hd-root .f7-steps button {width:100%; display:flex; gap:8px; align-items:center; justify-content:center; padding:7px 10px; border:0; background:transparent; font:inherit; font-size:13px; font-weight:600; color:var(--muted); cursor:pointer;}
.hd-root .f7-steps button[disabled] {cursor:not-allowed; opacity:.55;}
.hd-root .f7-steps li.on button {background:var(--panel); color:var(--text);}
.hd-root .f7-steps i {font-style:normal; width:20px; height:20px; border-radius:50%; display:grid; place-items:center; font-size:11.5px; font-weight:800; background:var(--soft); color:var(--muted);}
.hd-root .f7-steps li.on i {background:var(--accent); color:#fff;}
.hd-root .f7-steps li.done i {background:var(--ok); color:#fff;}
.hd-root .f7-sims-side .f7-sims {margin:12px 0 0;}
.hd-root .f7-sims-side .f7-sim {flex-wrap:wrap;}
.hd-root .f7-pic {width:96px;}
.hd-root .f7-pic img {height:52px;}
.hd-root .f7-pic span {padding:2px 6px; font-size:11px;}
.hd-root .f7-add {width:72px;}
.hd-root .f7-add span {font-size:10.5px;}
.hd-root .f7-sims-side .f7-sims {padding:8px 10px; gap:4px;}
.hd-root .f7-sims-side .f7-sim {flex-wrap:nowrap;}
.hd-root .f7-sims-side .f7-sim .t span:last-child {font-size:11.5px;}
.hd-root .f7-side .f7-preview {padding:10px 12px;}
.hd-root .f7-side {padding:14px 16px;}
.hd-root .f7-modal {height:min(610px, calc(100vh - 40px));}
.hd-root .f7-side .f7-label[style] {margin-top:10px !important;}
.hd-root {--sh-lstrip:#e1e4ea; --sh-rstrip:#e1e4ea; --sh-mhead:#e7eaee; --bar-shadow:0 10px 14px -8px rgba(20,22,28,.22);}
:root[data-theme="dark"] .hd-root {--sh-lstrip:#0d0f13; --sh-rstrip:#15181e; --sh-mhead:#1d2027; --bar-shadow:0 10px 14px -8px rgba(0,0,0,.6);}
:root[data-theme="dark"] .hd-root {--sh-lstrip:#0d0f13; --sh-rstrip:#15181e; --sh-mhead:#1d2027; --bar-shadow:0 10px 14px -8px rgba(0,0,0,.6);}
.hd-root.shades .pane-head.list-top {background:var(--sh-lstrip);}
.hd-root.shades .pane-head.rtabs {background:var(--sh-rstrip);}
.hd-root.shades .pane-head.center-head:not(.sv-head2) {background:var(--sh-mhead);}
.hd-root .pane-head.list-top, .hd-root .pane-head.rtabs, .hd-root .pane-head.center-head, .hd-root .sv-side2 > .pane-head {box-shadow:none !important;}
.hd-root .wb > .tbar3, .hd-root .sv-wrap > .tbar3 {position:relative; z-index:6; box-shadow:var(--bar-shadow);}
.hd-root .menu {position:relative; z-index:7;}
.hd-root {--s-band:#e2e6eb; --s-side:#eef1f4; --s-main:#f8f9fb; --s-raised:#ffffff; --s-seg:#ffffff;}
:root[data-theme="dark"] .hd-root {--s-band:#0f1115; --s-side:#15181d; --s-main:#1a1d23; --s-raised:#22262e; --s-seg:#2a2f38;}
:root[data-theme="dark"] .hd-root {--s-band:#0f1115; --s-side:#15181d; --s-main:#1a1d23; --s-raised:#22262e; --s-seg:#2a2f38;}
.hd-root, :root[data-theme] .hd-root {--panel:var(--s-main); --soft:var(--s-raised); --soft2:var(--s-seg); --sh-left:var(--s-side); --sh-right:var(--s-side); --sh-mid:var(--s-main); --sh-top:var(--s-raised); --sh-tabs:var(--s-seg); --sh-lstrip:var(--s-band); --sh-rstrip:var(--s-band); --sh-mhead:var(--s-band);}
:root[data-theme="dark"] .hd-root {--panel:var(--s-main); --soft:var(--s-raised); --soft2:var(--s-seg); --sh-left:var(--s-side); --sh-right:var(--s-side); --sh-mid:var(--s-main); --sh-top:var(--s-raised); --sh-tabs:var(--s-seg); --sh-lstrip:var(--s-band); --sh-rstrip:var(--s-band); --sh-mhead:var(--s-band);}
.hd-root {--band-shadow:inset 0 10px 10px -10px rgba(20,22,28,.30); --tab-shadow:-6px 0 10px -6px rgba(20,22,28,.22), 6px 0 10px -6px rgba(20,22,28,.22);}
:root[data-theme="dark"] .hd-root {--band-shadow:inset 0 10px 10px -10px rgba(0,0,0,.75); --tab-shadow:-6px 0 10px -6px rgba(0,0,0,.6), 6px 0 10px -6px rgba(0,0,0,.6);}
:root[data-theme="dark"] .hd-root {--band-shadow:inset 0 10px 10px -10px rgba(0,0,0,.75); --tab-shadow:-6px 0 10px -6px rgba(0,0,0,.6), 6px 0 10px -6px rgba(0,0,0,.6);}
.hd-root .wb > .tbar3, .hd-root .sv-wrap > .tbar3 {box-shadow:none;}
.hd-root .pane-head.list-top, .hd-root .pane-head.rtabs, .hd-root .pane-head.center-head, .hd-root .sv-side2 > .pane-head {box-shadow:var(--band-shadow) !important;}
.hd-root .pane-head.rtabs .segc button.on, .hd-root .list-top .lsort .chipsel, .hd-root .sv-filters .sv-f button.on {box-shadow:var(--tab-shadow) !important; position:relative; z-index:1;}
.hd-root {--band-fade:linear-gradient(rgba(20,22,28,.20), rgba(20,22,28,0));}
:root[data-theme="dark"] .hd-root {--band-fade:linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,0));}
:root[data-theme="dark"] .hd-root {--band-fade:linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,0));}
.hd-root .pane-head.list-top, .hd-root .pane-head.rtabs, .hd-root .pane-head.center-head, .hd-root .sv-side2 > .pane-head {box-shadow:none !important;}
.hd-root .pane-head.rtabs, .hd-root .pane-head.center-head, .hd-root .sv-side2 > .pane-head {position:relative;}
.hd-root .pane-head.list-top::after, .hd-root .pane-head.rtabs::after, .hd-root .pane-head.center-head::after, .hd-root .sv-side2 > .pane-head::after {content:""; position:absolute; left:0; right:0; top:0; height:12px; background:var(--band-fade); pointer-events:none; z-index:2;}
.hd-root .pane-head.rtabs .segc button.on, .hd-root .list-top .lsort .chipsel, .hd-root .sv-filters .sv-f button.on {z-index:3; clip-path:inset(-14px -14px 0 -14px);}
.hd-root .tri-list.fade {-webkit-mask-image:linear-gradient(to bottom, #000 calc(100% - 22px), transparent 100%); mask-image:linear-gradient(to bottom, #000 calc(100% - 22px), transparent 100%);}
.hd-root {--edge:#d9dee5;}
:root[data-theme="dark"] .hd-root {--edge:transparent;}
:root[data-theme="dark"] .hd-root {--edge:transparent;}
.hd-root .bubble, .hd-root .pd-ic, .hd-root .cs-i, .hd-root .chipsel.plain, .hd-root .sv-st .ss-i, .hd-root .sv-status .ss-i {box-shadow:inset 0 0 0 1px var(--edge);}
.hd-root .msg.answer .bubble {box-shadow:none;}
.hd-root .menu {box-shadow:inset 0 -1px 0 var(--edge);}
.hd-root .mtabs button.on {position:relative; box-shadow:inset 1px 0 0 var(--edge), inset -1px 0 0 var(--edge), inset 0 1px 0 var(--edge);}
.hd-root {--group-edge:#d9dee5;}
:root[data-theme="dark"] .hd-root {--group-edge:var(--soft2);}
:root[data-theme="dark"] .hd-root {--group-edge:var(--soft2);}
.hd-root .switch, .hd-root .segc, .hd-root .ev-btns, .hd-root .seg {border-color:var(--group-edge);}
.hd-root .wb > .tbar3, .hd-root .sv-wrap > .tbar3 {box-shadow:inset 0 -1px 0 var(--edge);}
.hd-root .top .icon-btn.txt {width:auto; padding:0 12px; font-size:12.5px; font-weight:600;}
.hd-root .report .text, .hd-root .report.flat .text, .hd-root .rsec, .hd-root .report h2, .hd-root .report .rhead {max-width:none;}
.hd-root .msg, .hd-root .chat-panel .msg {max-width:100%;}
.hd-root .msg > div {min-width:0;}
.hd-root .sv-wrap {display:flex; flex-direction:column;}
.hd-root .sv-wrap > .menu {flex:none;}
.hd-root .sv-wrap > .tri7 {flex:1; min-height:0;}
.hd-root .sv-wrap .tb-l .tb-t {font-size:13px; color:var(--muted);}
.hd-root .sv-wrap .tb-l .tb-t b {color:var(--text);}
.hd-root .screen.tall {height:max(560px, calc(100vh - 94px));}
.hd-root main {padding-bottom:14px;}
.hd-root {overflow-x:hidden;}

/* ================= in the app ================= */
/* The help desk is the whole view: the app's page padding gives way to the mockup's own. */
.view:has(> .hd-root) { padding:0; }
.hd-root { background:transparent; min-height:100%; }
/* The box takes all the room beside the app's menu, however wide the screen (owner, 2026-10-16). */
.hd-root .top { max-width:none; }
.hd-root .hd-main { max-width:none; margin:0; padding:0 24px 14px; }
/* The box's height is set to the window by helpdesk.js (fit), so the page never scrolls. */
.hd-root .screen.tall { height:auto; }
/* The app's own button and link looks stay out of the help desk. */
.hd-root a.btn, .hd-root a.rail-btn { text-decoration:none; color:inherit; display:inline-flex; align-items:center; gap:6px; }
.hd-root .btn.primary, .hd-root a.btn.primary { color:#fff; }
.hd-root .btn[disabled], .hd-root .rail-btn[disabled], .hd-root .edit-t[disabled] { opacity:.45; cursor:not-allowed; }
.hd-root .switch button.off { opacity:.45; cursor:not-allowed; }

/* ================= owner, 2026-10-16 ================= */
/* Column widths are the person's own (dragged at the grips, kept): --hd-list (Triage and Staff), --hd-about (ticket
   history), --hd-right (every right panel). Below 1251px the mockup's stacked layout still applies. */
.hd-root .hd-wrap { --hd-list:300px; --hd-about:230px; --hd-right:400px; }
@media (min-width:1251px) {
  .hd-root .tri7 { grid-template-columns:var(--hd-list) minmax(0,1fr); }
  .hd-root .tri7.lmin { grid-template-columns:64px minmax(0,1fr); }
  .hd-root .tri-main { grid-template-columns:minmax(0,1fr) var(--hd-right); }
  .hd-root .tri-main.rmin { grid-template-columns:minmax(0,1fr) 60px; }
  .hd-root .tk7 { grid-template-columns:var(--hd-about) minmax(0,1fr) var(--hd-right); }
  .hd-root .tk7.lmin { grid-template-columns:64px minmax(0,1fr) var(--hd-right); }
  .hd-root .tk7.rmin { grid-template-columns:var(--hd-about) minmax(0,1fr) 60px; }
  .hd-root .tk7.lmin.rmin { grid-template-columns:64px minmax(0,1fr) 60px; }
}
.hd-root .hd-grip { position:absolute; bottom:0; width:8px; cursor:col-resize; z-index:9; touch-action:none; }
.hd-root .hd-grip::after { content:""; position:absolute; left:3px; top:0; bottom:0; width:2px; background:transparent; transition:background .15s; }
.hd-root .hd-grip:hover::after, .hd-root .hd-dragging .hd-grip::after { background:color-mix(in srgb, var(--text) 30%, transparent); }
.hd-root .hd-dragging, .hd-root .hd-dragging * { transition:none !important; user-select:none; cursor:col-resize; }

/* Each kind of message keeps its colour, the same as its tab and box (owner, 2026-10-20: "all chats keep their colour,
   so pink for team lead, yellow for internal notes" — superseding the earlier plain bubbles): an internal note yellow,
   a lead's side conversation purple, a reply to the sender plain; the answer still stands out. */
.hd-root .msg.me .bubble { background:var(--soft); border:0; }
.hd-root .msg.note .bubble { background:var(--note); box-shadow:inset 0 0 0 1px var(--note-line); border:0; }
.hd-root .msg.side .bubble { background:var(--purple-wash); box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--purple) 35%, transparent); border:0; }
/* The box's own colour is the focus: no second ring inside it. */
.hd-root .cbox textarea:focus, .hd-root .cbox textarea:focus-visible { outline:none; box-shadow:none; border:0; }
.hd-root .cbox:focus-within { border-color:color-mix(in srgb, var(--text) 28%, transparent); }
.hd-root .cbox.note:focus-within { border-color:var(--note-line); }
.hd-root .cbox.side:focus-within { border-color:color-mix(in srgb, var(--purple) 55%, transparent); }

/* Markdown, as people write it. */
.hd-root .bubble, .hd-root .report .text, .hd-root .rsec-b, .hd-root .sv-sent-t { white-space:normal; }
.hd-root .md > :first-child { margin-top:0; }
.hd-root .md > :last-child { margin-bottom:0; }
.hd-root .md p { margin:0 0 .65em; }
.hd-root .md ul, .hd-root .md ol { margin:.2em 0 .65em; padding-left:1.35em; }
.hd-root .md li { margin:.15em 0; }
.hd-root .md :is(h2, h3, h4, h5) { font-size:1em; font-weight:700; margin:.8em 0 .3em; text-transform:none; letter-spacing:0; color:inherit; }
.hd-root .md code { font-family:"Geist Mono", ui-monospace, monospace; font-size:.9em; padding:1px 5px; border-radius:5px; background:color-mix(in srgb, var(--text) 9%, transparent); }
.hd-root .md pre { white-space:pre-wrap; padding:8px 10px; border-radius:8px; background:color-mix(in srgb, var(--text) 7%, transparent); }
.hd-root .md a { color:inherit; text-decoration:underline; text-underline-offset:2px; }
.hd-root .md blockquote { margin:.4em 0; padding-left:10px; border-left:3px solid var(--line); color:var(--muted); }

/* Staff view, closed: the issue and its answer in the middle, the conversation under them. */
.hd-root .sv-closed .report { padding-top:4px; }
.hd-root .sv-closed .report > .rlabel { margin-top:22px; }
.hd-root .sv-closed .report .msg { margin-top:12px; }

/* ---- Pictures (owner, 2026-10-19): under the report — a medium view, never cut off, thumbnails under it to pick
   which, click for full size. The right panel keeps the buttons and Page details / Errors, at full height. ---- */
.hd-root .rpics {max-width:none; margin-top:22px;}
.hd-root .rpics h4 {margin-bottom:8px;}
.hd-root .rvids {max-width:none; margin-top:22px;}
.hd-root .rvids h4 {margin-bottom:8px;}
.hd-root .rvids video {display:block; max-width:100%; max-height:420px; margin-top:8px; border:1px solid var(--line); border-radius:12px; background:var(--soft);}
.hd-root .pv {border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--soft);}
.hd-root .pv-stage {position:relative; height:clamp(240px, 44vh, 560px);}
/* the carousel: one picture per slide, side by side; scrolling snaps to each, so trackpads and fingers swipe it */
.hd-root .pv-track {position:absolute; inset:0; display:flex; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain;}
.hd-root .pv-track::-webkit-scrollbar {display:none;}
.hd-root .pv-track.dragging {scroll-snap-type:none; cursor:grabbing; user-select:none;}
.hd-root .pv-slide {position:relative; flex:0 0 100%; height:100%; display:flex; align-items:center; justify-content:center; scroll-snap-align:center; scroll-snap-stop:always; cursor:zoom-in;}
.hd-root .pv-slide img {max-width:100%; max-height:100%; object-fit:contain; display:block; user-select:none;}
.hd-root .pv-cap {position:absolute; left:10px; bottom:10px; display:flex; gap:5px; align-items:center; background:rgba(15,17,21,.72); color:#fff; font-size:11.5px; padding:3px 9px; border-radius:999px; pointer-events:none;}
.hd-root .pv-full {position:absolute; top:10px; right:10px; display:grid; place-items:center; width:30px; height:30px; border-radius:8px; background:rgba(15,17,21,.72); color:#fff; opacity:0; transition:opacity .15s; pointer-events:none;}
.hd-root .pv-arrow {position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border:0; border-radius:50%; display:grid; place-items:center; cursor:pointer; background:rgba(15,17,21,.72); color:#fff;}
.hd-root .pv-arrow[hidden] {display:none;}
.hd-root .pv-arrow.l {left:10px;}
.hd-root .pv-arrow.r {right:10px;}
.hd-root .pv-arrow:hover {background:rgba(15,17,21,.9);}
.hd-root .pv-stage:hover .pv-full {opacity:1;}
.hd-root .pv-strip {height:64px; display:flex; align-items:center; padding:0 10px; border-top:1px solid var(--line); background:var(--soft);}
.hd-root .pv-strip .sv-thumbs {padding:0 4px;}
.hd-root .pv-strip .sv-thumb {cursor:pointer; opacity:.7;}
.hd-root .pv-strip .sv-thumb:hover, .hd-root .pv-strip .sv-thumb.on {opacity:1;}
.hd-root .pv-strip .sv-thumb.on {outline:2px solid var(--text); outline-offset:2px;}
.hd-root .pv-strip .sv-tarrow {box-shadow:0 0 12px 6px var(--soft);}
/* the full-size viewer's zoom */
.hd-root .gal-z {display:flex; border-radius:9px; overflow:hidden; background:rgba(255,255,255,.08);}
.hd-root .gal-z button {border:0; background:transparent; color:#9ca3af; padding:7px 12px; font-size:12.5px; font-weight:600; cursor:pointer;}
.hd-root .gal-z button:hover {color:#fff;}
.hd-root .gal-z button.on {background:rgba(255,255,255,.18); color:#fff;}
/* the answer leads the report, above the fault (owner, 2026-10-19) */
.hd-root .report .rsec.ans-top {margin:4px 0 22px; max-width:none;}
/* the title, put right in place (0995) */
.hd-root .rtitle.editing {display:flex; gap:8px; align-items:center; margin:12px 0 2px;}
.hd-root .title-in {flex:1; min-width:0; font:inherit; font-size:19px; font-weight:700; padding:6px 10px; border:1px solid var(--line); border-radius:10px; background:var(--panel); color:var(--text);}
.hd-root .title-in:focus {outline:2px solid var(--blue); outline-offset:1px;}
/* a duplicate, merged into the original (0996) */
.hd-root .confirm.merge {grid-template-columns:minmax(0,1fr) auto; align-items:center;}
.hd-root .confirm.merge .mg-t {grid-column:1 / -1; font-size:14px;}
.hd-root .confirm.merge .mg-say {grid-column:1; font-size:13px; color:var(--muted);}
.hd-root .confirm.merge .mg-pick {grid-column:1; display:flex; flex-wrap:wrap; gap:6px; align-items:center;}
.hd-root .confirm.merge .mg-pick input {width:170px; border:1px solid var(--line); border-radius:8px; padding:6px 9px; background:var(--panel); color:var(--text); font:inherit; font-size:13px;}
/* snooze (0998): the menu under the clock, and the ticket's note that it is snoozed */
.hd-root .snooze-menu {right:0; left:auto; top:38px; width:230px;}
.hd-root .snooze-menu .sm-h {padding:6px 10px 4px; font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--faint);}
.hd-root .snooze-menu button {display:flex; flex-direction:column; align-items:flex-start;}
.hd-root .snooze-menu button small {color:var(--muted); font-size:11.5px;}
.hd-root .snooze-pick {display:flex; flex-direction:column; gap:4px; padding:8px 10px 6px; font-size:12.5px; font-weight:600; border-top:1px solid var(--line); margin-top:4px;}
.hd-root .snooze-pick input {font:inherit; font-size:12.5px; padding:5px 8px; border:1px solid var(--line); border-radius:8px; background:var(--panel); color:var(--text);}
/* the bar's menus sit over the row below it */
.hd-root .tbar3 {position:relative; z-index:6;}
/* the Dashboard inside the help desk (mockup v7): it scrolls inside the box */
.hd-root .hd-dash {height:100%; overflow:auto; padding:16px; box-sizing:border-box; background:var(--bg);}
.hd-root .dash-head {display:flex; align-items:center; gap:8px;}
.hd-root .dash-head > span {margin-right:auto;}
.hd-root .dcard.flush {padding:0; overflow:hidden;}
.hd-root .dcard .pad, .hd-root .dcard .dhd.pad {padding:16px 18px 0;}
.hd-root .dcard > .muted.pad {padding:16px 18px;}
.hd-root .dash-who {display:inline-flex; gap:8px; align-items:center; font-weight:600;}
.hd-root .push-row {display:flex; gap:10px; align-items:center; padding:9px 0; border-top:1px solid var(--line);}
.hd-root .push-age {width:54px; flex:none; font-weight:700; font-size:12.5px;}
.hd-root .push-t {flex:1; min-width:0; display:flex; flex-direction:column; color:inherit; text-decoration:none;}
.hd-root .push-t b {font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .push-t small {font-size:12px; color:var(--muted);}
.hd-root .push-t:hover b {text-decoration:underline;}

/* The list's columns, sized by dragging a header edge and kept per person (owner 2026-10-19). */
.hd-root .lwrap .lrow2, .hd-root .lcolh {grid-template-columns:var(--lcols);}
.hd-root .lcolh {display:grid; gap:12px; align-items:center; padding:5px 12px 5px 14px; border-bottom:1px solid var(--line); background:var(--soft);
  font-size:11px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); user-select:none;}
.hd-root .lch {position:relative; min-width:0; display:flex; align-items:center;}
.hd-root .lch-t {overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.hd-root .lch.lch-kind, .hd-root .lch.lch-pri, .hd-root .lch.lch-blk, .hd-root .lch.lch-pic, .hd-root .lch.lch-err, .hd-root .lch.lch-asg {justify-content:center;}
.hd-root .lgrip {position:absolute; top:-5px; bottom:-5px; right:-9px; width:6px; cursor:col-resize; border-radius:3px;}
.hd-root .lgrip:hover, .hd-root .lwrap.sizing .lgrip:active {background:var(--accent); opacity:.45;}
.hd-root .lwrap.sizing, .hd-root .lwrap.sizing * {cursor:col-resize !important;}
.hd-root .lrow2 .lc {min-width:0;}
.hd-root .lrow2 .lc.slot {display:grid; place-items:center; color:var(--muted); width:auto;}
.hd-root .lrow2 .lc.slot .red {color:var(--accent); display:inline-flex; gap:2px; align-items:center; font-size:12px;}
.hd-root .lrow2 .lc-state .cstate {min-width:0;}
@media (max-width:900px) {
  .hd-root .lcolh {display:none;}
  .hd-root .lwrap .lrow2 {grid-template-columns:84px minmax(0,1fr) 30px;}
  .hd-root .lrow2 .lc.slot:not(.lc-asg), .hd-root .lrow2 .lfill {display:none;}
}

/* The Guide tab: Print Studio's guide screen, scrolling inside the desk's box. */
.hd-root .hd-guide {height:100%; overflow:auto; padding:18px 22px;}
.hd-root .guide-pick {display:inline-flex; margin:0 0 14px;}

/* The viewer keeps a screenshot's shape (owner 2026-10-19: "when you minimise the bars … how the picture sits"):
   wider room makes it taller, up to what fits on screen, and past that it stops widening — the box hugs the picture
   instead of a wide band with the picture small in the middle. */
.hd-root .rpics {container-type:inline-size;}
.hd-root .rpics .pv {max-width:calc(min(72vh, 900px) * 1.78);}
.hd-root .rpics .pv-stage {height:clamp(240px, min(56cqw, 72vh), 900px);}

/* Thumbnails down the side when there is room (owner 2026-10-19: "thumbnails down the side rather than at the
   bottom … I really don't like all that grey"); at the bottom when the middle is narrow. */
@container (min-width: 900px) {
  .hd-root .rpics .pv.many {display:flex; max-width:calc(min(72vh, 900px) * 1.78 + 104px);}
  .hd-root .rpics .pv.many .pv-stage {flex:1; min-width:0; height:clamp(240px, min(calc((100cqw - 104px) * 0.5625), 72vh), 900px);}
  .hd-root .rpics .pv.many .pv-strip {flex:0 0 104px; height:auto; align-items:stretch; padding:8px 0; border-top:0; border-left:1px solid var(--line);}
  .hd-root .rpics .pv.many .pv-strip .sv-thumbs-wrap {height:100%; min-height:0; flex-direction:column;}
  .hd-root .rpics .pv.many .pv-strip .sv-thumbs {height:100%; flex-direction:column; align-items:center; gap:8px; overflow-x:hidden; overflow-y:auto; padding:0 8px;}
  .hd-root .rpics .pv.many .pv-strip .sv-thumb {width:84px; height:60px;}
  .hd-root .rpics .pv.many .pv-strip .sv-tarrow {display:none;}
}
/* A small screenshot fills the viewer too (keeping its shape), rather than sitting small in grey. */
.hd-root .rpics .pv-slide img {width:100%; height:100%; max-width:none; max-height:none; object-fit:contain;}

/* The reply box: room to write (owner 2026-10-19: "there needs to be a bigger area I can type in") — about four
   lines to start, growing with what is typed up to a third of the screen, then it scrolls. */
.hd-root .cbox textarea {height:auto; min-height:92px; max-height:34vh; field-sizing:content; overflow-y:auto; line-height:1.45; padding:2px 0;}

/* Narrow: the thumbnails along the TOP of the picture, not under it (owner 2026-10-19: "thumbnails should be at the
   top, not bottom, and right if there is space"). */
.hd-root .rpics .pv.many {display:flex; flex-direction:column;}
.hd-root .rpics .pv.many .pv-strip {order:-1; border-top:0; border-bottom:1px solid var(--line);}
@container (min-width: 900px) {
  .hd-root .rpics .pv.many {flex-direction:row;}
  .hd-root .rpics .pv.many .pv-strip {order:0; border-bottom:0;}
}

/* Search the help desk (feedback administrators only), in the header between the views and Send feedback. */
.hd-root .hd-search {position:relative; flex:1 1 280px; max-width:460px; margin:0 auto; display:flex; align-items:center;}
.hd-root .hd-search .hd-sic {position:absolute; left:11px; color:var(--muted); display:grid; pointer-events:none;}
.hd-root .hd-search input {width:100%; height:36px; padding:0 12px 0 34px; border:1px solid var(--line); border-radius:10px; background:var(--panel); color:var(--text); font:inherit; font-size:13.5px;}
.hd-root .hd-search input:focus {outline:none; border-color:var(--accent); box-shadow:var(--ring, 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent));}
.hd-root .hd-sres {position:absolute; top:calc(100% + 6px); left:0; right:0; z-index:30; max-height:min(60vh, 520px); overflow:auto; padding:6px;
  background:var(--panel); border:1px solid var(--line); border-radius:12px; box-shadow:0 12px 32px rgba(0,0,0,.18);}
.hd-root .hd-shit {display:flex; gap:10px; align-items:flex-start; width:100%; text-align:left; padding:8px 10px; border:0; border-radius:8px; background:none; color:var(--text); cursor:pointer; font:inherit;}
.hd-root .hd-shit:hover, .hd-root .hd-shit.on {background:var(--wash);}
.hd-root .hd-shit .lid {flex:none; min-width:42px; color:var(--muted); font-size:12.5px; padding-top:1px;}
.hd-root .hd-st {display:flex; flex-direction:column; min-width:0;}
.hd-root .hd-st b {font-weight:600; font-size:13.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .hd-st small {color:var(--muted); font-size:12px;}
.hd-root .hd-snone {padding:10px 12px;}

/* Reactions under a message, and the emoji buttons (1000, owner 2026-10-20). */
.hd-root .rxs {display:flex; flex-wrap:wrap; gap:5px; align-items:center; margin-top:5px; min-height:24px;}
.hd-root .msg.me .rxs {justify-content:flex-end;}
.hd-root .rx {display:inline-flex; align-items:center; gap:4px; height:24px; padding:0 8px; border:1px solid var(--line); border-radius:999px; background:var(--panel); color:var(--text); font:inherit; font-size:13px; cursor:pointer;}
.hd-root .rx b {font-size:11.5px; font-weight:600; color:var(--muted);}
.hd-root .rx.on {border-color:color-mix(in srgb, var(--blue) 55%, transparent); background:var(--blue-wash);}
.hd-root .rx.on b {color:var(--blue);}
.hd-root .rx-addw, .hd-root .ce-w {position:relative; display:inline-flex;}
.hd-root .rx-add {display:inline-flex; align-items:center; gap:1px; height:24px; padding:0 7px; border:1px dashed var(--line); border-radius:999px; background:none; color:var(--muted); cursor:pointer; font:inherit; font-size:12px; opacity:0; transition:opacity .12s;}
.hd-root .msg:hover .rx-add, .hd-root .rxs.has .rx-add, .hd-root .rx-add:focus-visible {opacity:1;}
.hd-root .rx-add:hover {color:var(--text); border-style:solid;}
.hd-root .rx-pick {position:absolute; bottom:calc(100% + 6px); left:0; z-index:20; display:flex; gap:2px; padding:4px; background:var(--panel); border:1px solid var(--line); border-radius:12px; box-shadow:0 8px 24px rgba(0,0,0,.18);}
.hd-root .msg.me .rx-pick {left:auto; right:0;}
.hd-root .rx-pick[hidden] {display:none;}
.hd-root .rx-pick button {width:32px; height:32px; border:0; border-radius:8px; background:none; font-size:18px; cursor:pointer; line-height:1;}
.hd-root .rx-pick button:hover {background:var(--soft2);}
.hd-root .ce-btn {width:34px; height:34px; display:grid; place-items:center; border:0; border-radius:8px; background:none; color:var(--muted); cursor:pointer; flex:none;}
.hd-root .ce-btn:hover {color:var(--text); background:var(--soft2);}
.hd-root .ce-pick {left:auto; right:0;}

/* TRIAGE WITHOUT ITS BAR (owner 2026-10-20, a mock for large and small screens): the count where Sort was, and the
   decision as chips at the end of the item's own head — words when there is room, icons only when there is not. */
.hd-root .list-top .tl-count {font-size:12.5px; color:var(--muted); white-space:nowrap; flex:none;}
.hd-root .list-top .tl-count b {color:var(--text);}
.hd-root .list-top .lsort {margin-left:auto;}
.hd-root .rail-count {display:block; text-align:center; margin:6px 0;}
.hd-root .tri-col {container-type:inline-size;}
.hd-root .center-head .nav-who {min-width:0; flex:0 1 auto; overflow:hidden;}
.hd-root .center-head .nw-t {min-width:0;}
.hd-root .center-head .nw-t > span, .hd-root .center-head .nw-t small {display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hd-root .dec {margin-left:auto; display:flex; align-items:center; gap:6px; flex:none; padding-left:10px;}
.hd-root .dchip {position:relative; display:inline-flex; align-items:center; gap:6px; height:30px; padding:0 9px 0 8px; border-radius:8px; background:var(--soft2); color:var(--text); font-size:12.5px; font-weight:600; cursor:pointer; white-space:nowrap;}
.hd-root .dchip:hover {box-shadow:inset 0 0 0 1px var(--line);}
.hd-root .dchip select {position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; font-size:13px;}
.hd-root .dchip .dchev {display:grid; color:var(--muted);}
.hd-root .dchip.k-problem {background:var(--wash); color:var(--accent);}
.hd-root .dchip.k-question {background:var(--blue-wash); color:var(--blue);}
.hd-root .dchip.k-idea {background:var(--amber-wash); color:var(--amber);}
.hd-root .dchip .pri-ic {margin:0;}
.hd-root .dchip .noasg.sm {width:18px; height:18px;}
.hd-root .dec .dacts {display:flex; gap:6px; align-items:center;}
/* Narrow middle column: icons only — the full word is the select's own, on hover and when it opens. */
@container (max-width: 760px) {
  .hd-root .dchip .dl, .hd-root .dchip .dchev {display:none;}
  .hd-root .dchip {padding:0 7px;}
  .hd-root .center-head .nw-t .muted {display:none;}
}
@container (max-width: 520px) {
  .hd-root .center-head .nw-t small {display:none;}
}
.hd-root .list-top .tl-count {flex:1; align-self:center; line-height:1.2;}
.hd-root .list-top .tl-count + .lsort {padding:0; margin-left:6px;}
.hd-root .dface {display:inline-flex; align-items:center; gap:6px;}
.hd-root .dchip .pri-ic {width:16px; height:16px; padding-bottom:1px;}

/* The chips in colour (owner 2026-10-20: "these should be coloured"): priority by its level, the person in green. */
.hd-root .dchip.pc-1 {background:color-mix(in srgb, #ef4444 18%, transparent); color:#ef4444;}
.hd-root .dchip.pc-2 {background:color-mix(in srgb, #f97316 18%, transparent); color:#f97316;}
.hd-root .dchip.pc-3 {background:var(--amber-wash); color:var(--amber);}
.hd-root .dchip.pc-4 {background:var(--blue-wash); color:var(--blue);}
.hd-root .dchip.pc-5 {background:var(--soft2); color:var(--muted);}
.hd-root .dchip.who-on {background:var(--ok-wash); color:var(--ok);}
.hd-root .dchip .dchev {color:inherit; opacity:.7;}
/* ZIP / Open page / Copy link over the conversation too. */
.hd-root .chat-panel .ev-btns-wrap {padding:0 14px; flex:none;}
/* The same bar, the same place, the same height on both tabs (owner 2026-10-20: "the zip bar should not change heights"). */
.hd-root .chat-panel .ev-btns-wrap > .ev-btns {border-top:0; border-radius:0 0 12px 12px; border-color:var(--line);}

/* Style D, chosen (owner 2026-10-20, "let's use D"): no boxes — the icon carries the colour, the word is plain, thin
   dividers between; a soft background only on hover shows each one opens. */
.hd-root .dchip, .hd-root .dchip[class*="k-"], .hd-root .dchip[class*="pc-"], .hd-root .dchip.who-on {background:transparent; padding:0 7px; border-radius:6px;}
.hd-root .dchip + .dchip {border-radius:0 6px 6px 0; box-shadow:-1px 0 0 0 var(--line);}
.hd-root .dchip:hover {background:var(--soft2); box-shadow:none;}
.hd-root .dchip .dl {color:var(--text);}
.hd-root .dchip .dchev {display:none;}

/* N1 — NARROW WINDOWS (owner 2026-10-20): the report keeps the whole middle; the conversation and the evidence open
   as a drawer over it from the right (the head's two buttons), closed with × or Esc. Wide windows: unchanged. */
.hd-root .drw-btns, .hd-root .drw-x {display:none;}
@media (max-width:1250px) {
  .hd-root .tri-main, .hd-root .tri-main.rmin, .hd-root .tk7, .hd-root .tk7.rmin, .hd-root .tk7.lmin {grid-template-columns:minmax(0,1fr); position:relative;}
  .hd-root :is(.tri-main, .tk7) > :is(.evidence, .chat-panel) {position:absolute; top:0; right:0; bottom:0; width:min(460px, 90%); z-index:15;
    background:var(--panel); border-left:1px solid var(--line); border-top:0; box-shadow:-18px 0 40px rgba(0,0,0,.25);
    transform:translateX(105%); transition:transform .2s ease; display:flex; flex-direction:column;}
  .hd-root .hd-wrap.drawer-open :is(.tri-main, .tk7) > :is(.evidence, .chat-panel) {transform:none;}
  .hd-root .drw-btns {display:inline-flex; gap:4px; margin-left:8px; flex:none;}
  .hd-root .drw-btns b {font-size:11px; margin-left:3px;}
  .hd-root .drw-x {display:grid;}
  .hd-root :is(.tri-main, .tk7) .rtabs .fold {display:none;}
  .hd-root .tk7 .about {display:none;}
}
/* I1 — the item page's head carries the decision, as Triage's. */
.hd-root .tk7 .convo > .center-head {gap:8px;}
.hd-root .dec .dd-wrap > .btn {height:30px;}
@container (max-width: 760px) { .hd-root .dec .dd-wrap > .btn {font-size:0; gap:0;} .hd-root .dec .dd-wrap > .btn b {font-size:12px; margin-left:4px;} }
.hd-root .convo {container-type:inline-size;}
@media (max-width:1250px) {
  .hd-root .tri7 > .tri-list {max-height:none;}
  .hd-root :is(.tri-main, .tk7) > :is(.evidence, .chat-panel) {top:var(--drawer-top, var(--head-h, 48px)); border-top:1px solid var(--line);}
  /* A really small window (owner 2026-10-20: "when really small can't see chat"): the head never runs off the edge —
     the decision drops to a second row instead, so Accept stays in view and the drawer opens on screen. */
  .hd-root :is(.tri-col, .tk7 .convo) > .center-head {height:auto; min-height:var(--head-h); flex-wrap:wrap; row-gap:6px; padding-top:8px; padding-bottom:8px; box-sizing:border-box;}
  .hd-root :is(.tri-col, .tk7 .convo) > .center-head .dec {margin-left:auto; padding-left:0;}
  /* Nothing pushes the desk sideways: the tabs scroll in their own row, and the closed drawer waits out of sight. */
  .hd-root .menu {min-width:0;}
  .hd-root .menu .mtabs {min-width:0; overflow-x:auto; scrollbar-width:none;}
  .hd-root :is(.tri-main, .tk7) {overflow:clip;}
}
/* The item page has more chips than Triage (stage, same page): they go to icons sooner, so the sender's name stays read. */
@container (max-width: 940px) {
  .hd-root .tk7 .convo .dchip .dl, .hd-root .tk7 .convo .dchip .dchev {display:none;}
  .hd-root .tk7 .convo .dchip {padding:0 7px;}
  .hd-root .tk7 .convo .dec .dd-wrap > .btn {font-size:0; gap:0;}
  .hd-root .tk7 .convo .dec .dd-wrap > .btn b {font-size:12px; margin-left:4px;}
}
/* A tight middle (laptops with both side panels open): the position and the avatar step aside so the sender's name reads. */
@container (max-width: 640px) {
  .hd-root .center-head .nav-pos, .hd-root .center-head .nav-who > .av, .hd-root .center-head .nav-who > [class*="av"]:first-child {display:none;}
}
/* Same page list in the item's head: "Same issue" keeps its own width so the title gets the row (menu buttons are full width by default). */
.hd-root .same-menu .sm-row > .btn {display:inline-flex; width:auto; flex:none; white-space:nowrap; padding:4px 10px;}
.hd-root .same-menu .sm-t {display:block; white-space:normal; font-weight:500;}

/* TAB ICONS (owner 2026-10-20, a mock): icon, word, count; a small window drops the word. */
.hd-root .menu {container-type:inline-size;}
.hd-root .mtabs > button[data-tab] {display:inline-flex; align-items:center; gap:7px;}
.hd-root .mtabs > button[data-tab] > svg {flex:none; opacity:.75;}
.hd-root .mtabs > button[data-tab].on > svg {opacity:1;}
@container (max-width: 980px) {
  .hd-root .mtabs > button[data-tab] .tl {display:none;}
  .hd-root .mtabs > button[data-tab] {gap:5px; padding-left:14px; padding-right:14px;}
}

/* Tab names switched off: icons and counts only, the name on hover. */
.hd-root .menu.icons-only .mtabs > button[data-tab] .tl {display:none;}
.hd-root .menu.icons-only .mtabs > button[data-tab] {gap:5px; padding-left:14px; padding-right:14px;}
.hd-root .menu .right {display:flex; align-items:center; gap:6px;}
.hd-root .menu .tabwords.on {color:var(--text); background:var(--soft2);}

/* The view picker, first in the tab row (owner 2026-10-20). */
.hd-root .modepick {position:relative; display:flex; align-items:stretch; flex:none; border-right:1px solid var(--line);}
.hd-root .mp-btn {display:inline-flex; align-items:center; gap:7px; border:0; background:transparent; color:var(--text); font-weight:700; font-size:13.5px; padding:0 14px 0 18px; cursor:pointer; white-space:nowrap;}
.hd-root .mp-btn:hover {background:var(--soft2);}
.hd-root .mp-btn > svg:last-child {opacity:.6;}
.hd-root .mp-list {top:calc(100% + 4px); left:6px; right:auto; width:200px; z-index:20;}
.hd-root .mp-list button {display:flex; align-items:center; gap:9px;}
.hd-root .mp-list button.on {background:var(--soft2); font-weight:700;}
.hd-root .menu.mode-row {flex:none;}
.hd-root .menu.icons-only .mp-btn > span {display:none;}
@container (max-width: 980px) { .hd-root .mp-btn > span {display:none;} }
/* The other views share the box with the picker's row: the view takes what is left. */
.hd-root .hd-wrap:has(> .mode-row) {display:flex; flex-direction:column;}
.hd-root .hd-wrap:has(> .mode-row) > :not(.mode-row, .hd-grip) {flex:1 1 auto; min-height:0; height:auto;}

/* SHRUNK (tab names off, owner 2026-10-20): no header row — its title and search lie in the tab row's free middle,
   the view buttons give way to the picker at the front of the row. */
.hd-root {position:relative;}
.hd-root.hd-compact > header.top {position:absolute; z-index:8; margin:0; padding:0; max-width:none; flex-wrap:nowrap; gap:14px; align-items:center; pointer-events:none;}
.hd-root.hd-compact > header.top > * {pointer-events:auto;}
.hd-root.hd-compact > header.top .switch {display:none;}
.hd-root.hd-compact > header.top h1 {font-size:15px; white-space:nowrap; flex:none;}
.hd-root.hd-compact > header.top {justify-content:flex-end;}
.hd-root.hd-compact > header.top .hd-search {flex:0 1 460px; min-width:140px; max-width:460px; margin:0;}
.hd-root .sv-menu > .right {margin-left:auto; display:flex; align-items:center; padding-right:4px;}
.hd-root.hd-compact > header.top.tight h1 {display:none;}
.hd-root.hd-compact > header.top.gone {display:none;}
.hd-root.hd-compact .hd-main {padding-top:20px;}

/* STAFF VIEW ON A SMALL WINDOW (owner 2026-10-20: "still having issues with the screen when really small").
   Down to 861px it keeps Admin's shape — the list beside the item, not a strip above it; the top strip keeps its
   count. The reply box is never squeezed under the conversation: its foot grows to fit it. */
@media (max-width:1250px) and (min-width:861px) {
  .hd-root .sv-wrap .tri7 {grid-template-columns:var(--hd-list) minmax(0,1fr);}
  .hd-root .sv-wrap .tri7.lmin {grid-template-columns:64px minmax(0,1fr);}
  .hd-root .sv-wrap .tri-list {max-height:none; border-right:1px solid var(--line); border-bottom:0;}
}
@media (max-width:1250px) {
  .hd-root .sv-wrap .tbar3 {flex-wrap:nowrap;}
  .hd-root .sv-wrap .tbar3 .tb-l {display:flex; align-items:center; flex:none; padding:0 16px; border-right:0;}
}
.hd-root .sv-col .composer {height:auto; min-height:var(--sv-foot); padding-top:10px; padding-bottom:10px;}
/* Stacked (860px and under): each row on one line — badge, title, details, age — as the width allows ("these could
   be thinner, there is lots of room left and right"), and the item below gets the rest ("chats need more space"). */
@media (max-width:860px) {
  .hd-root .sv-wrap .tri7 {grid-template-rows:auto minmax(0,1fr);}
  .hd-root .sv-wrap .tri-list {max-height:200px;}
  .hd-root .sv-wrap .tri7 .tri-item {display:flex; align-items:center; gap:10px; padding:8px 16px 8px 18px;}
  .hd-root .sv-wrap .tri7 .tri-item > div:first-child {display:contents;}
  .hd-root .sv-wrap .tri7 .tri-item .spill {order:0; flex:none;}
  .hd-root .sv-wrap .tri7 .tri-item .sv-new {order:1; flex:none;}
  .hd-root .sv-wrap .tri7 .tri-item .ttl {order:2; flex:1 1 auto; min-width:0; margin:0; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
  .hd-root .sv-wrap .tri7 .tri-item .meta {order:3; flex:0 1 auto; max-width:35%; margin:0;}
  .hd-root .sv-wrap .tri7 .tri-item .n {order:4; flex:none; margin-left:4px;}
}
.hd-root .sv-wrap {--sv-foot:130px;} /* the side panel's foot lines up with the reply box's */
/* Small windows: Staff view's count strip and Open / Done / All are slimmer ("these can also not be as high"). */
@media (max-width:1250px) {
  .hd-root .sv-wrap .tbar3, .hd-root .sv-wrap .tbar3 > * {min-height:0; height:42px;}
  .hd-root .sv-wrap .tri-list > .pane-head.sv-filters, .hd-root .sv-wrap .sv-filters .segc {height:40px; min-height:0;}
  .hd-root .sv-wrap .sv-filters .segc button {padding-top:0; padding-bottom:0;}
}
.hd-root .menu > .right {margin-left:auto;} /* the row's tools stay at its right end at every width */
/* SMALL WINDOWS, the bottom bar (owner 2026-10-20): Report · Conversation · Evidence along the bottom; the conversation
   or the evidence opens WHERE THE REPORT IS (the whole middle, under the item's head), not as a side drawer. */
.hd-root .drw-bar {display:none;}
@media (max-width:1250px) {
  .hd-root :is(.tri-main, .tk7) {padding-bottom:48px; box-sizing:border-box;}
  .hd-root .drw-bar {display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); position:absolute; left:0; right:0; bottom:0; height:48px; z-index:16;
    background:var(--sh-tabs, var(--panel)); border-top:1px solid var(--line);}
  .hd-root .drw-bar button {display:flex; align-items:center; justify-content:center; gap:8px; border:0; background:transparent; color:var(--muted);
    font:inherit; font-size:13.5px; font-weight:600; cursor:pointer;}
  .hd-root .drw-bar button:hover {color:var(--text); background:var(--soft);}
  .hd-root .drw-bar button.on {color:var(--text); background:var(--soft2); box-shadow:inset 0 2px 0 var(--accent);}
  .hd-root .drw-bar button b {font-size:11px; background:var(--soft2); border-radius:999px; padding:0 6px; color:var(--text);}
  .hd-root .drw-btns, .hd-root .drw-x {display:none !important;}
  .hd-root :is(.tri-main, .tk7) > :is(.evidence, .chat-panel) {left:0; right:0; width:auto; bottom:48px; transform:none; transition:none;
    box-shadow:none; border-left:0; display:none;}
  .hd-root .hd-wrap.drawer-open :is(.tri-main, .tk7) > :is(.evidence, .chat-panel) {display:flex;}
}
@media (max-width:520px) { .hd-root .drw-bar button span {display:none;} }
@media (max-width:1250px) { .hd-root :is(.tri-main, .tk7) > :is(.evidence, .chat-panel) > .rtabs {display:none;} } /* the bottom bar is the switch */
/* Staff view's bottom bar: Conversation · What you sent. Minimised on a wide window, the panel waits for small ones. */
.hd-root .sv-side2.small-only {display:none;}
@media (max-width:1250px) {
  .hd-root .drw-bar.sv-bar {grid-template-columns:repeat(2, minmax(0,1fr));}
  .hd-root .sv-wrap .sv-rail {display:none;}
  .hd-root .sv-wrap .tri-main > .sv-side2 > .pane-head .sv-hbtns {display:none;}
}

/* LAYOUT PASS (owner 2026-10-20: "looks good in both Admin and Staff view, any reasonable screen size, split
   screens, the Quake menu and the help desk shrunk or not"). */
/* A tab row that does not fit: icons and counts; "My views" → "views"; "Open this first" → its star. */
.hd-root .menu.fit .mtabs > button[data-tab] .tl, .hd-root .menu.fit .mv-my, .hd-root .menu.fit .defbtn .db-t, .hd-root .menu.fit .mp-btn > span {display:none;}
.hd-root .menu.fit .mtabs > button[data-tab] {gap:5px; padding-left:14px; padding-right:14px;}
.hd-root .defbtn {white-space:nowrap;}
/* Shrunk header with no room in the row: the search on a slim row of its own. */
.hd-root.hd-compact > header.top.row {position:static; height:auto; width:auto; display:flex; padding:0 0 10px; pointer-events:auto;}
.hd-root.hd-compact > header.top.row h1 {display:none;}
.hd-root.hd-compact > header.top.row .hd-search {flex:1 1 auto; max-width:none; margin:0;}
.hd-root.hd-compact:has(> header.top.row) .hd-main {padding-top:0;}
/* The right panel's Conversation / Evidence tabs give way rather than spill. */
.hd-root .rtabs .segc {min-width:0; flex:1 1 auto;}
.hd-root .rtabs .segc button {min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
/* The list head's legend steps aside on a laptop. */
@media (max-width:1440px) { .hd-root .lhead .legend2 {display:none;} }
/* Small windows: the list is always the rail beside the item (Admin and Staff view), never stacked over it. */
@media (max-width:860px) {
  .hd-root .tri7.lmin, .hd-root .sv-wrap .tri7.lmin {grid-template-columns:64px minmax(0,1fr); grid-template-rows:none;}
  .hd-root .tri7.lmin > .tri-list, .hd-root .sv-wrap .tri7.lmin > .tri-list {max-height:none; border-bottom:0; border-right:1px solid var(--line);}
  .hd-root .tri7.lmin > .rail .rail-head [data-pane="left"] {display:none;}
}
.hd-root .sv-fcycle {width:52px; margin:8px auto 2px; font-size:11px; font-weight:700; height:26px;}
.hd-root .sv-rst {display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--soft2); color:var(--muted);}
.hd-root .sv-rst.you {background:var(--wash); color:var(--accent);}
.hd-root .sv-rst.done {background:var(--ok-wash); color:var(--ok);}
.hd-root .sv-rst.work, .hd-root .sv-rst.planned {background:var(--blue-wash); color:var(--blue);}
.hd-root .sv-rst.later {background:var(--amber-wash); color:var(--amber);}
.hd-root .menu.fit .mv-v {text-transform:capitalize;}
@media (max-width:860px) { .hd-root .tri7.lmin > .rail > .rail-head {display:none;} } /* nothing to open on a small window: no empty head */

/* Read and unread in the lists (owner 2026-10-20): unread rows in bold with the dot, read rows in normal weight. */
.hd-root .lrow2.unread .lt {font-weight:700; color:var(--text);}
.hd-root .lrow2.read .lt {font-weight:500;}
.hd-root .lhead .read-seg {flex:none; height:28px;}
.hd-root .lhead .read-seg button {padding:0 10px; font-size:12.5px;}
.hd-root .lhead .read-seg b {margin-left:4px; font-size:11px; color:var(--accent);}

/* Pictures waiting to go with a message (owner 2026-10-20): above the words, each with its ×; a drop lights the box. */
.hd-root .cbox {flex-wrap:wrap;}
.hd-root .cbox .cpend {flex:1 0 100%; display:flex; flex-wrap:wrap; gap:6px; padding:2px 0 6px;}
.hd-root .cbox .cpend[hidden] {display:none;}
.hd-root .cbox .cpend figure {position:relative; margin:0; width:72px; height:54px; border-radius:8px; overflow:hidden; border:1px solid var(--line); background:var(--soft2);}
.hd-root .cbox .cpend img {width:100%; height:100%; object-fit:cover; object-position:top left; display:block;}
.hd-root .cbox .cpend button {position:absolute; top:2px; right:2px; width:20px; height:20px; border:0; border-radius:50%; background:rgba(0,0,0,.65); color:#fff; font-size:13px; line-height:1; cursor:pointer;}
.hd-root .cbox.cdrop {border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent);}

/* Reminders (1061): the button shows its date while set; a set reminder beside the title in the lists. */
.hd-root .remind-btn {gap:5px; width:auto; padding:0 8px;}
.hd-root .remind-btn.on {color:#a78bfa; background:color-mix(in srgb, #a78bfa 14%, transparent);}
.hd-root .remind-btn b {font-size:12px; font-weight:700;}
.hd-root .remind-menu {right:0; left:auto; width:240px;}
.hd-root .lt .rem-tag {display:inline-flex; align-items:center; gap:4px; margin-left:8px; font-size:11.5px; font-weight:600; color:#a78bfa; vertical-align:middle;}

/* Nothing waiting and you replied last: done, in green (owner 2026-10-20). */
.hd-root .cstate.done .cs-i {background:var(--ok-wash); color:var(--ok);}
.hd-root .cstate.done b {color:var(--ok);}

/* The lists under the chips in colour (owner 2026-10-20: "they should be their own colours … the colour it will show if
   you change to it"): each priority in its own, each person in their initials' colour, Unassigned grey. */
.hd-root .dchip select option {background:var(--panel); font-weight:600;}
.hd-root .dchip option.po1 {color:#ef4444;}
.hd-root .dchip option.po2 {color:#f97316;}
.hd-root .dchip option.po3 {color:#eab308;}
.hd-root .dchip option.po4 {color:#60a5fa;}
.hd-root .dchip option.po5, .hd-root .dchip option.oc-none {color:#9ca3af;}
.hd-root option.oc-c1 {color:#818cf8;}
.hd-root option.oc-c2 {color:#22c55e;}
.hd-root option.oc-c3 {color:#f59e0b;}
.hd-root option.oc-c4 {color:#c084fc;}
.hd-root option.oc-c5 {color:#fb7185;}
.hd-root option.oc-c6 {color:#22d3ee;}
/* The person on the chip in their own colour, as their initials (owner 2026-10-20). */
.hd-root .dchip.who-on.oc-c1, .hd-root .dchip.who-on.oc-c1 .dl {color:#818cf8;}
.hd-root .dchip.who-on.oc-c2, .hd-root .dchip.who-on.oc-c2 .dl {color:#22c55e;}
.hd-root .dchip.who-on.oc-c3, .hd-root .dchip.who-on.oc-c3 .dl {color:#f59e0b;}
.hd-root .dchip.who-on.oc-c4, .hd-root .dchip.who-on.oc-c4 .dl {color:#c084fc;}
.hd-root .dchip.who-on.oc-c5, .hd-root .dchip.who-on.oc-c5 .dl {color:#fb7185;}
.hd-root .dchip.who-on.oc-c6, .hd-root .dchip.who-on.oc-c6 .dl {color:#22d3ee;}

/* Each status in its own colour, in the list and on the chip (owner 2026-10-21: "should not be the same colours"). */
.hd-root option.so-review, .hd-root .dchip.so-review, .hd-root .dchip.so-review .dl {color:#ef4444;}
.hd-root option.so-prioritised, .hd-root .dchip.so-prioritised, .hd-root .dchip.so-prioritised .dl {color:#f97316;}
.hd-root option.so-progress, .hd-root .dchip.so-progress, .hd-root .dchip.so-progress .dl {color:#3b82f6;}
.hd-root option.so-waiting, .hd-root .dchip.so-waiting, .hd-root .dchip.so-waiting .dl {color:#c084fc;}
.hd-root option.so-parked, .hd-root .dchip.so-parked, .hd-root .dchip.so-parked .dl {color:#9ca3af;}
.hd-root option.so-closed, .hd-root .dchip.so-closed, .hd-root .dchip.so-closed .dl {color:#22c55e;}
.hd-root option[class^="so-"]:disabled {opacity:.55;}

/* Who is told about Triage (1260): one tick per feedback administrator. */
.hd-root .tri-alerts .ta-list {display:flex; flex-wrap:wrap; gap:8px; margin-top:10px;}
.hd-root .tri-alerts .ta-who {display:inline-flex; align-items:center; gap:8px; padding:6px 12px 6px 8px; border:1px solid var(--line); border-radius:999px; cursor:pointer; color:var(--muted);}
.hd-root .tri-alerts .ta-who.on {color:var(--text); border-color:var(--ok); background:var(--ok-wash);}
.hd-root .tri-alerts .ta-who input {margin:0;}

/* Already being worked on (owner 2026-10-23): over the report, in amber, with who has it. */
.hd-root .clash {display:flex; gap:10px; align-items:flex-start; margin:0 0 14px; padding:10px 12px; border:1px solid var(--amber); border-radius:10px; background:color-mix(in srgb, var(--amber) 12%, transparent); color:var(--text);}
.hd-root .clash > svg {color:var(--amber); flex:none; margin-top:2px;}
.hd-root .clash-t {display:flex; flex-direction:column; gap:6px; min-width:0;}
.hd-root .clash-row {display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px;}
.hd-root .clash-row a {font-weight:600; color:var(--text);}
.hd-root .clash-row small {color:var(--muted);}
.hd-root .clash-row .clash-why {flex-basis:100%; font-style:italic;}
.hd-root .clash-row .btn {font-weight:600;}
.hd-root .clash-row .clash-merge {color:#1a1306; background:var(--amber); border:1px solid var(--amber);}
.hd-root .clash-row .clash-merge:hover {background:color-mix(in srgb, var(--amber) 85%, #fff);}
.hd-root .clash-row .clash-notsame {color:var(--text); background:var(--panel); border:1px solid var(--line);}
.hd-root .clash-row .clash-notsame:hover {border-color:var(--muted);}
.hd-root .clash-row .clash-putback {color:var(--amber); background:transparent; border:1px solid var(--amber);}
.hd-root .clash-row .clash-putback:hover {background:color-mix(in srgb, var(--amber) 15%, transparent);}
.hd-root .clash-quiet {display:flex; flex-direction:column; gap:6px; margin:0 0 14px;}
.hd-root .clash-aside .btn-link {font-size:inherit; color:var(--accent);}
