@import url("/glows.css"); /* (cellosig's slowly drifting colour glows behind every page) */
/* (2026-11-26, owner: "Make the website look like inside the cellosig app") The same look as inside the apps
   (cellosig's ui/theme/Theme.kt, as CelloCloud's Android theme): cellosig's own dark pages and raised cards, and only
   four colours, exact shades: CelloCloud's own blue as the main one (--cello-blue), the orange of CelloCloud's icon (--cello-icon-orange; cellosig's peach --cello-orange on cellosig's pages),
   blue (messages), green (calls) and red
   (missed: Delete, errors, warnings, danger). No purple, no plain grey accents. Every colour on the
   site comes from these tokens; soft fills are mixed from them (--x-soft), with readable words on them (--x-ink).
   Dark by default; Settings → Appearance → Light gives the apps' light colours (data-theme on <html>). The
   standalone pages (legal.css, cellosig-page.css) carry the same values. */
:root, :root[data-theme="dark"] {
  /* (owner 11-26: "Polish CelloCloud, keep the blue") The main accent is CelloCloud's own blue (its app's primary);
     (owner 11-26: "orange like the app's icon") the icon's own orange (#D2601A, ic_launcher_foreground.xml) is the second: highlights, glows, chosen things; green success, red Delete and errors. cellosig's peach stays for cellosig's pages. */
  --cello-blue: #7db3ff; --cello-blue-fg: #00214f;
  --cello-icon-orange: #d2601a; --cello-icon-orange-fg: #fff;
  --cello-orange: #ffb68c; --cello-orange-fg: #4a1e00;
  /* (owner: "Make as dark as cellosig colour") cellosig's dark scheme, exactly: background, surface, containers, variant, outlineVariant. */
  --bg: #0d0f12; --card: #16191e; --card-2: #1a1d22; --raised: #24272e; --fg: #ece6df; --dim: #c6c0b8; --line: #3a3e46; --hover: #202328;
  --blue: var(--cello-blue); --green: #6fd99a; --orange: var(--cello-icon-orange); --red: #ff8a80;
  --blue-ink: var(--blue); --green-ink: var(--green); --orange-ink: color-mix(in srgb, var(--orange) 70%, #fff); --red-ink: var(--red); /* (words on a soft orange fill: the icon's orange, lightened to read) */
  --accent: var(--cello-blue); --accent-fg: var(--cello-blue-fg); --danger: var(--red); --ok: var(--green); --warn: var(--red);
  --shadow: rgb(0 0 0 / 35%); --glow-a: 17%;
  color-scheme: dark;
}
/* (owner 11-17, after trying a white outside: "make the background on the website look like cellosig" → dark everywhere,
   like cellosig on the owner's Pixel. app.js still marks the outside (data-outside) but no colors hang off it now.) */
:root[data-theme="light"] {
  --bg: #f6f3ee; --card: #fff; --card-2: #f1ece5; --raised: #ebe5dd; --fg: #1f1b17; --dim: #55504a; --line: #d9d2c9; --hover: #efeae3;
  --cello-blue: #2563eb; --cello-blue-fg: #fff; /* (CelloCloud's light-theme blue) */
  --cello-icon-orange: #d2601a; --cello-icon-orange-fg: #fff;
  --cello-orange: #b5541c; --cello-orange-fg: #fff; /* (cellosig's Copper, its light-theme shade) */
  --blue: var(--cello-blue); --green: #1b8a4b; --orange: var(--cello-icon-orange); --red: #c62828;
  --blue-ink: #00225a; --green-ink: #0f4a29; --orange-ink: #3d1600; --red-ink: #410002;
  --accent: var(--cello-blue); --accent-fg: var(--cello-blue-fg); --danger: var(--red); --ok: var(--green); --warn: var(--red);
  --shadow: rgb(0 34 90 / 10%); --glow-a: 14%;
  color-scheme: light;
}
/* Solid fills with white words (a red "act now", a green call button): cellosig's deep shades in both themes. */
:root { --blue-solid: #2459d6; --green-solid: #1b8a4b; --orange-solid: #b5541c; --red-solid: #c62828; }
:root {
  --blue-soft: color-mix(in srgb, var(--blue) 16%, var(--card)); --green-soft: color-mix(in srgb, var(--green) 16%, var(--card));
  --orange-soft: color-mix(in srgb, var(--orange) 16%, var(--card)); --red-soft: color-mix(in srgb, var(--red) 16%, var(--card));
}
* { box-sizing: border-box; }
html, body { margin: 0; color: var(--fg); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
html { background: var(--bg); } /* (the body stays see-through, so the glows behind it show) */
a { color: var(--accent); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.error { color: var(--danger); min-height: 1em; margin: 6px 0; }
.note { background: var(--hover); padding: 8px 12px; border-radius: 8px; }
.spacer { flex: 1; }

button, input, textarea { font: inherit; color: inherit; }
button {
  border: 1px solid var(--line); background: var(--card); padding: 8px 14px; border-radius: 12px; cursor: pointer;
}
button:hover:not(:disabled) { background: var(--hover); }
button:disabled { opacity: .55; cursor: default; }
button.primary { background: var(--accent); color: var(--accent-fg); border-color: transparent; }
button.primary:hover:not(:disabled) { filter: brightness(1.08); background: var(--accent); }
button.danger, .icon.danger { color: var(--danger); }
button.icon { border: 0; background: transparent; padding: 6px 9px; font-size: 17px; }
input, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); margin: 6px 0;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

header.top {
  display: flex; align-items: center; gap: 12px; padding: 10px max(16px, env(safe-area-inset-left));
  background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--fg); text-decoration: none; }
.tabs { display: flex; gap: 4px; }
.tab { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; }
.tab.active { background: var(--hover); font-weight: 600; }
.usage { display: flex; flex-direction: column; gap: 3px; min-width: 220px; }
.usage .usage-text { font-size: 14px; }
.usage.clickable { cursor: pointer; border-radius: 8px; padding: 2px 4px; }
.usage.clickable:hover, .usage.clickable:focus-visible { background: var(--hover); }
/* Free up space */
.space-scan { margin: 8px 0 16px; }
.space-scan .bar { margin-bottom: 6px; }
.space-section { margin: 18px 0; }
.space-section h3 { margin: 0 0 4px; }
.space-group { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 8px 0; }
.space-group > .small { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.space-row { display: flex; gap: 10px; }
.space-row input[type="checkbox"] { width: 20px; height: 20px; flex: none; }
.space-row.best { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.space-badge { color: var(--dim); }
.space-badge.keep { color: var(--accent); font-weight: 600; }
.space-days { width: 72px; display: inline-block; margin: 0 4px; }
.space-footer { position: sticky; bottom: 0; display: flex; gap: 12px; align-items: center; justify-content: flex-end; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin-top: 12px; }
.space-review { max-height: 220px; overflow: auto; padding-left: 18px; font-size: 14px; }
.space-done { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; border-radius: 12px; margin-bottom: 12px; }
.free-space-open { margin-bottom: 8px; }
/* (2026-11-25) Save many: picking files and folders in Files */
.choose-bar { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; margin: 8px 0; gap: 8px; }
.row.item.chosen { background: var(--blue-soft); }
.choose-box { width: 20px; height: 20px; flex: none; margin: 0 4px 0 0; accent-color: var(--blue); }
/* (2026-11-25) What uses my space: blue, green, copper and red only; each part its own shade */
.smap-total { margin: 8px 0; }
.smap-bar { display: flex; height: 16px; border-radius: 8px; overflow: hidden; background: var(--line); margin-bottom: 16px; }
.smap-seg { height: 100%; width: 0; }
.smap-list { display: flex; flex-direction: column; gap: 8px; }
.smap-row { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.smap-row.clickable { cursor: pointer; }
.smap-row.clickable:hover, .smap-row.clickable:focus-visible { background: var(--hover); }
.smap-row .name { flex: 1; min-width: 0; }
.smap-size { text-align: right; }
.smap-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.smap-videos { background: var(--blue); }
.smap-photos { background: var(--green); }
.smap-documents { background: var(--orange); }
.smap-backups { background: var(--blue-solid); }
.smap-other { background: color-mix(in srgb, var(--green) 55%, var(--card)); }
.smap-trash { background: var(--danger); }
@media (max-width: 600px) { .usage { min-width: 0; } .space-footer { justify-content: space-between; } }
.bar { height: 12px; background: var(--line); border-radius: 6px; overflow: hidden; }
button.icon.settings { font-size: 26px; padding: 2px 8px; line-height: 1; }
.fill { height: 100%; width: 0; background: var(--accent); }
.fill.warn { background: var(--danger); }
.banner { background: var(--orange-soft); color: var(--orange-ink); padding: 10px 16px; text-align: center; }

main.center { display: flex; justify-content: center; padding: 40px 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 4px 24px rgb(0 0 0 / 6%); }
.auth { width: 100%; max-width: 400px; display: flex; flex-direction: column; }
.auth h2 { margin-top: 0; }
.auth button.primary { margin-top: 8px; padding: 11px; }
.faster-ways { display: flex; flex-direction: column; gap: 8px; }
.faster-ways:not(:empty) { margin-top: 10px; }
.faster-ways button { padding: 10px; }
.phone-signin ol { padding-left: 20px; margin: 8px 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 14px; }
.check input { width: auto; margin-top: 4px; }
.links { display: flex; gap: 16px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.row { display: flex; gap: 8px; }
.recovery { background: var(--hover); padding: 14px; border-radius: 12px; font-size: 17px; letter-spacing: .5px; white-space: pre-wrap; word-break: break-all; }

main.content { max-width: 1100px; margin: 0 auto; padding: 16px; min-height: 60vh; }
main.content.drop { outline: 3px dashed var(--accent); outline-offset: -6px; border-radius: 18px; }
.toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.list { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.item { align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.item:last-child { border-bottom: 0; }
.item:hover { background: var(--hover); }
.item .thumb { width: 44px; height: 44px; display: grid; place-items: center; font-size: 24px; flex: none; }
.item .name { flex: 1; min-width: 0; }
.title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .actions { display: flex; opacity: .65; }
.item:hover .actions { opacity: 1; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 8px; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.empty { text-align: center; padding: 48px 16px; }

.month { margin: 18px 0 8px; font-size: 15px; color: var(--dim); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 4px; }
.tile { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: var(--hover); font-size: 30px; }
.tile .badge { position: absolute; right: 6px; bottom: 4px; color: #fff; font-size: 14px; text-shadow: 0 1px 3px #000; }
/* (2026-11-20) "✓ Cleaned" on a photo or video CelloCloud took the location and hidden details off; the pill on an upload's row. */
.tile .cleaned-badge { position: absolute; left: 5px; bottom: 5px; color: #fff; font-size: 10px; line-height: 1; padding: 3px 6px;
  border-radius: 999px; background: rgba(0,0,0,.58); }
.stage-pill { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font-size: 11px; }
.stage-pill.warn { color: var(--warn); }

.uploads { position: fixed; right: 16px; bottom: 16px; width: min(480px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto; z-index: 6;
  box-shadow: 0 8px 28px rgba(0,0,0,.18); border-radius: 14px; }
.uploads:empty { display: none; }
.uploads-head, .upload { background: var(--card); border: 1px solid var(--line); }
.uploads-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 16px; border-radius: 14px 14px 0 0; font-size: 16px; position: sticky; top: 0; }
.upload { padding: 10px 16px; border-top: 0; }
.upload .small { font-size: 14px; }
.upload progress { width: 100%; height: 10px; margin-top: 6px; }
.upload:last-child { border-radius: 0 0 14px 14px; }
.upload .small { display: flex; min-width: 0; }
.upload .ok { color: var(--green); font-weight: 600; white-space: nowrap; }
progress { width: 100%; height: 6px; }

.viewer { position: fixed; inset: 0; background: rgb(0 0 0 / 92%); z-index: 20; display: flex; align-items: center; justify-content: center; color: #fff; }
.viewer-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; padding: 10px 16px; gap: 8px; }
.viewer-bar .icon, .viewer .nav { color: #fff; }
.viewer .dim { color: #c7cad1; }
/* ((2026-11-27, owner) The viewer toolbar in cellosig's modern style: a rounded, raised dark menu with a round,
   coloured button for each action. Our four colours only. */
.viewer-actions { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 20px;
  background: color-mix(in srgb, var(--raised) 92%, #000); border: 1px solid rgb(255 255 255 / 12%); box-shadow: 0 8px 24px rgb(0 0 0 / 45%); }
.viewer-actions .icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; padding: 0;
  font-size: 18px; line-height: 1; background: transparent; transition: filter .15s, transform .1s; }
.viewer-actions .icon:hover:not(:disabled) { filter: brightness(1.14); transform: translateY(-1px); }
.viewer-actions .icon:active:not(:disabled) { transform: scale(.94); }
.viewer-actions .vi-cv { background: color-mix(in srgb, var(--blue) 26%, var(--raised)); }
.viewer-actions .vi-dl { background: color-mix(in srgb, var(--green) 26%, var(--raised)); }
.viewer-actions .vi-sig { background: color-mix(in srgb, var(--orange) 26%, var(--raised)); }
.viewer-actions .vi-close { background: color-mix(in srgb, var(--red) 26%, var(--raised)); }
/* ((audit 2026-11-27, #33) Browsers without color-mix: the menu and its buttons keep a background and their colour,
   as a ring, instead of losing both. Browsers with it never see this.) */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .viewer-actions { background: var(--raised); }
  .viewer-actions .vi-cv { background: var(--raised); box-shadow: inset 0 0 0 2px var(--blue); }
  .viewer-actions .vi-dl { background: var(--raised); box-shadow: inset 0 0 0 2px var(--green); }
  .viewer-actions .vi-sig { background: var(--raised); box-shadow: inset 0 0 0 2px var(--orange); }
  .viewer-actions .vi-close { background: var(--raised); box-shadow: inset 0 0 0 2px var(--red); }
}
/* (2026-11-27, owner) Immersive: a tap hides the chrome so only the photo/video shows (tap again to bring it back). */
.viewer-bar, .viewer .nav { transition: opacity .2s ease; }
.viewer.immersive .viewer-bar, .viewer.immersive .nav { opacity: 0; pointer-events: none; }
.stage { max-width: 92vw; max-height: 84vh; display: grid; place-items: center; }
.stage img, .stage video { max-width: 92vw; max-height: 84vh; border-radius: 6px; }
.stage .loading { text-align: center; min-width: 200px; }
/* (2026-11-20, allformats) a photo/video this browser can't show: a clean card, never a broken picture */
.cant-preview { text-align: center; min-width: 240px; max-width: min(420px, 88vw); padding: 24px 20px; background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 14px; }
.cant-preview .cant-kind { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .04em; padding: 4px 10px; border-radius: 8px; background: var(--hover); color: var(--accent); }
.cant-preview .cant-title { font-size: 17px; font-weight: 600; margin: 12px 0 6px; }
.tile .kind-badge { position: absolute; left: 5px; top: 5px; color: #fff; font-size: 10px; font-weight: 700; line-height: 1; padding: 3px 5px; border-radius: 5px; background: rgba(0,0,0,.6); }
.nav { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; border: 0; font-size: 44px; padding: 10px 16px; }
.nav.prev { left: 4px; } .nav.next { right: 4px; }

.modal { position: fixed; inset: 0; background: rgb(0 0 0 / 45%); display: grid; place-items: center; z-index: 15; padding: 16px; }
.modal .card { width: 100%; max-width: 420px; }
.stack { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }

footer { display: flex; gap: 16px; justify-content: center; padding: 24px 16px 40px; color: var(--dim); font-size: 13px; flex-wrap: wrap; }
footer a { color: var(--dim); }

@media (max-width: 640px) {
  .usage { order: 5; width: 100%; }
  .item .actions { opacity: 1; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 2px; }
}

/* plans (Settings) */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 10px 0 14px; }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.plan.current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan .size { font-size: 18px; font-weight: 700; }
.plan .price { color: var(--dim); font-size: 14px; }
.plan .perk { font-size: 12px; color: var(--dim); }
.plan button { margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--toast-lift, 0px)); transform: translateX(-50%); background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 18px; box-shadow: 0 6px 24px rgb(0 0 0 / 15%); z-index: 50; max-width: calc(100% - 32px); }
/* home page (signed out) */
.nav-link { color: var(--fg); text-decoration: none; padding: 8px 6px; }
a.button { display: inline-block; text-align: center; text-decoration: none; border: 1px solid var(--line); background: var(--card);
  color: var(--fg); padding: 10px 16px; border-radius: 12px; }
a.button.primary { background: var(--accent); color: var(--accent-fg); border-color: transparent; }
header.top a.button { padding: 8px 14px; } /* the same size as Sign in / Get started next to it */
/* Not a link yet: looks like a button, clearly switched off. */
span.button.soon { display: inline-block; text-align: center; border: 1px dashed var(--line); color: var(--dim);
  padding: 10px 16px; border-radius: 12px; cursor: default; }
main.landing { max-width: 1040px; margin: 0 auto; padding: 0 16px 24px; }
.landing section { margin: 0 0 64px; scroll-margin-top: 80px; } /* (/#apps: not under the sticky header) */
.landing h2 { font-size: 28px; margin: 0 0 8px; text-align: center; }
.landing .sub { text-align: center; max-width: 640px; margin: 0 auto 24px; }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 64px 0 8px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.08; margin: 8px 0 16px; letter-spacing: -0.02em; }
.hero .eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; margin: 0; letter-spacing: 0.02em; }
.hero .lead { font-size: 18px; color: var(--dim); max-width: 560px; margin: 0 0 26px; }
.hero .cta { flex-wrap: wrap; margin-bottom: 10px; }
button.big, a.button.big { padding: 13px 22px; font-size: 16px; border-radius: 12px; }
/* The drawing of the app next to the headline. */
.hero-shot { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 14px;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--blue) 16%, transparent), 0 2px 8px rgb(0 0 0 / 6%); transform: rotate(1.5deg); }
/* (owner 11-17: "make it into a phone") A phone: thick dark frame, round corners, camera dot, status bar, home bar. */
.hero-shot.phone { position: relative; width: min(100%, 320px); margin: 0 auto; padding: 34px 14px 26px; border-radius: 44px;
  background: var(--bg); border: 10px solid #08090b; outline: 1px solid var(--line); outline-offset: 0;
  box-shadow: 0 30px 70px rgb(0 0 0 / 45%), 0 0 0 2px #2a2d33 inset; }
.phone-cam { position: absolute; top: 10px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px var(--card); }
.phone-status { position: absolute; top: 10px; left: 22px; right: 22px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--dim); }
.phone-home { width: 38%; height: 5px; margin: 16px auto 0; border-radius: 999px; background: var(--dim); opacity: .6; }
.hero-shot.phone .shot-grid .tile { border-radius: 10px; }
/* Each square drawn as a little photo: a sun and a hill on its colored sky. */
.hero-shot.phone .shot-grid .tile::before { content: ""; position: absolute; top: 18%; right: 20%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / 75%); }
.hero-shot.phone .shot-grid .tile::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -38%; height: 70%; border-radius: 50%; background: rgb(0 0 0 / 28%); }
.shot-bar { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px; }
.shot-chip { font-size: 12px; background: var(--hover); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.shot-grid .tile { aspect-ratio: 1; border-radius: 8px; }
.tile.t0 { background: linear-gradient(135deg, var(--orange), var(--orange-solid)); }
.tile.t1 { background: linear-gradient(135deg, var(--blue), var(--blue-solid)); }
.tile.t2 { background: linear-gradient(135deg, var(--green), var(--green-solid)); }
.tile.t3 { background: linear-gradient(135deg, var(--red), var(--red-solid)); }
.tile.t4 { background: linear-gradient(135deg, var(--green), var(--blue-solid)); }
.tile.t5 { background: linear-gradient(135deg, var(--blue), var(--orange)); }
.shot-progress { padding: 12px 4px 2px; }
.shot-progress .bar { height: 6px; border-radius: 999px; background: var(--hover); margin-top: 8px; overflow: hidden; }
.shot-progress .bar span { display: block; height: 100%; width: 64%; background: var(--accent); border-radius: inherit; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; text-align: center; }
  .hero .lead { margin: 0 auto 24px; }
  .hero .cta { justify-content: center; }
  .hero-shot { max-width: 360px; margin: 0 auto; transform: none; }
  .hide-narrow { display: none; }
}
.trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: center; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); padding: 20px 0; }
.trust div { display: flex; flex-direction: column; gap: 2px; }
.trust .dim { font-size: 13px; }
@media (max-width: 700px) { .trust { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } .trust div:last-child { grid-column: 1 / -1; } }
.compare-wrap { padding: 0; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 13px; }
.compare tbody th { font-weight: 600; width: 34%; }
.compare td:last-child { font-weight: 600; }
.compare .yes { color: var(--green); }
@media (max-width: 600px) { .compare th, .compare td { padding: 10px 10px; font-size: 14px; } }
.faq-list { max-width: 760px; margin: 22px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--dim); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; }
.final-cta { text-align: center; padding: 40px 20px; }
.final-cta p { margin: 0 0 20px; }
.more-links { text-align: center; margin: 24px 16px 0; line-height: 1.8; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.feature h3 { margin: 10px 0 6px; font-size: 17px; }
.feature p { margin: 0; }
.feature-icon { font-size: 28px; }
.more-apps .features { grid-template-columns: repeat(2, 1fr); }
.customers td.name button.reactivate { margin-top: 6px; padding: 4px 10px; font-size: 12px; }
a.feature-link, a.feature-link h3, a.feature-link p { color: inherit; text-decoration: none; }
a.feature-link p { color: var(--dim); }
a.feature-link:hover { border-color: var(--accent); }
.app-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.plan-tag { font-size: 12px; font-weight: 600; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
@media (max-width: 700px) { .more-apps .features { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 22px; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step p { margin: 4px 0 0; }
.step-n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-fg);
  display: grid; place-items: center; font-weight: 700; }
.pricing { text-align: center; }
.landing-plans { text-align: left; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 22px 0 12px; }
.landing-plans .plan { padding: 18px; background: var(--card); }
.landing-plans .size { font-size: 26px; }
.landing-plans .price { color: var(--fg); font-size: 17px; font-weight: 600; }
.app-download { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.app-download h2 { text-align: left; }
.app-download .stack { margin: 0; }
.modal .card { max-height: calc(100vh - 32px); overflow-y: auto; }
.modal h3 { margin: 18px 0 6px; }

/* In-page dialogs (instead of the browser's prompt/confirm/alert boxes) */
.modal.ask { z-index: 30; }
.modal.ask .card { max-width: 380px; }
.modal.ask h2 { margin: 0 0 8px; font-size: 19px; }
.modal.ask .row { justify-content: flex-end; margin-top: 12px; }
button.primary.danger { background: var(--red-solid); color: #fff; }
button.primary.danger:hover:not(:disabled) { background: var(--danger); }

/* Password strength meter (strength.js): four bars that fill and colour as it gets stronger */
.meter { margin: -2px 0 6px; }
.meter-bar { display: flex; gap: 4px; margin-bottom: 2px; }
.meter-bar span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.meter[data-level="0"] .meter-bar span:nth-child(-n+1),
.meter[data-level="1"] .meter-bar span:nth-child(-n+1) { background: var(--danger); }
.meter[data-level="2"] .meter-bar span:nth-child(-n+2) { background: var(--orange); }
.meter[data-level="3"] .meter-bar span:nth-child(-n+3) { background: var(--green); }
.meter[data-level="4"] .meter-bar span { background: var(--green); }

/* Two-step sign-in set-up: the QR code to scan (white behind it, so it scans in dark mode too) */
img.qr { display: block; margin: 8px auto; background: #fff; padding: 6px; border-radius: 8px; image-rendering: pixelated; max-width: 100%; }

/* Message to customers (control panel → everyone), above everything */
.notice-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 14px; border-bottom: 1px solid var(--line); }
.notice-bar[hidden] { display: none; }
.notice-bar > span { flex: 1; }
.notice-bar.info { background: var(--blue-soft); color: var(--blue-ink); }
.notice-bar.maintenance { background: var(--orange-soft); color: var(--orange-ink); }
.notice-bar.problem { background: var(--red-soft); color: var(--red-ink); }
.notice-bar.security { background: var(--red-soft); color: var(--red-ink); }
.notice-bar a { color: inherit; font-weight: 600; }
.notice-bar button.icon { color: inherit; }
/* The holiday sale banner (its own bar under any customer message). */
.sale-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 14px; border-bottom: 1px solid var(--line); background: var(--green-soft); color: var(--green-ink); }
.sale-bar[hidden] { display: none; }
.sale-bar > span { flex: 1; }
.sale-bar a { color: inherit; font-weight: 600; }
.sale-bar button.icon { color: inherit; }
.sale-bar .sale-code { font: inherit; font-weight: 700; letter-spacing: .04em; padding: 1px 8px; border: 1px dashed currentColor; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; }
:root:not([data-theme="light"]) .sale-bar { background: var(--green-soft); color: var(--green-ink); }
/* (2026-11-23, owner's controls) The owner's own message / "Please update" / welcome bars (notice-bar info), and an
   add-on or video tier on sale: the full price crossed out next to the sale price. No motion. */
.own-bars:empty { display: none; }
.price .was { text-decoration: line-through; opacity: .65; font-weight: 400; }
.price .sale-off { font-size: .75em; font-weight: 600; color: var(--ok); white-space: nowrap; }

/* Status page and control panel */
.status-page, .admin { max-width: 860px; }
.status-summary { padding: 16px 18px; border-radius: 12px; font-weight: 600; margin: 12px 0 6px; }
.status-summary.ok { background: var(--green-soft); color: var(--green-ink); }
.status-summary.warn { background: var(--orange-soft); color: var(--orange-ink); }
.status-summary.bad { background: var(--red-soft); color: var(--red-ink); }
.status-list { padding: 4px 16px; }
.status-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.status-row:last-child { border-bottom: 0; }
.status-row > div { flex: 1; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--green); } .dot.warn { background: var(--orange); } .dot.bad { background: var(--danger); }
.state { font-size: 14px; font-weight: 600; }
.state.ok { color: var(--green); } .state.warn { color: var(--orange); } .state.bad { color: var(--danger); }
.admin h2 { margin-top: 28px; }
.admin-table { overflow-x: auto; padding: 8px; }
.admin-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mgmt-apps { display: grid; gap: 16px; margin-top: 16px; }
.mgmt-app { border-left: 4px solid var(--green); }
.mgmt-app.warn { border-left-color: var(--orange); } .mgmt-app.bad { border-left-color: var(--danger); }
.mgmt-head { display: flex; align-items: center; gap: 12px; }
.mgmt-head > div { flex: 1; }
.mgmt-head h2 { margin: 0; }
.mgmt-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 8px; border-top: 1px solid var(--line); }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.admin-stats div { display: flex; flex-direction: column; }
.admin-stats strong { font-size: 22px; }
.signup-chart { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.chart-area { position: relative; height: 140px; border-bottom: 1px solid var(--line); padding-top: 18px; }
.chart-max { position: absolute; top: 0; left: 0; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 100%; }
.bar-col { flex: 1; height: 100%; display: flex; align-items: flex-end; outline: none; cursor: default; }
.bar-col:hover, .bar-col:focus-visible { background: var(--hover); }
.chart-bar { width: 100%; background: var(--accent); border-radius: 4px 4px 0 0; }
.bar-tip { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: 13px; box-shadow: 0 2px 8px rgba(0,0,0,.15); pointer-events: none; }
.chart-axis { display: flex; justify-content: space-between; }
.signup-chart table { margin-top: 6px; border-collapse: collapse; }
.signup-chart td, .signup-chart th { padding: 2px 16px 2px 0; text-align: left; }
.notice-form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.notice-form .row { align-items: center; flex-wrap: wrap; gap: 16px; }
.notice-form select { font: inherit; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: inherit; }
.notice-preview { padding: 12px 14px; border-radius: 12px; margin: 8px 0; }
.notice-preview.info { background: var(--blue-soft); color: var(--blue-ink); }
.notice-preview.maintenance { background: var(--orange-soft); color: var(--orange-ink); }
.notice-preview.problem, .notice-preview.security { background: var(--red-soft); color: var(--red-ink); }
/* Security activity (Settings) and alerts */
.sec-list { display: flex; flex-direction: column; gap: 8px; max-height: 50vh; overflow: auto; margin: 8px 0; }
.sec-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; background: var(--hover); }
.sec-row.alert { background: var(--red-soft); color: var(--red-ink); }
.sec-row.alert .dim { color: var(--red-ink); opacity: .8; }
.sec-icon { font-size: 18px; line-height: 1.3; }
.sec-row .grow { flex: 1; min-width: 0; }
.sec-row .row { gap: 6px; flex-wrap: wrap; }
.banner.held { background: var(--orange-soft); color: var(--orange-ink); }
.banner.held button { margin-left: 8px; }
.banner.reply-note { background: var(--card); color: var(--fg); text-align: left; border-left: 3px solid var(--orange); }
.banner.reply-note .reply-text { white-space: pre-line; overflow-wrap: anywhere; }
.banner.reply-note button { margin-left: 8px; }
/* Protection (500 GB / 1 TB) in Settings, and per customer in the control panel */
.protect-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.protect-row:first-of-type { border-top: 0; }
.protect-row input[type=checkbox] { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.protect-row label { flex: 1; }
.vpn-devices { list-style: none; padding: 0; margin: 8px 0; }
.vpn-device { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); }
.vpn-device:first-child { border-top: 0; }
.vpn-device > span { min-width: 0; overflow-wrap: anywhere; }
.dns-box { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 0 32px; }
.dns-box ol { margin: 0; padding-left: 20px; }
.customers-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.customers-tools input { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: inherit; min-width: 220px; }
.customers td.toggle { text-align: center; }
.customers td.gifts { min-width: 420px; white-space: normal; }
/* (2026-11-14, owner: "make the window bigger to show all the toggles") The customers list uses the whole screen
   width, and each customer's feature switches wrap onto more lines instead of running off the side. */
main.content:has(.customers) { max-width: 98vw; }
.admin:has(.customers) { max-width: none; }
.customers .gift { display: inline-flex; align-items: center; gap: 4px; margin: 2px 10px 2px 0; white-space: nowrap; }
.customers input[type=checkbox] { width: 18px; height: 18px; }
/* (owner 11-15: "lines a little darker" so each customer's toggles clearly end before the next customer) */
.customers tr + tr td { border-top: 2px solid color-mix(in srgb, currentColor 40%, transparent); }
.customers tr.off td { opacity: .65; }
.customers tr.off td.toggle, .customers tr.off td.name { opacity: 1; }
.tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--hover); margin-left: 6px; }
.tag.bad { background: var(--red-soft); color: var(--red-ink); }
/* Control panel dashboard: widgets, live view, graphs, diagnostics, staff */
.dashboard { display: flex; flex-direction: column; gap: 8px; }
.widget { border-top: 1px solid var(--line); padding-top: 4px; }
.widget:first-child { border-top: 0; }
.widget-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.widget-head h2 { flex: 1; }
/* (2026-11-18) What's on: the switch search beside its heading, and each switch's app labels. The site's rules block
   inline styles, so these live here. */
.widget-head-search { display: flex; align-items: center; gap: 12px; flex: 1 1 100%; min-width: 0; flex-wrap: wrap; }
.widget-head-search h2 { flex: 0 0 auto; white-space: nowrap; margin: 0; }
.widget-head-search input[type=search] { flex: 1 1 160px; min-width: 0; max-width: 340px; margin: 0; }
.switch-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.switch-tag { border: 1px solid currentColor; border-radius: 999px; padding: 0 8px; opacity: .75; font-size: .8em; line-height: 1.6; }
.topbar-hold { display: inline-flex; align-items: center; gap: 6px; }
/* (2026-11-23) What's on is read-only here: switches are changed in Cello Control on the owner's phone. */
.switch-state { flex: 0 0 auto; min-width: 3.2em; text-align: center; border-radius: 999px; padding: 0 10px; font-size: .85em; font-weight: 700; line-height: 1.8; border: 1px solid currentColor; opacity: .6; }
.switch-state.on { opacity: 1; }
.switch-row > .switch-text { flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; }
.switches-readonly-note { margin: 0 0 8px; }
.status-list .switch-row > label, .status-list .switch-row > label div { overflow-wrap: anywhere; }
.widget-tools { gap: 6px; }
.hidden-widget { opacity: .55; }
.live-tiles div span + span { font-size: 12px; }
.range-picker { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
/* (2026-11-29, owner: "i want the boxes bigger") About two charts a row on a computer, one on a phone (never wider than the page). */
.charts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(520px, 100%), 1fr)); gap: 16px; }
.chart-card { padding: 16px 18px; }
.chart-title { margin-bottom: 8px; font-size: 1.08em; }
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; touch-action: none; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--dim); font-size: 13px; }
@media (max-width: 600px) { .chart .axis { font-size: 17px; } }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--accent); opacity: .12; }
.chart .cross { stroke: var(--dim); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .dot { fill: var(--accent); stroke: var(--card); stroke-width: 2; }
/* (2026-11-29, What's on → moregraphs) A line's colour: only our four (blue, green, orange/copper, red); "dash" for a fifth. */
.chart .line.s-blue { stroke: var(--blue); } .chart .area.s-blue, .chart .dot.s-blue { fill: var(--blue); }
.chart .line.s-green { stroke: var(--green); } .chart .area.s-green, .chart .dot.s-green { fill: var(--green); }
.chart .line.s-orange { stroke: var(--orange); } .chart .area.s-orange, .chart .dot.s-orange { fill: var(--orange); }
.chart .line.s-red { stroke: var(--red); } .chart .area.s-red, .chart .dot.s-red { fill: var(--red); }
.chart .line.dash { stroke-dasharray: 6 4; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 6px; font-size: 13px; }
.chart-key { display: inline-flex; align-items: center; gap: 6px; }
.chart-key .sw { display: inline-block; width: 14px; height: 4px; border-radius: 2px; background: var(--accent); }
.chart-key .sw.s-blue { background: var(--blue); } .chart-key .sw.s-green { background: var(--green); }
.chart-key .sw.s-orange { background: var(--orange); } .chart-key .sw.s-red { background: var(--red); }
/* (2026-11-29, owner: "split downloads per app") Downloads per app: name, two bars (website blue, updates green), numbers */
.dl-apps { display: grid; gap: 8px; margin-top: 6px; }
.dl-app { display: grid; grid-template-columns: minmax(90px, 160px) 1fr auto; gap: 10px; align-items: center; }
.dl-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-bars { display: grid; gap: 3px; }
.dl-bar { display: block; width: 100%; height: 6px; border: 0; border-radius: 3px; overflow: hidden; background: var(--line); appearance: none; -webkit-appearance: none; }
.dl-bar::-webkit-progress-bar { background: var(--line); border-radius: 3px; }
.dl-bar.s-blue::-webkit-progress-value { background: var(--blue); border-radius: 3px; } .dl-bar.s-blue::-moz-progress-bar { background: var(--blue); border-radius: 3px; }
.dl-bar.s-green::-webkit-progress-value { background: var(--green); border-radius: 3px; } .dl-bar.s-green::-moz-progress-bar { background: var(--green); border-radius: 3px; }
.dl-num { font-variant-numeric: tabular-nums; }
.chart-key .sw.dash { background: repeating-linear-gradient(90deg, var(--red) 0 5px, transparent 5px 8px); }
.chart-tip { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: 13px; box-shadow: 0 2px 8px rgba(0,0,0,.15); pointer-events: none; }
.diag-buttons { flex-wrap: wrap; gap: 6px; }
.diag-row { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; border-top: 1px solid var(--line); }
.diag-row:first-child { border-top: 0; }
.diag-row .grow { flex: 1; min-width: 0; }
.diag-log { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 40vh; overflow: auto; font-size: 12px; background: var(--hover); padding: 8px; border-radius: 6px; }
.staff-row { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.staff-row .row { align-items: center; gap: 8px; flex-wrap: wrap; }
.staff-row input[type=text] { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: inherit; max-width: 280px; }
.notice-switch { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.notice-switch input { width: 20px; height: 20px; }
.darkweb-box { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.darkweb-part { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--hover); }
.darkweb-part input[type=email] { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: inherit; flex: 1; min-width: 180px; }
.darkweb-part .row { gap: 8px; flex-wrap: wrap; align-items: center; }
.darkweb-emails { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.darkweb-breaches { margin: 4px 0 0; padding-left: 18px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-buttons a.button { text-decoration: none; }
.share-card { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.days-input { width: 90px; font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: inherit; }
.quick-days { gap: 6px; flex-wrap: wrap; align-items: center; }
.trial-make, .trial-made { display: flex; flex-direction: column; gap: 8px; }
.trial-make .row { gap: 12px; flex-wrap: wrap; align-items: center; }
.trial-make select, .trial-make input, .trial-redeem input { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: inherit; }
.trial-redeem { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.trial-redeem .row { gap: 8px; flex-wrap: wrap; }
.trial-note { padding: 10px 12px; border-radius: 12px; background: var(--hover); }
.pause-all { grid-column: 1 / -1; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.perm-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 16px; }
/* Browsing history (Settings → Protection) */
.history-list { max-height: 55vh; overflow: auto; margin: 8px 0; }
.history-list h3 { margin: 12px 0 4px; font-size: 14px; position: sticky; top: 0; background: var(--card); }
.history-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.history-table td { padding: 3px 8px 3px 0; vertical-align: top; overflow-wrap: anywhere; }
.history-table td:first-child { white-space: nowrap; width: 1%; }
.customers-tools select { font: inherit; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: inherit; }
.sec-advice ul { margin: 6px 0 0; padding-left: 20px; }
.defence-alert { background: var(--red-soft); color: var(--red-ink); padding: 12px 14px; border-radius: 12px; margin: 8px 0; display: flex; flex-direction: column; gap: 8px; }
.defence-alert li, .act-banner li { margin: 6px 0; }
/* Early warnings: how serious ("Watch" / "Act now"), the red banner, each drive's health */
.sev { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.sev.watch { background: var(--orange-soft); color: var(--orange-ink); }
.sev.act { background: var(--red-solid); color: #fff; }
.sev.report { background: var(--blue-soft); color: var(--blue-ink); }
.act-banner { background: var(--red-solid); color: #fff; padding: 12px 14px; border-radius: 12px; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
/* (Owner: a deep cherry red, not bright red; and anything on white is bold cherry text, easy to read. The buttons
   used to take the banner's white text on their white background: invisible.) */
.act-banner .sev.act { background: #fff; color: var(--red-solid); font-weight: 800; }
.act-banner .small, .act-banner strong { color: #fff; }
.act-banner button { align-self: flex-start; background: #fff; color: var(--red-solid); font-weight: 700; border: 1px solid #fff; }
.act-banner button:hover { background: var(--red-soft); }
.health.failing { color: var(--red-solid); font-weight: 700; }
.health.watch { color: var(--orange); font-weight: 700; }
.small-btn { margin-left: 8px; padding: 2px 8px; font-size: 12px; }
.switch-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.keep-note:empty { display: none; }
.switch-row > label { flex: 1 1 240px; min-width: 0; } /* (a long description wraps beside its switch, not under it) */
.update-banner { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 10px 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); max-width: calc(100vw - 32px); }
.pc-folders { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 6px; }
.pc-folders li { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; word-break: break-all; }
.link-details dt { font-weight: 600; margin-top: 8px; }
.link-details dd { margin: 2px 0 0; }
.link-details ul { margin: 4px 0 0; padding-left: 20px; max-height: 30vh; overflow: auto; }

/* Previous versions, links, and the pages people see when they open your links */
.versions-link { color: inherit; text-decoration: underline dotted; }
.link-box { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.link-option { align-items: center; gap: 8px; margin: 8px 0; }
.link-option select, .share-page select { font: inherit; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: inherit; }
.list.versions { max-height: 50vh; overflow-y: auto; margin: 8px 0; }
.share-page { max-width: 760px; }
.share-head h1 { margin: 6px 0; font-size: 26px; overflow-wrap: anywhere; }
.share-head button.big, .drop-zone button.big { margin: 12px 0; }
.visitor-promo { margin-top: 24px; display: grid; gap: 6px; justify-items: start; }
.visitor-promo p { margin: 0; }
.drop-zone { text-align: center; padding: 64px 28px; min-height: 280px; border: 3px dashed var(--line); }
.drop-zone.drop { border-color: var(--accent); background: var(--hover); }
.drop-zone h1 { margin-top: 0; }

/* On/off switches (every input with role="switch"): a sliding toggle, not a tick box. */
input[type=checkbox][role=switch] { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 44px; height: 24px; margin: 0;
  border-radius: 999px; background: var(--dim); cursor: pointer; transition: background .15s; vertical-align: middle; }
input[type=checkbox][role=switch]::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s; }
input[type=checkbox][role=switch]:checked { background: var(--accent); }
input[type=checkbox][role=switch]:checked::before { transform: translateX(20px); }
input[type=checkbox][role=switch]:disabled { opacity: .45; cursor: not-allowed; }
input[type=checkbox][role=switch]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.customers input[type=checkbox][role=switch] { width: 40px; height: 22px; }
.customers input[type=checkbox][role=switch]::before { width: 16px; height: 16px; }
.customers input[type=checkbox][role=switch]:checked::before { transform: translateX(18px); }
@media (prefers-reduced-motion: reduce) { input[type=checkbox][role=switch], input[type=checkbox][role=switch]::before { transition: none; } }
/* Cellowalla install guide (/cellowalla/install) */
.guide { max-width: 760px; margin: 0 auto; }
.guide-step { margin: 16px 0; }
.guide-step h2 { font-size: 19px; margin: 0 0 8px; }
.guide-step li { margin: 6px 0; }
/* Long web addresses (the Play test link) wrap instead of making the page wider than a phone. */
.guide-step a { overflow-wrap: anywhere; }
.guide-code { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; overflow-x: auto; font-size: 14px; white-space: pre; }
.sha-list dt { font-weight: 600; margin-top: 6px; }
.sha-list dd { margin: 0; }
.sha-list code { word-break: break-all; }

/* Control panel: weekly maintenance reports, payments dialog */
pre.report { white-space: pre-wrap; word-break: break-word; font-size: 0.85rem; max-height: 60vh; overflow: auto; }
.payments .facts { padding-left: 1.2em; }
.payments .row.wrap { flex-wrap: wrap; gap: 0.5rem; }

/* Landing: the big "ENCRYPTION TO THE T" band */
.to-the-t { text-align: center; padding: 18px 16px; margin: 16px auto; max-width: 640px; border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--orange-solid)); color: var(--accent-fg); }
.landing section.to-the-t { margin: 16px auto 48px; } /* (centred: .landing section sets margins) */
.to-the-t .big-t { margin: 0; font-size: clamp(26px, 4.5vw, 46px); line-height: 0.95; font-weight: 900; letter-spacing: 0.02em; }
.to-the-t .lead { max-width: 540px; margin: 10px auto 0; font-size: clamp(13px, 1.6vw, 15px); color: rgba(255,255,255,0.92); }
/* Landing: the CelloMobile banner (only while its store is open) */
.mobile-banner { display: flex; align-items: center; gap: 24px; margin: 28px auto; max-width: 1000px; padding: 28px 32px; border-radius: 20px;
  background: var(--card); color: #fff; text-decoration: none; border: 2px solid var(--accent); }
.mobile-banner[hidden] { display: none; }
.mobile-banner:hover { border-color: var(--orange-solid); }
.mobile-banner .mb-icon { font-size: 52px; line-height: 1; }
.mobile-banner .mb-text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mobile-banner .mb-text strong { font-size: clamp(20px, 2.6vw, 26px); }
.mobile-banner .mb-text span { color: rgba(255,255,255,0.8); font-size: 17px; }
.mobile-banner .mb-go { background: var(--accent); color: var(--accent-fg); padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 18px; white-space: nowrap; }
.mobile-banner .mb-text .mb-note { color: var(--orange); font-size: 13px; }
.mobile-banner .mb-text .mb-note[hidden] { display: none; }
@media (max-width: 600px) { .mobile-banner { flex-wrap: wrap; } .mobile-banner .mb-go { width: 100%; text-align: center; } }
/* Landing: "Apps included with your plan" */
.included-apps { padding: 24px 0; }
.included-apps > .eyebrow, .included-apps > h2, .included-apps > .sub { text-align: center; }
.included-apps .eyebrow { color: var(--accent); font-weight: 700; margin: 0; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; }
.included-apps h2 { margin-top: 4px; }
.included-apps .tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.included-apps .tier { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.included-apps .tier.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.included-apps .tier-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.included-apps .tier-head h3 { margin: 0; }
.included-apps .tier > p { margin: 0; }
.included-app { display: flex; gap: 12px; align-items: flex-start; }
.included-app h4 { margin: 2px 0 2px; font-size: 16px; }
.included-app p { margin: 0 0 4px; }
.included-app ul { margin: 0; padding-left: 18px; }
.included-apps .center { text-align: center; margin-top: 14px; }
@media (max-width: 760px) { .included-apps .tiers { grid-template-columns: 1fr; } }
/* Refund dialog: staying or leaving (the refund lock) */
.refund-choice { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin: 8px 0; }
.refund-choice legend { font-weight: 600; padding: 0 4px; }
.refund-choice div { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0; }
.refund-choice input[type=radio] { width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
/* ---- cellosig on the website (cellosig.js) ---- */
.cs-app { position: fixed; inset: 0; z-index: 20; background: var(--bg); display: flex; flex-direction: column; }
.cs-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--card); }
.cs-top .spacer { flex: 1; }
.cs-status { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cs-status.cs-good { color: var(--green); }
.cs-body { flex: 1; display: flex; min-height: 0; }
.cs-pair { margin: auto; max-width: 460px; width: calc(100% - 32px); text-align: left; }
.cs-pair h2 { margin-top: 0; }
.cs-qr { display: block; margin: 12px auto; width: 240px; max-width: 100%; image-rendering: pixelated; background: #fff; padding: 8px; border-radius: 8px; }
.cs-paircode { margin: 16px 0; text-align: center; font-size: 2.2rem; font-weight: 700; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.cs-side { width: 340px; max-width: 40%; border-right: 1px solid var(--line); display: flex; flex-direction: column; background: var(--card); min-height: 0; }
.cs-find { padding: 10px; border-bottom: 1px solid var(--line); }
.cs-find input { flex: 1; min-width: 0; }
.cs-list { overflow-y: auto; flex: 1; }
.cs-empty { padding: 16px; }
.cs-chat { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 12px; }
.cs-chat.on { background: var(--hover); }
.cs-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font-weight: 600; }
.cs-chat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cs-chat-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-chat-last { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-chat-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.cs-badge { background: var(--accent); color: var(--accent-fg); border-radius: 12px; padding: 0 7px; font-size: 12px; }
.cs-pane { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.cs-none { margin: auto; max-width: 360px; text-align: center; padding: 16px; }
.cs-head { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--card); }
.cs-head-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-back { display: none; }
.cs-thread { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.cs-older { align-self: center; margin-bottom: 8px; }
.cs-day { align-self: center; margin: 10px 0 4px; }
.cs-sys { align-self: center; text-align: center; margin: 4px 0; }
.cs-msg { max-width: min(560px, 78%); padding: 6px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow-wrap: anywhere; }
.cs-msg.in { align-self: flex-start; border-bottom-left-radius: 4px; }
.cs-msg.out { align-self: flex-end; background: var(--accent); color: var(--accent-fg); border-color: transparent; border-bottom-right-radius: 4px; }
.cs-msg.out .dim, .cs-msg.out .cs-meta { color: rgb(255 255 255 / 78%); }
.cs-text { white-space: pre-wrap; }
.cs-author { font-weight: 600; color: var(--accent); }
.cs-quote { border-left: 3px solid currentColor; padding-left: 8px; opacity: .8; margin-bottom: 4px; }
.cs-meta { text-align: right; color: var(--dim); font-size: 11px; }
.cs-file { margin: 2px 0 4px; }
.cs-msg.out .cs-file button { color: var(--fg); }
.cs-img { display: block; max-width: 100%; max-height: 360px; border-radius: 12px; }
.cs-compose { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--card); align-items: flex-end; }
.cs-compose textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 18px; padding: 8px 14px; background: var(--bg); max-height: 160px; }
.cs-call { position: absolute; inset: 0; z-index: 2; background: var(--bg); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cs-remote { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.cs-call:not(.video) .cs-remote { opacity: 0; }
.cs-self { position: absolute; right: 16px; bottom: 110px; width: 180px; max-width: 30%; border-radius: 12px; background: #000; transform: scaleX(-1); z-index: 1; }
.cs-call-info { position: relative; z-index: 1; text-align: center; text-shadow: 0 1px 4px rgb(0 0 0 / 70%); }
.cs-call.video .cs-call-info { position: absolute; top: 16px; left: 0; right: 0; }
.cs-call-name { font-size: 26px; font-weight: 600; }
.cs-code { margin-top: 6px; letter-spacing: 1px; }
.cs-call-buttons { position: absolute; bottom: 28px; display: flex; gap: 18px; z-index: 1; }
.cs-round { width: 60px; height: 60px; border-radius: 50%; font-size: 24px; border: 0; background: rgb(255 255 255 / 18%); color: #fff; }
.cs-round:hover:not(:disabled) { background: rgb(255 255 255 / 28%); }
.cs-round.on { background: #fff; color: #111; }
.cs-round.danger { background: var(--red-solid); color: #fff; }
.cs-round.ok { background: var(--green); color: #fff; }
@media (max-width: 720px) {
  .cs-side { width: 100%; max-width: none; border-right: 0; }
  .cs-pane { display: none; }
  .cs-body.cs-chat-open .cs-side { display: none; }
  .cs-body.cs-chat-open .cs-pane { display: flex; }
  .cs-back { display: inline-block; }
  .cs-self { width: 110px; bottom: 120px; }
}
/* (owner 11-17: "MAKE CALLS, VIDEO, TEXT GREAT AGAIN make that bigger and more bold") */
.hero .eyebrow.great-again, .eyebrow.great-again { font-size: clamp(2.2rem, 9vw, 4.6rem); overflow-wrap: anywhere; font-weight: 900; line-height: 1.1; letter-spacing: .02em; margin: 0 0 10px; }
/* (owner 11-17: the quantum-safe line under it "bigger too please") */
.quantum-line { font-size: clamp(1.3rem, 3.8vw, 2rem); overflow-wrap: anywhere; font-weight: 700; line-height: 1.45; margin: 0 0 14px; }
.quantum-line .plan-tag { font-size: .8em; vertical-align: middle; }
/* (owner 11-17: "take up the whole box") The quantum news: one full-width box at the top of the home page, centered. */
.quantum-news { margin: 28px 0 0; padding: clamp(22px, 4vw, 44px) clamp(16px, 4vw, 48px); text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 50px rgb(0 0 0 / 30%); }
.quantum-news .eyebrow.great-again { font-size: clamp(1.5rem, 4.2vw, 2.8rem); }
.quantum-news .quantum-line { max-width: 980px; margin: 8px auto 0; }
/* (owner 11-17: a picture so people understand quantum) */
.quantum-pic { display: block; width: 100%; max-width: 720px; height: auto; margin: 22px auto 6px; }
.quantum-details { max-width: 980px; margin: 16px auto 0; text-align: left; background: var(--hover); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.quantum-details summary { cursor: pointer; font-weight: 600; }
.quantum-details ul { margin: 8px 0; padding-left: 20px; }
.quantum-details li { margin: 4px 0; }
.quantum-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; margin: 14px auto 0; text-align: left; }
.quantum-steps > div { background: var(--hover); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
@media (max-width: 720px) { .quantum-steps { grid-template-columns: 1fr; } }
/* (owner 11-17: "put the pictures on the empty sides of the website") On wide screens, faint pictures (lock, phone,
   shield, quantum chip) down the empty space left and right of the page. Never on phones (no room), never clickable,
   behind everything. The right side starts half a tile lower so the two sides don't mirror. */
@media (min-width: 1400px) {
  body::before, body::after { content: ""; position: fixed; top: 0; bottom: 0; width: calc((100vw - 1100px) / 2);
    background: url("/side-art.svg") center top / 120px auto repeat-y; opacity: .22; pointer-events: none; z-index: 0; }
  body::before { left: 0; }
  body::after { right: 0; background-position: center 330px; }
  main, footer { position: relative; z-index: 1; } /* (the sticky top bar already sits above, z-index 5) */
}
:root[data-theme="light"] body::before, :root[data-theme="light"] body::after { opacity: .35; }
/* (owner 11-17: "can it move") The side pictures drift slowly up; still for anyone who asked for less motion. */
@keyframes side-drift { from { background-position-y: 0; } to { background-position-y: -660px; } }
@keyframes side-drift-r { from { background-position-y: 330px; } to { background-position-y: -330px; } }
@media (min-width: 1400px) and (prefers-reduced-motion: no-preference) {
  body::before { animation: side-drift 60s linear infinite; }
  body::after { animation: side-drift-r 60s linear infinite; }
}
/* (owner 11-17: "put the 3 levels on the website") */
.layers { margin: 26px auto 0; max-width: 980px; text-align: left; }
.layers h3 { text-align: center; font-size: clamp(1.2rem, 3vw, 1.6rem); margin: 0 0 12px; }
.layers-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.layers-pic { width: 100%; height: auto; }
.layers-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.layers-list .layers-pq { list-style: none; margin-left: -22px; padding: 10px 12px; border: 1px solid var(--accent); border-radius: 12px; }
@media (max-width: 720px) { .layers-row { grid-template-columns: 1fr; } }

/* (owner 11-17) CelloCloud vs. Dropbox */
.compare { margin: 2.5rem auto; max-width: 980px; text-align: center; }
.compare h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 .3rem; }
.compare-wrap { overflow-x: auto; margin: 1.2rem 0 .6rem; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.compare table { width: 100%; border-collapse: collapse; text-align: left; min-width: 560px; }
.compare th, .compare td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 1.05rem; }
.compare thead th:nth-child(2) { color: var(--accent); }
.compare tbody th { font-weight: 700; width: 24%; }
.compare td.us { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.compare td.them { color: var(--dim); }
.compare .yes { color: var(--accent); font-weight: 800; }
/* (owner 11-17) Real app icons on the Downloads page */
.feature-icon .app-icon { display: block; width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
/* (owner 2026-11-18) /credits: Open source credits */
.credits dt { font-weight: 600; margin-top: 12px; }
.credits dd { margin: 2px 0 0; }
/* (2026-11-21, What's on → clipsend) Send to my devices: what came in from your other devices, and Settings' drop box */
.clip-cards { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 8px; width: min(380px, calc(100vw - 32px)); }
.clip-card { background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.clip-card-text { overflow-wrap: anywhere; margin-bottom: 6px; }
.clip-card-buttons { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.clip-drop { border: 2px dashed var(--line); border-radius: 12px; padding: 14px; text-align: center; color: var(--dim); margin: 8px 0; }
.clip-drop.over { border-color: var(--accent); color: var(--fg); }
/* (2026-11-25) Emergency contact (emergency.js) and PC folder sync (app.js): blue for what's set up, copper for an ask
   that's waiting, green once it's open, red only for saying no. */
.emergency-row { border-left: 3px solid var(--blue); margin: 8px 0; }
.emergency-asked { color: var(--orange); }
.emergency-open { color: var(--green); }
.banner.emergency-banner { background: var(--card); color: var(--fg); text-align: left; border-left: 3px solid var(--orange); }
.banner.emergency-banner button { margin-left: 6px; }
.emergency-folder { gap: 8px; align-items: center; }
.shield-code { letter-spacing: 2px; text-align: center; }
.emergency-files { max-height: 50vh; overflow-y: auto; }
.pc-sync { border-left: 3px solid var(--blue); margin: 8px 0; padding: 8px 12px; }
.pc-sync.paused { border-left-color: var(--orange); }
.pc-sync .sync-waiting { max-height: 160px; overflow-y: auto; margin: 4px 0; padding-left: 18px; }
.pc-sync-state { color: var(--green); }
.pc-sync.paused .pc-sync-state { color: var(--orange); }
:root[data-theme="light"] .emergency-open, :root[data-theme="light"] .pc-sync-state { color: var(--green); }
:root[data-theme="light"] .emergency-asked, :root[data-theme="light"] .pc-sync.paused .pc-sync-state { color: var(--orange); }
/* (2026-11-25, What's on → eventalbum) Event album: the QR code, and the guest's page */
img.qr.event-qr { width: 260px; max-width: 100%; }
.event-drop h1 { overflow-wrap: anywhere; }
.event-everyone { margin-top: 16px; }
.event-everyone h2 { font-size: 18px; margin: 0 0 8px; }

/* ---- (2026-11-26, owner: "Make the website look like inside the cellosig app") cellosig's shapes, in one place ----
   Its Material shapes (CelloLook/Theme.kt: 12 / 18 / 24 / 28 rounding), pill buttons, the bar melting into the page,
   raised cards with a soft shadow, grouped lists, and inputs on the raised colour. Looks only: nothing moves or changes. */
button, a.button { border-radius: 999px; padding: 9px 18px; font-weight: 600; }
button.icon { border-radius: 999px; }
button.primary, a.button.primary { box-shadow: 0 2px 10px color-mix(in srgb, var(--accent) 22%, transparent); }
button:focus-visible, a.button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
header.top { background: var(--bg); border-bottom-color: var(--line); }
.card { border-radius: 24px; box-shadow: 0 8px 28px var(--shadow); }
.modal .card { border-radius: 28px; }
.feature, .landing-plans .plan, .af-app { border-radius: 24px; box-shadow: 0 6px 22px var(--shadow); }
.plan { border-radius: 18px; }
.list, .space-group, .choose-bar, .space-footer { border-radius: 18px; }
.smap-row, .clip-card, .toast { border-radius: 16px; }
.item { padding: 10px 14px; }
input, textarea { border-radius: 14px; background: var(--card-2); }
.tab { border-radius: 999px; }
.tab.active { background: var(--orange-soft); color: var(--orange-ink); }
.plan-tag { background: var(--orange-soft); border-color: transparent; }
.note, .sec-row, .cant-preview .cant-kind { border-radius: 12px; }
.feature-icon .app-icon { border-radius: 14px; }

/* ---- (2026-11-26, owner: "The button — make it look like the clip box") The apps' download buttons as cellosig's clip
   box (ClipBox.kt): a rounded raised panel, three round tiles to a row, each a soft gradient circle in its own colour
   (lighter at the top, a faint ring) with its icon, the words under it; it squeezes a little when pressed. The same
   links and words as before (the icon only shows what the file is for: phone, computer, Linux, the box). */
.feature .stack, .af-get, .af-app .af-get {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-items: start;
  padding: 8px 10px; border-radius: 24px; background: var(--card-2);
  border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); box-shadow: 0 12px 32px var(--shadow);
}
.feature .stack > .button, .af-app .af-get > .button {
  --tint: var(--blue); position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-height: 104px; padding: 10px 4px; border: 0; border-radius: 18px; background: transparent; box-shadow: none;
  color: color-mix(in srgb, var(--fg) 92%, transparent); font-size: 13px; font-weight: 500; line-height: 15px; letter-spacing: .1px;
  text-align: center; text-decoration: none; overflow-wrap: anywhere; transition: transform .16s cubic-bezier(.3, 1.4, .6, 1), background .16s;
}
.feature .stack > .button::before, .af-app .af-get > .button::before {
  content: ""; flex: none; width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tint) 40%, transparent), color-mix(in srgb, var(--tint) 14%, transparent));
  border: 1px solid color-mix(in srgb, var(--tint) 28%, transparent); box-sizing: border-box;
}
.feature .stack > .button::after, .af-app .af-get > .button::after {
  content: ""; position: absolute; top: 24px; left: 50%; width: 26px; height: 26px; margin-left: -13px; background: var(--tint);
  -webkit-mask: var(--glyph, url("/icons/ui/download.svg")) center / contain no-repeat; mask: var(--glyph, url("/icons/ui/download.svg")) center / contain no-repeat;
}
:root[data-theme="light"] .feature .stack > .button::before, :root[data-theme="light"] .af-app .af-get > .button::before {
  background: linear-gradient(135deg, color-mix(in srgb, var(--tint) 28%, transparent), color-mix(in srgb, var(--tint) 10%, transparent));
  border-color: color-mix(in srgb, var(--tint) 20%, transparent);
}
.feature .stack > .button:hover, .af-app .af-get > .button:hover { background: color-mix(in srgb, var(--tint) 8%, transparent); }
.feature .stack > .button:active, .af-app .af-get > .button:active { transform: scale(.94); }
/* Each its own colour, as the clip box gives each choice one: the main one in the main blue, then the icon's orange, green. */
.feature .stack > .button:nth-child(3n+1), .af-app .af-get > .button:nth-child(3n+1) { --tint: var(--accent); }
.feature .stack > .button:nth-child(3n+2), .af-app .af-get > .button:nth-child(3n+2) { --tint: var(--orange); }
.feature .stack > .button:nth-child(3n), .af-app .af-get > .button:nth-child(3n) { --tint: var(--green); }
/* The main one: the same round tile (never the old filled button), marked by a brighter ring and a soft glow. */
.feature .stack > a.button.primary, .af-app .af-get > a.button.primary, .feature .stack > a.button.primary:hover, .af-app .af-get > a.button.primary:hover {
  --tint: var(--accent); color: var(--fg); font-weight: 600; background: transparent; border: 0; box-shadow: none; filter: none; }
.feature .stack > a.button.primary::before, .af-app .af-get > a.button.primary::before {
  border: 2px solid color-mix(in srgb, var(--tint) 70%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--tint) 35%, transparent); }
.feature .stack > a.button.primary:hover, .af-app .af-get > a.button.primary:hover { background: color-mix(in srgb, var(--tint) 8%, transparent); }
.feature .stack > [hidden], .af-app .af-get > [hidden] { display: none; } /* (a hidden one stays hidden) */
/* What each file is for. */
.button[href$=".apk"] { --glyph: url("/icons/ui/phone.svg"); }
.button[href$=".exe"], .button[href$=".msi"] { --glyph: url("/icons/ui/computer.svg"); }
.button[href$=".AppImage"], .button[href$=".deb"] { --glyph: url("/icons/ui/terminal.svg"); }
.button[href$=".tar.gz"] { --glyph: url("/icons/ui/box.svg"); }
.feature .stack > a.button:not([href^="/download/"]), .af-app .af-get > a.button:not([href^="/download/"]) { --glyph: url("/icons/ui/web.svg"); } /* (a page, not a file) */
/* Not out yet: the same tile, faint, with a dashed ring. */
.feature .stack > .button.soon, .af-app .af-get > .button.soon { --tint: var(--dim); color: var(--dim); }
.feature .stack > .button.soon::before, .af-app .af-get > .button.soon::before { border-style: dashed; background: transparent; }
@media (prefers-reduced-motion: reduce) { .feature .stack > .button, .af-app .af-get > .button { transition: none; } .feature .stack > .button:active, .af-app .af-get > .button:active { transform: none; } }

/* ---- (2026-11-26, owner: "More modern feel") A see-through bar that frosts what scrolls under it (solid where a
   browser can't), big bold headings, cards that lift a little under the pointer, and sections that rise in gently as
   they come into view (CSS only, no script; still for anyone who asked for less motion). Cards stay nearly solid, so
   the moving glows never make the page redraw blurs while scrolling. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header.top { background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
}
.feature, .landing-plans .plan, .af-app, .card { background: color-mix(in srgb, var(--card) 90%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--fg) 6%, transparent) inset, 0 10px 30px var(--shadow), 0 2px 6px var(--shadow); }
.modal .card { background: var(--card); } /* (a dialog stays solid: nothing behind it shows through its words) */
.feature, .af-app { transition: transform .18s cubic-bezier(.3, 1.4, .6, 1), border-color .18s; }
@media (hover: hover) { .feature:hover, .af-app:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); } }
.hero h1 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
.landing h2, .apps-page h1, .downloads h1 { font-size: clamp(28px, 6.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.feature h3 { font-size: 18px; letter-spacing: -0.01em; }
.landing section { margin-bottom: 80px; }
/* (only slides: never hidden, so a page saved, printed or previewed without scrolling still shows everything) */
@keyframes cello-rise { from { transform: translateY(22px) scale(.985); } to { transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .landing section, .features > .feature, .af-app { animation: cello-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}
@media (prefers-reduced-motion: reduce) { .feature, .af-app { transition: none; } .feature:hover, .af-app:hover { transform: none; } }
/* cellosig for PC (cellosig-pc.html) is cellosig's own page: cellosig's peach as its main and warm colour. */
:root:has(link[href="/cellosig-pc.css"]) { --accent: var(--cello-orange); --accent-fg: var(--cello-orange-fg); --orange: var(--cello-orange); --blue: #8eb0ff; --glow-3: var(--green); --glow-4: transparent; }
:root[data-theme="light"]:has(link[href="/cellosig-pc.css"]) { --blue: #2459d6; }

/* ---- (2026-11-26, owner: "Do half and half on the colour") CelloCloud's blue and its icon's orange share the page
   equally: the glows two and two, the clip-box tiles taking turns, buttons and links blue with the chosen and active
   things, small labels, numbers and tags orange, and a thin blue→orange line under the bar, as on the icon. Green and
   red stay for success and Delete/errors. */
:root { --glow-3: var(--blue); --glow-4: var(--orange); }
.hero .eyebrow, .included-apps .eyebrow, .plan-tag, .af-tag, .cant-preview .cant-kind, .cs-author { color: var(--orange-ink); }
.plan-tag { border-color: var(--orange); background: var(--orange-soft); }
.af-tag { background: var(--orange-soft); }
.step-n { background: var(--orange); color: var(--cello-icon-orange-fg); }
.plan.current, .included-apps .tier.best { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange) inset; }
.compare thead th:nth-child(2), .compare .yes { color: var(--orange-ink); }
input[type=checkbox][role=switch]:checked { background: var(--orange); }
.af-toc a:hover, a.feature-link:hover { border-color: var(--orange); }
header.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--blue), var(--orange)); opacity: .55; }
.features > .feature:nth-child(even):hover, .af-app:nth-child(even):hover { border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); }
/* (2026-11-28, What's on -> twoappfront, web/front.js) The small "cellosig | CelloCloud" toggle in the top bar: the page
   you're on lit up (cellosig blue, CelloCloud green), the other a tap away. Drawn only while the switch is on. */
.app-toggle { display: inline-flex; align-items: stretch; flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px; gap: 2px;
  background: color-mix(in srgb, var(--blue) 8%, var(--bg)); font-size: 13px; line-height: 1; }
.app-toggle a { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; text-decoration: none; color: var(--dim); font-weight: 600; margin: 0; }
.app-toggle a:hover { color: var(--fg); }
.app-toggle a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.app-toggle a.app-toggle-cellosig[aria-current="page"] { background: var(--blue); color: #08142e; }
.app-toggle a.app-toggle-cellocloud[aria-current="page"] { background: var(--green); color: #05241a; }
@media (max-width: 420px) { .app-toggle a { padding: 0 9px; font-size: 12px; } }
header.top .app-toggle { margin-left: 14px; }

/* (2026-11-28, twoappfront) cellosig.com/ signed out: two big cards first, cellosig (blue) and CelloCloud (green). */
.two-front { max-width: 980px; margin: 0 auto; padding: 40px 16px 56px; }
.two-front h1 { text-align: center; font-size: clamp(26px, 5vw, 40px); margin: 0 0 8px; }
.two-front .two-front-lead { text-align: center; color: var(--dim); margin: 0 0 30px; font-size: 18px; }
.two-front-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.two-front-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 26px; border-radius: 20px; text-decoration: none; color: var(--fg);
  border: 2px solid var(--blue); background: color-mix(in srgb, var(--blue) 12%, var(--card)); }
.two-front-card.cc { border-color: var(--green); background: color-mix(in srgb, var(--green) 12%, var(--card)); }
.two-front-card:hover { border-color: var(--orange); }
.two-front-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.two-front-card img { width: 64px; height: 64px; border-radius: 14px; }
.two-front-card h2 { margin: 0; font-size: 26px; }
.two-front-card p { margin: 0; color: var(--dim); font-size: 18px; }
.two-front-card .two-front-go { margin-top: auto; font-weight: 700; color: var(--blue); }
.two-front-card.cc .two-front-go { color: var(--green); }
.two-front .two-front-more { text-align: center; margin: 26px 0 0; color: var(--dim); }