/*
   S06 private-product composition. These rules productize Microculture-owned shell/page
   structure while consuming the resolved title/Interlocute appearance variables. They are
   intentionally title-neutral: final brand values and the generic conversation medium remain
   owned by their existing seams.
*/

.private-title-shell {
    --private-border: color-mix(in srgb, var(--chat-input-border, #b8aaa0) 64%, transparent);
    --private-border-strong: color-mix(in srgb, var(--chat-input-border, #b8aaa0) 78%, transparent);
    --private-muted: color-mix(in srgb, var(--chat-assistant-text, #29231f) 68%, #74685e);
    --private-faint: color-mix(in srgb, var(--chat-assistant-text, #29231f) 50%, #8b7f73);
    --private-surface: color-mix(in srgb, var(--chat-assistant-bg, #fffdf8) 92%, white);
    --private-surface-raised: color-mix(in srgb, var(--chat-assistant-bg, #fffdf8) 84%, white);
    --private-shadow: 0 1.25rem 3.5rem color-mix(in srgb, var(--chat-primary, #713f48) 9%, transparent);
}

.private-title-shell :is(.private-shell-action, .private-home-fixture-action) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 780;
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, filter 160ms ease;
}

.private-title-shell :is(.private-shell-action, .private-home-fixture-action):hover,
.private-title-shell :is(.private-shell-action, .private-home-fixture-action):focus-visible {
    filter: brightness(0.95);
    text-decoration: none;
}

/* Home */

.private-home {
    display: grid;
    width: min(82rem, 100%);
    margin: 0 auto;
    gap: clamp(1.4rem, 3vw, 2.5rem);
    padding-block: clamp(0.5rem, 2vw, 2rem);
    color: var(--chat-assistant-text, #29231f);
}

.private-home-header {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
    align-items: end;
    gap: clamp(1.5rem, 5vw, 5rem);
    padding-bottom: clamp(1.35rem, 3vw, 2.2rem);
    border-bottom: 1px solid var(--private-border);
}

.private-home-header > div:first-child {
    max-width: 48rem;
}

.private-home-header h1,
.private-home-section-heading h2,
.private-home-explore h2 {
    margin: 0;
    color: var(--chat-assistant-text, #29231f);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.055em;
}

.private-home-header h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.9;
}

.private-home-header .private-page-description {
    max-width: 54ch;
    margin-top: 1rem;
}

.private-home-intent {
    display: grid;
    align-content: end;
    gap: 0.45rem;
    min-height: 9rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--private-border);
    border-radius: var(--chat-radius, 1.1rem);
    background: var(--private-surface);
    box-shadow: 0 0.8rem 2.2rem color-mix(in srgb, var(--chat-primary, #713f48) 6%, transparent);
}

.private-home-intent-label,
.private-home-section-meta,
.private-home-fixture-category,
.private-home-fixture-status {
    color: var(--chat-primary, #713f48);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.private-home-intent strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1;
}

.private-home-intent > span:last-child {
    color: var(--private-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.private-home-development-boundary,
.private-you-boundary {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--private-border);
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--chat-primary, #713f48) 5%, var(--chat-bg, #f3efe7));
    color: var(--private-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.private-home-development-boundary strong,
.private-you-boundary strong {
    flex: 0 0 auto;
    color: var(--chat-primary, #713f48);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.private-home-conversation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: clamp(1.25rem, 3vw, 2.15rem);
    border: 1px solid var(--private-border-strong);
    border-radius: var(--chat-radius, 1.1rem);
    background:
        linear-gradient(135deg, var(--private-surface), color-mix(in srgb, var(--chat-bg, #f3efe7) 90%, white));
    box-shadow: var(--private-shadow);
}

.private-home-conversation h2 {
    margin: 0;
    color: var(--chat-assistant-text, #29231f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1;
}

.private-home-conversation p:not(.private-kicker) {
    max-width: 60ch;
    margin: 0.7rem 0 1rem;
    color: var(--private-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.private-home-conversation-mark {
    display: grid;
    width: 3.1rem;
    height: 3.1rem;
    place-items: center;
    border: 1px solid var(--private-border);
    border-radius: 50%;
    color: var(--chat-primary, #713f48);
    font-size: 1.35rem;
}

.private-home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.private-home-section-heading h2,
.private-home-explore h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 0.95;
}

.private-home-section-meta {
    flex: 0 0 auto;
    padding-bottom: 0.25rem;
    color: var(--private-muted);
    letter-spacing: 0.08em;
}

.private-home-fixture-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.1rem;
}

.private-home-fixture {
    display: grid;
    align-content: start;
    gap: 0.8rem;
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid var(--private-border);
    border-radius: 0.95rem;
    background: var(--private-surface);
    box-shadow: 0 0.6rem 1.8rem color-mix(in srgb, var(--chat-primary, #713f48) 4%, transparent);
}

.private-home-fixture-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.private-home-fixture-category {
    max-width: 18ch;
}

.private-home-fixture-status {
    flex: 0 0 auto;
    padding: 0.28rem 0.45rem;
    border: 1px solid color-mix(in srgb, var(--chat-primary, #713f48) 24%, transparent);
    border-radius: 999px;
    color: var(--private-muted);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
}

.private-home-fixture h3 {
    max-width: 25ch;
    margin: 0;
    color: var(--chat-assistant-text, #29231f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.private-home-fixture > p {
    min-height: 4.2rem;
    margin: 0;
    color: var(--private-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.private-home-fixture-action {
    justify-self: start;
    margin-top: 0.15rem;
    padding: 0.72rem 0.9rem;
    border-color: var(--private-border-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--chat-primary, #713f48);
}

.private-home-fixture-action:hover,
.private-home-fixture-action:focus-visible {
    background: color-mix(in srgb, var(--chat-primary, #713f48) 9%, var(--chat-bg, #f3efe7));
    filter: none;
}

.private-home-fixture-provenance {
    margin-top: 0.1rem;
    border-top: 1px solid color-mix(in srgb, var(--private-border) 70%, transparent);
    color: var(--private-faint);
    font-size: 0.75rem;
    line-height: 1.45;
}

.private-home-fixture-provenance summary {
    padding-top: 0.65rem;
    cursor: pointer;
    font-weight: 700;
}

.private-home-fixture-provenance summary:hover,
.private-home-fixture-provenance summary:focus-visible {
    color: var(--chat-primary, #713f48);
}

.private-home-fixture-provenance p {
    margin: 0.55rem 0 0;
}

.private-home-explore {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: clamp(1.1rem, 2.5vw, 1.7rem);
    border-top: 1px solid var(--private-border);
}

.private-home-explore p:not(.private-kicker) {
    max-width: 58ch;
    margin: 0.5rem 0 0;
    color: var(--private-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Talk */

.private-talk {
    width: min(88rem, 100%);
    margin: 0 auto;
    padding-block: clamp(0.5rem, 2vw, 2rem);
}

.private-talk-workspace {
    display: grid;
    grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(0.9rem, 2vw, 1.35rem);
    min-width: 0;
}

.private-talk-history {
    display: grid;
    align-content: start;
    gap: 0.85rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--private-border);
    border-radius: var(--chat-radius, 1.1rem);
    background: color-mix(in srgb, var(--chat-bg, #f3efe7) 92%, white);
}

.private-talk-history-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.private-talk-history-header h2 {
    margin: 0.15rem 0 0;
    color: var(--chat-assistant-text, #29231f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1;
}

.private-talk-new-action,
.private-talk-history-toggle {
    appearance: none;
    border: 1px solid var(--private-border-strong);
    border-radius: 999px;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
}

.private-talk-new-action {
    flex: 0 0 auto;
    padding: 0.65rem 0.72rem;
    background: var(--chat-primary, #713f48);
    color: var(--chat-send-text, #fffdf8);
}

.private-talk-new-action:hover,
.private-talk-new-action:focus-visible {
    filter: brightness(0.94);
}

.private-talk-history-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    width: 100%;
    padding: 0.75rem 0.85rem;
    background: var(--private-surface);
    color: var(--private-muted);
    text-align: left;
}

.private-talk-history-toggle span:last-child {
    display: grid;
    min-width: 1.5rem;
    min-height: 1.5rem;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--chat-primary, #713f48) 10%, transparent);
    color: var(--chat-primary, #713f48);
}

.private-talk-history-list {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.private-talk-history-list a {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
    padding: 0.8rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    color: var(--private-muted);
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.private-talk-history-list a strong {
    overflow: hidden;
    color: var(--chat-assistant-text, #29231f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.private-talk-history-list a span {
    overflow: hidden;
    color: var(--private-faint);
    font-size: 0.75rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.private-talk-history-list a:hover,
.private-talk-history-list a:focus-visible {
    border-color: var(--private-border);
    background: var(--private-surface);
    color: var(--chat-assistant-text, #29231f);
    text-decoration: none;
}

.private-talk-history-list a.is-current {
    border-color: color-mix(in srgb, var(--chat-primary, #713f48) 28%, transparent);
    background: color-mix(in srgb, var(--chat-primary, #713f48) 8%, var(--private-surface));
}

.private-talk-history-list a.is-current::before {
    width: 1.5rem;
    height: 0.18rem;
    border-radius: 999px;
    background: var(--chat-primary, #713f48);
    content: "";
}

.private-talk-history-empty {
    margin: 0;
    padding: 0.85rem;
    border: 1px dashed var(--private-border);
    border-radius: 0.75rem;
    color: var(--private-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.private-talk-conversation {
    min-width: 0;
}

.private-talk-empty-conversation {
    display: grid;
    align-content: center;
    min-height: min(40rem, 62vh);
    padding: clamp(1.5rem, 5vw, 4rem);
}

.private-talk-empty-conversation h2 {
    max-width: 18ch;
    margin: 0;
    color: var(--chat-assistant-text, #29231f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.private-talk-empty-conversation p:not(.private-kicker) {
    max-width: 52ch;
    margin: 0;
    color: var(--private-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* You */

.private-you-page {
    display: grid;
    width: min(82rem, 100%);
    margin: 0 auto;
    gap: clamp(1.35rem, 3vw, 2.35rem);
    padding-block: clamp(0.5rem, 2vw, 2rem);
    color: var(--chat-assistant-text, #29231f);
}

.private-you-header {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
    align-items: end;
    gap: clamp(1.5rem, 5vw, 5rem);
    padding-bottom: clamp(1.25rem, 3vw, 2rem);
    border-bottom: 1px solid var(--private-border);
}

.private-you-title-copy h1 {
    margin: 0;
    color: var(--chat-assistant-text, #29231f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.9;
}

.private-you-title-copy .private-page-description {
    max-width: 54ch;
    margin-top: 1rem;
}

.private-you-scope {
    display: grid;
    gap: 0.42rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--private-border);
    border-radius: var(--chat-radius, 1.1rem);
    background: var(--private-surface);
}

.private-you-scope-label,
.private-you-card-label,
.private-you-nav-label,
.private-you-setting-status {
    color: var(--chat-primary, #713f48);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.25;
    text-transform: uppercase;
}

.private-you-scope strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1;
}

.private-you-scope > span:last-child {
    color: var(--private-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.private-you-layout {
    display: grid;
    grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1rem, 2.5vw, 2rem);
}

.private-you-section-nav {
    position: sticky;
    top: 1rem;
    display: grid;
    align-content: start;
    gap: 0.25rem;
    padding: 0.8rem;
    border: 1px solid var(--private-border);
    border-radius: 0.95rem;
    background: color-mix(in srgb, var(--chat-bg, #f3efe7) 90%, white);
}

.private-you-nav-label {
    margin: 0.3rem 0.6rem 0.4rem;
    color: var(--private-muted);
}

.private-you-section-nav a {
    display: block;
    padding: 0.62rem 0.65rem;
    border-radius: 0.55rem;
    color: var(--private-muted);
    font-size: 0.78rem;
    line-height: 1.25;
    text-decoration: none;
}

.private-you-section-nav a:hover,
.private-you-section-nav a:focus-visible {
    background: var(--private-surface);
    color: var(--chat-assistant-text, #29231f);
    text-decoration: none;
}

.private-you-sections {
    display: grid;
    gap: 0.9rem;
    min-width: 0;
}

.private-you-section {
    display: grid;
    gap: 1.15rem;
    min-width: 0;
    scroll-margin-top: 1rem;
    padding: clamp(1.15rem, 2.5vw, 1.9rem);
    border: 1px solid var(--private-border);
    border-radius: var(--chat-radius, 1.1rem);
    background: var(--private-surface);
    box-shadow: 0 0.55rem 1.8rem color-mix(in srgb, var(--chat-primary, #713f48) 3%, transparent);
}

.private-you-section-heading {
    display: grid;
    gap: 0.45rem;
}

.private-you-section-heading > * {
    margin-block: 0;
}

.private-you-section-heading h2 {
    color: var(--chat-assistant-text, #29231f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 3.3vw, 2.65rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.private-you-section-heading > p:last-child {
    max-width: 64ch;
    color: var(--private-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.private-you-attention-summary,
.private-you-inline-note,
.private-you-boundary-note,
.private-you-account-note {
    border-radius: 0.75rem;
}

.private-you-attention-summary {
    display: grid;
    grid-template-columns: minmax(10rem, 0.55fr) minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: color-mix(in srgb, var(--chat-primary, #713f48) 7%, var(--private-surface));
}

.private-you-attention-summary > div {
    display: grid;
    gap: 0.35rem;
}

.private-you-attention-summary strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 500;
}

.private-you-attention-summary p,
.private-you-inline-note p {
    margin: 0;
    color: var(--private-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.private-you-inline-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--private-border);
    background: color-mix(in srgb, var(--chat-bg, #f3efe7) 76%, white);
}

.private-you-inline-note > span {
    display: grid;
    flex: 0 0 auto;
    width: 1.2rem;
    height: 1.2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--chat-primary, #713f48);
    color: var(--chat-send-text, #fffdf8);
    font-size: 0.7rem;
    font-weight: 800;
}

.private-you-preferences,
.private-you-setting-list {
    display: grid;
    gap: 0.5rem;
}

.private-you-control,
.private-you-setting-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--private-border);
    border-radius: 0.7rem;
    background: color-mix(in srgb, var(--private-surface) 70%, var(--chat-bg, #f3efe7));
}

.private-you-control-copy,
.private-you-setting-row > span:first-child,
.private-you-setting-row > div {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.private-you-control strong,
.private-you-setting-row strong {
    color: var(--chat-assistant-text, #29231f);
    font-size: 0.9rem;
    line-height: 1.25;
}

.private-you-control small,
.private-you-setting-row small {
    color: var(--private-muted);
    font-size: 0.76rem;
    line-height: 1.4;
}

.private-you-control select,
.private-you-setting-row select {
    min-width: 8.5rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--private-border-strong);
    border-radius: 0.55rem;
    background: var(--private-surface);
    color: var(--chat-assistant-text, #29231f);
    font: inherit;
    font-size: 0.82rem;
}

.private-you-control select:focus-visible,
.private-you-setting-row select:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--chat-primary, #713f48) 32%, white);
    outline-offset: 2px;
}

.private-you-control input[type="checkbox"],
.private-you-setting-row input[type="checkbox"],
.private-you-disabled-control input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    accent-color: var(--chat-primary, #713f48);
}

.private-you-preview-status {
    min-height: 1.2rem;
    margin: 0;
    color: var(--private-faint);
    font-size: 0.76rem;
    line-height: 1.4;
}

.private-you-memory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.private-you-memory-card {
    display: grid;
    align-content: start;
    gap: 0.55rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--private-border);
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--chat-bg, #f3efe7) 72%, white);
}

.private-you-memory-card h3 {
    margin: 0;
    color: var(--chat-assistant-text, #29231f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.private-you-memory-card p {
    margin: 0;
    color: var(--private-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.private-you-memory-card button {
    justify-self: start;
    margin-top: 0.2rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--private-border-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--private-muted);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 750;
}

.private-you-memory-card button:disabled,
.private-you-memory-card input:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.private-you-disabled-control {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--private-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.private-you-boundary-note,
.private-you-account-note {
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem 0.9rem;
    border: 1px dashed var(--private-border-strong);
    color: var(--private-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.private-you-boundary-note strong {
    color: var(--chat-assistant-text, #29231f);
    font-size: 0.8rem;
}

.private-you-setting-status {
    color: var(--private-muted);
    font-size: 0.62rem;
}

.private-you-facts {
    display: grid;
    gap: 0.5rem;
    margin: 0;
}

.private-you-facts > div {
    display: grid;
    grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 1fr);
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--private-border) 70%, transparent);
}

.private-you-facts > div:last-child {
    border-bottom: 0;
}

.private-you-facts dt {
    color: var(--chat-primary, #713f48);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.private-you-facts dd {
    margin: 0;
    color: var(--private-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.private-you-talk-action {
    justify-self: start;
}

@media (max-width: 900px) {
    .private-home-header,
    .private-you-header {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .private-home-intent,
    .private-you-scope {
        max-width: 32rem;
    }

    .private-you-layout {
        grid-template-columns: 1fr;
    }

    .private-you-section-nav {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: center;
    }

    .private-you-nav-label {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .private-home,
    .private-talk,
    .private-you-page {
        padding-block: 0.25rem 1.5rem;
    }

    .private-home-development-boundary,
    .private-you-boundary {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.3rem;
    }

    .private-home-conversation,
    .private-home-explore {
        grid-template-columns: 1fr;
    }

    .private-home-conversation-mark {
        display: none;
    }

    .private-home-fixture-grid,
    .private-you-memory-grid {
        grid-template-columns: 1fr;
    }

    .private-home-fixture > p {
        min-height: 0;
    }

    .private-home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }

    .private-talk-workspace {
        grid-template-columns: 1fr;
    }

    .private-talk-history {
        order: 2;
        padding: 0.8rem;
    }

    .private-talk-conversation,
    .private-talk-empty-conversation {
        order: 1;
    }

    .private-talk-history-toggle {
        display: flex;
    }

    .private-talk-history[data-history-open="false"] .private-talk-history-list {
        display: none;
    }

    .private-talk-history[data-history-open="false"] .private-talk-history-empty {
        display: none;
    }

    .private-talk-history-header {
        align-items: center;
    }

    .private-talk-history-header h2 {
        font-size: 1.35rem;
    }

    .private-talk-new-action {
        padding: 0.6rem 0.65rem;
        font-size: 0.62rem;
    }

    .private-you-section-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .private-you-section-nav a {
        padding: 0.6rem 0.55rem;
        font-size: 0.72rem;
    }

    .private-you-attention-summary,
    .private-you-control,
    .private-you-setting-row,
    .private-you-facts > div {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .private-you-control select,
    .private-you-setting-row select {
        justify-self: start;
        width: min(100%, 16rem);
    }
}

.private-attention-magazine,
.private-attention-detail,
.private-attention-detail-state {
    width: min(100%, 76rem);
    margin-inline: auto;
}

.private-attention-magazine {
    display: grid;
    gap: 1.4rem;
    margin-top: 4rem;
}

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

.private-attention-story-card {
    display: flex;
    min-height: 20rem;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.35rem;
    border: 1px solid var(--private-line, rgba(43, 32, 38, 0.16));
    border-radius: 0.85rem;
    background: rgba(255, 252, 248, 0.72);
}

.private-attention-story-card h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(1.5rem, 2vw, 2.15rem);
    line-height: 1.03;
}

.private-attention-story-card h3 a,
.private-attention-story-footer a,
.private-attention-back {
    color: inherit;
}

.private-attention-story-card-heading,
.private-attention-story-footer,
.private-attention-source,
.private-talk-attention-context {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.private-attention-story-status,
.private-attention-story-source-count,
.private-attention-detail-status,
.private-attention-evidence-kind {
    margin: 0;
    color: var(--private-muted, #75686c);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.private-attention-story-excerpt,
.private-attention-story-why {
    margin: 0;
    color: var(--private-muted, #75686c);
    line-height: 1.55;
}

.private-attention-story-footer {
    align-items: flex-end;
    margin-top: auto;
    color: var(--private-muted, #75686c);
    font-size: 0.8rem;
}

.private-attention-story-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.85rem;
}

.private-attention-refresh-note,
.private-attention-stale-note {
    margin: 0;
    padding: 0.9rem 1rem;
    border-left: 3px solid #9c6c35;
    background: rgba(156, 108, 53, 0.1);
    color: #5c4020;
}

.private-attention-state,
.private-attention-detail-state {
    display: grid;
    gap: 0.8rem;
    margin-top: 4rem;
    padding: 2rem;
    border: 1px solid var(--private-line, rgba(43, 32, 38, 0.16));
    border-radius: 0.85rem;
    background: rgba(255, 252, 248, 0.72);
}

.private-attention-state h2,
.private-attention-detail-state h1,
.private-attention-interpretation h2,
.private-attention-evidence h2 {
    margin: 0;
    font-family: Georgia, serif;
}

.private-attention-action,
.private-attention-discuss {
    width: fit-content;
    padding: 0.75rem 1rem;
    border: 1px solid var(--private-ink, #2b2026);
    border-radius: 999px;
    background: var(--private-ink, #2b2026);
    color: #fffaf5;
    text-decoration: none;
    cursor: pointer;
}

.private-attention-detail {
    display: grid;
    gap: 2rem;
    margin-block: 2.5rem 5rem;
}

.private-attention-detail-header {
    display: grid;
    gap: 0.8rem;
    max-width: 60rem;
}

.private-attention-detail-header h1 {
    max-width: 15ch;
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(2.7rem, 6vw, 5.8rem);
    line-height: 0.94;
}

.private-attention-detail-meta {
    margin: 0;
    color: var(--private-muted, #75686c);
}

.private-attention-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 20rem);
    align-items: start;
    gap: 3rem;
}

.private-attention-reading {
    display: grid;
    gap: 3rem;
}

.private-attention-interpretation,
.private-attention-evidence {
    display: grid;
    gap: 1.2rem;
}

.private-attention-lede {
    max-width: 44rem;
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(1.5rem, 2.4vw, 2.3rem);
    line-height: 1.2;
}

.private-attention-why,
.private-attention-uncertainty {
    max-width: 42rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--private-line, rgba(43, 32, 38, 0.16));
}

.private-attention-why p,
.private-attention-uncertainty p,
.private-attention-evidence-heading p {
    margin-bottom: 0;
    line-height: 1.65;
}

.private-attention-evidence-group {
    display: grid;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--private-line, rgba(43, 32, 38, 0.16));
}

.private-attention-evidence-group h3 {
    margin: 0;
    font-size: 1rem;
}

.private-attention-evidence-reference {
    display: grid;
    gap: 0.6rem;
}

.private-attention-source {
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--private-line, rgba(43, 32, 38, 0.12));
}

.private-attention-source div {
    display: grid;
    gap: 0.15rem;
}

.private-attention-source span,
.private-attention-source time,
.private-attention-source-no-link {
    color: var(--private-muted, #75686c);
    font-size: 0.82rem;
}

.private-attention-source a {
    color: inherit;
    white-space: nowrap;
}

.private-attention-source-internal-link {
    font-size: 0.78rem;
}

.private-attention-detail-actions {
    position: sticky;
    top: 1.5rem;
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem;
    border: 1px solid var(--private-line, rgba(43, 32, 38, 0.16));
    border-radius: 0.85rem;
    background: rgba(255, 252, 248, 0.72);
}

.private-attention-detail-actions p {
    margin: 0;
    color: var(--private-muted, #75686c);
    line-height: 1.5;
}

.private-attention-inline-error,
.private-talk-attention-error {
    color: #8b2f36 !important;
}

.private-talk-attention-context {
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--private-line, rgba(43, 32, 38, 0.16));
    border-radius: 0.85rem;
    background: rgba(255, 252, 248, 0.72);
    color: #2b2026;
}

.private-talk-attention-context h2,
.private-talk-attention-context p {
    margin: 0.2rem 0 0;
}

.private-talk-attention-context h2 {
    font-family: Georgia, serif;
}

.private-talk-attention-context > div {
    display: grid;
    gap: 0.25rem;
}

.private-talk-attention-context a {
    color: inherit;
    white-space: nowrap;
}

.private-talk-no-starters {
    max-width: 28rem;
    color: var(--private-muted, #75686c);
}

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

    .private-attention-detail-actions {
        position: static;
    }
}

@media (max-width: 620px) {
    .private-attention-grid {
        grid-template-columns: 1fr;
    }

    .private-attention-source,
    .private-talk-attention-context {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* S04 live conversation surface. The title-neutral shell keeps the existing shared
   Interlocute ChatWindow as the center of gravity and makes product controls subordinate. */
.private-talk {
    width: min(96rem, 100%);
    gap: 0.75rem;
    min-height: min(48rem, calc(100vh - 10rem));
    padding-block: 0;
}

.private-talk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
    padding-block: 0.15rem 0.75rem;
    border-bottom: 1px solid var(--private-border);
}

.private-talk-toolbar-title {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    min-width: 0;
}

.private-talk-toolbar-title .private-kicker {
    flex: 0 0 auto;
}

.private-talk-toolbar-title h1 {
    margin: 0;
    color: var(--chat-assistant-text, #29231f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
}

.private-talk-title-context {
    overflow: hidden;
    min-width: 0;
    margin: 0;
    color: var(--private-muted);
    font-size: 0.78rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.private-talk-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
    min-width: 0;
}

.private-talk-toolbar-actions .private-thread-status {
    min-width: 0;
    max-width: min(30rem, 32vw);
    margin: 0;
}

.private-talk-toolbar-actions .private-thread-status span:last-child {
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.private-talk-toolbar .private-talk-new-action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.62rem 0.82rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--chat-primary, #713f48);
    color: var(--chat-send-text, #fffdf8);
    font: inherit;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

.private-talk-toolbar .private-talk-new-action:hover,
.private-talk-toolbar .private-talk-new-action:focus-visible {
    filter: brightness(0.94);
}

.private-talk-workspace {
    display: grid;
    grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
    align-items: stretch;
    gap: 0.75rem;
    min-height: min(42rem, calc(100vh - 12rem));
}

.private-talk-history {
    align-content: start;
    min-height: 0;
    padding: 0.7rem;
    border-radius: 0.9rem;
    background: color-mix(in srgb, var(--chat-bg, #f3efe7) 92%, white);
}

.private-talk-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
}

.private-talk-history-header h2 {
    margin: 0.15rem 0 0;
    color: var(--chat-assistant-text, #29231f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
}

.private-talk-history-count {
    display: grid;
    flex: 0 0 auto;
    min-width: 1.55rem;
    min-height: 1.55rem;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--chat-primary, #713f48) 10%, transparent);
    color: var(--chat-primary, #713f48);
    font-size: 0.7rem;
    font-weight: 800;
}

.private-talk-history-list {
    max-height: min(52vh, 36rem);
    overflow: auto;
}

.private-talk-conversation,
.private-talk-empty-conversation {
    min-height: 0;
    height: min(42rem, calc(100vh - 12rem));
}

.private-talk-conversation {
    border-radius: 0.95rem;
}

.private-talk-conversation .chat-window {
    height: 100%;
    min-height: 0;
}

.private-talk-empty-conversation {
    min-height: min(38rem, calc(100vh - 12rem));
}

@media (max-width: 760px) {
    .private-talk {
        min-height: 0;
        gap: 0.55rem;
    }

    .private-talk-toolbar {
        align-items: flex-start;
        gap: 0.7rem;
        padding-bottom: 0.6rem;
    }

    .private-talk-toolbar-title {
        display: grid;
        gap: 0.25rem;
    }

    .private-talk-toolbar-title .private-kicker,
    .private-talk-title-context {
        grid-column: 1 / -1;
    }

    .private-talk-toolbar-actions {
        gap: 0.45rem;
    }

    .private-talk-toolbar-actions .private-thread-status {
        display: none;
    }

    .private-talk-workspace {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        gap: 0.6rem;
    }

    .private-talk-history {
        order: 2;
    }

    .private-talk-conversation,
    .private-talk-empty-conversation {
        order: 1;
        height: calc(100vh - 12.5rem);
        min-height: 31rem;
    }

    .private-talk-empty-conversation {
        min-height: calc(100vh - 13rem);
    }

    .private-talk-history-header h2 {
        font-size: 1.05rem;
    }
}
