:root{--text:#1F2733;--muted:#5F6978;--line:#E6E9EE;--line2:#CFD4DC;--bg:#F6F7F9;--card:#fff;--blue:#3459C4;--blue-d:#2A4DA6;--blue-l:#EFF3FC;--amber:#94651B;--amber-l:#FBF4E3;--red:#A83C34;--red-l:#FBEEEC;--green:#2E7050}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:13.5px/1.45 Inter,system-ui,sans-serif}
a{color:var(--blue);text-decoration:none;cursor:pointer}a:hover{color:var(--blue-d)}
.muted{color:var(--muted)}.small{font-size:12px}.right{text-align:right}.nowrap{white-space:nowrap}
.top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 24px;background:#fff;border-bottom:1px solid var(--line)}
.top .left{display:flex;align-items:center;gap:12px}.brand{font-weight:600;font-size:15px}
nav{display:flex;gap:4px}nav a{padding:8px 14px;border-radius:8px;color:var(--muted)}nav a.on{background:var(--blue-l);color:var(--blue-d);font-weight:600}
.shell{display:flex;min-height:calc(100vh - 58px)}
main{flex:1;min-width:0;padding:20px 24px 60px}
.btn{font:inherit;padding:7px 13px;border-radius:8px;border:1px solid var(--line2);background:#fff;color:var(--text);cursor:pointer}
.btn:hover{background:#f3f5f9}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn.primary:hover{background:var(--blue-d)}
.btn:disabled{opacity:.5;cursor:default}
h1{font-size:20px;margin:0 0 4px}h2{font-size:15px;margin:0}
.sub{color:var(--muted);margin:0 0 14px}
.card{background:#fff;border:1px solid var(--line);border-radius:10px}
table{border-collapse:collapse;width:100%}
th{text-align:left;font-weight:600;font-size:12px;color:var(--muted);padding:9px 12px;border-bottom:1px solid var(--line);background:#fafbfc;position:sticky;top:0}
td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
tr.click{cursor:pointer}tr.click:hover td{background:#f7f9fd}
.tag{display:inline-block;padding:2px 9px;border-radius:99px;font-size:12px;font-weight:500;background:#eef0f4;color:var(--text)}
.tag.ok{background:#EDF5F0;color:var(--green)}.tag.warn{background:var(--amber-l);color:var(--amber)}.tag.bad{background:var(--red-l);color:var(--red)}.tag.blue{background:var(--blue-l);color:var(--blue-d)}
.warn{color:var(--amber)}.bad{color:var(--red)}.ok{color:var(--green)}
.bar{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0 0 12px}
select,input[type=text],input[type=number],textarea{font:inherit;padding:6px 9px;border:1px solid var(--line2);border-radius:8px;background:#fff;color:var(--text)}
select{padding-right:6px}textarea{width:100%;resize:vertical}
/* comparison */
.cmp td.num,.cmp th.num{text-align:right}
.price{display:block;font-weight:500;color:var(--text);cursor:pointer}.price:hover{text-decoration:underline}
.price.best{color:var(--blue-d);font-weight:700}
.pw{font-size:12px;color:var(--amber);margin-top:2px;max-width:200px}
.pb{font-size:12px;color:var(--red);margin-top:2px}
.pn{font-size:12px;color:var(--muted);margin-top:2px;max-width:200px}
tr.changed td{background:#FFFBEA}
td.sel select{width:130px}
.banner{background:var(--blue-l);border:1px solid #c9d7f7;color:var(--blue-d);padding:9px 14px;border-radius:8px;margin:0 0 12px;display:flex;gap:12px;align-items:center;justify-content:space-between}
.banner.warn{background:var(--amber-l);border-color:#f0d9a0;color:var(--amber)}
.totalbar{display:flex;gap:28px;justify-content:flex-end;padding:12px 16px;border-top:1px solid var(--line);background:#fafbfc;border-radius:0 0 10px 10px}
.kpi b{display:block;font-size:18px}
/* peek */
.peek{position:fixed;top:0;right:0;bottom:0;width:min(640px,100vw);background:#fff;border-left:1px solid var(--line2);box-shadow:-8px 0 24px rgba(20,30,50,.10);overflow:auto;z-index:20}
.peek .hd{display:flex;justify-content:space-between;align-items:flex-start;padding:16px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}
.peek .bd{padding:4px 22px 60px}.peek h3{font-size:13.5px;font-weight:600;margin:20px 0 8px;color:var(--text);display:flex;align-items:center;gap:8px}
.x{border:0;background:transparent;font-size:20px;cursor:pointer;color:var(--muted)}
.ctx{font:12px/1.5 ui-monospace,Menlo,monospace;background:#fafbfc;border:1px solid var(--line);border-radius:8px;padding:8px 10px;overflow:auto;white-space:pre-wrap}
.ctx .hit{background:#FFF1B8}.ctx .loc{color:var(--muted)}
.steps{margin:0;padding-left:18px}.steps li{margin:2px 0}
.kv{display:grid;grid-template-columns:150px 1fr;gap:4px 12px}
.imgbox{border:1px solid var(--line);border-radius:8px;overflow:auto;max-height:420px}.imgbox img{width:100%;display:block}
iframe.view{width:100%;height:440px;border:1px solid var(--line);border-radius:8px}
.chk{display:flex;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.rate{display:grid;grid-template-columns:1fr 130px;gap:6px 14px;padding:12px 0;border-bottom:1px solid var(--line)}
/* modal */
.modal{position:fixed;inset:0;background:rgba(20,30,50,.35);z-index:40;display:flex;align-items:center;justify-content:center}
.modal .box{background:#fff;border-radius:12px;padding:20px;width:min(520px,94vw);box-shadow:0 12px 40px rgba(0,0,0,.25)}
/* chat */
.chat{width:420px;flex:none;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:calc(100vh - 58px)}
.chat.full{width:100%}
.chat .hd{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line)}
.chat .msgs{flex:1;overflow:auto;padding:14px 16px}
.msg{margin:0 0 14px}.msg.u{background:var(--blue-l);padding:8px 12px;border-radius:10px;margin-left:36px}
.msg.a table{font-size:13.5px;margin:8px 0}.msg.a th{position:static}
.msg .meta{font-size:12px;color:var(--muted);margin-top:6px}
.chat form{display:flex;gap:8px;padding:12px 16px;border-top:1px solid var(--line)}
.chat form{align-items:flex-end}
.chat form input{flex:1}
.chat form textarea{flex:1;width:auto;resize:none;max-height:140px;line-height:1.4;overflow-y:auto}
.send{width:36px;height:36px;flex:none;border-radius:50%;border:0;background:var(--blue);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.send:hover{background:var(--blue-d)}.send.stop{background:var(--text)}.send:disabled{opacity:.5;cursor:default}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.chips button{text-align:left;font:inherit;font-size:12px;padding:4px 10px;border-radius:99px;border:1px solid var(--line2);background:#fff;cursor:pointer}
.spin{display:inline-block;width:12px;height:12px;border:2px solid var(--line2);border-top-color:var(--blue);border-radius:50%;animation:s 1s linear infinite;vertical-align:-2px}
@keyframes s{to{transform:rotate(360deg)}}
.chart{margin:8px 0}.chart .row{display:flex;align-items:center;gap:8px;margin:4px 0}.chart .lbl{width:130px;font-size:12px}.chart .b{height:18px;background:var(--blue);border-radius:3px}.chart .b.alt{background:#9db4ee}
@media(max-width:900px){.chat{position:fixed;z-index:30;left:0;right:0;width:100% !important}main{padding:14px}}

/* one look for a missing value, everywhere: amber outline + 'Not stated yet' inside */
.miss{border-color:#E0A526 !important;background:#FFFBEA !important}.miss::placeholder{color:var(--amber);opacity:1}

/* help text */
.info{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;border:1px solid var(--line2);color:var(--muted);font:600 11px/1 Inter,system-ui,sans-serif;cursor:help;margin-left:6px;vertical-align:middle;background:#fff;text-transform:none}
.info:hover,.info:focus{border-color:var(--blue);color:var(--blue);outline:0}
#tip{position:fixed;display:none;z-index:100;max-width:300px;background:#1C2430;color:#fff;padding:9px 12px;border-radius:8px;font:12.5px/1.45 Inter,system-ui,sans-serif;box-shadow:0 6px 20px rgba(0,0,0,.25);pointer-events:none;font-weight:400;text-transform:none}
.req{color:var(--amber);margin-left:2px}
textarea.auto{resize:none;overflow:hidden;line-height:1.4;min-height:38px}
.note{font-size:12px;color:var(--amber);margin-top:3px}

#toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);display:none;z-index:120;max-width:min(560px,92vw);background:#fff;border:1px solid #f0d9a0;border-left:4px solid var(--amber);padding:10px 14px;border-radius:8px;box-shadow:0 6px 20px rgba(0,0,0,.15);font-size:13.5px}

/* vendor details: every section looks the same */
.sec{padding:14px 0 6px;border-bottom:1px solid var(--line)}.sec:last-child{border-bottom:0}
.sec h3{margin:0 0 6px}
.count{background:var(--bg);border:1px solid var(--line);border-radius:99px;font-size:12px;font-weight:500;color:var(--muted);padding:0 8px}
.rowx{display:grid;grid-template-columns:1fr auto;gap:4px 14px;padding:9px 0;border-top:1px solid var(--line);align-items:start;font-size:13.5px}
.sec .rowx:first-of-type,.rowx.first{border-top:0}
.ico{display:inline-block;width:22px;font-weight:700}.ico.ok{color:var(--green)}.ico.bad{color:var(--red)}
.kpis{display:flex;gap:28px;align-items:center;padding:14px 0 10px;flex-wrap:wrap}
.kpi b{display:block;font-size:18px}
.pulse{animation:pulse 2.2s ease-out}@keyframes pulse{0%,35%{background:#FFF1B8}100%{background:transparent}}
.modal .box.wide{width:min(760px,94vw)}
#toast.ok{border-color:#bfe3cf;border-left-color:var(--green)}
a.warn{color:var(--amber)}
/* file viewer */
.viewer{position:fixed;inset:0;background:rgba(20,30,50,.55);z-index:60;display:none;align-items:center;justify-content:center}
.vbox{background:#fff;border-radius:12px;width:min(1100px,95vw);height:min(90vh,950px);display:flex;flex-direction:column;box-shadow:0 16px 48px rgba(0,0,0,.3);overflow:hidden}
.vhd{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 18px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.vact{display:flex;gap:8px;align-items:center}
.vbd{flex:1;overflow:auto;background:#f0f2f6;display:flex;flex-direction:column;min-height:0}
.vtools{display:flex;gap:8px;align-items:center;padding:8px 14px;background:#fff;border-bottom:1px solid var(--line)}
.vimg{flex:1;overflow:auto;padding:14px}.vimg img{display:block;margin:0 auto;max-width:none}
.vpdf{flex:1;border:0;width:100%;min-height:0}
.mail{background:#fff;max-width:780px;width:100%;margin:22px auto;border-radius:10px;border:1px solid var(--line);padding:22px 28px}
.mhead{display:grid;grid-template-columns:80px 1fr;gap:4px 12px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--line);font-size:13.5px}
.mbody{font-size:15px;line-height:1.65;white-space:pre-wrap}.mbody .hit{background:#FFF1B8}
.vctx{margin:18px;max-height:none;background:#fff;font-size:13.5px}
@media(max-width:900px){.rowx{grid-template-columns:1fr}}

/* the bar at the bottom of the Request page: always in view, Send on the right */
.actionbar{position:sticky;bottom:0;z-index:5;margin:18px -24px -60px;padding:12px 24px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 12px rgba(20,30,50,.06);display:flex;justify-content:space-between;align-items:center;gap:16px}
.actionbar a{cursor:pointer;text-decoration:underline}
@media(max-width:900px){.actionbar{margin:18px -14px -60px;padding:10px 14px}}

.peek .sec{scroll-margin-top:76px}

/* comparison: frozen header, one shape for every note under a price */
.cmp th{position:sticky;top:0;z-index:4;background:#fafbfc;box-shadow:0 1px 0 var(--line)}
.cmp .vh{font-weight:400;font-size:12px;color:var(--muted);white-space:nowrap}
.pc{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.nt{display:block;font-size:12px;line-height:1.35;max-width:240px;text-align:right;cursor:pointer}
.nt.bad{color:var(--red)}.nt.warn{color:var(--amber)}.nt.dim{color:var(--muted)}.nt.ok{color:var(--green)}
tr.moved td{background:#F3F7FF}
tr.pulse td{animation:pulse 2.4s ease-out}
.whyt .rowx{border-top:1px solid var(--line)}

/* vendor details: collapsible sections and the summary */
details.sec{padding:0;border-bottom:1px solid var(--line)}
details.sec>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:13px 0}
details.sec>summary::-webkit-details-marker{display:none}
details.sec>summary::before{content:'▸';color:var(--muted);font-size:12px;width:12px;transition:transform .12s}
details.sec[open]>summary::before{transform:rotate(90deg)}
details.sec>summary h3{margin:0;flex:1}
details.sec>summary:hover h3{color:var(--blue-d)}
.secbody{padding:0 0 10px 20px}
.summary{padding:2px 0 14px;border-bottom:1px solid var(--line)}

/* vendor details: summary card, tiles, next step, accordion */
.peek{width:min(680px,100vw)}
.peek .bd.vp{padding:16px 22px 60px;background:#fafbfc}
.vsum{border:1px solid var(--line);border-radius:12px;padding:16px;background:#fff;box-shadow:0 1px 2px rgba(20,30,50,.04)}
.vsum-top{display:flex;gap:12px;align-items:flex-start}
.tag.lg{font-size:13.5px;padding:4px 12px;white-space:nowrap}
.vsum-line{font-size:13.5px;line-height:1.5;padding-top:2px}
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}
.tile{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fafbfc;text-align:left;font:inherit;color:var(--text);display:flex;flex-direction:column;gap:2px}
.tile b{font-size:18px;line-height:1.2}.tile span{font-size:12px;color:var(--muted)}
button.tile{cursor:pointer}button.tile:hover:not(:disabled){border-color:var(--blue);background:var(--blue-l)}button.tile:disabled{cursor:default;opacity:.7}
.tile.warn b{color:var(--amber)}
.vnext{display:flex;justify-content:space-between;align-items:center;gap:14px;background:var(--blue-l);border-radius:10px;padding:12px 14px}
.vnext .lbl{font-size:12px;color:var(--blue-d);font-weight:600;text-transform:uppercase;letter-spacing:.04em;margin-bottom:2px}
.vfacts{margin:12px 0 0;padding:0 0 0 18px;font-size:12px;color:var(--muted)}.vfacts li{padding:2px 0}
.acc{margin-top:16px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
details.acc-item+details.acc-item{border-top:1px solid var(--line)}
details.acc-item>summary{display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;list-style:none}
details.acc-item>summary::-webkit-details-marker{display:none}
details.acc-item>summary::after{content:'▾';color:var(--muted);font-size:12px;margin-left:2px;transition:transform .12s}
details.acc-item[open]>summary::after{transform:rotate(180deg)}
details.acc-item>summary:hover{background:#fafbfc}
details.acc-item>summary .t{flex:1;font-weight:600;font-size:13.5px;display:flex;align-items:center}
.acc-body{padding:2px 16px 12px;border-top:1px solid var(--line)}
.acc-body .rowx{padding:11px 0;font-size:13.5px}
.acc-body .rowx:first-child{border-top:0}
details.acc-item.pulse{animation:pulse 2.2s ease-out}
@media(max-width:700px){.tiles{grid-template-columns:repeat(2,1fr)}.vnext{flex-direction:column;align-items:flex-start}}

/* the bottom bar sits at the bottom of the screen even when the page is short */
main{display:flex;flex-direction:column}
main > .actionbar{margin-top:auto}
main > :nth-last-child(2){margin-bottom:18px}

/* the header stays at the top on every screen; things that stick or slide in start below it */
:root{--hdr:58px}
header.top{position:sticky;top:0;z-index:15}
.shell{min-height:calc(100vh - var(--hdr))}
.chat{top:var(--hdr);height:calc(100vh - var(--hdr))}
.peek{top:var(--hdr)}
.cmp th{top:var(--hdr)}
main details,main tr{scroll-margin-top:calc(var(--hdr) + 12px)}

.modal .box.xl{width:min(920px,95vw)}

#newver{position:fixed;left:24px;bottom:84px;z-index:110;display:flex;gap:12px;align-items:center;max-width:620px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--blue);padding:10px 14px;border-radius:8px;box-shadow:0 6px 20px rgba(0,0,0,.15);font-size:13.5px}

nav a.locked{color:#9AA3B2;cursor:not-allowed;background:transparent}
nav a.locked:hover{color:#9AA3B2}

header.top .right{display:flex;align-items:center;gap:18px}
.vsep{width:1px;height:24px;background:var(--line2)}
.btn.startover{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:13.5px}

.pagehead{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.pagehead h1{margin:0 0 4px}
.btn.ai{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.btn.ai.on{background:var(--blue-l);border-color:#c9d7f7;color:var(--blue-d)}

/* Comparison: the table scrolls inside its own frame, so the header stays on top and Line, Item, Qty (left) and Selected (right) stay in view while the vendors scroll between them */
.cmpwrap{overflow:auto;max-height:calc(100vh - var(--hdr) - 235px);min-height:380px;position:relative}
.cmp{border-collapse:separate;border-spacing:0;width:100%;min-width:max-content}
.cmp th,.cmp td{box-sizing:border-box}
.cmp th{top:0}
.cmp .vcol{min-width:200px;width:200px}
.cmp .c-line{width:52px;min-width:52px;max-width:52px;left:0}
.cmp .c-item{width:290px;min-width:290px;max-width:290px;left:52px;overflow-wrap:anywhere}
.cmp .c-qty{width:96px;min-width:96px;max-width:96px;left:342px;box-shadow:1px 0 0 var(--line),6px 0 8px -6px rgba(20,30,50,.18)}
.cmp .c-sel{width:170px;min-width:170px;right:0;left:auto;box-shadow:-1px 0 0 var(--line),-6px 0 8px -6px rgba(20,30,50,.18)}
.cmp .fz{position:sticky;background:#fff;z-index:2}
.cmp th.fz{background:#fafbfc;z-index:6}
tr.changed td.fz{background:#FFFBEA}tr.moved td.fz{background:#F3F7FF}
/* the Selection menu */
.seln{display:flex;align-items:center;gap:10px}.seln .lbl{font-size:12px;color:var(--muted)}
.dd{position:relative}
.ddbtn{display:flex;align-items:center;gap:14px;font:inherit;text-align:left;background:#fff;border:1px solid var(--line2);border-radius:8px;padding:6px 12px;cursor:pointer;min-width:250px;justify-content:space-between;color:var(--text)}
.ddbtn:hover{border-color:var(--blue)}
.ddmain{display:flex;flex-direction:column;line-height:1.3}.ddmain b{font-weight:600}
.ddmenu{position:absolute;top:calc(100% + 6px);left:0;z-index:30;min-width:340px;background:#fff;border:1px solid var(--line2);border-radius:10px;box-shadow:0 10px 30px rgba(20,30,50,.16);padding:6px}
.ddopt{display:flex;flex-direction:column;gap:1px;padding:9px 12px;border-radius:7px;cursor:pointer;line-height:1.35}
.ddopt:hover{background:#f3f5f9}.ddopt.on{background:var(--blue-l)}.ddopt.fixed{cursor:default}.ddopt.fixed:hover{background:var(--blue-l)}

.pc .nt{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.nt .plus{color:var(--blue);font-weight:600}
.nt.more{color:var(--blue)}.nt.more:hover{text-decoration:underline}

/* Rates & estimates */
.rsum{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--blue-l);border-radius:10px;padding:12px 14px;font-size:13.5px}
.rsum b{font-size:18px}
.rmsg{margin:12px 0 0;padding:9px 12px;border-radius:8px;background:#E6F4EC;color:var(--green);font-size:13.5px}.rmsg.bad{background:var(--amber-l);color:var(--amber)}.rmsg:empty{display:none}
.rgrp{margin:20px 0 4px}.rgrp h3{margin:0 0 8px}
.rcard{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.rate{display:grid;grid-template-columns:1fr 210px;gap:8px 20px;padding:14px 16px;border-bottom:1px solid var(--line);align-items:start}
.rate:last-child{border-bottom:0}
.rt{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:2px}
.chip{font-size:12px;padding:1px 8px;border-radius:99px;background:#eef0f4;color:var(--muted);font-weight:500}.chip.warn{background:var(--amber-l);color:var(--amber)}
.inp{display:flex;align-items:center;gap:6px;border:1px solid var(--line2);border-radius:8px;padding:0 10px;background:#fff}.inp:focus-within{border-color:var(--blue)}
.inp input{border:0;outline:0;padding:7px 0;width:100%;min-width:0;text-align:right;font:inherit;background:transparent}.inp span{color:var(--muted);font-size:13.5px;white-space:nowrap}
.racts{display:flex;justify-content:space-between;align-items:center;margin-top:8px;gap:8px}
@media(max-width:700px){.rate{grid-template-columns:1fr}}

/* Comparison: Selected is an ordinary column again; the chosen price stands out */
.cmp .c-sel{box-shadow:none;right:auto;position:static}
.cmp td.picked .price{display:inline-block;background:var(--blue-l);border:1px solid #b9cdf5;color:var(--blue-d);font-weight:700;border-radius:6px;padding:1px 9px}
.cmp td.picked .price::before{content:'✓ ';color:var(--blue)}
.spec.clip{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

.nt.rev{color:var(--blue-d)}

.btn.sm{padding:4px 12px;font-size:13.5px}
.nxd{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.45}
.nxs{font-weight:500}
.lnk{color:var(--blue);cursor:pointer;font-size:12px;white-space:nowrap}.lnk:hover{text-decoration:underline}

/* ======================================================================
   Design standard (the one place to look; see DESIGN.md)
   Type scale: 12 small / 13.5 body and buttons / 15 section titles / 18 key figures / 20 page titles
   Weights: 400 text, 600 names, headings and the chosen price. Nothing is 700.
   Colour: text #1F2733, muted #5F6978, one blue for actions and the chosen price, amber for "look at this", red only for "not compliant", green only for "ok".
   Highlights are light tints with a thin border; solid colour is kept for the page's one primary button.
   ====================================================================== */
b,strong{font-weight:600}
h1{font-weight:600}
.cmp td.picked .price{background:#F1F5FD;border:1px solid #D9E3F8;color:var(--blue-d);font-weight:600}
.cmp td.picked .price::before{color:#6E8CDA}
.price.best{font-weight:600}
.banner{background:#F3F6FD;border-color:#DDE6F8}
.banner.warn{background:var(--amber-l);border-color:#EBDDB8}
.tag.warn{background:var(--amber-l)}.tag.bad{background:var(--red-l)}.tag.blue{background:var(--blue-l)}
.nt.bad{color:var(--red)}.nt.warn{color:var(--amber)}
.btn{font-size:13.5px}
.btn.sm{font-size:13.5px}

/* Comparison: the Selected column is plain text; the dropdown frame and arrow appear when the row is hovered or the control is focused */
.cmp td.sel select{appearance:none;-webkit-appearance:none;width:150px;border:1px solid transparent;background-color:transparent;background-repeat:no-repeat;background-position:right 8px center;padding:6px 26px 6px 8px;font-weight:500;cursor:pointer;color:var(--text)}
.cmp tr:hover td.sel select,.cmp td.sel select:focus-visible,.cmp td.sel select:focus{border-color:var(--line2);background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%235F6978' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E")}
@media (hover:none){.cmp td.sel select{border-color:var(--line2);background-color:#fff}}

/* Assistant: "What I ran" box (C97) */
.msg details.ran{margin-top:8px;border-top:1px solid var(--line);padding-top:6px;font-size:12px}
.msg details.ran summary{cursor:pointer;color:var(--muted);font-weight:600}
.msg details.ran .r{margin:8px 0 0}.msg details.ran ul{margin:2px 0 0;padding-left:18px;color:var(--muted)}

/* A dialog never grows past the screen: it scrolls inside, and its buttons stay in view (C103) */
.modal .box{max-height:calc(100vh - 48px);overflow-y:auto}
.modal .mact{display:flex;gap:8px;justify-content:flex-end;position:sticky;bottom:-20px;margin:12px -20px -20px;padding:12px 20px;background:#fff;border-top:1px solid var(--line);border-radius:0 0 12px 12px}

/* An Excel file in the viewer: rows and columns as the vendor laid them out, the cited row highlighted (C108) */
.xlwrap{flex:none;margin:18px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:8px;max-width:calc(100% - 36px)}
table.xl{border-collapse:separate;border-spacing:0;font-size:13.5px;width:auto}
table.xl th{position:sticky;top:0;background:#F3F4F7;color:var(--muted);font-weight:600;font-size:12px;border-bottom:1px solid var(--line2);border-right:1px solid var(--line);padding:5px 10px;text-align:center}
table.xl td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:6px 10px;vertical-align:top;white-space:nowrap}
table.xl td.w{white-space:normal;min-width:170px;max-width:300px}
table.xl .rn{position:sticky;left:0;background:#F3F4F7;color:var(--muted);font-size:12px;text-align:center;min-width:38px}
table.xl tr.hit td{background:#FFF1B8}table.xl tr.hit .rn{background:#F2D970;color:var(--text);font-weight:600}
