/* ============================================================
   pro.css — Raconteur PRO design system
   "The Reader's Desk" — dark bento-grid glassmorphism.
   Layout grammar inspired by the dark-fintech-dashboard genre
   (bento cards, glass surfaces, ambient glows on the warm cognac-
   espresso canvas — the Cognac Ledger, boss pick 2026-09-14);
   ALL content, compositions, and color values are original
   Raconteur work. No financial marks or imagery, ever.
   ============================================================ */

/* === 1. TOKENS === */
:root {
    /* Canvas & surfaces — the Cognac Ledger (boss pick 2026-09-14):
       the old near-black #241a12 read "funeral"; this is lamplight
       on aged walnut — espresso-cognac canvas, warm glass cards,
       candlelight text. Amber + mint accents unchanged. */
    --pro-void: #241a12;        /* espresso-cognac canvas */
    --pro-card: rgba(56, 41, 29, 0.55);   /* warm translucent card */
    --pro-card-hi: rgba(64, 47, 33, 0.62); /* hover card */
    --pro-line: rgba(255, 231, 199, 0.09); /* warm hairline */
    --pro-line-hi: rgba(255, 231, 199, 0.16);

    /* Text */
    --pro-text: #f7f0e4;        /* candlelight white */
    --pro-text-2: #b5a795;
    --pro-text-3: #9a8a76; /* >=4.5:1 (de-vibe DR5) */

    /* Accents — original values, warm caramel + cool mint + honey */
    --pro-amber: #ff6a00;       /* primary CTA */
    --pro-amber-soft: rgba(255, 106, 0, 0.16);
    --pro-mint: #2ee6a8;        /* positive / charts */
    --pro-mint-soft: rgba(46, 230, 168, 0.14);
    --pro-honey: #ffc648;       /* secondary accent */
    --pro-honey-soft: rgba(255, 198, 72, 0.14);

    /* Type */
    --pro-font: 'Outfit', 'Segoe UI', system-ui, sans-serif;
    --pro-font-read: 'Newsreader', Georgia, serif;

    /* Radii & shadows */
    --pro-r-lg: 20px;           /* signature card radius */
    --pro-r-md: 14px;
    --pro-r-sm: 10px;
    --pro-glow-orange: 0 0 42px rgba(255, 106, 0, 0.20);
    --pro-glow-mint: 0 0 42px rgba(27, 222, 162, 0.16);
    --pro-shadow-card: 0 18px 50px rgba(16, 9, 3, 0.5);
    --pro-inner-glow: inset 0 1px 0 rgba(255, 236, 210, 0.07);
}

/* === 2. BASE === */
body.pro-skin {
    background-color: var(--pro-void);
    color: var(--pro-text);
    font-family: var(--pro-font);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

main.pro-main { flex: 1; position: relative; z-index: 1; }

/* The Ledger — faint vertical columns over the void (Pro's manuscript) */
.pro-ledger {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        to right,
        transparent 0 calc(100% / 6 - 1px),
        rgba(255, 231, 199, 0.03) calc(100% / 6 - 1px) calc(100% / 6)
    );
}

/* Ambient glow fields — they respond to the reader: swell with scroll,
   settle when idle (de-vibe DR4 — no always-on decoration) */
.pro-ambient {
    opacity: calc(0.7 + var(--pro-boost, 0) * 0.3);
    transition: opacity 0.5s ease;
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.pro-ambient::before,
.pro-ambient::after {
    content: '';
    position: absolute;
    width: 62vmax;
    height: 62vmax;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
}

.pro-ambient::before {
    background: radial-gradient(circle, rgba(255, 106, 0, 0.13), transparent 65%);
    top: -22vmax;
    right: -14vmax;
}

.pro-ambient::after {
    background: radial-gradient(circle, rgba(46, 230, 168, 0.10), transparent 65%);
    bottom: -26vmax;
    left: -16vmax;
}

@media (prefers-reduced-motion: reduce) {
    .pro-ambient::before, .pro-ambient::after { opacity: 0.4; }
}

/* === 3. GLASS CARD — the core surface === */
.pro-card {
    position: relative;
    background: var(--pro-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--pro-r-lg);
    box-shadow: var(--pro-shadow-card), var(--pro-inner-glow);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    overflow: hidden;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.pro-card:hover {
    border-color: var(--pro-line-hi);
    background: var(--pro-card-hi);
}

/* Card head — label + optional action */
.pro-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem 0;
}

.pro-card-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pro-text-2);
}

/* === 4. BENTO GRID === */
.pro-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    position: relative;
    z-index: 1;
}

/* Column spans — used per-card */
.pro-bento > .span-12 { grid-column: span 12; }
.pro-bento > .span-8 { grid-column: span 8; }
.pro-bento > .span-7 { grid-column: span 7; }
.pro-bento > .span-6 { grid-column: span 6; }
.pro-bento > .span-5 { grid-column: span 5; }
.pro-bento > .span-4 { grid-column: span 4; }
.pro-bento > .span-3 { grid-column: span 3; }

@media (max-width: 1024px) {
    .pro-bento > .span-8, .pro-bento > .span-7 { grid-column: span 12; }
    .pro-bento > .span-6, .pro-bento > .span-5 { grid-column: span 12; }
    .pro-bento > .span-4, .pro-bento > .span-3 { grid-column: span 6; }
}

@media (max-width: 640px) {
    .pro-bento > * { grid-column: span 12 !important; }
    .pro-bento { gap: 12px; }
}

/* === 5. BUTTONS & PILLS === */
.pro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72rem 1.5rem;
    border: none;
    border-radius: 999px;
    font-family: var(--pro-font);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.25s, background 0.25s, filter 0.25s;
}

.pro-btn-amber {
    background: linear-gradient(135deg, #ff8125, #ff6a00);
    color: #1a0d00;
    box-shadow: 0 6px 24px rgba(255, 106, 0, 0.30);
}

.pro-btn-amber:hover { filter: brightness(1.08); transform: translateY(-2px); }

.pro-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--pro-line);
    color: var(--pro-text);
}

.pro-btn-ghost:hover { border-color: var(--pro-line-hi); background: rgba(255, 255, 255, 0.09); }

.pro-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.34rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--pro-line);
    font-size: 0.8rem;
    color: var(--pro-text-2);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.pro-chip:hover, .pro-chip.active {
    color: var(--pro-text);
    border-color: var(--pro-mint);
    background: var(--pro-mint-soft);
}

/* === 6. STATS & NUMBERS === */
.pro-num { font-weight: 600; font-variant-numeric: tabular-nums; }

.pro-badge-up {
    display: inline-flex;
    align-items: center;
    gap:  0.25rem;
    padding: 0.18rem 0.6rem;
    background: var(--pro-mint-soft);
    color: var(--pro-mint);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
}

/* === 7. SCROLL REVEAL === */
[data-pro-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--pro-reveal-delay, 0s);
}

[data-pro-reveal].pro-revealed {
    opacity: 1;
    transform: none;
}

/* reveal="false" means ALWAYS VISIBLE — the reader sheet must never wait on
   the observer (a tall sheet can never reach the visibility threshold). */
[data-pro-reveal='false'] {
    opacity: 1;
    transform: none;
    transition: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-pro-reveal] { opacity: 1; transform: none; transition: none; }
}

/* === 8. FOOTER === */
.pro-footer {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
    padding: 2.2rem 2rem 2.6rem;
    border-top: 1px solid var(--pro-line);
    text-align: center;
}

.pro-footer-brand { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; }
.pro-footer-brand em { font-style: normal; color: var(--pro-amber); }
.pro-footer-links { margin-top: 0.7rem; display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; }
.pro-footer {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: 11rem;
    border-top: 1px solid var(--pro-line);
    padding: 5.5rem 2rem 3.5rem;
    text-align: center;
}

.pro-footer-inner { margin-top: 6rem; padding: 3.8rem 2rem 2.8rem; }

.pro-rain { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.pro-rain-word {
    position: absolute;
    top: -3rem;
    font-family: var(--pro-font-read);
    font-style: italic;
    font-size: 0.92rem;
    color: var(--pro-text-2);
    opacity: 0.38;
    white-space: nowrap;
    animation: pro-rain-fall linear forwards;
}

.pro-rain-word.is-author {
    font-style: normal;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pro-amber);
    opacity: 0.55;
}

@keyframes pro-rain-fall {
    to { transform: translateY(var(--fall, 400px)) rotate(var(--rot, 0deg)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pro-rain-word { display: none; }
}

.pro-footer-core { position: relative; z-index: 1; }

.pro-footer-name {
    font-family: var(--pro-font);
    font-size: clamp(2.9rem, 8.5vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--pro-text);
    margin: 0;
}

.pro-footer-name em { font-style: normal; color: var(--pro-amber); }

.pro-footer-tagline {
    font-family: var(--pro-font-read);
    font-style: italic;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    color: var(--pro-text-2);
    margin: 0.9rem 0 0;
}

.pro-footer-inner .mx-footer-name { font-size: inherit; }
.pro-footer-inner { margin-top: 6rem; padding: 3.8rem 2rem 2.8rem; }
.pro-footer-inner .pro-footer-name { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.pro-footer-inner .pro-footer-tagline { font-size: clamp(0.95rem, 1.8vw, 1.15rem); }
.pro-footer-inner .pro-footer-links { margin-top: 1.5rem; }

.pro-footer-links { margin-top: 2rem; display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }
.pro-footer-links a { color: var(--pro-text-2); font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.pro-footer-links a:hover { color: var(--pro-amber); }
.pro-footer-legal { margin-top: 0.9rem; font-size: 0.8rem; color: var(--pro-text-3); }
.pro-footer-legal a { color: var(--pro-text-3); text-decoration: none; }
.pro-footer-legal a:hover { color: var(--pro-amber); }
.pro-fineprint { margin-top: 1.4rem; color: var(--pro-text-3); font-size: 0.75rem; }

/* Auth chrome — global (rendered client-side into the home toolbar) */
.pro-auth-link {
    background: transparent;
    border: 1px solid var(--pro-line-hi);
    border-radius: 999px;
    color: var(--pro-text-2);
    font-family: var(--pro-font);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.5rem 1.05rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.pro-auth-link:hover { color: #e05a3a; border-color: rgba(224, 90, 58, 0.5); background: rgba(224, 90, 58, 0.06); }

.pro-auth-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.05rem;
    border-radius: 999px;
    background: var(--pro-amber);
    color: #1a0d00;
    font-family: var(--pro-font);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s var(--pro-ease, ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.pro-auth-pill:hover { background: var(--pro-mint); transform: translateY(-1px); }

.pro-auth-pill.ghost {
    background: transparent;
    border: 1px solid var(--pro-line-hi, var(--pro-line));
    color: var(--pro-text);
}

.pro-auth-pill.ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--pro-mint); color: var(--pro-mint); transform: translateY(-1px); }

.pro-notif-wrap { position: relative; display: inline-flex; }

.pro-notif-bell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    background: transparent;
    border: 1px solid var(--pro-line);
    border-radius: 50%;
    color: var(--pro-text);
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.pro-notif-bell:hover { border-color: var(--pro-amber); color: var(--pro-amber); transform: translateY(-1px); }
.pro-notif-bell svg { width: 15px; height: 15px; }

.pro-notif-dot {
    position: absolute;
    top: -2px; right: -2px;
    width: 8px; height: 8px;
    background: var(--pro-amber);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 106, 0, 0.8);
}

/* === 9. UTILITIES === */
.pro-row { display: flex; align-items: center; gap: 0.6rem; }
.pro-grow { flex: 1; }
.pro-mono-num { font-variant-numeric: tabular-nums; }

/* === 10. SHARED INNER PAGE KIT — every Pro inner page builds from these ===
   (mirrors max.css §7b; the homepage carries its own scoped copies) */
.pro-browser-kicker {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pro-amber);
    margin: 0 0 0.5rem;
}

.pro-browser-title {
    font-family: var(--pro-font);
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pro-text);
    margin: 0;
}

.pro-card-link { font-size: 0.85rem; font-weight: 500; color: var(--pro-text-2); text-decoration: none; transition: color 0.2s; }
.pro-card-link:hover { color: var(--pro-amber); }

.pro-browser-empty { grid-column: 1 / -1; text-align: center; font-style: italic; color: var(--pro-text-3); padding: 3rem 0; }

.pro-work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pro-work-card {
    display: flex;
    flex-direction: column;
    background: #2e2119;
    border: 1px solid var(--pro-line);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s var(--pro-ease, ease), border-color 0.3s, box-shadow 0.4s;
}

.pro-work-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 106, 0, 0.45);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 106, 0, 0.05);
}

.pro-work-card.is-poem { border-color: rgba(46, 230, 168, 0.14); }
.pro-work-card.is-poem:hover { border-color: rgba(46, 230, 168, 0.4); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(46, 230, 168, 0.05); }

.pro-work-cover { position: relative; height: 200px; overflow: hidden; background: #2e2119; }

.pro-work-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.6s var(--pro-ease, ease);
}

.pro-work-card:hover .pro-work-cover img { transform: scale(1.05); }

.pro-work-star {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pro-amber);
    background: radial-gradient(80% 100% at 50% 0%, rgba(255, 106, 0, 0.12), transparent 70%), #2e2119;
}

.pro-work-quote {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem;
    font-family: var(--pro-font-read);
    font-style: italic;
    font-size: 0.92rem;
    line-height: 1.7;
    text-align: center;
    color: var(--pro-text-2);
    background: #2e2119;
}

.pro-work-body { padding: 1.15rem 1.25rem 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }

.pro-work-genre {
    align-self: flex-start;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pro-amber);
    border: 1px solid rgba(255, 106, 0, 0.35);
    border-radius: 999px;
    padding: 0.18rem 0.6rem;
}

.pro-work-genre.poem { color: var(--pro-mint); border-color: rgba(46, 230, 168, 0.35); }

.pro-work-title {
    font-family: var(--pro-font);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--pro-text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.pro-work-excerpt {
    font-family: var(--pro-font-read);
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--pro-text-2);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.pro-work-meta {
    font-size: 0.74rem;
    color: var(--pro-text-3);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border-top: 1px solid var(--pro-line);
    padding-top: 0.7rem;
    margin-top: auto;
}

@media (max-width: 640px) {
    .pro-work-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    .pro-work-card:hover { transform: none; }
    .pro-work-card:hover .pro-work-cover img { transform: none; }
    .pro-poem-btn:hover { transform: none; }
}

/* Poetry-collection owner controls — rendered by JS, so global (no scoped styles) */
.pro-poem-btn {
    position: absolute;
    top: 0.8rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.4rem;
    background: rgba(22, 15, 10, 0.8);
    border: 1px solid var(--pro-line-hi);
    border-radius: 8px;
    text-decoration: none;
    color: var(--pro-text-2);
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s, color 0.2s, border-color 0.2s;
}

.pro-poem-btn:hover { opacity: 1; transform: scale(1.1); color: var(--pro-amber); border-color: rgba(255, 106, 0, 0.45); }
.pro-poem-edit { right: 3.4rem; }
.pro-poem-export { right: 5.8rem; }
.pro-poem-delete { right: 1rem; }

/* Notifications panel — global: the panel + items are rendered client-side */
.pro-notif-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: rgba(30, 21, 14, 0.97);
    border: 1px solid var(--pro-line-hi);
    border-radius: var(--pro-r-md);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
    padding: 0.9rem;
    z-index: 60;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.pro-notif-head { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pro-text-2); margin-bottom: 0.6rem; }
.pro-notif-list { max-height: 320px; overflow-y: auto; }
.pro-notif-empty { color: var(--pro-text-3); font-size: 0.8rem; margin: 0; padding: 0.6rem 0; }
.pro-notif-item {
    display: flex; gap: 0.6rem; align-items: flex-start;
    padding: 0.55rem 0.6rem; border-radius: var(--pro-r-sm);
    text-decoration: none; color: var(--pro-text-2);
}
.pro-notif-item:hover { background: rgba(255, 255, 255, 0.05); }
.pro-notif-item.unread { background: rgba(255, 106, 0, 0.07); }
.pro-notif-icon { color: var(--pro-mint); }
.pro-notif-text { font-size: 0.82rem; flex: 1; }
.pro-notif-time { font-size: 0.7rem; color: var(--pro-text-3); }

/* === 11. THE PRO PASS — the brass seal, the standing card, the ledger ===
   Chunk 1 (build-log row 74). A one-time unlock for writers: it gates
   CREATION tools, never reading. Brass + honey on the cognac ledger —
   quiet prestige, never loud (the C2 brief). These pieces render on more
   than one page and are client-rendered in the desks, so they live here,
   global (same lesson as the notifications panel). */

/* The brass seal medallion (dashboard card + pitch page) */
.pro-pass-seal {
    width: 4.6rem;
    height: 4.6rem;
    flex: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 198, 72, 0.5);
    box-shadow:
        0 0 0 5px rgba(255, 198, 72, 0.08),
        0 0 34px rgba(255, 106, 0, 0.16),
        inset 0 0 18px rgba(255, 198, 72, 0.08);
    color: var(--pro-honey);
}

.pro-pass-seal span {
    font-family: var(--pro-font);
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 1;
}

/* The standing block (holder since / not yet a holder) */
.pro-pass-hero {
    display: flex;
    gap: 1.6rem;
    align-items: center;
    flex-wrap: wrap;
}

.pro-pass-hero-info { flex: 1; min-width: 15rem; }

.pro-pass-state {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pro-honey);
    margin: 0 0 0.5rem;
}

.pro-pass-title {
    font-family: var(--pro-font);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pro-text);
    margin: 0;
}

.pro-pass-meta {
    font-size: 0.86rem;
    color: var(--pro-text-2);
    margin: 0.4rem 0 0;
    line-height: 1.6;
}

/* The toolkit ledger — a print index, not a card zoo */
.pro-pass-ledger {
    display: flex;
    flex-direction: column;
}

.pro-pass-row {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    padding: 0.95rem 0.2rem;
    border-bottom: 1px solid var(--pro-line);
}

.pro-pass-row:last-child { border-bottom: none; }

.pro-pass-row-name {
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--pro-text);
    white-space: nowrap;
}

.pro-pass-row-note {
    font-size: 0.8rem;
    color: var(--pro-text-2);
    text-align: right;
}

/* The honest status chips (live / next / later) — no fake features */
.pro-pass-chip {
    flex: none;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--pro-line-hi);
    color: var(--pro-text-2);
}

.pro-pass-chip.live {
    color: #1a0d00;
    background: var(--pro-honey);
    border-color: var(--pro-honey);
}

.pro-pass-chip.next {
    color: var(--pro-honey);
    border-color: rgba(255, 198, 72, 0.4);
}

.pro-pass-chip.later { color: var(--pro-text-3); }

/* The locked line — a door with light behind it, never a wall */
.pro-pass-locked {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: var(--pro-honey);
}

@media (max-width: 640px) {
    .pro-pass-row { flex-wrap: wrap; row-gap: 0.35rem; }
    .pro-pass-row-note { text-align: left; }
}

/* The dashboard's compact seal card */
.pro-pass-dash-card {
    padding: 1.6rem clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 1.4rem;
}

.pro-pass-dash-link { flex: none; align-self: center; }
.pro-masthead[data-astro-cid-y7axkvfi] {
  text-align: center;
  padding: 1.6rem 1rem .7rem;
}

.pro-logo-masthead[data-astro-cid-y7axkvfi] {
  justify-content: center;
  display: flex;
  align-items: baseline;
  gap: .6rem;
}

.pro-logo-masthead[data-astro-cid-y7axkvfi] .pro-logo-word[data-astro-cid-y7axkvfi] {
  font-size: clamp(2.6rem, 5.6vw, 3.9rem);
  font-weight: 700;
}

.pro-logo-masthead[data-astro-cid-y7axkvfi] .pro-logo-tag[data-astro-cid-y7axkvfi] {
  font-size: clamp(.9rem, 1.8vw, 1.2rem);
  padding: .2rem .6rem;
  transform: translateY(-.5rem);
  border-radius: 10px;
}

.pro-masthead-tagline[data-astro-cid-y7axkvfi] {
  font-family: var(--pro-font-read);
  font-style: italic;
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: var(--pro-text-2);
  margin: .4rem 0 0;
}

.pro-toolbar[data-astro-cid-y7axkvfi] {
  max-width: 1320px;
  margin: 0 auto;
  padding: .5rem 1.6rem .9rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.pro-toolbar-search[data-astro-cid-y7axkvfi] {
  justify-self: start;
}

.pro-toolbar-auth[data-astro-cid-y7axkvfi] {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.pro-pillnav[data-astro-cid-y7axkvfi] {
  display: flex;
  gap: .25rem;
  padding: .28rem;
  background: #ffffff0a;
  border: 1px solid var(--pro-line);
  border-radius: 999px;
}

.pro-pill-link[data-astro-cid-y7axkvfi] {
  padding: .42rem 1.05rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--pro-text-2);
  text-decoration: none;
  transition: color .2s, background .2s;
}

.pro-pill-link[data-astro-cid-y7axkvfi]:hover {
  color: var(--pro-text);
  background: #ffffff0d;
}

.pro-pill-link[data-astro-cid-y7axkvfi].active {
  color: #1a0d00;
  background: var(--pro-amber);
  font-weight: 600;
}

.pro-inner-bar[data-astro-cid-y7axkvfi] {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.6rem 1rem 2rem;
  border-bottom: 1px solid var(--pro-line);
}

.pro-inner-brand[data-astro-cid-y7axkvfi] {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  text-decoration: none;
}

.pro-inner-brand[data-astro-cid-y7axkvfi] .pro-logo-word[data-astro-cid-y7axkvfi] {
  font-size: clamp(2.2rem, 4.6vw, 3.3rem);
  font-weight: 600;
  color: var(--pro-text);
}

.pro-inner-brand[data-astro-cid-y7axkvfi] .pro-logo-tag[data-astro-cid-y7axkvfi] {
  font-size: .9rem;
  padding: .18rem .55rem;
  transform: translateY(-.4rem);
}

.pro-inner-tagline[data-astro-cid-y7axkvfi] {
  font-family: var(--pro-font-read);
  font-style: italic;
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: var(--pro-text-3);
  margin: .45rem 0 0;
}

.pro-inner-back[data-astro-cid-y7axkvfi] {
  position: absolute;
  top: 1.1rem;
  left: 1.4rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--pro-text-2);
  text-decoration: none;
  transition: color .2s;
}

.pro-inner-back[data-astro-cid-y7axkvfi]:hover {
  color: var(--pro-amber);
}

.pro-logo[data-astro-cid-y7axkvfi] {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  text-decoration: none;
  white-space: nowrap;
}

.pro-logo-word[data-astro-cid-y7axkvfi] {
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--pro-text);
}

.pro-logo-tag[data-astro-cid-y7axkvfi] {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--pro-amber);
  border: 1px solid #ff6a0066;
  border-radius: 6px;
  padding: .14rem .45rem;
  transform: translateY(-2px);
}

.pro-topbar-inner[data-astro-cid-y7axkvfi] {
  display: contents;
}

.pro-search[data-astro-cid-y7axkvfi] {
  position: relative;
}

.pro-search[data-astro-cid-y7axkvfi] input[data-astro-cid-y7axkvfi] {
  width: 210px;
  padding: .52rem .9rem .52rem 2.1rem;
  border-radius: 999px;
  border: 1px solid var(--pro-line);
  background: #ffffff0a;
  color: var(--pro-text);
  font-family: var(--pro-font);
  font-size: .85rem;
  outline: none;
  transition: width .3s, border-color .25s, background .25s;
}

.pro-search[data-astro-cid-y7axkvfi] input[data-astro-cid-y7axkvfi]:focus {
  width: 260px;
  border-color: var(--pro-amber);
  background: #160f0ae6;
}

.pro-search[data-astro-cid-y7axkvfi] input[data-astro-cid-y7axkvfi]::placeholder {
  color: var(--pro-text-3);
}

.pro-search-icon[data-astro-cid-y7axkvfi] {
  position: absolute;
  left: .8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pro-text-3);
  font-size: .95rem;
  pointer-events: none;
}

.pro-search-dropdown[data-astro-cid-y7axkvfi] {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: #1e150ef7;
  border: 1px solid var(--pro-line-hi);
  border-radius: var(--pro-r-md);
  box-shadow: 0 18px 50px #0009;
  padding: .5rem;
  z-index: 60;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.pro-search-results[data-astro-cid-y7axkvfi] {
  max-height: 360px;
  overflow-y: auto;
}

.pro-search-item[data-astro-cid-y7axkvfi] {
  display: block;
  padding: .6rem .7rem;
  border-radius: var(--pro-r-sm);
  text-decoration: none;
  color: var(--pro-text);
}

.pro-search-item[data-astro-cid-y7axkvfi]:hover {
  background: #ffffff0d;
}

.pro-search-item[data-astro-cid-y7axkvfi] h4[data-astro-cid-y7axkvfi] {
  font-size: .88rem;
  font-weight: 500;
  margin: 0;
}

.pro-search-item[data-astro-cid-y7axkvfi] p[data-astro-cid-y7axkvfi] {
  font-size: .75rem;
  color: var(--pro-text-3);
  margin: .15rem 0 0;
}

.pro-search-writer[data-astro-cid-y7axkvfi] h4[data-astro-cid-y7axkvfi] {
  color: var(--pro-mint);
}

.pro-search-empty[data-astro-cid-y7axkvfi] {
  padding: .8rem;
  font-size: .8rem;
  color: var(--pro-text-3);
  margin: 0;
}

.pro-auth[data-astro-cid-y7axkvfi] {
  display: flex;
  align-items: center;
  gap: .9rem;
  white-space: nowrap;
}

.pro-auth-cta[data-astro-cid-y7axkvfi] {
  padding: .5rem 1.1rem;
  font-size: .84rem;
}

.pro-hello[data-astro-cid-y7axkvfi] {
  color: var(--pro-honey);
  font-size: .86rem;
  font-weight: 500;
  text-decoration: none;
}

.pro-notif-wrap[data-astro-cid-y7axkvfi] {
  position: relative;
}

.pro-notif-bell[data-astro-cid-y7axkvfi] {
  background: #ffffff0d;
  border: 1px solid var(--pro-line);
  border-radius: 999px;
  padding: .36rem .6rem;
  font-size: .9rem;
  cursor: pointer;
  position: relative;
}

.pro-notif-dot[data-astro-cid-y7axkvfi] {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: var(--pro-amber);
  border-radius: 50%;
  box-shadow: 0 0 8px #ff6a00cc;
}

.pro-toggle-row[data-astro-cid-y7axkvfi] {
  display: flex;
  justify-content: center;
  padding: 1.1rem 1rem .3rem;
  position: relative;
  z-index: 1;
}

@media (width <= 1024px) {
  .pro-search[data-astro-cid-y7axkvfi] input[data-astro-cid-y7axkvfi] {
    width: 160px;
  }

  .pro-search[data-astro-cid-y7axkvfi] input[data-astro-cid-y7axkvfi]:focus {
    width: 200px;
  }
}

@media (width >= 861px) and (width <= 1024px) {
  .pro-toolbar[data-astro-cid-y7axkvfi] {
    gap: .9rem;
  }

  .pro-pillnav[data-astro-cid-y7axkvfi] {
    gap: .4rem;
  }

  .pro-pill-link[data-astro-cid-y7axkvfi] {
    padding: .45rem .85rem;
    font-size: .86rem;
  }

  .pro-auth[data-astro-cid-y7axkvfi] {
    gap: .7rem;
    font-size: .86rem;
  }
}

@media (width <= 860px) {
  .pro-toolbar[data-astro-cid-y7axkvfi] {
    flex-wrap: wrap;
    row-gap: .6rem;
    gap: .7rem;
  }

  .pro-pillnav[data-astro-cid-y7axkvfi] {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
  }

  .pro-pill-link[data-astro-cid-y7axkvfi] {
    padding: .4rem .8rem;
    font-size: .85rem;
  }

  .pro-toolbar-auth[data-astro-cid-y7axkvfi] {
    order: 2;
    margin-left: auto;
  }

  .pro-auth[data-astro-cid-y7axkvfi] {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .6rem;
    font-size: .85rem;
  }

  .pro-hello[data-astro-cid-y7axkvfi] {
    font-size: .85rem;
    max-width: 40vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pro-toolbar-search[data-astro-cid-y7axkvfi] {
    order: 1;
    flex: 160px;
    min-width: 0;
  }

  .pro-search[data-astro-cid-y7axkvfi] input[data-astro-cid-y7axkvfi] {
    width: 100%;
  }

  .pro-search[data-astro-cid-y7axkvfi] input[data-astro-cid-y7axkvfi]:focus {
    width: 100%;
  }

  .pro-search-dropdown[data-astro-cid-y7axkvfi] {
    width: min(92vw, 320px);
  }

  .pro-auth[data-astro-cid-y7axkvfi] .pro-auth-link[data-astro-cid-y7axkvfi] {
    white-space: nowrap;
  }
}

@media (width <= 560px) {
  .pro-auth[data-astro-cid-y7axkvfi] {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: .3rem;
    gap: .6rem;
    font-size: .8rem;
  }

  .pro-auth[data-astro-cid-y7axkvfi] .pro-auth-link[data-astro-cid-y7axkvfi] {
    white-space: nowrap;
  }

  .pro-hello[data-astro-cid-y7axkvfi] {
    font-size: .8rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pro-toolbar-search[data-astro-cid-y7axkvfi] {
    flex: 100%;
    order: 1;
  }

  .pro-toolbar-auth[data-astro-cid-y7axkvfi] {
    order: 2;
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .pro-pillnav[data-astro-cid-y7axkvfi] {
    order: 3;
  }

  .pro-search[data-astro-cid-y7axkvfi] input[data-astro-cid-y7axkvfi] {
    width: 100%;
  }

  .pro-search[data-astro-cid-y7axkvfi] input[data-astro-cid-y7axkvfi]:focus {
    width: 100%;
  }

  .pro-search-dropdown[data-astro-cid-y7axkvfi] {
    width: min(92vw, 320px);
  }
}
