:root{
    --bg:#fbfaf8; --card:#ffffff; --ink:#2e2a27; --muted:#857d76; --line:#ece8e2; --line2:#f4f1ec;
    --brand-plum:#672046; --brand-amber:#bd6f1e; --brand-rust:#ac4c26; --brand-ink:#1f2a30;
    --dark:#4f1a37; --accent:#672046; --accent-soft:#f3e6ee; --plum:#672046; --segon:#672046; --good:#2f5d4e; --good-soft:#e3ece6;
    --amber:#a86d14; --amber-soft:#f8ecd6; --red:#a8412f; --red-soft:#f6e4de; --blue:#3b5b86; --blue-soft:#e6edf6;
    /* meaningful colors */
    --iced:#3d7fb8; --hot:#c4553a; --kids:#e0b25a; --togo:#a87b4f; --here:#3f7a68;
    --m-whole:#d4bd8a; --m-oat:#b38b45; --m-alm:#8a6440; --m-breve:#e3d2a6;
    --k-coffee:#5a3b26; --k-seas:#d07a2d; --k-nc:#7f9a45; --k-burr:#b5452f; --k-pas1:#d9a441; --k-pas2:#e6c47c; --k-retail:#61707a; --k-fridge:#4f9fa5;
    --c-esp:#4b2e1d; --c-milk:#d4bd8a; --c-syr:#c08a2e; --c-oth:#7f9a45; --c-res:#61707a; --c-pkg:#a87b4f; --c-lab:#5b6b8a; --c-mar:#2f5d4e;
    --serif:inherit;
  }
  *{box-sizing:border-box}
  html{scroll-behavior:smooth}
  body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;font-variant-numeric:tabular-nums}
  .wrap{max-width:1240px;margin:0 auto;padding:0 28px 64px}
  header.top .wrap{padding-bottom:0}
  .topbar{display:flex;align-items:center;gap:28px;height:62px}
  .logo{height:34px;display:block}
  .meta{display:flex;flex-direction:column;align-items:flex-end;gap:2px;line-height:1.3}
  .ws{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--ink)}
  .ws i{width:7px;height:7px;border-radius:50%;background:var(--good);display:inline-block}
  .tabs{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;background:#f3f0ef;border:1px solid #e8e1e3;border-radius:12px;margin-top:18px;max-width:100%;vertical-align:top}
  .tabs button{display:flex;align-items:center;gap:10px;min-width:0;text-align:left;border:1px solid transparent;border-radius:9px;background:transparent;font:inherit;padding:8px 12px;color:var(--ink);cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
  .tabs button:hover{background:#f9f6f7}
  .tabs button.on{background:#fff;border-color:#a17690;box-shadow:0 1px 4px rgba(79,26,55,.10);color:var(--brand-plum)}
  .tabs button:focus-visible{outline:2px solid var(--brand-plum);outline-offset:2px}
  .tab-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#e9e1e6;color:#876478;flex:none}
  .tab-icon svg{width:18px;height:18px}
  .tabs button.on .tab-icon{background:var(--brand-plum);color:white}
  .tab-copy{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.25}
  .tab-copy strong{font-size:13px;font-weight:650;white-space:nowrap}
  .tab-copy small{font-size:11px;font-weight:400;color:var(--muted)}
  @media(max-width:600px){.tabs{display:grid;width:100%}.tabs button{gap:6px;padding:7px 6px}.tab-icon{width:28px;height:28px}.tab-copy strong{font-size:11.5px;white-space:normal}.tab-copy small{font-size:10px}}
  @media(max-width:360px){.tabs button{gap:5px}.tab-icon{width:24px;height:24px}.tab-copy strong{font-size:11px}}
  .secnav{display:flex;gap:4px 18px;flex-wrap:wrap;margin-top:10px}
  .secnav a{font-size:12.5px;color:var(--muted);text-decoration:none;border-bottom:1px solid transparent;padding-bottom:1px}
  .secnav a:hover{color:var(--brand-plum);border-bottom-color:var(--brand-plum)}
  .fresh{font-size:12px;color:var(--muted);white-space:nowrap}
  header.top{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);border-bottom:1px solid var(--line2)}
  .chip{font-size:12px;padding:3px 9px;border-radius:999px;background:var(--amber-soft);color:#7a4f10;white-space:nowrap}
  .spacer{flex:1}
  section [id^="s-"],section [id^="m-"],#notCosted{scroll-margin-top:72px}
  .titlebar{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:22px 0 14px;flex-wrap:wrap}
  h1{font-weight:600;font-size:26px;letter-spacing:-.015em;line-height:1.15;margin:0}
  .titlebar p{margin:4px 0 0;color:var(--muted);font-size:13px}
  .seg{display:inline-flex;background:#f3f0eb;border:1px solid var(--line2);border-radius:9px;padding:3px}
  .seg button{border:0;background:transparent;padding:6px 12px;border-radius:7px;font:inherit;font-size:13px;color:var(--muted);cursor:pointer}
  .seg button.on{background:#fff;color:var(--brand-plum);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.08)}
  .card{background:var(--card);border:1px solid var(--line2);border-radius:12px;padding:16px 18px;box-shadow:0 1px 2px rgba(60,40,30,.03)}
  .filters{display:grid;grid-template-columns:repeat(var(--n,3),1fr) auto;gap:12px;align-items:end;padding:12px 14px}
  .filters label{display:block;font-size:12px;font-weight:600;margin-bottom:5px;color:var(--muted)}
  .filters select,.field input{width:100%;padding:6px 9px;border:1px solid var(--line);border-radius:7px;font:inherit;font-size:13.5px;background:#fff;color:var(--ink)}
  .filters a{font-size:13px;color:var(--accent);font-weight:600;white-space:nowrap;padding-bottom:8px}
  .focusbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:10px 16px;border-radius:12px;background:#f6ecf1;border:1px solid #e6cbd8;font-size:13.5px}
  .focusbar a{font-weight:600;color:var(--brand-plum)}
  .brief{margin-top:14px}
  .answer{font-size:20px;font-weight:500;line-height:1.3;margin:0 0 4px;letter-spacing:-.01em}
  .answer .big{color:var(--brand-plum)}
  .brief .sub{color:var(--muted);margin:0;font-size:13.5px}
  .mini{display:flex;gap:30px;flex-wrap:wrap;margin-top:12px}
  .mini div{cursor:default} .mini .v{font-size:15px;font-weight:600} .mini .l{font-size:12px;color:var(--muted)}
  .mini div.clk{cursor:pointer} .mini div.clk:hover .v{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
  .kstrip{display:grid;grid-template-columns:repeat(var(--k,4),1fr);border:1px solid var(--line2);border-radius:12px;overflow:hidden;background:var(--card);margin-top:14px;box-shadow:0 1px 2px rgba(60,40,30,.03)}
  .kstrip>div{padding:13px 16px;border-left:1px solid var(--line2);cursor:pointer;transition:background .15s} .kstrip>div:hover{background:#faf6ee}
  .kstrip>div:first-child{border-left:0}
  .kstrip>div.act{box-shadow:inset 0 -2px 0 var(--brand-plum)}
  .kstrip .l{font-size:12px;font-weight:500;color:var(--muted)} .kstrip .v{font-size:22px;font-weight:600;line-height:1.15;margin:6px 0 3px;letter-spacing:-.01em}
  .kstrip .s{font-size:12px;color:var(--muted)} .kstrip>div:first-child .v{color:var(--brand-plum)}
  .delta{font-size:12.5px;font-weight:600;margin-top:4px} .delta.up{color:var(--good)} .delta.dn{color:var(--red)}  
  .grid{display:grid;gap:14px} .g-2{grid-template-columns:1fr 1fr} .g-21{grid-template-columns:1.85fr 1fr} .g-main{grid-template-columns:1fr 318px;align-items:start}
  .g-auto{grid-template-columns:repeat(auto-fit,minmax(215px,1fr))}
  .mt{margin-top:14px}
  @media(max-width:1000px){.g-2,.g-21,.g-main{grid-template-columns:1fr}.kstrip{grid-template-columns:1fr 1fr}.filters{grid-template-columns:1fr 1fr}}
  .ch{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px} .ch h3{margin:0;font-size:14px;font-weight:600}
  .cap{font-size:12px;color:var(--muted);margin:2px 0 8px}
  .sechead{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:30px 0 10px;flex-wrap:wrap}
  .sechead h2{font-weight:600;font-size:17px;margin:0;letter-spacing:-.01em}
  .sechead span{font-size:12.5px;color:var(--muted);max-width:60%;text-align:right}
  table{width:100%;border-collapse:collapse;font-size:13px}
  th{font-size:11.5px;color:var(--muted);font-weight:500;text-align:right;padding:7px 8px;border-bottom:1px solid var(--line);white-space:nowrap}
  th:first-child,td:first-child{text-align:left}
  td{padding:7px 8px;border-bottom:1px solid var(--line2);text-align:right}
  tr.click{cursor:pointer} tr.click:hover td{background:#faf6ee} tr.sel td{background:#f6ecf1}
  tr.low td{background:#fcf3f0}
  .bar{height:4px;border-radius:2px;margin-top:5px;opacity:.75}
  .neg{color:var(--red);font-weight:600}
  .rows .r{display:grid;grid-template-columns:14px 1fr auto 56px;gap:8px;align-items:center;padding:8px 6px;border-bottom:1px solid var(--line2);font-size:13.5px;cursor:pointer;border-radius:6px}
  .rows .r:hover{background:#faf6ee} .rows .r.on{background:#f6ecf1}
  .rows .r b{font-weight:600;text-align:right} .rows .r em{font-style:normal;color:var(--muted);font-size:12.5px;text-align:right}
  .rows .gap{height:14px}
  .sq{width:10px;height:10px;border-radius:2px;display:inline-block}
  .hbar{display:grid;grid-template-columns:minmax(120px,1.1fr) 2fr auto;gap:10px;align-items:center;font-size:13px;padding:4px 6px;border-radius:6px;cursor:pointer}
  .hbar:hover{background:#faf6ee} .hbar.on{background:#f6ecf1}
  .hbar .t{height:8px;background:#f2efea;border-radius:4px;overflow:hidden} .hbar .t i{display:block;height:100%;border-radius:4px}
  .hbar .v{min-width:100px;text-align:right}
  .insights b{font-weight:600}
  .insights{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px 28px;font-size:13.5px}
  @media(max-width:1000px){.insights{grid-template-columns:1fr}}
  .insights li{padding-left:16px;position:relative}
  .insights li:before{content:"";position:absolute;left:0;top:8px;width:6px;height:6px;border-radius:50%;background:var(--brand-amber)}
  .conf{font-size:11px;font-weight:600;padding:1px 7px;border-radius:5px;white-space:nowrap}
  .conf.card{background:var(--good-soft);color:var(--good)} .conf.partial{background:var(--amber-soft);color:#7a4f10} .conf.purch{background:var(--blue-soft);color:var(--blue)} .conf.resale{background:#eceff0;color:#53616a}
  .find{display:flex;flex-direction:column;gap:7px}
  .tag{align-self:flex-start;font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:6px}
  .tag.red{background:var(--red-soft);color:var(--red)} .tag.amb{background:var(--amber-soft);color:#7a4f10} .tag.grn{background:var(--good-soft);color:var(--good)}
  .find .h{font-weight:600;font-size:14px;line-height:1.3}
  .find .num{font-size:20px;font-weight:600;line-height:1.15}
  .find p{margin:0;color:var(--muted);font-size:12.5px}
  .find .act{font-size:12.5px;border-top:1px solid var(--line2);padding-top:8px;margin-top:auto;display:flex;justify-content:space-between;gap:8px;align-items:center}
  button.try{font:inherit;font-size:12px;font-weight:600;border:1px solid var(--accent);color:var(--accent);background:#fff;border-radius:7px;padding:4px 9px;cursor:pointer;white-space:nowrap}
  button.try:hover{background:var(--accent);color:#fff}
  .field{margin-bottom:14px}
  .field label{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;font-weight:600;margin-bottom:6px}
  .src{font-weight:500;font-size:11px;padding:1px 7px;border-radius:5px;white-space:nowrap}
  .src.a{background:var(--amber-soft);color:#7a4f10} .src.d{background:var(--good-soft);color:var(--good)}
  .hint{font-size:12px;color:var(--muted);margin-top:5px}
  .qp{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px} .qp button{font:inherit;font-size:11.5px;border:1px solid var(--line);background:#fff;border-radius:6px;padding:2px 7px;cursor:pointer;color:var(--ink)} .qp button:hover{border-color:var(--accent)}
  .sticky{position:sticky;top:72px}
  .scen{display:flex;gap:14px;align-items:center;justify-content:space-between;background:var(--good-soft);border:1px solid #cfe0d6;border-radius:12px;padding:12px 16px;margin-top:14px;font-size:14px}
  .scen.neg{background:#fbefeb;border-color:#efcfc5}
  .scen a{color:var(--good);font-weight:600;font-size:13px}
  .stack{display:flex;height:18px;border-radius:6px;overflow:hidden;margin:8px 0 14px}
  .legend{display:grid;grid-template-columns:1fr auto auto;column-gap:14px;row-gap:0;font-size:12.5px}
  .legend span{padding:4px 4px}
  .legend .lr{display:contents;cursor:pointer}
  .legend .lr:hover>span{background:#faf6ee} .legend .lr.on>span{background:#f6ecf1}
  .legend .sw{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:8px;vertical-align:-1px}
  .legend .tot>span{font-weight:600;border-top:1px solid var(--line)}
  .legend .pc{color:var(--muted)}
  .pill{display:inline-block;font-size:12px;color:var(--muted);background:#efe9de;border-radius:6px;padding:2px 8px;margin:0 6px 6px 0}
  a.pill{text-decoration:none;cursor:pointer} a.pill:hover{background:#e4dccd;color:var(--ink)}
  .note{font-size:12.5px;color:var(--muted);margin-top:10px}
  .keyrow{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:6px} .keyrow span{display:inline-flex;align-items:center;gap:6px}
  svg text{font-size:11px;fill:var(--muted)}
  svg .hit{cursor:pointer}
  .hidden{display:none!important}
  footer{margin-top:44px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:18px}
  footer img{height:18px;opacity:.85}
  a{color:var(--accent)}

  /* scorlabs IQ: reserved for the two principal narrative panels */
  :root{--iq-bg:#f0f6f2;--iq-line:#dbe8df;--iq-dark:#2f5d4e;--iq-sage:#527f6d;--iq-muted:#64766c;--iq-chip:#e1ede5}
  .iq-panel{position:relative;background:linear-gradient(125deg,#f5f9f6 0%,#eff6f1 65%,#e8f2ec 100%);border:1px solid var(--iq-line);border-radius:13px;padding:18px 20px 12px;box-shadow:0 1px 2px rgba(40,75,55,.04);overflow:hidden}
  .iq-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px;color:var(--iq-dark)}
  .iq-heading h2,.iq-heading h3{font-size:16px;font-weight:650;margin:0;color:var(--iq-dark)}
  .iq-heading>svg{width:23px;height:23px;flex:none;color:var(--iq-sage)}
  .iq-heading .iq-caption{color:var(--iq-muted);font-size:12px;font-weight:400;border-left:1px solid #c7dbcf;padding-left:10px}
  .iq-panel .insights{gap:15px 24px;grid-template-columns:1fr 1fr}
  .iq-panel .insights li{display:flex;align-items:flex-start;gap:10px;padding:0;line-height:1.5;color:#35483e}
  .iq-panel .insights li:before{display:none}
  .iq-panel .insights li b{color:#263b31;font-weight:650}
  .iq-icon{width:33px;height:33px;border-radius:8px;background:var(--iq-chip);color:var(--iq-sage);display:grid;place-items:center;flex:none}
  .iq-icon svg{width:19px;height:19px}
  .iq-footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:15px;border-top:1px solid #d5e4da;padding-top:9px;color:var(--iq-muted);font-size:10.5px;line-height:1}
  .iq-brand{display:inline-flex;align-items:center;gap:4px;color:var(--iq-sage);font-size:17px;letter-spacing:-.03em}
  .iq-brand img{height:24px;width:auto;opacity:.88;display:block}
  .iq-brand b{font-weight:650}
  #m-find{scroll-margin-top:90px}
  #m-find .iq-heading{margin-bottom:6px}
  #findCap{font-size:12px;color:var(--iq-muted);margin:0 0 12px}
  #findings{gap:10px}
  #findings .find{background:rgba(255,255,255,.78);border-color:#dbe8df;padding:12px;box-shadow:none}
  #findings .find .act{border-color:#e1ebe4}
  .chart-insight{display:flex;align-items:flex-start;gap:7px;border-top:1px solid #e3eae4;margin:9px 0 0;padding-top:9px;color:#53675d;font-size:12px;line-height:1.45}
  .chart-insight svg{width:15px;height:15px;color:var(--iq-sage);flex:none;margin-top:1px}
  .chart-insight:empty{display:none}
  #matrixScale{flex:none} #matrixScale button{padding:4px 8px;font-size:11.5px}
  @media(max-width:1000px){.iq-panel .insights{grid-template-columns:1fr}}
  @media(max-width:600px){.iq-panel{padding:14px 12px 10px}.iq-heading .iq-caption{border:0;padding-left:0}.iq-panel .insights{gap:12px}.iq-brand img{height:20px}.iq-brand{font-size:15px}#findings{grid-template-columns:1fr}}

  /* V3: scoped IQ refinements. Preserve all core dashboard tokens. */
  :root{--map-coffee:#75442c;--map-seas:#e89b25;--map-nc:#368c78}
  .iq-panel{isolation:isolate;background:radial-gradient(ellipse at 50% 48%,#fafcfb 0%,#f4f9f6 50%,#e7f2eb 100%);border-color:#e2eee6;padding:21px 22px 0;border-radius:14px}
  .iq-panel .iq-heading{margin-bottom:18px}
  .iq-heading h2,.iq-heading h3{font-size:18px;font-weight:650;letter-spacing:-.012em}
  .iq-heading>svg{width:25px;height:25px;color:#3d715b}
  .iq-panel .insights{gap:0 24px;grid-template-columns:1fr 1fr}
  .iq-panel .insights li{padding:13px 0;border-top:1px solid #dce8df;color:#34433b;gap:12px;align-items:flex-start}
  .iq-panel .insights li:nth-child(-n+2){border-top:0;padding-top:0}
  .iq-icon{width:38px;height:38px;border-radius:10px;background:linear-gradient(145deg,#e0eee5,#dcebe2);color:#3e725a}
  .iq-icon svg{width:21px;height:21px}
  .iq-footer{position:relative;isolation:isolate;min-height:64px;margin:4px -22px 0;padding:20px 22px 15px;border:0;font-size:11px;gap:9px}
  .iq-footer::before{content:"";position:absolute;z-index:-1;inset:0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201200%2090%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22w%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%220%22%3E%3Cstop%20stop-color%3D%22%23dcece2%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e7f2eb%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M0%2020%20C185%209%20285%2076%20470%2062%20S825%20-1%201200%204%20V90%20H0Z%22%20fill%3D%22url%28%23w%29%22%2F%3E%3C%2Fsvg%3E") center bottom/100% 100% no-repeat;pointer-events:none}
  .iq-brand img{height:26px;opacity:.92}
  .iq-brand{font-size:18px;color:#527f6d}
  #m-find .iq-heading{margin-bottom:6px}
  #findings{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  #findings .find{background:rgba(255,255,255,.66);border-color:#dce9e1;padding:12px 14px;min-width:0}
  #findings .find .act{flex-wrap:wrap;align-items:center}
  #findings .find .act>span{flex:1 1 125px;min-width:0}
  #findings .find .try{flex:none}
  #m-map .keyrow .sq{border-radius:50%;width:11px;height:11px}
  @media(max-width:1000px){#findings{grid-template-columns:repeat(2,minmax(0,1fr))}.iq-panel .insights{grid-template-columns:1fr}.iq-panel .insights li:nth-child(2){border-top:1px solid #dce8df;padding-top:13px}}
  @media(max-width:600px){.iq-panel{padding:16px 13px 0}.iq-footer{margin-left:-13px;margin-right:-13px;padding-right:13px;min-height:57px}.iq-heading h2,.iq-heading h3{font-size:17px}.iq-brand img{height:22px}.iq-brand{font-size:16px}#findings{grid-template-columns:1fr}.iq-panel .insights li{padding:10px 0}.iq-icon{width:33px;height:33px}}


  /* V5: pinned controls, integrated narratives, explicit economics */
  .filter-dock{position:sticky;top:62px;z-index:15;background:var(--bg);padding:7px 0 9px;border-bottom:1px solid var(--line2)}
  .filter-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:7px}
  .filter-dock .focusbar{margin-top:6px;padding:6px 12px}
  section [id^="s-"],section [id^="m-"],#notCosted{scroll-margin-top:210px}
  .sticky{position:sticky;top:205px;max-height:calc(100vh - 220px);overflow:auto}
  .iq-brief{padding:0 0 17px;border-bottom:1px solid #dce8df;margin-bottom:15px}
  .iq-brief .answer{font-size:21px;color:#253a31}.iq-brief .big{color:#2f5d4e}.iq-brief .sub{margin:0;color:#53675b;font-size:13.5px}
  .iq-subhead{font-size:13px;font-weight:650;color:#395b4b;margin:10px 0 13px}
  .svc-group{font-size:12px;font-weight:650;color:var(--ink);display:flex;justify-content:space-between;align-items:center;padding:8px 6px 4px;border-bottom:1px solid var(--line)}.svc-group small{font-weight:400;color:var(--muted);font-size:10.5px}
  .local-readout{display:flex;align-items:center;gap:8px;background:#f5f1ee;border:1px solid var(--line);border-radius:7px;padding:7px 9px;font-size:12px}.local-readout>span{flex:1}.local-clear{border:0;background:none;cursor:pointer;font:inherit;font-size:18px;color:var(--muted)}
  svg .local-active{stroke:#672046;stroke-width:1.2;stroke-dasharray:3 3}
  #m-map #chMatrix{max-width:850px;margin:auto}.legend .legend-head>span{font-size:11px;font-weight:600;color:var(--muted);border-bottom:1px solid var(--line)}
  .legend .contribution>span{color:#2f5d4e;background:#edf5ef;font-weight:650}.legend .lr:not([data-b]){cursor:default}.legend .lr:not([data-b]):hover>span{background:inherit}
  .model-notice{font-size:12px;line-height:1.5;padding:10px 12px;border:1px solid #e6d7b9;border-radius:8px;background:#fffaf0;color:#665331;margin:10px 0 14px}
  .recipe-pills{margin:7px 0}.filter-tools .seg button{white-space:nowrap}
  @media(max-width:1000px){.sticky{position:static;max-height:none;overflow:visible}.filter-dock{top:62px}section [id^="s-"],section [id^="m-"],#notCosted{scroll-margin-top:280px}}
  @media(max-width:600px){.filter-dock{top:0;position:sticky}.filter-tools{gap:5px}.filter-tools .seg button{padding:5px 7px;font-size:11px}header.top{position:static}.iq-brief .answer{font-size:18px}.legend{column-gap:4px;font-size:11px}}
  /* V6: compact persistent navigation, predictable local selections, source workspace */
  :root{--header-h:115px;--dock-h:220px}
  header.top{position:sticky;top:0;z-index:30;background:#fff}
  header.top .topbar{height:52px}.topbar .logo{height:29px}
  header.top .tabs{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 8px;gap:3px;padding:3px}
  header.top .tabs button{padding:5px 10px;gap:8px}.tab-icon{width:30px;height:30px}
  .filter-dock{top:var(--header-h);z-index:25;padding:5px 0 8px;background:var(--bg)}
  section [id^="s-"],section [id^="m-"],#notCosted{scroll-margin-top:var(--dock-h)}
  .sticky{top:var(--dock-h);max-height:calc(100vh - var(--dock-h) - 14px);overflow:auto;scrollbar-width:thin;min-width:0}
  .grid{align-items:start}.grid>*{min-width:0}.g-main{grid-template-columns:minmax(0,1fr) minmax(275px,318px)}
  #m-table{overflow-x:auto}#m-table table{min-width:690px}#m-table th,#m-table td{padding:6px 5px}#m-table .inspect-product{padding:3px 6px}
  #m-table .conf{font-size:10px;padding:2px 4px}#m-table .note{min-width:0}
  .kstrip>div,.rows .r,.hbar,.legend .lr,tr.click{cursor:default}.kstrip>div:hover,.rows .r:hover,.hbar:hover,.legend .lr:hover>span,tr.click:hover td{background:inherit}.kstrip>div.act{box-shadow:none}
  .composition{display:flex;height:28px;border-radius:7px;overflow:hidden;margin:10px 0 14px;background:var(--line2)}
  .composition>span,.composition>button{display:flex;align-items:center;justify-content:center;color:white;font-size:11px;font-weight:650;min-width:0;overflow:hidden;white-space:nowrap}
  .composition>button{border:0;padding:0;cursor:pointer;transition:opacity .15s}.composition>button.dim{opacity:.42}.composition>button:hover{opacity:1;box-shadow:inset 0 0 0 2px #fff}.composition>button:focus-visible{outline:2px solid #222;outline-offset:-3px}
  .svc-stack{height:20px;margin:7px 0 5px}.svc-total{display:grid;grid-template-columns:1fr auto 56px;gap:8px;padding:7px 6px;font-size:12px;border-top:1px solid var(--line);text-align:right}.svc-total>span{text-align:left;color:var(--muted)}.svc-group{margin-top:8px}
  .cat-row{width:100%;font:inherit;font-size:13px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;padding:5px 6px}.cat-row:hover{background:#f7f3ee}.cat-row.on{background:#f4ebf0}.cat-row .v{font-variant-numeric:tabular-nums}.local-focus{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;margin:8px 0;background:#f3f0ef;border:1px solid var(--line);border-radius:8px;font-size:12px}.local-focus .try{flex:none}
  #advancedAssumptions{border-top:1px solid var(--line);padding-top:9px;margin-top:8px}#advancedAssumptions summary{cursor:pointer;font-size:13px;font-weight:650;color:var(--accent);padding:5px 0 10px}#advancedAssumptions[open] summary{margin-bottom:6px}
  .card:has(table){overflow-x:auto}.source-card .keyrow{margin:0 0 12px}.source-card td{white-space:normal;text-align:left}.source-card td:nth-child(2){width:31%}.data-overview p{margin:7px 0}.data-overview .card{height:auto}
  @media(max-width:1000px){.g-main{grid-template-columns:1fr}.g-main>aside{grid-row:1;position:static;max-height:none;overflow:visible}.g-main>div{grid-row:2}.sticky{position:static;max-height:none;overflow:visible}}
  @media(max-width:600px){header.top .topbar{height:43px;gap:8px}header.top .topbar .logo{height:24px}.meta .fresh{font-size:10px}.meta .ws{font-size:11px}header.top .tabs{width:100%;margin-bottom:5px}header.top .tabs button{padding:5px 3px;gap:4px}.tab-copy strong{font-size:10.5px;white-space:normal}.tab-copy small{display:none}.tab-icon{width:22px;height:22px}.tab-icon svg{width:15px;height:15px}.filter-dock .filters{padding:6px 8px;gap:5px 8px}.filter-dock .filters label{margin-bottom:2px;font-size:10px}.filter-dock .filters select{font-size:11px;padding:4px}.filter-dock .filter-tools{margin-bottom:3px}.filter-dock{padding:3px 0 5px}.cat-row{grid-template-columns:minmax(90px,1.1fr) 1fr auto;font-size:11px}.cat-row .v{min-width:0}.source-card{overflow:auto}.source-card td{font-size:12px}}
