/* VendingMachine website: the bot's Ember theme (Diego, 2026-11-23: "ember theme'd like our bot"). Every colour here is
   the value of the same-named brush in the app's App.axaml, so the site and the bot stay one look. */
:root {
  --ground: #141210;        /* WindowBrush */
  --deep: #0E0D0B;          /* SidebarBrush */
  --header: #181613;        /* HeaderBrush */
  --card: #1C1916;          /* CardBrush */
  --tile: #221E19;          /* TileBrush */
  --card-2: #1E1B17;        /* PanelBrush */
  --hover: #26221D;         /* HoverBrush */
  --selected: #3A2E1E;      /* SelectedBrush */
  --line: #2A2621;          /* LineBrush */
  --line-2: #3A352E;        /* ButtonLineBrush */
  --row: #24211D;           /* RowLineBrush */
  --ink: #F1ECE4;           /* TextBrush */
  --ink-2: #DED6CA;
  --soft: #CFC7BB;          /* SoftTextBrush */
  --muted: #A89F92;         /* MutedBrush */
  --faint: #6B6358;         /* FaintBrush */
  --accent: #E9A23B;        /* AccentBrush */
  --accent-hover: #ECB05A;  /* PrimaryHoverBrush */
  --accent-ink: #1A1206;    /* OnAccentBrush */
  --accent-soft: #33281A;   /* AccentSoftBrush */
  --accent-faint: #2A2117;  /* AccentFaintBrush */
  --good: #9ED3A8;          /* StartBrush */
  --good-bg: #1F3326;       /* StartBgBrush */
  --good-line: #335A44;     /* StartLineBrush */
  --bad: #F29A7E;           /* StopBrush */
  --bad-bg: #3A2420;        /* StopBgBrush */
  --bad-line: #6A3A30;      /* StopLineBrush */
  --warn: #E2D58A;          /* WarnBrush */
  --warn-bg: #2B2A1C;       /* WarnBgBrush */
  --warn-line: #5C5326;     /* WarnLineBrush */
  --off-tag: #25221E;       /* OffTagBrush */
  /* The banner's fire: only for glows and the headline, never for controls (those stay the bot's amber) */
  --ember: #F0761F;
  --ember-deep: #C4500F;
  --link: #F2B65A;
  --link-hover: #F7CD87;
  --head: Sora, Inter, system-ui, sans-serif;
}

/* Inter and Sora from the site itself (2026-11-24): no visitor is sent to Google for them, and no stylesheet from
   elsewhere holds up the page. One file per font holds every weight; the "ext" files (accented names) load only when
   a page needs them. Both fonts are under the SIL Open Font License: /fonts/inter-OFL.txt and /fonts/sora-OFL.txt. */
@font-face {
  font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Sora; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(/fonts/sora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Sora; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(/fonts/sora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* The bot's scrollbars */
* { scrollbar-width: thin; scrollbar-color: #53402A transparent; }
*:hover { scrollbar-color: #8A6530 transparent; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.soft { color: var(--soft); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
/* Off the page at the side the text starts from: in a right-to-left language, off the left would make the page scroll sideways */
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Buttons */
.btn {
  min-height: 44px; padding: 0 18px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; text-decoration: none; border: 1px solid transparent; font: inherit; font-weight: 700; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); background: var(--accent-hover); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; font-weight: 600; }
.btn-ghost:hover { color: var(--ink); background: var(--hover); border-color: var(--faint); }
.btn-danger { border-color: var(--bad-line); color: var(--bad); background: transparent; font-weight: 600; }
.btn-danger:hover { color: var(--bad); background: var(--bad-bg); }
.btn-big { min-height: 52px; padding: 0 24px; border-radius: 12px; font-size: 16px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--deep); }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span { font-family: var(--head); font-weight: 700; font-size: 19px; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1 1 auto; }
.site-nav a { padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--soft); font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.header-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* The language picker (Diego, 2026-11-24): a globe and the language's code, left of My licence; its list shows the
   languages in their own names, the current one ticked. On a phone it is a full-width list under the menu. */
/* It stands beside the two buttons, as near to them as they are to each other (the header's own gap is 20px, theirs 8px) */
.lang { position: relative; margin-inline-end: -12px; }
.lang summary { list-style: none; padding: 0 14px; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary { background: var(--hover); border-color: var(--faint); }
.lang-list {
  list-style: none; margin: 0; padding: 6px; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 20; min-width: 220px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  display: flex; flex-direction: column; gap: 2px;
}
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding: 0 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 15px; }
.lang-list a:hover { background: var(--hover); color: var(--ink); }
.lang-list a[aria-current="true"] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.lang-list a[aria-current="true"]::after { content: ""; flex: 0 0 16px; height: 16px; background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Offered once to a visitor whose browser asks for another language of the site */
.lang-offer { background: var(--accent-faint); border-bottom: 1px solid var(--line-2); }
.lang-offer[hidden] { display: none; }
.lang-offer .wrap { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; }
.lang-offer a { font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--deep); margin-top: auto; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 32px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-about { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 10px; }
.footer-about strong { font-family: var(--head); font-size: 18px; }
.footer-col { flex: 0 1 160px; display: flex; flex-direction: column; gap: 8px; }
.footer-col span { font-size: 13px; color: var(--muted); font-weight: 600; }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--ink); }
.footer-base { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 13px; }

/* Sections */
.section { padding: 80px 0; }
.band { background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.band::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--ember-deep) 30%, var(--accent) 50%, var(--ember-deep) 70%, transparent 100%); opacity: 0.7; }
.band-card { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; margin-bottom: 32px; }
.section-head.center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }
h2 { font-size: 34px; }
.page-title { font-size: 44px; line-height: 1.1; }
.lead { font-size: 18px; color: var(--soft); max-width: 560px; }

/* Hero: the banner as the backdrop of the top of the page, fading into the ground under the headline */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 88px 0 72px;
  background:
    radial-gradient(900px 420px at 10% 105%, rgba(240,118,31,0.22), transparent 62%),
    radial-gradient(700px 380px at 92% -10%, rgba(233,162,59,0.14), transparent 60%),
    var(--ground); }
.hero.has-banner { padding-top: 0; }
.hero-art { position: relative; max-width: 1920px; margin: 0 auto; }
.hero-art img { display: block; width: 100%; height: auto; }
.hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,18,16,0) 55%, rgba(20,18,16,0.82) 86%, var(--ground) 100%),
    linear-gradient(90deg, var(--ground) 0%, rgba(20,18,16,0) 7%, rgba(20,18,16,0) 93%, var(--ground) 100%); }
.hero.has-banner .wrap { margin-top: -56px; position: relative; }
.hero.has-banner .hero-copy { align-items: center; text-align: center; max-width: 820px; margin: 0 auto; }
.hero.has-banner .pill { align-self: center; }
.hero.has-banner .lead { max-width: 640px; }
.hero.has-banner .row { justify-content: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 640px; }
.pill { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--accent); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; background: rgba(14,13,11,0.6); }
.hero h1 { font-size: 56px; line-height: 1.08; letter-spacing: -0.5px; }
/* The line over the slogan, inside the headline: small, in the bot's amber */
.hero h1 .eyebrow { display: block; margin-bottom: 14px; font-family: Inter, system-ui, sans-serif; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.ember { background: linear-gradient(90deg, var(--accent) 0%, var(--ember) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Steps, features, tools */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.num { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-family: var(--head); font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.steps strong, .steps h3 { font-family: var(--head); font-size: 19px; font-weight: 700; line-height: inherit; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.features li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.features .icon { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--hover); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.features div { display: flex; flex-direction: column; gap: 4px; }
.features p { font-size: 14px; color: var(--soft); }
.tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; border-radius: 6px; padding: 2px 8px; background: var(--accent-soft); color: var(--accent); }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tools div { border-top: 2px solid var(--line-2); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.tools strong, .tools h3 { font-family: var(--head); font-size: 18px; font-weight: 700; line-height: inherit; }
.tools p { color: var(--soft); font-size: 15px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > * { flex: 1 1 360px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: 0 0 22px; margin-top: 1px; color: var(--good); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.plan.best { border: 2px solid var(--accent); box-shadow: 0 0 44px rgba(240,118,31,0.16); }
.plans.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1020px; margin: 0 auto; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-head strong, .plan-head h3 { font-family: var(--head); font-size: 20px; font-weight: 700; line-height: inherit; }
.badge { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; background: var(--accent); color: var(--accent-ink); }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--head); font-size: 44px; }
.plan-note { color: var(--soft); font-size: 14px; min-height: 44px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li svg { flex: 0 0 18px; margin-top: 3px; color: var(--accent); }
.plan li.no { color: var(--muted); }
.plan li.no svg { color: var(--muted); }
.plan .btn { min-height: 48px; border-radius: 12px; }
.center-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }

/* Questions, changelog: folding with <details> */
.faq details, .days details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 60px; padding: 14px 0; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker, .days summary::-webkit-details-marker { display: none; }
.faq summary::after, .days summary::after { content: "+"; color: var(--accent); font-size: 22px; width: 22px; text-align: center; flex: 0 0 auto; }
.faq details[open] summary::after, .days details[open] summary::after { content: "\2212"; }
.faq summary h3 { font: inherit; }
.faq p { margin: 0 0 18px; color: var(--soft); max-width: 680px; }
.days summary { min-height: 56px; padding: 16px 0; cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.days summary strong, .days summary h2 { font-family: var(--head); font-size: 22px; font-weight: 700; line-height: inherit; }
.days summary::after { margin-left: auto; align-self: center; }
.day-body { display: flex; flex-direction: column; gap: 18px; padding-bottom: 24px; }
.day-page h3 { font-size: 17px; margin-bottom: 8px; }
.kind { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.4px; border-radius: 6px; padding: 3px 9px; margin: 6px 0; }
.kind-new { background: var(--accent-soft); color: var(--accent); }
.kind-improved { background: var(--warn-bg); color: var(--warn); }
.kind-changed { background: var(--off-tag); color: var(--soft); }
.kind-fixed { background: var(--good-bg); color: var(--good); }
.day-page ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); }

/* Download */
.dl-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.dl-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.dl-cols > section { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.dl-cols > aside { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.step-list li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; }
.step-list .num { width: 34px; height: 34px; border-radius: 10px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.box h2, .box h3 { font-size: 20px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.facts li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--row); padding-bottom: 10px; font-size: 15px; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { text-align: right; }

/* Simple pages: My licence, legal */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.contact-card { align-items: flex-start; }
.contact-card > svg { color: var(--accent); }
.contact-card .btn { overflow-wrap: anywhere; }
.page { padding: 64px 0 80px; }
.page .wrap { display: flex; flex-direction: column; gap: 28px; }
.prose { display: flex; flex-direction: column; gap: 14px; color: var(--ink-2); }
.prose h2 { font-size: 22px; color: var(--ink); margin-top: 12px; }
.prose ol, .prose ul { padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.draft { border: 1px dashed var(--accent); border-radius: 12px; padding: 14px 16px; color: var(--accent); font-size: 14px; }
.cta-card { background: radial-gradient(700px 260px at 0% 100%, rgba(240,118,31,0.20), transparent 65%), var(--card); border: 1px solid #5A3A1E; border-radius: 22px; padding: 48px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-card h2 { font-size: 32px; }

@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero.has-banner .wrap { margin-top: -18px; }
  .hero h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .page-title { font-size: 34px; }
  .section { padding: 56px 0; }
  .site-nav { order: 3; flex-basis: 100%; }
  /* The picker joins the menu: a row of its own, its list opens under it at full width */
  .lang { order: 4; flex-basis: 100%; margin-inline-end: 0; }
  .lang summary { width: 100%; justify-content: flex-start; }
  .lang-list { position: static; margin-top: 8px; box-shadow: none; }
}

/* My licence */
.notice { border-radius: 12px; padding: 14px 16px; font-size: 15px; margin: 0; }
.notice.good { background: var(--good-bg); border: 1px solid var(--good-line); color: var(--good); }
.notice.bad { background: var(--bad-bg); border: 1px solid var(--bad-line); color: var(--bad); }
.login-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.field { font-size: 14px; font-weight: 600; color: var(--soft); }
.input { min-height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--ground); color: var(--ink); padding: 0 12px; font: inherit; }
.input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.account-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.key-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.key-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.key { font-family: "Cascadia Mono", Consolas, monospace; font-size: 18px; letter-spacing: 0.5px; color: var(--ink); word-break: break-all; }
.key-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.small-btn { min-height: 36px; padding: 0 12px; font-size: 14px; }
.box form { margin: 0; }

/* Admin (OneClick only): the bot's cards, tiles and tags */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat { background: var(--tile); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.stat span { font-size: 13px; color: var(--muted); }
.stat b { font-family: var(--head); font-size: 26px; }
.stat small { font-size: 12px; color: var(--faint); }
.chip { display: inline-block; justify-self: start; font-size: 11.5px; font-weight: 600; border-radius: 6px; padding: 2px 8px; background: var(--off-tag); color: var(--muted); white-space: nowrap; }
.chip.plan { background: var(--accent-soft); color: var(--accent); }
.chip.ok { background: var(--good-bg); color: var(--good); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.stop { background: var(--bad-bg); color: var(--bad); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--soft); font-weight: 600; }
.filters .grow { flex: 1 1 220px; }
select.input { appearance: auto; }
.keys details { border-top: 1px solid var(--row); }
.keys summary, .keys .head { display: grid; grid-template-columns: minmax(250px, 1.4fr) 92px 160px minmax(110px, 0.9fr) minmax(120px, 1.2fr) minmax(96px, 0.6fr); gap: 12px; align-items: center; }
.keys .note-cell { color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.keys summary { list-style: none; cursor: pointer; padding: 12px 6px; font-size: 14px; border-radius: 8px; }
.keys summary::-webkit-details-marker { display: none; }
.keys summary:hover { background: var(--hover); }
.keys details[open] > summary { background: var(--selected); }
.keys .head { padding: 0 6px 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.keys code { font-family: "Cascadia Mono", Consolas, monospace; font-size: 13.5px; color: var(--ink); }
.key-body { padding: 14px 6px 18px; display: flex; flex-direction: column; gap: 14px; }
.paypal-values { margin: 8px 0 0; font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; white-space: pre-wrap; word-break: break-all; }
.note-row { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 14px; }
.note-row .input { flex: 1; min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.actions form { display: flex; gap: 8px; align-items: center; margin: 0; }
.actions .push { margin-left: auto; }
.input.short { width: 76px; }
.log { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.log td { padding: 8px 10px 8px 0; border-top: 1px solid var(--row); vertical-align: top; }
.log td:first-child { color: var(--muted); white-space: nowrap; }
.pager { display: flex; gap: 10px; align-items: center; justify-content: flex-end; font-size: 14px; color: var(--muted); }
.wide { max-width: 1320px; }
@media (max-width: 860px) {
  .keys .head { display: none; }
  .keys summary { grid-template-columns: 1fr; gap: 6px; }
}

/* Vouchers: the box at the checkout, the form on the admin page */
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--soft); cursor: pointer; }
.agree input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.voucher { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.voucher .input { width: 190px; text-transform: uppercase; }
.price s { font-size: 16px; }
.ticks { border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px 8px; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ticks legend { font-size: 13px; color: var(--soft); font-weight: 600; padding: 0 4px; }
.filters .ticks label { flex-direction: row; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); }
.log form { margin: 0; }

/* Inside the app: real screenshots */
.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.screens figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.screens img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.screens figcaption { display: flex; flex-direction: column; gap: 2px; }
.pill a { color: var(--accent); }
.badge { white-space: nowrap; }
.price { flex-wrap: wrap; }

/* Chores: icon and name only (Diego, 2026-11-23: players know what they are) */
.chores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.chores li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.chores li:hover { border-color: #5A3A1E; }
.chores .icon { flex: 0 0 36px; height: 36px; border-radius: 10px; background: var(--hover); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.chores h3 { font: inherit; font-weight: 700; }
.chores .tag { margin-left: auto; align-self: center; }

/* Inside the app: tabs over one large screenshot */
.viewer { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.viewer-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.viewer-tabs button { min-height: 40px; padding: 0 16px; border-radius: 8px; border: none; background: transparent; color: var(--soft); font: inherit; font-weight: 600; cursor: pointer; }
.viewer-tabs button:hover { background: var(--hover); color: var(--ink); }
.viewer-tabs button[aria-selected="true"] { background: var(--selected); color: var(--accent); }
.viewer-screen { margin: 0; width: 100%; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.viewer-screen[hidden] { display: none; }
.viewer-screen figcaption { text-align: center; }
.frame { width: 100%; max-width: 1100px; max-height: 640px; overflow: hidden; border-radius: 16px; border: 1px solid #5A3A1E; box-shadow: 0 30px 90px rgba(0,0,0,0.5), 0 0 70px rgba(240,118,31,0.10); }
.frame img { display: block; width: 100%; height: auto; }
