/* /Components/AboutHome.razor.rz.scp.css */
/* The desk locks the document. This page is taller than the window, so it scrolls itself. */
.about-page[b-zs8d5f47va] {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    background: var(--paper);
    color: var(--text-primary);
}

/* Journal cover. The sign-in link lives in the margin above the lockup,
   on the same measure as the page, so it never sits on the wordmark. */
.about-banner[b-zs8d5f47va] {
    background: var(--eco-yellow);
    color: var(--eco-yellow-type);
    border-bottom: 1px solid var(--eco-yellow-border);
    padding: 40px 0 44px;
}

.about-banner-inner[b-zs8d5f47va] {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-banner:has(.about-banner-bar)[b-zs8d5f47va] {
    padding-top: 8px;
}

.about-banner-bar[b-zs8d5f47va] {
    align-self: stretch;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 44px;
    margin-bottom: 4px;
}

.about-lockup[b-zs8d5f47va] {
    color: var(--ink);
    max-width: 100%;
    margin-top: 8px;
}
.about-lockup .qs-mark[b-zs8d5f47va] {
    width: 76px;
    height: 76px;
    color: var(--ink);
    margin-bottom: 8px;
}
.about-lockup .qs-word[b-zs8d5f47va] {
    font-size: 26px;
    letter-spacing: 0.36em;
    text-indent: 0.36em;
    color: var(--eco-yellow-type);
    max-width: 100%;
}

.about-sub[b-zs8d5f47va] {
    margin: 18px 0 0;
    padding-top: 14px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    line-height: 1.3;
    position: relative;
}
.about-sub[b-zs8d5f47va]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 36px;
    height: 1px;
    transform: translateX(-50%);
    background: var(--eco-yellow-type);
    opacity: 0.55;
}

.about-sign[b-zs8d5f47va] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 2px;
    font-family: var(--ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-decoration: none;
}
.about-sign:hover[b-zs8d5f47va] { text-decoration: underline; text-underline-offset: 3px; }
.about-sign:focus-visible[b-zs8d5f47va] {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.about-main[b-zs8d5f47va] {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 48px 32px 88px;
}

.about-main.is-quiet[b-zs8d5f47va] {
    width: min(36rem, 100%);
    padding-top: 52px;
    padding-bottom: 72px;
}

.about-title[b-zs8d5f47va] {
    font-family: var(--serif);
    font-size: clamp(34px, 4.6vw, 52px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
    max-width: 12em;
    text-wrap: balance;
}

.about-lede[b-zs8d5f47va] {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    line-height: 1.4;
    margin: 0 0 32px;
    max-width: 28em;
}

.about-return[b-zs8d5f47va] { margin: 4px 0 0; }
.about-return .btn[b-zs8d5f47va] {
    min-height: 44px;
    padding: 10px 18px;
}
.about-page a.btn[b-zs8d5f47va] { text-decoration: none; }

.about-points[b-zs8d5f47va] {
    display: grid;
    gap: 22px;
    margin: 0 0 8px;
    padding: 2px 0 2px 18px;
    border-left: 1px solid color-mix(in srgb, var(--margin-red) 78%, var(--paper));
}
.about-points h2[b-zs8d5f47va] {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px;
}
.about-points p[b-zs8d5f47va] {
    margin: 0;
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.45;
    color: var(--text-primary);
    max-width: 36em;
}

.about-choice[b-zs8d5f47va] {
    margin: 36px 0 16px;
    padding-top: 20px;
    border-top: 1px solid var(--rule-line);
}

.about-paths[b-zs8d5f47va] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
}

.about-card[b-zs8d5f47va] {
    margin: 0;
    padding: 20px 20px 18px;
    scroll-margin-top: 20px;
}
.about-card-sign[b-zs8d5f47va] { border-top: 3px solid var(--ink); }
.about-card-wait[b-zs8d5f47va] { border-top: 3px solid var(--wax); }

.about-card .eyebrow[b-zs8d5f47va] { margin: 0 0 8px; }
.about-card h2[b-zs8d5f47va] {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 8px;
    text-wrap: balance;
}
.about-card p[b-zs8d5f47va] {
    margin: 0 0 14px;
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.45;
}
.about-card form[b-zs8d5f47va] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.about-card .field[b-zs8d5f47va] {
    background: var(--paper);
    min-height: 44px;
}
.about-card textarea.field[b-zs8d5f47va] { min-height: 88px; }
.about-card .btn[b-zs8d5f47va] {
    margin-top: 8px;
    width: 100%;
    min-height: 44px;
    padding: 11px 16px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}
/* Empty fields keep the button from sending, but the ink and wax should still read as themselves. */
.about-card .btn:disabled[b-zs8d5f47va] { opacity: 1; }
.about-card strong[b-zs8d5f47va] { overflow-wrap: anywhere; }

.ink-button[b-zs8d5f47va] {
    background: var(--ink);
    color: var(--paper);
    border-color: transparent;
}
.ink-button:hover:not(:disabled)[b-zs8d5f47va] { background: var(--ink-soft); }
.ink-button:active:not(:disabled)[b-zs8d5f47va] { background: var(--ink); }

.about-label[b-zs8d5f47va] {
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 6px;
}

.about-note[b-zs8d5f47va] { resize: vertical; }

.about-card .about-or[b-zs8d5f47va] {
    margin: 16px 0 2px;
    text-align: center;
    font-family: var(--ui);
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.about-error[b-zs8d5f47va],
.about-expired[b-zs8d5f47va] {
    color: var(--wax);
    font-style: italic;
}

@media (min-width: 880px) {
    .about-points[b-zs8d5f47va] { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
    .about-paths[b-zs8d5f47va] { grid-template-columns: 1fr 1fr; gap: 22px; }
}

@media (max-width: 640px) {
    .about-banner[b-zs8d5f47va] { padding-bottom: 32px; }
    .about-banner-inner[b-zs8d5f47va],
    .about-main[b-zs8d5f47va] { padding-left: 20px; padding-right: 20px; }
    .about-main[b-zs8d5f47va] { padding-top: 32px; padding-bottom: 64px; }
    .about-main.is-quiet[b-zs8d5f47va] { padding-top: 36px; }
    .about-lockup .qs-mark[b-zs8d5f47va] { width: 60px; height: 60px; }
    .about-lockup .qs-word[b-zs8d5f47va] {
        font-size: 20px;
        letter-spacing: 0.2em;
        text-indent: 0.2em;
    }
    .about-sub[b-zs8d5f47va] { font-size: 16px; }
    .about-title[b-zs8d5f47va] { font-size: 34px; }
    .about-lede[b-zs8d5f47va] { font-size: 19px; margin-bottom: 24px; }
    .about-points p[b-zs8d5f47va] { font-size: 17px; }
    .about-card h2[b-zs8d5f47va] { font-size: 24px; }
    .about-choice[b-zs8d5f47va] { margin-top: 28px; }
}
/* /Components/CompareJournal.razor.rz.scp.css */
/* Comparison twin — same ISO A5 millimetre geometry as the poem journal. */

.cj-root[b-fs68r03ei0] {
    position: relative;
    width: 100%;
}

.cj-root.is-framed .journal-stage[b-fs68r03ei0],
.cj-root.is-framing .journal-stage[b-fs68r03ei0] {
    will-change: transform;
}

.cj-root.is-framed .journal-stage[b-fs68r03ei0] {
    max-width: none;
    aspect-ratio: calc(var(--journal-book-w) / var(--journal-book-h));
    height: auto;
}

.cj-root.is-framing[b-fs68r03ei0] {
    z-index: 7;
    user-select: none;
}

.cj-root.is-framing .book[b-fs68r03ei0] {
    transition: none !important;
}

.journal-drag[b-fs68r03ei0] {
    position: absolute;
    top: 0;
    left: 0;
    right: 28px;
    height: 18px;
    z-index: 7;
    cursor: grab;
    touch-action: none;
}

.cj-root.is-framing .journal-drag[b-fs68r03ei0] { cursor: grabbing; }

.band[data-journal-drag][b-fs68r03ei0] {
    cursor: grab;
    touch-action: none;
    z-index: 7;
}

.cj-root.is-framing .band[data-journal-drag][b-fs68r03ei0] { cursor: grabbing; }

.journal-scale[b-fs68r03ei0] {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    z-index: 8;
    cursor: nesw-resize;
    touch-action: none;
    outline: none;
}

.journal-scale[b-fs68r03ei0]::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    opacity: 0.42;
    background:
        linear-gradient(
            to bottom left,
            color-mix(in srgb, var(--ink) 22%, transparent) 0%,
            color-mix(in srgb, var(--ink) 22%, transparent) 38%,
            transparent 39%
        );
    transition: opacity .2s ease;
}

.journal-scale:hover[b-fs68r03ei0]::before,
.journal-scale:focus-visible[b-fs68r03ei0]::before,
.cj-root.is-framing .journal-scale[b-fs68r03ei0]::before {
    opacity: 0.78;
}

.journal-fs-top[b-fs68r03ei0] {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 8;
}

.journal-fs-leave[b-fs68r03ei0] {
    background: color-mix(in srgb, var(--paper) 88%, transparent) !important;
    backdrop-filter: blur(6px);
}

.journal-fs-status[b-fs68r03ei0] {
    margin: 12px 0 0;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    color: color-mix(in srgb, var(--ink) 55%, transparent);
}

.journal-stage[b-fs68r03ei0] {
    position: relative;
    width: 100%;
    max-width: 940px;
    aspect-ratio: calc(var(--journal-book-w) / var(--journal-book-h));
    perspective: 2200px;
    margin: 0 auto;
    overflow: hidden;
}

.book[b-fs68r03ei0] {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--journal-book-w);
    height: var(--journal-book-h);
    transform-origin: top left;
    transition: transform .35s cubic-bezier(.36,.1,.3,1);
}

@media (prefers-reduced-motion: reduce) {
    .book[b-fs68r03ei0] { transition: none; }
    .journal-scale[b-fs68r03ei0]::before { transition: none; }
}

/* Cover — EcoQua yellow board (same language as poem twin). */
.cover[b-fs68r03ei0] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cover-shadow[b-fs68r03ei0] {
    position: absolute;
    width: var(--a5-w);
    height: var(--a5-h);
    border-radius: 4mm;
    background: radial-gradient(ellipse 70% 55% at 40% 35%, #E0D2A8 0%, #D9CBA8 55%, #C9BB92 100%);
    transform: translate(2.5mm, 3mm);
    filter: blur(0.4px);
}

.cover-face[b-fs68r03ei0] {
    position: relative;
    width: var(--a5-w);
    height: var(--a5-h);
    border-radius: 4mm;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--cover-border, var(--eco-yellow-border)) 78%, var(--cover-type, var(--eco-yellow-type)));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--cover, var(--eco-yellow));
    background-image:
        linear-gradient(
            168deg,
            var(--cover-hi, #F4C62E) 0%,
            var(--cover-mid, var(--eco-yellow)) 36%,
            var(--cover-mid, var(--eco-yellow)) 68%,
            var(--cover-lo, #D9A40A) 100%
        );
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, white 22%, transparent),
        inset 0 0 48px color-mix(in srgb, var(--cover-type, #8A6A06) 14%, transparent);
}

.cover-center[b-fs68r03ei0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--ink);
}

.cover-mark[b-fs68r03ei0] {
    width: 96px;
    height: 96px;
    color: var(--ink);
    margin-bottom: 6px;
    opacity: 0.92;
}

.cover-word[b-fs68r03ei0] {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 40px;
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    color: var(--cover-type, var(--eco-yellow-type));
    line-height: 1.05;
    opacity: 0.94;
}

.cover-rule[b-fs68r03ei0] {
    width: 120px;
    height: 1.5px;
    background: var(--cover-rule, #C79E0C);
    margin: 6px 0;
    opacity: 0.88;
}

.cover-sub[b-fs68r03ei0] {
    font-family: var(--serif);
    font-style: italic;
    font-size: 19px;
    color: var(--cover-type, var(--eco-yellow-type));
    opacity: 0.92;
}

.cover-footer[b-fs68r03ei0] {
    position: absolute;
    bottom: 26px;
    font-size: 10.5px;
    letter-spacing: 0.22em;
    color: var(--cover-accent, #A8850B);
    opacity: 0.88;
}

.cover-open[b-fs68r03ei0] {
    position: absolute;
    bottom: 12px;
    right: 20px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    color: var(--cover-accent, #B08E10);
}

.band[b-fs68r03ei0] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--journal-band);
    border-radius: 2mm 2mm 0 0;
}

.spread[b-fs68r03ei0] { position: absolute; inset: 0; }

.leaf-host[b-fs68r03ei0] {
    position: absolute;
    top: var(--journal-leaf-top);
    width: var(--a5-w);
    height: var(--a5-h);
}

.leaf-host.left[b-fs68r03ei0] { left: 0; }
.leaf-host.right[b-fs68r03ei0] { left: calc(var(--a5-w) + var(--journal-gutter)); }

.leaf-host.right[b-fs68r03ei0]::before {
    content: "";
    position: absolute;
    top: 1mm;
    right: 0;
    bottom: 1.5mm;
    width: 1.5mm;
    z-index: 0;
    pointer-events: none;
    border-radius: 0 0.5mm 0.5mm 0;
    background:
        linear-gradient(90deg, rgba(90, 70, 40, 0.08), transparent 50%),
        repeating-linear-gradient(180deg, #F8F3E8 0 0.3mm, #EDE4D0 0.3mm 0.55mm, #E2D9C3 0.55mm 0.8mm);
}

.leaf-host.right > .page[b-fs68r03ei0] {
    right: 1.2mm;
    z-index: 1;
    border-radius: 1mm 0.3mm 0.3mm 1mm;
}

.gutter[b-fs68r03ei0] {
    position: absolute;
    top: var(--journal-leaf-top);
    left: var(--a5-w);
    width: var(--journal-gutter);
    height: var(--a5-h);
    background: linear-gradient(90deg, rgba(0,0,0,.10), rgba(0,0,0,.02) 40%, rgba(0,0,0,.02) 60%, rgba(0,0,0,.10));
}

.page[b-fs68r03ei0] {
    position: absolute;
    inset: 0;
    background-color: var(--sheet);
    border: 1px solid var(--sheet-edge);
    border-radius: 1mm;
    overflow: hidden;
    color: var(--ink);
}

/* Digital twin uses the same notebook paper as the poem journal. */
.cj-model.paper-dots[b-fs68r03ei0],
.cj-model.paper-lines[b-fs68r03ei0] {
    background-position: 0 0, 0 var(--journal-margin-top);
}
.cj-model.paper-grid[b-fs68r03ei0] {
    background-position: 0 0, 0 var(--journal-margin-top), 0 var(--journal-margin-top);
}

/* Photo face: cream only — the real page is in the photograph. */
.cj-photo[b-fs68r03ei0] {
    background-image:
        repeating-linear-gradient(102deg, transparent 0 3px, rgba(140, 120, 80, 0.018) 3px 4px);
    background-size: auto;
}

.cj-page[b-fs68r03ei0] {
    padding:
        var(--journal-margin-top)
        var(--journal-margin-x)
        calc(var(--journal-margin-bottom) + var(--journal-pagenum-band));
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cj-ink[b-fs68r03ei0] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cj-model.has-ink .cj-h-date[b-fs68r03ei0],
.cj-model.has-ink .cj-h-title[b-fs68r03ei0],
.cj-model.has-ink .cj-h-author[b-fs68r03ei0],
.cj-model.has-ink .cj-line[b-fs68r03ei0] {
    color: transparent;
    position: relative;
    z-index: 2;
}

.cj-page.is-selected[b-fs68r03ei0] {
    box-shadow: inset 0 0 0 2px var(--ink);
}

.cj-edit[b-fs68r03ei0] {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 3;
    border: 1px solid var(--sheet-edge);
    border-radius: 999px;
    background: color-mix(in srgb, var(--sheet) 92%, transparent);
    font-family: var(--ui);
    font-size: 11px;
    padding: 3px 9px;
    cursor: pointer;
    color: var(--text-secondary);
}

.cj-edit:hover[b-fs68r03ei0] {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.cj-label[b-fs68r03ei0] {
    position: relative;
    z-index: 2;
    margin: 0 0 6px;
    font-family: var(--ui);
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.cj-header[b-fs68r03ei0] {
    position: relative;
    z-index: 2;
    margin-bottom: 4px;
}

.cj-h-date[b-fs68r03ei0] {
    text-align: right;
    font-size: calc(var(--cj-sz, 18px) * 0.78);
    line-height: var(--cj-pitch, 28px);
    opacity: 0.62;
}

.cj-h-title[b-fs68r03ei0] {
    text-align: center;
    font-size: calc(var(--cj-sz, 18px) * 1.22);
    line-height: 1.4;
    margin-top: 4px;
}

.cj-h-author[b-fs68r03ei0] {
    text-align: center;
    font-size: calc(var(--cj-sz, 18px) * 0.78);
    line-height: var(--cj-pitch, 28px);
    opacity: 0.62;
    margin-bottom: 4px;
}

.cj-lines[b-fs68r03ei0] {
    position: relative;
    z-index: 2;
    margin: 0;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.cj-line[b-fs68r03ei0] {
    font-size: var(--cj-sz, 18px);
    line-height: var(--cj-pitch, 28px);
    white-space: pre-wrap;
    overflow: hidden;
}

.cj-photo[b-fs68r03ei0] {
    padding: 12px 12px 34px;
}

.cj-photo-img[b-fs68r03ei0] {
    display: block;
    flex: 1;
    width: 100%;
    min-height: 0;
    object-fit: contain;
    background: color-mix(in srgb, var(--paper) 80%, var(--sheet));
    border-radius: 2px;
}

.cj-photo-empty[b-fs68r03ei0] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    color: var(--text-secondary);
}

.cj-pagenum[b-fs68r03ei0] {
    position: absolute;
    bottom: var(--journal-margin-bottom);
    left: var(--journal-margin-x);
    right: var(--journal-margin-x);
    height: var(--journal-pagenum-band);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--ui);
    font-size: 11px;
    opacity: .55;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leaf[b-fs68r03ei0] {
    position: absolute;
    top: var(--journal-leaf-top);
    width: var(--a5-w);
    height: var(--a5-h);
    transform-style: preserve-3d;
    z-index: 5;
}

.leaf-right[b-fs68r03ei0] { left: calc(var(--a5-w) + var(--journal-gutter)); transform-origin: left center; }
.leaf-left[b-fs68r03ei0] { left: 0; transform-origin: right center; }
.leaf-face[b-fs68r03ei0] { position: absolute; inset: 0; backface-visibility: hidden; }
.leaf-back[b-fs68r03ei0] { transform: rotateY(180deg); }

.corner[b-fs68r03ei0] {
    position: absolute;
    bottom: 0;
    width: 88px;
    height: 68px;
    cursor: pointer;
    z-index: 6;
    outline: none;
}

.corner-left[b-fs68r03ei0] { left: 0; }
.corner-right[b-fs68r03ei0] { right: 0; }

.dogear[b-fs68r03ei0] {
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 30px;
    pointer-events: none;
}

.dogear[b-fs68r03ei0]::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.28;
}

.corner-right .dogear[b-fs68r03ei0] { right: 0; }
.corner-right .dogear[b-fs68r03ei0]::before {
    background: linear-gradient(to top left, rgba(90, 70, 30, 0.18) 50%, transparent 50%);
}

.corner-left .dogear[b-fs68r03ei0] { left: 0; }
.corner-left .dogear[b-fs68r03ei0]::before {
    background: linear-gradient(to top right, rgba(90, 70, 30, 0.18) 50%, transparent 50%);
}

.dogear[b-fs68r03ei0]::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.72;
}

.corner-right .dogear[b-fs68r03ei0]::after {
    background: linear-gradient(to top left, #E6DCC4 0%, #E0D6BA 45%, #C9BD9E 46.5%, #C9BD9E 48%, transparent 49%);
}

.corner-left .dogear[b-fs68r03ei0]::after {
    background: linear-gradient(to top right, #E6DCC4 0%, #E0D6BA 45%, #C9BD9E 46.5%, #C9BD9E 48%, transparent 49%);
}

.cj-toolbar[b-fs68r03ei0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 0 4px;
}

.cj-toolbar-left[b-fs68r03ei0] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cj-review[b-fs68r03ei0] {
    min-width: 7rem;
}

.cj-upload[b-fs68r03ei0] {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.cj-upload.is-busy[b-fs68r03ei0] {
    opacity: 0.6;
    pointer-events: none;
}

.cj-upload[b-fs68r03ei0]  input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}
/* /Components/GiftPad.razor.rz.scp.css */
/* Rhodia-style top-staple pad twin. Geometry from GiftPadCatalog CSS vars. */

.gift-pad-root[b-uthjjgc1j3] {
    position: relative;
    width: 100%;
}
.gift-pad-root.is-framed .journal-stage[b-uthjjgc1j3],
.gift-pad-root.is-framing .journal-stage[b-uthjjgc1j3] {
    will-change: transform;
}
.gift-pad-root.is-framed .journal-stage[b-uthjjgc1j3] {
    max-width: none;
    aspect-ratio: calc(var(--pad-w) / var(--pad-h));
    height: auto;
}
.gift-pad-root.is-framing[b-uthjjgc1j3] {
    z-index: 7;
    user-select: none;
}
.gift-pad-root.is-framing .book[b-uthjjgc1j3] {
    transition: none !important;
}

.journal-drag[b-uthjjgc1j3] {
    position: absolute;
    top: 0;
    left: 0;
    right: 28px;
    height: 18px;
    z-index: 7;
    cursor: grab;
    touch-action: none;
}
.gift-pad-root.is-framing .journal-drag[b-uthjjgc1j3] { cursor: grabbing; }

.journal-scale[b-uthjjgc1j3] {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    z-index: 8;
    cursor: nesw-resize;
    touch-action: none;
    outline: none;
}
.journal-scale[b-uthjjgc1j3]::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    opacity: 0.42;
    background: linear-gradient(
        to bottom left,
        color-mix(in srgb, var(--ink) 22%, transparent) 0%,
        color-mix(in srgb, var(--ink) 22%, transparent) 38%,
        transparent 39%
    );
}

.journal-toolbar[b-uthjjgc1j3] {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    padding: 0 4px;
}
.journal-fs-top[b-uthjjgc1j3] {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 8;
}
.journal-fs-leave[b-uthjjgc1j3] {
    background: color-mix(in srgb, var(--paper) 88%, transparent) !important;
    backdrop-filter: blur(6px);
}
.journal-fs-status[b-uthjjgc1j3] {
    margin: 12px 0 0;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    color: color-mix(in srgb, var(--ink) 55%, transparent);
}

.journal-stage[b-uthjjgc1j3] {
    position: relative;
    width: 100%;
    max-width: 640px;
    aspect-ratio: calc(var(--pad-w) / var(--pad-h));
    margin: 0 auto;
    overflow: hidden;
}

.book.pad-book[b-uthjjgc1j3] {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--pad-w);
    height: var(--pad-h);
    transform-origin: top left;
    transition: transform .35s cubic-bezier(.36,.1,.3,1);
}
@media (prefers-reduced-motion: reduce) {
    .book.pad-book[b-uthjjgc1j3] { transition: none; }
}

.pad-board[b-uthjjgc1j3] {
    position: absolute;
    inset: 1.5mm 0 0 0;
    border-radius: 0 0 1.5mm 1.5mm;
    background:
        linear-gradient(180deg, #c4b89a 0%, #b7aa8a 55%, #a89870 100%);
    box-shadow: 0 2mm 4mm rgba(40, 30, 10, 0.18);
}

.pad-cover-back[b-uthjjgc1j3] {
    position: absolute;
    left: -2mm;
    right: -2mm;
    top: 8mm;
    bottom: -3mm;
    border-radius: 1mm;
    background: var(--pad-cover, #FF6A00);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
    z-index: 0;
}

.pad-stack[b-uthjjgc1j3] {
    position: absolute;
    top: 0;
    left: 2mm;
    right: 2mm;
    height: var(--pad-stub);
    background:
        repeating-linear-gradient(
            180deg,
            #eceae4 0 0.35mm,
            #ddd9cf 0.35mm 0.55mm
        );
    z-index: 1;
    box-shadow: 0 1mm 2mm rgba(0, 0, 0, 0.12);
}

.pad-leaf[b-uthjjgc1j3] {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--pad-w);
    height: var(--pad-h);
    z-index: 2;
    display: flex;
    flex-direction: column;
    background: var(--sheet, #F4F4F0);
    box-shadow:
        0.4mm 0.8mm 2mm rgba(40, 30, 10, 0.16),
        0 0 0 0.3mm rgba(0, 0, 0, 0.06);
}

.pad-header[b-uthjjgc1j3] {
    height: var(--pad-stub);
    flex: 0 0 var(--pad-stub);
    background: #111;
    color: #f4f4f0;
    display: grid;
    grid-template-columns: 10mm 1fr auto;
    align-items: center;
    gap: 3mm;
    padding: 0 4mm 0 3mm;
    font-size: 2.6mm;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.pad-header-mark[b-uthjjgc1j3] {
    width: 6mm;
    height: 6mm;
    border: 0.45mm solid #f4f4f0;
    border-radius: 0.4mm;
    opacity: 0.85;
}
.pad-header-label[b-uthjjgc1j3] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pad-header-sheet[b-uthjjgc1j3] { letter-spacing: 0.12em; opacity: 0.8; font-size: 2.2mm; }

.pad-perf[b-uthjjgc1j3] {
    height: 0;
    border-bottom: 0.35mm dashed color-mix(in srgb, #111 55%, transparent);
    margin: 0;
    position: relative;
    z-index: 3;
}
.pad-perf[b-uthjjgc1j3]::before,
.pad-perf[b-uthjjgc1j3]::after {
    content: "";
    position: absolute;
    top: -1.1mm;
    width: 2.2mm;
    height: 2.2mm;
    border-radius: 50%;
    background: #111;
}
.pad-perf[b-uthjjgc1j3]::before { left: 4mm; }
.pad-perf[b-uthjjgc1j3]::after { right: 4mm; }

.pad-page.page[b-uthjjgc1j3] {
    position: relative;
    flex: 1;
    inset: auto;
    height: var(--pad-leaf-h);
    padding:
        var(--pad-margin-top)
        var(--pad-margin-x)
        var(--pad-margin-bottom);
    border: none;
    border-radius: 0;
    background-color: var(--sheet, #F4F4F0);
    background-position: 0 0, 0 var(--pad-margin-top);
    overflow: hidden;
    color: var(--journal-ink);
}
.pad-page.page.paper-grid[b-uthjjgc1j3] {
    background-position: 0 0, 0 var(--pad-margin-top), 0 var(--pad-margin-top);
}
.pad-page.page.paper-margin[b-uthjjgc1j3] {
    background-position: 0 0, 0 var(--pad-margin-top), 0 0;
}

.pad-torn[b-uthjjgc1j3] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4mm;
    padding: 8mm;
    background:
        linear-gradient(180deg, transparent 0 2mm, var(--sheet, #F4F4F0) 8mm);
    border-top: 1.2mm dashed color-mix(in srgb, #111 35%, transparent);
}
.pad-torn-title[b-uthjjgc1j3] {
    margin: 0;
    font-family: var(--serif);
    font-size: 5mm;
    font-style: italic;
    color: var(--text-secondary);
}
.pad-torn-sub[b-uthjjgc1j3] {
    margin: 0;
    font-family: var(--hand);
    font-size: 4.2mm;
}
.pad-torn-hint[b-uthjjgc1j3] {
    margin: 0;
    font-size: 3mm;
    color: var(--text-secondary);
    text-align: center;
}

.pad-leaf.is-torn .pad-page[b-uthjjgc1j3] { display: none; }

.page-pending[b-uthjjgc1j3] { opacity: 0.55; }
.page-pending.page-reading[b-uthjjgc1j3] { opacity: 1; }

.j-date[b-uthjjgc1j3] { text-align: right; font-family: var(--hand); font-size: calc(var(--sz) * 0.78); opacity: .62; }
.j-title[b-uthjjgc1j3] { text-align: center; font-family: var(--hand); font-size: calc(var(--sz) * 1.22); line-height: 1.4; margin-top: 6px; }
.j-author[b-uthjjgc1j3] { text-align: center; font-family: var(--hand); font-size: calc(var(--sz) * 0.78); opacity: .62; margin-bottom: 8px; }
.j-line[b-uthjjgc1j3] { font-family: var(--hand); font-size: var(--sz); line-height: var(--pitch); white-space: pre-wrap; }
.j-line-inked[b-uthjjgc1j3] { opacity: 1; }
.j-line-ahead[b-uthjjgc1j3] { opacity: .3; }
.j-line-reading[b-uthjjgc1j3] { opacity: 1; }
[b-uthjjgc1j3] .j-word {
    color: var(--ink);
    transition: opacity .28s ease, color 1.1s ease;
}
[b-uthjjgc1j3] .j-word-inked { opacity: 1; }
[b-uthjjgc1j3] .j-word-ahead { opacity: .3; }
[b-uthjjgc1j3] .j-word.lit {
    color: var(--wax);
    transition: opacity .28s ease, color .1s ease;
}
.j-ruler[b-uthjjgc1j3] {
    background: color-mix(in srgb, var(--rule-line) 33%, transparent);
    border-top: 1px solid color-mix(in srgb, var(--rule-line) 69%, transparent);
    border-bottom: 1.5px solid color-mix(in srgb, var(--rule-line) 69%, transparent);
    margin: 0 -6px;
    padding: 2px 6px;
}
.j-ruler .j-line-ahead[b-uthjjgc1j3] { opacity: .55; }
.j-ruler .j-title[b-uthjjgc1j3] { margin-top: 0; }
.j-ruler .j-author[b-uthjjgc1j3] { margin-bottom: 0; }

.corner[b-uthjjgc1j3] {
    position: absolute;
    bottom: 0;
    width: 88px;
    height: 68px;
    cursor: pointer;
    z-index: 6;
    outline: none;
}
.corner-left[b-uthjjgc1j3] { left: 0; }
.corner-right[b-uthjjgc1j3] { right: 0; }
.dogear[b-uthjjgc1j3] {
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 30px;
    pointer-events: none;
}
.dogear[b-uthjjgc1j3]::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.28;
}
.corner-right .dogear[b-uthjjgc1j3] { right: 0; }
.corner-right .dogear[b-uthjjgc1j3]::before {
    background: linear-gradient(to top left, rgba(90, 70, 30, 0.18) 50%, transparent 50%);
}
.corner-left .dogear[b-uthjjgc1j3] { left: 0; }
.corner-left .dogear[b-uthjjgc1j3]::before {
    background: linear-gradient(to top right, rgba(90, 70, 30, 0.18) 50%, transparent 50%);
}
/* /Components/GiftPadSetup.razor.rz.scp.css */
.gift-pad-setup[b-pwewr1hkav] {
    width: 100%;
    max-width: 40rem;
    text-align: left;
}

.notebook-setup-lead[b-pwewr1hkav] {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.8vw, 1.55rem);
    line-height: 1.35;
    font-weight: 500;
    color: var(--ink-soft);
}

.notebook-setup-support[b-pwewr1hkav] {
    margin: 0.55rem 0 1.1rem;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.notebook-setup-hint[b-pwewr1hkav] {
    margin: 0.2rem 0 0.65rem;
}

.notebook-cover-row[b-pwewr1hkav] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.notebook-cover-swatch[b-pwewr1hkav] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.68rem;
}

.notebook-cover-swatch-face[b-pwewr1hkav] {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 7px;
    background: var(--swatch);
    border: 1.5px solid var(--swatch-border);
}

.notebook-cover-swatch.is-on .notebook-cover-swatch-face[b-pwewr1hkav] {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.notebook-paper-opt[b-pwewr1hkav] { min-width: 5.5rem; }

.notebook-spacing-row[b-pwewr1hkav] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0.25rem;
}

.notebook-spacing[b-pwewr1hkav] { flex: 1; min-width: 0; }

.notebook-spacing-num[b-pwewr1hkav] {
    width: 4.2rem;
    padding: 6px 8px;
    border: 1px solid var(--sheet-edge);
    border-radius: 6px;
    background: var(--sheet);
    color: var(--text-primary);
    font: inherit;
}

.notebook-spacing-unit[b-pwewr1hkav] {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.gift-pad-setup-preview[b-pwewr1hkav] {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 0 0 1.15rem;
}

.gift-pad-setup-cover[b-pwewr1hkav],
.gift-pad-setup-sheet[b-pwewr1hkav] {
    flex: 1;
    min-height: 7.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gift-pad-setup-cover[b-pwewr1hkav] {
    background: var(--pad-cover, #FF6A00);
    color: var(--pad-cover-type, #2A1208);
    border: 1px solid color-mix(in srgb, var(--pad-board, #C24F00) 70%, #111);
}

/* Staple band across the top of the preview — same words the shelf card wears. */
.gift-pad-setup-band[b-pwewr1hkav] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    background: color-mix(in srgb, var(--pad-board, #C24F00) 55%, var(--pad-cover, #FF6A00));
    border-bottom: 1px solid color-mix(in srgb, var(--pad-board, #C24F00) 70%, #111);
    color: #fff;
}

.gift-pad-setup-band-mark[b-pwewr1hkav] {
    width: 14px;
    height: 14px;
    opacity: 0.95;
}

.gift-pad-setup-band-word[b-pwewr1hkav] {
    font-family: var(--serif);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    line-height: 1;
}

.notebook-title[b-pwewr1hkav] {
    width: 100%;
    margin-bottom: 1rem;
    font-family: var(--serif);
}

.gift-pad-setup-cover-label[b-pwewr1hkav] {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    padding: 0 10px;
}

.gift-pad-setup-sheet[b-pwewr1hkav] {
    border: 1px solid var(--sheet-edge);
    color: var(--text-secondary);
}

.gift-pad-setup-sheet-label[b-pwewr1hkav] {
    position: relative;
    z-index: 1;
    font-size: 0.78rem;
    background: color-mix(in srgb, var(--sheet, #F4F4F0) 88%, transparent);
    padding: 3px 8px;
    border-radius: 4px;
}

.gift-pad-formats[b-pwewr1hkav] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.gift-pad-format[b-pwewr1hkav] {
    text-align: left;
    padding: 10px 12px;
    border: 1px solid var(--sheet-edge);
    border-radius: 8px;
    background: var(--sheet);
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.gift-pad-format.is-on[b-pwewr1hkav] {
    outline: 2px solid var(--ink);
    outline-offset: 1px;
}
.gift-pad-format-no[b-pwewr1hkav] {
    display: block;
    font-family: var(--serif);
    font-size: 1.05rem;
}
.gift-pad-format-size[b-pwewr1hkav],
.gift-pad-format-for[b-pwewr1hkav] {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.gift-pad-howto[b-pwewr1hkav] {
    margin-top: 1.25rem;
}
.gift-pad-howto summary[b-pwewr1hkav] {
    cursor: pointer;
    font-size: 0.94rem;
    color: var(--ink);
}
/* /Components/HandCatalogBrowser.razor.rz.scp.css */
.hand-catalog-tabs[b-6aomuep7qt] {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.hand-catalog-tab[b-6aomuep7qt] {
  appearance: none;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--sheet-edge);
  border-radius: var(--radius-card);
  background: var(--paper);
  color: var(--text-secondary);
  font-family: var(--ui);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.hand-catalog-tab:hover[b-6aomuep7qt] {
  border-color: var(--text-secondary);
  color: var(--ink);
}

.hand-catalog-tab.is-on[b-6aomuep7qt] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.hand-catalog-blurb[b-6aomuep7qt] {
  margin: 0 0 16px;
}

.hand-catalog-desc[b-6aomuep7qt] {
  margin: 14px 0 0;
  max-width: 36rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.45;
}

.hand-catalog-guides[b-6aomuep7qt] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.hand-catalog-select[b-6aomuep7qt] {
  appearance: none;
  min-width: min(22rem, 100%);
  max-width: 100%;
  padding: 10px 36px 10px 12px;
  border: 1px solid var(--sheet-edge);
  border-radius: var(--radius-card);
  background:
    var(--sheet)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236E685A' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 0.95rem;
  line-height: 1.3;
  cursor: pointer;
}

.hand-catalog-select:hover:not(:disabled)[b-6aomuep7qt] {
  border-color: var(--text-secondary);
}

.hand-catalog-select:disabled[b-6aomuep7qt] {
  opacity: 0.55;
  cursor: default;
}

.hand-catalog-select option[b-6aomuep7qt] {
  font-family: var(--ui);
}
/* /Components/HowToGive.razor.rz.scp.css */
.how-to-give[b-2mq18iowjc] {
    text-align: left;
}
.how-to-give section + section[b-2mq18iowjc] {
    margin-top: 1.15rem;
}
.how-to-list[b-2mq18iowjc] {
    margin: 0.4rem 0 0;
    padding-left: 1.2rem;
    color: var(--text-primary);
    font-size: 0.94rem;
    line-height: 1.5;
}
.how-to-list li + li[b-2mq18iowjc] {
    margin-top: 0.35rem;
}
.how-to-sheet[b-2mq18iowjc] {
    margin: 0.35rem 0 0.5rem;
    font-family: var(--serif);
}
.how-to-envelope[b-2mq18iowjc] {
    margin-top: 0.65rem;
}
.how-to-give-sizes[b-2mq18iowjc] {
    list-style: disc;
}
/* /Components/Journal.razor.rz.scp.css */
/* ISO A5 twin: two 148×210 mm leaves in an open book, scaled to the stage by JS.
   Geometry uses CSS millimetres (see --a5-* / --journal-* in tokens). */
.journal-root[b-je1wunzh0f] {
    position: relative;
    width: 100%;
}
.journal-root.is-framed .journal-stage[b-je1wunzh0f],
.journal-root.is-framing .journal-stage[b-je1wunzh0f] {
    will-change: transform;
}
/* User has dragged / scaled — stage size is driven by JS, not the writing viewport crop. */
.journal-root.is-framed .journal-stage[b-je1wunzh0f] {
    max-width: none;
    aspect-ratio: calc(var(--journal-book-w) / var(--journal-book-h));
    height: auto;
}
.journal-root.is-framing[b-je1wunzh0f] {
    z-index: 7;
    user-select: none;
}
.journal-root.is-framing .book[b-je1wunzh0f] {
    transition: none !important;
}

/* Top strip + yellow band: grab to move. Top-right grip: pull to scale. */
.journal-drag[b-je1wunzh0f] {
    position: absolute;
    top: 0;
    left: 0;
    right: 28px;
    height: 18px;
    z-index: 7;
    cursor: grab;
    touch-action: none;
}
/* The closed cover's bookmark sits under this strip. Clicks belong to the ribbon. */
.journal-root.is-closed .journal-drag[b-je1wunzh0f] { pointer-events: none; }
.journal-root.is-framing .journal-drag[b-je1wunzh0f] { cursor: grabbing; }
.band[data-journal-drag][b-je1wunzh0f] {
    cursor: grab;
    touch-action: none;
    z-index: 7;
}
.journal-root.is-framing .band[data-journal-drag][b-je1wunzh0f] { cursor: grabbing; }

.journal-scale[b-je1wunzh0f] {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    z-index: 8;
    cursor: nesw-resize;
    touch-action: none;
    outline: none;
}
/* Quiet paper corner fold — readable on hover/focus, calm at rest. */
.journal-scale[b-je1wunzh0f]::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    opacity: 0.42;
    background:
        linear-gradient(
            to bottom left,
            color-mix(in srgb, var(--ink) 22%, transparent) 0%,
            color-mix(in srgb, var(--ink) 22%, transparent) 38%,
            transparent 39%
        );
    transition: opacity .2s ease;
}
.journal-scale:hover[b-je1wunzh0f]::before,
.journal-scale:focus-visible[b-je1wunzh0f]::before,
.journal-root.is-framing .journal-scale[b-je1wunzh0f]::before {
    opacity: 0.78;
}
@media (prefers-reduced-motion: reduce) {
    .journal-scale[b-je1wunzh0f]::before { transition: none; }
}

.journal-toolbar[b-je1wunzh0f] {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    padding: 0 4px;
}

.journal-fs-top[b-je1wunzh0f] {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 8;
}
.journal-fs-leave[b-je1wunzh0f] {
    background: color-mix(in srgb, var(--paper) 88%, transparent) !important;
    backdrop-filter: blur(6px);
}
.journal-fs-status[b-je1wunzh0f] {
    margin: 12px 0 0;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    color: color-mix(in srgb, var(--ink) 55%, transparent);
}

.journal-stage[b-je1wunzh0f] {
    position: relative;
    width: 100%;
    max-width: 940px;
    aspect-ratio: calc(var(--journal-book-w) / var(--journal-book-h));
    perspective: 2200px;
    margin: 0 auto;
    overflow: hidden;
}

.book[b-je1wunzh0f] {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--journal-book-w);
    height: var(--journal-book-h);
    transform-origin: top left;
    transition: transform .35s cubic-bezier(.36,.1,.3,1);
}
@media (prefers-reduced-motion: reduce) {
    .book[b-je1wunzh0f] { transition: none; }
}

/* ── cover ──
   Coloured board (preset via --cover*) with a quiet paper grain and soft
   handling wear — corners rubbed, edges slightly darker, dye a little uneven. */
.cover[b-je1wunzh0f] { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
/* Wax ribbon on the closed board. Hangs from the top edge, notched like a bookmark. */
.cover-bookmark[b-je1wunzh0f] {
    position: absolute;
    z-index: 6;
    top: calc((var(--journal-book-h) - var(--a5-h)) / 2);
    right: calc((var(--journal-book-w) - var(--a5-w)) / 2 + 18mm);
    width: 9mm;
    height: 28mm;
    padding: 0;
    border: none;
    background: var(--wax, #A03A26);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
    cursor: pointer;
    filter: drop-shadow(0.4mm 0.6mm 0.4mm rgba(43, 42, 36, .28));
}
.cover-bookmark:hover[b-je1wunzh0f],
.cover-bookmark:focus-visible[b-je1wunzh0f] {
    background: var(--wax-hover, #86301F);
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}
.cover-shadow[b-je1wunzh0f] {
    position: absolute; width: var(--a5-w); height: var(--a5-h); border-radius: 4mm;
    background:
        radial-gradient(ellipse 70% 55% at 40% 35%, #E0D2A8 0%, #D9CBA8 55%, #C9BB92 100%);
    transform: translate(2.5mm, 3mm);
    filter: blur(0.4px);
}
.cover-face[b-je1wunzh0f] {
    position: relative; width: var(--a5-w); height: var(--a5-h); border-radius: 4mm;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--cover-border, var(--eco-yellow-border)) 78%, var(--cover-type, var(--eco-yellow-type)));
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background-color: var(--cover, var(--eco-yellow));
    background-image:
        /* corner rub / handling wear */
        radial-gradient(ellipse 95% 70% at 6% 4%, rgba(60, 48, 20, 0.16), transparent 58%),
        radial-gradient(ellipse 85% 65% at 96% 97%, rgba(50, 40, 16, 0.18), transparent 55%),
        radial-gradient(ellipse 55% 42% at 92% 10%, rgba(70, 55, 24, 0.11), transparent 62%),
        radial-gradient(ellipse 48% 38% at 14% 82%, rgba(50, 40, 16, 0.10), transparent 58%),
        /* soft mid-board scuff */
        radial-gradient(ellipse 42% 22% at 38% 48%, rgba(60, 48, 20, 0.07), transparent 72%),
        /* uneven dye / slight sun fade */
        linear-gradient(
            168deg,
            var(--cover-hi, #F4C62E) 0%,
            var(--cover-mid, var(--eco-yellow)) 36%,
            var(--cover-mid, var(--eco-yellow)) 68%,
            var(--cover-lo, #D9A40A) 100%
        ),
        /* faint board fibers */
        repeating-linear-gradient(
            108deg,
            transparent 0 2px,
            rgba(60, 48, 20, 0.028) 2px 3px
        );
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, white 22%, transparent),
        inset 0 0 48px color-mix(in srgb, var(--cover-type, #8A6A06) 14%, transparent),
        inset 0 -20px 40px color-mix(in srgb, var(--cover-type, #8A6A06) 12%, transparent),
        inset 0 14px 28px color-mix(in srgb, white 14%, transparent);
}
/* Paper grain (SVG turbulence) — multiply so the yellow still reads. */
.cover-face[b-je1wunzh0f]::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    opacity: 0.38;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}
/* Worn rim + a couple of quiet scuffs. */
.cover-face[b-je1wunzh0f]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(ellipse 20% 11% at 24% 42%, rgba(80, 58, 8, 0.09), transparent 72%),
        radial-gradient(ellipse 16% 9% at 72% 58%, rgba(80, 58, 8, 0.07), transparent 70%),
        radial-gradient(ellipse 12% 7% at 58% 28%, rgba(255, 236, 170, 0.14), transparent 68%),
        linear-gradient(to right, rgba(90, 68, 12, 0.14), transparent 7%, transparent 93%, rgba(90, 68, 12, 0.16)),
        linear-gradient(to bottom, rgba(255, 240, 180, 0.16), transparent 11%, transparent 89%, rgba(90, 68, 12, 0.15));
    box-shadow: inset 0 0 0 1px rgba(130, 98, 18, 0.14);
}
.cover-face > *[b-je1wunzh0f] { position: relative; z-index: 2; }
.cover-center[b-je1wunzh0f] { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); }
.cover-mark[b-je1wunzh0f] {
    width: 96px;
    height: 96px;
    color: var(--ink);
    margin-bottom: 6px;
    opacity: 0.92;
}
.cover-word[b-je1wunzh0f] {
    font-family: var(--serif); font-weight: 600; font-size: 40px;
    letter-spacing: 0.42em; text-indent: 0.42em; color: var(--cover-type, var(--eco-yellow-type)); line-height: 1.05;
    opacity: 0.94;
}
/* The writer's own title on the board, in place of the QUIET / STANZA lockup. */
.cover-title[b-je1wunzh0f] {
    font-family: var(--serif); font-weight: 600;
    letter-spacing: 0.12em; text-indent: 0.12em; color: var(--cover-type, var(--eco-yellow-type));
    line-height: 1.15; text-align: center; text-wrap: balance;
    max-width: calc(var(--a5-w) - 24mm);
    overflow-wrap: anywhere;
    opacity: 0.94;
}
.cover-title-lg[b-je1wunzh0f] { font-size: 40px; }
.cover-title-md[b-je1wunzh0f] { font-size: 30px; }
.cover-title-sm[b-je1wunzh0f] { font-size: 23px; letter-spacing: 0.08em; text-indent: 0.08em; }
.cover-rule[b-je1wunzh0f] { width: 120px; height: 1.5px; background: var(--cover-rule, #C79E0C); margin: 6px 0; opacity: 0.88; }
.cover-sub[b-je1wunzh0f] { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--cover-type, var(--eco-yellow-type)); opacity: 0.92; }
.cover-footer[b-je1wunzh0f] {
    position: absolute; bottom: 26px; font-size: 10.5px; letter-spacing: 0.22em; color: var(--cover-accent, #A8850B);
    opacity: 0.88;
}
.cover-open[b-je1wunzh0f] { position: absolute; bottom: 12px; right: 20px; font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--cover-accent, #B08E10); }

/* ── spread ── */
.band[b-je1wunzh0f] {
    position: absolute; top: 0; left: 0; right: 0;
    height: var(--journal-band);
    border-radius: 2mm 2mm 0 0;
}
.spread[b-je1wunzh0f] { position: absolute; inset: 0; }
.leaf-host[b-je1wunzh0f] {
    position: absolute;
    top: var(--journal-leaf-top);
    width: var(--a5-w);
    height: var(--a5-h);
}
.leaf-host.left[b-je1wunzh0f] { left: 0; }
.leaf-host.right[b-je1wunzh0f] { left: calc(var(--a5-w) + var(--journal-gutter)); }

/* Right fore-edge: thin stack of sheets under the top page (kept inside the leaf). */
.leaf-host.right[b-je1wunzh0f]::before {
    content: "";
    position: absolute;
    top: 1mm;
    right: 0;
    bottom: 1.5mm;
    width: 1.5mm;
    z-index: 0;
    pointer-events: none;
    border-radius: 0 0.5mm 0.5mm 0;
    background:
        linear-gradient(90deg, rgba(90, 70, 40, 0.08), transparent 50%),
        repeating-linear-gradient(
            180deg,
            #F8F3E8 0 0.3mm,
            #EDE4D0 0.3mm 0.55mm,
            #E2D9C3 0.55mm 0.8mm
        );
    box-shadow: 0.3mm 0.3mm 0.5mm rgba(70, 55, 30, 0.10);
}
.leaf-host.right > .page[b-je1wunzh0f] {
    right: 1.2mm;
    z-index: 1;
    border-radius: 1mm 0.3mm 0.3mm 1mm;
    box-shadow:
        0.3mm 0 0 #F3ECDA,
        0.55mm 0.15mm 0 #E8DFC8,
        0.8mm 0.3mm 0 #DED4BC,
        1.05mm 0.4mm 0 #D4C9B0,
        1.3mm 0.5mm 0.8mm rgba(70, 55, 30, 0.10);
}

.gutter[b-je1wunzh0f] {
    position: absolute;
    top: var(--journal-leaf-top);
    left: var(--a5-w);
    width: var(--journal-gutter);
    height: var(--a5-h);
    background: linear-gradient(90deg, rgba(0,0,0,.10), rgba(0,0,0,.02) 40%, rgba(0,0,0,.02) 60%, rgba(0,0,0,.10));
}

/* ── a page ──
   True A5 leaf: cream + fiber + ruling. Margins match NotepadCatalog mm constants. */
.page[b-je1wunzh0f] {
    position: absolute; inset: 0;
    background-color: var(--sheet);
    border: 1px solid var(--sheet-edge);
    border-radius: 1mm;
    padding:
        var(--journal-margin-top)
        var(--journal-margin-x)
        calc(var(--journal-margin-bottom) + var(--journal-pagenum-band));
    overflow: hidden;
    color: var(--journal-ink);
    /* Ruling origin at the content top so lined pitch meets handwriting. */
    background-position: 0 0, 0 var(--journal-margin-top);
}
.page.paper-grid[b-je1wunzh0f] {
    background-position: 0 0, 0 var(--journal-margin-top), 0 var(--journal-margin-top);
}
.page.paper-dots[b-je1wunzh0f] {
    background-position: 0 0, 0 var(--journal-margin-top);
}
/* Quiet paper grain — multiply so the cream sheet and dots still read. */
.j-ink[b-je1wunzh0f] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.page.has-ink .j-date[b-je1wunzh0f],
.page.has-ink .j-title[b-je1wunzh0f],
.page.has-ink .j-author[b-je1wunzh0f],
.page.has-ink .j-line[b-je1wunzh0f] {
    color: transparent;
    position: relative;
    z-index: 2;
}
.page.has-ink[b-je1wunzh0f]  .j-word {
    color: transparent;
}
.page.has-ink[b-je1wunzh0f]  .j-word.lit {
    color: var(--wax);
}
.page[b-je1wunzh0f]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
    opacity: 0.28;
    mix-blend-mode: multiply;
    background-image:
        radial-gradient(ellipse 70% 50% at 18% 12%, rgba(160, 140, 100, 0.07), transparent 62%),
        radial-gradient(ellipse 55% 40% at 88% 78%, rgba(140, 120, 85, 0.06), transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
    background-size: auto, auto, 180px 180px;
}
.page-pending[b-je1wunzh0f] { opacity: 0.55; }
/* while the reader is inking it, the page is fully present and the lines carry the fade */
.page-pending.page-reading[b-je1wunzh0f] { opacity: 1; }

.j-date[b-je1wunzh0f] { text-align: right; font-family: var(--hand); font-size: calc(var(--sz) * 0.78); opacity: .62; }
.j-title[b-je1wunzh0f] { text-align: center; font-family: var(--hand); font-size: calc(var(--sz) * 1.22); line-height: 1.4; margin-top: 6px; }
.j-author[b-je1wunzh0f] { text-align: center; font-family: var(--hand); font-size: calc(var(--sz) * 0.78); opacity: .62; margin-bottom: 8px; }
.j-line[b-je1wunzh0f] { font-family: var(--hand); font-size: var(--sz); line-height: var(--pitch); white-space: pre-wrap; }

/* ── the reading cursor ──
   While the reader speaks, today's page inks as it goes: what has been said is written,
   what is coming waits faintly, and the word being spoken is lit.
   Word spans are built via RenderTreeBuilder (LineBody / HeaderWords), so they don't get
   the CSS-isolation attribute — ::deep reaches them. Line classes come from razor markup. */
.j-line-inked[b-je1wunzh0f] { opacity: 1; }
.j-line-ahead[b-je1wunzh0f] { opacity: .3; }
.j-line-reading[b-je1wunzh0f] { opacity: 1; }
/* Spoken words keep wax briefly, then decay into ink; .lit snaps on quickly. */
[b-je1wunzh0f] .j-word {
  color: var(--ink);
  transition: opacity .28s ease, color 1.1s ease;
}
[b-je1wunzh0f] .j-word-inked { opacity: 1; }
[b-je1wunzh0f] .j-word-ahead { opacity: .3; }
[b-je1wunzh0f] .j-word.lit {
  color: var(--wax);
  transition: opacity .28s ease, color .1s ease;
}

/* Transparent plastic writing ruler — desktop MakeWritingRuler. The strip stays fully present;
   only the handwritten line inside may be pencil-faint (j-line-ahead). */
.j-ruler[b-je1wunzh0f] {
  position: relative;
  z-index: 2;
  background: color-mix(in srgb, var(--rule-line) 33%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--rule-line) 69%, transparent);
  border-bottom: 1.5px solid color-mix(in srgb, var(--rule-line) 69%, transparent);
  margin: 0 -6px;
  padding: 2px 6px;
}
.j-ruler .j-line-ahead[b-je1wunzh0f] { opacity: .55; }
/* Header metrics keep their alignment inside the strip; drop outer gaps so the tint hugs the line. */
.j-ruler .j-title[b-je1wunzh0f] { margin-top: 0; }
.j-ruler .j-author[b-je1wunzh0f] { margin-bottom: 0; }
.j-pagenum[b-je1wunzh0f] {
    position: absolute;
    z-index: 2;
    bottom: var(--journal-margin-bottom);
    left: 0; right: 0;
    height: var(--journal-pagenum-band);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    font-family: var(--hand);
    font-size: calc(var(--sz) * 0.7);
    opacity: .5;
}
.j-index-title[b-je1wunzh0f] { text-align: center; font-family: var(--hand); font-size: calc(var(--sz) * 1.25); margin-bottom: 10px; }
.j-index-entry[b-je1wunzh0f] {
    display: block;
    font-family: var(--hand);
    font-size: calc(var(--sz) * 0.9);
    line-height: 1.7;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.j-index-entry:hover[b-je1wunzh0f],
.j-index-entry:focus-visible[b-je1wunzh0f] {
    color: var(--wax);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    outline: none;
}
.j-index-entry.pending[b-je1wunzh0f] { opacity: .5; }

/* ── the turning leaf (3D) ── */
.leaf[b-je1wunzh0f] {
    position: absolute;
    top: var(--journal-leaf-top);
    width: var(--a5-w);
    height: var(--a5-h);
    transform-style: preserve-3d;
    z-index: 5;
}
.leaf-right[b-je1wunzh0f] { left: calc(var(--a5-w) + var(--journal-gutter)); transform-origin: left center; }
.leaf-left[b-je1wunzh0f] { left: 0; transform-origin: right center; }
.leaf-face[b-je1wunzh0f] { position: absolute; inset: 0; backface-visibility: hidden; }
.leaf-back[b-je1wunzh0f] { transform: rotateY(180deg); }

/* ── corner hot-zones with a dog-ear fold ──
   A quiet paper curl at rest; hover deepens the fold without a UI “pop”. */
.corner[b-je1wunzh0f] {
    position: absolute;
    bottom: 0;
    width: 88px;
    height: 68px;
    cursor: pointer;
    z-index: 6;
    outline: none;
}
.corner-left[b-je1wunzh0f] { left: 0; }
.corner-right[b-je1wunzh0f] { right: 0; }

.dogear[b-je1wunzh0f] {
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 30px;
    pointer-events: none;
}
/* Soft shade where the corner lifts off the page. */
.dogear[b-je1wunzh0f]::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.28;
    transition: opacity .22s ease;
}
.corner-right .dogear[b-je1wunzh0f]::before {
    right: 0;
    background: linear-gradient(to top left, rgba(90, 70, 30, 0.18) 50%, transparent 50%);
}
.corner-left .dogear[b-je1wunzh0f]::before {
    left: 0;
    background: linear-gradient(to top right, rgba(90, 70, 30, 0.18) 50%, transparent 50%);
}
/* The folded flap — sheet-edge paper with a hairline crease. */
.dogear[b-je1wunzh0f]::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.72;
    transition: opacity .22s ease;
}
.corner-right .dogear[b-je1wunzh0f] {
    right: 0;
}
.corner-right .dogear[b-je1wunzh0f]::after {
    background:
        linear-gradient(
            to top left,
            #E6DCC4 0%,
            #E0D6BA 45%,
            #C9BD9E 46.5%,
            #C9BD9E 48%,
            transparent 49%
        );
}
.corner-left .dogear[b-je1wunzh0f] {
    left: 0;
}
.corner-left .dogear[b-je1wunzh0f]::after {
    background:
        linear-gradient(
            to top right,
            #E6DCC4 0%,
            #E0D6BA 45%,
            #C9BD9E 46.5%,
            #C9BD9E 48%,
            transparent 49%
        );
}
.corner:hover .dogear[b-je1wunzh0f]::before,
.corner:focus-visible .dogear[b-je1wunzh0f]::before { opacity: 0.42; }
.corner:hover .dogear[b-je1wunzh0f]::after,
.corner:focus-visible .dogear[b-je1wunzh0f]::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .dogear[b-je1wunzh0f]::before,
    .dogear[b-je1wunzh0f]::after { transition: none; }
}
/* /Components/NotebookSetup.razor.rz.scp.css */
.notebook-setup[b-56ij3cyk61] {
  width: 100%;
  max-width: 36rem;
  text-align: left;
}

.notebook-setup-lead[b-56ij3cyk61] {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink-soft);
}

.notebook-setup-support[b-56ij3cyk61] {
  margin: 0.55rem 0 1.1rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.notebook-setup-hint[b-56ij3cyk61] {
  margin: 0.2rem 0 0.65rem;
}

.notebook-setup-preview[b-56ij3cyk61] {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 1.15rem;
}

.notebook-setup-cover[b-56ij3cyk61],
.notebook-setup-sheet[b-56ij3cyk61] {
  flex: 1;
  min-height: 7.5rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.notebook-setup-cover[b-56ij3cyk61] {
  background-color: var(--cover, var(--eco-yellow));
  background-image: linear-gradient(
    168deg,
    var(--cover-hi, #F4C62E) 0%,
    var(--cover-mid, var(--eco-yellow)) 40%,
    var(--cover-lo, #D9A40A) 100%
  );
  border: 1px solid color-mix(in srgb, var(--cover-border, var(--eco-yellow-border)) 80%, var(--cover-type, var(--eco-yellow-type)));
  color: var(--cover-type, var(--eco-yellow-type));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.notebook-setup-mark[b-56ij3cyk61] {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--ink);
  opacity: 0.88;
}

.notebook-setup-cover-title[b-56ij3cyk61] {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-align: center;
  max-width: 88%;
  overflow-wrap: anywhere;
  opacity: 0.94;
}

.notebook-setup-cover-label[b-56ij3cyk61] {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}

.notebook-title[b-56ij3cyk61] {
  width: 100%;
  margin-bottom: 1rem;
  font-family: var(--serif);
}

.notebook-setup-sheet[b-56ij3cyk61] {
  border: 1px solid var(--sheet-edge);
  color: var(--text-secondary);
}

.notebook-setup-sheet-label[b-56ij3cyk61] {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  background: color-mix(in srgb, var(--sheet) 88%, transparent);
  padding: 3px 8px;
  border-radius: 4px;
}

.notebook-cover-row[b-56ij3cyk61] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.notebook-cover-swatch[b-56ij3cyk61] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.68rem;
}

.notebook-cover-swatch-face[b-56ij3cyk61] {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 7px;
  background: var(--swatch);
  border: 1.5px solid var(--swatch-border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.notebook-cover-swatch:hover .notebook-cover-swatch-face[b-56ij3cyk61] {
  transform: translateY(-1px);
}

.notebook-cover-swatch.is-on .notebook-cover-swatch-face[b-56ij3cyk61] {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 0 1px var(--swatch-border);
}

.notebook-cover-swatch.is-on .notebook-cover-swatch-name[b-56ij3cyk61] {
  color: var(--ink);
  font-weight: 600;
}

.notebook-paper-opt[b-56ij3cyk61] {
  min-width: 5.5rem;
}

.notebook-spacing-row[b-56ij3cyk61] {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0.25rem;
}

.notebook-spacing[b-56ij3cyk61] {
  flex: 1;
  min-width: 0;
}

.notebook-spacing-num[b-56ij3cyk61] {
  width: 4.2rem;
  padding: 6px 8px;
  border: 1px solid var(--sheet-edge);
  border-radius: 6px;
  background: var(--sheet);
  color: var(--text-primary);
  font: inherit;
  font-variant-numeric: tabular-nums;
}

.notebook-spacing-unit[b-56ij3cyk61] {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
/* /Components/OnboardingTour.razor.rz.scp.css */
/* ═══ first-open tour — cinematic prologue + desk spotlights ═══ */

.onboarding[b-59v7sap59r] {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  color: var(--text-primary);
  outline: none;
  transition: opacity 0.7s ease;
}

/* The card thins away and the closed cover — same lockup, already fullscreen — is the object. */
.onboarding.is-revealing[b-59v7sap59r] {
  opacity: 0;
  pointer-events: none;
}

/* —— prologue (full-bleed) —— */
.onboarding-prologue[b-59v7sap59r] {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 6vw, 64px);
  text-align: center;
  background:
    radial-gradient(ellipse 80% 55% at 50% 28%, var(--sheet) 0%, transparent 70%),
    linear-gradient(165deg, #EDE6D4 0%, var(--paper) 45%, #E8E0CE 100%);
  overflow: auto;
}

.onboarding-prologue[b-59v7sap59r]::before {
  content: "";
  position: absolute;
  inset: 12% 8% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule-line), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.onboarding-stage[b-59v7sap59r] {
  position: relative;
  width: min(36rem, 100%);
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* The same shape as a personal invite email: kicker, a name, a rule, then one card. */
.onboarding-stage-letter[b-59v7sap59r] {
  width: min(40rem, 100%);
  align-items: stretch;
}

.onboarding-invite[b-59v7sap59r] {
  text-align: center;
}

.onboarding-invite-kicker[b-59v7sap59r] {
  margin: 0;
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wax);
}

.onboarding-invite-names[b-59v7sap59r] {
  margin: 0.2rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.85rem;
  line-height: 1.15;
  color: var(--ink);
}

.onboarding-invite-rule[b-59v7sap59r] {
  height: 2px;
  width: 4.1rem;
  margin: 0.75rem auto 1.05rem;
  background: var(--gold);
}

.onboarding-letter[b-59v7sap59r] {
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid var(--sheet-edge);
  border-radius: 16px;
  padding: 1.35rem 1.45rem 1.15rem;
  text-align: left;
}

.onboarding-invite-to[b-59v7sap59r] {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  text-align: left;
}

.onboarding-letter-body[b-59v7sap59r] {
  font-family: var(--hand);
  font-size: 1.02rem;
  font-weight: 380;
  line-height: 1.55;
}

.onboarding-letter-body p[b-59v7sap59r] {
  margin: 0 0 0.7rem;
}

.onboarding-invite-ask[b-59v7sap59r] {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-soft);
}

.onboarding-invite-action[b-59v7sap59r] {
  margin: 0.85rem 0 0;
  text-align: center;
}

.onboarding-invite-cta:disabled[b-59v7sap59r] {
  opacity: 0.45;
  cursor: not-allowed;
}

.onboarding-signoff[b-59v7sap59r] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.onboarding-avatar[b-59v7sap59r] {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid var(--sheet-edge);
  flex: none;
}

.onboarding-regards[b-59v7sap59r] {
  margin: 0;
  font-family: var(--hand);
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--ink-soft);
}

.onboarding-invite-cta[b-59v7sap59r] {
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 1rem;
}

.onboarding-invite-sign[b-59v7sap59r] {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink);
  text-align: left;
}

.onboarding-invite-links[b-59v7sap59r] {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.onboarding-letter-to[b-59v7sap59r] {
  width: min(14rem, 100%);
  margin: 0;
  padding: 2px 4px;
  border: none;
  border-bottom: 1px solid var(--rule-line);
  border-radius: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 1.2rem;
  text-align: left;
}

.onboarding-letter-to:focus[b-59v7sap59r] {
  border-color: var(--wax);
  box-shadow: none;
}

.onboarding-ready-title[b-59v7sap59r] {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  line-height: 1.15;
  color: var(--ink);
}

.onboarding-ready[b-59v7sap59r],
.onboarding-poem[b-59v7sap59r] {
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid var(--sheet-edge);
  border-radius: 16px;
  padding: 1.15rem 1.35rem 1.15rem;
  text-align: left;
}

.onboarding-ready-lead[b-59v7sap59r],
.onboarding-poem-ask[b-59v7sap59r] {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.onboarding-poem-ask[b-59v7sap59r] {
  margin: 0.9rem 0 0;
}

.onboarding-checks[b-59v7sap59r] {
  list-style: none;
  margin: 0;
  padding: 0;
}

.onboarding-check[b-59v7sap59r] {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.8rem 0.1rem;
  border-top: 1px solid var(--rule-line);
  cursor: pointer;
}

.onboarding-check input[b-59v7sap59r] {
  appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.15rem 0 0;
  flex: none;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: transparent;
  display: grid;
  place-content: center;
  cursor: pointer;
}

.onboarding-check input:checked[b-59v7sap59r] {
  background: var(--ink);
}

.onboarding-check input:checked[b-59v7sap59r]::after {
  content: "";
  width: 0.28rem;
  height: 0.55rem;
  border: solid var(--sheet);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.onboarding-check input:focus-visible[b-59v7sap59r] {
  outline: 2px solid var(--wax);
  outline-offset: 3px;
}

.onboarding-check-label[b-59v7sap59r],
.onboarding-check-note[b-59v7sap59r] {
  display: block;
}

.onboarding-check-label[b-59v7sap59r] {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.onboarding-check-note[b-59v7sap59r] {
  margin-top: 0.15rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

.onboarding-poem-title[b-59v7sap59r] {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.2;
  text-align: center;
}

.onboarding-poem-by[b-59v7sap59r] {
  margin: 0.2rem 0 0.85rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  text-align: center;
  color: var(--text-secondary);
}

.onboarding-poem-lines[b-59v7sap59r] {
  margin: 0;
  font-family: var(--hand);
  font-size: 0.98rem;
  font-weight: 380;
  line-height: 1.55;
  white-space: pre-wrap;
  text-align: left;
}

.onboarding-notebook[b-59v7sap59r] {
  margin-top: 0.35rem;
}

.onboarding-notebook .notebook-setup-lead[b-59v7sap59r] {
  font-family: var(--hand);
  font-weight: 400;
  text-align: center;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}

.onboarding-notebook .notebook-setup-support[b-59v7sap59r] {
  text-align: center;
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
}

.onboarding-mark[b-59v7sap59r] {
  width: 5.5rem;
  height: 5.5rem;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.onboarding-brand[b-59v7sap59r] {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.onboarding-eyebrow[b-59v7sap59r] {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.onboarding-lead[b-59v7sap59r] {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 22em;
}

.onboarding-support[b-59v7sap59r] {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 28em;
}

.onboarding-ink-line[b-59v7sap59r] {
  width: 0;
  height: 2px;
  margin: 1.35rem auto 0;
  background: var(--wax);
  border-radius: 1px;
}

/* prologue enter motion */
.onboarding-beat-enter .onboarding-mark[b-59v7sap59r] {
  animation: onboarding-stamp-b-59v7sap59r 0.7s cubic-bezier(0.2, 0.85, 0.25, 1) both;
}
.onboarding-beat-enter .onboarding-brand[b-59v7sap59r],
.onboarding-beat-enter .onboarding-eyebrow[b-59v7sap59r],
.onboarding-beat-enter .onboarding-lead[b-59v7sap59r],
.onboarding-beat-enter .onboarding-support[b-59v7sap59r] {
  animation: onboarding-rise-b-59v7sap59r 0.65s ease both;
}
.onboarding-beat-enter .onboarding-brand[b-59v7sap59r] { animation-delay: 0.08s; }
.onboarding-beat-enter .onboarding-eyebrow[b-59v7sap59r] { animation-delay: 0.12s; }
.onboarding-beat-enter .onboarding-lead[b-59v7sap59r] { animation-delay: 0.18s; }
.onboarding-beat-enter .onboarding-support[b-59v7sap59r] { animation-delay: 0.28s; }
.onboarding-beat-enter .onboarding-ink-line[b-59v7sap59r] {
  animation: onboarding-draw-b-59v7sap59r 0.55s ease 0.35s both;
}

@keyframes onboarding-stamp-b-59v7sap59r {
  from { opacity: 0; transform: scale(1.35) rotate(-4deg); }
  60% { opacity: 1; transform: scale(0.96) rotate(0.5deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes onboarding-rise-b-59v7sap59r {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes onboarding-draw-b-59v7sap59r {
  from { width: 0; opacity: 0.4; }
  to { width: 4.5rem; opacity: 1; }
}

/* —— spotlight phase —— */
.onboarding-spot[b-59v7sap59r] {
  flex: 1;
  position: relative;
  pointer-events: none;
}

.onboarding-veil[b-59v7sap59r] {
  position: fixed;
  inset: 0;
  background: rgba(31, 40, 51, 0.55);
  animation: onboarding-veil-in-b-59v7sap59r 0.35s ease both;
  pointer-events: auto;
}
/* When a hole cutout paints the dimming, keep this layer for click-catch only. */
.onboarding-veil.is-cutout[b-59v7sap59r] {
  background: transparent;
  animation: none;
}

.onboarding-hole[b-59v7sap59r] {
  position: fixed;
  border-radius: 10px;
  box-shadow: 0 0 0 9999px rgba(31, 40, 51, 0.55);
  outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent);
  outline-offset: 3px;
  pointer-events: none;
  transition: top 0.28s ease, left 0.28s ease, width 0.28s ease, height 0.28s ease;
  animation: onboarding-pulse-b-59v7sap59r 1.8s ease-in-out 0.2s 2;
  z-index: 1;
}

.onboarding-callout[b-59v7sap59r] {
  position: fixed;
  z-index: 2;
  width: min(22rem, calc(100vw - 32px));
  padding: 18px 20px 16px;
  background: var(--sheet);
  border: 1px solid var(--sheet-edge);
  border-radius: var(--radius-sheet);
  box-shadow: 0 14px 36px rgba(43, 42, 36, 0.28);
  pointer-events: auto;
  animation: onboarding-rise-b-59v7sap59r 0.4s ease both;
}

.onboarding-callout.is-fallback[b-59v7sap59r] {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.onboarding-callout .onboarding-eyebrow[b-59v7sap59r] { text-align: left; }
.onboarding-callout .onboarding-lead[b-59v7sap59r] {
  font-size: 1.25rem;
  text-align: left;
  max-width: none;
}
.onboarding-callout .onboarding-support[b-59v7sap59r] {
  text-align: left;
  margin-top: 0.55rem;
  font-size: 0.92rem;
}

@keyframes onboarding-veil-in-b-59v7sap59r {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes onboarding-pulse-b-59v7sap59r {
  0%, 100% { outline-color: color-mix(in srgb, var(--gold) 55%, transparent); }
  50% { outline-color: color-mix(in srgb, var(--gold) 95%, transparent); }
}

/* —— chrome (dots + actions) —— */
.onboarding-chrome[b-59v7sap59r] {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px 22px;
  pointer-events: auto;
}

/* The bar sits over whatever page is underneath. Keep it the same cream as the
   foot of the card so settings controls don't show through. */
.onboarding-prologue + .onboarding-chrome[b-59v7sap59r] {
  background: #E8E0CE;
}

.onboarding-spot ~ .onboarding-chrome[b-59v7sap59r] {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(31, 40, 51, 0.45) 35%);
}

.onboarding-dots[b-59v7sap59r] {
  display: flex;
  gap: 7px;
  align-items: center;
}

.onboarding-dot[b-59v7sap59r] {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--text-secondary) 45%, transparent);
  transition: transform 0.2s ease, background 0.2s ease;
}

.onboarding-dot.is-on[b-59v7sap59r] {
  background: var(--wax);
  transform: scale(1.25);
}

.onboarding-actions[b-59v7sap59r] {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
}

.onboarding-back[b-59v7sap59r] {
  background: none;
  border: 1px solid var(--sheet-edge);
  border-radius: var(--radius-card);
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 8px 14px;
}

.onboarding-back:hover[b-59v7sap59r] { color: var(--ink); border-color: var(--text-secondary); }

.onboarding-spot ~ .onboarding-chrome .onboarding-back[b-59v7sap59r] {
  color: color-mix(in srgb, var(--sheet) 85%, white);
  border-color: color-mix(in srgb, var(--sheet) 40%, transparent);
}
.onboarding-spot ~ .onboarding-chrome .onboarding-back:hover[b-59v7sap59r] {
  color: var(--sheet);
  border-color: var(--sheet);
}

.onboarding-skip[b-59v7sap59r] {
  background: none;
  border: none;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 8px 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.onboarding-spot ~ .onboarding-chrome .onboarding-skip[b-59v7sap59r] {
  color: color-mix(in srgb, var(--sheet) 85%, white);
}

.onboarding-skip:hover[b-59v7sap59r] { color: var(--ink); }
.onboarding-spot ~ .onboarding-chrome .onboarding-skip:hover[b-59v7sap59r] {
  color: var(--sheet);
}

@media (max-width: 1199px) {
  .onboarding-spot ~ .onboarding-chrome[b-59v7sap59r] {
    bottom: var(--dock-height, 0px);
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 560px) {
  .onboarding-mark[b-59v7sap59r] { width: 4.2rem; height: 4.2rem; }
  .onboarding-chrome[b-59v7sap59r] {
    flex-wrap: wrap;
    justify-content: center;
  }
  .onboarding-actions[b-59v7sap59r] { margin-left: 0; width: 100%; justify-content: center; }
  .onboarding-prologue[b-59v7sap59r] { padding: 24px 16px; }
}

/* —— preference beats (name / skill / catalogue) —— */
.onboarding-stage-wide[b-59v7sap59r] {
  width: min(40rem, 100%);
  min-height: 16rem;
}

.onboarding-field[b-59v7sap59r] {
  display: block;
  width: min(18rem, 100%);
  margin: 1.4rem auto 0;
}

.onboarding-input[b-59v7sap59r] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sheet-edge);
  border-radius: var(--radius-card);
  background: var(--sheet);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  text-align: center;
  outline: none;
}

.onboarding-input:focus[b-59v7sap59r] {
  border-color: var(--wax);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--wax) 22%, transparent);
}

.onboarding-skill-row[b-59v7sap59r] {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(28rem, 100%);
  margin: 1.35rem auto 0;
  text-align: left;
}

.onboarding-skill[b-59v7sap59r] {
  appearance: none;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--sheet-edge);
  border-radius: var(--radius-sheet);
  background: var(--sheet);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.onboarding-skill:hover[b-59v7sap59r] {
  border-color: var(--text-secondary);
}

.onboarding-skill.is-on[b-59v7sap59r] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.onboarding-skill-label[b-59v7sap59r] {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.onboarding-skill-blurb[b-59v7sap59r] {
  display: block;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.onboarding-skill.is-on .onboarding-skill-blurb[b-59v7sap59r] {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}

.onboarding-pick[b-59v7sap59r] {
  justify-content: flex-start;
  padding-top: clamp(20px, 4vh, 40px);
  overflow: auto;
}

.onboarding-pick .onboarding-stage-wide[b-59v7sap59r] {
  justify-content: flex-start;
  min-height: 0;
}

[b-59v7sap59r] .onboarding-catalog {
  width: 100%;
  margin-top: 1.1rem;
  text-align: left;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--sheet) 88%, transparent);
  border: 1px solid var(--sheet-edge);
  border-radius: var(--radius-sheet);
}

.onboarding-pick-hint[b-59v7sap59r],
.onboarding-pick-ok[b-59v7sap59r] {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.onboarding-pick-ok[b-59v7sap59r] {
  color: var(--laurel);
}

/* —— the try-out sitting —— */
.onboarding-try[b-59v7sap59r] {
  width: min(34rem, 100%);
  margin: 1.3rem auto 0;
  text-align: left;
}

/* the real cue, boxed like the desk's */
.onboarding-try[b-59v7sap59r]  .cue {
  background: color-mix(in srgb, var(--sheet) 88%, transparent);
  border: 1px solid var(--sheet-edge);
  border-radius: var(--radius-sheet);
  padding: 14px 18px;
}

/* A slip of the writer's chosen paper. Ruling/fiber come from the global
   sheet-ruled/paper-* classes; --paper-pitch is set inline from their notebook. */
.onboarding-demo-page[b-59v7sap59r] {
  margin-top: 12px;
  padding: 16px 22px 14px;
  border: 1px solid var(--sheet-edge);
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(43, 42, 36, 0.12);
}

.onboarding-demo-date[b-59v7sap59r] {
  font-family: var(--hand);
  color: var(--demo-ink);
  font-size: calc(var(--paper-pitch) * 0.72);
  text-align: right;
  opacity: 0.62;
  margin-bottom: 4px;
}

/* Writes on every other rule — a natural hand on 5 mm ruling. */
.onboarding-demo-line[b-59v7sap59r] {
  font-family: var(--hand);
  color: var(--demo-ink);
  font-size: calc(var(--paper-pitch) * 1.05);
  line-height: calc(var(--paper-pitch) * 2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.28s ease;
}

.onboarding-demo-source[b-59v7sap59r] {
  font-family: var(--hand);
  color: var(--demo-ink);
  font-size: calc(var(--paper-pitch) * 0.72);
  text-align: right;
  margin-top: 6px;
  transition: opacity 0.28s ease;
}

/* the journal's grammar: ink is present, what's to come waits faintly,
   and a faint rule sits under the line in hand */
.onboarding-demo-line.is-inked[b-59v7sap59r] { opacity: 1; }
.onboarding-demo-line.is-ahead[b-59v7sap59r] { opacity: 0.3; }
.onboarding-demo-source.is-inked[b-59v7sap59r] { opacity: 0.62; }
.onboarding-demo-source.is-ahead[b-59v7sap59r] { opacity: 0.25; }
.onboarding-demo-line.is-ruled[b-59v7sap59r] {
  box-shadow: inset 0 -1px 0 0 rgba(192, 106, 80, 0.5);
}

.onboarding-try-ink[b-59v7sap59r] {
  margin-top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .onboarding-demo-line[b-59v7sap59r],
  .onboarding-demo-source[b-59v7sap59r] {
    transition: none !important;
  }
}

.visually-hidden[b-59v7sap59r] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .onboarding[b-59v7sap59r] { transition: none; }
  .onboarding-beat-enter .onboarding-mark[b-59v7sap59r],
  .onboarding-beat-enter .onboarding-brand[b-59v7sap59r],
  .onboarding-beat-enter .onboarding-eyebrow[b-59v7sap59r],
  .onboarding-beat-enter .onboarding-lead[b-59v7sap59r],
  .onboarding-beat-enter .onboarding-support[b-59v7sap59r],
  .onboarding-beat-enter .onboarding-ink-line[b-59v7sap59r],
  .onboarding-veil[b-59v7sap59r],
  .onboarding-hole[b-59v7sap59r],
  .onboarding-callout[b-59v7sap59r] {
    animation: none !important;
    transition: none !important;
  }
  .onboarding-ink-line[b-59v7sap59r] { width: 4.5rem; }
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* Shell styles live in wwwroot/css/tokens.css because NavLink anchors are child-component
   elements that Blazor CSS isolation does not scope. */
/* /Pages/Journey.razor.rz.scp.css */
.journey-page[b-9zg44huc88] {
    max-width: 960px;
}

.journey-head[b-9zg44huc88] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.journey-head .page-title[b-9zg44huc88] {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.journey-head .eyebrow[b-9zg44huc88] {
    margin-bottom: 2px;
}

.journey-head-actions[b-9zg44huc88] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.journal-shelf[b-9zg44huc88] {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 28px;
    align-items: flex-end;
}

.journal-shelf-book[b-9zg44huc88],
.journal-shelf-new[b-9zg44huc88] {
    width: 148px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    color: inherit;
    font-family: var(--ui);
}

.journal-shelf-cover[b-9zg44huc88] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 210px;
    border-radius: 3px 10px 10px 3px;
    background: var(--cover, var(--eco-yellow));
    color: var(--cover-type, var(--eco-yellow-type));
    border: 1px solid var(--cover-border, var(--eco-yellow-border));
    box-shadow: 5px 8px 18px rgba(43, 42, 36, .14);
}

.journal-shelf-book:hover .journal-shelf-cover[b-9zg44huc88],
.journal-shelf-book:focus-visible .journal-shelf-cover[b-9zg44huc88] {
    transform: translateY(-3px);
}

.journal-shelf-mark[b-9zg44huc88] {
    width: 42px;
    height: 42px;
}

/* The ribbon: hangs over the top board of the open journal, top right. On the others it
   only shows on hover, as an offer. */
.journal-shelf-slot[b-9zg44huc88] {
    position: relative;
    width: 148px;
}

.journal-shelf-bookmark[b-9zg44huc88] {
    position: absolute;
    top: -5px;
    right: 18px;
    width: 15px;
    height: 29px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--wax);
    opacity: 0;
    filter: drop-shadow(1px 2px 2px rgba(43, 42, 36, .28));
    transition: opacity .15s ease, transform .15s ease, color .15s ease;
}

.journal-shelf-bookmark svg[b-9zg44huc88] {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.journal-shelf-slot.is-open .journal-shelf-bookmark[b-9zg44huc88] {
    opacity: 1;
    cursor: default;
}

.journal-shelf-slot:not(.is-open):hover .journal-shelf-bookmark[b-9zg44huc88],
.journal-shelf-slot:not(.is-open) .journal-shelf-bookmark:focus-visible[b-9zg44huc88] {
    opacity: .45;
    color: var(--ink);
}

.journal-shelf-slot:not(.is-open) .journal-shelf-bookmark:hover[b-9zg44huc88],
.journal-shelf-slot:not(.is-open) .journal-shelf-bookmark:focus-visible[b-9zg44huc88] {
    opacity: 1;
    color: var(--wax);
}

.journal-shelf-bookmark:disabled[b-9zg44huc88] {
    pointer-events: none;
}

.journal-shelf-book:hover ~ .journal-shelf-bookmark[b-9zg44huc88],
.journal-shelf-book:focus-visible ~ .journal-shelf-bookmark[b-9zg44huc88] {
    transform: translateY(-3px);
}

.journal-shelf-id[b-9zg44huc88] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.journal-shelf-title[b-9zg44huc88] {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: center;
    max-width: 100%;
    overflow-wrap: anywhere;
    margin-bottom: 2px;
}

.journal-shelf-vol[b-9zg44huc88] {
    font-family: var(--serif);
    font-size: 15px;
    letter-spacing: 0.08em;
}

.journal-shelf-date[b-9zg44huc88] {
    font-family: var(--serif);
    font-style: italic;
    font-size: 12px;
    letter-spacing: 0.01em;
    text-align: center;
    opacity: 0.9;
}

.journal-shelf-book:hover .journal-shelf-pad[b-9zg44huc88],
.journal-shelf-book:focus-visible .journal-shelf-pad[b-9zg44huc88] {
    transform: translateY(-3px);
}

.journal-shelf-pad[b-9zg44huc88] {
    position: relative;
    display: block;
    width: 148px;
    height: 210px;
}

.journal-shelf-pad-board[b-9zg44huc88] {
    position: absolute;
    top: 36px;
    right: 6px;
    bottom: 8px;
    left: 34px;
    border-radius: 2px 6px 6px 2px;
    background: var(--pad-cover, #FF6A00);
    border: 1px solid color-mix(in srgb, var(--pad-board, #C24F00) 70%, #111);
    box-shadow: 5px 8px 16px rgba(43, 42, 36, .14);
}

.journal-shelf-pad-leaf[b-9zg44huc88] {
    position: absolute;
    top: 10px;
    left: 8px;
    width: 118px;
    height: 176px;
    display: flex;
    flex-direction: column;
    background: var(--sheet, #f6f1e6);
    border: 1px solid var(--sheet-edge);
    border-radius: 1px;
    box-shadow: 3px 6px 12px rgba(43, 42, 36, .16);
    transform: rotate(-2deg);
    color: var(--ink);
}

/* Staple band across the top of the leaf: the pad's own orange, Quiet Stanza in white. */
.journal-shelf-pad-stub[b-9zg44huc88] {
    height: 24px;
    flex: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 6px;
    background: var(--pad-cover, #FF6A00);
    border-bottom: 1px solid color-mix(in srgb, var(--pad-board, #C24F00) 70%, #111);
    color: #fff;
}

.journal-shelf-pad-stub-mark[b-9zg44huc88] {
    width: 13px;
    height: 13px;
    opacity: 0.95;
}

.journal-shelf-pad-stub-word[b-9zg44huc88] {
    font-family: var(--serif);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    line-height: 1;
}

.journal-shelf-pad-id[b-9zg44huc88] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 8px 10px;
    text-align: center;
}

.journal-shelf-pad-no[b-9zg44huc88] {
    font-family: var(--ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.journal-shelf-meta[b-9zg44huc88] {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.journal-shelf-new[b-9zg44huc88] {
    height: 210px;
    margin-bottom: 22px;
    border: 1px dashed var(--sheet-edge);
    border-radius: 10px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
}

.journal-shelf-new:hover[b-9zg44huc88],
.journal-shelf-new:focus-visible[b-9zg44huc88] {
    color: var(--ink);
    border-color: var(--text-secondary);
}

.journal-shelf-new-plus[b-9zg44huc88] {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1;
}

.journal-setup-sheet[b-9zg44huc88] {
    width: min(720px, 100%);
}

.journal-setup-intent[b-9zg44huc88] {
    margin: 0 0 16px;
    max-width: 40rem;
}

.journal-setup-intent p[b-9zg44huc88] {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.journal-setup-intent .journal-setup-intent-lead[b-9zg44huc88] {
    margin: 0 0 0.45rem;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.8vw, 1.45rem);
    line-height: 1.35;
    font-weight: 500;
    color: var(--ink-soft);
}

.journal-compare[b-9zg44huc88] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 2px 0 12px;
}

.journal-compare-card[b-9zg44huc88] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--sheet-edge);
    border-radius: 10px;
    background: var(--sheet);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.journal-compare-card.is-on[b-9zg44huc88] {
    outline: 2px solid var(--ink);
    outline-offset: 1px;
}

.journal-compare-stage[b-9zg44huc88] {
    width: 100%;
    height: 148px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: color-mix(in srgb, var(--paper, #f3efe4) 55%, var(--sheet));
}

.journal-compare-book[b-9zg44huc88] {
    display: flex;
    width: 108px;
    height: 124px;
    border-radius: 2px 8px 8px 2px;
    overflow: hidden;
    background-color: var(--cover, var(--eco-yellow));
    background-image: linear-gradient(
        168deg,
        var(--cover-hi, #F4C62E) 0%,
        var(--cover-mid, var(--eco-yellow)) 42%,
        var(--cover-lo, #D9A40A) 100%
    );
    color: var(--cover-type, var(--eco-yellow-type));
    border: 1px solid color-mix(in srgb, var(--cover-border, var(--eco-yellow-border)) 80%, var(--cover-type, #3a2a10));
    box-shadow: 5px 8px 16px rgba(43, 42, 36, .16);
}

.journal-compare-spine[b-9zg44huc88] {
    width: 11px;
    background: color-mix(in srgb, var(--cover-lo, #000) 72%, #1a1408);
}

.journal-compare-face[b-9zg44huc88] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journal-compare-mark[b-9zg44huc88] {
    width: 36px;
    height: 36px;
    color: var(--cover-type, var(--ink));
    opacity: 0.9;
}

.journal-compare-block[b-9zg44huc88] {
    width: 8px;
    background: repeating-linear-gradient(
        to right,
        #f6f1e6 0 1px,
        #e3dccb 1px 2px
    );
}

.journal-compare-pad[b-9zg44huc88] {
    position: relative;
    width: 108px;
    height: 124px;
}

.journal-compare-board[b-9zg44huc88] {
    position: absolute;
    top: 10px;
    right: 0;
    bottom: 0;
    left: 12px;
    border-radius: 2px 5px 5px 2px;
    background: var(--pad-cover, #FF6A00);
    border: 1px solid color-mix(in srgb, var(--pad-board, #C24F00) 70%, #111);
    box-shadow: 4px 6px 12px rgba(43, 42, 36, .12);
}

.journal-compare-leaf[b-9zg44huc88] {
    position: absolute;
    top: 0;
    left: 0;
    width: 92px;
    height: 112px;
    border: 1px solid var(--sheet-edge);
    border-radius: 1px;
    box-shadow: 3px 6px 12px rgba(43, 42, 36, .16);
    transform: rotate(-1.5deg);
}

.journal-compare-stub[b-9zg44huc88] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 18px;
    background: #1c1c1c;
}

.journal-compare-perf[b-9zg44huc88] {
    position: absolute;
    top: 18px;
    left: 4px;
    right: 4px;
    border-top: 1px dashed rgba(43, 42, 36, .55);
}

.journal-compare-name[b-9zg44huc88] {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--ink-soft);
}

.journal-compare-line[b-9zg44huc88] {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.journal-compare-why[b-9zg44huc88] {
    margin: 0 0 16px;
    max-width: 40rem;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

@media (max-width: 560px) {
    .journal-compare[b-9zg44huc88] {
        grid-template-columns: 1fr;
    }
}

.journal-pad-volume[b-9zg44huc88] {
    margin: 14px 0 0;
}

.journey-mode[b-9zg44huc88] {
    display: inline-flex;
    border: 1px solid var(--sheet-edge);
    border-radius: 999px;
    overflow: hidden;
    background: var(--sheet);
}

.journey-mode-btn[b-9zg44huc88] {
    border: none;
    background: transparent;
    font-family: var(--ui);
    font-size: 12px;
    padding: 6px 12px;
    cursor: pointer;
    color: var(--text-secondary);
}

.journey-mode-btn.is-on[b-9zg44huc88] {
    background: var(--ink);
    color: var(--paper);
}

.journey-filters[b-9zg44huc88] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 4px;
}

.journey-chip[b-9zg44huc88] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 9px;
    border: 1px solid var(--sheet-edge);
    border-radius: 999px;
    background: var(--sheet);
    font-family: var(--ui);
    font-size: 12px;
    color: var(--text-primary);
    cursor: pointer;
}

.journey-chip:hover[b-9zg44huc88] {
    border-color: var(--text-secondary);
}

.journey-chip.is-on[b-9zg44huc88] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

.journey-chip-name[b-9zg44huc88] {
    font-family: var(--serif);
    font-size: 13px;
}

.journey-chip-level[b-9zg44huc88] {
    font-size: 10px;
    min-width: 1.1em;
    text-align: center;
    opacity: 0.75;
}

.journey-status[b-9zg44huc88] {
    margin: 6px 0 0;
}

.journey-main[b-9zg44huc88] {
    margin-top: 10px;
}

/* Taking things back — quiet links under the open book, never on the shelf covers. */
.journey-housekeeping[b-9zg44huc88] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    margin: 14px 0 0;
}

.journey-house-btn[b-9zg44huc88] {
    font-family: var(--ui);
    font-size: 12px;
    color: var(--text-secondary);
}

.journey-house-btn:hover:not(:disabled)[b-9zg44huc88] {
    color: var(--wax);
}

.journey-house-btn:disabled[b-9zg44huc88] {
    opacity: .55;
    cursor: default;
    text-decoration: none;
}

.journey-confirm-sheet[b-9zg44huc88] {
    width: min(480px, 100%);
}

.journey-confirm-lead[b-9zg44huc88] {
    margin: 0 0 .35rem;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.8vw, 1.45rem);
    line-height: 1.35;
    font-weight: 500;
    color: var(--ink-soft);
}

.journey-confirm-sub[b-9zg44huc88] {
    margin: 0 0 12px;
    font-size: .9rem;
    color: var(--text-secondary);
}

.journey-confirm-facts[b-9zg44huc88] {
    margin: 0 0 14px;
    padding-left: 1.1em;
    font-size: .94rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.journey-confirm-facts li + li[b-9zg44huc88] {
    margin-top: 4px;
}

.journey-confirm-check[b-9zg44huc88] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    font-size: .9rem;
    cursor: pointer;
}

.journey-confirm-check input[b-9zg44huc88] {
    margin-top: 3px;
}

.journey-confirm-error[b-9zg44huc88] {
    margin: 8px 0 0;
    color: var(--wax);
}

.journey-notes[b-9zg44huc88] {
    width: 100%;
    min-height: 4.5em;
    resize: vertical;
}

.journey-hint[b-9zg44huc88] {
    margin: -4px 0 6px;
}

/* Floating score + digital-edit dialogs — above compare fullscreen. */
.journey-score[b-9zg44huc88],
.journey-digital-edit[b-9zg44huc88] {
    position: fixed;
    z-index: 80;
    top: 12vh;
    right: max(24px, calc(50% - 480px + 24px));
    width: min(360px, calc(100vw - 32px));
    max-height: min(80vh, 720px);
    display: flex;
    flex-direction: column;
    background: var(--sheet);
    border: 1px solid var(--sheet-edge);
    border-radius: var(--radius-sheet);
    box-shadow: 0 18px 48px rgba(43, 42, 36, .28);
    padding: 14px 18px 18px;
    overflow-y: auto;
}

.journey-score[b-9zg44huc88] {
    padding: 0;
}

.journey-score-handle[b-9zg44huc88],
.journey-digital-head[b-9zg44huc88] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-family: var(--ui);
    font-size: 13px;
    font-weight: 600;
}

.journey-score-handle[b-9zg44huc88] {
    padding: 12px 14px 10px;
    cursor: grab;
    user-select: none;
    letter-spacing: .02em;
    border-bottom: 1px solid var(--sheet-edge);
    touch-action: none;
}

.journey-digital-head[b-9zg44huc88] {
    margin-bottom: 6px;
}

.journey-score.is-dragging .journey-score-handle[b-9zg44huc88] {
    cursor: grabbing;
}

.journey-score-close[b-9zg44huc88] {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    font-family: var(--ui);
}

.journey-score-close:hover[b-9zg44huc88] {
    color: var(--text-primary);
}

.journey-score-body[b-9zg44huc88] {
    padding: 14px 18px 18px;
    overflow-y: auto;
}

@media (max-width: 720px) {
    .journey-score[b-9zg44huc88],
    .journey-digital-edit[b-9zg44huc88] {
        right: 16px;
        left: 16px;
        width: auto;
        top: auto;
        bottom: calc(var(--dock-height, 0px) + 12px);
        max-height: min(55dvh, 480px);
    }
}
/* /Pages/Stacks.razor.rz.scp.css */
/* The stacks: a reading column with a star-map alongside.
   All elements here are plain HTML, so scoped CSS reaches them. */

.stacks-page[b-wwaaax4rmp] { max-width: 1180px; margin: 0 auto; padding: 40px 44px 80px; }

.stacks-head[b-wwaaax4rmp] { margin-bottom: 22px; }
.stacks-bar[b-wwaaax4rmp] { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.stacks-back[b-wwaaax4rmp] { padding: 8px 14px; line-height: 1; }
.stacks-crumb[b-wwaaax4rmp] { margin-left: auto; font-style: italic; }

/* type-ahead */
.suggest-wrap[b-wwaaax4rmp] { position: relative; width: 380px; max-width: 100%; }
.suggest-pop[b-wwaaax4rmp] {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  z-index: 20;
  background: var(--sheet);
  border: 1px solid var(--sheet-edge);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 24px rgba(43, 42, 36, .14);
  overflow: hidden;
}
.suggest-item[b-wwaaax4rmp] {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ui);
  font-size: 13px;
  color: var(--text-primary);
  padding: 9px 12px;
}
.suggest-item:hover[b-wwaaax4rmp] { background: var(--chip); }

/* two columns: the page, then the constellation */
.stacks-body[b-wwaaax4rmp] { display: grid; grid-template-columns: minmax(0, 720px) 270px; gap: 24px; align-items: start; }

.stacks-main[b-wwaaax4rmp] { min-width: 0; }
.stacks-facts[b-wwaaax4rmp] { margin: 6px 0 0; }
.stacks-source[b-wwaaax4rmp] { color: var(--wax); }
.stacks-section[b-wwaaax4rmp] { margin-top: 18px; }
.stacks-section .eyebrow[b-wwaaax4rmp] { margin-bottom: 8px; }
.stacks-prose[b-wwaaax4rmp] { line-height: 1.6; margin: 0 0 6px; }
.stacks-note[b-wwaaax4rmp] { margin: 4px 0 0; }

/* .chip-link lives in tokens.css — the library's wiki strip uses it too */

.stacks-rows[b-wwaaax4rmp] { display: flex; flex-direction: column; gap: 5px; }
.stacks-row[b-wwaaax4rmp] { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.stacks-row-title[b-wwaaax4rmp] { font-size: 15px; }

.stacks-slip-block[b-wwaaax4rmp] { margin-top: 18px; }
.stacks-write[b-wwaaax4rmp] { margin-top: 12px; }
.poem-line-title[b-wwaaax4rmp] { font-weight: 700; }
.poem-line-byline[b-wwaaax4rmp] { color: var(--text-secondary); font-size: 15px; }

/* ── the constellation ── */
.stacks-aside[b-wwaaax4rmp] { position: sticky; top: 40px; }
.stacks-aside .eyebrow[b-wwaaax4rmp] { margin-bottom: 8px; }
.constellation[b-wwaaax4rmp] {
  position: relative;
  aspect-ratio: 268 / 240;
  background-color: var(--sheet);
  border: 1px solid var(--sheet-edge);
  border-radius: var(--radius-sheet);
  overflow: hidden;
  margin-bottom: 8px;
}
.constellation svg[b-wwaaax4rmp] { display: block; width: 100%; height: 100%; }
.edge[b-wwaaax4rmp] { stroke: rgba(110, 104, 90, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.star[b-wwaaax4rmp] { fill: var(--text-secondary); cursor: pointer; }
.star:hover[b-wwaaax4rmp] { fill: var(--wax); }

.star-label[b-wwaaax4rmp], .star-centre-label[b-wwaaax4rmp] {
  position: absolute;
  transform: translateY(-50%);
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--ui);
  line-height: 1.2;
}
.star-label[b-wwaaax4rmp] {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 9.5px;
  color: var(--text-secondary);
  text-align: left;
}
.star-label:hover[b-wwaaax4rmp] { color: var(--wax); }
.star-centre[b-wwaaax4rmp] { fill: var(--gold); }
.star-centre-label[b-wwaaax4rmp] {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 120px;
}

@media (max-width: 1080px) {
  .stacks-body[b-wwaaax4rmp] { grid-template-columns: minmax(0, 1fr); }
  .stacks-aside[b-wwaaax4rmp] { position: static; max-width: 270px; }
}

@media (max-width: 1199px) {
  .stacks-page[b-wwaaax4rmp] { padding: 28px 28px calc(var(--dock-height, 0px) + 36px); }
}

@media (max-width: 699px) {
  .stacks-page[b-wwaaax4rmp] {
    padding: 18px max(16px, env(safe-area-inset-right, 0px)) calc(var(--dock-height, 0px) + 24px) max(16px, env(safe-area-inset-left, 0px));
  }
  .stacks-aside[b-wwaaax4rmp] { max-width: none; }
  .suggest-wrap[b-wwaaax4rmp] { width: 100%; }
}
