/* Vendor Hoard
   Colours come from the logo: black, silver and red. The black theme is the logo's own background with
   silver-white type; the light theme is silver-grey with black type. Red is kept for the things that should
   stand out: the tab you are on, losses, and Delete. Primary buttons are black or silver.
   Layout: an account book. Lists are ruled tables with figures lined up on the right; totals get a double rule.
   Motion (ideas from 21st.dev, rebuilt without React): the tab you are on is lit by a red "tubelight" that slides
   between tabs; choices in a segmented box slide the same way; money figures roll to a new total like a till; sheets
   rise like a drawer and can be swiped away. All of it answers a tap, and all of it stops when the phone asks for
   less motion. */

:root{
  --mat:#eceef1;        /* page: silver */
  --surface:#ffffff;    /* rows, sheets, fields */
  --ink:#0b0b0d;        /* text, primary buttons: the logo's black */
  --mute:#5a5f68;
  --rule:#cfd3d9;
  --accent:#e0161f;     /* the logo's red */
  --sticker:#e0161f;    /* price stickers */
  --sticker-ink:#ffffff;
  --sold:#08754a;
  --sold-ink:#ffffff;
  --danger:#c8101c;
  --btn:#0b0b0d;
  --btn-ink:#ffffff;
  --shade:rgba(5,5,6,.55);
  --field:#838892;      /* edges of boxes you type in: firm enough to see (3:1 against the page, as WCAG asks) */
  --body:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --lamp-glow:rgba(224,22,31,.16);   /* the light the tab lamp throws onto the tab under it */
  --spring:cubic-bezier(.3,1.35,.55,1);   /* a slight overshoot, like a spring settling */
  --drawer:cubic-bezier(.32,.72,0,1);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --mat:#050506;--surface:#15161a;--ink:#f3f4f6;--mute:#a4a9b2;--rule:#3d4048;--field:#6e727c;--accent:#f0242c;--sticker:#e0161f;
    --sold:#3fcf8e;--sold-ink:#04130c;--danger:#ff5a5f;--btn:#f3f4f6;--btn-ink:#050506;--shade:rgba(0,0,0,.7);--lamp-glow:rgba(240,36,44,.24);
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --mat:#050506;--surface:#15161a;--ink:#f3f4f6;--mute:#a4a9b2;--rule:#3d4048;--field:#6e727c;--accent:#f0242c;--sticker:#e0161f;
  --sold:#3fcf8e;--sold-ink:#04130c;--danger:#ff5a5f;--btn:#f3f4f6;--btn-ink:#050506;--shade:rgba(0,0,0,.7);--lamp-glow:rgba(240,36,44,.24);
  color-scheme:dark;
}

*{box-sizing:border-box}
[hidden]{display:none !important}
html{-webkit-text-size-adjust:100%;scroll-padding:76px 0 calc(84px + env(safe-area-inset-bottom,0px))}   /* keeps a focused control clear of the header and the tab bar */
body{margin:0;background:var(--mat);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.45}
h1,h2,h3{font-weight:700;line-height:1.2;margin:0;text-wrap:balance}
h1{font-size:1.45rem;letter-spacing:-.01em}
h2{font-size:1.12rem}
h3{font-size:1rem}
p{margin:0}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.vh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0}
.vh:focus-visible+label{outline:3px solid var(--ink);outline-offset:2px}

/* ---------- frame ---------- */
/* The header is the logo's black in both themes and stays put while lists scroll. It has three working parts:
   the logo (home), the show you are selling at (tap to change), and today's takings (tap for the sales). */
#bar{position:sticky;top:0;z-index:4;background:#050506;color:#f3f4f6;border-bottom:1px solid #2a2c32;padding-top:env(safe-area-inset-top,0px)}
#bar>div{max-width:600px;margin:0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;padding:0 4px 0 6px}
#bar button{display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:0;min-height:60px;margin:0;padding:6px 12px;background:none;border:0;color:inherit;text-align:left;cursor:pointer}
#bar button:focus-visible{outline:3px solid #f3f4f6;outline-offset:-3px}
#bar-home{padding:6px 10px 6px 8px}
#bar-home img{display:block;width:84px;height:auto}
#bar .bar-show,#bar .bar-till{border-left:1px solid #2a2c32}
#bar .bar-till{align-items:flex-end;text-align:right}
#bar small{font-size:.74rem;line-height:1.2;color:#a4a9b2;white-space:nowrap}
.bar-val{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}
.bar-val b{min-width:0;font-size:.98rem;font-weight:700;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.bar-show i{flex:none;width:7px;height:7px;margin-bottom:3px;border:solid #a4a9b2;border-width:0 2px 2px 0;transform:rotate(45deg)}   /* a small "this opens" arrow */
#app{max-width:600px;margin:0 auto;padding:16px 16px calc(96px + env(safe-area-inset-bottom,0px))}
.screen>header{margin-bottom:12px}
.screen>header p{color:var(--mute);margin-top:2px;font-size:.95rem}

nav#tabs{position:fixed;left:0;right:0;bottom:0;z-index:5;background:var(--surface);border-top:1px solid var(--rule);padding-bottom:env(safe-area-inset-bottom,0px)}
nav#tabs>div{position:relative;overflow:hidden;max-width:600px;margin:0 auto;display:grid;grid-template-columns:repeat(5,1fr);--tab:0}   /* clipped so the lamp only lights the tab bar, not the list above */
nav#tabs button:focus-visible{outline-offset:-3px}
nav#tabs button{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:58px;padding:6px 2px 7px;background:none;border:0;font-weight:600;font-size:.74rem;color:var(--mute);cursor:pointer;transition:color .2s}
nav#tabs svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
nav#tabs button[aria-current="page"]{color:var(--ink)}
/* The tubelight: a short red tube along the top edge of the current tab, throwing a soft light down onto it. */
#tab-lamp{position:absolute;top:0;left:0;width:20%;height:100%;pointer-events:none;transform:translateX(calc(var(--tab) * 100%))}
#tab-lamp::before{content:"";position:absolute;top:0;left:50%;width:34px;height:3px;margin-left:-17px;border-radius:0 0 3px 3px;background:var(--accent);box-shadow:0 1px 9px 1px var(--accent)}
#tab-lamp::after{content:"";position:absolute;top:0;left:50%;width:76px;height:46px;margin-left:-38px;background:radial-gradient(50% 100% at 50% 0,var(--lamp-glow),transparent)}
#tab-lamp.moves{transition:transform .45s var(--spring)}

/* A panel groups things that belong together: a section of a form, a table, a settings block. */
.panel{margin-top:12px;padding:14px;background:var(--surface);border:1px solid var(--rule);border-radius:10px}
.panel>h2{font-size:.98rem}
.panel p{color:var(--mute);margin-top:4px;font-size:.93rem}
.panel>.field:first-of-type,.panel>h2+.two>.field,.panel>h2+.field{margin-top:10px}

/* ---------- controls ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border-radius:8px;border:1px solid var(--ink);background:transparent;color:var(--ink);font-weight:600;cursor:pointer;text-align:center;text-decoration:none}
.btn.primary{background:var(--btn);color:var(--btn-ink);border-color:var(--btn)}
.btn:not(:disabled):active{transform:scale(.97)}
.btn.danger{border-color:var(--danger);color:var(--danger)}
.btn:disabled{opacity:.45;cursor:default}
.btn.wide{width:100%}
.row-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.row-btns.three>:first-child{grid-column:1 / -1}
.row-btns.one{grid-template-columns:1fr}
.panel p.gs-err{color:var(--danger);font-weight:600}   /* main action on its own line, then Edit and Delete */
#f-btns:has(#f-cancel[hidden]){grid-template-columns:1fr}   /* Save fills the row when there is no Cancel */
.linkbtn{background:none;border:0;padding:0;min-height:44px;color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
a.linkbtn{display:inline-flex;align-items:center}
.aside{text-align:right}                             /* sits under the asking price, which is the right-hand field */
.ebay{margin-top:16px}
#c-msg:empty,#f-scanmsg:empty{display:none}          /* no blank gap until there is something to say */
.ebay~.row-btns{margin-top:10px}

.field{display:grid;gap:5px;margin-top:12px;min-width:0}
.field>span,.field>label,legend{color:var(--mute);font-size:.86rem;font-weight:500;padding:0}
/* A box you can type in, with a button on the right that opens a list to pick from */
.combo{position:relative;min-width:0}
.combo input{padding-right:52px}
.combo-btn{position:absolute;top:1px;right:1px;bottom:1px;width:48px;display:grid;place-items:center;padding:0;border:0;border-left:1px solid var(--field);border-radius:0 7px 7px 0;background:var(--surface);color:var(--ink);cursor:pointer}
.combo-btn:active{background:var(--mat)}
.combo-btn:focus-visible{outline:3px solid var(--ink);outline-offset:-3px}
.list-head{margin:18px 0 0;font-size:.78rem;font-weight:650;letter-spacing:.05em;text-transform:uppercase;color:var(--mute)}
.list-head+.ledger{margin-top:6px}
.line .tag{font-size:.78rem;font-weight:650;color:var(--ink)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
input[type=text],input[type=date],input[type=search],select{width:100%;min-width:0;min-height:48px;font-size:16px;background:var(--surface);border:1px solid var(--field);border-radius:8px;padding:10px 12px}
input:focus-visible,select:focus-visible{border-color:var(--ink)}
fieldset{border:0;margin:12px 0 0;padding:0;min-width:0}
.panel>fieldset:first-of-type{margin-top:10px}
.seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;margin-top:5px;border:1px solid var(--field);border-radius:8px;overflow:hidden;background:var(--surface)}
.seg label{display:flex;align-items:center;justify-content:center;min-height:46px;padding:0 6px;font-weight:600;cursor:pointer;text-align:center}
.seg label+input+label{border-left:1px solid var(--field)}
.seg input:checked+label{background:var(--btn);color:var(--btn-ink)}
/* Where the browser can tell which choice is on, a thumb slides to it instead of the colour jumping. */
@supports selector(:has(*)){
  .seg{position:relative;--n:2;--on:0;padding:3px;gap:3px}
  .seg:has(input:nth-of-type(3)){--n:3}
  .seg:has(input:nth-of-type(2):checked){--on:1}
  .seg:has(input:nth-of-type(3):checked){--on:2}
  .seg::before{content:"";position:absolute;top:3px;bottom:3px;left:3px;width:calc((100% - 6px - (var(--n) - 1) * 3px) / var(--n));border-radius:6px;background:var(--btn);transform:translateX(calc(var(--on) * (100% + 3px)));transition:transform .4s var(--spring)}
  .seg label{position:relative;min-height:44px;border-radius:6px;transition:color .2s}
  .seg label+input+label{border-left:0}
  .seg input:checked+label{background:none}
}
.msg{min-height:1.4em;margin-top:10px;font-size:.94rem;color:var(--mute)}
.msg.err{color:var(--danger);font-weight:600}
.msg.ok{color:var(--sold);font-weight:600}

/* ---------- find a card: search box with the Scan button beside it ---------- */
.find{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:12px}
.find .btn{min-height:48px;padding:10px 20px}
.scan-shot{margin-top:12px;border-radius:8px;overflow:hidden;background:var(--mat);text-align:center}
.scan-shot img{display:block;margin:0 auto;max-width:100%;max-height:26vh;object-fit:contain}
.label-photo img{display:block;margin:0 auto;max-width:100%;max-height:30vh;object-fit:contain}
#d-scan .ledger{margin-top:14px}

/* ---------- official picture (looked up from the card's name) ---------- */
.art{margin-top:12px;min-width:0;padding:12px;border-radius:8px;background:var(--mat);border:1px solid var(--rule)}
.art>p{color:var(--mute);font-size:.86rem;font-weight:500}
.art .chosen{display:grid;grid-template-columns:92px 1fr;gap:14px;align-items:center;margin-top:8px}
.art .chosen img{display:block;width:92px;border-radius:5px}
.art .chosen b{display:block;font-weight:650;overflow-wrap:anywhere}
.art .chosen div>span{display:block;color:var(--mute);font-size:.92rem;overflow-wrap:anywhere}
.art .links{display:flex;flex-wrap:wrap;gap:0 20px}
.art .strip{display:flex;gap:10px;margin-top:8px;padding-bottom:8px;overflow-x:auto;scroll-snap-type:x proximity}
.art .strip button{flex:0 0 108px;display:flex;flex-direction:column;justify-content:flex-start;padding:6px;border:1px solid var(--field);border-radius:8px;background:var(--surface);text-align:left;cursor:pointer;scroll-snap-align:start}
.art .strip img{display:block;width:100%;aspect-ratio:245/337;object-fit:contain;border-radius:4px}
.art .strip .where{display:block;margin-top:5px;font-size:.8rem;line-height:1.25;overflow-wrap:anywhere}
.art .thumb{display:block}
/* When a picture can't be shown, a plain card-shaped tile with the card's number stands in for it. */
.art .no-pic{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:245/337;padding:6px;border:1px dashed var(--field);border-radius:4px;background:var(--mat);color:var(--mute);font-size:.78rem;font-weight:650;line-height:1.2;text-align:center;overflow-wrap:anywhere}
.art .chosen .no-pic{width:92px}
.legal-links a{margin-right:18px}
.brandmark{display:block;width:min(240px,72%);height:auto;margin-bottom:14px;padding:10px 16px;border-radius:10px;background:#050506}   /* the logo is drawn for a black background */
.check{display:flex;align-items:center;gap:12px;min-height:48px;margin-top:6px;font-weight:600;cursor:pointer}
.check input{width:24px;height:24px;margin:0;accent-color:var(--accent)}

/* ---------- summary: the figures a vendor checks first ---------- */
.totals{padding:0}
.totals .sumrow{padding:12px 14px}
.totals .sumrow+.sumrow{border-top:1px solid var(--rule)}
.totals h2{display:flex;justify-content:space-between;gap:12px;font-size:.95rem}
.totals h2 span{font-weight:500;color:var(--mute)}
.totals dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 0}
.totals dl>div{min-width:0}
.totals dt{font-size:.8rem;color:var(--mute)}
.totals dd{margin:1px 0 0;font-size:clamp(.95rem,5vw,1.2rem);font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}

/* ---------- lists: ruled like a ledger, figures on the right ---------- */
.table{margin-top:12px;padding:0 14px;background:var(--surface);border:1px solid var(--rule);border-radius:10px}
.table .ledger{margin:0;border-top:0}
.table .ledger>li:last-child{border-bottom:0}
.cols{display:flex;justify-content:space-between;gap:14px;padding:9px 0 8px;border-bottom:1.5px solid var(--ink);font-size:.8rem;font-weight:600;color:var(--mute)}
.ledger{list-style:none;margin:10px 0 0;padding:0;border-top:1.5px solid var(--ink)}
.ledger>li{border-bottom:1px solid var(--rule)}
.ledger button.line{display:grid;grid-template-columns:1fr auto;gap:2px 14px;align-items:center;width:100%;min-height:62px;padding:10px 0;background:none;border:0;text-align:left;cursor:pointer;transition:background-color .2s}
.table{overflow:hidden}
.table .ledger button.line{width:calc(100% + 28px);margin:0 -14px;padding:10px 14px}
.ledger button.line:active{background:var(--mat);transition:none}
.ledger button.line:focus-visible{outline-offset:-3px}
.line .nm{font-weight:600;font-size:1rem;overflow-wrap:anywhere}
.line .sub{grid-column:1;color:var(--mute);font-size:.88rem;overflow-wrap:anywhere}
.line .side{grid-column:2;grid-row:1 / span 2;display:grid;justify-items:end;gap:2px}
.line .qty{color:var(--mute);font-size:.8rem}
.empty{padding:22px 0;color:var(--mute)}
.count{margin-top:12px;color:var(--mute);font-size:.88rem}

/* Prices are plain figures in a column. (The class is still called "sticker" from an earlier look.) */
.sticker{font-weight:700;font-size:1.02rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.sticker.blank{color:var(--mute);font-weight:400;font-size:.9rem}
.sticker.sold{color:var(--sold)}
.neg{color:var(--danger)}


/* ---------- sheets ---------- */
dialog{border:0;border-radius:14px 14px 0 0;background:var(--surface);color:var(--ink);padding:24px 18px calc(20px + env(safe-area-inset-bottom,0px));width:100%;max-width:600px;max-height:92%;margin:auto auto 0;overflow-y:auto;overscroll-behavior:contain}
/* A grip at the top says the sheet can be pulled down to put it away. */
dialog::before{content:"";position:absolute;top:8px;left:50%;width:38px;height:4px;margin-left:-19px;border-radius:2px;background:var(--rule)}
dialog#d-confirm::before{content:none}
dialog.dragging{transition:none !important;animation:none !important}
dialog.letgo{transition:transform .32s var(--drawer)}
dialog::backdrop{background:var(--shade)}
/* Live camera: fills the screen; the card outline sits in the middle with the rest of the picture dimmed. */
dialog.cam{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border-radius:0;background:#000;color:#fff;overflow:hidden;display:none;flex-direction:column}
dialog.cam[open]{display:flex}
dialog.cam::before{content:none}
.cam-view{position:relative;flex:1;min-height:0;overflow:hidden;container-type:size}
.cam-view video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000}
.cam-frame{position:absolute;left:50%;top:50%;width:min(78cqw, calc(80cqh * 63 / 88));aspect-ratio:63/88;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:4.5% / 3.2%;box-shadow:0 0 0 200vmax rgba(0,0,0,.5);transition:border-color .2s}
.cam-frame.got{border-color:#3ddc84}
.cam-x{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:12px;z-index:2;display:grid;place-items:center;width:48px;height:48px;padding:0;border-radius:50%;border:1.5px solid rgba(255,255,255,.75);background:rgba(0,0,0,.55);color:#fff;cursor:pointer}
.cam-x:active{background:rgba(255,255,255,.25)}
.cam-x:focus-visible{outline:3px solid #fff;outline-offset:2px}
.cam-bar{padding:12px 16px calc(14px + env(safe-area-inset-bottom,0px));background:#0b0b0d}
.cam-say{min-height:2.9em;margin:0 0 10px;font-weight:600;line-height:1.4;color:#fff}
.cam-btns{display:flex;gap:10px}
.cam-btns .btn{flex:1;border-color:#fff;color:#fff;padding:10px 8px;font-size:.92rem}
.cam-btns #cam-light{flex:0 0 auto}
.cam-btns #cam-light[aria-pressed="true"]{background:#fff;color:#000}
dialog .close{position:absolute;top:14px;right:10px;width:44px;height:44px;border-radius:8px;border:1px solid var(--rule);background:var(--surface);font-size:1.4rem;line-height:1;cursor:pointer}
dialog h2{margin-right:54px;font-size:1.25rem}
dialog .hint{color:var(--mute);margin-top:6px}

/* Card detail header: name and set on the left, condition or grade as a tag on the right. */
.label{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:start;margin:0 54px 12px 0}
.label .who{min-width:0}
.label h2{margin:0;overflow-wrap:anywhere}
.label .who p{color:var(--mute);font-size:.92rem;margin-top:3px;overflow-wrap:anywhere}
.label .grade{margin-top:2px;padding:4px 10px;border:1px solid var(--ink);border-radius:6px;font-weight:650;font-size:.84rem;line-height:1.2;text-align:center;max-width:8.5em;overflow-wrap:anywhere}
.label .grade:empty{display:none}
.label-photo{margin-bottom:12px;border-radius:8px;overflow:hidden;background:var(--mat)}
/* Facts read like lines in a statement; the bottom line (profit, net) gets the accountant's double rule. */
dl.facts{display:grid;grid-template-columns:auto 1fr;margin:0;border-top:1.5px solid var(--ink)}
dl.facts dt,dl.facts dd{padding:8px 0;border-bottom:1px solid var(--rule)}
dl.facts dt{color:var(--mute);padding-right:16px}
dl.facts dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
dl.facts .sum{grid-column:1 / -1;display:flex;justify-content:space-between;gap:16px;border-bottom:3px double var(--ink)}
dl.facts .sum dt,dl.facts .sum dd{border:0;font-weight:700}
dl.facts .sum dt{color:var(--ink)}
.sellbox{margin-top:16px;border-top:1px solid var(--rule);padding-top:4px}

/* ---------- toast ---------- */
#toast{position:fixed;left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom,0px));z-index:20;max-width:576px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:8px;background:var(--btn);color:var(--btn-ink);font-weight:600;pointer-events:none}   /* a message never blocks the button under it */
#toast button{pointer-events:auto;background:none;border:0;min-height:44px;padding:0 6px;color:inherit;font-weight:700;text-decoration:underline;cursor:pointer}

/* ---------- more ---------- */
.panel .btn{margin-top:12px}
.panel .row-btns{margin-top:12px}
.panel .row-btns .btn,.panel .row-btns label.btn{margin-top:0}

@media (max-width:360px){.two{grid-template-columns:1fr}#bar-home img{width:70px}#bar button{padding-left:9px;padding-right:9px}}
@media (prefers-reduced-motion:no-preference){
  dialog[open]{animation:rise .42s var(--drawer)}
  dialog[open]::backdrop{animation:dim .3s ease-out}
  @keyframes rise{from{transform:translateY(100%)}}
  @keyframes dim{from{opacity:0}}
}
@media (prefers-reduced-motion:reduce){
  #tab-lamp.moves,.seg::before,dialog.letgo{transition:none}
  .btn:not(:disabled):active{transform:none}
}

/* ---------- iPhone and iPad: how to put the app on the Home Screen ---------- */
.tip{margin:0 0 14px;border-left:4px solid var(--accent)}
.tip-body>p{margin-top:6px}
.tip-steps{margin:12px 0 0;padding:0;list-style:none;counter-reset:step;display:grid;gap:10px}
.tip-steps li{counter-increment:step;display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;align-items:start;font-size:.95rem;line-height:1.4}
.tip-steps li::before{content:counter(step);display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--btn);color:var(--btn-ink);font-weight:700;font-size:.82rem}
.tip-steps b{font-weight:650}
.tip-steps svg{display:inline-block;width:20px;height:20px;margin:0 1px;vertical-align:-4px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.panel p.tip-note{margin-top:12px;color:var(--ink)}
.tip-steps svg.share{width:16px;margin-left:3px}   /* drawn edge to edge, so the full stop after it sits close */
#app:has(#s-more:not([hidden])) #ios-tip{display:none}   /* More has the same steps in its own panel */
