/* getclarus.dev/app — loads AFTER /site.css, which carries the real tokens, nav,
   footer and gold button lifted from the landing page. Only the dashboard's own
   layer lives here.

   ⚠️ Never redefine :root here. This page looked like a different website
   because it had its own invented hex palette instead of the site's warm oklch.
   Everything below is built from site.css tokens — note the base hue is 80
   (warm), so a hand-written oklch(… 250) grey reads cold and off-brand. */

/* ⚠️ Reserve the scrollbar gutter. /privacy and /terms are long enough to
   scroll, this page often is not, so without this the viewport is ~15px wider
   here and every centred thing - including the header - sits a few pixels off
   from the other pages. */
html { scrollbar-gutter: stable; }

/* Sign-in is a short page, so push the footer to the bottom of the viewport
   instead of leaving it floating under the form. Hidden views collapse, so
   whichever of the two is showing takes the slack. */
body { min-height: 100vh; display: flex; flex-direction: column; }
#signin, #library { flex: 1 0 auto; }
footer { flex-shrink: 0; margin-top: 90px; }

/* ⚠️ The homepage styles a bare <section> at 140px vertical padding for its
   landing sections, and the sign-in screen is a <section>. Without this it
   opens a screen and a half down the page. */
section.signin { padding-top: 0; padding-bottom: 0; }

/* Wide enough for four tiles. The library is the content here — the old 880px
   was sized for a list of text rows. */
/* ⚠️ 1020, the width the design is drawn at, not 1180. At the wider value the
   grid stretched and the header, meter and empty state all sat further apart
   than the design shows — which is most of why the port read as a different
   page. The nav and footer keep their own wrap, so the chrome still lines up
   with every other page on the site. */
.page { max-width: 1020px; margin: 0 auto; padding: 72px 28px 20px; }

.eyebrow {
  font-family: "Geist Mono", ui-monospace, Consolas, monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--eyebrow); margin: 0 0 12px;
}
h1.title {
  font-size: clamp(30px, 4vw, 40px); font-weight: 600; letter-spacing: -0.035em;
  line-height: 1.1; margin: 0 0 26px;
}

/* ── Undo what the homepage's stylesheet imposes ─────────────────────────────
   site.css is index.html's <style> verbatim, so it brings the homepage's own
   marketing components with it. Several share names with this page's, and at
   equal specificity only the properties THIS file does not declare leak
   through. These are the ones that actually landed:

     .eyebrow    display:inline-block + margin-bottom: 18px
     .logo       drop-shadow glow    - fine in a hero, noisy at 24px in a footer
   ────────────────────────────────────────────────────────────────────────── */
.eyebrow { display: block; margin-bottom: 12px; }
/* The brand mark keeps its drop-shadow glow here exactly as it does on the
   homepage. This used to cancel it, which made /app the ONLY page whose
   lockup looked different - and a glowing icon beside the wordmark reads
   heavier, so it was misread as a font difference. Consistency wins. */

button { font-family: inherit; cursor: pointer; }
.link-btn { background: none; border: 0; color: var(--text-mut);
            font-size: 13.5px; text-decoration: underline; padding: 0; }
.link-btn:hover { color: var(--text); }

/* ── sign in ────────────────────────────────────────────────────────────── */
.signin { max-width: 420px; margin: 12vh auto 0; padding: 0 28px; }
.signin .mark-big { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; }
.signin .mark-big img { width: 34px; height: 34px; }
.signin .mark-big b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.signin h1 { font-size: 30px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.03em; }
.signin p.sub { color: var(--text-mut); font-size: 15px; margin: 0 0 26px; }
.field { margin-bottom: 14px; }
.signin input[type="email"], .signin input[type="text"] {
  height: 44px; width: 100%; padding: 0 14px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text); font-family: inherit; font-size: 14.5px; outline: none;
  transition: border-color .14s var(--ease);
}
.signin input:focus { border-color: var(--gold); }
.signin input::placeholder { color: var(--text-dim); }
.signin .btn-gold { width: 100%; justify-content: center; }
.code-input {
  letter-spacing: 0.42em; text-align: center; font-size: 19px !important;
  font-family: "Geist Mono", ui-monospace, Consolas, monospace !important;
  height: 52px !important;
}

/* ── the head: title on the left, storage readout on the right ───────────── */
/* Baseline-aligned so the meter sits ON the title's line rather than floating
   beside it, and it wraps to its own row before it would squeeze the headline. */
.head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px 44px; flex-wrap: wrap; margin-bottom: 26px;
}
.head-l { min-width: 0; }
.head-l .eyebrow { margin-bottom: 12px; }
.head-l .title { margin-bottom: 14px; }
.head-who { display: flex; align-items: center; gap: 12px;
            font-size: 13.5px; color: var(--text-mut); }
.head-dot { width: 3px; height: 3px; border-radius: 50%;
            background: var(--text-dim); flex: 0 0 auto; }

.meter {
  width: 250px; flex: 0 0 auto; padding: 18px 20px;
  border-radius: 14px; border: 1px solid var(--line);
  background: var(--panel);
}
/* :empty so a signed-in account with nothing shared does not leave a gap. */
.meter-sub { margin-top: 10px; font-size: 11.5px; color: var(--text-dim); }
.meter-sub:empty { display: none; }
.meter-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  font-size: 12px; margin-bottom: 12px;
  font-family: "Geist Mono", ui-monospace, Consolas, monospace;
  color: var(--text-soft); font-variant-numeric: tabular-nums;
}
.meter-plan { color: var(--text-dim); }
.track { height: 5px; border-radius: 3px; background: oklch(1 0 0 / 0.07); overflow: hidden; }
.fill { height: 100%; border-radius: 3px;
        background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
        box-shadow: 0 0 12px -2px var(--gold-soft); transition: width .35s var(--ease); }
.fill.tight { background: linear-gradient(90deg, oklch(0.60 0.14 50), var(--amber)); }

/* ── search ─────────────────────────────────────────────────────────────── */
.searchbar { position: relative; margin-bottom: 22px; }
.search-ic {
  position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%;
  width: 17px; height: 17px; color: var(--text-dim); pointer-events: none;
}
.search-ic svg { width: 100%; height: 100%; display: block; }
.searchbar input {
  height: 44px; width: 100%; padding: 0 16px 0 41px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  color: var(--text); font-family: inherit; font-size: 14px; outline: none;
  transition: border-color .14s var(--ease);
}
.searchbar input:focus { border-color: var(--gold); }
.searchbar input::placeholder { color: var(--text-dim); }

.empty { padding: 44px 4px; color: var(--text-mut); font-size: 14.5px; }

/* ── The no-uploads screen ────────────────────────────────────────────────────
   Ported from the Claude Design file, in site TOKENS. The design hardcodes hex
   and loads Inter from Google Fonts; both are deliberately not taken. A second
   external font origin is the latency self-hosting Geist removed, and an
   invented palette is how this page drifted off-brand once already.
   ⚠️ Only for a genuinely empty library. A search that matched nothing keeps the
   plain sentence — teaching someone how to upload is the wrong answer to
   "that word isn't in any of your captures". */
/* ⚠️ OPAQUE, and this exact value. It was a translucent white wash, so the
   page's dotted cursor-tracking texture showed straight through the panel — the
   design is one flat colour with nothing moving behind it. #120f0c is what the
   design's own rgba(235,220,190,.02) composites to over its #0d0b08 body, so
   this is the design's colour rather than a guess at it.
   ⚠️ position:relative because the arrow is a child of THIS box in the design,
   not of the art. */
.ec { position: relative; margin-top: 52px; padding: 72px 48px; border-radius: 18px;
      border: 1px dashed oklch(1 0 0 / 0.13); background: #120f0c;
      display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ⚠️ The site's default <kbd> is dark, and against a dark empty state it
   disappears. The design gives these keys a gold face, which is also what the
   homepage does for the shortcut it teaches - so this matches both. */
.ec .keys kbd { border-color: oklch(var(--gold-l) var(--gold-c) var(--gold-h) / 0.3);
                background: oklch(var(--gold-l) var(--gold-c) var(--gold-h) / 0.07);
                color: var(--gold); }
.ec .keys .plus { color: var(--text-dim); }

.ec-art { position: relative; width: 216px; height: 150px; }
.ec-card { position: absolute; border-radius: 12px; border: 1px solid var(--line);
           width: 150px; height: 104px; }
.ec-back  { left: 24px; top: 18px; background: oklch(1 0 0 / 0.03); transform: rotate(-5deg); }
.ec-front { left: 38px; top: 10px; background: oklch(0.16 0.008 84);
            border-color: oklch(1 0 0 / 0.14); transform: rotate(2.5deg);
            box-shadow: 0 14px 40px oklch(0 0 0 / 0.5); }

/* The three inert corner controls of a real capture card. */
.ec-dot { position: absolute; width: 18px; height: 18px; border-radius: 6px;
          border: 1px solid var(--line); background: oklch(1 0 0 / 0.04);
          display: flex; align-items: center; justify-content: center;
          color: var(--text-mut); }
.ec-dot svg { width: 7px; height: 7px; }
.ec-tl { left: 8px; top: 8px; }
.ec-tr { right: 8px; top: 8px; }
.ec-bl { left: 8px; bottom: 8px; }

.ec-acts { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
           display: flex; flex-direction: column; gap: 6px; align-items: center; }
.ec-copy { padding: 5px 16px; border-radius: 8px; font-size: 10.5px; font-weight: 700;
           color: oklch(0.18 0.04 84);
           background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
           box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.35); }
.ec-save { padding: 5px 16px; border-radius: 8px; font-size: 10.5px; font-weight: 600;
           color: var(--text-soft); border: 1px solid var(--line);
           background: oklch(1 0 0 / 0.04); }

/* The thing the copy is pointing at. */
.ec-cloud { position: absolute; right: 8px; bottom: 8px; width: 20px; height: 20px;
            border-radius: 6px; display: flex; align-items: center; justify-content: center;
            color: oklch(0.18 0.04 84);
            background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
            box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.35), 0 0 16px oklch(0.8 0.105 84 / 0.45); }
.ec-cloud svg { width: 11px; height: 8px; }

/* ⚠️ THE DESIGN'S OWN COORDINATES, not a position I worked out. The design has
   this svg at left:585 top:145 as a child of the empty-state box; mine had it
   pinned inside .ec-art next to the cloud button, which is why it read as far
   closer than the drawing. Left as drawn — if it looks wrong, the design is
   what to change. */
.ec-arrow { position: absolute; left: 585px; top: 145px; width: 55px; height: 39px;
            overflow: visible; color: var(--gold); }

.ec-h { margin: 14px 0 0; font-size: 19px; font-weight: 700; color: var(--text);
        letter-spacing: -0.012em; }
.ec-p { margin: 10px 0 0; font-size: 14px; line-height: 1.75; color: var(--text-mut);
        max-width: 44ch; text-wrap: pretty; }
.ec-p strong { color: var(--gold); font-weight: 600; }
.ec-hint { display: flex; align-items: center; gap: 10px; margin-top: 26px;
           font-size: 12px; color: var(--text-dim); flex-wrap: wrap;
           justify-content: center; }

/* ⚠️ The arrow points at art that only exists at full width. Below that it aims
   at nothing, so it goes rather than drifting across the card. */
@media (max-width: 560px) {
  .ec { padding: 48px 22px 44px; }
  .ec-arrow { display: none; }
}
.err { padding: 12px 16px; margin-bottom: 16px; color: var(--amber); font-size: 13.5px;
       background: var(--amber-faint); border: 1px solid var(--amber-soft);
       border-radius: var(--radius); }
.note { font-size: 13px; color: var(--text-dim); margin-top: 22px; }

/* ── the grid ───────────────────────────────────────────────────────────────
   ⚠️ Tiles, not rows. Every row on this page used to say the same three things
   — a date, a size, "Manage" — so nothing on screen told one upload from
   another. The pictures are real now: own-preview mints an owner-scoped signed
   URL and bumps NO counter, which is what share-view could never do. */
/* ⚠️ Tile size is set by the MINIMUM here, not by a fixed width: auto-fill packs
   as many columns as fit and 1fr shares the remainder, so this number is really
   "how many per row". At 212px the page fitted four and the cards read as
   oversized for what they are — a thumbnail and two short lines. 168px gives
   six across the 1124px content column, about a third smaller. */
/* ── section headings ───────────────────────────────────────────────────── */
/* Sets and Uploads each get their own labelled block. The count sits hard right
   so the two headings line their numbers up down the page. */
.sec {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin: 34px 0 15px;
}
.sec:first-child { margin-top: 6px; }
.sec-l {
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--eyebrow);
}
.sec-n {
  font-size: 11.5px; color: var(--text-dim); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(154px, 1fr));
}

.tile {
  /* ⚠️ The anchor for .t-actions. They must NOT live inside .t-box: that box
     keeps overflow:hidden to clip the picture to its radius, which also cut the
     ⋯ menu off a few rows down. */
  position: relative;
  display: flex; flex-direction: column; gap: 9px; padding: 0;
  background: none; border: 0; text-align: start; cursor: pointer;
  font-family: inherit; color: inherit;
}

/* A fixed 4:3 stage with the picture CONTAINED in it — same as the app's grid.
   Cropping to fill would hide exactly the corner of a screenshot you are
   scanning for. */
.t-box {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: var(--bg-chrome); border: 1px solid var(--line);
  transition: border-color .14s var(--ease), transform .14s var(--ease);
}
.tile:hover .t-box { border-color: var(--gold-soft); transform: translateY(-2px); }
.tile:focus-visible { outline: none; }
.tile:focus-visible .t-box { border-color: var(--gold); }
/* ⚠️ ABSOLUTELY POSITIONED, not width/height:100%. .t-box is a centred grid, so
   a percentage height resolves against a row that is itself sized by this
   image — circular, and Chrome falls back to the natural height. The picture
   then overflowed the box and was clipped at the top, with object-fit never
   getting a say. A LANDSCAPE shot hid it perfectly: its natural height came out
   shorter than the box, so it sat centred and looked correctly letterboxed.
   Only a PORTRAIT capture exposed it. inset:0 gives a definite box, so contain
   has something to contain. */
.t-box img { position: absolute; inset: 0; width: 100%; height: 100%;
             object-fit: contain; display: block; }
.tile.off .t-box img, .tile.off .t-folder { opacity: .38; }

.t-glyph { width: 34px; height: 34px; color: var(--text-dim); }
.t-glyph svg { width: 100%; height: 100%; display: block; }
/* While a preview is still being signed for. Deliberately the same box, so a
   tile does not resize under the cursor when the picture lands. */
.t-glyph.shim { opacity: .5; }

/* ⚠️ Fills the tile, like the app's set tile — the artwork is drawn on a 4:3
   artboard that deliberately bleeds to all four edges, and .t-box clips it to
   the radius. Shrinking and centring it (74% wide, auto height) is what made
   the web folder look like a different object from the app's. Absolute, not
   width/height:100%, for the same reason the images are: .t-box is a centred
   grid, so a percentage height would resolve against a row this element sizes. */
.t-folder { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* A recording gets a play badge rather than a frame — pulling a poster would
   mean downloading the video to draw a grid. */
.t-play {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  background: oklch(0 0 0 / 0.45); border: 1px solid oklch(1 0 0 / 0.22);
  backdrop-filter: blur(3px);
}
.t-play::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0; translate: 2px 0;
  border-left: 13px solid oklch(0.97 0 0 / 0.9);
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}

.t-tags { position: absolute; left: 7px; bottom: 7px; display: flex; gap: 4px; flex-wrap: wrap; }
.t-tag {
  height: 17px; display: inline-flex; align-items: center; padding: 0 6px;
  border-radius: 4px; font-size: 9.5px; font-weight: 600; letter-spacing: .04em;
  background: oklch(0 0 0 / 0.6); border: 1px solid oklch(1 0 0 / 0.14);
  color: oklch(0.88 0.005 80); backdrop-filter: blur(3px);
}
.t-tag.gold { color: var(--gold-bright); border-color: oklch(0.80 0.105 84 / 0.4); }
.t-tag.warn { color: var(--amber); border-color: var(--amber-soft); }

.t-cap { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 0 2px; }
/* ⚠️ Styled, not a bare <input>. A default field with a hard 1px border reads
   like a 2000s form dropped into the grid — it has to look like it belongs to
   the tile it replaces the title of. Same height and weight as the title, a
   soft inset well rather than an outline, and gold only while focused. */
.t-cap input[type="text"] {
  width: 100%; height: 24px; padding: 0 8px; margin: -2px 0;
  border-radius: 7px; box-sizing: border-box;
  background: oklch(1 0 0 / 0.055);
  border: 1px solid transparent;
  box-shadow: inset 0 1px 2px oklch(0 0 0 / 0.25);
  color: var(--text); font-size: 12.5px; font-weight: 500; font-family: inherit;
  letter-spacing: -0.01em; outline: none;
  transition: border-color .12s var(--ease), background .12s var(--ease);
}
.t-cap input[type="text"]:focus {
  background: oklch(1 0 0 / 0.08);
  border-color: var(--gold-soft);
}
.t-cap input[type="text"]::placeholder { color: var(--text-dim); }
.t-cap b {
  font-size: 12.5px; font-weight: 500; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.t-cap span { font-size: 11px; color: var(--text-dim); }
.tile.off .t-cap b { color: var(--text-mut); }

/* ── toolbar buttons ────────────────────────────────────────────────────────
   Same family as the desktop app's cloud panel. 28px tall, gold as the only
   accent, and FOCUS IS A BORDER SWAP — never a halo, which round a dark button
   reads as a stray edge whatever colour it is. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: 7px;
  font-size: 12px; font-weight: 600; font-family: inherit; line-height: 1;
  white-space: nowrap; cursor: pointer; text-decoration: none;
  background: linear-gradient(180deg, var(--surface-hi), var(--surface));
  border: 1px solid oklch(1 0 0 / 0.10);
  color: var(--text);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.05) inset, 0 1px 2px oklch(0 0 0 / 0.35);
}
.btn:hover:not(:disabled) { border-color: var(--line-hi); }
.btn:active:not(:disabled) {
  background: var(--bg-chrome);
  box-shadow: 0 2px 5px -2px oklch(0 0 0 / 0.6) inset;
}
.btn:focus-visible { outline: none; border-color: var(--gold); }
.btn:disabled {
  background: var(--panel); border-color: oklch(1 0 0 / 0.05);
  color: var(--text-dim); box-shadow: none; cursor: not-allowed;
}
/* Only for "Share again" — reviving a stopped link. */
.btn.gold {
  background: oklch(0.80 0.105 84 / 0.13); border-color: oklch(0.80 0.105 84 / 0.38);
  color: var(--gold-bright);
}
.btn.gold:hover:not(:disabled) { background: oklch(0.80 0.105 84 / 0.20); border-color: oklch(0.80 0.105 84 / 0.55); }
/* Only for "Delete from cloud" — the one that destroys the file. */
.btn.danger {
  background: oklch(0.74 0.15 50 / 0.10); border-color: var(--amber-soft);
  color: var(--amber);
}
.btn.danger:hover:not(:disabled) { background: oklch(0.74 0.15 50 / 0.17); border-color: oklch(0.74 0.15 50 / 0.5); }
/* The back control is an icon, so it gets a square box rather than a label's. */
.btn.ghosty { width: 28px; padding: 0; font-size: 14px; }

/* Segmented control — one choice, always exactly one live. */
.seg {
  display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px;
  background: oklch(0.115 0.004 80); border: 1px solid oklch(1 0 0 / 0.07);
  box-shadow: 0 2px 4px -2px oklch(0 0 0 / 0.5) inset;
}
.seg button {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 6px; border: 1px solid transparent; background: none;
  font-size: 12px; font-weight: 600; font-family: inherit; line-height: 1;
  color: var(--text-dim); cursor: pointer; white-space: nowrap;
}
.seg button:hover:not(.on) { color: var(--text-soft); background: oklch(1 0 0 / 0.05); }
.seg button:focus-visible { outline: none; border-color: var(--gold); }
.seg button.on {
  color: oklch(0.2 0.03 84);
  background: linear-gradient(180deg, oklch(0.85 0.105 88), oklch(0.70 0.105 80));
  box-shadow: 0 1px 0 oklch(1 0.03 95 / 0.35) inset, 0 1px 3px oklch(0 0 0 / 0.4);
}
.seg button.on:focus-visible { border-color: oklch(0.34 0.06 80); }

/* A set password, as a chip with its own ✕ — no separate clear button. */
.pwchip {
  display: inline-flex; align-items: center; gap: 7px; height: 24px;
  padding: 0 7px 0 9px; border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; letter-spacing: 1.5px;
  background: oklch(0.80 0.105 84 / 0.10); border: 1px solid oklch(0.80 0.105 84 / 0.32);
  color: var(--gold-bright);
}
.pwchip .pwx {
  width: 14px; height: 14px; flex: none; border-radius: 50%; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; line-height: 1; cursor: pointer;
  color: oklch(0.64 0.06 82); background: oklch(0.80 0.105 84 / 0.16); border: 0;
}
.pwchip .pwx:hover { color: var(--gold-bright); background: oklch(0.80 0.105 84 / 0.3); }

/* ── the two bands, same grammar as the app ─────────────────────────────────
   A header carrying the name and, hard right, the actions — then a bar carrying
   only the settings. This was six stacked label rows, which is why the screen
   looked nothing like the desktop panel. */
.panel {
  display: flex; flex-direction: column; margin-bottom: 22px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel);
  /* Inside a set the header carries the way out and the set's own controls, so
     it follows you down a long grid instead of being scrolled off.

     ⚠️ THE OFFSET DEPENDS ON THE SITE HEADER, AND THE SITE HEADER IS NOT
     STICKY — measured, not assumed. site.css:110 says `nav { position: sticky;
     top: 0 }`, but site.css:2419 (`nav, main, article, footer, .doc, .page,
     .signin { position: relative; z-index: 1 }`, the ambient-layer stacking fix)
     re-declares `position` on the SAME element at the SAME specificity, later in
     the file — so it wins and the header scrolls away like any other block.
     Computed on the real page: `relative@0px`, z-index 1, height 63px.

     So 14px is correct TODAY: there is no fixed chrome to clear. If the site
     header is ever made sticky again, this becomes 63px + this gap and nothing
     else needs to change. */
  position: sticky; top: var(--stick-top, 14px); z-index: 5;
  backdrop-filter: blur(12px);
}
.p-top {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 12px 14px; border-bottom: 1px solid oklch(1 0 0 / 0.055);
}
.p-space { flex: 1 1 auto; min-width: 0; }
.p-count {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; letter-spacing: .4px; color: var(--text-dim); white-space: nowrap;
}
.p-top input[type="text"] {
  width: 200px; height: 28px; padding: 0 10px; border-radius: 7px; font-weight: 500;
  background: oklch(1 0 0 / 0.055); border: 1px solid transparent;
  box-shadow: inset 0 1px 2px oklch(0 0 0 / 0.25);
  color: var(--text); font-size: 12.5px; font-family: inherit; outline: none;
  transition: border-color .12s var(--ease), background .12s var(--ease);
}
.p-top input[type="text"]:focus {
  background: oklch(1 0 0 / 0.08); border-color: var(--gold-soft);
}

.p-bar { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 12px 14px; }
.p-sep { width: 1px; height: 18px; background: oklch(1 0 0 / 0.08); }
.fld { display: inline-flex; align-items: center; gap: 8px; }
.fld .lbl { font-size: 11.5px; color: var(--text-dim); white-space: nowrap; }
.fld input[type="text"] {
  width: 150px; height: 28px; padding: 0 10px; border-radius: 7px;
  background: var(--bg-chrome); border: 1px solid oklch(1 0 0 / 0.09);
  color: var(--text); font-size: 12px; font-family: inherit; outline: none;
}
.fld input[type="text"]:focus { border-color: var(--gold); }
.p-meta { padding: 0 14px 12px; font-size: 11.5px; color: var(--text-dim); }

/* ── the viewer ─────────────────────────────────────────────────────────────
   One capture, as large as it fits, with the same chrome as the grid's panel.
   ⚠️ Fixed to the VIEWPORT, which is only true because #lb is a direct child of
   <body>: site.css lifts .card on hover with a transform, and a transformed
   ancestor becomes the containing block for a fixed element. */
#lb[hidden] { display: none; }
/* overflow:auto so a panel taller than the viewport scrolls instead of bleeding
   off both ends — which is what a phone does with a portrait capture. */
#lb { position: fixed; inset: 0; z-index: 90; overflow: auto;
      display: flex; align-items: center; justify-content: center; padding: 26px; }
/* ⚠️ FIXED, not absolute. Inside a scrolling container an absolute scrim only
   covers the first viewport, so scrolling a tall panel reveals the page under
   the rest of it. */
.lb-scrim { position: fixed; inset: 0; background: oklch(0.09 0.004 80 / 0.82);
            backdrop-filter: blur(6px); }
.lb-panel {
  /* ⚠️ Sized to the CONTENT, not forced to the full 1180px. A 137x104 capture
     in a full-width panel is a postage stamp adrift in a void — which is
     exactly how it looked. min-width keeps the header from wrapping. */
  position: relative; z-index: 1;
  width: auto; max-width: min(1180px, 100%); min-width: min(520px, 100%);
  display: flex; flex-direction: column;
  /* ⚠️ NOT overflow:hidden. The ⋯ menu lives inside this panel, and with a
     small capture the panel is shorter than the menu — hidden would clip the
     bottom of it, including Delete. Nothing here needs clipping: the stage sits
     between the header and the meta line, so it never meets a rounded corner. */
  overflow: visible;
  border-radius: var(--radius); border: 1px solid var(--line-hi);
  background: var(--panel); box-shadow: 0 30px 80px -20px oklch(0 0 0 / 0.7);
}
.lb-stage {
  position: relative; display: grid; place-items: center; padding: 18px;
  background: var(--bg-chrome);
}
/* ⚠️ Capped in VIEWPORT units, never a percentage of the stage. The stage is
   sized by this image, so a percentage height would resolve against a box this
   element defines — the same circularity that silently disabled object-fit on
   the tiles. And no upscaling: max-* only ever shrinks, so a small capture
   stays its own size rather than being blown up into a blurry wall. */
.lb-media { max-width: 100%; max-height: min(64vh, 700px); object-fit: contain; display: block; }
.lb-none { padding: 60px 20px; color: var(--text-mut); font-size: 14px; text-align: center; }

.lb-arrow {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; line-height: 1; padding-bottom: 3px;
  background: oklch(0 0 0 / 0.5); border: 1px solid oklch(1 0 0 / 0.14);
  color: var(--text); backdrop-filter: blur(4px);
}
.lb-arrow:hover { border-color: var(--gold-soft); color: var(--gold-bright); }
.lb-arrow:focus-visible { outline: none; border-color: var(--gold); }
.lb-arrow.l { left: 14px; }
.lb-arrow.r { right: 14px; }

@media (max-width: 620px) {
  .nav-links { display: none; }
  .page { padding: 40px 18px 20px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
  .sec { margin: 26px 0 12px; }
  /* The meter is a fixed 250px card; at this width it takes the whole row
     rather than leaving a ragged gap beside the headline. */
  .meter { width: 100%; }
  /* The sticky set header eats a third of a short screen. On a phone the grid
     matters more than keeping the controls in view. */
  .panel { position: static; backdrop-filter: none; }
  /* ⚠️ Forces the header to break BEFORE the actions. As a plain flex spacer it
     grew on the first line and shoved "Copy link" off the right edge, where
     overflow:hidden ate it — a button silently missing on every phone. */
  .p-space { flex-basis: 100%; height: 0; }
  /* ⚠️ The header wraps on a phone, so the ⋯ ends up near the LEFT edge — a
     right-anchored menu then runs off the screen. Anchor it left and let it
     shrink to the viewport instead. */
  .menu { min-width: min(312px, calc(100vw - 32px)); }
  #lb { padding: 0; align-items: flex-start; }
  .lb-panel { border-radius: 0; border: 0; }
  .lb-media { max-height: 46vh; }
}


/* ─── The ⋯ menu ────────────────────────────────────────────────────────────
   Everything that is not "copy the link" lives in here. Dropbox and Drive both
   keep expiry, password and permissions behind a Share button or a settings
   icon; this page used to put all of it on screen at once, which is what made
   it read as a cockpit instead of a library. */
.menu-wrap { position: relative; display: inline-flex; }
.menu.flip-left { left: auto; right: 0; }
/* Opens to the RIGHT of the button. `.flip-left` is added by the page only when
   that would run off the screen — a tile in the last column would otherwise
   push its menu past the viewport edge. */
.menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 20;
  /* Wide enough to hold the expiry control on ONE line. It is a single choice
     of four; splitting "30 days" onto its own row makes it read as a separate
     thing, which is exactly what a segmented control exists to prevent. */
  min-width: 312px; padding: 6px; display: flex; flex-direction: column; gap: 1px;
  /* ⚠️ A hard ceiling, independent of the JS placement. The menu sizes to its
     CONTENT (the expiry row is wide), so it can exceed its 264px minimum and
     the arithmetic that nudges it back on screen was working from the wrong
     width. This guarantees it fits the window whatever the content does. */
  max-width: calc(100vw - 16px);
  border-radius: 10px; border: 1px solid var(--line-hi);
  background: var(--surface); box-shadow: 0 18px 44px -12px oklch(0 0 0 / 0.66);
}
.menu-item {
  display: flex; align-items: center; width: 100%; height: 32px; padding: 0 10px;
  border: 0; border-radius: 7px; background: none; text-align: left;
  font-size: 13px; font-family: inherit; color: var(--text);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.menu-item:hover { background: oklch(1 0 0 / 0.07); }
.menu-item:focus-visible { outline: none; background: oklch(1 0 0 / 0.09); }
.menu-item.gold { color: var(--gold-bright); }
.menu-item.danger { color: var(--amber); }
.menu-item.danger:hover { background: oklch(0.74 0.15 50 / 0.14); }
.menu-sep { height: 1px; margin: 5px 4px; background: oklch(1 0 0 / 0.08); }
/* The two link settings, as compact rows rather than a permanent band. */
.menu-set { padding: 5px 10px 7px; }
/* ⚠️ The controls FILL the row. Left at their natural width they sat short of
   the edge with dead space after them, which is what made the menu read as
   cramped-yet-empty at the same time. */
.menu-set .fld { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.menu-set .seg { flex: 1; }
.menu-set .seg button { flex: 1; justify-content: center; }
.menu-set input[type="text"] { flex: 1; width: auto; min-width: 0; }
/* ⚠️ Never split the segmented control itself. Letting it wrap was a "safety"
   for narrow screens and it produced the worse outcome — one option orphaned
   on a second line. The menu is sized to fit it instead, and on a genuinely
   tiny screen the LABEL moves above it (below) rather than the control break. */
.menu-set .seg { flex-wrap: nowrap; }
.menu-set .lbl { font-size: 11.5px; color: var(--text-dim); min-width: 58px; }

.menu-hint { margin: 5px 10px 4px; font-size: 11.5px; line-height: 1.5; color: var(--text-dim); }

/* The name reads as a title until you choose Rename. */
.p-name { font-size: 13px; font-weight: 600; color: var(--text); }

/* Every tile carries the SAME pair as a header: Copy link, and ⋯ for the rest.
   Always visible, not hover-only — hover-only hides them on touch entirely, and
   made the grid and the open item behave differently for no reason. */
.t-actions { position: absolute; top: 7px; right: 7px; z-index: 3;
             display: inline-flex; align-items: center; gap: 4px; }
/* Sized against the TILE, not against a header button. At ~174px wide, a 24px
   chip reading "Copy link" plus the ⋯ took well over half the tile's width and
   the controls read louder than the picture they sit on. */
.t-btn {
  height: 21px; padding: 0 7px; border-radius: 5px;
  font-size: 10px; font-weight: 600; font-family: inherit; line-height: 1;
  cursor: pointer; white-space: nowrap;
  background: oklch(0 0 0 / 0.62); border: 1px solid oklch(1 0 0 / 0.16);
  color: oklch(0.95 0.005 80); backdrop-filter: blur(4px);
  transition: border-color .12s var(--ease), color .12s var(--ease);
}
.t-btn:hover { border-color: var(--gold-soft); color: var(--gold-bright); }
.t-btn:focus-visible { outline: none; border-color: var(--gold); }
.t-more { width: 22px; padding: 0; display: inline-flex;
          align-items: center; justify-content: center; font-size: 12px; }

/* ⚠️ A tile with its menu open has to sit ABOVE its neighbours. Grid items
   paint in DOM order, so without this the menu is covered by every tile after
   it — visible on the first row, hidden on the last. */
.tile.is-menu { position: relative; z-index: 40; }

/* .t-box is the clickable surface now that the tile itself is a div. */
.t-box { cursor: pointer; }
.t-box:focus-visible { outline: none; border-color: var(--gold); }

/* ─── Narrow screens, continued ──────────────────────────────────────────────
   ⚠️ AT THE END OF THE FILE ON PURPOSE. These were inside the @media block
   further up, which sits BEFORE the base `.menu-set .fld` rule — same
   specificity, so the later base rule simply won and the override did nothing
   at any width. Media queries add no specificity; only order breaks the tie. */
@media (max-width: 620px) {
  /* Too narrow for label-beside-control: stack them, so the segmented control
     keeps its single line and no option is orphaned. flex-start, not stretch —
     stretched children centred their own contents, which read as accidental. */
  .menu-set .fld { flex-direction: column; align-items: flex-start; gap: 6px; }
  .menu-set .lbl { min-width: 0; }
  .menu-set input[type="text"] { width: 100%; }
}

/* ── Sign-up consent ────────────────────────────────────────────────────────
   ⚠️ The checkbox is REQUIRED and the button is disabled until it is ticked.
   Both links open in a new tab so reading the terms cannot lose a typed email. */
/* ⚠️⚠️ THIS RULE IS WHY THE CONSENT CHECKBOXES SHOWED ON THE SIGN-IN SCREEN.
   The script does set `$("consent").hidden = !signup`, but the `hidden`
   attribute works through the UA rule `[hidden] { display: none }`, which has
   ZERO specificity — any author `display` beats it, and an ID selector beats it
   comfortably. So `hidden` was inert and the Terms/notify checkboxes rendered
   under "Sign in to Clarus", where there is nothing to consent TO.
   The guard below restores the attribute's meaning for every element on the
   page, not just this one; `!important` is safe here because an element marked
   hidden should never render, whatever else claims otherwise. */
[hidden] { display: none !important; }

#consent { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 18px; text-align: left; }
.cbx { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.cbx input { margin: 2px 0 0; width: 15px; height: 15px; accent-color: var(--gold); flex: none; cursor: pointer; }
.cbx span { font-size: 12.5px; line-height: 1.5; color: var(--text-mut); }
.cbx a { color: var(--gold); }
.btn-gold[disabled] { opacity: .45; cursor: not-allowed; }
.swap { margin-top: 16px; }
.swap button { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px;
  font-weight: 550; color: var(--gold); cursor: pointer; }
.swap button:hover { text-decoration: underline; }

/* ── copy confirmation ───────────────────────────────────────────────────── */
/* ⚠️ No `hidden` attribute drives this. The attribute has zero specificity, so
   the display:flex it needs would silently defeat it — the same trap that has
   bitten this codebase before. Visibility is opacity + pointer-events, which
   also buys the fade for free. */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200;
  display: flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--gold-soft); background: oklch(0.125 0.008 80 / 0.94);
  backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 500; color: var(--text);
  box-shadow: 0 8px 30px -8px oklch(0 0 0 / 0.7);
  opacity: 0; pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.toast.in { opacity: 1; transform: translate(-50%, 0); }
/* The frosted panel leans on the blur to separate it from whatever it covers.
   Without backdrop-filter a 0.94 alpha still lets footer links read through it,
   so go opaque there rather than ship an unreadable confirmation. */
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .toast { background: oklch(0.125 0.008 80); }
}
.toast-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }

/* ── tile controls: revealed on hover, but ONLY where hover exists ────────── */
/* ⚠️ The design fades these in on :hover alone. That was tried and rejected
   here: hover-only controls DO NOT EXIST on a touch screen, so Copy link and ⋯
   became unreachable on a phone — the reason they were made permanently visible
   in the first place. The gate is `hover: hover` + `pointer: fine`, so a mouse
   gets the quieter design and a finger keeps the controls. Anything that cannot
   hover falls through to the default below, which is visible. */
@media (hover: hover) and (pointer: fine) {
  .t-actions { opacity: 0; transition: opacity .16s var(--ease); }
  .tile:hover .t-actions,
  .tile:focus-within .t-actions,
  .tile.is-menu .t-actions { opacity: 1; }
}


/* ── a set tile is the folder, not a framed picture ──────────────────────── */
/* In the design the folder sits directly on the page: no border, no fill, no
   frame. A screenshot needs the box — it is a picture of unknown content and
   the frame is what separates it from the page — but the folder is artwork with
   its own silhouette, and boxing it made the blue tab collide with the border.
   The lift and the focus ring stay, so it is still obviously a target. */
.tile.set .t-box,
.tile.set:hover .t-box { background: transparent; border-color: transparent; }
.tile.set:focus-visible .t-box { border-color: var(--gold); }
/* The artwork's own 2/88 viewBox margin is about 4px at this size — too tight
   once the frame is gone, since nothing else holds it off its neighbours. */
.tile.set .t-folder { padding: 4%; box-sizing: border-box; }

/* ── the name is the rename control ──────────────────────────────────────── */
/* It has to LOOK like it does something, or a click target with no affordance
   is just a secret. A dotted underline says "editable text" without turning the
   caption into a link — a solid underline in a grid of captions reads as
   navigation, which this is not. */
.p-name {
  /* pointer, not text: a caret cursor promises you can click into the words and
     place an insertion point, which you cannot — one click swaps the whole thing
     for a field. */
  cursor: pointer;
  text-decoration: underline dotted transparent;
  text-underline-offset: 3px;
  border-radius: 3px;
  transition: text-decoration-color .12s var(--ease), color .12s var(--ease);
}
.p-name:hover { text-decoration-color: var(--text-dim); }
.p-name:focus-visible {
  outline: none;
  text-decoration-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-soft);
}


/* ══ PIXEL-EXACT REBUILD FROM THE CLAUDE DESIGN REFERENCE ═══════════════════
   Every value below is copied verbatim from "Clarus Cloud.dc.html". Nothing is
   substituted for a site token.

   ⚠️⚠️ THIS DELIBERATELY BREAKS THIS FILE'S OWN OPENING RULE - "Never redefine
   :root here... this page looked like a different website because it had its
   own invented hex palette" - and the reason Geist is self-hosted. Done on the
   owner's explicit instruction after several token-mapped ports that did not
   match the drawing. These are the DESIGN's hex rather than invented ones, but
   the coupling is the same: a token change no longer reaches this page.
   REVERT: git checkout design-before-exact-rebuild -- app/index.html app/app.css
   ═══════════════════════════════════════════════════════════════════════ */
body { background-color: #0d0b08;
  background-image: radial-gradient(1000px 480px at 50% -140px, rgba(215,169,85,.07), transparent 70%);
  background-repeat: no-repeat; color: #b7b1a7;
  font-family: 'Inter','Segoe UI',Helvetica,Arial,sans-serif;
  -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
::selection { background: rgba(215,169,85,.3); }
input::placeholder { color: #6e685f; }

.page { max-width: 1320px; margin: 0 auto; padding: 88px 56px 140px; }

/* the header row */
.head { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 48px; flex-wrap: wrap; margin-bottom: 0; }
.head-l .eyebrow { font-family: 'Inter','Segoe UI',sans-serif; font-size: 12.5px;
  letter-spacing: .22em; color: #d7a955; font-weight: 600; margin: 0 0 24px;
  text-transform: uppercase; }
.head-l .title { margin: 0 0 18px; font-size: 60px; line-height: 1.05;
  letter-spacing: -0.022em; color: #f6f3ee; font-weight: 800; }
.head-who { display: flex; align-items: center; gap: 14px; font-size: 15px;
  color: #8d877d; }
.head-dot { width: 3px; height: 3px; border-radius: 50%; background: #544f47;
  flex: 0 0 auto; }
.head-who .link-btn { font-size: 14px; font-weight: 500; text-decoration: none;
  color: #d7a955; }
.head-who .link-btn:hover { color: #ecc271; }

/* the storage readout */
.meter { width: 290px; padding: 22px 24px; border-radius: 14px;
  border: 1px solid rgba(235,220,190,.09); background: rgba(235,220,190,.03);
  flex: 0 0 auto; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px; font-family: 'Inter','Segoe UI',sans-serif;
  font-size: 14px; font-weight: 600; color: #f3f0ea; gap: 12px; }
.meter-plan { font-size: 13px; color: #6e685f; font-weight: 400; }
.track { height: 5px; border-radius: 99px; background: rgba(235,220,190,.08);
  overflow: hidden; }
.fill { height: 100%; border-radius: 99px;
  background: linear-gradient(90deg,#c69544,#f2c877); box-shadow: none; }
.fill.tight { background: linear-gradient(90deg,#c69544,#f2c877); }
.meter-sub { margin-top: 11px; font-size: 12.5px; color: #6e685f; }

/* search */
.searchbar { position: relative; margin: 36px 0 0; }
.search-ic { position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: #6e685f;
  /* ⚠️ NO `inset-inline-start` here. It and `left` are separate properties for
     the same side and the LATER one wins, so an `auto` after `left: 20px` sent
     the icon back to its static position (computed left: 0px) - flush against
     the field's edge. ⚠️ And `translate: none` cancels the superseded block's
     `translate: 0 -50%`, which COMPOSES with `transform` rather than being
     replaced by it, centring the icon twice (-16px, measured 8px too high). */
  translate: none; }
.searchbar input { width: 100%; height: auto; box-sizing: border-box;
  padding: 15px 20px 15px 48px; border-radius: 12px;
  border: 1px solid rgba(235,220,190,.12); background: rgba(235,220,190,.03);
  color: #f3f0ea; font-size: 15.5px; font-family: inherit; outline: none;
  transition: border-color .2s; }
.searchbar input:focus { border-color: rgba(215,169,85,.55); }

/* the empty state */
.ec { margin-top: 56px; border-radius: 18px;
  border: 1px dashed rgba(235,220,190,.18);
  /* ⚠️ SOLID, where the design says `rgba(235,220,190,.02)`. The design's page
     is a flat #0d0b08, so that 2% composites to exactly this hex; our page has
     `.page-ambient` behind the content (a cursor-warmed 22px dot grid at
     z-index 0), and the translucent fill let the dots through. This is what the
     drawing LOOKS like - the literal copy was the unfaithful one. */
  background: #110f0c;
  padding: 84px 56px; display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; }
/* ⚠️ 216x150 is the design's size and stays the LAYOUT box; the drawing is
   painted 1.187x larger so it keeps the design's proportion to its box, which
   is what the eye actually compares. The box went 924 -> 1096 wide, so the same
   216px covered 19.7% of it instead of 23.4%: 1096 * 0.234 / 216 = 1.187.
   ONE transform rather than a dozen rescaled offsets, so the card rotations,
   the button stack and the arrow at 183/73 all keep their exact relationships -
   same primitive, and same reason, as the homepage's .stage-scale.
   The 14px margins reserve the overflow (150 * 0.187 / 2), which keeps the
   84px padding above and the heading's 8px gap below unchanged. */
.ec-art { position: relative; width: 216px; height: 150px;
  transform: scale(1.187); margin: 14px 0; }
.ec-back { position: absolute; left: 24px; top: 18px; width: 150px; height: 104px;
  border-radius: 12px; border: 1px solid rgba(235,220,190,.1);
  background: rgba(235,220,190,.03); transform: rotate(-5deg); }
.ec-front { position: absolute; left: 38px; top: 10px; width: 150px; height: 104px;
  border-radius: 12px; border: 1px solid rgba(235,220,190,.14); background: #161310;
  box-shadow: 0 14px 40px rgba(0,0,0,.5); transform: rotate(2.5deg); }
.ec-dot { position: absolute; width: 18px; height: 18px; border-radius: 6px;
  border: 1px solid rgba(235,220,190,.12); background: rgba(235,220,190,.04);
  display: flex; align-items: center; justify-content: center; color: #8d877d; }
.ec-dot svg { width: 7px; height: 7px; }
.ec-tl { left: 8px; top: 8px; }
.ec-tr { right: 8px; top: 8px; }
.ec-bl { left: 8px; bottom: 8px; }
.ec-acts { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; gap: 6px; align-items: center; }
.ec-copy { padding: 5px 16px; border-radius: 8px;
  background: linear-gradient(180deg,#f2c877,#c69544); color: #241905;
  font-size: 10.5px; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.ec-save { padding: 5px 16px; border-radius: 8px;
  border: 1px solid rgba(235,220,190,.16); background: rgba(235,220,190,.04);
  color: #cfc9bf; font-size: 10.5px; font-weight: 600; }
.ec-cloud { position: absolute; right: 8px; bottom: 8px; display: flex;
  align-items: center; justify-content: center; width: 20px; height: 20px;
  border-radius: 6px; background: linear-gradient(180deg,#f2c877,#c69544);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 16px rgba(215,169,85,.45);
  color: #241905; }
.ec-cloud svg { width: 11px; height: 8px; }
/* the art is the only stable frame for this - see the note above */
/* Converted from the design's `left: 585px; top: 145px` (which is against .ec,
   a different width here) into .ec-art's frame, where the artwork is 216x150 in
   both: 585 - 402 = 183, 145 - 72 = 73. Anchored to .ec-art on purpose - against
   .ec it drifts with the page width. Owner: "put it as is from claude design". */
.ec-arrow { position: absolute; left: 183px; top: 73px; width: 55px; height: 39px;
  overflow: visible; color: #d7a955; }
.ec-h { margin: 10px 0 0; font-size: 22px; font-weight: 700; color: #f3f0ea;
  letter-spacing: -0.012em; }
.ec-p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.75; color: #8d877d;
  max-width: 44ch; text-wrap: pretty; }
.ec-p strong { color: #d7a955; font-weight: 600; }
.ec-hint { display: flex; align-items: center; gap: 10px; margin-top: 28px;
  font-size: 13px; color: #6e685f; flex-wrap: wrap; justify-content: center; }
.ec .keys { display: flex; gap: 5px; }
.ec .keys kbd { padding: 4px 9px; border-radius: 6px;
  border: 1px solid rgba(215,169,85,.3); background: rgba(215,169,85,.07);
  font-family: ui-monospace,Consolas,monospace; font-size: 12px; color: #d7a955;
  box-shadow: none; }
/* ⚠️ The reference has no "+" between the keys - three bare keycaps in a row.
   "Do not add separators that are not in the markup." */
.ec .keys .plus { display: none; }

@media (max-width: 560px) {
  .page { padding: 56px 24px 90px; }
  .ec { padding: 48px 22px; }
  .ec-arrow { display: none; }
}
