/* Ecom Admin styles: the simulator's (v13.1) admin stylesheet, cut down to the rules Ecom Admin uses, with The Gold
   King's colours and font (tokens below, and the overrides at the end). Always light. */
:root {
  --bg: #f7f7f7;          /* flash-white-light */
  --panel: #ffffff;
  --ink: #121212;         /* jet-black */
  --dim: #555d69;
  --line: #dadada;        /* line-2 */
  --gold: #6d0000;        /* blood-red: links, accents */
  --gold-2: #a33a3a;
  --tint: #eaeff1;        /* flash-white */
  --good: #256040;
  --good-t: #e2efe6;
  --bad: #9e342c;
  --bad-t: #f8e3df;
  --warn: #8f4f00;
  --warn-t: #fdebc4;
  --warn-fill: #f2a516;
  --warn-ink: #2e1d00;
  --sec-page: #fdf1e9;
  --sec-page-b: #e3a27c;
  --sec-page-i: #8a4521;
  --sec-spec: #edf4fb;
  --sec-spec-b: #6c9fd3;
  --sec-spec-i: #2b5786;
  --sec-feat: #fbf5e3;
  --sec-feat-b: #d2ae58;
  --sec-feat-i: #6a4e12;
  --sec-price: #ecf6ee;
  --sec-price-b: #7db88a;
  --sec-price-i: #2b6638;
  --sec-stock: #f3effa;
  --sec-stock-b: #a58fd0;
  --sec-stock-i: #57438b;
  --auto-bg: #e7e9e4;
  --auto-ink: #555d51;
  --auto-line: #c3c8bc;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 Poppins, Arial, "Helvetica Neue", Helvetica, sans-serif;
}
#gk {
  max-width: 1480px;
  margin: 0 auto;
  padding: 16px;
}
:where(#gk) :where(button, input, select, textarea) {
  font: inherit;
  color: inherit;
}
#gk :focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 2px;
}
.btn {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 12px;
  cursor: pointer;
  line-height: 1.3;
}
.btn:hover:not(:disabled) {
  border-color: var(--gold-2);
}
.btn.primary {
  background: var(--gold);
  color: var(--panel);
  border-color: var(--gold);
}
.btn.danger {
  color: var(--bad);
}
.btn.small {
  padding: 5px 9px;
  font-size: 12px;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn.link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.muted {
  color: var(--dim);
  font-size: 12px;
}
.row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.end {
  justify-content: flex-end;
}
h2,
h3 {
  margin: 0;
  font-weight: 600;
}
p {
  margin: 6px 0 12px;
}
.subtle {
  font-size: 12px;
  color: var(--dim);
  margin: 4px 0 0;
}

/* Page chrome: logo, live prices strip, messages */
.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.app-head > .row {
  gap: 10px;
}
.brandmark {
  font-weight: 700;
  letter-spacing: 2px;
}
.brandmark small {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tgk-logo {
  display: block;
  height: 24px;
  width: auto;
}
.strip {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--ink);
  font-size: 12px;
  margin-bottom: 12px;
}
.strip strong {
  color: var(--ink);
}
.strip .state-bad {
  color: var(--bad);
  font-weight: 600;
}
.strip .state-ok {
  color: var(--good);
  font-weight: 600;
}
/* Messages sit in the bottom-right corner of the window, so they're seen however far down the page you are. */
.toasts {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  background: var(--good-t);
  color: var(--good);
  border: 1px solid currentColor;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: opacity 0.4s;
}
.toast.out {
  opacity: 0;
}
@media (max-width: 640px) {
  .toasts {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: none;
    align-items: stretch;
  }
}
.toast.bad {
  background: var(--bad-t);
  color: var(--bad);
}
.toast button {
  margin-left: 10px;
}

/* Admin layout: menu on the left, page on the right */
.admin {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}
.admin nav {
  padding: 18px 10px;
  border-right: 1px solid var(--line);
}
.admin nav .btn {
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  margin-bottom: 5px;
  border-color: transparent;
}
.admin nav .btn[aria-current="page"] {
  background: var(--ink);
  color: var(--panel);
}
.admin nav .btn > span:first-child {
  min-width: 0;
}
/* Menu badges. Filled: needs your action (red when overdue or a money problem). Outlined "live": happening now. */
.nb {
  display: inline-block;
  min-width: 20px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  white-space: nowrap;
  align-self: center;
  flex: none;
}
.nb-act {
  background: var(--warn-fill);
  color: var(--warn-ink);
}
.nb-urgent {
  background: var(--bad);
  color: var(--panel);
}
.nb-live {
  border-color: var(--good);
  color: var(--good);
  font-weight: 400;
}
.nb-live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
}
.nb-key {
  margin: 14px 10px 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--dim);
}
.nb-key p {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 6px;
}
.nb-key .nb {
  min-width: 34px;
}
.admin main {
  padding: 20px;
  min-width: 0;
  background: var(--bg);
}
.admin h2 {
  font-size: 22px;
}
.admin h3 {
  font-size: 15px;
  margin-bottom: 12px;
}
.bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 14px;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.wide {
  grid-column: 1/-1;
}
.admin label,
.fld {
  display: block;
  font-size: 12px;
  color: var(--dim);
}
.admin input:not([type="checkbox"]):not([type="range"]),
.admin select,
.admin textarea,
.fld input,
.fld select,
.fld textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  min-width: 0;
}
.admin input[readonly] {
  background: var(--bg);
}

/* Product editor: colour-coded sections (where each section shows up) and automatic fields */
.sec-page {
  --t: var(--sec-page);
  --b: var(--sec-page-b);
  --i: var(--sec-page-i);
}
.sec-spec {
  --t: var(--sec-spec);
  --b: var(--sec-spec-b);
  --i: var(--sec-spec-i);
}
.sec-feat {
  --t: var(--sec-feat);
  --b: var(--sec-feat-b);
  --i: var(--sec-feat-i);
}
.sec-price {
  --t: var(--sec-price);
  --b: var(--sec-price-b);
  --i: var(--sec-price-i);
}
.sec-stock {
  --t: var(--sec-stock);
  --b: var(--sec-stock-b);
  --i: var(--sec-stock-i);
}
.box.sec {
  background: var(--t);
  border-color: var(--b);
  border-left: 5px solid var(--b);
}
.sechead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 10px;
}
.sechead h3 {
  margin: 0;
}
.sectag {
  font-size: 12px;
  font-weight: 600;
  color: var(--i);
  background: var(--panel);
  border: 1px solid var(--b);
  border-radius: 999px;
  padding: 1px 10px;
  white-space: nowrap;
}
.autotag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--auto-ink);
  background: var(--auto-bg);
  border: 1px solid var(--auto-line);
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  font-size: 11px;
  padding: 0 7px;
  margin-left: 6px;
  vertical-align: 1px;
}
.lock {
  flex: none;
}
.autolbl {
  display: block;
}
.admin .auto input,
.admin .auto input[readonly] {
  background: var(--auto-bg);
  color: var(--auto-ink);
  border: 1px dashed var(--auto-line);
  cursor: not-allowed;
  box-shadow: none;
}
.autocell {
  display: flex;
  align-items: center;
  gap: 6px;
}
.autocell input {
  margin-top: 0 !important;
}
.autocell .autotag {
  margin-left: 0;
}
.finein {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 8px;
  align-items: end;
}
.errs {
  margin: 0;
  padding-left: 18px;
  color: var(--bad);
  font-size: 12px;
}
.errs.none {
  list-style: none;
  padding: 0;
  color: var(--good);
}
.errs .need {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--warn);
  background: var(--warn-t);
  border-radius: 4px;
  padding: 0 6px;
  margin-right: 4px;
}
.admin .check,
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
  color: var(--ink);
  font-size: 13px;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 0;
}

/* Tabs, badges, tables, figures */
.tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.tabs .btn {
  font-size: 12px;
  padding: 7px 10px;
}
.tabs .btn[aria-selected="true"] {
  background: var(--ink);
  color: var(--panel);
  border-color: var(--ink);
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--bg);
  font-size: 11px;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.badge.ok {
  color: var(--good);
  background: var(--good-t);
  border-color: transparent;
}
.badge.warn {
  color: var(--warn);
  background: var(--warn-t);
  border-color: transparent;
}
.badge.bad {
  color: var(--bad);
  background: var(--bad-t);
  border-color: transparent;
}
.badge.draft {
  background: var(--sec-spec);
  color: var(--sec-spec-i);
  border-color: var(--sec-spec-b);
}
.scroll {
  overflow-x: auto;
  position: relative;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  text-align: left;
  color: var(--dim);
  font-weight: 400;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
td input {
  margin: 0 !important;
  min-width: 80px;
}
.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pname {
  text-decoration: none;
  font-weight: 600;
  color: var(--gold);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.stats div {
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--dim);
}
.stats strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  margin-top: 2px;
}
.stats3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rule {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.rule:last-child {
  border-bottom: 0;
}
.rule > span:first-child {
  color: var(--dim);
  flex: 1 1 auto;
  min-width: 0;
}
.rule > span:last-child {
  text-align: right;
  overflow-wrap: anywhere;
  flex: 0 0 auto;
  max-width: 65%;
}
.callout {
  padding: 11px 14px;
  background: var(--warn-t);
  border-radius: 7px;
  color: var(--warn);
  font-size: 12px;
  margin: 10px 0;
}
.callout.bad {
  background: var(--bad-t);
  color: var(--bad);
}
.callout.ok {
  background: var(--good-t);
  color: var(--good);
}
/* Metal accounts: the online trading switch at the top of the page. */
.callout.trading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
  font-size: 13px;
  margin: 0 0 12px;
}
.callout.trading .btn {
  flex: 0 0 auto;
}
.fbar {
  display: grid;
  grid-template-columns: minmax(180px, 2fr) repeat(5, minmax(110px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
}
.fbar .btn {
  white-space: nowrap;
}

/* Dialogs */
dialog.gk-dlg {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  max-width: 620px;
  width: calc(100% - 32px);
  background: var(--panel);
  color: var(--ink);
}
dialog.gk-dlg::backdrop {
  background: #16201599;
}
dialog.gk-dlg h2 {
  font-size: 19px;
  margin-bottom: 8px;
}

/* Description editor */
.rich-wrap {
  border: 1px solid #d9dee5;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  color: #17212e;
}
.rich-wrap:focus-within {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px #6d000018;
}
.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  padding: 9px 12px;
  background: #f7f8fa;
  border-bottom: 1px solid #e6e9ee;
  position: sticky;
  top: 0;
  z-index: 2;
}
.rich-toolbar button {
  border: 0;
  background: transparent;
  padding: 7px 10px;
  border-radius: 6px;
  color: #465162;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.rich-toolbar button:hover {
  background: var(--tint);
  color: var(--ink);
}
.rich-toolbar button:focus-visible {
  outline: 2px solid var(--gold);
}
.rich-divider {
  height: 20px;
  width: 1px;
  background: #dce0e5;
  margin: 0 4px;
}
.rich-body {
  min-height: 230px;
  padding: 24px 28px;
  font-size: 15px;
  line-height: 1.8;
  outline: none;
  overflow-wrap: anywhere;
}
.rich-body p {
  margin: 0 0 14px;
}
.rich-body h3 {
  font-size: 21px;
  line-height: 1.4;
  margin: 20px 0 12px;
}
.rich-body > :first-child {
  margin-top: 0;
}
.rich-body a {
  color: var(--gold);
  text-decoration: underline;
}
.rich-body ul,
.rich-body ol {
  padding-left: 25px;
}

/* Sign-in screens */
.authwrap {
  max-width: 480px;
  margin: 24px auto;
}
.authwrap h2 {
  font-size: 22px;
}
.authform {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}
.authform .btn {
  padding: 11px 14px;
}
.authwrap .steps {
  padding-left: 20px;
}
.authwrap .qr {
  display: flex;
  justify-content: center;
  padding: 8px;
}
.authwrap .qr img {
  width: 200px;
  height: 200px;
}
.authwrap code {
  background: var(--tint);
  padding: 2px 6px;
  border-radius: 4px;
  word-break: break-all;
}

/* Smaller screens */
@media (max-width: 1100px) {
  .fbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fbar .fq {
    grid-column: 1/-1;
  }
}
@media (max-width: 980px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  #gk {
    padding: 8px;
  }
  .admin {
    grid-template-columns: 1fr;
  }
  .admin nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px;
  }
  .admin nav .btn {
    width: auto;
    margin: 0;
    gap: 6px;
  }
  .nb-key {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin: 6px 4px 0;
    padding-top: 8px;
  }
  .admin main {
    padding: 12px;
  }
  .grid2,
  .stats3 {
    grid-template-columns: 1fr;
  }
  .admin input,
  .admin select,
  .admin textarea,
  .fbar input {
    font-size: 16px;
  }
  .fbar {
    grid-template-columns: 1fr 1fr;
  }
  .app-head .row {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 640px) {
  .rich-body {
    padding: 18px;
  }
  .rich-toolbar {
    padding: 6px;
  }
  .rich-toolbar button {
    padding: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

/* Product photos (matches the simulator) */
.photos { display: flex; gap: 14px; flex-wrap: wrap; }
.ph { width: 132px; }
.ph .img { width: 132px; height: 132px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.ph img { width: 100%; height: 100%; object-fit: contain; }
.ph .row { margin-top: 5px; gap: 4px; flex-wrap: wrap; }
.ph .muted { font-size: 12px; margin: 5px 0 0; overflow-wrap: anywhere; }
.box .dropzone { position: relative; margin-top: 16px; padding: 22px 16px; border: 2px dashed var(--line); border-radius: 10px; background: var(--bg); text-align: center; transition: border-color .15s, background .15s; }
.dropzone p { margin: 0 0 10px; }
.box .dropzone label.btn { display: inline-flex; width: auto; position: relative; }
.dropzone.over { border-color: var(--gold); background: var(--panel); }
.dropzone.off, .dropzone[aria-busy="true"] { opacity: .6; }
.dropzone:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.crop-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 18px; align-items: start; }
.crop-wrap canvas { width: 260px; height: 260px; border-radius: 8px; border: 1px solid var(--line); background: repeating-conic-gradient(#ddd 0 25%, #fff 0 50%) 0/16px 16px; }
.crop-wrap input[type="range"] { width: 100%; }
@media (max-width: 560px) { .crop-wrap { grid-template-columns: 1fr; } }
.pcell { display: flex; gap: 10px; align-items: flex-start; }
.pthumb { width: 44px; height: 44px; flex: none; border-radius: 6px; object-fit: contain; background: #fbf7f0; border: 1px solid var(--line, #e5ddcc); }
.pthumb.none { display: inline-block; background: repeating-linear-gradient(45deg, #fbf7f0, #fbf7f0 6px, #f3ecdc 6px, #f3ecdc 12px); }

/* Backing mix under coverage */
.rule.sub { padding-left: 14px; font-size: .92em; color: var(--dim); }

/* Show-password eye */
.pwwrap { position: relative; display: block; }
.pwwrap input { width: 100%; padding-right: 44px; }
.pweye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--dim); cursor: pointer; border-radius: 6px; }
.pweye:hover, .pweye.on { color: var(--ink); }
.pweye.on svg path { stroke-dasharray: none; }
.pweye.on::after { content: ""; position: absolute; width: 22px; height: 2px; background: currentColor; transform: rotate(-45deg); }
.pweye:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* 6-digit code: six boxes */
.otp { display: flex; gap: 10px; justify-content: flex-start; margin-top: 8px; }
.otp-d { width: 52px; height: 62px; padding: 0; text-align: center; font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--panel); border: 1.5px solid var(--line); border-radius: 10px; caret-color: var(--gold); }
.otp-d:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(109, 0, 0, .15); }
@media (max-width: 420px) { .otp { gap: 6px; } .otp-d { width: calc((100vw - 110px) / 6); height: 54px; font-size: 24px; } }

/* "Suggest a strong password" on the Choose your password screen */
.pwsuggest { display: flex; flex-direction: column; gap: 8px; }
.pwsuggest .btn.link { align-self: flex-start; }
.pwsuggest .note { border: 1px solid var(--line, #ddd); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.pwsuggest .note p { margin: 0; }
.pwsuggest .note code { font-weight: 600; word-break: break-all; }
.pwsuggest .note .btn { align-self: flex-start; }

/* Password rules checklist (ticked as they're met) */
.pwcheck { list-style: none; margin: -6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--dim); }
.pwcheck li { display: flex; align-items: center; gap: 8px; }
.pwcheck .pwmark { width: 16px; height: 16px; display: grid; place-items: center; flex-shrink: 0; }
.pwcheck li:not(.ok) .pwmark::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.pwcheck li.ok { color: var(--good); font-weight: 500; }

/* Two-step sign-in: the code screen's links, and the code dialogs */
.codelinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; }
.muted.small { font-size: 13px; }
dialog.gk-dlg.stepup { max-width: 460px; }
dialog.gk-dlg.stepup .qr { display: flex; justify-content: center; padding: 8px; }
dialog.gk-dlg.stepup .steps { padding-left: 20px; }
dialog.gk-dlg.stepup code { background: var(--tint); padding: 2px 6px; border-radius: 4px; word-break: break-all; }

/* Everything 25% bigger, on every screen (Anthony, 13 Nov 2026: text was too small). */
html { zoom: 1.25; }
/* Inside Ecom Admin (signed in, the app header is showing) the text is slightly smaller; sign-in pages stay big (Anthony 25 Nov 2026). */
html:has(.app-head) { zoom: 1.12; }

/* Menu items and the logo are links (so they open in a new tab): keep them looking as before. */
.admin nav a.btn { display: flex; box-sizing: border-box; color: inherit; font: inherit; text-decoration: none; }
.brandlink { display: inline-block; line-height: 0; }

/* Price match: tier dots and the hover card (25 Nov 2026) */
.tdot { font-size: 12px; line-height: 1; }
.tiers { display: inline-block; margin-top: 2px; font-size: 12px; color: var(--dim); cursor: default; white-space: nowrap; outline-offset: 2px; }
.tiers .tdot { margin-left: 2px; }
.tcard { display: none; position: fixed; z-index: 1000; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16); padding: 8px 10px; text-align: left; white-space: nowrap; font-size: 13px; }
.tiers:hover .tcard, .tiers:focus .tcard { display: block; }
.tcard table.lines { margin: 0; }
.tcard th, .tcard td { padding: 4px 8px; }
.tcard .twhy { color: var(--bad); font-size: 12px; white-space: normal; max-width: 420px; padding-top: 0; }
.tcard .tkey { color: var(--dim); font-size: 12px; margin-top: 6px; }
