/* tidepage (hosted) — the SPA shell (auth + dashboard).
   Built on the shared design system: editor.css supplies tokens, fonts, base
   styles, `.btn`/`.btn--primary`/`.btn--secondary`, `.badge` and `.avatar`.
   This file layers the auth + dashboard screens on top, on-brand. The editor
   view is a separate page that reuses the desktop chrome wholesale. */

body { background: var(--surface-page); }
#root { min-height: 100vh; display: flex; flex-direction: column; }

/* Brand lockup: line-only horizon mark + serif wordmark (Newsreader 300,
   first e mirrored), per brand/BRAND_BRIEF.md. */
.brand { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-weight: var(--wordmark-weight, 300); font-size: var(--text-xl); letter-spacing: var(--wordmark-tracking, -0.01em); color: var(--text-primary); cursor: pointer; line-height: 1; }
.brand .mark { width: 24px; height: 24px; flex: none; }
.brand .mark svg { width: 100%; height: 100%; display: block; }
.brand .flip-e { display: inline-block; transform: scaleX(-1); }
.brand--lg { font-size: var(--text-2xl, 28px); }
.brand--lg .mark { width: 34px; height: 34px; }

.btn--ghost { --_bg: transparent; --_fg: var(--text-secondary); --_bd: transparent; }
.btn--ghost:hover { --_bg: var(--surface-hover); --_fg: var(--text-primary); }

/* ── auth ─────────────────────────────────────────────────────────────── */
/* Two-pane sign-in: a brand/product panel beside the form. Collapses to the
   form alone on narrow screens. */
.authpage { flex: 1; min-height: 100vh; display: grid; place-items: center; padding: clamp(20px, 4vw, 48px); background: radial-gradient(115% 115% at 0% 0%, var(--accent-subtle), transparent 52%), var(--surface-inset); }
/* The bounded two-pane card keeps content centred instead of stranded on wide screens. */
.authshell { width: 100%; max-width: 940px; display: grid; grid-template-columns: 1.04fr 0.96fr; align-items: stretch; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.authpage__main { display: grid; place-items: center; padding: clamp(28px, 4vw, 52px); }

.authbrand { display: flex; flex-direction: column; justify-content: center; gap: var(--space-5); padding: clamp(28px, 4vw, 52px); background: var(--accent-subtle); border-right: 1px solid var(--border-subtle); }
.authbrand > * { width: 100%; }
.authbrand__headline { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.3vw, 33px); line-height: 1.08; letter-spacing: -0.03em; margin: 0; max-width: 15ch; }
.authbrand__accent { color: var(--accent); }
.authbrand__sub { font-size: var(--text-md); line-height: 1.55; color: var(--text-secondary); margin: 0; max-width: 44ch; }
.authbrand__points { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.authbrand__points li { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 500; color: var(--text-secondary); }
.authbrand__pt-ic { display: inline-flex; color: var(--accent); }
.authbrand__pt-ic svg { width: 16px; height: 16px; display: block; }

/* Compact product preview inside the brand panel. */
.authmock { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; max-width: 100%; }
.authmock__bar { display: flex; align-items: center; gap: var(--space-2); padding: 10px 12px; border-bottom: 1px solid var(--border-subtle); }
.authmock__mark { width: 16px; height: 16px; flex: none; }
.authmock__mark svg { width: 100%; height: 100%; display: block; }
.authmock__name { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 500; color: var(--text-primary); }
.authmock__chip { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--accent-text); background: var(--accent-subtle); border: 1px solid var(--accent-border); border-radius: var(--radius-full); padding: 2px 7px; }
.authmock__chip svg { width: 12px; height: 12px; display: block; }
.authmock__body { padding: var(--space-4); background: var(--surface-inset); }
.authmock__sel { display: inline-block; margin-bottom: var(--space-4); }
.authmock__h { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.authmock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.authmock__kpi { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); }
.authmock__kpi span { font-size: 10px; color: var(--text-muted); }
.authmock__kpi strong { font-family: var(--font-display); font-size: var(--text-md); font-weight: 600; color: var(--text-primary); letter-spacing: -0.01em; }
.authmock__kpi--sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.authmock__pin { position: absolute; top: -7px; right: -7px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; box-shadow: var(--shadow-sm); }

.auth { width: 100%; max-width: 340px; margin: auto; display: flex; flex-direction: column; gap: var(--space-5); }
.auth .brand--lg { margin-bottom: var(--space-1); }
.auth__brand { display: none; }  /* shown only when the brand panel is hidden (mobile) */

@media (max-width: 820px) {
  .authshell { grid-template-columns: 1fr; max-width: 400px; }
  .authbrand { display: none; }
  .auth__brand { display: inline-flex; }
}
/* The shell is the card, so the form itself stays flat (no double border/shadow). */
.auth__form { width: 100%; display: flex; flex-direction: column; gap: var(--space-3); }
.auth__title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); letter-spacing: -0.02em; margin: 0 0 var(--space-1); }
.auth__err { color: var(--danger-fg); font-size: var(--text-sm); min-height: 0; }
.auth__err:not(:empty) { min-height: 18px; }
.auth__alt { font-size: var(--text-sm); color: var(--text-muted); margin: var(--space-1) 0 0; }
.auth__alt a { color: var(--text-link); font-weight: 500; text-decoration: none; }
.auth__alt a:hover { text-decoration: underline; }
.auth__form .btn--primary { margin-top: var(--space-1); height: var(--control-md); }

.field { display: flex; flex-direction: column; gap: 5px; font-size: var(--text-xs); color: var(--text-muted); }
.field input { font-family: var(--font-sans); font-size: var(--text-base); color: var(--text-primary); padding: 9px 11px; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-inset); transition: var(--transition-colors); }
.field input::placeholder { color: var(--text-faint); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); background: var(--surface-card); }
.auth__show { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-muted); cursor: pointer; user-select: none; margin-top: -2px; }
.auth__show input { accent-color: var(--accent); cursor: pointer; }

/* ── topbar ───────────────────────────────────────────────────────────── */
.topbar { display: flex; align-items: center; justify-content: space-between; height: var(--toolbar-height); padding: 0 var(--space-5); background: color-mix(in srgb, var(--surface-card) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-subtle); position: sticky; top: 0; z-index: 20; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: var(--space-3); }
.wsname { color: var(--text-muted); font-size: var(--text-sm); padding-left: var(--space-3); border-left: 1px solid var(--border-subtle); }
.wsel { font: inherit; font-size: var(--text-sm); padding: 5px 8px; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-card); color: var(--text-primary); }
.who { color: var(--text-secondary); font-size: var(--text-sm); }

/* ── dashboard ────────────────────────────────────────────────────────── */
.dash { width: 100%; max-width: 1080px; min-height: calc(100vh - var(--toolbar-height)); margin: 0 auto; padding: var(--space-6) var(--space-6) calc(var(--space-6) * 3); border-radius: var(--radius-xl); transition: var(--transition-colors); }
/* The whole workspace is the drop zone — invite the drop while dragging over. */
.dash.is-drop { outline: 2px dashed var(--accent); outline-offset: -10px; background: var(--accent-subtle); }
.dash__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); margin-bottom: var(--space-6); }
.dash__eyebrow { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--text-muted); margin: 0 0 6px; }
.dash__head h1 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); letter-spacing: -0.02em; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: var(--space-4); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: var(--transition-colors), transform var(--dur-fast) var(--ease-out); }
.card:hover { border-color: var(--accent-border); box-shadow: var(--shadow-md); }
.card:active { transform: translateY(1px); }
.card__thumb { position: relative; height: 132px; overflow: hidden; background: var(--surface-inset); color: var(--text-faint); }

/* Signature: card wave-top — the white body rises into the preview along a
   wavy waterline (BRAND_BRIEF signatures). A teal edge marks open review. */
.card__wave { display: block; width: 100%; height: 13px; margin-top: -13px; position: relative; z-index: 1; pointer-events: none; }
.card__wave > path:first-child { fill: var(--surface-card); }
.card__wave-edge { fill: none; stroke: var(--accent); stroke-width: 1.4; }
[data-theme="dark"] .card__wave-edge { stroke: var(--tide-bright); }
.card__thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.card__thumb svg { width: 34px; height: 34px; }
/* The thumbnail: a headless render of the artifact, painted over the fallback
   glyph once it loads. Top-anchored cover so the document's head reads. */
.card__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: #fff; opacity: 0; transition: opacity var(--dur-base) var(--ease-out); }
.card__thumb.is-loaded .card__preview { opacity: 1; }
.card__body { display: flex; flex-direction: column; gap: 5px; padding: var(--space-3) var(--space-4) var(--space-4); }
.card__title { font-weight: var(--weight-semibold); font-size: var(--text-md); color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__meta { color: var(--text-muted); font-size: var(--text-sm); }
/* Inline rename field — mirrors the title's footprint so the tile doesn't jump. */
.card__title-input { width: 100%; font-family: inherit; font-weight: var(--weight-semibold); font-size: var(--text-md); color: var(--text-primary); background: var(--surface-card); border: 1px solid var(--accent-border); border-radius: var(--radius-sm); padding: 1px var(--space-1); outline: none; box-shadow: var(--ring); }
.card__actions { position: absolute; top: var(--space-2); right: var(--space-2); display: flex; gap: var(--space-1); opacity: 0; transition: opacity var(--dur-fast) var(--ease-standard); }
.card:hover .card__actions, .card:focus-within .card__actions { opacity: 1; }
.card__action { display: grid; place-items: center; width: 26px; height: 26px; border: none; background: color-mix(in srgb, var(--surface-card) 80%, transparent); color: var(--text-muted); cursor: pointer; border-radius: var(--radius-md); transition: var(--transition-colors); }
.card__action:hover { background: var(--surface-hover); color: var(--text-primary); }
.card__action--danger:hover { background: var(--danger-bg); color: var(--danger-fg); }

.empty { grid-column: 1 / -1; text-align: center; color: var(--text-muted); padding: var(--space-6) var(--space-4); }
.empty__sub { font-size: var(--text-sm); max-width: 44ch; margin: 6px auto 0; }

/* ── blog (public articles, reusing the workspace look) ──────────────────── */
.blog__sub { max-width: 62ch; margin: 10px 0 0; color: var(--text-secondary); font-size: var(--text-md); line-height: 1.55; }
.blog__filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-5); }
.bchip { font-family: inherit; font-size: var(--text-sm); font-weight: 500; color: var(--text-secondary); background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-full); padding: 6px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; width: auto; transition: var(--transition-colors); }
.bchip:hover { border-color: var(--accent-border); color: var(--text-primary); }
.bchip.is-on { background: var(--accent); border-color: var(--accent); color: var(--text-on-accent); }
.bchip--saved { margin-left: auto; }
.bchip svg { width: 14px; height: 14px; }

.bcard__cover { position: relative; height: 134px; padding: var(--space-4); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; }
.bcard__watermark { position: absolute; right: -16px; top: -16px; opacity: 0.16; filter: brightness(0) invert(1); }
.bcard__watermark svg { width: 96px; height: 96px; }
.bcard__cat { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps); font-weight: 700; }
.bcard__read { font-size: var(--text-xs); opacity: 0.88; margin-top: 2px; }
.bcard__star { position: absolute; top: var(--space-2); right: var(--space-2); display: grid; place-items: center; width: 30px; height: 30px; border: none; border-radius: var(--radius-full); background: color-mix(in srgb, #000 26%, transparent); color: #fff; cursor: pointer; transition: var(--transition-colors); }
.bcard__star:hover { background: color-mix(in srgb, #000 42%, transparent); }
.bcard__star svg { width: 16px; height: 16px; fill: none; }
.bcard__star.is-on svg { fill: #fff; }
.bcard__excerpt { color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.5; margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── dialog ───────────────────────────────────────────────────────────── */
.overlay { position: fixed; inset: 0; background: var(--scrim); display: flex; align-items: center; justify-content: center; z-index: 80; }
.dialog { width: 560px; max-width: 92vw; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); padding: var(--space-6); box-shadow: var(--shadow-pop); }
.dialog h2 { font-family: var(--font-display); font-weight: 600; margin: 0 0 4px; font-size: var(--text-lg); }
.dialog__hint { color: var(--text-muted); font-size: var(--text-sm); margin: 0 0 var(--space-3); }
.dialog__ta { width: 100%; height: 200px; font-family: var(--font-mono); font-size: var(--text-xs); padding: var(--space-3); border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-inset); color: var(--text-primary); resize: vertical; }
.dialog__ta:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.dialog__row { margin: var(--space-3) 0; font-size: var(--text-sm); color: var(--text-muted); }
.dialog__actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-4); }

/* ── new-artifact flow ────────────────────────────────────────────────── */
.dialog--new { width: 600px; }
.newart__opts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-4); }
.newart__opt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: var(--space-4); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-card); cursor: pointer; font: inherit; transition: var(--transition-colors), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.newart__opt:hover { border-color: var(--accent-border); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.newart__opt:active { transform: translateY(0); }
.newart__opt.is-drop { border-color: var(--accent); border-style: dashed; background: var(--accent-subtle); box-shadow: var(--ring); }
.newart__opt-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--surface-inset); color: var(--text-secondary); margin-bottom: var(--space-1); }
.newart__opt-ic--accent { background: var(--accent-subtle); color: var(--accent); }
.newart__opt-title { font-weight: var(--weight-semibold); font-size: var(--text-md); color: var(--text-primary); }
.newart__opt-sub { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.4; }
.newart__foot { display: flex; justify-content: center; margin-top: var(--space-4); }
.newart__link { font: inherit; font-size: var(--text-sm); color: var(--text-muted); background: none; border: none; cursor: pointer; padding: 4px 8px; border-radius: var(--radius-sm); transition: var(--transition-colors); }
.newart__link:hover { color: var(--text-primary); background: var(--surface-hover); }

.newart__preview-head { margin-bottom: var(--space-3); }
.newart__preview-head h2 { margin-bottom: 2px; }
.newart__preview-wrap { flex: 1; min-height: 0; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
/* Clips the scaled (oversized) frame box; the iframe scrolls its own content. */
.newart__preview-stage { width: 100%; height: 100%; overflow: hidden; }
/* width/height/transform are set inline as the frame is fitted to the stage;
   margin auto centers it when the screen is wider than the desktop canvas. */
.newart__preview { border: 0; display: block; background: #fff; transform-origin: top left; margin: 0 auto; }

/* Near-fullscreen preview: documents need room, so the modal takes the screen. */
.dialog--preview { width: 96vw; max-width: 1600px; height: 94vh; display: flex; flex-direction: column; padding: var(--space-5); }
.dialog__section { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
.dialog__label { font-size: var(--text-2xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: var(--tracking-caps); margin: 0 0 4px; }
.code-box { width: 100%; font-family: var(--font-mono); font-size: var(--text-xs); background: var(--surface-inset); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-3); white-space: pre-wrap; word-break: break-all; color: var(--text-secondary); }
.tok-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-2) 0; border-top: 1px solid var(--border-subtle); font-size: var(--text-sm); }
.tok-row__meta { color: var(--text-muted); font-size: var(--text-2xs); margin-top: 2px; }

/* ── toast ────────────────────────────────────────────────────────────── */
.toast { position: fixed; bottom: var(--space-5); left: 50%; transform: translateX(-50%) translateY(20px); background: var(--slate-900); color: var(--white); padding: 10px var(--space-4); border-radius: var(--radius-lg); font-size: var(--text-sm); box-shadow: var(--shadow-pop); opacity: 0; transition: opacity var(--dur-base), transform var(--dur-base); pointer-events: none; max-width: 80vw; z-index: 90; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--err { background: var(--danger); }

/* ── "Needs your review" section + tile review state ───────────────────── */
.review-sec { margin-bottom: var(--space-6); }
.review-sec__head { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-3); }
.review-sec__head h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); letter-spacing: -0.01em; margin: 0; }
.review-sec__head .flag { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--warning); box-shadow: 0 0 0 4px var(--warning-bg); flex: none; }
.pill-count { font-size: var(--text-2xs); font-weight: 700; color: var(--warning-fg); background: var(--warning-bg); border: 1px solid color-mix(in srgb, var(--warning) 35%, transparent); border-radius: var(--radius-full); padding: 2px 9px; }
.sec-label { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--text-muted); margin: 0 0 var(--space-3); }

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-4); }
.rcard { position: relative; display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid color-mix(in srgb, var(--warning) 40%, var(--border-subtle)); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); transition: var(--transition-colors), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.rcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--warning), color-mix(in srgb, var(--warning) 55%, #e0a13c)); z-index: 2; }
.rcard:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); border-color: color-mix(in srgb, var(--warning) 60%, var(--border-subtle)); }
.rcard:active { transform: translateY(0); }
.rcard__row { display: flex; gap: var(--space-3); padding: var(--space-3); }
.rcard__thumb { position: relative; width: 104px; height: 78px; flex: none; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-subtle); background: var(--surface-inset); }
.rcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: #fff; opacity: 0; transition: opacity var(--dur-base) var(--ease-out); }
.rcard__thumb.is-loaded .rcard__img { opacity: 1; }
.rcard__badge { position: absolute; top: 6px; right: 6px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: var(--white); background: var(--warning); padding: 2px 7px; border-radius: var(--radius-full); box-shadow: var(--shadow-sm); }
.rcard__main { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.rcard__title { font-weight: var(--weight-semibold); font-size: var(--text-md); color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcard__sum { color: var(--text-secondary); font-size: var(--text-sm); margin-top: 4px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.src { display: inline-flex; align-items: center; gap: 5px; font-size: var(--text-2xs); font-weight: 600; padding: 2px 8px 2px 3px; border-radius: var(--radius-full); }
.src--human { background: var(--surface-inset); color: var(--text-secondary); }
.src--ai { background: var(--accent-subtle); color: var(--accent); padding-left: 8px; }
.src--ai svg { width: 13px; height: 13px; }
.avatar { width: 18px; height: 18px; border-radius: var(--radius-full); display: inline-grid; place-items: center; font-size: 9px; font-weight: 700; color: var(--white); }
.rcard__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-2) var(--space-3) var(--space-3); }
.rcard__when { color: var(--text-muted); font-size: var(--text-2xs); }
.rcard__cta { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border: none; border-radius: var(--radius-md); background: var(--warning); color: var(--white); font-weight: 600; font-size: var(--text-sm); transition: var(--transition-colors); }
.rcard__cta:hover { background: var(--warning-fg); }

/* pending-review marker on a Recent tile */
.card__title .dot { display: inline-block; width: 7px; height: 7px; border-radius: var(--radius-full); background: var(--warning); margin-right: 6px; vertical-align: middle; }
