/* polish.css — rb9g (Oct 27 2026). UI-only refinement pass (Impeccable audit → polish).
   Loaded last. Changes looks only: type scale, spacing, radii, borders, icons. No behaviour. */
:root{--r-card:12px;--r-ctl:8px;--r-tag:4px;--line2:#e3e7ed}
body{-webkit-font-smoothing:antialiased;font-feature-settings:"tnum" 0}
::selection{background:var(--accent-soft);color:var(--fg)}
.s-amt,.sol-lq,.rv-q,.ln-qty,.s-tile-n,.s-n,.r9-b,.r9-cb,.qty,.sol-id,.rv-id{font-variant-numeric:tabular-nums lining-nums}

/* ---------- header ---------- */
body.simple .topbar header h1,body.rb9 .topbar header h1{font:600 13px/1.2 var(--display)!important;letter-spacing:.08em!important;color:var(--muted)}
body.rb9 .topbar{padding-top:2px;padding-bottom:2px}
.newbtn{border-radius:var(--r-ctl);padding:9px 14px;font-size:14px;min-height:40px}
body.rb9 .r9-search{font-size:0;width:40px;height:40px;padding:0;border-radius:var(--r-ctl);border:1px solid var(--line);background:var(--surface);position:relative;vertical-align:middle}
body.rb9 .r9-search::after{content:"";position:absolute;inset:0;margin:auto;width:20px;height:20px;background:var(--fg);-webkit-mask:var(--ic) center/20px no-repeat;mask:var(--ic) center/20px no-repeat}
body.rb9 .r9-search{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E")}

/* test / beta strip: a plain notice, not a banner */
.rv-strip{border-radius:var(--r-ctl);font-size:14px;padding:7px 10px;margin:0 0 4px}

/* ---------- screen heading ---------- */
.s-screen{gap:12px}
.s-hello{padding:2px 2px 0}
.s-hi{font-size:26px;letter-spacing:-.005em;line-height:1.1}
.s-date{font-size:15px;margin-top:1px}
.s-count{font-size:18px;margin-top:6px}
.s-h{font-size:19px;margin:10px 2px 0;gap:8px}
.s-n{border-radius:6px;font-size:14px;min-width:24px;padding:1px 7px;line-height:1.35}
.rv-hint{font-size:14.5px}

/* ---------- section tabs under the header (was pills) ---------- */
.r9-chips{gap:2px;padding:0 0 0;margin:0 0 10px;border-bottom:1px solid var(--line);scrollbar-width:none}
.r9-chips::-webkit-scrollbar{display:none}
.r9-chips button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;padding:10px 12px 9px;font:600 15px/1 var(--body);color:var(--muted);min-height:42px;margin-bottom:-1px}
.r9-chips button[aria-selected="true"]{background:none;color:var(--fg);border-bottom-color:var(--accent)}
.r9-chips .r9-cb{border-radius:6px;background:var(--bad);font-variant-numeric:tabular-nums}
.r9-chips .r9-back{color:var(--accent);padding-left:0}

/* ---------- bottom bar: drawn icons instead of emoji ---------- */
#rb9-bar{background:var(--surface);border-top:1px solid var(--line);box-shadow:none;padding-top:2px}
#rb9-bar button{color:var(--muted);font:600 11.5px/1.1 var(--body);letter-spacing:.01em;gap:3px;min-height:54px}
#rb9-bar button[aria-current="page"]{color:var(--accent)}
#rb9-bar button[aria-current="page"]::before{top:-3px;left:30%;right:30%;height:2px;border-radius:0}
#rb9-bar .r9-i{font-size:0;width:24px;height:24px;display:block;background:currentColor;-webkit-mask:var(--ic) center/24px no-repeat;mask:var(--ic) center/24px no-repeat}
#rb9-bar .r9-b{top:3px;left:55%;border-radius:6px;font-weight:700;font-variant-numeric:tabular-nums;background:var(--bad)}
#rb9-bar button[data-r9-t="check"] .r9-i{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='8' height='4' x='8' y='2' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}
#rb9-bar button[data-r9-t="buy"] .r9-i{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E")}
#rb9-bar button[data-r9-t="del"] .r9-i{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E")}
#rb9-bar button[data-r9-t="orders"] .r9-i{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3Cpath d='M10 9H8'/%3E%3C/svg%3E")}
#rb9-bar button[data-r9-t="more"] .r9-i{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 18h16'/%3E%3C/svg%3E")}
#rb9-bar button[data-r9-t="home"] .r9-i{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10a2 2 0 0 1 .7-1.53l7-6a2 2 0 0 1 2.6 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 21v-8a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v8'/%3E%3C/svg%3E")}
#rb9-bar button[data-r9-t="purch"] .r9-i{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z'/%3E%3Cpath d='M12 22V12'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5'/%3E%3C/svg%3E")}

/* ---------- cards: one radius, one border, no stripes ---------- */
.s-card{border-radius:var(--r-card);padding:14px;gap:8px}
.s-card.s-warn,.s-tile-warn{border-left-width:1px;border-color:var(--bad)}
.s-card.s-next{border-width:1.5px}
.s-tag{font-size:12px;letter-spacing:.06em}
.s-title{font-size:22px;line-height:1.2}
.s-title-sm{font-size:18px}
.s-sub{font-size:15px}
.s-addr{font-size:16px}
.s-items{font-size:17px;gap:3px}
.s-items.s-small{font-size:15px}
.s-ok,.s-bad{font-size:17px}
.s-empty{padding:36px 16px;font-size:17px}
.s-empty-i{font-size:30px;color:var(--muted);margin-bottom:6px}
.s-tiles{gap:8px}
.s-tile{border-radius:var(--r-card);min-height:62px;padding:12px 14px;gap:12px}
.s-tile-n{font-size:26px;min-width:44px}
.s-tile-l{font-size:17px}
.s-tile-l .s-sub{font-size:14px}
.s-chev{font-size:22px}
.s-backbar{border-radius:var(--r-ctl);font-size:15px;padding:9px 14px}

/* buttons: same family, calmer size */
.s-big{border-radius:var(--r-ctl);font-size:18px;min-height:52px;padding:12px 16px;letter-spacing:.005em}
.s-big:active,.sol-row:active{transform:none}
.s-big.s-ghost{border-width:1.5px;font-size:17px;min-height:50px}
.s-btn{border-radius:var(--r-ctl);border-width:1.5px;font-size:16px;min-height:48px}
.s-choice{border-radius:var(--r-ctl);border-width:1.5px;font-size:17px;min-height:52px}
.s-sheet h2{font-size:22px}
.s-sheet input,.s-sheet textarea{border-radius:var(--r-ctl);border-width:1.5px;font-size:17px;padding:12px}
.vs-btns .s-big{font-size:17px;min-height:52px}
.tk-no{border-width:1.5px!important}
.s-po{border-radius:var(--r-tag);border-width:1px;font-weight:700;font-size:14px}

/* ---------- Check new orders (Dave) ---------- */
.rv-list{gap:10px}
.rv-card{border-width:1px;border-radius:var(--r-card);gap:8px}
.rv-card.rv-flagged{background:var(--surface);border-color:var(--warn);box-shadow:inset 0 0 0 1px var(--warn)}
.rv-id{font-size:19px}
.rv-ftag{border-radius:var(--r-tag);background:var(--warn-soft);color:var(--warn);border:0;font-size:12px;letter-spacing:.04em;text-transform:uppercase;padding:2px 7px}
.tag.demo,.rv-testtag{border-style:solid!important;border-radius:var(--r-tag);font-size:10.5px!important;letter-spacing:.06em;text-transform:uppercase;font-weight:700;padding:1px 5px}
.rv-cust{font-size:17px}
.rv-lbl{font-size:11.5px;letter-spacing:.07em;margin-bottom:3px}
.rv-quote{border-left:0;border-radius:var(--r-ctl);background:var(--off-soft);color:var(--fg);font-size:14.5px}
.rv-qwait{color:var(--muted)}
.rv-lines{border-radius:var(--r-ctl);border-color:var(--line)}
.rv-ln{font-size:15px;padding:7px 10px;grid-template-columns:auto auto 1fr}
.rv-q{font-weight:700;font-variant-numeric:tabular-nums}
.rv-c{font:600 13.5px var(--mono);letter-spacing:-.01em}
.rv-n{color:var(--muted)}
.rv-fnote{border-radius:var(--r-ctl);background:var(--warn-soft);color:var(--fg)}
.s-big.rv-ok,.s-big.rv-save{background:var(--ok);border-color:var(--ok);min-height:52px;font-size:17px}
.rv-bad{border:1.5px solid var(--warn);background:var(--surface);color:var(--warn);border-radius:var(--r-ctl);min-height:52px}
.rv-noteform textarea{border-width:1.5px;border-radius:var(--r-ctl)}
.rv-sw{border-radius:var(--r-ctl)}

/* ---------- Orders list ---------- */
.sol-tools{gap:8px}
.sol-seg{gap:0;background:var(--off-soft);border-radius:var(--r-ctl);padding:3px}
.sol-f{border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:16px;min-height:42px}
.sol-f[aria-pressed="true"]{background:var(--surface);color:var(--fg);box-shadow:0 0 0 1px var(--line)}
.sol-f[aria-pressed="true"] .s-n{background:var(--fg);color:var(--surface)}
.sol-f .s-n{background:var(--line);color:var(--fg)}
.sol-qwrap input{border-width:1px;border-radius:var(--r-ctl);min-height:46px;font-size:16px}
.sol-list{gap:8px}
.sol-row{border-radius:var(--r-card);padding:12px 36px 12px 14px;gap:4px}
.sol-row.sol-late{border-left-width:1px;border-color:var(--bad)}
.sol-id{font-size:14px;font-weight:600;letter-spacing:.01em}
.sol-st{border-radius:var(--r-tag);font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:3px 7px}
.sol-cust{font-size:19px;line-height:1.2}
.sol-job{font-size:15px;color:var(--muted)}
.sol-lines{border-radius:var(--r-ctl);padding:6px 10px;margin-top:2px}
.sol-ln{font-size:15px}
.sol-lc{font:600 13.5px var(--mono);letter-spacing:-.01em}
.sol-lmore{font-size:13.5px}
.sol-when{font-size:14px}
.sol-chev{font-size:24px;right:12px}
.sol-tabs{border-radius:var(--r-card)}
.sol-tab{border-radius:var(--r-ctl)}
.sol-tab[aria-selected="true"]{box-shadow:none;outline:1.5px solid var(--fg)}

/* ---------- order card (full view) ---------- */
.card{border-radius:var(--r-card)}
.pill,.ln-chip{border-radius:var(--r-tag);letter-spacing:.02em}
.smallbtn{border-radius:6px;min-height:32px}
.v2-banner{border-radius:var(--r-ctl)}
.ln-code{font-family:var(--mono)}

/* ---------- More menu ---------- */
.r9-more .r9-group,.r9-set{border-radius:var(--r-card);background:var(--surface);border-color:var(--line)}
.r9-row{font-size:16px;color:var(--fg);border-top-color:var(--line2)}
.r9-clear{border-radius:var(--r-ctl)}
.r9-find{border-radius:var(--r-ctl)}

/* login */
.person,button.person{border-radius:var(--r-ctl)}
.login .card{border-radius:var(--r-card)}

/* SO-jump highlight: crisp ring instead of a soft glow */
.soj-hl{box-shadow:0 0 0 2px var(--accent)!important}

/* Rachel's three list tabs: the label carries it; drop the emoji above it */
.sol-te{display:none}
.sol-tabs3 .sol-tab,.sol-tabs4 .sol-tab{min-height:62px}

/* Rachel's list tabs: plain underline tabs, counts as text */
.rb-tabs{background:var(--bg);border-radius:0;padding:0;gap:0;border-bottom:1px solid var(--line)}
.rb-tab{border-radius:0;min-height:56px;padding:8px 4px 7px;border-bottom:2px solid transparent;margin-bottom:-1px;color:var(--muted)}
.rb-tab[aria-selected="true"]{background:none;box-shadow:none;color:var(--fg);border-bottom-color:var(--accent)}
.rb-te{display:none}
.rb-tl{letter-spacing:.01em}
.rb-tsw{background:none;color:var(--warn);padding:0;font-weight:700}
.rb-bill{border-radius:var(--r-tag)}

button,input,select,textarea{font-family:inherit}
body.simple .rb-tabs{background:#f4f5f7}
@media (prefers-color-scheme:dark){body.simple .rb-tabs{background:var(--bg)}}
