:root {
    --ink: #162c25;
    --ink-soft: #3d524a;
    --mute: #7a8a84;
    --paper: #fdfbf7;
    --surface: #ffffff;
    --surface-2: #f7f4ee;
    --line: #ebe6dc;
    --line-strong: #d9d2c4;
    --accent: #162c25;
    --accent-deep: #0e1f1a;
    --accent-soft: #e8f0ec;
    --highlight: #162c25;
    --moss: #162c25;
    --moss-soft: #d8ede4;
    --peach: #f8e4d8;
    --peach-deep: #e8a882;
    --lavender: #e8e0f0;
    --sky: #d9ecf7;
    --butter: #f5efc8;
    --mint: #d8ede4;
    --coral: #f5d5cb;
    --danger: #b42318;
    --ok: #1a6b4a;
    --warn: #b54708;
    --radius: 20px;
    --radius-sm: 14px;
    --sidebar-w: 248px;
    --shadow: none;
    --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
    --font-body: "Outfit", "Avenir Next", system-ui, sans-serif;
    --font-mono: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    color: var(--ink);
    font-family: var(--font-body);
    background: var(--paper);
}

body { position: relative; }

a {
    color: var(--accent-deep);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
a:hover { color: var(--accent); }

.ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--paper);
}

.layout-app .ambient {
    background:
        linear-gradient(90deg, var(--accent-deep) 0, var(--accent-deep) var(--sidebar-w), transparent var(--sidebar-w)),
        var(--paper);
}

.layout-app.is-listener-inner .ambient,
.layout-app.is-interests .ambient,
.layout-app.is-briefing .ambient {
    background: var(--paper);
}

.layout-app.is-today .ambient {
    background: var(--accent-deep);
}

/* —— Brand —— */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand-mark {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #fdfbf7;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.04em;
    flex-shrink: 0;
    text-transform: none;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.brand-copy strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    font-style: normal;
    text-transform: none;
}

.brand-copy small {
    color: var(--mute);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* —— Public layout —— */
.public-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 30;
}

.public-header--home {
    position: sticky;
    border-bottom-color: transparent;
    background: rgba(242, 243, 245, 0.78);
    backdrop-filter: blur(14px);
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.public-nav a:not(.btn) {
    text-decoration: none;
    color: var(--ink-soft);
    padding: 0.4rem 0.55rem;
}
.public-nav a:not(.btn):hover { color: var(--ink); }

.public-main {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.75rem 0 3rem;
}

.public-main--narrow {
    width: min(420px, calc(100% - 2rem));
    padding-top: 3rem;
}

.public-main--home {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.layout-public.is-home .ambient {
    background:
        radial-gradient(ellipse 80% 50% at 10% -5%, rgba(0, 0, 0, 0.06), transparent 55%),
        radial-gradient(ellipse 55% 40% at 95% 15%, rgba(0, 0, 0, 0.04), transparent 50%),
        linear-gradient(180deg, #e8eaed 0%, #f2f3f5 42%, var(--paper) 100%);
}

.layout-public.is-home .public-footer {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto 2.5rem;
    border-top-color: var(--line);
}

.public-footer {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.5;
}

.public-footer strong {
    display: block;
    margin-bottom: 0.3rem;
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -0.02em;
}

.public-footer p { margin: 0; max-width: 36rem; }

/* —— App shell —— */
.app-shell {
    display: grid;
    grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: var(--accent-deep);
    color: #f7f4ee;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 20;
}

.brand--sidebar {
    padding: 1.25rem 1.15rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
    color: #f7f4ee;
}

.brand--sidebar .brand-mark {
    background: var(--butter);
    color: var(--accent-deep);
}

.brand--sidebar .brand-copy small {
    color: rgba(244, 244, 244, 0.45);
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    overflow-y: auto;
    padding: 0.85rem 0.75rem 1rem;
}

.side-nav__label {
    margin: 1.15rem 0.55rem 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244, 244, 244, 0.38);
}

.side-nav__label:first-child { margin-top: 0.25rem; }

.side-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.62rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(244, 244, 244, 0.72);
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease;
}

.side-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.side-link.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 600;
    border-color: transparent;
}

.side-link.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 58%;
    background: #fff;
    border-radius: 0 3px 3px 0;
}

.side-link--featured.is-active::before,
.side-link--ask.is-active::before {
    background: #0a0a0a;
}

.side-link--featured {
    margin: 0.15rem 0 0.55rem;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.side-link--featured:hover {
    background: #f4f4f4;
    color: #0a0a0a;
}

.side-link--featured.is-active {
    background: #f4f4f4;
    color: #0a0a0a;
    border-color: transparent;
}

.side-link--ask.is-active,
.side-link--ask:hover {
    background: #f4f4f4;
    color: #0a0a0a;
}

.side-link--ask:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.side-link__icon {
    width: 1.35rem;
    height: 1.35rem;
    display: grid;
    place-items: center;
    opacity: 0.9;
}
.side-link__icon svg { display: block; }

.side-link--quiet {
    color: rgba(244, 244, 244, 0.45);
    font-size: 0.86rem;
    margin-top: 0.35rem;
}

.side-link--quiet:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.side-link--quiet.is-active:hover {
    background: #f4f4f4;
    color: #0a0a0a;
}

.sidebar-foot {
    margin-top: auto;
    padding: 1rem 0.75rem 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-trust {
    margin: 0.65rem 0 0;
    padding: 0 0.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 244, 244, 0.32);
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.5rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

a.user-chip:hover,
a.user-chip.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
}

.user-chip__avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f4f4f4;
    border: 0;
    color: #0a0a0a;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
}

.user-chip__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.user-chip__meta strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: #f4f4f4;
}

.user-chip__meta small {
    color: rgba(244, 244, 244, 0.45);
    font-size: 0.72rem;
    text-transform: capitalize;
}

.side-recent {
    display: grid;
    gap: 0;
    margin: 0.15rem 0 0.35rem;
}

.side-recent__link {
    display: grid;
    gap: 0.15rem;
    padding: 0.7rem 0.75rem;
    border-radius: 0;
    text-decoration: none;
    color: rgba(244, 244, 244, 0.62);
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.side-recent__link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.side-recent__link.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
}

.side-recent__link strong {
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-recent__link small {
    font-size: 0.7rem;
    color: rgba(244, 244, 244, 0.4);
}

.workspace {
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: transparent;
}

.workspace--inner {
    background: #fff;
}

.workspace--today {
    background: transparent;
}

.workspace--home {
    background: transparent;
}

.workspace--player {
    background: #fff;
}

.workspace-stage {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0 clamp(1.25rem, 3vw, 2.25rem) 6rem;
    box-sizing: border-box;
}

.workspace--today .workspace-stage {
    padding: 0;
    display: block;
}

.workspace--player .workspace-stage {
    align-items: center;
    padding-bottom: 6.5rem;
}

.workspace-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.75rem 1rem;
    border-bottom: 1px solid var(--ink);
    background: #f4f4f4;
    position: sticky;
    top: 0;
    z-index: 10;
}

.workspace-bar__titles { min-width: 0; }

.workspace-bar h1,
.page-intro h1,
.auth-intro h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.workspace-main {
    width: min(920px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 1.5rem 0 5.5rem;
    flex: 1;
}

.workspace-main--desk {
    width: min(1080px, calc(100% - 2.5rem));
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.workspace-main--interests {
    width: min(980px, calc(100% - 2.5rem));
    padding-top: 1.35rem;
}

.workspace-main--wide {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1.5rem 1.75rem 5.5rem;
    box-sizing: border-box;
}

.workspace-main--wide.workspace-main--desk {
    width: 100%;
    padding-top: 1.5rem;
}

.eyebrow {
    margin: 0 0 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.lede {
    margin: 0.45rem 0 0;
    color: var(--ink-soft);
    max-width: 38rem;
    line-height: 1.55;
    font-size: 0.95rem;
}

.page-intro,
.auth-intro {
    margin-bottom: 1.25rem;
    animation: rise 0.5s ease both;
}

.auth-intro { text-align: left; }

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

.flash {
    margin: 0 0 1.15rem;
    padding: 0.85rem 1rem;
    border-radius: 0;
    border: 1px solid var(--ink);
    background: var(--surface);
    animation: rise 0.35s ease both;
}

.flash-error {
    border-color: #d4d4d4;
    background: #f5f5f5;
    color: var(--danger);
}

.flash-success {
    border-color: #d4d4d4;
    background: #f5f5f5;
    color: var(--ok);
}

.flash--desk {
    margin: 0 auto 0.5rem;
    max-width: 40rem;
    border: 0;
    background: transparent;
    padding: 0.35rem 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-align: center;
}

.flash--desk.flash-success { color: var(--accent-deep); }
.flash--desk.flash-error { color: var(--danger); }

/* —— Landing (guest home) —— */
.landing-hero {
    position: relative;
    min-height: calc(100dvh - 4.25rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--ink);
    background:
        linear-gradient(165deg, #e4e6ea 0%, #f2f3f5 38%, #ebecef 100%);
}

.landing-hero__wash {
    position: absolute;
    inset: -10% -5% auto;
    height: 70%;
    background:
        radial-gradient(ellipse 55% 60% at 18% 40%, rgba(0, 0, 0, 0.07), transparent 70%),
        radial-gradient(ellipse 45% 50% at 88% 20%, rgba(0, 0, 0, 0.05), transparent 65%);
    animation: float-soft 9s ease-in-out infinite;
    pointer-events: none;
}

.landing-hero__grain {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        repeating-linear-gradient(
            -12deg,
            transparent 0,
            transparent 11px,
            rgba(0, 0, 0, 0.025) 11px,
            rgba(0, 0, 0, 0.025) 12px
        );
    pointer-events: none;
}

.landing-hero__stage {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: clamp(1.5rem, 4vh, 2.5rem) 0 clamp(1.25rem, 3vh, 2rem);
}

.landing-hero__brand {
    margin: 0 0 clamp(1.5rem, 4vh, 2.75rem);
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: clamp(4.2rem, 14vw, 9.5rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.055em;
    line-height: 0.82;
    animation: rise 0.65s ease both;
}

.landing-hero__brand-ai {
    font-family: var(--font-body);
    font-size: 0.18em;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
    transform: translateY(-0.35em);
}

.landing-hero__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(1.75rem, 4vw, 3.5rem);
    align-items: end;
}

.landing-hero__copy {
    max-width: 28rem;
    animation: rise 0.75s 0.06s ease both;
}

.landing-hero__headline {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.8vw, 2.1rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.landing-hero__lede {
    margin: 0 0 1.5rem;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.55;
}

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.landing-cycle {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    min-height: clamp(11rem, 22vh, 15rem);
    animation: rise 0.85s 0.12s ease both;
}

.landing-cycle__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.2rem;
    padding: 1rem 1rem 1.1rem;
    overflow: hidden;
    color: #fafafa;
    min-height: 100%;
}

.landing-cycle__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

.landing-cycle__panel:hover::before {
    transform: scale(1.04);
}

.landing-cycle__panel--morning::before {
    background:
        linear-gradient(160deg, rgba(10, 10, 10, 0.15), rgba(10, 10, 10, 0.55)),
        linear-gradient(145deg, #6b7280 0%, #374151 55%, #111827 100%);
}

.landing-cycle__panel--midday::before {
    background:
        linear-gradient(160deg, rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.5)),
        linear-gradient(145deg, #52525b 0%, #27272a 60%, #09090b 100%);
}

.landing-cycle__panel--evening::before {
    background:
        linear-gradient(160deg, rgba(10, 10, 10, 0.25), rgba(10, 10, 10, 0.65)),
        linear-gradient(145deg, #3f3f46 0%, #18181b 55%, #000 100%);
}

.landing-cycle__panel > * {
    position: relative;
    z-index: 1;
}

.landing-cycle__time {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(250, 250, 250, 0.55);
    margin-bottom: 0.35rem;
}

.landing-cycle__panel strong {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1;
}

.landing-cycle__panel em {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(250, 250, 250, 0.62);
}

.landing-cycle__panel--morning { animation: cycle-lift 5.5s ease-in-out infinite; }
.landing-cycle__panel--midday { animation: cycle-lift 5.5s 0.35s ease-in-out infinite; }
.landing-cycle__panel--evening { animation: cycle-lift 5.5s 0.7s ease-in-out infinite; }

@keyframes cycle-lift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.landing-hero__rail {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    align-items: center;
    padding: 0.95rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.35);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.landing-hero__rail span {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
    white-space: nowrap;
    animation: rail-scroll 28s linear infinite;
    padding-left: 2rem;
}

.landing-hero__rail span:first-child {
    padding-left: min(max(1.25rem, calc((100vw - 1180px) / 2)), 4rem);
}

@keyframes rail-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-12%); }
}

.landing-path {
    background: var(--surface);
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(3.5rem, 9vw, 5.5rem);
    border-top: 1px solid var(--line);
}

.landing-path__inner {
    width: min(720px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.landing-path__head {
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
    animation: rise 0.55s ease both;
}

.landing-path__head h2 {
    margin: 0 0 0.45rem;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.landing-path__head p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.5;
}

.landing-path__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.landing-path__list li {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.35rem 0;
    border-top: 1px solid var(--line);
    animation: rise 0.6s ease both;
}

.landing-path__list li:last-child {
    border-bottom: 1px solid var(--line);
}

.landing-path__list li:nth-child(2) { animation-delay: 0.06s; }
.landing-path__list li:nth-child(3) { animation-delay: 0.12s; }

.landing-path__list span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--mute);
    padding-top: 0.35rem;
}

.landing-path__list h3 {
    margin: 0 0 0.4rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.landing-path__list p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 36rem;
}

/* —— Home agent —— */
.agent {
    display: grid;
    gap: 0;
    align-items: stretch;
    flex: 1;
    min-height: min(78vh, 680px);
    animation: rise 0.5s ease both;
}

.agent-weather {
    display: grid;
    justify-items: end;
    gap: 0.25rem;
    margin: 0;
    color: var(--ink);
}

.agent-weather--top {
    justify-self: end;
    align-self: start;
    margin: 0.35rem 0.5rem 0.5rem 0;
    animation: rise 0.45s ease both;
}

.agent-weather__row {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.agent-weather__svg {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--ink);
}

.agent-weather__temp {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.2vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.agent-weather__copy {
    display: grid;
    gap: 0.1rem;
    line-height: 1.2;
    text-align: left;
}

.agent-weather__copy strong {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.agent-weather__copy span {
    font-size: 0.9rem;
    color: var(--mute);
    font-weight: 500;
}

.agent-weather__time {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--mute);
}

.agent-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding: clamp(1rem, 3vh, 2rem) 0.5rem 2rem;
    min-height: min(58vh, 520px);
    width: min(100%, 980px);
    justify-self: center;
    margin-block: auto;
}

.agent-stage__lead {
    display: grid;
    justify-items: start;
    gap: 0.85rem;
    text-align: left;
    animation: rise 0.55s ease both;
}

.agent-stage__lead .agent-meta {
    margin-bottom: 0.15rem;
}

.agent-stage__actions {
    display: grid;
    gap: 0.75rem;
    align-content: center;
    animation: rise 0.65s 0.08s ease both;
}

.agent-orb {
    position: relative;
    width: 3.4rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    margin: 0 0 0.15rem;
    animation: float-soft 5s ease-in-out infinite;
}

.agent-orb__core {
    position: relative;
    z-index: 2;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #171717 0%, #000000 100%);
    color: #fafafa;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.04em;
}

.agent-orb__ring {
    position: absolute;
    inset: -0.15rem;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.18);
    animation: orbit-ring 3.2s ease-out infinite;
}

.agent-orb__ring--slow {
    inset: -0.45rem;
    border-color: rgba(0, 0, 0, 0.1);
    animation-duration: 4.6s;
    animation-delay: 0.4s;
}

.agent-brand {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 8vw, 5.2rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.045em;
    line-height: 0.88;
    color: var(--ink);
}

.agent-meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    color: var(--ink-soft);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.agent-status__dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #0a0a0a;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.35);
    animation: pulse-dot 2s ease-out infinite;
    flex-shrink: 0;
}

.agent-stage__lead h1 {
    margin: 0.15rem 0 0;
    display: grid;
    gap: 0.2rem;
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 5vw, 3.4rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink);
}

.agent-intro__line {
    display: block;
    font-size: 0.82em;
    letter-spacing: -0.025em;
    color: var(--ink-soft);
}

.agent-lede {
    margin: 0;
    max-width: 28rem;
    color: var(--mute);
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 400;
}

.agent-actions__label {
    margin: 0 0 0.15rem 0.15rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mute);
}

.agent-modes {
    display: grid;
    gap: 0.55rem;
    width: 100%;
}

.agent-mode {
    margin: 0;
}

.agent-mode__btn {
    appearance: none;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 1rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}

.agent-mode__btn:hover {
    border-color: var(--line-strong);
    background: var(--surface);
    transform: translateX(4px);
}

.agent-mode__btn--primary {
    border-color: transparent;
    background: var(--ink);
    color: #f7f6f2;
}

.agent-mode__btn--primary:hover {
    background: var(--accent-deep);
    border-color: transparent;
    transform: translateX(4px);
}

.agent-mode__btn:disabled {
    opacity: 0.72;
    transform: none;
    cursor: wait;
}

.agent-mode__index {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--mute);
    min-width: 1.4rem;
}

.agent-mode__btn--primary .agent-mode__index {
    color: rgba(247, 246, 242, 0.55);
}

.agent-mode__copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.agent-mode__label {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.agent-mode__hint {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--mute);
}

.agent-mode__btn--primary .agent-mode__hint {
    color: rgba(247, 246, 242, 0.62);
}

.agent-mode__go {
    font-size: 1.05rem;
    color: var(--mute);
    transition: transform 0.18s ease, color 0.18s ease;
}

.agent-mode__btn:hover .agent-mode__go {
    color: var(--ink);
    transform: translateX(3px);
}

.agent-mode__btn--primary .agent-mode__go {
    color: rgba(247, 246, 242, 0.7);
}

.agent-mode__btn--primary:hover .agent-mode__go {
    color: #f7f6f2;
}

.agent-composer {
    width: 100%;
    display: grid;
    gap: 0.65rem;
}

.agent-composer__shell {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 0.55rem;
    padding: 0.7rem 0.7rem 0.7rem 1.05rem;
    border-radius: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.agent-composer__shell:focus-within {
    border-color: rgba(0, 0, 0, 0.55);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.agent-composer textarea {
    width: 100%;
    min-height: 1.5rem;
    max-height: 160px;
    resize: none;
    border: 0;
    padding: 0.55rem 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 1.05rem;
    line-height: 1.45;
    box-shadow: none;
}

.agent-composer textarea:focus {
    outline: none;
    box-shadow: none;
    background: transparent;
}

.agent-composer textarea::placeholder {
    color: var(--mute);
}

.agent-send {
    width: 2.55rem;
    height: 2.55rem;
    border: 0;
    border-radius: 0;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #f7f6f2;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.agent-send:hover {
    background: var(--accent-deep);
    transform: translateY(-1px);
}

.agent-send:disabled {
    opacity: 0.7;
    transform: none;
    cursor: wait;
}

.agent-composer__hint {
    margin: 0;
    font-size: 0.82rem;
    color: var(--mute);
    line-height: 1.4;
}

.agent-composer__hint a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.agent-composer__hint a:hover {
    opacity: 0.7;
}

.agent-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 40rem;
    margin-top: 0.35rem;
}

.agent-prompt {
    appearance: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 500;
    padding: 0.55rem 0.9rem;
    border-radius: 0;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.agent-prompt:hover {
    border-color: var(--accent);
    background: var(--surface);
    transform: translateY(-1px);
}

.agent-stage--ask .agent-stage__actions {
    align-content: start;
    padding-top: 0.35rem;
}

.agent-gate {
    display: grid;
    gap: 0.95rem;
    justify-items: start;
    padding: 1.25rem 1.3rem;
    border-radius: 0;
    background: var(--surface);
    border: 1px solid var(--line);
}

.agent-gate p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.5;
}

.agent-listening {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.45rem;
    margin: 0.55rem 0 0;
    max-width: 30rem;
    animation: rise 0.7s 0.12s ease both;
}

.agent-listening > span:first-child {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
    margin-right: 0.2rem;
}

.agent-listening__sep {
    color: var(--mute);
    opacity: 0.55;
}

.agent-listening__topic {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.agent-listening a {
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
    margin-left: 0.25rem;
    border-bottom: 1px solid currentColor;
}

.agent-listening a:hover {
    opacity: 0.7;
}

.agent-context {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
}

.agent-slots {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0;
    padding: 0.2rem;
    border: 1px solid var(--line);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.55);
}

.agent-slot {
    position: relative;
    cursor: pointer;
}

.agent-slot input {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
    cursor: pointer;
}

.agent-slot span {
    display: block;
    padding: 0.35rem 0.7rem;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: background 0.15s ease, color 0.15s ease;
}

.agent-slot:hover span {
    color: var(--ink);
}

.agent-slot input:focus-visible + span {
    outline: 2px solid rgba(0, 0, 0, 0.35);
    outline-offset: 1px;
}

.agent-slot input:checked + span {
    background: var(--ink);
    color: #fafafa;
}

.agent-focus {
    margin: 0;
    min-width: min(100%, 12rem);
}

.agent-focus select {
    width: 100%;
    margin: 0;
    padding: 0.4rem 1.85rem 0.4rem 0.75rem;
    border-radius: 0;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink-soft);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: none;
    cursor: pointer;
}

.agent-focus select:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.45);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
    color: var(--ink);
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.35); }
    70% { box-shadow: 0 0 0 7px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

@keyframes orbit-ring {
    0% { transform: scale(0.82); opacity: 0.7; }
    70% { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(1.15); opacity: 0; }
}

@keyframes float-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* —— Split / grids —— */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.stack { display: grid; gap: 1rem; }

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.3rem;
    box-shadow: var(--shadow);
    animation: rise 0.5s ease both;
}

.panel h2,
.panel h3 {
    margin: 0 0 0.6rem;
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.panel p { color: var(--ink-soft); line-height: 1.5; margin: 0; }

.feature {
    display: grid;
    gap: 0.55rem;
}

.feature__index {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.06em;
}

.feature h3 {
    margin: 0;
    font-size: 1.05rem;
}

.metric {
    display: grid;
    gap: 0.35rem;
}

.metric__value {
    margin: 0;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.65rem;
    margin: 0 0 0.75rem;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.6rem;
    border-radius: 0;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 0.78rem;
    font-weight: 600;
}

/* —— Buttons —— */
.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: none;
    border-radius: 999px;
    padding: 0.78rem 1.2rem;
    background: var(--ink);
    color: #f7f6f2;
    font: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
    background: #2a2a2e;
    color: #fff;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-deep);
    color: #fff;
}

.btn-small {
    padding: 0.42rem 0.85rem;
    font-size: 0.82rem;
    border-radius: 999px;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}
.btn-ghost:hover {
    background: var(--ink);
    color: #fff;
}

.btn-highlight {
    background: var(--highlight);
}
.btn-highlight:hover {
    background: #000000;
    color: #fff;
}

/* —— Forms —— */
.form {
    display: grid;
    gap: 0.95rem;
    margin-top: 0.25rem;
}

label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.86rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="datetime-local"],
select,
textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 0.72rem 0.85rem;
    font: inherit;
    background: var(--surface-2);
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    background: var(--surface);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

textarea { min-height: 140px; resize: vertical; }

/* —— Settings —— */
.settings {
    display: grid;
    gap: 1rem;
    animation: rise 0.5s ease both;
}

.settings-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.settings-hero__avatar {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--ink);
    color: #f4f4f4;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
}

.settings-hero h2 {
    margin: 0 0 0.2rem;
    font-size: 1.45rem;
}

.settings-hero p {
    margin: 0;
}

.settings .panel p {
    margin-bottom: 0.15rem;
}

/* —— Interests desk —— */
.interests {
    animation: rise 0.5s ease both;
}

.interests-form {
    display: grid;
    gap: 1.15rem;
}

.interests-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ink);
}

.interests-status__count {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    margin: 0;
}

.interests-status__count strong {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.interests-status__count span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mute);
}

.interests-search {
    display: grid;
    gap: 0;
    min-width: min(100%, 16rem);
    font-size: 0.86rem;
    font-weight: 500;
}

.interests-search input[type="search"] {
    width: 100%;
    margin: 0;
    padding: 0.62rem 0.8rem;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--surface);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
}

.interests-search input[type="search"]:focus {
    outline: none;
    background: var(--surface);
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.interests-following {
    display: grid;
    gap: 0.7rem;
    padding: 0.95rem 1rem 1.05rem;
    background: var(--surface);
    border: 1px solid var(--ink);
}

.interests-following.is-empty .interests-chips {
    display: none;
}

.interests-following__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1rem;
}

.interests-following__label {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.interests-following__hint {
    margin: 0;
    color: var(--mute);
    font-size: 0.82rem;
    font-weight: 400;
}

.interests-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.interest-chip {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.38rem 0.55rem 0.38rem 0.7rem;
    border: 0;
    background: var(--ink);
    color: #f4f4f4;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.interest-chip span {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.55;
}

.interest-chip:hover span {
    opacity: 1;
}

.interests-empty,
.interests-miss {
    margin: 0;
    padding: 0.35rem 0 0.15rem;
    color: var(--ink-soft);
}

.interest-desks {
    display: grid;
    gap: 1.35rem;
}

.interest-desk__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.55rem 1rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--line);
}

.interest-desk__head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.interest-desk__head p {
    margin: 0.2rem 0 0;
    color: var(--mute);
    font-size: 0.82rem;
    font-weight: 400;
}

.interest-desk__tools {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.interest-desk__count {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--mute);
}

.interest-desk.has-on .interest-desk__count {
    color: var(--ink);
}

.interest-desk__toggle {
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.interest-desk__toggle:hover {
    opacity: 0.65;
}

.interest-beats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.interest-beat {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.15rem;
    margin: 0;
    padding: 0.38rem 0.75rem;
    border: 1px solid var(--ink);
    background: var(--surface);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.interest-beat[hidden],
.interest-desk[hidden] {
    display: none;
}

.interest-beat:hover {
    background: var(--surface-2);
}

.interest-beat:has(input:checked),
.interest-beat.is-on {
    background: var(--ink);
    color: #f4f4f4;
}

.interest-beat:has(input:focus-visible) {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.interest-beat input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.interest-beat input:focus {
    outline: none;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.interest-beat__name {
    position: relative;
    z-index: 0;
}

.interests-bar {
    position: sticky;
    bottom: 1rem;
    z-index: 8;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.85rem;
    margin-top: 0.15rem;
    background: var(--surface);
    border: 1px solid var(--ink);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.08);
}

/* —— Briefing / listen stage —— */
.workspace-main--listen {
    width: min(1180px, calc(100% - 2rem));
    max-width: none;
    margin: 0 auto;
    padding-top: 1rem;
}

.listen {
    display: grid;
    gap: 1.25rem;
    animation: rise 0.55s ease both;
    --seek: 0%;
}

.listen-frame {
    border: 1px solid var(--ink);
    background: #fff;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.08);
}

.listen-console {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.25rem 1.5rem;
    align-items: center;
    padding: 1.2rem 1.25rem 1.25rem;
    border-radius: 0;
    color: #f4f4f4;
    background:
        linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    animation: none;
}

.listen-play {
    appearance: none;
    display: grid;
    grid-template-rows: auto auto;
    justify-items: center;
    gap: 0.45rem;
    width: 6.4rem;
    height: 6.4rem;
    margin: 0;
    padding: 0.85rem 0.5rem 0.75rem;
    border: 1px solid #fff;
    border-radius: 0;
    background: #f7f7f7;
    color: #0a0a0a;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.18s ease, background 0.18s ease;
}

.listen-play:hover {
    transform: translateY(-1px);
    background: #fff;
}

.listen.is-playing .listen-play {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.listen-play__icon {
    display: inline-grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    font-size: 1.05rem;
    line-height: 1;
}

.listen-play__label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.listen-console__main {
    min-width: 0;
    display: grid;
    gap: 0.7rem;
}

.listen-console__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.4rem 1rem;
}

.listen-console__titles {
    min-width: 0;
    display: grid;
    gap: 0.28rem;
}

.listen-console__eyebrow {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(244, 244, 244, 0.55);
}

.listen-console__live {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 0;
    background: #f4f4f4;
    box-shadow: 0 0 0 0 rgba(244, 244, 244, 0.45);
    animation: listen-live 1.6s ease-out infinite;
}

.listen.is-playing .listen-console__live {
    background: #fff;
    animation: listen-live 1.1s ease-out infinite;
}

@keyframes listen-live {
    0% { box-shadow: 0 0 0 0 rgba(244, 244, 244, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(244, 244, 244, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 244, 244, 0); }
}

.listen-console__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #fafafa;
}

.listen-status {
    margin: 0;
    max-width: 16rem;
    color: rgba(244, 244, 244, 0.55);
    font-size: 0.76rem;
    line-height: 1.4;
    text-align: right;
}

.listen-console__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.listen-console__meta li {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: rgba(244, 244, 244, 0.78);
    font-size: 0.74rem;
    font-weight: 500;
}

.listen-seek {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.15rem;
}

.listen-time {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(244, 244, 244, 0.5);
    min-width: 2.5rem;
    font-variant-numeric: tabular-nums;
}

.listen-time:last-child { text-align: right; }

.listen-seek__track {
    position: relative;
    height: 2rem;
    display: grid;
    align-items: center;
}

.listen-seek__wave {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    pointer-events: none;
    opacity: 0.35;
    mask-image: linear-gradient(90deg, #000 0%, #000 var(--seek), transparent var(--seek));
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 var(--seek), transparent var(--seek));
}

.listen-seek__wave i {
    flex: 1;
    display: block;
    height: 28%;
    border-radius: 0;
    background: #fff;
    transform-origin: center;
}

.listen-seek__wave i:nth-child(3n) { height: 55%; }
.listen-seek__wave i:nth-child(4n) { height: 78%; }
.listen-seek__wave i:nth-child(5n) { height: 42%; }
.listen-seek__wave i:nth-child(7n) { height: 92%; }

.listen.is-playing .listen-seek__wave { opacity: 0.7; }

.listen.is-playing .listen-seek__wave i {
    animation: listen-wave 0.85s ease-in-out infinite;
}

.listen.is-playing .listen-seek__wave i:nth-child(odd) { animation-delay: 0.08s; }
.listen.is-playing .listen-seek__wave i:nth-child(3n) { animation-delay: 0.16s; }
.listen.is-playing .listen-seek__wave i:nth-child(4n) { animation-delay: 0.24s; }

@keyframes listen-wave {
    0%, 100% { transform: scaleY(0.45); }
    50% { transform: scaleY(1); }
}

.listen-seek__range {
    appearance: none;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 1.6rem;
    margin: 0;
    background: transparent;
    cursor: pointer;
}

.listen-seek__range:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.listen-seek__range::-webkit-slider-runnable-track {
    height: 2px;
    border-radius: 0;
    background: linear-gradient(
        90deg,
        #fff 0%,
        #fff var(--seek),
        rgba(255, 255, 255, 0.2) var(--seek),
        rgba(255, 255, 255, 0.2) 100%
    );
}

.listen-seek__range::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    margin-top: -5px;
    border-radius: 0;
    background: #fff;
    border: 0;
    box-shadow: none;
    transition: transform 0.15s ease;
}

.listen-seek__range:hover::-webkit-slider-thumb {
    transform: scale(1.15);
}

.listen-seek__range::-moz-range-track {
    height: 2px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.2);
}

.listen-seek__range::-moz-range-progress {
    height: 2px;
    border-radius: 0;
    background: #fff;
}

.listen-seek__range::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.listen-console__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.listen-tool {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.35rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: transparent;
    color: #f4f4f4;
    font: inherit;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.listen-tool em {
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(244, 244, 244, 0.55);
}

.listen-tool:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
}

.listen-tool:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.listen-tool[aria-pressed="true"] {
    background: #f4f4f4;
    border-color: #f4f4f4;
    color: #0a0a0a;
}

.listen-tool[aria-pressed="true"] em {
    color: rgba(10, 10, 10, 0.55);
}

.briefing-audio--needs-tap .listen-play {
    animation: audio-pulse 1.2s ease-in-out infinite;
}

@keyframes audio-pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.listen-asked {
    margin: 0;
    padding: 0.95rem 1.15rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid var(--ink);
    color: var(--ink-soft);
    line-height: 1.45;
    background: #f7f7f7;
}

.listen-asked span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 0.25rem;
}

.listen-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    gap: 0;
    align-items: stretch;
    animation: none;
    background: #fff;
}

.listen-script {
    min-width: 0;
    padding: 1.35rem 1.4rem 1.6rem;
    border-right: 1px solid var(--line);
    background: #fff;
}

.listen-script__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--ink);
}

.listen-script__head h2 {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.listen-script__head p {
    margin: 0;
    color: var(--mute);
    font-size: 0.82rem;
}

.listen-script__body {
    display: grid;
    gap: 0.35rem 0;
    font-size: clamp(1.08rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    color: var(--ink);
}

.listen-script__body > .listen-topic {
    margin-top: 1.7rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--line);
}

.listen-script__body > .listen-topic:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.listen-script__body > .listen-point,
.listen-script__body > .listen-bullets {
    margin-top: 0.55rem;
}

.listen-heading {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.listen-topic {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
}

.listen-topic-inline {
    color: var(--ink);
    font-weight: 700;
}

.listen-point,
.listen-bullets {
    margin: 0;
    color: var(--ink);
    max-width: 40rem;
}

.listen-bullets {
    padding-left: 1.2rem;
    display: grid;
    gap: 0.75rem;
}

.listen-bullets li::marker {
    color: var(--mute);
}

.listen-word {
    border-radius: 0;
    transition: background 0.12s ease, color 0.12s ease;
}

.listen-word.is-read {
    color: rgba(10, 10, 10, 0.38);
}

.listen-word.is-active {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.1);
    box-shadow: none;
}

a.cite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    margin-left: 0.15rem;
    padding: 0 0.3rem;
    border-radius: 0;
    border: 1px solid var(--ink);
    background: #fff;
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    vertical-align: 0.1em;
    transition: background 0.15s ease, color 0.15s ease;
}

a.cite:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fafafa;
    transform: none;
}

.listen-rail {
    position: sticky;
    top: 0;
    align-self: start;
    padding: 1.25rem 1.1rem 1.4rem;
    background: #f6f6f6;
    border: 0;
    max-height: calc(100vh - 1rem);
    overflow: auto;
}

.listen-rail__head {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--ink);
}

.listen-rail__head h2 {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.listen-rail__head p {
    margin: 0;
    color: var(--mute);
    font-size: 0.82rem;
}

.listen-rail__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.listen-rail__list a {
    display: grid;
    grid-template-columns: 1.6rem 1fr;
    gap: 0.65rem;
    align-items: start;
    padding: 0.8rem 0.35rem;
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.listen-rail__list a:hover {
    background: rgba(0, 0, 0, 0.04);
}

.listen-rail__list li:target a {
    background: rgba(0, 0, 0, 0.06);
}

.listen-rail__num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--mute);
    padding-top: 0.15rem;
}

.listen-rail__text {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.listen-rail__text strong {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.listen-rail__text em {
    font-style: normal;
    font-size: 0.78rem;
    color: var(--mute);
}

.listen-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-top: 0.15rem;
}

@media (max-width: 900px) {
    .listen-layout {
        grid-template-columns: 1fr;
    }

    .listen-script {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .listen-rail {
        position: static;
        max-height: none;
        padding: 1.15rem 1.1rem;
    }
}

@media (max-width: 720px) {
    .workspace-main--listen {
        width: min(100%, calc(100% - 1.25rem));
    }

    .listen-frame {
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
    }

    .listen-console {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 1.15rem 1rem 1.2rem;
        gap: 1rem;
    }

    .listen-console__top { justify-content: center; }

    .listen-status {
        text-align: center;
        max-width: none;
        width: 100%;
    }

    .listen-console__meta,
    .listen-console__controls { justify-content: center; }

    .listen-tool em { display: none; }

    .listen-script { padding: 1.1rem 1rem 1.25rem; }
}

.briefing-block {
    display: grid;
    gap: 1rem;
}

.briefing-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.briefing {
    white-space: pre-wrap;
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 1.02rem;
    color: var(--ink);
}

.source-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.source-list li {
    padding: 0.9rem 1rem;
    border-radius: 0;
    background: var(--surface-2);
    border: 1px solid var(--line);
}

.article-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.article-list__link {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 0.95rem;
    border-radius: 0;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.article-list__link:hover {
    border-color: var(--accent);
    background: var(--surface);
    transform: translateY(-1px);
}

.article-list__num {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
    color: var(--mute);
    padding-top: 0.15rem;
}

.article-list__body {
    display: grid;
    gap: 0.3rem;
}

.article-list__body strong {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.article-list__body .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    font-size: 0.8rem;
    color: var(--mute);
}

.compose {
    display: grid;
    gap: 1rem;
}

.compose__lead {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.compose__lead span {
    color: var(--ink-soft);
    font-weight: 500;
}

.table-wrap { overflow-x: auto; }

.edition-section-fields {
    margin: 0;
    padding: 0.85rem 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.65rem;
}

.edition-ingest {
    display: grid;
    gap: 0.75rem;
    margin: 0.25rem 0 0.5rem;
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--line);
}

.is-collapsed {
    display: none !important;
}

.edition-headlines {
    margin: 0.65rem 0 0;
    padding-left: 1.15rem;
    color: var(--ink);
    line-height: 1.55;
}

.edition-headlines li + li {
    margin-top: 0.35rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th, td {
    text-align: left;
    padding: 0.75rem 0.55rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    color: var(--mute);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.muted { color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

.page-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
}

.table-search {
    display: grid;
    flex: 1 1 18rem;
    min-width: min(100%, 16rem);
    max-width: 32rem;
    margin-right: auto;
}

.table-search input[type="search"] {
    width: 100%;
    margin: 0;
    padding: 0.52rem 0.8rem;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--surface);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
}

.table-search input[type="search"]:focus {
    outline: none;
    background: var(--surface);
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

.pager__status {
    margin: 0;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.pager__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
}

.pager__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.15rem;
    padding: 0.38rem 0.65rem;
    border: 1px solid var(--ink);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}

.pager__btn:hover {
    background: var(--ink);
    color: #fff;
}

.pager__btn.is-current {
    background: var(--ink);
    color: #fff;
}

.pager__btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.pager__gap {
    display: inline-flex;
    align-items: center;
    padding: 0 0.2rem;
    color: var(--mute);
}

.form-canvas {
    max-width: none;
    width: 100%;
}

.form-canvas--wide {
    max-width: none;
}

.form-canvas > .muted {
    margin-bottom: 1rem;
}

.form-canvas textarea {
    min-height: 200px;
}

.form-canvas .edition-section-fields textarea {
    min-height: 0;
}

.form-subhead {
    margin: 0.75rem 0 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.empty-note {
    margin: 0;
    padding: 1.15rem 0.1rem;
    color: var(--ink-soft);
}

.panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.panel-head h2 {
    margin: 0;
}

.panel-head .table-search {
    margin-right: 0;
    max-width: 22rem;
}

.workspace-main--wide .grid-2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .workspace-main--wide .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* —— Mobile nav —— */
.mobile-nav {
    display: none;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel:nth-child(2) { animation-delay: 0.04s; }
.panel:nth-child(3) { animation-delay: 0.08s; }
.panel:nth-child(4) { animation-delay: 0.12s; }

@media (max-width: 900px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar { display: none; }

    .layout-app:not(.is-today) .ambient,
    .layout-app.is-home:not(.is-today) .ambient,
    .layout-app.is-desk:not(.is-today) .ambient,
    .layout-app.is-briefing .ambient,
    .layout-app.is-interests .ambient,
    .layout-app.is-listener-inner .ambient,
    .layout-app.is-settings .ambient,
    .layout-app.is-admin .ambient {
        background: var(--paper);
    }

    .layout-app.is-today .ambient,
    .layout-app.is-today .workspace {
        background: #0a0a0a;
    }

    .layout-app.is-listener-inner .workspace,
    .layout-app.is-interests .workspace,
    .layout-app.is-briefing .workspace {
        background: var(--paper);
    }

    .workspace-stage {
        padding: 0 0 6rem;
        align-items: stretch;
    }

    .listener-panel,
    .desk-page {
        width: 100%;
        min-height: 0;
        border-radius: 0;
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .listener-panel--wide {
        width: 100%;
    }

    .listener-panel--player {
        min-height: 0;
        border-radius: 24px 24px 0 0;
    }

    .workspace-main--today {
        padding: 1.35rem 1.15rem 6rem;
    }

    .today-shell {
        width: 100%;
    }

    .workspace-main {
        width: min(920px, calc(100% - 1.5rem));
        padding-bottom: 6rem;
    }

    .workspace-main--desk {
        width: min(1080px, calc(100% - 1.25rem));
        padding-top: 0.75rem;
    }

    .workspace-main--wide,
    .workspace-main--wide.workspace-main--desk {
        width: 100%;
        padding-inline: 1rem;
    }

    .workspace-main--wide .grid-2 {
        grid-template-columns: 1fr;
    }

    .table-search {
        max-width: none;
        flex-basis: 100%;
        margin-right: 0;
    }

    .workspace-main--interests {
        width: min(920px, calc(100% - 1.5rem));
    }

    .interests-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }

    .interests-search {
        min-width: 0;
    }

    .interest-desk__head {
        align-items: flex-start;
    }

    .interests-bar {
        bottom: calc(4.25rem + env(safe-area-inset-bottom));
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
    }

    .workspace-bar {
        padding-inline: 1rem;
    }

    .agent {
        min-height: 0;
        gap: 0;
    }

    .agent-stage {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 1.35rem 0.25rem 0.5rem;
        gap: 1.75rem;
        width: 100%;
        align-items: start;
    }

    .agent-stage__lead h1 {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
    }

    .agent-mode__btn:hover {
        transform: none;
    }

    .mobile-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        background: #0a0a0a;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding: 0.45rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom));
    }

    .mobile-nav a {
        text-align: center;
        text-decoration: none;
        color: rgba(244, 244, 244, 0.55);
        font-size: 0.7rem;
        font-weight: 600;
        padding: 0.55rem 0.25rem;
        border-radius: 0;
    }

    .mobile-nav a.is-active {
        color: #0a0a0a;
        background: #f4f4f4;
    }

    .grid-2,
    .grid-3 { grid-template-columns: 1fr; }

    .public-header {
        padding-inline: 1rem;
    }

    .landing-hero__stage {
        width: min(100%, calc(100% - 2rem));
        justify-content: flex-start;
        padding-top: 1rem;
    }

    .landing-hero__brand {
        font-size: clamp(3.4rem, 16vw, 5rem);
        margin-bottom: 1.5rem;
    }

    .landing-hero__body {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .landing-cycle {
        min-height: 9.5rem;
    }

    .landing-path__inner {
        width: min(100%, calc(100% - 2rem));
    }

    .landing-path__list li {
        grid-template-columns: 2.5rem minmax(0, 1fr);
        gap: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .landing-hero__wash,
    .landing-cycle__panel,
    .landing-hero__rail span {
        animation: none !important;
    }
}

/* —— Presentation UI —— */
.workspace-main--listener {
    width: min(880px, calc(100% - 2.4rem));
    padding: 1.4rem 0 6rem;
}

.page-head { margin: 0 0 1.4rem; }
.page-head__bar {
    display: grid;
    grid-template-columns: 2rem 1fr 2rem;
    align-items: center;
    margin-bottom: 1.1rem;
}
.page-head__kicker {
    margin: 0;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.page-head__back {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: inherit;
    font-size: 1.6rem;
    line-height: 1;
}
.page-head__back--ghost { visibility: hidden; }
.page-head h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.page-head__lede {
    margin: 0.45rem 0 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.verified-foot {
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
}

.chip-row, .pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: var(--accent-soft);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.pill--peach { background: #f3e4d4; }
.pill--grey { background: #ececec; }
.pill--mint { background: #dceee3; color: #1f7a4d; }
.pill--pink { background: #f7dfe3; color: #9a3040; }
.pill--amber { background: #f6e4c8; color: #8a5a12; }
.pill--blue { background: #dce7f5; color: #24548a; }
.pill--live { background: #1a7a6a; color: #fff; }

.choice-grid {
    display: grid;
    gap: 0.55rem;
}
.choice {
    appearance: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 12px;
    padding: 0.85rem 0.9rem;
    text-align: left;
    font: inherit;
    cursor: pointer;
}
.choice.is-on, .choice[aria-pressed="true"] {
    background: #111;
    color: #fff;
    border-color: #111;
}
.choice:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.onboard-multi-count {
    margin: 0.7rem 0 0;
    font-size: 0.88rem;
}

/* Welcome — forest splash */
.welcome {
    --w-mute: rgba(253, 251, 247, 0.62);
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--accent-deep);
    color: #fdfbf7;
    margin: 0;
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1.35rem, 5vw, 3.5rem) 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
}
.layout-public.is-welcome .public-header,
.layout-public.is-welcome .public-footer { display: none; }
.layout-public.is-welcome .public-main--home {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.layout-public.is-welcome .ambient { background: var(--accent-deep); }

.welcome__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: welcome-in 0.65s ease both;
}
.welcome__logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.02em;
}
.welcome__scribble,
.home__scribble {
    position: absolute;
    top: -0.35rem;
    right: -0.15rem;
    width: 1.1rem;
    height: 0.55rem;
    background:
        radial-gradient(circle at 20% 50%, var(--peach-deep) 0 0.12rem, transparent 0.13rem),
        radial-gradient(circle at 50% 40%, var(--peach-deep) 0 0.1rem, transparent 0.11rem),
        radial-gradient(circle at 80% 55%, var(--peach-deep) 0 0.11rem, transparent 0.12rem);
}
.welcome__bar-link {
    color: var(--w-mute);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}
.welcome__bar-link:hover { color: #fff; }

.welcome__hero {
    position: relative;
    z-index: 1;
    max-width: 28rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 8vh, 5rem) 0 clamp(8rem, 22vh, 14rem);
    animation: welcome-in 0.8s 0.06s ease both;
}
.welcome__kicker {
    margin: 0 0 1.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--w-mute);
}
.welcome__headline {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.08;
}
.welcome__lede {
    margin: 1.25rem 0 0;
    max-width: 22rem;
    color: var(--w-mute);
    font-size: 1.05rem;
    line-height: 1.55;
}
.welcome__cta {
    margin-top: 2.25rem;
}
.welcome__btn {
    width: auto;
    min-width: 11.5rem;
    padding: 0.95rem 1.7rem;
    background: #fdfbf7;
    color: var(--accent-deep);
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}
.welcome__btn:hover {
    background: #fff;
    color: var(--accent-deep);
    transform: translateY(-2px);
}

.welcome__shapes {
    position: absolute;
    inset: auto 0 0 0;
    height: min(38vh, 18rem);
    pointer-events: none;
    z-index: 0;
}
.welcome__blob {
    position: absolute;
    border-radius: 50% 45% 55% 48% / 48% 52% 45% 55%;
    filter: blur(0.5px);
    animation: welcome-float 9s ease-in-out infinite alternate;
}
.welcome__blob--butter {
    width: 55%;
    height: 85%;
    left: -8%;
    bottom: -28%;
    background: var(--butter);
    opacity: 0.95;
}
.welcome__blob--mint {
    width: 48%;
    height: 78%;
    left: 28%;
    bottom: -35%;
    background: var(--mint);
    animation-delay: 0.6s;
}
.welcome__blob--lavender {
    width: 52%;
    height: 90%;
    right: -12%;
    bottom: -40%;
    background: var(--lavender);
    animation-delay: 1.1s;
}

@keyframes welcome-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes welcome-float {
    from { transform: translate3d(0, 0, 0) rotate(-2deg); }
    to { transform: translate3d(2%, -3%, 0) rotate(2deg); }
}

@media (max-width: 900px) {
    .welcome {
        padding: 1.35rem 1.35rem 0;
    }
    .welcome__bar-link { display: none; }
    .welcome__hero {
        min-height: calc(100dvh - 10rem);
        padding-bottom: 10rem;
    }
    .welcome__btn { width: 100%; }
}

/* Auth — full-bleed split layout */
.layout-public.is-auth {
    background: var(--accent-deep);
}
.layout-public.is-auth .ambient {
    background:
        radial-gradient(ellipse 50% 45% at 18% 30%, rgba(253, 251, 247, 0.08), transparent 60%),
        var(--accent-deep);
}
.layout-public.is-auth .public-header { display: none; }
.layout-public.is-auth .public-main,
.layout-public.is-auth .public-main--narrow {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.auth-shell {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
}

.auth-brand {
    position: relative;
    color: #fff;
    padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(253, 251, 247, 0.06), transparent 42%),
        radial-gradient(ellipse 70% 55% at 80% 85%, rgba(216, 237, 228, 0.22), transparent 55%),
        var(--accent-deep);
}
.auth-brand::after {
    content: "";
    position: absolute;
    inset: auto -10% -20% 35%;
    height: 55%;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.09), transparent 55%);
    pointer-events: none;
    animation: auth-glow 8s ease-in-out infinite alternate;
}
@keyframes auth-glow {
    from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
    to { transform: translate3d(-4%, -3%, 0) scale(1.08); opacity: 1; }
}

.auth-brand__mark {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    animation: auth-in 0.7s ease both;
}
.auth-brand__glyph {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 8px;
    background: var(--butter);
    color: var(--accent-deep);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}
.auth-brand__name {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    min-width: 0;
}
.auth-brand__name strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
}
.auth-brand__name small {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.auth-brand__copy {
    position: relative;
    z-index: 1;
    max-width: 28rem;
    animation: auth-in 0.85s 0.08s ease both;
}
.auth-brand__kicker {
    margin: 0 0 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.auth-brand__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4.6vw, 3.85rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.auth-brand__lede {
    margin: 1.25rem 0 0;
    max-width: 26rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
}

.auth-brand__points {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    animation: auth-in 0.9s 0.14s ease both;
}
.auth-brand__points li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}
.auth-brand__points svg {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    opacity: 0.85;
}

.auth-panel {
    background: #f3f3f0;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(1.15rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2.75rem);
    animation: auth-panel-in 0.75s 0.1s ease both;
}
@keyframes auth-panel-in {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: none; }
}
@keyframes auth-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.auth-panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.auth-panel__back,
.auth-panel__switch {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}
.auth-panel__back:hover,
.auth-panel__switch:hover { color: var(--ink); }
.auth-panel__switch {
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    background: #fff;
}

.auth-panel__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 24rem;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0 1.5rem;
}
.auth-panel__eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
}
.auth-panel__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.55rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.auth-panel__lede {
    margin: 0.75rem 0 0;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.5;
}
.auth-panel__flash { margin: 1.1rem 0 0; }

.auth-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
}
.auth-field {
    display: grid;
    gap: 0.4rem;
}
.auth-field > span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
}
.auth-field input {
    background: #fff;
    border: 1px solid #d8d8d4;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
}
.auth-field input:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
    background: #fff;
}
.auth-field .field-wrap .eye-toggle {
    bottom: 0.7rem;
}
.auth-form__submit {
    margin-top: 0.35rem;
    width: 100%;
    border-radius: 999px;
    padding: 0.95rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.auth-panel__demo {
    margin: 1rem 0 0;
    font-size: 0.82rem;
    color: var(--mute);
}
.auth-panel__foot {
    margin: 1.35rem 0 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.95rem;
}
.auth-panel__foot a {
    color: var(--ink);
    font-weight: 600;
}
.auth-panel__trust {
    margin: 0;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
}

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }
    .auth-brand {
        min-height: auto;
        padding-bottom: 2rem;
        gap: 1.75rem;
    }
    .auth-brand__title {
        font-size: clamp(2.2rem, 9vw, 2.8rem);
    }
    .auth-brand__points {
        display: none;
    }
    .auth-panel {
        min-height: auto;
        border-radius: 24px 24px 0 0;
        margin-top: -0.5rem;
        padding-bottom: 2rem;
    }
    .auth-panel__body {
        padding-top: 1.25rem;
        justify-content: flex-start;
    }
}

/* legacy auth-card kept for safety */
.auth-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem 1.35rem 1.6rem;
    border: 1px solid var(--line);
}
.auth-card h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin: 0.4rem 0 1.2rem;
}
.auth-card .brand-lockup {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}
.field-wrap { position: relative; }
.field-wrap .eye-toggle {
    position: absolute; right: 0.7rem; bottom: 0.55rem;
    background: none; border: 0; color: var(--mute); cursor: pointer; padding: 0.2rem;
}
.btn-block { width: 100%; border-radius: 12px; }

/* Onboarding */
.layout-onboard {
    background:
        radial-gradient(ellipse 90% 55% at 50% -8%, rgba(255, 255, 255, 0.92), transparent 58%),
        #e3e3e0;
}
.layout-onboard .ambient {
    background:
        radial-gradient(ellipse 60% 40% at 0% 0%, rgba(0, 0, 0, 0.04), transparent 55%),
        transparent;
}
.onboard-shell {
    width: min(720px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
    min-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
}
.onboard-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.15rem, 3vw, 1.65rem) clamp(1.5rem, 3vw, 2rem);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: clamp(20px, 3vw, 28px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.65) inset,
        0 18px 48px rgba(0, 0, 0, 0.06);
    animation: rise 0.45s ease both;
}
.onboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.onboard-top__left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.onboard-brand {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.03em;
}
.onboard-brand span {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.45em;
    font-weight: 700;
    letter-spacing: 0.12em;
    vertical-align: super;
    margin-left: 0.2rem;
}
.onboard-back {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}
.onboard-back:hover { color: var(--ink); }
.onboard-step {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mute);
}
.onboard-progress {
    height: 2px;
    background: var(--line);
    border-radius: 999px;
    margin: 0 0 2rem;
    overflow: hidden;
}
.onboard-progress__fill {
    display: block;
    height: 100%;
    background: #111;
    border-radius: inherit;
    transition: width 0.35s ease;
}
.onboard-intro {
    margin-bottom: 1.75rem;
    max-width: 36rem;
}
.onboard-panel .onboard-intro {
    margin-bottom: 1.35rem;
}
.onboard-shell h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 500;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}
.onboard-shell .lede {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.5;
}
.onboard-form { flex: 1; display: flex; flex-direction: column; }
.onboard-section { margin-bottom: 1.75rem; }
.onboard-section__label {
    display: block;
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    font-weight: 600;
}
.onboard-section__hint { margin: -0.35rem 0 0.85rem !important; font-size: 0.92rem !important; }
.onboard-section select {
    width: 100%;
    max-width: 28rem;
    margin-top: 0.5rem;
}
.topic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
}
.topic-tile {
    position: relative;
    min-height: 5.2rem;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 0.95rem 0.85rem 0.75rem;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.topic-tile:hover { border-color: #bdbdb9; }
.topic-tile.is-on { background: #111; color: #fff; border-color: #111; }
.topic-tile .tick {
    position: absolute; top: 0.55rem; right: 0.55rem;
    width: 1.15rem; height: 1.15rem; border-radius: 50%;
    background: #fff; color: #111;
    display: none; place-items: center; font-size: 0.7rem;
}
.topic-tile.is-on .tick { display: grid; }
.topic-tile--custom {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.topic-tile--custom input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: inherit;
}
.topic-tile--custom input::placeholder { color: var(--mute); }
.onboard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.75rem;
}
.onboard-actions .btn {
    min-width: 10.5rem;
}
.onboard-actions .muted {
    margin: 0;
    font-size: 0.9rem;
}
.persona-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem;
}
.persona {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 1rem 0.5rem;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.persona:hover { border-color: #bdbdb9; }
.persona.is-on { background: #111; color: #fff; border-color: #111; }
.persona svg { display: block; margin: 0 auto 0.4rem; }
.intent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    max-width: 36rem;
}
.pref-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}
.pref-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 1.05rem 0.75rem;
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pref-card:hover { border-color: #bdbdb9; }
.pref-card small { display: block; margin-top: 0.3rem; color: var(--mute); font-size: 0.72rem; }
.pref-card.is-on { background: #111; color: #fff; border-color: #111; }
.pref-card.is-on small { color: rgba(255,255,255,0.65); }
.schedule-list {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    max-width: 40rem;
}
.schedule-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.9rem;
    align-items: center;
    padding: 1.05rem 1.15rem;
    border-bottom: 1px solid var(--line);
}
.schedule-card:last-child { border-bottom: 0; }
.schedule-card strong { display: block; }
.schedule-card small { color: var(--mute); }
.toggle {
    width: 42px; height: 24px; border-radius: 999px;
    background: #d0d0ce; border: 0; position: relative; cursor: pointer;
}
.toggle.is-on { background: #111; }
.toggle::after {
    content: "";
    position: absolute; top: 3px; left: 3px;
    width: 18px; height: 18px; border-radius: 50%; background: #fff;
    transition: transform 0.15s ease;
}
.toggle.is-on::after { transform: translateX(18px); }
.ready {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
    padding: 0;
}
.ready__hero {
    max-width: 28rem;
    padding-top: 0.5rem;
}
.ready__kicker {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
}
.ready h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.ready .lede {
    margin: 1rem 0 0;
    max-width: 26rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.55;
}
.ready__cta {
    margin-top: 2rem;
}
.ready__cta .btn {
    min-width: 12rem;
}
.ready__summary {
    border-left: 1px solid var(--line);
    padding: 0.35rem 0 0.35rem 2rem;
}
.ready__block + .ready__block {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}
.ready__block h2 {
    margin: 0 0 0.7rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
}
.ready__block p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.5;
    color: var(--ink);
}
.ready__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}
.ready__list li {
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--ink);
}
.ready__empty {
    color: var(--mute);
}

@media (max-width: 900px) {
    .onboard-shell {
        width: min(100%, calc(100% - 1.5rem));
        padding: 1.1rem 0 2.5rem;
    }
    .onboard-panel {
        border-radius: 24px 24px 0 0;
        border-left: 0;
        border-right: 0;
        padding: 1.25rem 1.15rem 1.5rem;
    }
    .topic-grid { grid-template-columns: repeat(2, 1fr); }
    .persona-grid { grid-template-columns: repeat(4, 1fr); }
    .pref-row { grid-template-columns: 1fr; }
    .onboard-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .onboard-actions .btn { width: 100%; }
    .ready {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 0.75rem;
    }
    .ready__summary {
        border-left: 0;
        padding: 1.5rem 0 0;
        border-top: 1px solid var(--line);
    }
    .ready__cta .btn { width: 100%; }
}

/* Today dashboard (post-login home) */
body.layout-app.is-today {
    background: #0a0a0a;
    color: #f4f4f2;
}

.layout-app.is-today .ambient,
.layout-app.is-today .workspace {
    background: #0a0a0a;
}

.layout-app.is-today .workspace-main--today {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1.75rem clamp(1.35rem, 3vw, 2.5rem) 5.5rem;
    box-sizing: border-box;
    color: #f4f4f2;
}

.layout-app.is-today .workspace-main--desk.workspace-main--today {
    width: 100%;
    max-width: none;
}

.layout-app.is-today .flash {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.today-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.today-board {
    display: grid;
    gap: 1.85rem;
    width: 100%;
}

.today-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.today-hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.15rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
}

.today-hero__date {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.92rem;
}

.today-weather {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.today-weather svg { color: #fff; }
.today-weather strong { color: #fff; font-weight: 600; }

.today-catchup {
    position: relative;
    min-height: 16.5rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
}

.today-catchup__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(6, 6, 6, 0.96) 0%, rgba(6, 6, 6, 0.72) 42%, rgba(6, 6, 6, 0.28) 100%),
        radial-gradient(ellipse 70% 90% at 88% 42%, #b9a48a 0%, #6d5c4a 28%, #2a221c 58%, #0a0a0a 100%);
}
.today-catchup__bg::after {
    content: "";
    position: absolute;
    inset: 0 0 0 42%;
    background:
        radial-gradient(circle at 62% 48%, rgba(255, 236, 210, 0.22) 0 9%, transparent 10% 100%),
        repeating-linear-gradient(
            0deg,
            transparent 0 11px,
            rgba(255, 255, 255, 0.045) 11px 12px
        );
    mask-image: linear-gradient(90deg, transparent, #000 28%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%);
    pointer-events: none;
}
.today-catchup--midday .today-catchup__bg {
    background:
        linear-gradient(105deg, rgba(6, 6, 6, 0.96) 0%, rgba(6, 6, 6, 0.7) 42%, rgba(6, 6, 6, 0.28) 100%),
        radial-gradient(ellipse 70% 90% at 88% 42%, #c4b18a 0%, #7a6240 32%, #1c1814 62%, #0a0a0a 100%);
}
.today-catchup--evening .today-catchup__bg {
    background:
        linear-gradient(105deg, rgba(6, 6, 6, 0.96) 0%, rgba(6, 6, 6, 0.72) 42%, rgba(6, 6, 6, 0.32) 100%),
        radial-gradient(ellipse 70% 90% at 88% 42%, #6e7a92 0%, #3a4254 32%, #14161c 62%, #0a0a0a 100%);
}

.today-catchup__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.75rem 1.9rem 2.4rem;
    width: min(100%, 34rem);
}

.today-catchup__kicker {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.today-catchup__meta {
    margin: 0 0 0.85rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.48);
}

.today-catchup__form { margin: 0; width: 100%; }

.today-catchup__play {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem 1rem;
    width: 100%;
    max-width: 32rem;
    background: none;
    border: 0;
    color: #fff;
    font: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    text-align: left;
}

.today-catchup__play-btn {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: grid;
    place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease;
    grid-row: 1 / span 2;
}

.today-catchup__play:hover .today-catchup__play-btn {
    transform: scale(1.04);
}

.today-catchup__play-label {
    grid-column: 2;
    font-size: 1.02rem;
    font-weight: 600;
    white-space: nowrap;
}

.today-catchup__wave {
    grid-column: 2 / span 2;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 1.5rem;
    width: 100%;
    max-width: 16rem;
}

.today-catchup__wave i {
    flex: 1;
    max-width: 3px;
    height: var(--h, 40%);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.today-catchup__time {
    position: absolute;
    right: 1.35rem;
    bottom: 1.15rem;
    z-index: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.today-split {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.75fr);
    gap: clamp(1.75rem, 3.5vw, 3rem);
    align-items: start;
}

.today-feed__head,
.today-rail__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.today-feed__head h2,
.today-rail__head h2 {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.today-feed__head a,
.today-rail__head a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.today-feed__head a:hover,
.today-rail__head a:hover { color: #fff; }

.today-feed__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.today-feed__list li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.today-feed__list li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.today-story {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: start;
    padding: 1.05rem 0.15rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s ease;
}

.today-story:hover { opacity: 0.82; }

.today-story__num {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.32);
    font-variant-numeric: tabular-nums;
    padding-top: 0.15rem;
}

.today-story__copy strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
}

.today-story__copy em {
    display: block;
    margin-top: 0.22rem;
    font-style: normal;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

.today-story__tag {
    align-self: center;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.today-feed__empty,
.today-empty {
    padding: 1.2rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
}

.today-board__rail {
    position: sticky;
    top: 1rem;
}

.today-rail__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.today-rail__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.today-rail__list li:last-child .today-rail__row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.today-rail__row strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.today-rail__status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.today-rail__dots {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
}

.status-pip {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-block;
}

.status-pip.is-on.status-pip--active { background: #3ecf7a; }
.status-pip.is-on.status-pip--busy { background: #e05252; }
.status-pip.is-on.status-pip--developing { background: #e0a020; }
.status-pip.is-on.status-pip--quiet { background: #7a7a7a; }

.status-dot--active { background: #3ecf7a; }
.status-dot--busy { background: #e05252; }
.status-dot--developing { background: #e0a020; }
.status-dot--quiet { background: #6a6a6a; }

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.section-head h2 {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 960px) {
    .today-split {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .today-board__rail {
        position: static;
    }

    .today-catchup {
        min-height: 15rem;
    }

    .today-catchup__bg {
        background:
            linear-gradient(180deg, rgba(8, 8, 8, 0.28) 0%, rgba(8, 8, 8, 0.88) 62%),
            radial-gradient(ellipse 90% 70% at 50% 0%, #b9a48a 0%, #2a221c 55%, #0a0a0a 100%);
    }

    .today-catchup__content {
        width: 100%;
        max-width: none;
        justify-content: flex-end;
        padding-bottom: 2.85rem;
    }

    .today-catchup__play {
        grid-template-columns: auto minmax(0, 1fr);
        max-width: none;
    }

    .today-catchup__play-btn { grid-row: 1 / span 2; }
    .today-catchup__wave { grid-column: 2; max-width: none; }
}

@media (max-width: 640px) {
    .today-hero {
        flex-direction: column;
        gap: 0.75rem;
    }

    .today-weather { margin: 0; }

    .today-story {
        grid-template-columns: 1.75rem minmax(0, 1fr);
    }

    .today-story__tag {
        grid-column: 2;
        justify-self: start;
        margin-top: 0.35rem;
    }

    .today-catchup__play-btn {
        width: 3.1rem;
        height: 3.1rem;
    }

    .today-catchup__play-label {
        font-size: 0.95rem;
        white-space: normal;
    }
}

/* Ask */
.ask-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: center;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px;
    padding: 0.45rem 0.45rem 0.45rem 1rem;
    margin: 0.4rem 0 1.3rem;
}
.ask-box input {
    border: 0; background: transparent; padding: 0.55rem 0; box-shadow: none;
}
.ask-box input:focus { box-shadow: none; }
.ask-send {
    width: 2.6rem; height: 2.6rem; border-radius: 50%;
    background: #111; color: #fff; border: 0; display: grid; place-items: center; cursor: pointer;
}
.suggest-list { display: grid; gap: 0.5rem; }
.suggest {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

/* Player */
.player-head { text-align: center; margin-bottom: 1.1rem; }
.player-head h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 500; margin: 0.35rem 0 0.3rem; }
.player-controls {
    display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin: 0.6rem 0 0.8rem;
}
.player-play {
    width: 4.2rem; height: 4.2rem; border-radius: 50%;
    background: #fff; border: 1px solid var(--line); color: #111;
    display: grid; place-items: center; cursor: pointer;
}
.player-skip {
    width: 2.6rem; height: 2.6rem; border-radius: 50%;
    border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 0.72rem; font-weight: 700;
}
.tabs {
    display: flex; gap: 1.2rem;
    border-bottom: 1px solid var(--line);
    margin: 1.2rem 0 0.9rem;
}
.tabs a, .tabs button {
    background: none; border: 0; padding: 0.5rem 0; font: inherit; color: var(--mute);
    cursor: pointer; text-decoration: none; font-weight: 600;
}
.tabs .is-on { color: #111; box-shadow: inset 0 -2px 0 #111; }
.chapter { display: flex; gap: 0.85rem; padding: 0.65rem 0; color: inherit; text-decoration: none; }
.chapter time { color: var(--mute); font-variant-numeric: tabular-nums; width: 3.4rem; }
.action-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; margin-top: 1.2rem;
}
.action-bar .btn { border-radius: 12px; background: #fff; color: #111; border: 1px solid var(--line); }

/* Cards */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem 1.05rem;
}
.card + .card { margin-top: 0.7rem; }
.kicker {
    margin: 0 0 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
}
.update-item {
    display: grid; gap: 0.25rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none; color: inherit;
}
.update-item__top { display: flex; justify-content: space-between; align-items: center; }
.dock-play {
    display: flex; align-items: center; gap: 0.8rem;
    background: #111; color: #fff; border-radius: 14px;
    padding: 0.85rem 1rem; text-decoration: none; margin-top: 1rem;
}
.round-topic {
    display: grid; grid-template-columns: auto 1fr auto;
    gap: 0.8rem; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 0.85rem 1rem; margin-top: 0.55rem;
}
.round-topic__icon {
    width: 2.4rem; height: 2.4rem; border-radius: 50%;
    display: grid; place-items: center; background: #f0f0ee;
}
.mood-card { background: #e7f5ec; border: 0; }
.mood-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin-top: 0.8rem; }
.mood-pills span {
    background: #fff; border-radius: 10px; padding: 0.45rem 0.3rem; text-align: center; font-size: 0.72rem;
}
.explainer-card {
    display: grid; grid-template-columns: 1fr auto;
    gap: 0.8rem; align-items: start;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 1rem; text-decoration: none; color: inherit; margin-top: 0.6rem;
}
.explainer-card h3 { margin: 0.4rem 0 0.2rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.partner-mark {
    width: 3.1rem; height: 3.1rem; border-radius: 10px;
    background: #111; color: #fff; display: grid; place-items: center;
    font-size: 0.68rem; font-weight: 700; text-align: center; line-height: 1.15;
}
.event-hero { background: #111; color: #fff; border-radius: 16px; padding: 1.15rem; }
.event-hero .btn { background: #2a2a2a; color: #fff; width: 100%; border-radius: 10px; }
.event-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin-top: 0.9rem;
}
.event-tile {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 0.9rem 0.5rem; text-align: center; text-decoration: none; color: inherit;
    font-size: 0.78rem; font-weight: 600;
}
.event-tile svg { display: block; margin: 0 auto 0.4rem; }
.speaker-row { display: flex; gap: 0.7rem; overflow-x: auto; padding-bottom: 0.2rem; }
.speaker { text-align: center; min-width: 5.2rem; }
.speaker b { display: block; font-size: 0.78rem; }
.speaker small { color: var(--mute); }
.avatar-circle {
    width: 3.4rem; height: 3.4rem; border-radius: 50%;
    background: #ddd; display: grid; place-items: center; margin: 0 auto 0.35rem;
    font-weight: 700;
}
.settings-row {
    display: flex; justify-content: space-between; gap: 1rem; align-items: center;
    padding: 0.95rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.settings-row small { color: var(--mute); }
.filter-pills { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.3rem 0 1rem; }
.filter-pills a, .filter-pills button {
    border: 1px solid var(--line); background: #fff; color: inherit;
    border-radius: 999px; padding: 0.38rem 0.8rem; font: inherit; font-size: 0.82rem; font-weight: 600;
    text-decoration: none; cursor: pointer;
}
.filter-pills .is-on { background: #111; color: #fff; border-color: #111; }
.knowledge-item {
    display: grid; grid-template-columns: 1fr auto;
    gap: 0.6rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line);
    text-decoration: none; color: inherit;
}
.knowledge-item small { color: var(--mute); }
.profile-top {
    display: grid; grid-template-columns: auto 1fr auto;
    gap: 0.85rem; align-items: center; margin-bottom: 1.2rem;
}
.profile-top h2 { margin: 0; font-size: 1.15rem; }
.profile-top p { margin: 0.15rem 0 0; color: var(--ink-soft); font-size: 0.88rem; }
.secure-banner {
    display: flex; gap: 0.6rem; align-items: center;
    background: #eee; border-radius: 12px; padding: 0.75rem 0.9rem;
    color: var(--ink-soft); font-size: 0.82rem; margin-top: 1rem;
}

.status-dot.developing { background: #e0a020; }

@media (max-width: 900px) {
    .mood-pills, .event-grid { grid-template-columns: 1fr 1fr; }
    .mobile-nav a {
        display: flex; flex-direction: column; gap: 0.15rem; align-items: center;
        font-size: 0.62rem;
    }
    .mobile-nav svg { width: 18px; height: 18px; }
}

/* —— Logged-in listener product —— */
.workspace-main--listener {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.workspace-main--today {
    padding: 1.75rem clamp(1.35rem, 3vw, 2.5rem) 5.5rem;
}

.workspace-main--player {
    width: min(100%, 40rem);
    padding: 0;
}

.listener-panel {
    width: min(100%, 42rem);
    margin: 0 auto;
    padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.15rem, 3vw, 1.65rem) clamp(1.5rem, 3vw, 2rem);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: clamp(20px, 3vw, 28px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.65) inset,
        0 18px 48px rgba(0, 0, 0, 0.06);
    animation: rise 0.45s ease both;
}

.listener-panel--wide {
    width: min(100%, 56rem);
}

.listener-panel--player {
    width: min(100%, 38rem);
    padding-top: clamp(1.15rem, 2.5vw, 1.55rem);
}

.page-head {
    margin: 0 0 1.55rem;
}
.page-head__bar {
    margin-bottom: 1.25rem;
}
.page-head__kicker {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    color: var(--ink);
}
.page-head h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.4vw, 2.85rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.08;
}
.page-head__lede {
    margin: 0.5rem 0 0;
    max-width: 34rem;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.5;
}
.page-head__back {
    border-radius: 50%;
    transition: background 0.15s ease;
}
.page-head__back:hover {
    background: var(--accent-soft);
}

.page-meta {
    margin: -0.85rem 0 1.15rem;
    color: var(--mute);
    font-size: 0.88rem;
}

.chip-row { margin-bottom: 1rem; }

.empty-card {
    display: grid;
    gap: 1rem;
    justify-items: start;
    padding: 1.35rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--ink-soft);
}
.empty-card p { margin: 0; line-height: 1.5; }

.play-card-form { margin: 0 0 1.35rem; }
a.play-card,
button.play-card {
    appearance: none;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.95rem;
    width: 100%;
    margin: 0 0 1.35rem;
    padding: 1.05rem 1.15rem;
    border: 0;
    border-radius: 16px;
    background: #111;
    color: #fff;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, background 0.15s ease;
}
a.play-card:hover,
button.play-card:hover {
    background: #1c1c1c;
    color: #fff;
    transform: translateY(-1px);
}
.play-card__play {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: grid;
    place-items: center;
    font-size: 0.92rem;
    flex-shrink: 0;
}
.play-card__copy {
    min-width: 0;
    display: grid;
    gap: 0.4rem;
}
.play-card__copy strong {
    font-size: 0.98rem;
    font-weight: 600;
}
.play-card__wave {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 1.35rem;
    max-width: 14rem;
}
.play-card__wave i {
    flex: 1;
    max-width: 3px;
    height: var(--h, 40%);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}
.play-card__time {
    font-variant-numeric: tabular-nums;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
}

.ask-box {
    margin: 0 0 1.55rem;
    padding: 0.5rem 0.5rem 0.5rem 1.15rem;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.ask-box input {
    font-size: 1.02rem;
}
.ask-send {
    width: 2.75rem;
    height: 2.75rem;
    transition: transform 0.15s ease, background 0.15s ease;
}
.ask-send:hover {
    background: #000;
    transform: scale(1.04);
}

.suggest-list { gap: 0.55rem; }

.listener-section {
    margin: 0 0 1.35rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface-2, #f7f7f5);
}
.suggest {
    width: 100%;
    border-radius: 16px;
    padding: 0.95rem 1.05rem;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.suggest:hover {
    border-color: #c8c8c4;
    background: #fafafa;
    transform: translateY(-1px);
}
.suggest__icon {
    width: 1.7rem;
    height: 1.7rem;
    display: grid;
    place-items: center;
    color: var(--ink-soft);
}
.suggest__icon svg { display: block; }

.secure-banner {
    margin-top: 1.35rem;
    background: #efefed;
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

.story-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.story-list li {
    border-top: 1px solid var(--line);
}
.story-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.story-list--cards {
    display: grid;
    gap: 0.55rem;
}

.story-list--cards li {
    border: 0;
}

.story-list--cards li:last-child {
    border-bottom: 0;
}

.story-list--cards .story-row {
    padding: 1rem 1.05rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface-2, #f7f7f5);
    transition: border-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.story-list--cards .story-row:hover {
    opacity: 1;
    border-color: #c8c8c4;
    transform: translateY(-1px);
}
.story-row {
    display: grid;
    grid-template-columns: 2.1rem minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: start;
    padding: 1.05rem 0.1rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s ease;
}
.story-row:hover { opacity: 0.72; }
.story-row__num {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mute);
    font-variant-numeric: tabular-nums;
    padding-top: 0.2rem;
}
.story-row__copy strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -0.015em;
}
.story-row__copy em {
    display: block;
    margin-top: 0.28rem;
    font-style: normal;
    font-size: 0.8rem;
    color: var(--mute);
}
.story-row__tag {
    align-self: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: var(--accent-soft);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    white-space: nowrap;
}

.explainer-list {
    display: grid;
    gap: 0.55rem;
}

.explainer-list--cards .explainer-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.95rem;
    align-items: start;
    margin: 0;
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2, #f7f7f5);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.explainer-card {
    border-radius: 16px;
    padding: 1.1rem 1.15rem;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.explainer-card:hover {
    border-color: #c8c8c4;
    transform: translateY(-1px);
}
.explainer-card h3 {
    margin: 0.55rem 0 0.25rem;
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.explainer-card__listen {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.55rem 0 0;
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 600;
}
.explainer-card__listen svg { width: 16px; height: 16px; }

.filter-pills { margin: 0.15rem 0 1.2rem; }
.filter-pills a, .filter-pills button {
    padding: 0.42rem 0.9rem;
}

.event-list { display: grid; gap: 0.7rem; }
.event-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.95rem;
    align-items: center;
    padding: 1rem 1.05rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.event-card:hover {
    border-color: #c8c8c4;
    transform: translateY(-1px);
}
.event-card__date {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 12px;
    background: #111;
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    line-height: 1.05;
}
.event-card__date b { font-size: 1.15rem; }
.event-card__date small {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}
.event-card__copy { display: grid; gap: 0.22rem; min-width: 0; }
.event-card__copy strong {
    font-size: 1.02rem;
    letter-spacing: -0.015em;
}
.event-card__copy em,
.event-card__copy small {
    font-style: normal;
    color: var(--mute);
    font-size: 0.82rem;
}
.event-card__go { color: var(--mute); }

.knowledge-list { display: grid; gap: 0.55rem; }

.knowledge-list--cards .knowledge-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
    padding: 1rem 1.05rem;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2, #f7f7f5);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.knowledge-list--cards .knowledge-item:hover {
    border-color: #c8c8c4;
    transform: translateY(-1px);
}

.knowledge-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
    align-items: center;
    padding: 0.95rem 1.05rem;
    margin: 0;
    border: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.knowledge-item:hover {
    border-color: #c8c8c4;
    transform: translateY(-1px);
}
.knowledge-item strong {
    display: block;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
}
.knowledge-item small {
    display: block;
    margin-top: 0.22rem;
}
.knowledge-item__mark {
    color: var(--ink);
    display: grid;
    place-items: center;
}

.profile-top {
    padding: 0.15rem 0 1.25rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--line);
}
.profile-top__avatar {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
}
.profile-top h2 {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}
.section-head h2 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
}
.section-head a {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
}
.section-head a:hover { color: var(--ink); }

.settings-row {
    padding: 1.05rem 0;
    font-weight: 600;
}

.settings-card {
    margin: 0 0 1.2rem;
    padding: 0 1.05rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface-2, #f7f7f5);
    overflow: hidden;
}

.settings-card .settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s ease;
}

.settings-card .settings-row:last-child {
    border-bottom: 0;
}

.settings-card .settings-row:hover {
    opacity: 0.72;
}
.settings-row small {
    font-weight: 500;
}

.round-list { display: grid; gap: 0.55rem; margin-bottom: 1.35rem; }
.round-topic {
    margin-top: 0;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.round-topic:hover {
    border-color: #c8c8c4;
    transform: translateY(-1px);
}
.round-topic__icon--0 { background: #e8eef8; color: #24548a; }
.round-topic__icon--1 { background: #f6e4c8; color: #8a5a12; }
.round-topic__icon--2 { background: #eee0f5; color: #6b3d82; }
.round-topic__icon--3 { background: #f7dfe3; color: #9a3040; }

.update-list { margin-bottom: 1.25rem; }
.update-item {
    display: grid;
    gap: 0.4rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
}
.update-item strong {
    font-size: 1.05rem;
    letter-spacing: -0.015em;
    line-height: 1.35;
}

.dock-play-form { margin: 0; }
.dock-play {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.95rem 1.1rem;
    border: 0;
    border-radius: 16px;
    background: #111;
    color: #fff;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.dock-play:hover { color: #fff; background: #1c1c1c; }
.dock-play__btn {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
}

.mood-card {
    text-align: center;
    padding: 1.2rem 1rem 1.1rem;
    border-radius: 16px;
}
.mood-card__face { margin: 0; font-size: 1.6rem; }
.mood-card__title { margin: 0.15rem 0 0.85rem; }
.mood-pills b { color: #1f7a4d; }
.mood-pills b.is-neutral { color: var(--ink-soft); font-weight: 600; }
.opportunity-card p:last-child {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}
.watch-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.15rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}
.watch-card:hover { border-color: #c8c8c4; }

.story-block {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.05rem 1.15rem;
    margin-bottom: 0.7rem;
}
.story-block p { margin: 0; line-height: 1.55; color: var(--ink); }
.story-block .kicker { margin: 0 0 0.4rem; }
.story-block--you { background: #f7f4ef; border-color: transparent; }

.card { border-radius: 16px; }
.card + .card { margin-top: 0.7rem; }
.listener-panel > .kicker { margin-top: 1.15rem; }
.listener-panel > .kicker:first-of-type { margin-top: 0; }

.btn-block { margin-top: 1.2rem; }

.today-daypath {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: -0.55rem 0 0.15rem;
}
.today-daypath a {
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
}
.today-daypath a:hover,
.today-daypath a.is-on {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}

.today-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0.15rem 0 0.35rem;
}

.today-quick__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 0.55rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.today-quick__item svg {
    width: 1.15rem;
    height: 1.15rem;
    opacity: 0.9;
}

.today-quick__item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.today-rail-card {
    padding: 1.1rem 1.15rem 1.15rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.player {
    max-width: none;
    margin: 0;
}
.player .page-head { text-align: center; }
.player .page-head__bar { margin-bottom: 0.85rem; }
.player-head {
    display: grid;
    place-items: center;
    margin: -0.35rem 0 0.35rem;
    color: var(--ink-soft);
}
.player-play {
    width: 4.6rem;
    height: 4.6rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, background 0.15s ease;
}
.player-play:hover { transform: scale(1.04); background: #fafafa; }
.player .listen-status {
    text-align: center;
    max-width: none;
    color: var(--mute);
    font-size: 0.8rem;
    margin: 0.35rem 0 0.2rem;
}
.player .listen-time { color: var(--mute); }
.player .listen-seek {
    margin: 0.35rem 0 0.15rem;
}
.player .listen-seek__wave i { background: var(--ink); }
.player .listen-seek__range::-webkit-slider-runnable-track {
    background: linear-gradient(
        90deg,
        var(--ink) 0%,
        var(--ink) var(--seek),
        var(--line-strong) var(--seek),
        var(--line-strong) 100%
    );
}
.player .listen-seek__range::-webkit-slider-thumb {
    background: var(--ink);
    border-radius: 50%;
}
.player .listen-seek__range::-moz-range-track { background: var(--line-strong); }
.player .listen-seek__range::-moz-range-progress { background: var(--ink); }
.player .listen-seek__range::-moz-range-thumb {
    background: var(--ink);
    border-radius: 50%;
}
.player .listen-script {
    padding: 0.4rem 0 0;
    border: 0;
    background: transparent;
}
.chapter-list { margin-top: 0.25rem; }
.chapter {
    align-items: baseline;
    padding: 0.78rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}
.chapter.is-current { font-weight: 600; }
.chapter time {
    width: 3.6rem;
    font-variant-numeric: tabular-nums;
    font-size: 0.82rem;
}

.action-bar {
    margin-top: 1.5rem;
    gap: 0.55rem;
}
.action-bar .btn,
.action-bar form .btn {
    width: 100%;
    border-radius: 14px;
    padding: 0.72rem 0.6rem;
    font-size: 0.82rem;
}
.action-bar svg { width: 16px; height: 16px; }

/* Interests in listener shell */
.layout-app.is-interests .interests-toolbar {
    border-bottom-color: var(--line);
    padding-bottom: 1.1rem;
}

.layout-app.is-interests .interests-following-card {
    margin-bottom: 0.15rem;
}

.layout-app.is-interests .interests-following {
    border-radius: 16px;
    border-color: var(--line);
    background: var(--surface-2, #f7f7f5);
}

.layout-app.is-interests .interest-desk {
    padding: 1rem 1.05rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.layout-app.is-interests .interest-desk__head {
    border-bottom-color: var(--line);
}

.layout-app.is-interests .interest-beat {
    border-radius: 999px;
    border-color: var(--line);
}

.layout-app.is-interests .interest-chip {
    border-radius: 999px;
}

.layout-app.is-interests .interests-bar {
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

@media (min-width: 901px) {
    .layout-app.is-listener-inner .page-head--root .page-head__bar,
    .layout-app.is-interests .page-head--root .page-head__bar {
        display: none;
    }

    .layout-app.is-listener-inner .page-head--root h1,
    .layout-app.is-interests .page-head--root h1 {
        margin-top: 0.15rem;
    }
}

.event-hero {
    border-radius: 18px;
    padding: 1.25rem 1.2rem 1.3rem;
    margin-bottom: 1.15rem;
}
.event-hero h2 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
}
.event-grid { gap: 0.6rem; }
.event-tile {
    border-radius: 16px;
    padding: 1rem 0.5rem;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.event-tile:hover {
    border-color: #c8c8c4;
    transform: translateY(-1px);
}

.tabs { gap: 1.35rem; margin: 0.4rem 0 1.05rem; }

@media (max-width: 720px) {
    .story-row {
        grid-template-columns: 1.7rem minmax(0, 1fr);
    }
    .story-row__tag {
        grid-column: 2;
        justify-self: start;
        margin-top: 0.3rem;
    }
    .profile-top {
        grid-template-columns: auto 1fr;
    }
    .profile-top .btn { grid-column: 1 / -1; justify-self: start; }
    .play-card__time { display: none; }
}

@media (max-width: 900px) {
    .workspace-main--listener,
    .workspace-main--player {
        width: 100%;
    }
}

/* —— Desk editorial (Lebogang-style inner pages) —— */
.side-ask {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.55rem;
    margin: 0.85rem 0.75rem 1rem;
    padding: 0.62rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.side-ask__icon {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.72);
}

.side-ask__icon svg { display: block; width: 1rem; height: 1rem; }

.side-ask input {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 500;
}

.side-ask input::placeholder { color: rgba(255, 255, 255, 0.42); }
.side-ask input:focus { outline: none; }

.desk-chrome {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem clamp(1.25rem, 3vw, 2.25rem) 0.35rem;
    background: #fff;
}

.desk-chrome__meta {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.desk-page,
.listener-panel {
    width: min(100%, 46rem);
    margin: 0;
    padding: 0.35rem 0 2rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    animation: none;
}

.desk-page--wide,
.listener-panel--wide {
    width: min(100%, 72rem);
}

.desk-page--split {
    width: min(100%, 72rem);
}

.desk-head {
    margin: 0 0 1.75rem;
    padding: 0;
}

.desk-head__back {
    display: inline-block;
    margin: 0 0 0.85rem;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.desk-head__back:hover { color: var(--ink); }

.desk-head__kicker {
    margin: 0 0 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
}

.desk-head h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.06;
    color: var(--ink);
}

.desk-head__lede {
    margin: 0.55rem 0 0;
    max-width: 38rem;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.55;
}

.desk-label {
    margin: 0 0 0.85rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
}

.desk-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.desk-tabs a {
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}

.desk-tabs a.is-on {
    background: #111;
    border-color: #111;
    color: #fff;
}

.desk-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.desk-link:hover { opacity: 0.72; }

.catch-topics { margin: 0 0 2rem; }

.catch-topics__row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: 0.55rem;
}

.catch-topic {
    display: grid;
    gap: 0.2rem;
    padding: 0.95rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.catch-topic:hover {
    border-color: #111;
    transform: translateY(-1px);
}

.catch-topic strong {
    font-size: 0.92rem;
    letter-spacing: -0.01em;
}

.catch-topic span {
    font-size: 0.78rem;
    color: var(--mute);
}

.catch-topic__play {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.key-updates { margin-top: 0.25rem; }

.update-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.update-feed li { border-bottom: 1px solid var(--line); }

.update-row {
    display: grid;
    gap: 0.28rem;
    padding: 1rem 0;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.update-row:hover { opacity: 0.72; }

.update-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.update-row__meta em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
}

.update-row__meta time {
    font-size: 0.78rem;
    color: var(--mute);
}

.update-row strong {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.update-row__listen {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.update-row--explainer {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.update-row--explainer .partner-mark {
    grid-column: 2;
    grid-row: 1 / span 3;
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: -0.85rem 0 1.15rem;
}

.story-meta__tag {
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.story-meta__tag--muted {
    color: var(--mute);
    background: #fafafa;
}

.story-lead {
    margin: 0 0 1.35rem;
    max-width: 42rem;
}

.story-lead p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--ink);
}

.insight-box {
    margin: 0 0 1.15rem;
    padding: 1rem 1.05rem;
    border-radius: 14px;
    background: #f2f2f0;
    border: 1px solid #ececea;
}

.insight-box--soft { background: #fafafa; }

.insight-box h2 {
    margin: 0 0 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
}

.insight-box p {
    margin: 0;
    line-height: 1.55;
    color: var(--ink);
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 1.35rem;
}

.action-row form { margin: 0; }

.action-row__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.action-row__btn:hover {
    border-color: #111;
}

.action-row__btn--primary {
    background: #111;
    border-color: #111;
    color: #fff;
}

.action-row__btn--primary:hover {
    background: #000;
    color: #fff;
}

.explain-box {
    margin: 0 0 1.35rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--line);
}

.explain-box__hint {
    margin: -0.35rem 0 0.85rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.explain-box__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.explain-box__choices form { margin: 0; }

.explain-choice {
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.explain-choice:hover { border-color: #111; }

.story-source {
    margin-top: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 0.85rem;
}

.story-source summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ink-soft);
}

.story-source__body {
    margin-top: 0.85rem;
    color: var(--ink);
    line-height: 1.6;
}

.desk-ask {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    margin: 0 0 1.5rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid var(--line);
}

.desk-ask input {
    width: 100%;
    margin: 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    font: inherit;
    font-size: 1rem;
}

.desk-ask input:focus {
    outline: none;
    border-color: #111;
}

.suggest-panel { margin-bottom: 1rem; }

.suggest-panel__list {
    display: grid;
    gap: 0.45rem;
}

.suggest-panel__list form { margin: 0; }

.suggest-chip {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    text-align: left;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.suggest-chip:hover { border-color: #111; }

.desk-trust {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 1rem 0 0;
    color: var(--mute);
    font-size: 0.82rem;
}

.event-feed,
.session-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.event-feed li,
.session-feed li { border-bottom: 1px solid var(--line); }

.event-row,
.session-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.95rem;
    align-items: center;
    padding: 1rem 0;
    color: inherit;
    text-decoration: none;
}

.session-row {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    align-items: start;
}

.event-row:hover,
.session-row:hover { opacity: 0.72; }

.event-row__date {
    width: 3rem;
    text-align: center;
    line-height: 1.05;
}

.event-row__date b { display: block; font-size: 1.2rem; }
.event-row__date small {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
}

.event-row__copy,
.session-row span:nth-child(2) {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.event-row__copy strong,
.session-row strong {
    font-size: 1rem;
    letter-spacing: -0.015em;
}

.event-row__copy em,
.session-row em {
    font-style: normal;
    color: var(--mute);
    font-size: 0.82rem;
}

.session-row time {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--mute);
    font-variant-numeric: tabular-nums;
}

.session-row__tag {
    align-self: center;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #f2f2f0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.event-row__go { color: var(--mute); }

.event-live {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.event-live__badge { margin: -0.85rem 0 1rem; }

.live-now { margin-bottom: 1.5rem; }

.live-now__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafafa;
}

.live-now__card p {
    margin: 0.2rem 0 0;
    color: var(--mute);
    font-size: 0.82rem;
}

.live-now__play {
    flex-shrink: 0;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
}

.event-brief { margin-top: 1.5rem; }
.event-brief .btn { border-radius: 999px; }

.event-ask {
    padding: 1rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafafa;
}

.event-ask h2 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
}

.event-ask__hint {
    margin: 0 0 0.85rem;
    color: var(--mute);
    font-size: 0.82rem;
}

.event-ask__form {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.event-ask__form input {
    width: 100%;
    margin: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    font: inherit;
}

.event-ask__suggestions {
    display: grid;
    gap: 0.45rem;
}

.event-ask__suggestions form { margin: 0; }

.event-ask__chip {
    width: 100%;
    padding: 0.72rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    text-align: left;
    font: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

.event-ask__chip:hover { border-color: #111; }

.event-insights {
    margin-top: 1rem;
    padding: 1rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.event-insights__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}

.event-insights__grid div {
    display: grid;
    gap: 0.15rem;
    text-align: center;
}

.event-insights__grid strong {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.event-insights__grid span {
    font-size: 0.72rem;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.empty-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafafa;
    box-shadow: none;
}

.layout-app.is-interests .desk-page,
.layout-app.is-interests .listener-panel {
    width: min(100%, 72rem);
}

.layout-app.is-interests .interests-toolbar {
    border-bottom: 1px solid var(--line);
}

.layout-app.is-interests .interests-following {
    border-radius: 14px;
    border-color: var(--line);
    background: #fafafa;
}

.layout-app.is-interests .interest-desk {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.layout-app.is-interests .interest-beat {
    border-radius: 999px;
    border-color: var(--line);
}

@media (max-width: 900px) {
    .desk-chrome { padding-inline: 1.15rem; }

    .workspace-stage {
        padding: 0 1.15rem 6rem;
    }

    .desk-page,
    .listener-panel,
    .desk-page--wide,
    .listener-panel--wide,
    .desk-page--split {
        width: 100%;
        padding-top: 0.15rem;
    }

    .event-live {
        grid-template-columns: 1fr;
    }

    .event-live__aside {
        order: -1;
    }

    .catch-topics__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .action-row__btn,
    .explain-choice {
        width: 100%;
    }

    .desk-ask {
        grid-template-columns: 1fr;
    }
}

/* —— Briefing player (deck screen 05) —— */
.desk-page--player {
    width: min(100%, 40rem);
}

.player-page .desk-head {
    margin-bottom: 1.25rem;
}

.player-stage {
    display: grid;
    justify-items: center;
    gap: 0.85rem;
    margin: 0 0 1.5rem;
    padding: 1.5rem 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fafafa;
}

.player-ring {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    border: 2px solid #111;
    display: grid;
    place-items: center;
    margin-bottom: 0.15rem;
}

.player-ring__logo {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1;
}

.player-page .player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.player-page .player-play {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.player-page .player-skip {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.player-page .listen-seek {
    width: 100%;
    max-width: 28rem;
    margin: 0;
}

.player-page .listen-status {
    margin: 0;
    min-height: 1.1rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--mute);
}

.player-tabs {
    margin-bottom: 0;
    border-bottom: 1px solid var(--line);
}

.player-panel {
    padding: 1rem 0 0.25rem;
    min-height: 6rem;
}

.chapter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.chapter-list .chapter {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}

.chapter-list .chapter.is-current {
    font-weight: 600;
}

.chapter-list time {
    font-variant-numeric: tabular-nums;
    font-size: 0.82rem;
    color: var(--mute);
}

.player-empty {
    padding: 1rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafafa;
}

.player-empty p {
    margin: 0;
    line-height: 1.55;
    color: var(--ink-soft);
}

.player-transcript .listen-script__body {
    font-size: 1rem;
    line-height: 1.65;
}

.listen-script__body.is-hidden,
.listen-script__body[hidden] {
    display: none !important;
}

.player-ask {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    margin: 1.35rem 0 0.85rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--line);
}

.player-ask input {
    width: 100%;
    margin: 0;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font: inherit;
    font-size: 0.92rem;
}

.player-ask input:focus {
    outline: none;
    border-color: #111;
}

.player-ask .btn {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.player-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.player-actions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.72rem 0.5rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.player-actions__btn:hover {
    border-color: #111;
}

@media (max-width: 720px) {
    .player-actions {
        grid-template-columns: 1fr;
    }
}

/* Neutralize retired Today-desk black theme */
body.layout-app.is-today,
.layout-app.is-today .ambient,
.layout-app.is-today .workspace {
    background: var(--paper) !important;
    color: var(--ink);
}
.layout-app.is-today .workspace-main--today {
    color: var(--ink);
    background: transparent;
}

/* =========================================================
   SasaExplains — clean editorial pass
   ========================================================= */

html, body {
    background: #f6f6f4;
    color: #0e0e0e;
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

.layout-app .ambient,
.layout-app.is-home-app .ambient,
.layout-app.is-listener-inner .ambient,
.layout-app.is-interests .ambient,
.layout-app.is-briefing .ambient,
.layout-app.is-today .ambient {
    background:
        linear-gradient(90deg, #0a0a0a 0, #0a0a0a var(--sidebar-w), transparent var(--sidebar-w)),
        #f6f6f4 !important;
}

.layout-public.is-welcome .public-header {
    display: none !important;
}

.layout-public.is-welcome .public-main--home {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.welcome {
    background: #000;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.4rem, 5vw, 4.5rem) 1.5rem;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.welcome__feats,
.welcome__rule,
.welcome .verified-foot { display: none; }

.welcome__foot {
    margin: 0;
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.welcome__brand {
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
    font-style: italic;
    letter-spacing: -0.03em;
}

.welcome__headline {
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
    max-width: 11ch;
}

.welcome__lede {
    max-width: 28rem;
    color: rgba(255,255,255,0.62) !important;
}

.sidebar {
    background: #0a0a0a !important;
    border-right: 0 !important;
}

.brand--sidebar .brand-copy strong {
    font-family: var(--font-display) !important;
    font-size: 1.35rem !important;
    font-weight: 400 !important;
    font-style: italic;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
}

.brand--sidebar .brand-copy small {
    letter-spacing: 0.16em;
    opacity: 0.45;
}

.side-link--featured {
    background: transparent !important;
    border-color: transparent !important;
}

.side-link--featured.is-active,
.side-link.is-active {
    background: #fff !important;
    color: #0a0a0a !important;
}

.side-link--featured.is-active::before,
.side-link.is-active::before {
    display: none;
}

.workspace--home,
.workspace--inner,
.workspace--today {
    background: var(--paper) !important;
}

.workspace-main--home {
    width: min(100%, 42rem);
    margin: 0 auto;
    padding: clamp(1.1rem, 3vw, 1.75rem) clamp(1.1rem, 3.5vw, 1.75rem) 6.5rem;
}

.workspace-stage {
    padding-top: 1.25rem;
}

.listener-panel,
.desk-page {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 22px !important;
    box-shadow: none !important;
}

.desk-head h1,
.page-head h1 {
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
    letter-spacing: -0.03em;
}

.desk-head__kicker,
.page-head__kicker {
    color: var(--mute) !important;
}

/* Home — Sasa desk */
.home {
    animation: rise 0.45s ease both;
}

.home__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.home__brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.home__top-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.home__icon-btn {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    text-decoration: none;
}

.home__avatar {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #fdfbf7;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.home__intro {
    margin-bottom: 1.25rem;
    max-width: 28rem;
}

.home__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 2.85rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.home__lede {
    margin: 0.55rem 0 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.home__search {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 1.35rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.15rem 0.35rem 0.15rem 1rem;
}

.home__search-icon {
    display: grid;
    place-items: center;
    color: var(--mute);
    margin-right: 0.45rem;
}

.home__search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0.85rem 0.4rem;
    font: inherit;
    font-size: 0.98rem;
    color: var(--ink);
    outline: none;
}

.home__mic {
    width: 2.55rem;
    height: 2.55rem;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fdfbf7;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.home__cats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 1.75rem;
}

.home__cat {
    display: grid;
    gap: 0.45rem;
    justify-items: center;
    padding: 0.95rem 0.4rem 0.85rem;
    border-radius: 18px;
    text-decoration: none;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    transition: transform 0.15s ease;
}

.home__cat:hover { transform: translateY(-2px); }

.home__cat-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.45);
}

.home__cat--mint { background: var(--mint); }
.home__cat--peach { background: var(--peach); }
.home__cat--lavender { background: var(--lavender); }
.home__cat--sky { background: var(--sky); }
.home__cat--butter { background: var(--butter); }

.home__section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.home__section-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.home__section-head a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.home__featured { margin-bottom: 1.75rem; }

.home__feature-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.75rem;
    min-height: 10.5rem;
    padding: 1.15rem;
    border-radius: 22px;
    background: var(--accent-deep);
    color: #fdfbf7;
    text-decoration: none;
    overflow: hidden;
    position: relative;
}

.home__feature-copy {
    display: grid;
    align-content: start;
    gap: 0.55rem;
    z-index: 1;
}

.home__feature-tag {
    display: inline-flex;
    width: fit-content;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--coral);
    color: var(--accent-deep);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home__feature-copy strong {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3.5vw, 1.55rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.home__feature-copy em {
    font-style: normal;
    font-size: 0.82rem;
    color: rgba(253, 251, 247, 0.62);
}

.home__feature-visual {
    position: relative;
    border-radius: 16px;
    background:
        linear-gradient(160deg, rgba(253, 251, 247, 0.12), transparent 55%),
        var(--mint);
    overflow: hidden;
}

.home__feature-orb {
    position: absolute;
    inset: 18% 12% auto auto;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: var(--lavender);
    box-shadow: -1.5rem 2rem 0 var(--butter);
}

.home__empty {
    margin: 0;
    color: var(--mute);
}

.home__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.home__row {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 0.85rem;
    align-items: center;
    padding: 0.75rem;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.home__row:hover {
    transform: translateY(-1px);
    border-color: var(--line-strong);
}

.home__row-thumb {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--ink);
}

.home__row-thumb--mint { background: var(--mint); }
.home__row-thumb--peach { background: var(--peach); }
.home__row-thumb b {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
}

.home__row-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.home__row-copy strong {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}

.home__row-copy em {
    font-style: normal;
    font-size: 0.82rem;
    color: var(--mute);
}

.update-feed,
.event-feed {
    display: grid;
    gap: 0;
}

.update-row,
.event-row {
    border-radius: 0 !important;
    padding: 1.1rem 0 !important;
    border-bottom: 1px solid var(--line);
    background: transparent !important;
}

.update-row:hover,
.event-row:hover {
    background: transparent !important;
    opacity: 0.65;
}

.play-card {
    background: var(--accent-deep) !important;
    border-radius: 18px !important;
}

.auth-panel {
    background: var(--paper) !important;
}

.auth-brand__title,
.auth-panel__title {
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
}

.auth-brand {
    background: var(--accent-deep) !important;
}

.pill--peach {
    background: var(--peach) !important;
    color: var(--ink) !important;
}

.btn-primary {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    border-radius: 999px;
}

.mobile-nav {
    background: rgba(253, 251, 247, 0.94) !important;
    border-top: 1px solid var(--line) !important;
}

.mobile-nav a.is-active {
    color: var(--accent) !important;
}

@media (min-width: 901px) {
    .home__top { display: none; }
}

.auth-brand__trust {
    margin: 0;
    position: relative;
    z-index: 1;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
}

.auth-brand__points { display: none; }

.welcome__editorial {
    border-left: 1px solid rgba(255,255,255,0.14);
    padding-left: clamp(1.25rem, 3vw, 2rem);
}

.welcome__story-lead {
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
    font-size: clamp(1.6rem, 2.5vw, 2rem) !important;
}

.onboard-brand span {
    font-style: italic;
    font-weight: 400;
}

.onboard-panel {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    box-shadow: none !important;
    border-radius: 22px;
}

.onboard-intro h1 {
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
}

/* =========================================================
   Explainer product layout
   ========================================================= */

.ex-page,
.ex {
    width: min(100%, 42rem);
    margin: 0 auto;
    animation: rise 0.45s ease both;
}

.ex-page__intro {
    margin-bottom: 1.75rem;
}

.ex-page__eyebrow,
.ex__partner {
    margin: 0 0 0.7rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mute);
}

.ex-page__title,
.ex__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: var(--ink);
}

.ex-page__title {
    font-size: clamp(2.6rem, 5vw, 3.6rem);
}

.ex-page__lede,
.ex__deck {
    margin: 0.85rem 0 0;
    max-width: 34rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.ex-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.75rem;
}

.ex-filters__link {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--surface-2);
}

.ex-filters__link:hover {
    color: var(--ink);
    background: var(--mint);
}

.ex-filters__link.is-on {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.ex-empty {
    padding: 1.5rem 0;
    color: var(--mute);
}

.ex-index {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.ex-index__row {
    display: grid;
    grid-template-columns: 2.4rem 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.ex-index__row:hover {
    transform: translateY(-1px);
    border-color: var(--line-strong);
}

.ex-index__num {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mute);
}

.ex-index__copy {
    display: grid;
    gap: 0.28rem;
    min-width: 0;
}

.ex-index__copy strong {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.4vw, 1.35rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--ink);
}

.ex-index__copy em {
    font-style: normal;
    font-size: 0.88rem;
    color: var(--mute);
}

.ex-index__meta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mute);
    white-space: nowrap;
}

/* Detail */
.ex__back {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--mute);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.ex__back:hover { color: var(--ink); }

.ex__hero {
    margin-bottom: 1.35rem;
}

.ex__title {
    font-size: clamp(2.1rem, 5vw, 3rem);
    max-width: 18ch;
}

.ex__meta {
    margin: 1rem 0 0;
    font-size: 0.88rem;
    color: var(--mute);
}

.ex-play {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: 20px;
    text-decoration: none;
    color: #fdfbf7;
    background: var(--accent-deep);
    transition: transform 0.15s ease, background 0.15s ease;
}

.ex-play:hover {
    background: var(--accent);
    color: #fdfbf7;
    transform: translateY(-1px);
}

.ex-play__btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fdfbf7;
    color: var(--accent-deep);
    font-size: 0.95rem;
}

.ex-play__copy {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.ex-play__copy strong {
    font-size: 0.98rem;
    font-weight: 600;
}

.ex-play .play-card__wave {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 1.35rem;
}

.ex-play .play-card__wave i {
    display: block;
    width: 3px;
    height: var(--h, 40%);
    border-radius: 99px;
    background: rgba(253, 251, 247, 0.55);
}

.ex-play__time {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(253, 251, 247, 0.55);
}

.ex-modes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    margin: 0 0 1.5rem;
    padding: 0.3rem;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--line);
}

.ex-modes__item {
    display: grid;
    place-items: center;
    padding: 0.72rem 0.55rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.ex-modes__item:hover {
    color: var(--ink);
}

.ex-modes__item.is-on {
    background: var(--accent);
    color: #fdfbf7;
}

.ex-body {
    padding: 0.25rem 0 1.5rem;
}

.ex-body__label {
    margin: 0.35rem 0 0.65rem;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--ink);
}

.ex-body__label:first-child { margin-top: 0.25rem; }

.ex-body__lead {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.5;
    color: var(--ink-soft);
    font-family: var(--font-body);
}

.ex-body p {
    margin: 0.85rem 0 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ink);
}

.ex-body__prose {
    margin-top: 0.9rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ink);
}

.ex-body__prose p { margin: 0.85rem 0 0; }
.ex-body__prose p:first-child { margin-top: 0; }

.ex-callout {
    margin-top: 1.35rem;
    padding: 1.1rem 1.15rem;
    border-radius: 18px;
}

.ex-callout__kicker {
    margin: 0 0 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.ex-callout p:last-child {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.35;
    color: var(--ink);
}

.ex-callout--mint { background: var(--mint); }
.ex-callout--lavender { background: var(--lavender); }
.ex-callout--peach { background: var(--peach); }
.ex-callout--sky { background: var(--sky); }

.ex-noticed {
    list-style: none;
    margin: 1.15rem 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.ex-noticed__item {
    display: grid;
    grid-template-columns: 2.6rem 1fr;
    gap: 0.85rem;
    align-items: start;
}

.ex-noticed__icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--ink);
}

.ex-noticed__icon--mint { background: var(--mint); }
.ex-noticed__icon--peach { background: var(--peach); }
.ex-noticed__icon--lavender { background: var(--lavender); }
.ex-noticed__icon--sky { background: var(--sky); }
.ex-noticed__icon--butter { background: var(--butter); }

.ex-noticed__item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.ex-noticed__item p {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.ex-insight {
    margin-top: 1.15rem;
    padding: 1.15rem 1.2rem;
    border-radius: 18px;
}

.ex-insight h3 {
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--ink);
}

.ex-insight ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.ex-insight--mint { background: var(--mint); }
.ex-insight--lavender { background: var(--lavender); }
.ex-insight--sky { background: var(--sky); }
.ex-insight--peach { background: var(--peach); }

.ex-next {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.ex-next li,
.ex-next a {
    display: block;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.45;
}

.ex-next a:hover {
    border-color: var(--accent);
}

.ex-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.ex-foot__btn {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.7rem 1.05rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.ex-foot__btn:hover { border-color: var(--accent); }

.ex-foot__btn--primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fdfbf7;
}

.ex-foot__btn--primary:hover {
    background: var(--accent-deep);
    color: #fdfbf7;
}

@media (max-width: 720px) {
    .ex-modes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ex-index__row {
        grid-template-columns: 2rem 1fr;
    }

    .ex-index__meta {
        display: none;
    }

    .ex-play {
        grid-template-columns: auto 1fr;
    }

    .ex-play__time { display: none; }

    .ex__title {
        max-width: none;
    }

    .home__cats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .home__feature-card {
        grid-template-columns: 1fr;
    }

    .home__feature-visual {
        min-height: 6.5rem;
    }
}

/* =========================================================
   Briefing / listen player
   ========================================================= */

.workspace-main--player {
    width: min(100%, 42rem) !important;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.15rem, 3vw, 1.75rem) 6.5rem !important;
    background: transparent !important;
}

.workspace--player {
    background: #f6f6f4 !important;
}

.workspace--player .workspace-stage {
    padding: 0 !important;
    display: block !important;
}

.bp {
    width: min(100%, 40rem);
    margin: 0 auto;
    animation: rise 0.45s ease both;
    --seek: 0%;
}

.bp__back {
    display: inline-block;
    margin-bottom: 1.35rem;
    color: #8b8b8b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.bp__back:hover { color: #0e0e0e; }

.bp__hero {
    margin-bottom: 1.5rem;
}

.bp__eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b8b8b;
}

.bp__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: #0e0e0e;
}

.bp__lede {
    margin: 0.75rem 0 0;
    max-width: 30rem;
    font-size: 1.02rem;
    line-height: 1.5;
    color: #4a4a4a;
}

.bp-deck {
    display: grid;
    justify-items: center;
    gap: 1rem;
    margin: 0 0 1.75rem;
    padding: 1.75rem 1.25rem 1.35rem;
    border-radius: 22px;
    background: #0e0e0e;
    color: #fff;
}

.bp-deck__mark {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.28);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-style: italic;
}

.bp-deck__controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bp-play {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #0e0e0e;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.bp-play:hover { transform: scale(1.04); }

.bp.is-playing .bp-play {
    box-shadow: 0 0 0 6px rgba(255,255,255,0.12);
}

.bp-play .listen-play__icon {
    font-size: 1.15rem;
    line-height: 1;
}

.bp-skip,
.bp-tool {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.22);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.bp-skip {
    width: 2.75rem;
    height: 2.75rem;
}

.bp-skip:disabled,
.bp-tool:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.bp-seek {
    width: 100%;
    max-width: 26rem;
    display: grid;
    grid-template-columns: 2.6rem 1fr 2.6rem;
    gap: 0.65rem;
    align-items: center;
    margin: 0;
}

.bp-seek__time {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    font-variant-numeric: tabular-nums;
}

.bp-seek .listen-seek__track {
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    height: 0.35rem;
    position: relative;
    overflow: visible;
}

.bp-seek .listen-seek__range {
    width: 100%;
    margin: 0;
    height: 1.25rem;
    appearance: none;
    background: transparent;
    accent-color: #fff;
    cursor: pointer;
}

.bp-seek .listen-seek__range::-webkit-slider-runnable-track {
    height: 0.35rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff var(--seek, 0%), rgba(255,255,255,0.18) var(--seek, 0%));
}

.bp-seek .listen-seek__range::-webkit-slider-thumb {
    appearance: none;
    width: 0.9rem;
    height: 0.9rem;
    margin-top: -0.28rem;
    border-radius: 50%;
    background: #fff;
    border: 0;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.18);
}

.bp-seek .listen-seek__range::-moz-range-track {
    height: 0.35rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
}

.bp-seek .listen-seek__range::-moz-range-progress {
    height: 0.35rem;
    border-radius: 999px;
    background: #fff;
}

.bp-seek .listen-seek__range::-moz-range-thumb {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: #fff;
    border: 0;
}

.bp-tools {
    display: flex;
    gap: 0.45rem;
}

.bp-tool {
    min-width: 2.5rem;
    padding: 0.45rem 0.7rem;
}

.bp-tool[aria-pressed="true"] {
    background: #fff;
    color: #0e0e0e;
    border-color: #fff;
}

.bp-status {
    margin: 0;
    min-height: 1.1rem;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.bp-tabs {
    display: flex;
    gap: 1.25rem;
    margin: 0 0 1.15rem;
    border-bottom: 1px solid #e8e8e6;
}

.bp-tabs a {
    padding: 0.7rem 0;
    text-decoration: none;
    color: #8b8b8b;
    font-size: 0.92rem;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.bp-tabs a:hover { color: #0e0e0e; }

.bp-tabs a.is-on {
    color: #0e0e0e;
    border-bottom-color: #0e0e0e;
}

.bp-panel {
    min-height: 8rem;
    margin-bottom: 1.5rem;
}

.bp-empty {
    margin: 0.5rem 0;
    color: #4a4a4a;
    line-height: 1.55;
}

.bp-chapters {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bp-chapters__item {
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    gap: 0.85rem;
    align-items: baseline;
    padding: 0.95rem 0;
    border-bottom: 1px solid #ececec;
}

.bp-chapters__item time {
    font-size: 0.78rem;
    font-weight: 600;
    color: #8b8b8b;
    font-variant-numeric: tabular-nums;
}

.bp-chapters__item span {
    font-size: 1rem;
    font-weight: 500;
    color: #0e0e0e;
}

.bp-chapters__item.is-current span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
}

.bp-transcript .listen-script__body {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #2a2a2a;
}

.bp-sources {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bp-sources a {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ececec;
    text-decoration: none;
    color: inherit;
}

.bp-sources a:hover { opacity: 0.6; }

.bp-sources em {
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 600;
    color: #8b8b8b;
}

.bp-sources strong {
    font-size: 1.02rem;
    font-weight: 600;
    color: #0e0e0e;
}

.bp-sources span {
    font-size: 0.8rem;
    color: #8b8b8b;
}

.bp-ask {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    margin: 0 0 1.25rem;
}

.bp-ask input {
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e4e4e2;
    padding: 0.85rem 1.1rem;
}

.bp-ask .btn {
    border-radius: 999px;
    padding-inline: 1.2rem;
}

.bp-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-top: 0.25rem;
}

.bp-foot__btn {
    appearance: none;
    border: 1px solid #e4e4e2;
    background: #fff;
    color: #0e0e0e;
    border-radius: 999px;
    padding: 0.7rem 1.05rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.bp-foot__btn:hover { border-color: #0e0e0e; }

.bp-foot__btn--primary {
    background: #0e0e0e;
    border-color: #0e0e0e;
    color: #fff;
}

.bp-foot__btn--primary:hover {
    background: #1a1a1a;
    color: #fff;
}

.briefing-audio--needs-tap .bp-play {
    animation: bp-pulse 1.2s ease infinite;
}

@keyframes bp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.35); }
    50% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

@media (max-width: 720px) {
    .bp__title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
    .bp-deck { padding: 1.4rem 1rem 1.15rem; }
}

/* =========================================================
   Events product layout
   ========================================================= */

.ev-page,
.ev {
    width: min(100%, 42rem);
    margin: 0 auto;
    animation: rise 0.45s ease both;
}

.ev-page__intro,
.ev__hero {
    margin-bottom: 1.75rem;
}

.ev-page__eyebrow,
.ev__partner {
    margin: 0 0 0.7rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b8b8b;
}

.ev-page__title,
.ev__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: #0e0e0e;
}

.ev-page__title {
    font-size: clamp(2.6rem, 5vw, 3.6rem);
}

.ev__title {
    font-size: clamp(2.2rem, 4.5vw, 3.1rem);
    max-width: 18ch;
}

.ev-page__lede,
.ev__deck {
    margin: 0.85rem 0 0;
    max-width: 34rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: #4a4a4a;
}

.ev-page__meta,
.ev__meta {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: #8b8b8b;
}

.ev-live-dot {
    color: #0e0e0e;
    font-weight: 700;
}

.ev-empty {
    padding: 0.35rem 0 1rem;
    color: #8b8b8b;
    line-height: 1.55;
}

.ev-index {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e8e8e6;
}

.ev-index__row {
    display: grid;
    grid-template-columns: 3.4rem 1fr auto;
    gap: 1rem;
    align-items: baseline;
    padding: 1.2rem 0;
    border-bottom: 1px solid #e8e8e6;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s ease;
}

.ev-index__row:hover { opacity: 0.58; }

.ev-index__date {
    display: grid;
    justify-items: start;
    gap: 0.1rem;
}

.ev-index__date b {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
    color: #0e0e0e;
}

.ev-index__date small {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b8b8b;
}

.ev-index__copy {
    display: grid;
    gap: 0.28rem;
    min-width: 0;
}

.ev-index__copy strong {
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0e0e0e;
}

.ev-index__copy em {
    font-style: normal;
    font-size: 0.88rem;
    color: #8b8b8b;
}

.ev-index__meta {
    font-size: 0.82rem;
    font-weight: 500;
    color: #8b8b8b;
    white-space: nowrap;
}

.ev-pill {
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.15rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: #0e0e0e;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ev__back {
    display: inline-block;
    margin-bottom: 1.35rem;
    color: #8b8b8b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.ev__back:hover { color: #0e0e0e; }

.ev-now,
.ev-brief__btn {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    width: 100%;
    margin: 0 0 1.75rem;
    padding: 1.15rem 1.25rem;
    border: 0;
    border-radius: 18px;
    background: #0e0e0e;
    color: #fff;
    text-decoration: none;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.ev-brief__btn {
    grid-template-columns: auto 1fr;
}

.ev-now:hover,
.ev-brief__btn:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    color: #fff;
}

.ev-now__mark,
.ev-brief__mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #fff;
    color: #0e0e0e;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ev-now__copy,
.ev-brief__btn span:last-child {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.ev-now__copy strong,
.ev-brief__btn strong {
    font-size: 1rem;
    font-weight: 600;
}

.ev-now__copy small,
.ev-brief__btn small {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

.ev-now__go {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
}

.ev-section {
    margin: 0 0 2rem;
}

.ev-section__label {
    margin: 0 0 0.85rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b8b8b;
}

.ev-section__hint {
    margin: -0.35rem 0 0.95rem;
    font-size: 0.95rem;
    color: #4a4a4a;
}

.ev-sessions {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e8e8e6;
}

.ev-session {
    display: grid;
    grid-template-columns: 3.2rem 1fr auto;
    gap: 0.95rem;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px solid #e8e8e6;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s ease;
}

.ev-session:hover { opacity: 0.58; }

.ev-session time {
    font-size: 0.88rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #8b8b8b;
}

.ev-session__copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.ev-session__copy strong {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #0e0e0e;
}

.ev-session.is-live .ev-session__copy strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
}

.ev-session__copy em {
    font-style: normal;
    font-size: 0.86rem;
    color: #8b8b8b;
}

.ev-session__tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8b8b8b;
}

.ev-ask {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    margin: 0 0 0.95rem;
}

.ev-ask input {
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e4e4e2;
    padding: 0.85rem 1.1rem;
    font: inherit;
}

.ev-ask .btn {
    border-radius: 999px;
    padding-inline: 1.2rem;
}

.ev-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.ev-chips form { margin: 0; }

.ev-chips__btn {
    appearance: none;
    border: 1px solid #e4e4e2;
    background: #fff;
    color: #0e0e0e;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

.ev-chips__btn:hover { border-color: #0e0e0e; }

.ev-tabs {
    display: flex;
    gap: 1.25rem;
    margin: 0 0 1.25rem;
    border-bottom: 1px solid #e8e8e6;
    overflow-x: auto;
}

.ev-tabs a {
    padding: 0.7rem 0;
    text-decoration: none;
    color: #8b8b8b;
    font-size: 0.92rem;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
}

.ev-tabs a:hover { color: #0e0e0e; }

.ev-tabs a.is-on {
    color: #0e0e0e;
    border-bottom-color: #0e0e0e;
}

.ev-panel {
    min-height: 8rem;
    margin-bottom: 1.75rem;
}

.ev-panel__prose {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #2a2a2a;
}

.ev-after {
    margin: 0 0 1.5rem;
    padding: 1.1rem 0;
    border-top: 1px solid #e8e8e6;
    border-bottom: 1px solid #e8e8e6;
}

.ev-after strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.ev-after p {
    margin: 0;
    color: #4a4a4a;
    line-height: 1.55;
}

.ev-speakers {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ev-speakers li {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid #ececec;
}

.ev-speakers__av {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #0e0e0e;
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
}

.ev-speakers span:last-child {
    display: grid;
    gap: 0.15rem;
}

.ev-speakers strong {
    font-size: 1rem;
    font-weight: 600;
    color: #0e0e0e;
}

.ev-speakers em {
    font-style: normal;
    font-size: 0.86rem;
    color: #8b8b8b;
}

.ev-resources {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ev-resources a {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ececec;
    text-decoration: none;
    color: inherit;
}

.ev-resources a:hover { opacity: 0.6; }

.ev-resources strong {
    font-size: 1.02rem;
    font-weight: 600;
    color: #0e0e0e;
}

.ev-resources em {
    font-style: normal;
    font-size: 0.84rem;
    color: #8b8b8b;
}

.ev-notes {
    display: grid;
    gap: 0.7rem;
}

.ev-notes label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b8b8b;
}

.ev-notes textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #e4e4e2;
    background: #fff;
    padding: 1rem 1.1rem;
    font: inherit;
    line-height: 1.55;
    resize: vertical;
    min-height: 10rem;
}

.ev-notes .btn {
    width: fit-content;
    border-radius: 999px;
}

.ev-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-top: 0.25rem;
}

.ev-foot form { margin: 0; }

.ev-foot__btn {
    appearance: none;
    border: 1px solid #e4e4e2;
    background: #fff;
    color: #0e0e0e;
    border-radius: 999px;
    padding: 0.7rem 1.05rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.ev-foot__btn:hover { border-color: #0e0e0e; }

.ev-foot__btn.is-on,
.ev-foot__btn--primary {
    background: #0e0e0e;
    border-color: #0e0e0e;
    color: #fff;
}

.ev-foot__btn.is-on:hover,
.ev-foot__btn--primary:hover {
    background: #1a1a1a;
    color: #fff;
}

@media (max-width: 720px) {
    .ev-index__row {
        grid-template-columns: 3rem 1fr;
    }

    .ev-index__meta {
        display: none;
    }

    .ev__title {
        max-width: none;
        font-size: clamp(1.9rem, 8vw, 2.5rem);
    }

    .ev-now,
    .ev-brief__btn {
        grid-template-columns: auto 1fr;
    }

    .ev-now__go { display: none; }
}

/* =========================================================
   Profile / settings layout
   ========================================================= */

.st {
    width: min(100%, 42rem);
    margin: 0 auto;
    animation: rise 0.45s ease both;
}

.st__back {
    display: inline-block;
    margin-bottom: 1.35rem;
    color: #8b8b8b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.st__back:hover { color: #0e0e0e; }

.st__hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.15rem;
    align-items: center;
    margin-bottom: 2rem;
}

.st__avatar {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    background: #0e0e0e;
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-style: italic;
    line-height: 1;
}

.st__eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b8b8b;
}

.st__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: #0e0e0e;
}

.st__lede {
    margin: 0.55rem 0 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #4a4a4a;
}

.st-section {
    margin: 0 0 2rem;
}

.st-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.st-section__label {
    margin: 0 0 0.85rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b8b8b;
}

.st-section__head .st-section__label { margin: 0; }

.st-section__link {
    color: #0e0e0e;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.st-section__link:hover { opacity: 0.55; }

.st-empty {
    margin: 0;
    color: #8b8b8b;
    line-height: 1.55;
}

.st-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.st-chips li {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #e4e4e2;
    background: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    color: #0e0e0e;
}

.st-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e8e8e6;
}

.st-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: baseline;
    padding: 1.1rem 0;
    border-bottom: 1px solid #e8e8e6;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s ease;
}

.st-row:hover { opacity: 0.58; }

.st-row__copy {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.st-row__copy strong {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #0e0e0e;
}

.st-row__copy em {
    font-style: normal;
    font-size: 0.9rem;
    color: #8b8b8b;
}

.st-row__go {
    font-size: 1rem;
    color: #8b8b8b;
}

.st-row--danger .st-row__copy strong {
    color: #0e0e0e;
}

.st-tabs {
    display: flex;
    gap: 1.25rem;
    margin: 0 0 1.35rem;
    border-bottom: 1px solid #e8e8e6;
    overflow-x: auto;
}

.st-tabs a {
    padding: 0.7rem 0;
    text-decoration: none;
    color: #8b8b8b;
    font-size: 0.92rem;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
}

.st-tabs a:hover { color: #0e0e0e; }

.st-tabs a.is-on {
    color: #0e0e0e;
    border-bottom-color: #0e0e0e;
}

.st-hint {
    margin: 0 0 1.15rem;
    max-width: 34rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #4a4a4a;
}

.st-fields {
    display: grid;
    gap: 1rem;
    margin: 0 0 1.35rem;
}

.st-fields label {
    display: grid;
    gap: 0.4rem;
}

.st-fields label > span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8b8b8b;
}

.st-fields input,
.st-fields select {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #e4e4e2;
    background: #fff;
    padding: 0.85rem 1rem;
    font: inherit;
    color: #0e0e0e;
}

.st-fields input:focus,
.st-fields select:focus {
    outline: none;
    border-color: #0e0e0e;
}

.st-actions,
.st-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.st-foot__btn {
    appearance: none;
    border: 1px solid #e4e4e2;
    background: #fff;
    color: #0e0e0e;
    border-radius: 999px;
    padding: 0.7rem 1.05rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.st-foot__btn:hover { border-color: #0e0e0e; }

.st-foot__btn--primary {
    background: #0e0e0e;
    border-color: #0e0e0e;
    color: #fff;
}

.st-foot__btn--primary:hover {
    background: #1a1a1a;
    color: #fff;
}

@media (max-width: 720px) {
    .st__hero {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .st__avatar {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.5rem;
    }

    .st__title {
        font-size: clamp(1.85rem, 8vw, 2.35rem);
    }
}

/* =========================================================
   Interests layout
   ========================================================= */

.layout-app.is-interests .workspace--inner,
.layout-app.is-interests .workspace-stage {
    background: transparent !important;
    padding: 0 !important;
    display: block !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.layout-app.is-interests .workspace-main--interests,
.layout-app.is-interests .workspace-main--listener {
    width: min(100%, 42rem) !important;
    margin: 0 auto !important;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.15rem, 3vw, 1.75rem) 6.5rem !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.in {
    width: min(100%, 42rem);
    margin: 0 auto;
    animation: rise 0.45s ease both;
}

.in__back {
    display: inline-block;
    margin-bottom: 1.35rem;
    color: #8b8b8b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.in__back:hover { color: #0e0e0e; }

.in__hero {
    margin-bottom: 1.75rem;
}

.in__eyebrow {
    margin: 0 0 0.7rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b8b8b;
}

.in__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: #0e0e0e;
}

.in__lede {
    margin: 0.85rem 0 0;
    max-width: 34rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: #4a4a4a;
}

.in-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
    margin: 0 0 1.5rem;
}

.in-count {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.in-count strong {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #0e0e0e;
}

.in-count span {
    font-size: 0.88rem;
    font-weight: 500;
    color: #8b8b8b;
}

.in-search input {
    width: min(100%, 16rem);
    border-radius: 999px;
    border: 1px solid #e4e4e2;
    background: #fff;
    padding: 0.7rem 1rem;
    font: inherit;
    color: #0e0e0e;
}

.in-search input:focus {
    outline: none;
    border-color: #0e0e0e;
}

.in-section__label {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8b8b8b;
}

.in-selected {
    margin: 0 0 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e8e8e6;
}

.in-selected__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.85rem;
}

.in-selected__hint {
    margin: 0;
    font-size: 0.88rem;
    color: #8b8b8b;
}

.in-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    min-height: 2.2rem;
}

.in-selected.is-empty .in-chips {
    display: none;
}

.in-chip {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: #0e0e0e;
    color: #fff;
    padding: 0.5rem 0.85rem;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.in-chip span {
    opacity: 0.55;
    font-size: 1rem;
    line-height: 1;
}

.in-chip:hover span { opacity: 1; }

.in-empty,
.in-miss {
    margin: 0 0 1.25rem;
    color: #8b8b8b;
    line-height: 1.55;
}

.in-groups {
    display: grid;
    gap: 2rem;
    margin: 0 0 1.75rem;
}

.in-group__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    margin-bottom: 0.95rem;
}

.in-group__head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 400;
    letter-spacing: -0.025em;
    color: #0e0e0e;
}

.in-group__head p {
    margin: 0.25rem 0 0;
    font-size: 0.92rem;
    color: #8b8b8b;
}

.in-group__tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.in-group__count {
    font-size: 0.82rem;
    font-weight: 600;
    color: #8b8b8b;
    font-variant-numeric: tabular-nums;
}

.in-group.has-on .in-group__count {
    color: #0e0e0e;
}

.in-group__toggle {
    appearance: none;
    border: 0;
    background: transparent;
    color: #0e0e0e;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.in-group__toggle:hover { opacity: 0.55; }

.in-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.in-topic {
    position: relative;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #e4e4e2;
    background: #fff;
    color: #0e0e0e;
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.in-topic[hidden],
.in-group[hidden] {
    display: none !important;
}

.in-topic:hover {
    border-color: #0e0e0e;
}

.in-topic.is-on,
.in-topic:has(input:checked) {
    background: #0e0e0e;
    border-color: #0e0e0e;
    color: #fff;
}

.in-topic input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.in-topic:has(input:focus-visible) {
    outline: 2px solid #0e0e0e;
    outline-offset: 2px;
}

.in-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-top: 0.5rem;
}

.in-foot__btn {
    appearance: none;
    border: 1px solid #e4e4e2;
    background: #fff;
    color: #0e0e0e;
    border-radius: 999px;
    padding: 0.7rem 1.05rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.in-foot__btn:hover { border-color: #0e0e0e; }

.in-foot__btn--primary {
    background: #0e0e0e;
    border-color: #0e0e0e;
    color: #fff;
}

.in-foot__btn--primary:hover {
    background: #1a1a1a;
    color: #fff;
}

@media (max-width: 720px) {
    .in__title {
        font-size: clamp(2.1rem, 9vw, 2.8rem);
    }

    .in-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .in-search input {
        width: 100%;
    }

    .in-group__head {
        flex-direction: column;
    }
}
