.year-chapter { --thread-exit-inset: 72px; position: relative; overflow: clip; }
.section-ornaments { position: absolute; inset: 0; z-index: 0; pointer-events: none; color: #777180; }
.section-glyph { position: absolute; display: block; width: clamp(32px, 3.1vw, 44px); height: clamp(32px, 3.1vw, 44px); left: calc(var(--page-gutter) + 16px); top: 24px; transform: rotate(-12deg); }
.section-glyph + .section-glyph { left: auto; top: auto; right: calc(var(--page-gutter) + 80px); bottom: 24px; transform: rotate(13deg); }
.section-glyph .ornament-svg { animation: ornament-drift 9s ease-in-out infinite alternate; animation-play-state: paused; }
.section-glyph + .section-glyph .ornament-svg { animation-duration: 11s; animation-delay: -4s; }
[data-motion-scene][data-running="true"] .section-glyph .ornament-svg,
.gallery-shell[data-playing="true"] .section-glyph .ornament-svg { animation-play-state: running; }
.chapter-night .section-ornaments, .direction-story .section-ornaments { color: #a69bac; --ornament-accent: #b7acff; }
.chapter-violet .section-ornaments { color: #ddd6ff; --ornament-accent: #b7acff; }
.ai-chapter .section-glyph:first-child { left: 12%; top: 32px; transform: rotate(16deg); }
.ai-chapter .section-glyph + .section-glyph { right: 22%; }
.customer-chapter .section-glyph:first-child { left: 18%; }
.customer-chapter .section-glyph + .section-glyph { right: auto; left: 24%; transform: rotate(-9deg); }
.accounting-chapter .section-glyph + .section-glyph { right: auto; left: 28%; }
.workspace-chapter .section-glyph:first-child { left: calc(var(--page-gutter) + 80px); transform: rotate(9deg); }
.import-chapter .section-glyph:first-child { left: 10%; transform: rotate(-16deg); }
.finale-chapter .section-glyph:first-child { left: 12%; }
.gallery-shell { position: relative; }
.gallery-shell .section-glyph:first-child { left: 16%; top: -52px; }
.gallery-shell .section-glyph:nth-child(2) { top: auto; right: 34%; bottom: -34px; }
.gallery-shell .section-glyph:nth-child(3) { right: 21%; bottom: -30px; transform: rotate(-8deg); }
@media (min-width: 900px) {
    .year-chapter .section-ornaments { width: min(100%, 1600px); margin-inline: auto; }
    .year-chapter .section-glyph:first-child { left: var(--glyph-a-x); top: calc(50% + var(--glyph-a-y)); transform: translate(-50%, -50%) rotate(-12deg); }
    .year-chapter .section-glyph + .section-glyph { left: var(--glyph-b-x); right: auto; top: calc(50% + var(--glyph-b-y)); bottom: auto; transform: translate(-50%, -50%) rotate(13deg); }
    .field-chapter { --glyph-a-x: 35.4%; --glyph-a-y: -155px; --glyph-b-x: 31.9%; --glyph-b-y: 195px; }
    .ai-chapter { --glyph-a-x: 61.8%; --glyph-a-y: -200px; --glyph-b-x: 78%; --glyph-b-y: 235px; }
    .customer-chapter { --glyph-a-x: 39.2%; --glyph-a-y: -170px; --glyph-b-x: 34%; --glyph-b-y: 185px; }
    .workspace-chapter { --glyph-a-x: 37%; --glyph-a-y: -235px; --glyph-b-x: 37%; --glyph-b-y: 290px; }
    .import-chapter { --glyph-a-x: 41.7%; --glyph-a-y: -205px; --glyph-b-x: 37.8%; --glyph-b-y: 205px; }
    .accounting-chapter .section-glyph:first-child { left: 28%; top: 300px; }
    .accounting-chapter .section-glyph + .section-glyph { left: 72%; top: 325px; }
    .finale-chapter .section-ornaments { width: min(100%, 1440px); }
    .finale-chapter .section-glyph:first-child { left: 20%; top: 300px; }
    .finale-chapter .section-glyph + .section-glyph { left: 80%; top: 540px; }
    .gallery-shell .section-glyph:first-child { left: 27%; top: 206px; transform: translate(-50%, -50%) rotate(-12deg); }
    .gallery-shell .section-glyph:nth-child(2) { left: 77%; right: auto; top: 80px; bottom: auto; transform: translate(-50%, -50%) rotate(13deg); }
    .gallery-shell .section-glyph:nth-child(3) { left: 65%; right: auto; top: calc(100% - 132px); bottom: auto; transform: translate(-50%, -50%) rotate(-8deg); }
}
@keyframes ornament-drift { from { transform: translate3d(-2px, 2px, 0) rotate(-2deg); } to { transform: translate3d(2px, -3px, 0) rotate(2deg); } }
@media (max-width: 899px) {
    .year-chapter .section-glyph:first-child { left: calc(var(--page-gutter) + 16px); top: 24px; }
    .year-chapter .section-glyph + .section-glyph { left: auto; right: calc(var(--page-gutter) + 72px); bottom: 20px; }
}
@media (max-width: 600px) {
    .section-glyph { width: 28px; height: 28px; }
    .gallery-shell .section-glyph:first-child { top: -40px; }
    .gallery-shell .section-glyph:nth-child(2) { left: 25%; right: auto; bottom: 8px; }
    .gallery-shell .section-glyph:nth-child(3) { left: 42%; right: auto; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .section-glyph .ornament-svg { animation: none; }
}
@media (max-width: 360px) {
    .finale-chapter .section-glyph:first-child { left: calc(var(--page-gutter) + 64px); }
}
.gallery-intro p { max-width: 38ch; margin-top: 16px; color: var(--night-muted); font-size: 16px; line-height: 1.6; }
.chapter-frame { position: relative; display: grid; grid-template-columns: .95fr 1.25fr; align-items: center; gap: 40px; width: min(100%, 1600px); min-height: 790px; margin-inline: auto; padding: 100px var(--page-gutter); }
.chapter-copy { position: relative; z-index: 1; min-width: 0; }
.chapter-copy h2 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.1; font-weight: 500; letter-spacing: -.04em; text-wrap: balance; }
.chapter-copy h2 span { color: var(--brand); }
.chapter-copy p { margin-top: 28px; max-width: 33ch; color: var(--ink-muted); font-size: 18px; line-height: 1.7; }
.chapter-art { min-width: 0; }
.chapter-art svg { width: 100%; height: auto; overflow: visible; }
.chapter-art text { font-family: Manrope, sans-serif; }
.svg-heading { fill: var(--ink); font-size: 24px; font-weight: 600; }
.svg-label { fill: var(--ink-muted); font-size: 19px; }
.svg-small { fill: var(--ink-muted); font-size: 15px; }
.svg-ink { fill: var(--ink); }
.svg-brand { fill: var(--brand); }
.svg-rule { fill: none; stroke: #c9c3d1; stroke-width: 1.3; stroke-linecap: round; }
.svg-surface { fill: var(--diagram-paper); }
.svg-panel { fill: var(--diagram-paper); stroke: #c9c3d1; stroke-width: 1; }
.svg-lavender { fill: var(--diagram-lavender); }
.chapter-line { fill: none; stroke: var(--brand); stroke-width: 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chapter-node { fill: var(--paper); stroke: var(--brand); stroke-width: 2; }
.chapter-check { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.scene-actions { position: absolute; inset: 24px 0 16px; z-index: 3; padding-inline: var(--page-gutter); pointer-events: none; }
.scene-actions .scene-toggle { position: sticky; top: 16px; margin-inline-start: auto; pointer-events: auto; }
.scene-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #aba2ba; border-radius: 50%; color: var(--ink-muted); background: var(--scene-surface, var(--paper)); cursor: pointer; }
.scene-toggle:hover { color: var(--brand); border-color: var(--brand); }
.scene-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cover .scene-actions { inset-block-start: 124px; }
.chapter-night { --scene-surface: var(--night); background: var(--scene-surface); color: var(--night-ink); }
.chapter-night .chapter-copy h2 span { color: var(--night-brand); }
.chapter-night .chapter-copy p { color: var(--night-muted); }
.chapter-night .chapter-line { stroke: var(--night-brand); }
.chapter-night .scene-toggle { color: var(--night-muted); border-color: var(--night-line); }
.chapter-night .scene-toggle:focus-visible { outline-color: var(--night-brand); }
.chapter-night .chapter-copy .chapter-note { margin-top: 28px; font-size: 14px; color: var(--night-brand); }
.chapter-violet { --scene-surface: var(--brand); color: var(--night-ink); background: var(--scene-surface); }
.chapter-violet .chapter-copy p { color: #eeeaff; }
.chapter-violet .chapter-line { stroke: #d7cfff; }
.chapter-violet .scene-toggle { color: #eeeaff; border-color: #b7acff; }
.chapter-violet .scene-toggle:focus-visible { outline-color: var(--night-ink); }
.field-chapter { --scene-surface: #ebe8df; background: var(--scene-surface); }
.field-chapter .chapter-frame { grid-template-columns: .85fr 1.35fr; min-height: 820px; }
.field-chapter .chapter-art { position: relative; }
.has-year-thread .field-chapter .chapter-art { z-index: auto; }
.field-map { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.map-road { fill: none; stroke: #f9f6ef; stroke-width: 22; stroke-linejoin: round; }
.map-block { fill: #dcd8d0; }
.map-label { fill: var(--ink-muted); font-size: 18px; }
.field-visual { position: relative; z-index: 2; -webkit-user-select: none; user-select: none; }
.field-map path, .field-visual path { stroke-linecap: round; stroke-linejoin: round; }
.field-object-room { fill: #e8e3da; }
.field-object-wall { fill: none; stroke: #aca1b6; stroke-width: 1.5; }
.field-object-door { fill: none; stroke: #bdb3c6; stroke-width: 1.2; }
.field-route-base { fill: none; stroke: #c4bacd; stroke-width: 1.25; }
.field-route { stroke-width: 2.5; }
.field-stop { fill: var(--paper); stroke: var(--brand); stroke-width: 2; }
.field-arrival { fill: none; stroke: var(--brand); stroke-width: 1.5; opacity: 0; }
.field-plan, .field-task-frame { fill: var(--diagram-paper); stroke: #bcb0c8; stroke-width: 1.2; }
.field-selected-row { fill: var(--diagram-lavender); }
.field-row-text { fill: var(--ink-muted); font-size: 19px; }
.field-selected-label { fill: var(--ink); font-weight: 600; }
.field-row-clock { fill: none; stroke: #92859f; stroke-width: 1.5; }
.field-plan-calendar, .field-plan-installation, .field-plan-maintenance { color: #71677d; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.field-plan-installation { color: var(--brand); }
.field-job-slot { fill: none; stroke: #d6cddc; stroke-width: 1; }
.field-task-caption { fill: var(--ink-muted); font-size: 14px; }
.field-offline-chip { fill: #ebe5f8; }
.field-offline-symbol { fill: none; stroke: var(--brand); stroke-width: 1.5; }
.field-status-text { fill: var(--ink-muted); font-size: 15px; }
.field-complete-text { fill: var(--ink); font-size: 18px; font-weight: 500; }
.field-result-tile { fill: var(--brand); stroke: var(--paper); stroke-width: 2; }
.field-result-check { fill: none; stroke: var(--paper); stroke-width: 2.5; }
.field-compact-label { display: none; }
.ai-chapter .chapter-frame { grid-template-columns: 1.35fr .85fr; min-height: 850px; }
.ai-chapter .chapter-copy { order: 1; }
.ai-chapter .chapter-art { order: 0; margin-left: -16px; }
.source-highlight { fill: #dcd4ff; }
.ai-chapter .ai-mcp-copy { margin-top: 36px; }
.ai-mcp-copy h3 { color: var(--night-brand); font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.ai-chapter .ai-mcp-copy p { max-width: 29ch; margin-top: 10px; font-size: 17px; }
.ai-visual { -webkit-user-select: none; user-select: none; }
.ai-visual path { stroke-linecap: round; stroke-linejoin: round; }
.ai-paper { fill: var(--diagram-paper); }
.ai-document-label, .ai-question-text { fill: var(--ink-muted); font-size: 18px; }
.ai-document-footer { fill: var(--ink-muted); font-size: 14px; }
.ai-answer-slot { fill: none; stroke: #ded5e5; stroke-width: 1; }
.ai-answer-title { fill: var(--ink); font-size: 23px; font-weight: 500; }
.ai-evidence-paper { fill: var(--diagram-lavender); }
.ai-schematic-wire { fill: none; stroke: var(--brand); stroke-width: 2; }
.ai-schematic-part { fill: var(--diagram-paper); stroke: var(--brand); stroke-width: 1.7; }
.ai-schematic-detail { fill: none; stroke: #9a8eb6; stroke-width: 1.2; }
.ai-schematic-port { fill: var(--diagram-paper); stroke: var(--brand); stroke-width: 1.6; }
.ai-citation-text { fill: var(--ink-muted); font-size: 16px; }
.ai-citation-rule { fill: none; stroke: var(--brand); stroke-width: 1; }
.ai-link-base { fill: none; stroke: #776c89; stroke-width: 1.3; }
.ai-client-mark, .ai-data-document { fill: none; stroke: var(--brand); stroke-width: 1.5; }
.ai-client-title { fill: var(--ink); font-size: 17px; font-weight: 500; }
.ai-context-rule { fill: none; stroke: #b3a8c2; stroke-width: 1.3; }
.ai-mcp-node { fill: var(--diagram-lavender); }
.ai-mcp-plug { fill: none; stroke: var(--brand); stroke-width: 1.8; }
.ai-mcp-node-touch { fill: none; stroke: var(--night-brand); stroke-width: 2; }
.ai-mcp-label { fill: var(--night-brand); font-size: 20px; font-weight: 600; }
.ai-data-title { fill: var(--night-muted); font-size: 16px; }
.ai-data-icon { fill: none; stroke: var(--ink-muted); stroke-width: 1.5; }
.ai-request-tile { fill: #d7cfff; stroke: #51406d; stroke-width: 1; }
.ai-request-rule { fill: none; stroke: var(--brand); stroke-width: 1.5; }
.ai-response-tile { fill: #f8f5ed; stroke: var(--brand); stroke-width: 1.4; }
.ai-compact-label { display: none; }
@media (max-width: 600px) {
    .ai-visual [data-ai-readable] { font-size: 34px; }
    .ai-visual .ai-wide-label, .ai-visual .ai-manual-equipment,
    .ai-visual .ai-client-owner, .ai-visual .ai-document-footer { display: none; }
    .ai-visual .ai-compact-label { display: block; }
    .ai-visual .ai-client-title { transform: translateY(5px); }
    .ai-visual .ai-mcp-label { transform: translateY(10px); }
    .ai-visual .ai-citation-icon { transform: translateY(10px); }
    .ai-visual .ai-citation-rule { transform: translateY(16px); }
}
.customer-chapter .chapter-frame { min-height: 800px; }
.phone-body { fill: #f8f5ee; stroke: #312a3c; stroke-width: 2; }
.customer-status { fill: #e5dffd; }
.customer-visual { -webkit-user-select: none; user-select: none; }
.customer-visual path { stroke-linecap: round; stroke-linejoin: round; }
.customer-paper, .customer-job-frame { fill: var(--diagram-paper); }
.customer-job-frame { stroke: #c7bdd3; stroke-width: 1.2; }
.customer-brand-title { fill: var(--ink); font-size: 24px; font-weight: 600; }
.customer-brand-rule { fill: none; stroke: var(--brand); stroke-width: 1.3; }
.customer-equipment-label, .customer-stage-text { fill: var(--ink-muted); font-size: 19px; }
.customer-equipment-slot, .customer-stage-slot { fill: none; stroke: #d4cadd; stroke-width: 1; }
.customer-service-state { fill: #e5dffd; }
.customer-proof-text { fill: var(--ink); font-size: 18px; }
.customer-active-step { fill: none; stroke: var(--brand); stroke-width: 1.6; }
.customer-link-base { fill: none; stroke: #a99ced; stroke-width: 1.4; }
.customer-consent-tile { fill: var(--brand); stroke: #f4f1e9; stroke-width: 1.5; }
.customer-consent-mark { fill: none; stroke: #f4f1e9; stroke-width: 2.3; }
.customer-receipt-paper { fill: #f9f6ee; stroke: var(--brand); stroke-width: 1.3; }
.customer-receipt-rule { fill: none; stroke: #9d90b2; stroke-width: 1.1; }
.customer-receipt-check { fill: none; stroke: var(--brand); stroke-width: 2; }
.customer-compact-label { display: none; }
@media (max-width: 600px) {
    .customer-visual [data-customer-readable] { font-size: 33px; }
    .customer-visual .customer-wide-label { display: none; }
    .customer-visual .customer-compact-label { display: block; }
    .customer-visual .customer-stage-text { font-size: 29px; }
}
.accounting-chapter .chapter-frame { display: block; min-height: 850px; padding-top: 108px; }
.accounting-chapter .chapter-copy { max-width: 900px; margin-inline: auto; text-align: center; }
.accounting-chapter .chapter-copy p { max-width: 47ch; margin-inline: auto; }
.accounting-chapter .chapter-art { max-width: 1040px; margin: 68px auto 0; }
.accounting-visual { -webkit-user-select: none; user-select: none; }
.accounting-visual path { stroke-linecap: round; stroke-linejoin: round; }
.accounting-motion-path { fill: none; stroke: none; }
.accounting-stock-slot { fill: #f4f0fa; stroke: #b3a5c8; stroke-width: 1; }
.accounting-paper, .accounting-record-paper { fill: var(--diagram-paper); stroke: #c7bdd2; stroke-width: 1.2; }
.accounting-document-title, .accounting-result-title { fill: var(--ink); font-size: 24px; font-weight: 600; }
.accounting-row-slot { fill: none; stroke: #d5cddf; stroke-width: 1; }
.accounting-row-highlight { fill: #e5dffd; }
.accounting-material-label, .accounting-result-row-text { fill: var(--ink-muted); font-size: 20px; }
.accounting-completed-fill { fill: #e5dffd; }
.accounting-state-label { fill: var(--ink); font-size: 19px; }
.accounting-total-fill { fill: #dcd4fb; }
.accounting-total-label { fill: var(--brand); font-size: 24px; font-weight: 600; }
.accounting-part-body { fill: var(--diagram-paper); stroke: var(--brand); stroke-width: 1.7; }
.accounting-part-pins { fill: none; stroke: var(--brand); stroke-width: 1.7; }
.accounting-part-detail { fill: #dcd4fb; stroke: var(--brand); stroke-width: 1.2; }
.accounting-record-rule { fill: none; stroke: #a394b8; stroke-width: 1.2; }
.accounting-compact-label { display: none; }
@media (max-width: 899px) {
    .accounting-visual [data-accounting-readable] { font-size: clamp(24px, calc(64px - 4.5vw), 40px); }
    .accounting-visual .accounting-wide-label { display: none; }
    .accounting-visual .accounting-compact-label { display: block; }
    .accounting-visual .accounting-total-label { transform: translateY(7px); }
}
.diagram-captions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; color: var(--ink-muted); font-size: 14px; text-align: center; }
.workspace-chapter { --scene-surface: #e7e1f5; background: var(--scene-surface); }
.workspace-chapter .chapter-frame { grid-template-columns: .9fr 1.3fr; min-height: 860px; }
.workspace-frame { fill: var(--paper); stroke: #bdb2cf; stroke-width: 1.5; }
.workspace-widget { fill: var(--diagram-paper); stroke: #d0c6de; stroke-width: 1; }
.workspace-visual { -webkit-user-select: none; user-select: none; }
.workspace-visual path { stroke-linecap: round; stroke-linejoin: round; }
.workspace-screen-title { fill: var(--ink); font-size: 28px; font-weight: 600; }
.workspace-role-label { fill: var(--ink-muted); font-size: 22px; }
.workspace-widget-title { fill: var(--ink); font-size: 26px; font-weight: 600; }
[data-workspace-card][data-primary="true"] .workspace-widget-title { fill: var(--brand); }
.workspace-slot { fill: none; stroke: #d0c6de; stroke-width: 1.2; }
.workspace-slot-fill { fill: #e1dafa; }
.workspace-list-dot, .workspace-calendar-slot { fill: #b8acf1; }
.workspace-check { fill: none; stroke: var(--brand); stroke-width: 2.5; }
.workspace-result-mark { fill: none; stroke: var(--brand); stroke-width: 1.6; }
.workspace-compact-label { display: none; }
@media (max-width: 899px) {
    .workspace-visual [data-workspace-readable] { font-size: clamp(28px, calc(63px - 4.5vw), 42px); }
    .workspace-wide-label, .workspace-role-label { display: none; }
    .workspace-compact-label { display: block; }
}
.role-choices { display: none; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.has-chapters .role-choices { display: flex; }
.role-choices button { min-height: 44px; padding: 8px 14px; border: 1px solid #a99dbd; border-radius: 6px; color: var(--ink-muted); background: transparent; font: inherit; font-size: 14px; cursor: pointer; }
.role-choices button[aria-pressed="true"] { border-color: var(--brand); color: var(--paper); background: var(--brand); }
.role-choices button:hover { border-color: var(--brand); }
.role-choices button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.role-caption { min-height: 3.4em; }
.chapter-copy .role-caption { max-width: 34ch; margin-top: 20px; font-size: 14px; }
.import-chapter .chapter-frame { min-height: 820px; }
.import-visual { -webkit-user-select: none; user-select: none; }
.import-art-heading { fill: var(--ink); font-size: 28px; font-weight: 600; }
.import-art-label { fill: var(--ink); font-size: 24px; font-weight: 600; }
.import-linked-label { fill: var(--brand); }
.import-sheet-head { fill: #e9e4ed; }
.import-slot { fill: none; stroke: #c9c3d1; stroke-width: 1.3; }
.import-sheet-detail { fill: none; stroke: #a69ab8; stroke-width: 1.8; stroke-linecap: round; }
.import-guide { fill: none; stroke: var(--night-brand); stroke-width: 1.25; opacity: .65; vector-effect: non-scaling-stroke; }
.import-packet { fill: var(--diagram-lavender); stroke: var(--brand); stroke-width: 1.5; }
.import-icon { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.finale-chapter { background: var(--paper); }
.finale-frame { width: min(100%, 1440px); margin-inline: auto; padding: 100px var(--page-gutter) 84px; }
.finale-art { width: min(100%, 760px); margin: 0 auto 40px; }
.finale-visual { -webkit-user-select: none; user-select: none; }
.has-year-thread .finale-trunk { display: none; }
.memory-title { fill: var(--ink); font-size: 24px; font-weight: 600; }
.memory-road { fill: none; stroke: #f9f6ef; stroke-width: 6; stroke-linecap: round; }
.memory-night-frame { fill: var(--night); }
.memory-night .memory-title { fill: var(--night-ink); }
.memory-night-link { fill: none; stroke: var(--night-brand); stroke-width: 1.8; stroke-linecap: round; }
.finale-year { fill: var(--brand); font-size: 72px; font-weight: 500; letter-spacing: -.04em; }
.finale-copy { text-align: center; }
.finale-copy h2 { font-size: clamp(48px, 6vw, 84px); line-height: 1.08; font-weight: 500; letter-spacing: -.04em; text-wrap: balance; }
.finale-copy p { margin: 28px auto 0; max-width: 42ch; color: var(--ink-muted); font-size: 18px; line-height: 1.7; }
.finale-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.year-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border: 1px solid var(--brand); border-radius: 8px; color: var(--paper); background: var(--brand); font-size: 16px; font-weight: 600; text-decoration: none; }
.year-button:hover { background: #4238cf; }
.year-button-secondary { color: var(--brand); background: transparent; }
.year-button-secondary:hover { background: #e7e1f5; }
.release-archive { max-width: 1040px; margin: 76px auto 0; border-top: 1px solid #c8c0d3; }
.release-archive h3 { min-height: 68px; padding-block: 22px; color: var(--ink-muted); font-size: 16px; line-height: 1.5; font-weight: 500; }
.release-archive.has-reveal { opacity: 0; transition: opacity 650ms ease-out; }
.release-archive.has-reveal.is-visible, .release-archive.has-reveal:focus-within { opacity: 1; }
.release-archive.has-reveal:focus-within { transition: none; }
.release-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 28px; padding-bottom: 24px; }
.release-links a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; color: var(--ink); font-size: 14px; text-decoration: none; border-bottom: 1px solid #d5cedd; }
.release-links a:hover { color: var(--brand); }
.release-links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.year-chapter::before { content: ''; position: absolute; z-index: 1; top: 0; left: 50%; width: 2.5px; height: 36px; background: var(--brand); }
.chapter-night::before, .chapter-violet::before { background: var(--night-brand); }
.finale-chapter > .scene-toggle { position: absolute; top: 28px; right: var(--page-gutter); z-index: 3; }
@media (prefers-reduced-motion: reduce) {
    .release-archive.has-reveal { opacity: 1; transition: none; }
}
@media (max-width: 1100px) {
    .chapter-frame { gap: 24px; min-height: 720px; padding-block: 88px; }
    .chapter-copy h2 { font-size: clamp(38px, 4.5vw, 56px); }
    .chapter-copy p { font-size: 16px; }
    .chapter-art .svg-small { font-size: 17px; }
}
@media (max-width: 899px) {
    .chapter-frame, .field-chapter .chapter-frame, .ai-chapter .chapter-frame, .workspace-chapter .chapter-frame, .import-chapter .chapter-frame { grid-template-columns: 1fr; gap: 48px; min-height: 0; padding-block: 80px 96px; }
    .chapter-copy { max-width: 620px; }
    .chapter-copy h2 { font-size: clamp(38px, 6.5vw, 60px); }
    .chapter-copy p { max-width: 38ch; margin-top: 24px; font-size: 17px; }
    .chapter-art { width: min(100%, 700px); margin-inline: auto; }
    .ai-chapter .chapter-copy { order: 0; }
    .ai-chapter .chapter-art { order: 1; margin: 0 auto; }
    .customer-chapter .chapter-frame { min-height: 0; }
    .accounting-chapter .chapter-frame { min-height: 0; padding-block: 80px 96px; }
    .accounting-chapter .chapter-copy { text-align: left; }
    .accounting-chapter .chapter-copy p { margin-left: 0; max-width: 38ch; }
    .accounting-chapter .chapter-art { margin-top: 48px; }
    .import-art-heading, .import-art-label { font-size: clamp(24px, calc(54px - 4.5vw), 36px); }
    .finale-frame { padding-block: 88px 56px; }
    .release-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .field-visual .svg-heading, .field-row-text, .field-status-text, .field-complete-text { font-size: clamp(19px, calc(56px - 6vw), 34px); }
    .field-plan-title { transform: translateY(8px); }
    .field-phone-title { transform: translateY(-8px); }
    .field-row-text { transform: translateY(5px); }
    .field-offline-chip { height: 50px; transform: translateY(-24px); }
    .field-status-text { text-anchor: middle; transform: translate(59px, -3px); }
    .field-wide-label, .field-task-caption, .field-plan-calendar, .field-phone-divider, .field-offline-symbol { display: none; }
    .field-compact-label { display: block; }
}
@media (max-width: 600px) {
    .year-chapter { --thread-exit-inset: 68px; }
    .chapter-copy h2 { font-size: clamp(34px, 9.3vw, 48px); }
    .chapter-copy p { font-size: 16px; }
    .chapter-frame, .field-chapter .chapter-frame, .ai-chapter .chapter-frame, .workspace-chapter .chapter-frame, .import-chapter .chapter-frame { gap: 36px; padding-top: 72px; }
    .chapter-art { width: 100%; }
    .chapter-art .svg-small, .chapter-art .map-label { display: none; }
    .chapter-line { stroke-width: 2.5; }
    .process-thread, .plan-route { stroke-width: 2.5; vector-effect: non-scaling-stroke; }
    .cover .scene-actions { inset-block-start: 96px; }
    .diagram-captions { gap: 8px; margin-top: 8px; font-size: 12px; }
    .role-choices { gap: 6px; margin-top: 24px; }
    .role-choices button { padding-inline: 10px; font-size: 12px; }
    .chapter-copy .role-caption { font-size: 13px; }
    .finale-art { width: 112%; margin-left: -6%; margin-bottom: 36px; }
    .memory-title { font-size: clamp(24px, calc(59px - 8.75vw), 27px); }
    .finale-copy h2 { font-size: clamp(40px, 11.5vw, 60px); }
    .finale-copy p { font-size: 16px; }
    .finale-actions { flex-direction: column; }
    .release-archive { margin-top: 56px; }
    .release-links { gap: 8px 20px; }
}
