/* Rootstocker styles. Ported from the prototype (reference/windfall-prototype-v2.html), the spec for look and wording.
   "Orchard ledger": paper ground, ruled lines instead of cards, russet for the one main action, tan for the rest.
   Tokens are the :root custom properties below; dark values follow them.
   Appearance (Account panel): light is the default. Dark applies when the person picks Dark
   (html[data-theme="dark"]), or when the device is dark and they haven't picked Light.
   The two dark blocks below must stay the same. */
:root{
  color-scheme:light; --bg:#EFE9DC; --field:#F7F3EA; --ink:#1C1B18; --muted:#5A5347; --line:#B5AB95; --fbd:#6F675A;
  --pri:#8A3B1E; --pri-ink:#F8F2E6; --tan:#DCCFB4; --tan-ink:#1C1B18;
  --ok:#2F5D46; --due:#7A4E00; --over:#A61B1B;
  /* Report (Nov 21): years on its charts, oldest to newest; one russet ramp, newest strongest. */
  --yr0:#C49079; --yr1:#A6603F; --yr2:#843A1C; --yr3:#5A1F0A; --band:#E2D7BF;
  --sans:"Radio Canada",system-ui,-apple-system,"Segoe UI",sans-serif; --mono:"Courier Prime","Courier New",monospace;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  color-scheme:dark; --bg:#1B1915; --field:#26231D; --ink:#EDE6D6; --muted:#A89F8D; --line:#4A4438; --fbd:#8A8171;
  --pri:#E09A78; --pri-ink:#1B1915; --tan:#3A342A; --tan-ink:#EDE6D6;
  --ok:#8CC9A4; --due:#E5B95C; --over:#F2938A;
  --yr0:#734431; --yr1:#A05F42; --yr2:#CD8461; --yr3:#F3B395; --band:#2C2821;
}}
:root[data-theme="dark"]{
  color-scheme:dark; --bg:#1B1915; --field:#26231D; --ink:#EDE6D6; --muted:#A89F8D; --line:#4A4438; --fbd:#8A8171;
  --pri:#E09A78; --pri-ink:#1B1915; --tan:#3A342A; --tan-ink:#EDE6D6;
  --ok:#8CC9A4; --due:#E5B95C; --over:#F2938A;
  --yr0:#734431; --yr1:#A05F42; --yr2:#CD8461; --yr3:#F3B395; --band:#2C2821;
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:400 16px/1.4 var(--sans);font-variant-numeric:tabular-nums;-webkit-text-size-adjust:100%;overflow-x:hidden}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--pri);outline-offset:2px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{max-width:560px;margin:0 auto;padding:0 20px 120px}
header.top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-top:16px}
.ref{font-family:var(--mono);font-size:13px;color:var(--muted)}
.up{text-transform:uppercase;font-weight:700;letter-spacing:.02em}
.brand{font-family:var(--mono);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;color:var(--muted);white-space:nowrap}
.titlebar{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;border-bottom:2px solid var(--ink);padding:6px 0 8px}
h1{font:700 30px/1.15 var(--sans);letter-spacing:-.01em;margin:0;overflow-wrap:anywhere}
h1.sm{font-size:26px}
h2{font:700 19px/1.2 var(--sans);margin:0}
h3{font:700 16px/1.2 var(--sans);margin:0}
p{margin:0}
.sub{color:var(--muted);font-size:14px}
.sec{margin-top:24px;display:flex;flex-direction:column;gap:10px}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.rule{border-bottom:2px solid var(--ink);padding-bottom:8px}
/* buttons */
.btn{min-height:44px;padding:0 14px;border:0;border-radius:4px;background:var(--tan);color:var(--tan-ink);font-size:15px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none}
.btn.pri{background:var(--pri);color:var(--pri-ink)}
.btn.wide{width:100%;min-height:54px;font-size:16px;font-weight:700}
.btn.big{min-height:56px;font-size:17px;font-weight:700;width:100%}
.lnk{min-height:44px;padding:0 4px;border:0;background:none;color:var(--pri);font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.btnrow{display:flex;gap:8px;flex-wrap:wrap}
.btnrow.fill>*{flex:1}
.back{min-height:44px;padding:0 8px 0 0;margin:6px 0 -2px;border:0;background:none;color:var(--pri);font-size:15px;font-weight:600;display:inline-flex;align-items:center;gap:2px}
/* region select */
.sel{position:relative;display:inline-flex;align-items:center}
.sel select{appearance:none;-webkit-appearance:none;min-height:44px;padding:0 34px 0 14px;border:0;border-radius:4px;background:var(--tan);color:var(--tan-ink);font-size:15px;font-weight:600;max-width:170px}
.sel::after{content:"";position:absolute;right:14px;top:50%;width:7px;height:7px;border-right:2px solid var(--tan-ink);border-bottom:2px solid var(--tan-ink);transform:translateY(-70%) rotate(45deg);pointer-events:none}
/* status tabs */
.tabs{display:flex;justify-content:space-between;gap:2px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs button{min-height:44px;padding:0 8px;background:none;border:0;border-bottom:3px solid transparent;margin-bottom:-1px;font-size:15px;font-weight:500;white-space:nowrap;flex-shrink:0}
.tabs button[aria-pressed="true"],.tabs button[aria-selected="true"]{border-bottom-color:var(--ink);font-weight:700}
.tabs button span{font-family:var(--mono);font-size:13px;font-weight:400;color:var(--muted)}
.hint{font-family:var(--mono);font-size:13px;color:var(--muted);padding:8px 0 2px}
@media (hover:hover) and (pointer:fine){.touch{display:none!important}}
/* lists and rows */
.list{display:flex;flex-direction:column}
.list>*+*{border-top:1px solid var(--line)}
.row{display:flex;flex-direction:column;gap:3px;width:100%;padding:12px 0;border:0;background:var(--bg);text-align:left;position:relative;font-size:16px;line-height:1.4}
.row .l1{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.row .nm{font-size:17px;font-weight:600;overflow-wrap:anywhere}
.row .amt{flex-shrink:0;font-size:15px;font-weight:600;white-space:nowrap}
.row .why{font-size:15px}
.row .l3{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.row .rnote{font-size:14px;font-style:italic;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Status (Nov 13): three statuses as a dot. On track green, Due amber, Lapsed a hollow grey ring,
   so lapsed reads differently without relying on colour. The pill adds the word. */
.stt{display:inline-flex;align-items:center;gap:6px;font-family:var(--mono);font-size:13px;font-weight:700;text-transform:uppercase;white-space:nowrap;color:var(--muted)}
.stt .dot{margin-right:0}
.s-on_track{color:var(--ok)} .s-due{color:var(--due)} .s-lapsed{color:var(--muted)}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:currentColor;margin-right:9px;flex-shrink:0;vertical-align:1px;font-style:normal}
.dot.s-lapsed{background:transparent;border:1.5px solid currentColor}
/* Account rows (Nov 13): two lines. Name and figure; then type symbol, region tag and the facts. */
.row.arow{gap:4px}
.row.arow .nm{display:flex;align-items:baseline}
.row.arow .nm .dot{transform:translateY(-1px)}
.row .l2{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--muted);padding-left:19px}
.row .amt.nil{color:var(--muted);font-weight:400}
.kind{display:inline-flex;width:18px;height:18px;flex-shrink:0;color:var(--muted)}
.rg{font-family:var(--mono);font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;color:var(--muted);flex-shrink:0}
.colhead{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--muted);padding:10px 0 4px;border-bottom:1px solid var(--line)}
.more{min-height:48px;border:0;background:none;color:var(--pri);font-weight:600;text-align:left;padding:0;width:100%}
.empty{padding:16px 0;color:var(--muted);font-size:15px}
/* swipe rows */
.sw{position:relative;overflow:hidden;touch-action:pan-y}
.sw .row{touch-action:pan-y;user-select:none;-webkit-user-select:none;z-index:1}
.swbg{position:absolute;top:0;bottom:0;display:none;align-items:center;padding:0 18px;font-weight:700;font-size:15px;width:100%}
.swl{left:0;justify-content:flex-start;background:var(--pri);color:var(--pri-ink)}
.swr{right:0;justify-content:flex-end;background:var(--tan);color:var(--tan-ink)}
.sw.toR .swl,.sw.toL .swr{display:flex}
.sw.armed .swbg{text-decoration:underline;text-underline-offset:4px}
.rowacts{display:none;gap:8px;padding:0 0 12px}
@media (hover:hover) and (pointer:fine){.rowacts{display:flex}.rowacts .btn{min-height:36px;font-size:14px}.sw .row{padding-bottom:8px}}
/* chips */
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -20px;padding:0 20px}
.chips::-webkit-scrollbar{display:none}
.chip{flex-shrink:0;min-height:44px;padding:0 14px;border:0;border-radius:4px;background:var(--tan);color:var(--tan-ink);font-size:15px;font-weight:500;white-space:nowrap}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--bg);font-weight:600}
/* fields */
label.lab{font-size:14px;font-weight:600;display:block;margin-bottom:4px}
input[type=search],input[type=date],input[type=text],select.f,textarea{width:100%;min-height:48px;padding:0 14px;border:1px solid var(--fbd);border-radius:4px;background:var(--field);font-size:16px}
textarea{padding:10px 14px;min-height:0;resize:vertical}
.check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px}
.check input{width:22px;height:22px;accent-color:var(--pri)}
.card{border-top:1px solid var(--line);padding:12px 0 0;display:flex;flex-direction:column;gap:8px}
.needs{display:inline-block;font-family:var(--mono);font-size:12px;font-weight:700;border:1px dashed var(--fbd);color:var(--muted);border-radius:3px;padding:1px 6px;margin-left:6px;vertical-align:middle;white-space:nowrap}
.notice{font-family:var(--mono);font-size:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0;margin-top:12px}
.err{color:var(--over);font-weight:600}
.kv{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.kv div span{display:block;color:var(--muted);font-size:13px}
.kv div b{font:700 18px/1.2 var(--sans)}
.bars{display:flex;align-items:flex-end;gap:6px;height:110px;padding-top:16px}
.bars div{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;height:100%;min-width:0}
.bars i{display:block;width:100%;background:var(--ink);min-height:1px;opacity:.8}
.bars i.cur{opacity:.4}
.bars span{font-size:12px;color:var(--muted)}
.bars em{font-style:normal;font-family:var(--mono);font-size:11px;color:var(--muted);white-space:nowrap}
.bars.two{height:126px}
.bars small{display:block;min-height:12px;margin-top:-3px;font-size:11px;line-height:12px;color:var(--muted)}
.prod{display:grid;grid-template-columns:minmax(45%,1fr) auto;gap:6px 12px;font-size:15px}
.prod span:nth-child(even){color:var(--muted);text-align:right}
.tot{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}
.tot b:last-child{text-align:right;font-size:17px}
details.ord summary{display:grid;grid-template-columns:1fr auto;gap:12px;padding:12px 0;cursor:pointer;list-style:none;min-height:44px;align-items:center}
details.ord summary::-webkit-details-marker{display:none}
details.ord .lines{padding:0 0 12px;display:grid;grid-template-columns:1fr auto auto;gap:3px 14px;font-size:14px;color:var(--muted)}
details.ord .lines span:nth-child(3n),details.ord .lines span:nth-child(3n-1){text-align:right}
details.fold summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}
.drow{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:8px 0;border-top:1px solid var(--line);align-items:center}
.drow .nm{font-weight:600;border:0;background:none;padding:0;text-align:left;min-height:28px}
.drow .lnk{grid-row:1/3;grid-column:2}
.rules{display:grid;grid-template-columns:auto 1fr;gap:10px 12px;font-size:15px;align-items:start}
/* order form */
.oline{padding:10px 0;display:flex;flex-direction:column;gap:8px}
.qrow{display:flex;align-items:center;gap:8px}
.sq{width:44px;height:44px;border:0;border-radius:4px;background:var(--tan);color:var(--tan-ink);font-size:22px;font-weight:600;line-height:1;flex-shrink:0}
.qrow input{width:68px;height:44px;min-height:44px;padding:0;text-align:center;font-size:18px;font-weight:600;flex-shrink:0}
.qrow .unit{font-size:15px;white-space:nowrap}
.qrow .packs{font-size:14px;color:var(--muted);white-space:nowrap}
.qrow .x{margin-left:auto;width:44px;height:44px;border:0;background:none;color:var(--muted);font-size:22px;line-height:1;flex-shrink:0}
.oin{border-left:4px solid var(--pri);padding-left:12px;margin-top:6px}
.oin .oline+.oline{border-top:1px solid var(--line)}
.ohead{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.ohead b{padding-top:2px}
.ohead .x{width:44px;height:36px;margin:-6px -8px 0 0;border:0;background:none;color:var(--muted);font-size:22px;line-height:1;flex-shrink:0}
.padd{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--line)}
.padd>div{min-width:0}
.padd .btn{flex-shrink:0}
.padd.off b{font-weight:500;color:var(--muted)}
.padd.off .lnk{font-size:14px;font-weight:500;flex-shrink:0}
.savebar{position:fixed;left:0;right:0;bottom:0;background:var(--bg);border-top:1px solid var(--line);padding:10px 20px calc(14px + env(safe-area-inset-bottom,0px));z-index:5}
.savebar>div{max-width:520px;margin:0 auto}
.pord{padding:12px 0;display:flex;flex-direction:column;gap:6px}
.draft{border:1px dashed var(--fbd);border-radius:4px;padding:12px 12px 12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.noteitem{padding:10px 0;display:flex;flex-direction:column;gap:4px}
.noteitem p{white-space:pre-wrap;overflow-wrap:anywhere}
.noteitem .sub{display:flex;gap:10px;align-items:center;justify-content:space-between;min-height:32px}
/* products */
.bar{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:10px 0;border:0;background:none;width:100%;text-align:left;font-size:16px}
.bar[aria-pressed="true"]{background:var(--tan)}
.bar u{grid-column:1/-1;display:block;height:5px;background:var(--ink);opacity:.75;min-width:2px;text-decoration:none}
.bar span:nth-child(2){font-weight:600}
.bar small{color:var(--muted);font-weight:400}
table.mx{border-collapse:collapse;width:100%;font-size:12px;font-family:var(--mono)}
table.mx th,table.mx td{padding:8px 3px;text-align:right;border-top:1px solid var(--line);white-space:nowrap}
table.mx th:first-child,table.mx td:first-child{text-align:left;font-family:var(--sans);font-weight:600}
table.mx thead th{border-top:0;color:var(--muted)}
/* nav, toast, sheet */
nav.nav{position:fixed;left:0;right:0;bottom:0;background:var(--bg);border-top:1px solid var(--line);display:flex;justify-content:center;padding-bottom:env(safe-area-inset-bottom,0);z-index:4}
nav.nav a{flex:1 1 0;max-width:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:61px;text-decoration:none;color:var(--muted);font-size:12px;font-weight:500;border-top:3px solid transparent;margin-top:-1px}
nav.nav a[aria-current="page"]{color:var(--ink);font-weight:700;border-top-color:var(--pri)}
body.form nav.nav{display:none}
#toast{position:fixed;left:12px;right:12px;bottom:calc(74px + env(safe-area-inset-bottom,0px));max-width:536px;margin:0 auto;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 6px 4px 16px;background:var(--ink);color:var(--bg);border-radius:4px;font-size:15px;box-shadow:0 6px 18px rgba(0,0,0,.25);z-index:8}
#toast button{min-height:44px;padding:0 14px;background:none;border:0;color:var(--bg);font-weight:700;text-decoration:underline;text-underline-offset:3px;flex-shrink:0}
#toast[hidden],#sheet[hidden]{display:none}
#sheet{position:fixed;inset:0;background:rgba(20,18,14,.5);display:flex;align-items:flex-end;justify-content:center;z-index:9}
.sheetbox{width:100%;max-width:560px;max-height:88vh;overflow:auto;background:var(--bg);border-top:2px solid var(--ink);padding:18px 20px calc(18px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:12px}
.sheetbox .opts{display:flex;flex-direction:column;gap:8px}
.warn{border-left:4px solid var(--due);padding:6px 0 6px 10px;font-size:15px}

/* ---------- added for the real app ---------- */
/* On the narrowest phones (320 px): a 30 px "Customers" beside the region picker broke mid-word,
   the category-by-region table ran 23 px off the side, and "Gone quiet" was cut off the status tabs. */
table.mx th:first-child,table.mx td:first-child{white-space:normal}
@media (max-width:359px){
  h1{font-size:26px}h1.sm{font-size:23px}
  table.mx th,table.mx td{padding:8px 2px}
  .tabs button{padding:0 5px;font-size:14px}
  /* Stage 5: a count line with "10 cases" fits across the narrowest phones. */
  .qrow{gap:6px}.sq{width:40px}.qrow input{width:58px}
}
/* Brand and data date share a line when there is room; the date wraps under the brand on a narrow phone. */
header.top{align-items:center}
.top-left{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 12px;min-width:0;flex:1}
.acct{width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;background:var(--tan);color:var(--tan-ink);font:700 14px/1 var(--sans);display:inline-flex;align-items:center;justify-content:center;margin-right:-4px}
.loading{padding:24px 0;color:var(--muted);font-size:15px}
.stage{font-family:var(--mono);font-size:14px;color:var(--muted);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0;margin-top:16px}
.facts{display:flex;flex-direction:column}
.facts>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.facts>div:last-child{border-bottom:1px solid var(--line)}
.facts span{color:var(--muted);font-size:15px}
.facts b{font:700 18px/1.2 var(--sans);white-space:nowrap}
/* Settings row under a screen's title: period, region, sort. Wraps onto a second line on a narrow phone. */
.settings{display:flex;flex-wrap:wrap;gap:8px;padding-top:12px}
/* A dollar figure with its share kept well apart: "$47,909     42%". */
.fig{display:inline-flex;align-items:baseline;justify-content:flex-end;white-space:nowrap}
.fig b{font-weight:600}
.fig small{min-width:3.2em;margin-left:16px;text-align:right;color:var(--muted);font-size:14px;font-weight:400}
/* Total under a list of bars, ruled like a ledger. */
.list>.bar.total{border-top:2px solid var(--ink);padding-top:12px}
.bar.total span:first-child,.bar.total b{font-weight:700}
/* "What they buy": name and value on one line, quantity with its case count below. */
.buys{display:flex;flex-direction:column;gap:8px}
.buys>div{display:grid;grid-template-columns:1fr auto;gap:0 12px;font-size:15px}
.buys b{font-weight:600;text-align:right}
.buys small{grid-column:1/-1;color:var(--muted);font-size:14px}
dl.who{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:0;font-size:16px}
dl.who dt{color:var(--muted)}
dl.who dd{margin:0;font-weight:600}
/* Stage 4: notes keep their line breaks. */
.pre{white-space:pre-wrap;overflow-wrap:anywhere}
.drow .sub{grid-column:1}
/* The folded lists under the call list show a chevron that turns when open. */
details.fold summary{list-style:none;gap:10px}
details.fold summary::-webkit-details-marker{display:none}
details.fold summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .15s}
details.fold[open] summary::after{transform:translateY(2px) rotate(225deg)}
.sw .rowacts{padding-left:19px}
/* Follow-ups (Nov 14): the line saying when and who, on rows at the top of the call list. */
.row .rflag{font-size:14px;font-weight:600;color:var(--pri)}
/* Stage 5: if a count or restock line still runs out of room, the case count moves under it. */
.qrow{flex-wrap:wrap}

/* Nov 16: nothing above a screen's title; the account button sits beside it. */
.titlebar.first{padding-top:14px;align-items:center}
.titlebar.first .acct{margin-bottom:-2px}
/* Customers: figures in columns, sorted by tapping a column head. The name has the row's
   first line to itself; the type, region and five figures line up under the heads. */
.cgrid{display:grid;grid-template-columns:minmax(0,1fr) 44px 68px 58px;column-gap:10px;align-items:center}
.cgrid.c3{grid-template-columns:minmax(0,1fr) 44px 68px}
.chead{position:sticky;top:0;z-index:2;background:var(--bg);border-bottom:1px solid var(--line);margin-top:10px;align-items:stretch}
.chead button{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:1px;min-height:48px;padding:6px 0;border:0;background:none;color:var(--muted);font-size:12px;line-height:1.15;text-align:right;font-weight:500}
.chead button:first-child{align-items:flex-start;text-align:left}
.chead button[aria-pressed="true"]{color:var(--ink);font-weight:700}
.chead b{font-size:9px;color:var(--pri);vertical-align:1px}
.row.crow .cgrid{font-size:14px;color:var(--muted);text-align:right;white-space:nowrap}
.row.crow .cgrid>*{min-width:0}
.row.crow .who{display:flex;align-items:center;gap:6px;padding-left:19px;text-align:left}
.row.crow .strong{color:var(--ink);font-weight:600}
.row.crow .nil{font-weight:400;color:var(--muted)}
@media (max-width:379px){.row.crow .who{padding-left:0}}
/* Customer page chart: a bar with sales is a button that opens its quarters or months. */
.bars>button{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;height:100%;min-width:0;padding:0;border:0;background:none}
.bars>button i{background:var(--pri);opacity:.85}
.bars>button i.cur{opacity:.45}
.bars>button span{color:var(--ink);text-decoration:underline;text-underline-offset:2px}
.crumb{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-top:6px;font-size:15px}

/* Customers filters (Nov 16): one Filters button; the filters that are on sit beside it and a tap takes one off. */
.chip.fbtn{border:1px solid var(--fbd);background:none;color:var(--ink);font-weight:600}
.chip.fbtn span{display:inline-block;min-width:20px;margin-left:4px;padding:1px 6px;border-radius:10px;background:var(--ink);color:var(--bg);font-size:12px;font-weight:700;text-align:center}
.chip.on{background:var(--ink);color:var(--bg);font-weight:600}
.chip.on i{font-style:normal;font-size:12px;opacity:.75;margin-left:4px}
.chips.wrap{flex-wrap:wrap;overflow:visible;margin:0;padding:0}
.fgroup{display:flex;flex-direction:column;gap:8px}
/* The one period (Nov 24): a button that leads the filter row and sticks at the top, its days under
   it, and a sheet with quarters and years in a grid. Outlined, with no ✕: it is never "off". */
.chips.pbar{position:sticky;top:0;z-index:3;background:var(--bg);padding-top:8px;padding-bottom:8px}
.chip.pbtn{display:inline-flex;align-items:center;gap:7px;border:1.5px solid var(--ink);background:none;color:var(--ink);font-weight:600}
.chip.pbtn svg{flex-shrink:0}
.chip.pbtn i{font-style:normal;font-size:12px;opacity:.75}
.pline{margin:0 0 4px}
.pergrid{display:grid;grid-template-columns:44px repeat(5,minmax(0,1fr));gap:6px;align-items:center}
.pergrid .ph{font-size:13px;color:var(--muted);text-align:center}
.pergrid .py{font-family:var(--mono);font-size:14px;color:var(--muted)}
.chip.pcell{min-width:0;padding:0 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1}
.chip.pcell small{font-size:11px;font-weight:500}
.pcell.nil{text-align:center;color:var(--line)}

/* Products (Nov 16): plain columns under sortable heads, no bars. */
.pgrid{display:grid;grid-template-columns:minmax(0,1fr) 76px 40px 58px;column-gap:10px;align-items:baseline}
.pgrid.nochg{grid-template-columns:minmax(0,1fr) 76px 40px}
.pgrid.noshare{grid-template-columns:minmax(0,1fr) 76px 58px}
.pgrid.noshare.nochg{grid-template-columns:minmax(0,1fr) 76px}
.chead.pgrid{align-items:stretch}
.chead>span{display:flex;align-items:flex-end;justify-content:flex-end;padding:6px 0;color:var(--muted);font-size:12px;line-height:1.15;font-weight:500}
.prow{width:100%;padding:12px 0;border:0;background:none;text-align:right;font-size:14px;color:var(--muted);white-space:nowrap}
.prow .nm{text-align:left;white-space:normal;font-size:16px;color:var(--ink);overflow-wrap:anywhere}
.prow .nm small{display:block;font-size:14px;color:var(--muted)}
.prow .strong{color:var(--ink);font-weight:600;font-size:15px}
.prow[aria-pressed="true"]{background:var(--tan)}
/* A product's Sales report (Nov 21): two dates side by side, and the ranking with this product marked. */
.kv.two{grid-template-columns:repeat(2,1fr)}
.rkgrid{display:grid;grid-template-columns:26px minmax(0,1fr) 76px;column-gap:10px;align-items:baseline}
.prow .rk{text-align:left;font-family:var(--mono);font-size:13px}
.prow.rkgrid[aria-current="true"]{background:var(--tan);margin:0 -10px;padding-left:10px;padding-right:10px;width:calc(100% + 20px)}
.prow.rkgrid[aria-current="true"] .nm,.prow.rkgrid[aria-current="true"] .rk{font-weight:700;color:var(--ink)}
.rkgap{padding:2px 0 0 4px;color:var(--muted);line-height:1}
.prow .nm small.tbw{display:flex;align-items:center;gap:6px;margin-top:2px}
.list>.prow.total{border-top:2px solid var(--ink)}
.prow.total .nm,.prow.total .strong{font-weight:700}

/* Call list rows (Nov 16): call and email buttons beside the name, the last order's date and
   the account's sales under the column heads, and the last order folded underneath. */
.cgrid.lgrid{grid-template-columns:minmax(0,1fr) 104px 68px}
.row.call{cursor:pointer}
.row.call .l1{align-items:center;min-height:40px}
.row.call button.nm{border:0;background:none;padding:0;text-align:left;font-size:17px;font-weight:600;color:var(--ink)}
.cts{display:flex;gap:6px;flex-shrink:0}
a.ct{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--tan);color:var(--tan-ink)}
a.ct svg{width:20px;height:20px}
details.lo{padding-left:19px;font-size:14px;cursor:auto}
details.lo summary{display:inline-flex;align-items:center;gap:8px;min-height:36px;color:var(--muted);cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:3px}
details.lo summary::-webkit-details-marker{display:none}
details.lo summary::after{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
details.lo[open] summary::after{transform:translateY(2px) rotate(225deg)}
details.lo .prod{font-size:14px;padding:2px 0 6px}
.contact{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:15px}

/* Customer page: Earlier and Later under Last order. */
.pager{display:flex;justify-content:space-between;align-items:center;gap:12px}
.pager .lnk:disabled{color:var(--muted);opacity:.5;text-decoration:none;cursor:default}
[data-oswipe]{touch-action:pan-y}

/* Products list and product pages (Nov 20): price, a stock light and units sold.
   The light's shape says as much as its colour: full dot, half dot, ring. */
.chips.tight .chip{padding:0 12px}
.cgrid.plgrid{grid-template-columns:minmax(0,1fr) 60px 78px 52px}
.cgrid.bgrid{grid-template-columns:minmax(0,1fr) 70px 46px 66px}
.row.plrow .who{padding-left:0;overflow:hidden;text-overflow:ellipsis;display:block}
.lvl{display:inline-flex;align-items:baseline;gap:7px;white-space:nowrap;color:var(--ink);font-weight:600}
.bars3{display:inline-flex;align-items:flex-end;gap:2px;height:13px}
.bars3 i{width:4px;border-radius:1px;background:var(--line)}
.bars3 i:nth-child(1){height:5px} .bars3 i:nth-child(2){height:9px} .bars3 i:nth-child(3){height:13px}
.lvl.v1 .bars3 i:nth-child(1),.lvl.v2 .bars3 i:nth-child(-n+2),.lvl.v3 .bars3 i{background:var(--ink)}
.lvl.v0,.lvl.none{color:var(--muted);font-weight:400}
.legend{padding-top:10px;line-height:1.7}
.legend .lvl{font-size:13px;margin:0 2px}
.rules .lvl{font-size:14px}
.pfacts{gap:6px}
.pprice{font-size:16px;color:var(--muted)}
.pprice b{font:700 26px/1.1 var(--sans);color:var(--ink)}
.prod.held{padding-top:2px}
.prod.held>span:nth-child(odd){display:flex;align-items:baseline;gap:10px}
.prod.held .lvl{gap:0}
.row.brow .who{padding-left:0}

/* Customer page sections (Nov 20): each starts with a heavy rule and a title so they stop
   running together. Contact and the order card sit on a panel: things to act on, not to read. */
.sec.csec{margin-top:30px;border-top:2px solid var(--ink);padding-top:10px}
.csec>.sec-head h2{font-size:18px}
.panel{background:var(--field);border:1px solid var(--line);border-radius:6px;padding:14px;display:flex;flex-direction:column;gap:12px}
.panel .btn svg{width:18px;height:18px;flex-shrink:0}
dl.cinfo{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0;font-size:15px}
dl.cinfo dt{color:var(--muted);font-size:14px}
dl.cinfo dd{margin:0;overflow-wrap:anywhere}
/* The order card: one order at a time, dots for where you are, Earlier and Later along its foot. */
.ocard{overflow:hidden;gap:0;padding-bottom:4px}
.obody{display:flex;flex-direction:column;gap:10px;padding-bottom:12px}
.otag{font-family:var(--mono);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;color:var(--muted)}
.ocard .pager{border-top:1px solid var(--line);margin:0 -14px;padding:0 10px}
.odots{display:flex;gap:5px;align-items:center}
.odots i{width:6px;height:6px;border-radius:50%;background:var(--line)}
.odots i.on{background:var(--pri);width:8px;height:8px}
@keyframes oinL{from{transform:translateX(-28px);opacity:0}}
@keyframes oinR{from{transform:translateX(28px);opacity:0}}
.obody.fromL{animation:oinL .18s ease-out}
.obody.fromR{animation:oinR .18s ease-out}
@media (prefers-reduced-motion:reduce){.obody.fromL,.obody.fromR{animation:none}}

/* Order form (Nov 20): the stock tabs head the product list, as Due and Lapsed head the call list. */
.tabs.otabs{justify-content:flex-start;gap:8px;margin-top:14px;border-bottom:2px solid var(--ink)}
.tabs.otabs button{padding:0 2px;margin-bottom:-2px}
.tabs.otabs button[aria-pressed="true"]{border-bottom-color:var(--pri)}

/* ---------- the owner's Report (Nov 21; report.ts) ---------- */
nav.nav a[hidden]{display:none}
/* The period chips stay at the top while the page scrolls, to change the period from the charts below (Nov 21). */
.chips.r-chips{position:sticky;top:0;z-index:3;background:var(--bg);margin-top:6px;padding-top:8px;padding-bottom:8px;border-bottom:1px solid transparent}
#r-top{height:1px;margin-bottom:-1px}
#report.r-stuck .r-chips{border-bottom-color:var(--line)}
html:has(#report){scroll-padding-top:70px}
.r-range{margin-top:0}
.r-hero{margin-top:18px;display:flex;flex-direction:column;gap:2px}
.r-lab{font-size:14px;color:var(--muted)}
.r-big{font:700 40px/1.05 var(--sans);letter-spacing:-.015em}
.r-vs{font-size:16px}
.r-side{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 0;padding-top:12px;border-top:1px solid var(--line)}
.r-side dt{font-size:13px;color:var(--muted)}
.r-side dd{margin:0;font-size:16px;font-weight:600}
.r-side dd small{font-size:14px;font-weight:400;color:var(--muted);margin-left:4px}
.r-grid{display:grid;grid-template-columns:minmax(0,1fr) 74px 70px 50px;column-gap:10px;align-items:baseline}
.r-mgrid{display:grid;grid-template-columns:minmax(0,1fr) 64px 64px 70px;column-gap:8px;align-items:baseline}
.chead.r-grid,.chead.r-mgrid{align-items:end;margin-top:0;position:static}
.chead.r-grid>span,.chead.r-mgrid>span{padding:6px 0;color:var(--muted);font-size:12px;line-height:1.15;font-weight:500;text-align:right}
.chead.r-grid>span:first-child,.chead.r-mgrid>span:first-child{text-align:left;justify-content:flex-start}
.prow.r-grid,.prow.r-mgrid{padding:11px 0}
a.prow.r-mgrid{text-decoration:none}
button.r-mk .nm::after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:translateY(-3px) rotate(45deg)}
button.r-mk[aria-expanded="true"]{background:var(--tan)}
button.r-mk[aria-expanded="true"] .nm::after{transform:translateY(0) rotate(-135deg)}
.prow.r-split{padding:7px 0;font-size:13px}
.prow.r-split .nm{font-size:14px;color:var(--muted);padding-left:14px}
.prow.r-split .strong{font-size:14px;font-weight:500}
.r-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0;padding:4px 0 6px}
.r-stats dt{font-size:13px;color:var(--muted)}
.r-stats dd{margin:0;font-size:22px;font-weight:700;line-height:1.2}
.r-stats dd small{font-size:14px;font-weight:400;color:var(--muted);margin-left:4px}
.r-mvt{margin-top:22px}
.r-mvt .chead{border-bottom:2px solid var(--ink)}
.r-mvt .chead>span:first-child{font-size:17px;font-weight:700;color:var(--ink);line-height:1.2}
.prow .r-d{color:var(--ink);font-weight:700;font-size:15px}
.prow .nm small.rg{font-size:12px;margin-top:3px}
.r-names{font-size:14px;color:var(--muted)}
.r-names summary{min-height:40px;display:inline-flex;align-items:center;color:var(--pri);font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.r-names p{padding:0 0 8px;line-height:1.5}
.r-legend{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--muted)}
.r-legend span{display:inline-flex;align-items:center;gap:6px}
.r-legend i{display:inline-block;width:12px;height:12px;border-radius:2px}
.r-legend i.r-ln{width:18px;height:0;border-radius:0;border-top:2px solid}
.r-chart{position:relative}
.r-chart svg{display:block;width:100%;height:auto;touch-action:pan-y}
.r-chart svg text{font-family:var(--mono);font-size:11px;fill:var(--muted)}
.r-chart svg text.r-yr{font-weight:700;font-size:12px}
.r-chart svg text.r-ql{font-family:var(--sans);font-size:13px;font-weight:700;fill:var(--ink)}
.r-chart svg .r-hit{fill:transparent;cursor:pointer}
.r-chart svg .r-hit:focus{outline:none}
.r-chart svg .r-hit:focus-visible{stroke:var(--pri);stroke-width:2}
.r-tip{position:absolute;top:4px;pointer-events:none;background:var(--field);border:1px solid var(--fbd);border-radius:4px;padding:6px 9px;font-size:13px;line-height:1.45;min-width:150px;box-shadow:0 4px 14px rgba(0,0,0,.12);z-index:2}
.r-tip b{display:block;font-size:12px;color:var(--muted);font-weight:600}
.r-tip div{display:flex;justify-content:space-between;gap:12px}
.r-tip div span{display:inline-flex;align-items:center;gap:6px}
.r-tip i{display:inline-block;width:10px;height:10px;border-radius:2px}
.r-tip .r-x{border-top:1px solid var(--line);margin-top:3px;padding-top:3px;color:var(--muted)}
.r-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.r-sel{position:relative;display:flex;flex-direction:column;gap:3px;min-width:0}
.r-sel.r-wide{grid-column:1/-1}
.r-sel label{font-size:12px;color:var(--muted);font-weight:500}
.r-sel select{appearance:none;-webkit-appearance:none;width:100%;min-height:44px;padding:0 32px 0 12px;border:0;border-radius:4px;background:var(--tan);color:var(--tan-ink);font-size:15px;font-weight:600}
.r-sel select:disabled{opacity:.55}
.r-sel::after{content:"";position:absolute;right:13px;bottom:18px;width:7px;height:7px;border-right:2px solid var(--tan-ink);border-bottom:2px solid var(--tan-ink);transform:rotate(45deg);pointer-events:none}
.r-scroll{overflow-x:auto}
table.mx td.on,table.mx th.on{background:var(--band)}
table.mx tr.r-vs td{border-top:2px solid var(--ink);font-weight:700}
table.mx tr.r-vs td:first-child{white-space:nowrap}
table.mx sup{font-size:9px;color:var(--muted)}
table.r-qtab caption{caption-side:bottom;text-align:left;font-family:var(--sans);font-size:13px;color:var(--muted);padding-top:8px}
/* Mike, Nov 21: the quarter table a bit bigger. Figures are in thousands, so it still fits a phone. */
table.mx.r-qtab{font-size:15px}
table.mx.r-qtab th,table.mx.r-qtab td{padding:11px 4px}
table.mx.r-qtab thead th{font-size:13px}
table.mx.r-qtab th:first-child,table.mx.r-qtab td:first-child{font-size:15px}
table.mx.r-qtab sup{font-size:10px}
@media (max-width:359px){table.mx.r-qtab{font-size:13px}table.mx.r-qtab th,table.mx.r-qtab td{padding:10px 2px}table.mx.r-qtab td:first-child{font-size:14px}}
.r-foot{margin-top:28px;display:flex;flex-direction:column;gap:8px;line-height:1.45}
@media (max-width:359px){.r-big{font-size:34px}.r-grid{grid-template-columns:minmax(0,1fr) 68px 64px 44px;column-gap:8px}.r-mgrid{grid-template-columns:minmax(0,1fr) 58px 58px 66px;column-gap:6px}}

/* ---------- what a product is (Nov 21; screens.ts whatItIs, sheets.ts typeSheet) ---------- */
dl.who dd small.gsd{margin-left:8px;font-size:13px;font-weight:500;color:var(--muted)}
span.lab{font-size:14px;font-weight:600;display:block;margin-bottom:8px}
/* The Report's Category mix: a category opens to its styles (Nov 21; report.ts categories). */
button.r-ck .r-nw{white-space:nowrap}
button.r-ck .r-nw::after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:translateY(-3px) rotate(45deg)}
button.r-ck[aria-expanded="true"]{background:var(--tan)}
button.r-ck[aria-expanded="true"] .r-nw::after{transform:translateY(0) rotate(-135deg)}
/* A third level (a style under a drink), and the button that flips format and drink (Nov 21). */
.prow.r-split.r-l3 .nm{padding-left:28px}
.prow.r-split.r-ck[aria-expanded="true"]{background:color-mix(in srgb,var(--tan) 55%,transparent)}
.r-pivot{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:18px;background:none;color:var(--ink);font-size:14px;font-weight:600;white-space:nowrap}
.r-pivot svg{color:var(--pri)}
/* The owner's See it as, above the period chips: the whole business, or a rep's or a region's Report (Nov 21). */
.r-as{position:relative;display:flex;align-items:center;gap:10px;margin-top:14px}
.r-as label{font-size:13px;color:var(--muted);font-weight:500;white-space:nowrap}
.r-as select{appearance:none;-webkit-appearance:none;flex:1;min-width:0;min-height:44px;padding:0 32px 0 12px;border:0;border-radius:4px;background:var(--tan);color:var(--tan-ink);font-size:15px;font-weight:600}
.r-as::after{content:"";position:absolute;right:13px;top:50%;width:7px;height:7px;border-right:2px solid var(--tan-ink);border-bottom:2px solid var(--tan-ink);transform:translateY(-70%) rotate(45deg);pointer-events:none}
/* The owners' reviews (Nov 23): the Report's Reviews sub-tab, and the slide view over everything.
   The slides are their own page in a frame (shared/review-slides.ts); the ground round them is dark in every theme. */
.r-tabs{justify-content:flex-start;gap:14px;margin-top:4px}
.rv-make{gap:12px}
.rv-make .sel select{max-width:240px}
.rv-chg{font-size:14px;font-weight:600;color:var(--due)}
.rv-year{margin-top:14px;padding-bottom:4px;border-bottom:2px solid var(--ink);font-family:var(--mono);font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.rv-list{display:flex;flex-direction:column}
.rv-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:12px 0;border-bottom:1px solid var(--line)}
.rv-what{flex:1 1 240px;min-width:0;display:flex;flex-direction:column;gap:2px}
.rv-more{margin-top:28px;border-top:2px solid var(--ink)}
.rv-more summary{min-height:48px;display:flex;align-items:center;gap:10px;cursor:pointer;font:700 19px/1.2 var(--sans);list-style:none}
.rv-more summary::-webkit-details-marker{display:none}
.rv-more summary::before{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .15s}
.rv-more[open] summary::before{transform:rotate(45deg)}
.rv-form{display:flex;flex-direction:column;gap:14px;padding-bottom:8px}
.rv-form h3{margin-top:8px}
.rv-form .rv-num{max-width:120px}
.rv-form select.f{appearance:auto}
.rv-ch{margin:0;padding:10px 12px 14px;border:1px solid var(--line);border-radius:4px;display:flex;flex-direction:column;gap:10px}
.rv-ch legend{padding:0 6px;font-weight:700}
.rv-done{font-weight:600}
.rv-chg .lnk{min-height:32px;font-size:14px}
/* The Report's Settings sub-tab (Nov 23): how accounts are sorted, read only for now */
.ra-note{margin:0;padding:10px 12px;border-left:3px solid var(--fbd);background:var(--field);font-size:14px;line-height:1.45}
.ra-note code{font-family:var(--mono);font-size:13px}
.ra-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ra-off,.ra-off:hover{opacity:.45;cursor:not-allowed}
.ra-off.sm{min-height:36px;padding:0 12px;font-size:14px;flex-shrink:0}
.ra-why{margin:0;font-size:14px;color:var(--muted);line-height:1.45}
.ra-dims{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.ra-dim{padding:10px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:4px}
.ra-dtop{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.ra-n{font-family:var(--mono);font-size:12px;color:var(--muted)}
.ra-rules{margin:0;padding-left:18px;font-size:14px;line-height:1.45}
.ra-vals{margin:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:14px}
.ra-lab{width:100%;font-size:12px;font-weight:600;color:var(--muted)}
.ra-val{white-space:nowrap}
.ra-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ra-filters select.f{appearance:auto;width:100%}
.ra-list{list-style:none;margin:4px 0 0;padding:0;border-top:1px solid var(--line)}
.ra-row{display:flex;flex-direction:column;gap:6px;padding:12px 0;border-bottom:1px solid var(--line)}
.ra-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.ra-name{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding-top:6px}
.ra-name b{font-size:16px}
.ra-tag{font-size:12px;font-weight:700;padding:2px 8px;border-radius:10px;background:var(--tan);color:var(--tan-ink)}
.ra-f{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px}
.ra-f dl,.ra-names{margin:0;display:flex;flex-direction:column;gap:6px;min-width:0}
.ra-f dt,.ra-names dt{font-size:12px;font-weight:600;color:var(--muted)}
.ra-f dd,.ra-names dd{margin:0;font-size:14px;overflow-wrap:anywhere}
.ra-dim-note{color:var(--muted)}
#rv-msg:empty{display:none}
.rv-show{position:fixed;inset:0;z-index:20;background:#1B1915;color:#EDE6D6;display:flex;flex-direction:column;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
.rv-bar{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid #4A4438}
.rv-t{flex:1;min-width:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rv-nav{display:flex;align-items:center;gap:4px;font:700 13px var(--mono)}
.rv-n{min-width:56px;text-align:center}
.rv-btn{min-height:44px;min-width:44px;padding:0 12px;border:1px solid #6F675A;border-radius:4px;background:none;color:#EDE6D6;font-size:15px;font-weight:600}
.rv-nav .rv-btn{font-size:22px;line-height:1;padding:0 10px}
.rv-show .btn.pri{background:#E09A78;color:#1B1915}
.rv-msg{margin:0;padding:8px 12px;background:#3A342A;font-size:14px}
.rv-frame{flex:1;width:100%;border:0;display:block;background:#1B1915}
.rv-show :focus-visible{outline-color:#E09A78}

