/* Tessera house style (17 Oct 2026). One place for colours, type and the shared building blocks.
   Loaded after a page's own styles, so these values win. Dark and light: the device decides ("auto"), unless the
   person picks one (html[data-theme="dark" | "light"], remembered per browser).
   The variable names are the vault's existing ones, so every screen takes the new look without being rewritten.
   Palette: ink and bone, with three colours taken from the objects themselves: verdigris (patina: good, verified),
   ochre (value, attention) and terracotta (needs you). */

:root,
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg-deep: #141311;
    --surface: #1F1D1A;
    --surface-hover: #2A2723;
    --border: #34302B;
    --text-main: #EFE9DD;
    --text-muted: #A39C90;
    --accent: #C9C2B6;                         /* interactive, neutral: links, secondary buttons, active tabs */
    --accent-glow: rgba(201, 194, 182, 0.10);
    --success: #6FB09E;                        /* verdigris */
    --success-glow: rgba(111, 176, 158, 0.14);
    --warning: #D2AE63;                        /* ochre */
    --warning-glow: rgba(210, 174, 99, 0.14);
    --danger: #D07650;                         /* terracotta */
    --danger-glow: rgba(208, 118, 80, 0.14);
    --onsale: #B4A3CF;
    --onsale-glow: rgba(180, 163, 207, 0.14);
    --deaccession: #8E949A;
    --deaccession-glow: rgba(142, 148, 154, 0.14);
    --info: #9DB8C8;
    --info-glow: rgba(157, 184, 200, 0.14);
    --brand: #3F7A6B;                          /* primary buttons, with white text */
    --brand-hover: #356859;
    --danger-solid: #A84B27;                   /* a solid danger button, with white text */
    --inset: rgba(0, 0, 0, 0.22);              /* panels sunk into a card */
    --hairline: rgba(239, 233, 221, 0.06);
    --tile: #EFE9DD;                           /* the mark's tiles */
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        color-scheme: light;
        --bg-deep: #F4EFE6;
        --surface: #FFFFFF;
        --surface-hover: #EDE6D9;
        --border: #DCD4C6;
        --text-main: #141311;
        --text-muted: #5E584E;
        --accent: #3A3631;
        --accent-glow: rgba(20, 19, 17, 0.06);
        --success: #2F6B5C;
        --success-glow: rgba(47, 107, 92, 0.10);
        --warning: #7E5F1E;
        --warning-glow: rgba(126, 95, 30, 0.12);
        --danger: #9A4422;
        --danger-glow: rgba(154, 68, 34, 0.10);
        --onsale: #6B5B8E;
        --onsale-glow: rgba(107, 91, 142, 0.10);
        --deaccession: #5F656B;
        --deaccession-glow: rgba(95, 101, 107, 0.10);
        --info: #3D6A85;
        --info-glow: rgba(61, 106, 133, 0.10);
        --brand: #3F7A6B;
        --brand-hover: #356859;
    --danger-solid: #A84B27;                   /* a solid danger button, with white text */
        --inset: rgba(20, 19, 17, 0.04);
        --hairline: rgba(20, 19, 17, 0.07);
        --tile: #141311;
    }
}

:root[data-theme="light"] {
    color-scheme: light;
    --bg-deep: #F4EFE6;
    --surface: #FFFFFF;
    --surface-hover: #EDE6D9;
    --border: #DCD4C6;
    --text-main: #141311;
    --text-muted: #5E584E;
    --accent: #3A3631;
    --accent-glow: rgba(20, 19, 17, 0.06);
    --success: #2F6B5C;
    --success-glow: rgba(47, 107, 92, 0.10);
    --warning: #7E5F1E;
    --warning-glow: rgba(126, 95, 30, 0.12);
    --danger: #9A4422;
    --danger-glow: rgba(154, 68, 34, 0.10);
    --onsale: #6B5B8E;
    --onsale-glow: rgba(107, 91, 142, 0.10);
    --deaccession: #5F656B;
    --deaccession-glow: rgba(95, 101, 107, 0.10);
    --info: #3D6A85;
    --info-glow: rgba(61, 106, 133, 0.10);
    --brand: #3F7A6B;
    --brand-hover: #356859;
    --danger-solid: #A84B27;                   /* a solid danger button, with white text */
    --inset: rgba(20, 19, 17, 0.04);
    --hairline: rgba(20, 19, 17, 0.07);
    --tile: #141311;
}

/* ---------- type ---------- */

:root {
    --font-text: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-name: "Cinzel", Georgia, serif;   /* only for the name TESSERA */
}

body {
    font-family: var(--font-text);
    background: var(--bg-deep);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font-family: inherit; }

a { color: var(--accent); }

::selection { background: var(--success-glow); }

/* ---------- the name and the mark ---------- */

.t-brand { display: flex; align-items: center; gap: 12px; color: var(--text-main); text-decoration: none; }
.t-brand svg { flex-shrink: 0; }
.t-brand-words { display: flex; flex-direction: column; line-height: 1; }
.t-brand-name { font-family: var(--font-name); font-weight: 600; letter-spacing: 0.14em; font-size: 22px; }
.t-brand-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.42em; color: var(--text-muted); margin-top: 5px; }

/* ---------- buttons ---------- */

.t-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 40px; padding: 0 16px; border-radius: 10px;
    font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
    border: 1px solid var(--border); background: transparent; color: var(--text-main);
    transition: background 0.15s ease, border-color 0.15s ease;
}
.t-btn:hover { background: var(--surface-hover); }
.t-btn:focus-visible { outline: 2px solid var(--success); outline-offset: 2px; }
.t-btn-primary { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.t-btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.t-btn-icon { width: 40px; padding: 0; }
.t-btn svg { width: 18px; height: 18px; }

/* ---------- small things every screen uses ---------- */

.t-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.t-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }

/* ---------- the guided camera (tessera-camera.js): always dark, full screen ---------- */

.tc-root {
    position: fixed; inset: 0; z-index: 3000; display: flex; flex-direction: column;
    background: #0B0A09; color: #EFE9DD; font-family: var(--font-text);
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
.tc-root.tc-flash .tc-view { opacity: 0.4; }
.tc-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px; }
.tc-round { width: 44px; height: 44px; border-radius: 22px; border: none; background: rgba(239, 233, 221, 0.12); color: #EFE9DD; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tc-round svg { width: 20px; height: 20px; }
.tc-title { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tc-step { font-size: 16px; font-weight: 600; }
.tc-count { font-size: 12px; color: #A39C90; }
.tc-view { position: relative; flex: 1; min-height: 0; margin: 6px 14px; border-radius: 18px; overflow: hidden; background: #1C1A17; transition: opacity 0.1s; }
.tc-view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-c { position: absolute; width: 34px; height: 34px; border-color: #EFE9DD; border-style: solid; border-width: 0; pointer-events: none; }
.tc-c.tl { left: 18px; top: 18px; border-left-width: 3px; border-top-width: 3px; border-top-left-radius: 8px; }
.tc-c.tr { right: 18px; top: 18px; border-right-width: 3px; border-top-width: 3px; border-top-right-radius: 8px; }
.tc-c.bl { left: 18px; bottom: 18px; border-left-width: 3px; border-bottom-width: 3px; border-bottom-left-radius: 8px; }
.tc-c.br { right: 18px; bottom: 18px; border-right-width: 3px; border-bottom-width: 3px; border-bottom-right-radius: 8px; }
.tc-hint { position: absolute; left: 16px; right: 16px; top: 64px; text-align: center; font-size: 14px; line-height: 1.45; color: #EFE9DD; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); }
.tc-proof { position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 16px; background: rgba(79, 143, 126, 0.3); color: #BFE3D8; font-size: 12px; white-space: nowrap; }
.tc-proof svg { width: 14px; height: 14px; }
.tc-thumbs { display: flex; justify-content: center; gap: 10px; padding: 8px 14px 2px; overflow-x: auto; }
.tc-thumb { width: 52px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: #A39C90; }
.tc-thumb::before { content: ""; display: block; width: 52px; height: 52px; border-radius: 10px; border: 1px dashed rgba(239, 233, 221, 0.35); box-sizing: border-box; }
.tc-thumb img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; margin-top: -56px; border: 1px solid rgba(239, 233, 221, 0.35); }
.tc-thumb.now::before { border: 2px solid #6FB09E; }
.tc-thumb.now { color: #EFE9DD; }
.tc-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 24px 18px; }
.tc-text { justify-self: center; min-height: 44px; padding: 0 10px; border: none; background: none; color: #EFE9DD; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.tc-text:disabled { color: #6E685F; cursor: default; }
.tc-undo { justify-self: start; color: #A39C90; font-weight: 500; }
.tc-done { justify-self: end; }
.tc-shutter { width: 78px; height: 78px; border-radius: 39px; border: 4px solid #EFE9DD; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tc-shutter span { width: 62px; height: 62px; border-radius: 31px; background: #EFE9DD; }
.tc-shutter:active span { transform: scale(0.92); }
.tc-shutter:disabled { opacity: 0.3; cursor: default; }
@media (min-width: 701px) {
    .tc-root { background: rgba(11, 10, 9, 0.96); }
    .tc-view { max-width: 960px; width: calc(100% - 28px); margin: 6px auto; }
}

/* ---------- "put Tessera on your home screen" (tessera-install.js) ---------- */

.ti-card { padding: 16px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.ti-head { display: flex; gap: 12px; align-items: flex-start; }
.ti-head > span:last-child { display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.ti-head b { font-size: 15px; color: var(--text-main); font-weight: 600; }
.ti-ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--success-glow); color: var(--success); }
.ti-ico svg { width: 22px; height: 22px; }
.ti-card .t-btn { width: 100%; min-height: 46px; }
.ti-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; }
.ti-steps svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--success); }
.ti-later { align-self: center; background: none; border: none; color: var(--text-muted); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 2px 6px; }

/* ---------- Admin: Tessera in numbers (vault, admins only) ---------- */

.pf-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.pf-periods { display: flex; gap: 6px; flex-wrap: wrap; }
.pf-chip { min-height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 600; cursor: pointer; }
a.pf-chip { display: inline-flex; align-items: center; text-decoration: none; }
.pf-group { min-height: 30px; padding: 0 6px; border: 1px solid var(--border); border-radius: 6px; background: transparent; color: var(--text); font: inherit; }
.pf-chip.on { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.pf-step { margin: 22px 0 10px; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.pf-tile { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pf-label { font-size: 13px; color: var(--text-muted); }
.pf-value { font-size: 26px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.pf-sub { font-size: 12px; color: var(--text-muted); line-height: 1.35; }
.pf-tile.good .pf-value { color: var(--success); }
.pf-tile.warn .pf-value { color: var(--warning); }
.pf-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pf-actions span { font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--inset); border: 1px solid var(--hairline); color: var(--text-muted); }
.pf-actions b { color: var(--text-main); margin-left: 4px; font-variant-numeric: tabular-nums; }
.pf-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.pf-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pf-table th, .pf-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.pf-table th { color: var(--text-muted); font-weight: 600; font-size: 12px; }
.pf-table td:not(:first-child):not(:nth-child(2)) { font-variant-numeric: tabular-nums; }
.pf-table tr:last-child td { border-bottom: none; }
.pf-you { font-size: 11px; padding: 1px 6px; border-radius: 6px; background: var(--success-glow); color: var(--success); margin-left: 4px; }
@media (max-width: 700px) {
    .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-value { font-size: 22px; }
}

/* ---------- the object card in lists (vault, session 6) ---------- */

.oc { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.15s ease; }
.oc:hover { border-color: var(--text-muted); }
.oc.oc-quarantine { border-color: color-mix(in srgb, var(--danger) 55%, var(--border)); }
.oc-select { display: flex; gap: 8px; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--border); font-size: 13px; cursor: pointer; }
/* The photo box has a fixed shape (4:3) whatever the photo: a tall phone photo no longer stretches the card.
   (aspect-ratio on a button is not reliable, so the box keeps its shape with padding, the photo fills it.) */
.oc-img { position: relative; display: block; width: 100%; height: 0; padding: 0 0 75%; border: none; background: var(--inset); cursor: pointer; overflow: hidden; flex-shrink: 0; }
.oc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.oc-stage { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 6px;
    background: color-mix(in srgb, var(--surface) 90%, transparent); border: none; backdrop-filter: blur(6px); }
.oc-stage.status-vault_secured, .oc-stage.status-active { color: var(--success); }
.oc-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 10px; cursor: pointer; flex: 1; }
.oc-title { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--text-main); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oc-ref { font-size: 12px; color: var(--text-muted); }
.oc-value { font-size: 15px; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; }
.oc-value small { font-size: 11px; font-weight: 600; color: var(--info); margin-left: 4px; }
.oc-metrics { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.oc-metrics b { font-weight: 600; color: var(--text-main); }
.oc-notes { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.oc-note { font-size: 12px; line-height: 1.4; color: var(--text-muted); }
.oc-note.oc-danger { color: var(--danger); }
.oc-note.oc-warn { color: var(--warning); }
.oc-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 16px 12px; border-top: 1px solid var(--hairline); }
.oc-act { background: none; border: 1px solid var(--border); border-radius: 8px; min-height: 30px; padding: 0 10px; color: var(--text-main); font: 500 12px var(--font-text); cursor: pointer; }
.oc-act:hover { background: var(--surface-hover); }

.so-line { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.so-line i { width: 7px; height: 7px; border-radius: 4px; background: var(--border); flex-shrink: 0; }
.so-line.sol-ok i { background: var(--success); }
.so-line.sol-bad { color: var(--danger); }
.so-line.sol-bad i { background: var(--danger); }
.so-line.sol-warn i { background: var(--warning); }
.so-line.sol-muted i { background: var(--text-muted); }

/* Quiet text is quiet by colour, not slanted (session 7): italics everywhere made long screens restless. */
.ghost-text { font-style: normal; }
i.dot { display: inline-block; width: 7px; height: 7px; border-radius: 4px; margin-right: 6px; vertical-align: 1px; font-style: normal; }
.pf-leave { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); margin-left: 6px; cursor: pointer; }
/* Card footers never wrap their button; long chips in the notes wrap as one block (18 Oct 2026). */
.oc-act { white-space: nowrap; flex-shrink: 0; }
.oc-foot .so-line { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.oc-notes > span > span { display: inline-block; border-radius: 8px !important; line-height: 1.45; }

/* ---------- Your collection through time (Home, 18 Oct 2026) ---------- */
.tl-card { margin-top: 16px; }
.tl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.tl-head h2 { margin: 0; font-size: 17px; font-weight: 600; }
.tl-head span { font-size: 13px; color: var(--text-muted); }
.tl-scroll { overflow-x: auto; scrollbar-width: thin; }
.tl { position: relative; min-width: 640px; }
.tl-era { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--hairline); }
.tl-era.odd { background: var(--inset); }
.tl-era span { position: absolute; left: 8px; bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.tl-axis { position: absolute; left: 0; right: 0; bottom: 26px; height: 1px; background: var(--border); }
.tl-range { position: absolute; height: 2px; border-radius: 1px; background: var(--success); opacity: 0.55; }
.tl-dot { position: absolute; width: 38px; height: 38px; margin-left: -19px; padding: 0; border-radius: 19px; overflow: hidden; cursor: pointer;
    border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border), 0 2px 6px rgba(0, 0, 0, 0.25); background: var(--inset); transition: transform 0.15s ease; z-index: 1; }
.tl-dot:hover, .tl-dot:focus-visible { transform: scale(1.35); z-index: 2; box-shadow: 0 0 0 2px var(--success), 0 4px 12px rgba(0, 0, 0, 0.3); outline: none; }
.tl-dot img { width: 100%; height: 100%; object-fit: cover; display: block; }
#phTimeline .tl-head { flex-direction: column; gap: 2px; }
#phTimeline .tl-head h2 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
#phTimeline .tl-scroll { margin: 6px -16px 0; padding: 0 16px; }
/* ---------- "Tessera as an app": the slim install bar at the top on phones (18 Oct 2026) ---------- */
.ti-bar { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px 10px 10px 12px; text-align: left;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.ti-row { display: flex; align-items: center; gap: 10px; }
.ti-row img { border-radius: 9px; flex-shrink: 0; }
.ti-words { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.ti-words b { font-size: 14px; font-weight: 600; color: var(--text-main); }
.ti-words span { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ti-go { min-height: 36px; padding: 0 14px; flex-shrink: 0; }
.ti-x { width: 32px; height: 32px; border: none; background: none; color: var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; border-radius: 16px; }
.ti-how { padding: 10px 4px 2px 4px; font-size: 14px; line-height: 1.45; color: var(--text-main); }
.ti-how ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.ti-how p { margin: 0; }
.ti-how svg { vertical-align: -3px; }

/* ---------- Credits (18 Oct 2026) ---------- */
.dk-credits { display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 6px 0; border: none; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
    background: none; color: var(--text-muted); font: 13px var(--font-text); cursor: pointer; }
.dk-credits b { color: var(--text-main); font-weight: 600; font-variant-numeric: tabular-nums; }
.dk-credits b.low { color: var(--warning); }
.dk-credits:hover span { color: var(--text-main); }
.cr-card { margin-bottom: 16px; }
.cr-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.cr-balance { font-size: 40px; font-weight: 600; line-height: 1.1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.cr-balance.low { color: var(--warning); }
.cr-prices .financial-stat-row { font-size: 14px; }
.cr-in { color: var(--success); }
.pf-credits { white-space: nowrap; }
@media (max-width: 700px) { .cr-top { grid-template-columns: 1fr; gap: 14px; } }
/* Logged in without admin rights: the Usage page shows credits only (no tokens, no AI costs). */
body.not-admin #admin .admin-dashboard, body.not-admin #adminWarning { display: none !important; }

/* the funnel on the admin page (20 Oct 2026) */
.fn-stages { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.fn-row { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) 70px minmax(0, 170px); gap: 14px; align-items: center; font-size: 14px; }
.fn-label { min-width: 0; }
.fn-bar { height: 12px; border-radius: 6px; background: var(--inset); overflow: hidden; }
.fn-bar i { display: block; height: 100%; background: var(--brand); border-radius: 6px; }
.fn-count { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.fn-step { color: var(--text-muted); font-size: 13px; }
.fn-daily { display: flex; align-items: flex-end; gap: 3px; height: 70px; padding: 8px 0; }
.fn-daily i { flex: 0 1 14px; min-width: 3px; background: var(--brand); border-radius: 2px 2px 0 0; opacity: .8; }
@media (max-width: 700px) { .fn-row { grid-template-columns: minmax(0, 1fr) 60px; } .fn-bar, .fn-step { grid-column: 1 / -1; } }
