/* Customer panel (my-account, order, password): side menu, stat tiles, services with licence time, orders with a progress line.
   Uses the tokens of plain.css (--ink, --muted, --line, --card, --bg, --accent, --grad). */
.ic { width:18px; height:18px; flex-shrink:0; vertical-align:-4px; }
.acc { display:grid; grid-template-columns:250px minmax(0,1fr); gap:24px; align-items:start; }
.acc-main { min-width:0; display:flex; flex-direction:column; gap:20px; }
.acc-main h1 { margin:0; }
.acc-side { position:sticky; top:96px; background:var(--card); border:1px solid var(--line); border-radius:18px; padding:14px; }
.acc-user { display:flex; align-items:center; gap:12px; padding:4px 4px 14px; border-bottom:1px solid var(--line); }
.acc-avatar { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; flex-shrink:0; color:#fff; font-weight:800; font-size:18px; background:linear-gradient(135deg,#F05666,#6C4BB4); }
.acc-who { display:flex; flex-direction:column; min-width:0; line-height:1.5; }
.acc-who b { font-size:14.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.acc-who small { color:var(--muted); font-size:12.5px; text-align:end; }
.acc-nav { display:flex; flex-direction:column; gap:2px; padding-top:10px; }
.acc-nav a, .acc-nav button { display:flex; align-items:center; gap:10px; width:100%; min-height:42px; padding:8px 12px; border:0; border-radius:12px; background:none; color:var(--ink); font:inherit; font-size:14px; cursor:pointer; text-align:start; box-sizing:border-box; }
.acc-nav a:hover, .acc-nav button:hover { background:var(--bg); }
.acc-nav a[aria-current="page"] { background:#15171d; color:#fff; }
.acc-nav form { margin:4px 0 0; padding-top:4px; border-top:1px solid var(--line); }
.acc-out { display:none; } .acc-out button { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--line); border-radius:12px; background:none; color:var(--muted); font:inherit; font-size:13px; cursor:pointer; }
.acc-nav button { color:var(--muted); }
.acc-nav button.acc-soon { cursor:not-allowed; opacity:.7; } .acc-nav button.acc-soon:hover { background:none; }
.acc-nav a .chip { margin-inline-start:auto; } /* the owner's «حالت تعمیرات» row (the dashboard loads only this file) */
.acc-nav button.acc-soon small { margin-inline-start:auto; padding:0 8px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--muted); font-size:11px; font-weight:700; line-height:18px; }
.acc-hello p { margin:4px 0 0; color:var(--muted); }

.acc-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; }
.acc-stat { display:flex; flex-direction:column; gap:2px; padding:14px 16px; background:var(--card); border:1px solid var(--line); border-radius:16px; }
.acc-stat small { color:var(--muted); font-size:12.5px; }
.acc-stat b { font-size:20px; font-variant-numeric:tabular-nums; }
.acc-stat.hot { border:2px solid transparent; background:linear-gradient(#fff,#fff) padding-box, var(--grad) border-box; }

.acc-sec h2 { display:flex; align-items:center; gap:8px; margin:0 0 12px; font-size:18px; }
.chip { display:inline-block; padding:1px 10px; border-radius:999px; font-size:12px; font-weight:700; white-space:nowrap; background:#eceef2; color:#4d5361; }
.chip.ok { background:#e3f4ea; color:#14613a; } .chip.go { background:#e6eefb; color:#1b4a94; }
.chip.wait { background:#fff1d6; color:#7a4f00; } .chip.hold { background:#efe8fb; color:#553591; }
.chip.bad { background:#fde6e9; color:#9b1730; }
.btn-line { display:inline-flex; align-items:center; gap:6px; min-height:44px; box-sizing:border-box; padding:6px 12px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--ink); font:inherit; font-size:13px; cursor:pointer; }
.btn-line:hover { border-color:var(--accent); color:var(--accent); }
.btn-line:disabled { cursor:not-allowed; color:var(--muted); border-color:var(--line); opacity:.75; }
.btn-line small { font-size:11px; color:var(--muted); }
.btn .ic, .btn-line .ic { width:15px; height:15px; vertical-align:-3px; }
a:focus-visible, button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

/* services: one card per licensed unit */
.svc-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:12px; }
.svc { display:flex; flex-direction:column; gap:8px; padding:14px 16px; background:var(--card); border:1px solid var(--line); border-radius:16px; position:relative; overflow:hidden; }
.svc::before { content:""; position:absolute; inset:0 0 auto; height:3px; background:var(--grad); }
.svc-top { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.svc-name { font-weight:700; font-size:14.5px; line-height:1.6; }
.svc-name small { color:var(--muted); font-weight:400; }
.svc-os { margin:-6px 0 0; font-size:12.5px; color:var(--muted); }
.svc-life { display:flex; justify-content:space-between; gap:8px; flex-wrap:wrap; font-size:13px; }
.svc-life b { font-variant-numeric:tabular-nums; }
.acc .bar { height:6px; border-radius:6px; background:#eceef2; overflow:hidden; }
.acc .bar i { display:block; height:100%; border-radius:6px; background:linear-gradient(90deg,#6C4BB4,#D04BB4); }
.acc .bar.low i { background:linear-gradient(90deg,#F05666,#c42a4c); }
.svc-act { display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; padding-top:4px; }

/* orders */
#orders { display:flex; flex-direction:column; gap:10px; }
#orders h2 { margin-bottom:2px; }
.ord { padding:14px 16px; background:var(--card); border:1px solid var(--line); border-radius:16px; display:flex; flex-direction:column; gap:8px; }
.ord-head { display:flex; align-items:center; flex-wrap:wrap; gap:8px 10px; }
.ord-id { font-weight:800; color:var(--ink); }
.ord-head time { margin-inline-start:auto; color:var(--muted); font-size:12.5px; font-variant-numeric:tabular-nums; }
.ord-items { margin:0; color:var(--muted); font-size:13px; }
.ord-foot { display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; }
.ord-total { font-variant-numeric:tabular-nums; }
.ord-ship { font-size:12.5px; color:var(--muted); }
.ord-btns { display:flex; gap:8px; margin-inline-start:auto; }
.ord-btns form { margin:0; }
.ord-btns .btn { padding:6px 14px; font-size:13px; }
.mini-track { display:flex; gap:4px; margin:0; padding:0; list-style:none; }
.mini-track li { flex:1; height:5px; border-radius:3px; background:#e3e5eb; }
.mini-track li.done { background:#6C4BB4; }
.mini-track li.now { background:linear-gradient(90deg,#D04BB4,#F05666); }
.mini-track li.fail { background:#c42a4c; }
.mini-track span, .sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.acc-empty { padding:28px 16px; text-align:center; background:var(--card); border:1px dashed var(--line); border-radius:16px; }
.acc-empty p { margin:0 0 12px; color:var(--muted); }

/* order page */
.acc-back { display:inline-flex; align-items:center; gap:6px; align-self:flex-start; color:var(--muted); font-size:13px; }
.acc-back:hover { color:var(--accent); }
.ord-title { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; }
.ord-title time { color:var(--muted); font-size:13px; }
.track { display:flex; margin:0; padding:18px 8px 14px; list-style:none; background:var(--card); border:1px solid var(--line); border-radius:16px; }
.track li { flex:1; position:relative; display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; }
.track li + li::before { content:""; position:absolute; top:15px; inset-inline-start:-50%; inset-inline-end:50%; height:2px; margin-inline:20px; background:#e3e5eb; }
.track li.done::before, .track li.now::before, .track li.fail::before { background:#6C4BB4; }
.track .dot { position:relative; z-index:1; display:grid; place-items:center; width:32px; height:32px; border-radius:50%; font-size:13px; font-weight:700; background:#eceef2; color:var(--muted); }
.track .dot .ic { width:16px; height:16px; }
.track .done .dot { background:#6C4BB4; color:#fff; }
.track .now .dot { background:#fff; color:#c42a4c; box-shadow:inset 0 0 0 2px #c42a4c; animation:acc-pulse 2s ease-out infinite; }
.track .fail .dot { background:#c42a4c; color:#fff; }
.track .lbl { font-size:12.5px; color:var(--muted); }
.track .done .lbl, .track .now .lbl, .track .fail .lbl { color:var(--ink); font-weight:600; }
@keyframes acc-pulse { 0% { box-shadow:inset 0 0 0 2px #c42a4c, 0 0 0 0 #c42a4c55; } 70%,100% { box-shadow:inset 0 0 0 2px #c42a4c, 0 0 0 9px #c42a4c00; } }
@media (prefers-reduced-motion:reduce) { .track .now .dot { animation:none; } }
.acc-note { margin:0; padding:10px 14px; border-radius:12px; background:#eceef2; color:#4d5361; }
.acc-pay { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:12px 16px; border:2px solid transparent; border-radius:16px; background:linear-gradient(#fff,#fff) padding-box, var(--grad) border-box; }
.acc-pay p, .acc-pay form { margin:0; }
.info-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:12px; }
.info { padding:14px 16px; background:var(--card); border:1px solid var(--line); border-radius:16px; font-size:14px; }
.info h2 { display:flex; align-items:center; gap:8px; margin:0 0 6px; font-size:15px; }
.info p { margin:4px 0; }
.copy-row { display:inline-flex; align-items:center; gap:4px; }
.copy-row code { padding:1px 8px; border-radius:6px; background:var(--bg); font-size:13px; }
.copy { display:grid; place-items:center; width:32px; height:32px; padding:0; border:0; border-radius:8px; background:none; color:var(--muted); cursor:pointer; }
.copy:hover { background:var(--bg); color:var(--ink); } .copy.ok { color:#14613a; }
@media (pointer:coarse) { .copy, .sec-head a { position:relative; } .copy::after, .sec-head a::after { content:""; position:absolute; inset:-4px; } .sec-head a::after { inset:-9px -4px; } } /* ~40px tap area, same look */
/* profile photo form (R5 of the 2026-10-18 audit): the native file input no longer pushes out of its card on narrow screens */
.av-box form { flex:1; min-width:0; } .av-box input[type=file] { max-width:100%; min-width:0; }
.tbl { overflow-x:auto; border:1px solid var(--line); border-radius:16px; background:var(--card); }
.tbl th { font-size:12.5px; color:var(--muted); font-weight:600; }
.tbl tr:last-child td { border-bottom:0; } .tbl td:not(:first-child) { font-variant-numeric:tabular-nums; white-space:nowrap; }
.tbl tr.sum td { color:var(--muted); } .tbl tr.total td { color:var(--ink); background:#fafbfc; }
.key-card { padding:12px 16px; margin-bottom:10px; background:var(--card); border:1px solid var(--line); border-radius:16px; }
.key-card h3 { margin:0 0 4px; font-size:15px; }
.key-card > p { font-size:13.5px; }
.unit { display:flex; gap:12px; padding:10px 0; border-top:1px solid var(--line); font-size:14px; }
.unit-n { flex-shrink:0; align-self:flex-start; padding:1px 10px; border-radius:999px; background:var(--bg); color:var(--muted); font-size:12px; }
.unit-body { flex:1; min-width:0; }
.unit-body form { margin:8px 0 4px; } .unit-body p { margin:4px 0; font-size:13px; }
.unit-body code { word-break:break-all; font-size:12px; }
.unit.activated .unit-n { background:#e3f4ea; color:#14613a; }
.notes { margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:10px; }
.notes li { padding:10px 14px; background:var(--card); border:1px solid var(--line); border-inline-start:3px solid #6C4BB4; border-radius:12px; }
.notes time { color:var(--muted); font-size:12px; } .notes p { margin:2px 0 0; font-size:14px; }
.acc-form form { display:flex; flex-direction:column; gap:10px; max-width:380px; }
.acc-form input { width:100%; }

/* Image cards (docs/85; redrawn for the owner's ask of 2026-11-09 21:57 UTC): flat cards, one solid accent button, no gradient, no glow.
   The card is .imc, never .ic (that is the icon class of {% icon %}). */
.img-hero { display:flex; flex-direction:column; gap:6px; }
.img-hero p, .img-intro { margin:0; max-width:62ch; color:var(--muted); font-size:14.5px; line-height:1.9; }
/* the staff preview of a ready card (portal.views.os_images_preview): what it is, said once; it pulses when a button is tried */
.img-preview { margin:0; padding:12px 14px; border:1px dashed var(--accent); border-radius:12px; background:var(--card); color:var(--ink); font-size:14px; line-height:1.9; }
.img-preview.flash { animation:img-pv .6s ease 2; }
@keyframes img-pv { 50% { box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent); } }
@media (prefers-reduced-motion: reduce) { .img-preview.flash { animation:none; outline:2px solid var(--accent); } }
.img-staff { margin:0; font-size:13px; } .img-staff a { color:var(--muted); }
.keys { display:flex; flex-direction:column; gap:14px; }
.imc { display:flex; flex-direction:column; gap:16px; padding:18px; background:var(--card); color:var(--ink); border:1px solid var(--line); border-radius:16px; }
.imc.is-ready { border-color:var(--accent); }
.imc-head { display:flex; align-items:flex-start; gap:12px; }
.imc-name { flex:1; min-width:0; } .imc-name h3 { margin:0; font-size:16px; line-height:1.6; }
.imc-name small { color:var(--muted); font-size:13px; } .imc-name small a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.imc-chip { flex:none; padding:3px 12px; border-radius:999px; background:var(--bg); color:var(--muted); font-size:12.5px; font-weight:700; white-space:nowrap; }
.imc-chip.ready { background:#fde8ec; color:#a3213f; } .imc-chip.activated { background:#e3f4ea; color:#14613a; }
.imc-chip.rebuild { background:#fff4d6; color:#7a5300; } .imc-chip.router_prep { background:#e8eefc; color:#23408f; } .imc-chip.failed, .imc-chip.support, .imc-chip.revoked { background:#fdecea; color:#a1271b; }
.imc-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; padding:0; list-style:none; counter-reset:imc; }
.imc-steps li { position:relative; display:flex; flex-direction:column; align-items:center; gap:6px; color:var(--muted); font-size:12.5px; font-weight:600;
  text-align:center; line-height:1.5; counter-increment:imc; }
.imc-steps li + li::before { content:""; position:absolute; top:12px; inset-inline-start:calc(-50% + 18px); inset-inline-end:calc(50% + 18px); height:2px;
  border-radius:2px; background:var(--line); }
.imc-steps li.done + li::before { background:#1f8f55; }
.imc-steps i { position:relative; display:grid; place-items:center; width:26px; height:26px; border-radius:50%; border:2px solid var(--line); background:var(--card);
  font-style:normal; font-size:12px; font-weight:700; }
.imc-steps i::before { content:counter(imc, persian); }
.imc-steps li.done { color:#14613a; } .imc-steps li.done i { border-color:#1f8f55; background:#1f8f55; color:#fff; } .imc-steps li.done i::before { content:"✓"; }
.imc-steps li.now { color:var(--ink); font-weight:700; } .imc-steps li.now i { border-color:var(--accent); color:var(--accent); box-shadow:0 0 0 4px #c42a4c1f; }
.imc-steps li.fail { color:#a1271b; } .imc-steps li.fail i { border-color:#a1271b; color:#a1271b; } .imc-steps li.fail i::before { content:"!"; }
.imc-body { display:flex; flex-direction:column; gap:12px; font-size:14.5px; } .imc-body p { margin:0; line-height:1.9; }
.imc-due b { color:var(--ink); }
.imc-left { display:inline-block; margin-inline-start:6px; padding:0 10px; border-radius:999px; background:#fff4d6; color:#7a5300; font-size:12.5px; font-weight:700; white-space:nowrap; }
.imc-done { color:#14613a; font-weight:700; }
.imc-wait { display:flex; align-items:center; gap:10px; color:var(--muted); }
/* A router we set up and ship (keys.router_on_its_way, owner 2026-11-12 08:51 UTC): one calm note, the title on its own line. */
.imc-prep { text-wrap:pretty; } .imc-prep b { display:block; color:var(--ink); font-size:15.5px; }
.imc-spin { width:18px; height:18px; flex:none; border-radius:50%; border:2.5px solid var(--line); border-top-color:var(--accent); animation:imc-spin .9s linear infinite; }
@keyframes imc-spin { to { transform:rotate(360deg); } }
/* The build bar (owner 2026-11-10 18:37 UTC; shop/_build_bar.html): one calm bar, the accent on the track, no glow. */
.bb { display:flex; flex-direction:column; gap:8px; padding:14px 16px; border:1px solid var(--line); border-radius:14px; background:var(--bg); }
.bb p { margin:0; }
.bb-top { display:flex; align-items:baseline; justify-content:space-between; gap:12px; font-size:14px; font-weight:700; }
.bb-pct { font-size:20px; font-variant-numeric:tabular-nums; color:var(--accent); }
.bb-track { height:10px; border-radius:999px; background:var(--line); overflow:hidden; }
.bb-track i { display:block; height:100%; border-radius:inherit; background:var(--accent); transition:width .9s linear; }
.bb-left { font-size:14px; color:var(--ink); }
.bb-note { font-size:12.5px; line-height:1.9; color:var(--muted); }
.imc-again { display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:14px 16px; border-radius:12px; background:var(--bg); color:var(--ink); }
.imc-again p { margin:0; font-size:14px; line-height:1.9; } .imc-again form { margin:0; }
.imc-note { color:var(--muted); font-size:13px !important; }
/* the download buttons of a ready image, inside the install chooser (shop/_install_guide.html, portal/install-guide.css); shared by the order
   page, /os/, «ایمیج‌های من» and the free card */
.dl-main { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-width:240px; min-height:52px; padding:12px 28px; border:0; border-radius:12px;
  background:var(--accent); color:#fff; font:inherit; font-size:16px; font-weight:800; cursor:pointer; transition:background-color .15s, transform .1s; }
.dl-main .ic { width:20px; height:20px; vertical-align:0; }
.dl-main:hover { background:#a8223f; } .dl-main:active { transform:translateY(1px); }
.dl-main:focus-visible, .dl-alt:focus-visible { outline:3px solid var(--ink); outline-offset:3px; }
.dl-main:disabled { opacity:.6; cursor:wait; transform:none; }
.dl-pc { display:none; }
@media (pointer:coarse) and (max-width:640px) { .dl-pc { display:block; margin-top:4px; color:var(--ink); font-weight:600; } }
.dl-alt { box-sizing:border-box; display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:10px 16px; border:1px solid var(--line); border-radius:10px; background:var(--card);
  color:var(--ink); font:inherit; font-size:14px; font-weight:600; text-decoration:none; cursor:pointer; transition:border-color .15s; }
.dl-alt:hover { border-color:var(--accent); } .dl-alt:disabled { opacity:.6; cursor:wait; }
.img-empty p { color:var(--muted); }
/* the image rules (owner 2026-10-30 12:21 UTC): a box in the image section and, once after the purchase, a dialog on the order page */
.img-rules { display:flex; flex-direction:column; gap:10px; margin:0; padding:0; list-style:none; }
.img-rules li { padding:12px 14px; border-radius:12px; background:var(--bg); font-size:14px; line-height:1.9; }
.img-rules b { display:block; color:var(--ink); font-size:14.5px; }
.img-rules-box { border:1px solid var(--line); border-radius:14px; padding:4px 14px; background:var(--card); color:var(--ink); }
.img-rules-box summary { display:flex; align-items:center; gap:8px; padding:10px 0; cursor:pointer; font-weight:700; font-size:14px; }
.img-rules-box[open] summary { margin-bottom:6px; }
.img-rules-box .img-rules { padding-bottom:12px; }
.img-rules-pop { width:min(560px, calc(100vw - 32px)); max-height:calc(100dvh - 48px); overflow:auto; padding:22px; border:0; border-radius:20px;
  background:var(--card); color:var(--ink); box-shadow:0 30px 80px -20px #0006; }
.img-rules-pop::backdrop { background:#0b0d1499; }
.img-rules-pop h2 { display:flex; align-items:center; gap:10px; margin:0 0 14px; font-size:18px; }
.img-rules-pop form { display:flex; justify-content:flex-end; margin-top:16px; }
.img-rules-pop:not([open]) { display:none; }
@media (prefers-reduced-motion:reduce) { .imc-spin { animation:none; } .dl-main, .dl-alt, .bb-track i { transition:none; } }
@media (max-width:640px) {
  .imc { padding:14px; gap:14px; } .imc-steps li { font-size:12px; }
  .dl-main { width:100%; min-width:0; }
  .dl-alt { justify-content:center; }
}
@media (max-width:820px) {
  .acc { grid-template-columns:minmax(0,1fr); gap:14px; }
  .acc-side { position:static; padding:10px; }
  .acc-user { padding:2px 4px 10px; }
  .acc-nav { flex-direction:row; overflow-x:auto; gap:6px; padding-top:10px; scrollbar-width:none;
    -webkit-mask-image:linear-gradient(to right,transparent,#000 22px,#000 calc(100% - 22px),transparent); mask-image:linear-gradient(to right,transparent,#000 22px,#000 calc(100% - 22px),transparent); } /* the faded edges say the strip scrolls */
  .acc-nav form { display:none; } .acc-out { display:block; margin:0; margin-inline-start:auto; } .acc-out button { min-height:44px; padding:6px 14px; }
  .acc-nav a, .acc-nav button { width:auto; flex-shrink:0; min-height:40px; padding:6px 12px; font-size:13px; white-space:nowrap; background:var(--bg); }
  .acc-nav form { margin:0; padding:0; border:0; }
  .acc-nav a .chip { margin-inline-start:4px; }
  .acc-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .acc-stat { padding:10px 12px; } .acc-stat b { font-size:17px; }
  .track { padding:14px 2px 10px; } .track .dot { width:28px; height:28px; font-size:12px; }
  .track li + li::before { top:13px; margin-inline:16px; } .track .lbl { font-size:11px; }
  .ord-btns { margin-inline-start:0; width:100%; } .ord-btns > * { flex:1; } .ord-btns .btn, .ord-btns .btn-line { width:100%; justify-content:center; }
}
/* The invoices list on a phone: one card per invoice (a table 516px wide hid the link and the status inside a 356px box). */
@media (max-width:640px) {
  .tbl.inv tr:first-child { display:none; }
  .tbl.inv table, .tbl.inv tbody { display:block; }
  .tbl.inv tr.inv-row { display:grid; grid-template-columns:1fr auto; gap:2px 12px; align-items:center; padding:12px 14px; border-bottom:1px solid var(--line); }
  .tbl.inv td { display:block; padding:0; border:0; white-space:normal; }
  .tbl.inv td:nth-child(1) { font-weight:700; }
  .tbl.inv td:nth-child(3) { grid-column:2; grid-row:1; text-align:end; font-weight:700; }
  .tbl.inv td:nth-child(2), .tbl.inv td:nth-child(4) { color:var(--muted); font-size:13px; }
  .tbl.inv td:nth-child(5) { grid-column:1 / -1; margin-top:8px; }
  .tbl.inv td:nth-child(5) .btn-line { width:100%; justify-content:center; }
}
/* upgrades and volume under an activated router (shop/upgrade.py) */
.img-store .img-store-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:10px 0}
.img-store .img-store-row label{display:flex;align-items:center;gap:8px;min-width:0}
.img-store select{max-width:100%;min-height:40px}
.store-tk{max-width:640px;margin-inline:auto}
.store-tk-buy{display:grid;gap:14px}
.store-tk .osx-sum{display:grid;gap:8px;margin:0}
.store-tk .osx-sum div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.store-tk .osx-sum dt{min-width:0;color:var(--muted);font-size:14px}
.store-tk .osx-sum dd{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.store-tk .osx-sum .total{padding-top:10px;border-top:1px solid var(--line)} /* taste-skill-ignore: the sum line of a bill */
.store-tk .osx-sum .total dt{color:inherit;font-weight:700}
.store-tk .osx-sum .total b{font-size:18px}

/* the Black Friday bundle line: its own copy of the sale (shop/blackfriday.invoice_note) */
.line-note { display:block; margin-top:2px; font-size:12px; font-weight:400; line-height:1.7; opacity:.78; }
