/* The owners' portal: sign in with a code, then the store(s) at a glance. Built on site.css.
   The look follows the IT Console's Today page (stat tiles, soft cards, rows with a colored bar and
   pills), in the website's colors. Only CSS variables, so the five themes, light and dark all work. */

/* The portal's own colors, from the website's. Status colors are brighter on dark, darker on light. */
.acct-page {
  --accent: var(--blue);
  --good: #2dd4a2; --warn: #ffc14d; --bad: #ff7b8a;
  --panel-2: color-mix(in srgb, var(--text) 6%, transparent);
  --card: var(--panel);
  --solid: var(--panel-solid);
  --field-bg: color-mix(in srgb, var(--text) 5%, var(--bg));
  --field-ln: var(--field-line, color-mix(in srgb, var(--text) 22%, transparent));
}
:root[data-mode="light"] .acct-page { --good: #137551; --warn: #92600f; --bad: #b8312a; --field-bg: var(--bg); }

/* top and bottom only: the sides keep .wrap's margins, so nothing touches the screen edges on a phone */
.acct-main { padding-top: 24px; padding-bottom: 60px; }
.acct-main .muted { color: var(--muted); }

/* ---------- Sign in (the emailed code), loading and "couldn't open" ---------- */
.acct-card { position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--solid);
  box-shadow: 0 24px 60px color-mix(in srgb, #000 30%, transparent); }
.acct-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--aurora); }
.acct-card.narrow { max-width: 480px; margin: 24px auto 0; }
.acct-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent); }
.acct-mark svg { width: 24px; height: 24px; }
.acct-card .kicker { display: block; margin: 0 0 6px; padding: 0; border: 0; background: none; color: var(--teal); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.acct-card h1 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 32px); line-height: 1.15; letter-spacing: -.02em; }
.acct-card .lede { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.acct-card > p.small { margin: 0 0 8px; font-size: 14.5px; line-height: 1.5; }
.acct-card > p.small + form { margin-top: 16px; }
.acct-form { display: grid; gap: 14px; }
.acct-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.acct-form input { width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--field-ln); background: var(--field-bg); color: var(--text); font: inherit; font-size: 17px; }
.acct-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
/* The sign-in code: 8 digits fit a phone; text-indent balances the space letter-spacing leaves after the last digit */
.acct-form input.code { font: 700 30px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .22em; text-indent: .22em; text-align: center; }
.acct-form input::placeholder { color: var(--muted); opacity: .7; }
.acct-form .row { display: flex; gap: 10px 16px; align-items: center; flex-wrap: wrap; }
.acct-form .error { margin: 0; color: var(--bad); font-size: 14px; min-height: 1.2em; }
.acct-form .btn { min-height: 52px; }
.acct-form .link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 15px; cursor: pointer; text-decoration: underline; }
.acct-form .link:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.acct-form .acct-sent { margin: 0; color: var(--good); font-size: 14px; }
.acct-form .acct-sent:empty { display: none; }
.acct-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.acct-note a { color: var(--accent); }
.acct-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.btn.tiny { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.acct-main .btn.ghost:hover { border-color: color-mix(in srgb, var(--text) 35%, transparent); }
.acct-main .error { color: var(--bad); margin: 0; }

/* ---------- The lines above the tabs: sample, notices, what is owed, a trial ending ---------- */
.acct-demo { margin: 0 0 12px; padding: 9px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent);
  background: color-mix(in srgb, var(--warn) 7%, transparent); color: var(--warn); font-size: 14px; font-weight: 600; }
.acct-notice { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 15px; font-weight: 600; }
.acct-notice.ok { border-color: color-mix(in srgb, var(--good) 45%, transparent); color: var(--good); }
.acct-notice.info { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); }
.acct-notice.warn { border-color: color-mix(in srgb, var(--warn) 45%, transparent); color: var(--warn); }
.acct-owe { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px; padding: 10px 12px 10px 20px;
  border-radius: 14px; border: 1px solid color-mix(in srgb, var(--warn) 40%, var(--line)); background: color-mix(in srgb, var(--warn) 6%, var(--card)); font-size: 15px; }
.acct-owe::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--warn); }
.acct-owe span:first-child { font-weight: 700; }
.acct-owe span + span { color: var(--muted); }
.acct-owe.late { border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); background: color-mix(in srgb, var(--bad) 6%, var(--card)); }
.acct-owe.late::before { background: var(--bad); }
.acct-owe.late span + span { color: var(--bad); font-weight: 600; }
.acct-owe .btn { margin-left: auto; }
/* An unpaid Denali bill that limits or pauses a store: above the tabs, no close button. */
.acct-pay { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 12px; padding: 14px 16px 14px 24px;
  border-radius: 14px; border: 1px solid color-mix(in srgb, var(--warn) 55%, var(--line)); background: color-mix(in srgb, var(--warn) 9%, var(--card)); }
.acct-pay::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 4px; border-radius: 4px; background: var(--warn); }
.acct-pay.paused { border-color: color-mix(in srgb, var(--bad) 60%, var(--line)); background: color-mix(in srgb, var(--bad) 9%, var(--card)); }
.acct-pay.paused::before { background: var(--bad); }
.acct-pay-text { flex: 1 1 320px; min-width: 0; }
.acct-pay-text p { margin: 0; overflow-wrap: anywhere; }
.acct-pay-text p + p { margin-top: 4px; }
.acct-pay-store { font-size: 13px; font-weight: 700; color: var(--muted); }
.acct-pay-lead { font-size: 17px; font-weight: 750; line-height: 1.3; }
.acct-pay-more { font-size: 15px; line-height: 1.45; }
.acct-pay-small { font-size: 13px; line-height: 1.45; color: var(--muted); }
.acct-pay-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acct-soon { margin: 12px 0 0; }
@media (max-width: 560px) {
  .acct-pay-btns { width: 100%; }
  .acct-pay-btns .btn { flex: 1 1 140px; }
}

/* ---------- The greeting: the store, the switcher, today's sales and the registers ---------- */
.op-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 20px 22px; margin-bottom: 12px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.op-hero[data-health="good"] { background: linear-gradient(135deg, color-mix(in srgb, var(--good) 9%, var(--solid)), var(--solid) 60%); }
.op-hero[data-health="warn"] { background: linear-gradient(135deg, color-mix(in srgb, var(--warn) 9%, var(--solid)), var(--solid) 60%); }
.op-hero[data-health="bad"] { background: linear-gradient(135deg, color-mix(in srgb, var(--bad) 9%, var(--solid)), var(--solid) 60%); }
.op-hello { display: grid; gap: 4px; min-width: 0; flex: 1 1 320px; }
.op-hello h1 { margin: 0; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.15; letter-spacing: -.02em; overflow-wrap: anywhere; }
.op-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; margin: 0; color: var(--teal); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.op-greet { margin: 0; color: var(--muted); font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.op-status { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 6px 0 0; font-size: 15px; }
.op-status b { font-variant-numeric: tabular-nums; }
.op-dot-sep { padding: 0 6px; color: var(--muted); }
.op-health { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-right: 2px; color: var(--muted); }
.op-health i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.op-hero[data-health="good"] .op-health { color: var(--good); }
.op-hero[data-health="warn"] .op-health { color: var(--warn); }
.op-hero[data-health="bad"] .op-health { color: var(--bad); }
/* the store switcher */
.op-pick { position: relative; display: flex; align-items: center; flex: 0 1 280px; min-width: 0; }
.op-pick-ico { position: absolute; left: 12px; display: grid; color: var(--accent); pointer-events: none; }
.op-pick select { width: 100%; min-width: 0; min-height: 44px; padding: 8px 36px 8px 38px; border-radius: 12px; border: 1px solid var(--field-ln); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  appearance: none; -webkit-appearance: none; text-overflow: ellipsis;
  background: var(--field-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.op-pick select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.op-pick select option { background: var(--solid); color: var(--text); }
.op-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The tabs: Sales, Your store, Billing, Help (sticky under the site's header) ---------- */
.op-slot:empty { display: none; }
.op-slot { margin-bottom: 12px; }
.op-tabs { position: sticky; top: 74px; z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; margin: 4px 0 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--solid); box-shadow: 0 8px 20px color-mix(in srgb, #000 16%, transparent); }
.op-tabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 42px; padding: 6px 8px; border: 0; border-radius: 10px;
  background: transparent; color: var(--muted); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
.op-tabs button > span:not(.op-tab-ico) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-tabs button:hover { color: var(--text); background: var(--panel-2); }
.op-tabs button[aria-selected="true"] { color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.op-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.op-tab-ico { display: grid; flex: none; }
.op-tab-ico svg { width: 19px; height: 19px; }
.op-tab-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.op-tab-dot.bad { background: var(--bad); }
.op-tab-dot[hidden] { display: none; }
.op-panel[hidden] { display: none; }

/* ---------- Stat tiles and the day range ---------- */
.op-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.op-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); max-width: 100%; }
.op-seg button { min-height: 36px; padding: 6px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.op-seg button:hover { color: var(--text); }
.op-seg button.on { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.op-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.op-stat { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.op-stat-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.op-stat.good .op-stat-ico { color: var(--good); background: color-mix(in srgb, var(--good) 13%, transparent); }
.op-stat.warn .op-stat-ico { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.op-stat-text { display: grid; min-width: 0; }
.op-stat-n { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.op-stat-l { color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1.3; }

/* ---------- Cards, lists and rows ---------- */
.op-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; align-items: start; margin-bottom: 14px; }
.op-cols.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.op-side-col { display: grid; gap: 14px; min-width: 0; }
.op-card, .acct-box { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.op-card.op-warn-card { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); }
.op-chart-card { margin-bottom: 14px; }
.op-card-head { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; margin-bottom: 8px; }
.op-card-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; min-width: 0; font-size: 16px; line-height: 1.3; letter-spacing: 0; }
.op-card-ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.op-card-ico svg { width: 17px; height: 17px; }
.op-side { color: var(--muted); font-size: 13px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.op-count { min-width: 22px; padding: 0 8px; border-radius: 999px; background: var(--panel-2); color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.op-note { margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.op-promo { display: flex; flex-direction: column; gap: 2px; margin: 10px 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.45;
  color: var(--muted); background: color-mix(in srgb, var(--good) 11%, transparent); border: 1px solid color-mix(in srgb, var(--good) 35%, transparent); }
.op-promo strong { color: var(--good); font-size: 15px; }
.op-promo.used { background: transparent; border-color: var(--line); }
.op-promo.used strong { color: var(--text); }
/* Get set up: the step's main button is the big one (Set up card payouts, Add a register, Open the register). */
.op-step-box .acct-actions .btn:first-child:not(.ghost) { min-height: 52px; padding: 12px 24px; font-size: 17px; }
@media (max-width: 600px) { .op-step-box .acct-actions .btn:first-child:not(.ghost) { flex: 1 1 100%; } }
.op-note b { color: var(--text); }
.op-empty { margin: 4px 0; color: var(--muted); font-size: 14px; }
/* A list that keeps growing scrolls inside its card, so the cards under it stay in reach. */
.op-list { list-style: none; margin: 0 -16px -6px; padding: 0; max-height: min(60vh, 520px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.op-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 10px 16px 10px 22px; border-top: 1px solid var(--line); }
.op-row:first-child { border-top: 0; }
.op-row:hover { background: color-mix(in srgb, var(--panel-2) 70%, transparent); }
.op-row::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--line); }
.op-row.good::before { background: var(--good); }
.op-row.warn::before { background: var(--warn); }
.op-row.bad::before { background: var(--bad); }
.op-row.muted::before { background: color-mix(in srgb, var(--muted) 55%, transparent); }
.op-text { display: grid; gap: 1px; min-width: 0; }
.op-text strong { font-size: 14.5px; font-weight: 650; overflow-wrap: anywhere; }
.op-sub { color: var(--muted); font-size: 13px; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.op-sub.op-flag { color: var(--warn); }
.op-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 10px; min-width: 0; }
.op-amt { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.op-amt.off { color: var(--muted); font-weight: 600; }
.op-pill { display: inline-block; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.op-pill.good { color: var(--good); border-color: color-mix(in srgb, var(--good) 40%, transparent); background: color-mix(in srgb, var(--good) 8%, transparent); }
.op-pill.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: color-mix(in srgb, var(--warn) 8%, transparent); }
.op-pill.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); background: color-mix(in srgb, var(--bad) 8%, transparent); }
/* What an owner can change: a row each, icon, name, a grey line and an arrow */
.op-acts { list-style: none; margin: 4px -8px -4px; padding: 0; display: grid; gap: 2px; }
.op-act { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px; border-radius: 12px; color: var(--text); text-decoration: none; }
.op-act:hover { background: var(--panel-2); }
.op-act:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.op-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.op-ico svg { width: 18px; height: 18px; }
.op-act .op-text { flex: 1; }
.op-chev { display: grid; flex: none; color: var(--muted); }
.op-act.quiet .op-ico { color: var(--muted); background: var(--panel-2); }
.op-act.quiet strong { font-weight: 600; }
.op-card .op-note + .op-acts, .acct-kv + .op-acts, .acct-actions + .op-acts { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
/* Plan & billing */
.op-plan { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 2px 0 10px; }
.op-plan.split { justify-content: space-between; }
.op-plan-name { font-size: 22px; font-weight: 750; letter-spacing: -.01em; overflow-wrap: anywhere; }
.op-plan-price { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.op-price-label { display: block; color: var(--muted); font-size: 13px; }
.op-addon-pricing { border-block: 1px solid var(--line); margin-bottom: 12px; padding: 12px 0; }
.op-addon-pricing h3 { margin: 0 0 4px; font-size: 15px; }
.op-addon-pricing h3:not(:first-child) { margin-top: 12px; }
.op-addons { list-style: none; margin: 0; padding: 0; }
.op-addons li, .op-pricing-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 6px 0; }
.op-addons li > span { min-width: 0; overflow-wrap: anywhere; }
.op-addons small { display: block; color: var(--muted); }
.op-addons b, .op-pricing-total b { font-variant-numeric: tabular-nums; }
.op-pricing-total { margin-top: 4px; border-top: 1px solid var(--line); }
.op-addon-pricing .acct-actions + .op-note { margin-top: 6px; }
.acct-kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: 14.5px; }
.acct-kv dt { color: var(--muted); }
.acct-kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.acct-kv + .op-list { margin-top: 10px; border-top: 1px solid var(--line); }
.acct-etf { margin: 12px 0 0; padding: 8px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); font-size: 14px; font-weight: 600; line-height: 1.45; }
/* Help: the steps for a stuck register */
.acct-steps { margin: 6px 0 12px; padding-left: 22px; display: grid; gap: 4px; color: var(--muted); font-size: 14px; }
/* the chart */
.acct-chart { width: 100%; height: auto; display: block; }
.acct-chart .bar { fill: var(--accent); }
.acct-chart .bar:hover { fill: var(--teal); }
.acct-chart .grid { stroke: color-mix(in srgb, var(--text) 10%, transparent); }
.acct-chart .axis { fill: var(--muted); font-size: 11px; }
/* Rewards and credit: the referral code and link to share */
.acct-ref { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.acct-ref .acct-note { margin: 0; }
.acct-code { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.acct-code span { color: var(--muted); font-size: 13px; }
.acct-code b { font-size: 18px; letter-spacing: .06em; }
.acct-code input { flex: 1 1 200px; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--field-ln); background: var(--field-bg); color: var(--text); font: 13px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
/* Your agreement: the buttons under each one */
.acct-agr-btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.acct-agr .acct-agr-sent { color: var(--good); }
.acct-agr .acct-agr-sent.bad { color: var(--bad); }
.acct-agr-sent:empty { display: none; }

@media (max-width: 900px) {
  .op-cols, .op-cols.even { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .acct-main { padding-top: 14px; }
  .acct-card { padding: 22px 18px; }
  .op-hero { padding: 16px; }
  .op-pick { flex: 1 1 100%; }
  /* the tabs: the icon over the word, so four fit a phone */
  .op-tabs { top: 72px; margin-left: -4px; margin-right: -4px; }
  .op-tabs button { flex-direction: column; gap: 2px; min-height: 52px; padding: 6px 2px; font-size: 12.5px; }
  .op-tab-dot { position: absolute; top: 6px; right: calc(50% - 18px); }
  .op-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .op-seg button { min-height: 44px; padding: 6px 4px; }
  /* the six numbers two to a row, so a phone sees them all at once */
  .op-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .op-stat { gap: 10px; padding: 10px 12px; }
  .op-stat-ico { width: 32px; height: 32px; border-radius: 9px; }
  .op-stat-ico svg { width: 17px; height: 17px; }
  .op-stat-n { font-size: 17px; }
  .op-card, .acct-box { padding: 14px; }
  .op-list { margin-left: -14px; margin-right: -14px; max-height: 70svh; overscroll-behavior: auto; }
  .op-acts { margin-left: -6px; margin-right: -6px; }
  /* thumbs: small buttons are 44px tall */
  .btn.tiny { min-height: 44px; padding: 10px 16px; font-size: 14.5px; }
  .acct-page .top-actions .lang-btn, .acct-page .top-actions .btn.small { min-height: 44px; }
  .acct-seg button, .acct-form .link, .acct-checks .acct-check, .acct-link { min-height: 44px; }
  .acct-link { display: inline-flex; align-items: center; }
  .acct-dlg-x { width: 44px; height: 44px; }
  .acct-code input { font-size: 16px; }
}
/* A narrow phone: an invoice's amount, tag and button go under its name */
@media (max-width: 480px) {
  .op-row.wrap-end, .op-row:has(.btn) { grid-template-columns: minmax(0, 1fr); }
  .op-row:has(.btn) .op-end { justify-content: flex-start; }
}

/* The header: Español and Sign out on the right, on every screen (the website hides them on phones,
   where its menu holds them; this page has no menu). */
.top-actions [hidden] { display: none !important; }
.acct-page .top-actions { margin-left: auto; }
.acct-page .top-actions .lang-btn, .acct-page .top-actions .btn { display: inline-flex; }
@media (max-width: 400px) {
  .acct-page .top-in > .logo span { display: none; }
  .acct-page .top-actions .lang-btn { padding: 8px 12px; }
}

/* ---------- Pop-ups: Export for your accountant, Add a register, store details, people ... ---------- */
body.acct-noscroll { overflow: hidden; }
.acct-dlg {
  width: min(660px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 20px;
  background: var(--solid); color: var(--text); box-shadow: 0 30px 80px color-mix(in srgb, #000 45%, transparent); overflow: hidden;
}
.acct-dlg[open] { display: flex; flex-direction: column; }
.acct-dlg::backdrop { background: rgba(3, 6, 20, .66); backdrop-filter: blur(4px); }
.acct-dlg-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.acct-dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); position: relative; }
.acct-dlg-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--aurora); opacity: .7; }
.acct-dlg-head h2 { margin: 0 0 4px; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.acct-dlg-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.acct-dlg-head > div { min-width: 0; }
.acct-dlg-x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.acct-dlg-x:hover { color: var(--text); border-color: color-mix(in srgb, var(--text) 35%, transparent); }
.acct-dlg-body { padding: 16px 22px 10px; overflow-y: auto; min-height: 0; display: grid; gap: 16px; }
.acct-dlg fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.acct-dlg legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 14px; color: var(--text); }
.acct-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; border: 1px solid var(--line); }
.acct-seg button { flex: 1 1 auto; min-height: 38px; padding: 7px 12px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.acct-seg button.on { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.acct-dlg-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.acct-dlg-two[hidden], .acct-dlg-acc[hidden] { display: none; }
.acct-field { display: grid; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--text); min-width: 0; }
.acct-field input {
  width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--field-ln); background: var(--field-bg);
  color: var(--text); font: inherit; font-size: 16px; font-weight: 400;
}
.acct-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
.acct-field input.bad { border-color: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 22%, transparent); }
.acct-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.acct-check { display: inline-flex; align-items: center; gap: 9px; min-width: 0; font-size: 15px; cursor: pointer; }
.acct-checks .acct-check { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; }
.acct-check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.acct-check span { min-width: 0; overflow-wrap: anywhere; }
.acct-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.acct-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; min-width: 0; }
.acct-opt:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.acct-opt input { flex: none; margin: 4px 0 0; accent-color: var(--accent); }
.acct-opt span { min-width: 0; }
.acct-opt b { display: block; font-size: 15px; }
.acct-opt small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.acct-dlg-hint { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; }
.acct-dlg-hint a { color: var(--accent); }
.acct-dlg-notes { display: grid; gap: 6px; }
/* site.css styles every details/summary as the FAQ; here it is a plain box */
.acct-dlg .acct-dlg-acc { border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; }
.acct-dlg .acct-dlg-acc[open] { padding-bottom: 14px; }
.acct-dlg .acct-dlg-acc summary { padding: 12px 28px 12px 0; font-size: 15px; }
.acct-dlg .acct-dlg-acc summary::after { top: 6px; font-size: 22px; }
.acct-dlg-acc-in { display: grid; gap: 12px; }
.acct-link { justify-self: start; background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
.acct-dlg-parts { display: grid; gap: 8px; }
.acct-dlg-parts:empty { display: none; }
.acct-dlg-parts .acct-actions { margin-top: 2px; }
.acct-dlg-ok { margin: 0; color: var(--good); font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
.acct-dlg-error { margin: 0; color: var(--bad); font-size: 14.5px; font-weight: 600; }
.acct-dlg-ok:empty, .acct-dlg-error:empty { display: none; }
.acct-dlg-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 22px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.acct-dlg-fine { color: var(--muted); font-size: 13px; min-width: 0; }
.acct-dlg-foot .btn { flex: none; min-width: 170px; cursor: pointer; }
.acct-dlg-foot .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.acct-dlg.acct-dlg-small { width: min(540px, calc(100% - 32px)); }
.acct-dlg-btns { justify-content: flex-end; flex-wrap: wrap; }
.acct-dlg-btns .btn { min-width: 0; }
.acct-dlg-p { margin: 0; line-height: 1.5; }
.acct-warn { margin: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); color: var(--warn); font-size: 14.5px; font-weight: 600; line-height: 1.45; }
@media (max-width: 560px) {
  .acct-dlg { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .acct-dlg-head { padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); }
  .acct-dlg-body { padding: 14px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left)); flex: 1; }
  .acct-opts, .acct-dlg-two { grid-template-columns: minmax(0, 1fr); }
  .acct-dlg-foot { flex-direction: column-reverse; align-items: stretch; text-align: center; gap: 8px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .acct-dlg-foot .btn { width: 100%; }
  /* the smaller pop-ups: a sheet at the bottom, as tall as what it says */
  .acct-dlg.acct-dlg-small { inset: auto 0 0 0; width: 100%; max-width: 100%; height: auto; max-height: 92dvh; margin: 0; border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; }
  .acct-dlg-small .acct-dlg-head { padding-top: 18px; }
  .acct-dlg-small .acct-dlg-body { flex: 0 1 auto; }
}

/* An on/off option: a switch, as on the registers. */
.acct-switch { position: relative; display: flex; align-items: center; gap: 12px; margin: 12px 0; font-size: 15px; font-weight: 600; cursor: pointer; }
.acct-switch input { position: absolute; opacity: 0; pointer-events: none; }
.acct-switch-ui { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 70%, var(--solid)); transition: background .15s; }
.acct-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.acct-switch input:checked + .acct-switch-ui { background: var(--accent); }
.acct-switch input:checked + .acct-switch-ui::after { transform: translateX(18px); }
.acct-switch input:focus-visible + .acct-switch-ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.acct-switch > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.acct-switch small { color: var(--muted); font-weight: 400; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .acct-switch-ui, .acct-switch-ui::after { transition: none; } }

/* ---------- Choose your plan and Sign the agreement (above the tabs when open) ---------- */
.acct-choose { position: relative; overflow: hidden; border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--solid); }
.acct-choose::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--aurora); }
.acct-choose-form { display: grid; gap: 14px; min-width: 0; }
.acct-choose-form h3 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; margin: 0; font-size: 18px; }
.acct-choose-form h3 small { color: var(--muted); font-weight: 500; font-size: 13px; }
.acct-choose-lede { margin: 0; font-weight: 700; }
.acct-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.acct-plan { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; }
.acct-plan.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); box-shadow: inset 0 0 0 1px var(--accent); }
.acct-plan-tag { align-self: flex-start; max-width: 100%; padding: 2px 10px; border-radius: 999px; background: var(--aurora); color: var(--bg); font-size: 12.5px; font-weight: 700; }
.acct-plan-tag.mine { background: transparent; border: 1px solid color-mix(in srgb, var(--good) 50%, transparent); color: var(--good); }
.acct-plan-name { display: flex; align-items: center; gap: 10px; font-size: 18px; min-width: 0; }
.acct-plan-name input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.acct-plan-name b { min-width: 0; overflow-wrap: anywhere; }
.acct-plan-price { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.acct-plan-blurb { color: var(--muted); font-size: 14px; }
.acct-plan ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 2px; color: var(--muted); font-size: 13.5px; }
.acct-terms { padding: 12px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 6%, transparent); }
.acct-terms-h { margin: 0 0 6px; font-weight: 700; font-size: 15px; }
.acct-terms ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14.5px; line-height: 1.45; }
.acct-choose-read { margin: 0; }
.acct-choose-read a { color: var(--accent); font-weight: 600; }
.acct-choose-name { max-width: 420px; }
.acct-agree { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; font-size: 15px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.acct-agree:has(input:checked) { border-color: var(--accent); }
.acct-agree input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.acct-agree span { min-width: 0; }
.acct-choose .acct-actions { margin-top: 0; }
.acct-choose .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.acct-choose .acct-note, .acct-choose .acct-dlg-ok, .acct-choose .acct-dlg-error { margin: 0; }
@media (max-width: 640px) {
  .acct-plans { grid-template-columns: minmax(0, 1fr); }
  /* one plan under another: what's included shows for the plan picked */
  .acct-plan:not(.on) ul { display: none; }
  .acct-agree { min-height: 44px; }
  .acct-choose-read a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* the agreement's text in its pop-up (the look of the agreement page) */
.acct-agr-doc { color: var(--text); font-size: 15.5px; line-height: 1.65; overflow-wrap: break-word; min-width: 0; }
.acct-agr-doc h2 { font-size: 18px; line-height: 1.3; margin: 24px 0 8px; }
.acct-agr-doc > :first-child { margin-top: 0; }
.acct-agr-doc h3 { font-size: 16px; margin: 16px 0 6px; }
.acct-agr-doc p, .acct-agr-doc ul, .acct-agr-doc ol { margin: 0 0 12px; }
.acct-agr-doc ul, .acct-agr-doc ol { padding-left: 22px; }
.acct-agr-doc li { margin: 3px 0; }
.acct-agr-doc a { color: var(--accent); overflow-wrap: anywhere; }
.acct-agr-doc #key-terms + ul { padding: 12px 14px 12px 34px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); }

/* Self-serve: a new register's code, people with access */
.acct-pair-code { margin: 4px 0 12px; font: 800 30px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.acct-link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.acct-link-row a { color: var(--accent); }
.acct-people { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.acct-people li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.acct-people li > span:first-child { display: grid; flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
.acct-people small { color: var(--muted); font-size: 12.5px; }
.acct-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.acct-badge { padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 11.5px; font-weight: 700; }
.acct-add-person { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.acct-add-person h4 { margin: 0; }
.acct-role { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.acct-role legend { margin-bottom: 4px; font-size: 13.5px; font-weight: 600; }
.acct-role label { display: flex; gap: 8px; align-items: baseline; font-size: 14px; }

/* The Colors row at the bottom of the footer (account.js draws it; its pieces are styled in site.css) */
.acct-look .look-row:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.acct-look .look-now { flex: 1 1 220px; min-width: 0; }

/* The light look: softer shadows, white words on the gradient tag, a lighter backdrop */
:where(:root[data-mode="light"]) .acct-card,
:where(:root[data-mode="light"]) .acct-dlg { box-shadow: 0 24px 60px color-mix(in srgb, var(--text) 12%, transparent); }
:where(:root[data-mode="light"]) .op-tabs { box-shadow: 0 6px 16px color-mix(in srgb, var(--text) 8%, transparent); }
:where(:root[data-mode="light"]) .acct-dlg::backdrop { background: rgba(16, 20, 36, .45); }
:where(:root[data-mode="light"]) .acct-plan-tag:not(.mine) { color: #fff; }

/* Staff rows: an owner's Make manager / Make owner / Make cashier and Reset PIN (wave 1) */
.op-staff-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
@media (max-width: 900px) {
  .op-row:has(.op-staff-btns) { grid-template-columns: minmax(0, 1fr); }
  .op-row:has(.op-staff-btns) .op-end, .op-staff-btns { justify-content: flex-start; }
}
/* A hidden button in a pop-up stays hidden (the .btn display beat [hidden] on phones: Make a code, Confirm) */
.acct-dlg .btn[hidden] { display: none; }
/* Get set up (Nov 21): a new store's six steps, one at a time, above the tabs, until done or hidden. */
.op-setup { margin: 0 0 14px; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.op-progress { list-style: none; display: flex; gap: 6px; margin: 4px 0 14px; padding: 0; }
.op-progress li { flex: 1 1 0; min-width: 0; }
.op-progress button { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 6px; line-height: 1.15; }
/* The step's short name beside its number, where there is room (a computer or a tablet). */
.op-progress-name { display: none; font-weight: 700; text-align: left; overflow-wrap: anywhere; }
@media (min-width: 720px) { .op-progress-name { display: inline; } }
.op-progress button.done { color: var(--good); border-color: color-mix(in srgb, var(--good) 45%, var(--line)); background: color-mix(in srgb, var(--good) 12%, transparent); }
.op-progress button.skipped { border-style: dashed; }
.op-progress button.on { color: #fff; border-color: var(--accent); background: var(--accent); }
.op-progress button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.op-step-box { display: grid; gap: 8px; }
.op-step-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; line-height: 1.3; }
.op-step-n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; font-size: 14px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.op-step-how { margin: 0; font-size: 15px; line-height: 1.5; }
.op-step-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.op-step-state { margin: 0; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.45;
  background: color-mix(in srgb, var(--accent) 9%, transparent); }
.op-step-state.good { color: var(--good); background: color-mix(in srgb, var(--good) 11%, transparent); }
.op-step-state.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 11%, transparent); }
.op-step-box .acct-actions { margin-top: 2px; }
.op-step-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 2px 0 0; font-size: 14px; }
.op-step-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.op-step-links { margin-top: -6px; margin-bottom: -10px; }
/* Back, Skip for now and Next are full-size buttons (44px) on every screen, not the small ones. */
.op-setup .op-setup-foot .btn, .op-setup-hide .btn, .op-setup-min .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.op-step-flash { margin: 0 0 12px; }
.op-step-form [aria-invalid="true"] { border-color: var(--bad); }
.op-step-form { display: grid; gap: 8px; }
.op-field-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.op-step-form select { width: 100%; min-height: 44px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--field-ln); background: var(--field-bg);
  color: var(--text); font: inherit; font-size: 16px; font-weight: 400; }
.op-setup-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.op-setup-go { display: flex; gap: 8px; margin-left: auto; }
.op-setup-foot .btn[disabled] { opacity: 1; cursor: not-allowed; background: var(--line); color: var(--muted); border-color: var(--line); box-shadow: none; filter: none; transform: none; }
.op-setup-why { margin: 6px 0 0; text-align: right; font-size: 12.5px; color: var(--muted); }
.op-setup-hide { margin: 8px 0 0; text-align: center; }
.op-setup-min { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.op-setup-line { margin: 0; }
.op-setup-min .acct-actions { margin-top: 0; }
@media (max-width: 560px) {
  .op-field-row { grid-template-columns: minmax(0, 1fr); }
  .op-progress { gap: 4px; }
}
