/* Neutral material base. The approved shared palette is defined in palette.css. */
:root{--paper:#f5f3f0;--ink:#171715;--body:#59564f;--muted:#77736c;--line:color-mix(in srgb,var(--brand-silver) 68%,var(--paper));--panel:#fff;--panel2:#eeece8;--accent:#57534c;--yes:#397354;--no:#a04c43;--dark:#176fbd;--sage:#ebe9e5;--clay:#98948c;color-scheme:light}
body{background:var(--paper);color:var(--ink)}
body:before{opacity:.022;mix-blend-mode:multiply}
::selection{background:#ddd9d2;color:#171715}
.announcement{background:rgba(255,255,255,.45);color:#67635c;border:0;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
.site-header,.site-header.scrolled{background:rgba(255,255,255,.64);border:0;box-shadow:0 5px 28px #00000005;backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);color:#171715}
.system-menu,dialog{background:rgba(255,255,255,.94);border:0;box-shadow:0 18px 65px #00000012;backdrop-filter:blur(36px);-webkit-backdrop-filter:blur(36px);color:#171715}
.system-menu a{color:#37342e;border-color:#e6e3de}.system-menu a:hover{color:#171715}.system-menu .eyebrow,.system-menu p{color:#77736c}
.nav-link:hover{background:#00000005}.button-dark{background:#176fbd;border-color:#176fbd;color:white}.button-dark:hover{background:#1165ac;border-color:#1165ac;color:white;box-shadow:none}
.header-cta{background:rgba(255,255,255,.8);border-color:transparent;color:#171715}.header-cta:hover{background:white;border-color:transparent;color:#171715}
.button-outline,.text-link{border-color:#b9b5ae;background:rgba(255,255,255,.18);color:#3e3a34}
.button-outline:hover,.text-link:hover{background:rgba(255,255,255,.65);border-color:#87827a;color:#171715}
.hero-art{background:none}.hero-eyebrow{color:#77736c}.hero-subtitle{color:#59564f}.engine-detail{border:0}
.experience,.problem-evidence,.benefit-section,.agreement-section,.chapter,.closing,.closing footer,.route-control{border:0}
.experience>p{color:#77736c}.company-logos img{filter:brightness(0);opacity:.6}
.problem-statement h2,.benefit-section-heading h2,.chapter h2{color:#171715}
.problem-copy p,.benefit-section-heading>p,.chapter-copy,.features>p{color:#59564f}
.problem-copy .problem-lead{color:#171715}.evidence-point>strong{color:#98948c}.evidence-point p{color:#59564f}.evidence-point a{color:#716d66;text-decoration-color:#b9b5ae}.evidence-point a:hover{color:#171715}
.chapter-label{color:#716d66}.chapter-label>span:first-child{border-color:var(--line);color:#59564f}.features strong{color:#171715}.features i{color:#7e796f}
.scene-mount{background:none}.route-track:before{background:var(--line)}.route-stop .route-name{color:#59564f}.route-stop .route-dot{background:#bcb8b0}.route-stop.active .route-dot{background:#171715}.route-stop.done .route-dot{background:#98948c}
.agreement-card,.outcome-card,.outcome-card:has([data-outcome="automation"]){background:rgba(255,255,255,.57);border:1px solid #ffffffa8;box-shadow:0 4px 24px #00000003;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.agreement-card h3,.outcome-result h3{color:#171715}.agreement-card p,.outcome-result>p{color:#716d66}
.benefit-icon{stroke:#5e5951}.agreement-compact>.benefit-icon{border-color:var(--line)}
.outcome-before,.outcome-before>span{color:#77736c}
/* All journey panels use the same untinted material. */
.glass-surface,.foundation-twins,.playbook-table-wrap,.rq-surface,.scene-6 .slack-excerpt,.insights-scene .morph-surface{background:rgba(255,255,255,.62);border-color:var(--line);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 10px 35px #00000004}
.twin-head{background:#ebe9e5;color:#59564f;border-color:var(--line)}.twin-head>span+span,.twin-row,.twin-row pre{border-color:var(--line)}
.twin-row p,.twin-row.writing p{color:#37342e}.twin-row.writing{background:#ffffff73}.twin-row pre,.twin-row.writing pre{background:#ffffff6e;color:#4d4a44}
.code-keyword,.twin-row pre .code-keyword{color:#835076}.code-number,.twin-row pre .code-number{color:#8c6434}.code-string,.twin-row pre .code-string{color:#36775d}
.twin-row.writing code:after{background:#59564f}
.table-toolbar{color:#59564f;background:transparent;border-color:var(--line)}.table-update{color:#59564f;border-color:var(--line);background:#ffffff80}.table-update b{color:#171715}
.playbook-table th{color:#716d66;background:#ebe9e5;border-color:var(--line)}.playbook-table td{color:#171715;background:rgba(255,255,255,.5);border-color:var(--line)}
.playbook-table td.cell-changed{background:#e8e5df;color:#171715;box-shadow:inset 0 0 0 1px #a39d92}.playbook-table td.cell-linked{background:#e8eee7;color:#315d45;box-shadow:inset 0 0 0 1px #9db29f}
.table-dependencies path{stroke:#aaa398}.table-dependencies .dependency-pulse{stroke:#6c7567;filter:none}
.tool-connection{background:transparent}.tool-connection span{color:#59564f}.tool-connection img{filter:brightness(0);opacity:.65}.tool-connection svg{color:#59564f}
.tool-connection[data-tool="clm"] img{filter:brightness(0);opacity:.65}
.network-wires{stroke:var(--brand-silver)}.network-protocols text{fill:#77736c}.cube-side{fill:rgba(255,255,255,.45);stroke:#8e897f}.cube-roof{fill:rgba(255,255,255,.75);stroke:#8e897f}.cube-grid{stroke:var(--brand-silver);opacity:.55}.cube-engraving{fill:#59564f}
.rq-replay{background:#ffffff80;border-color:var(--line)}.rq-leaf{background:rgba(255,255,255,.45)}.rq-routed .rq-leaf-cfo{background:#eae7e1;border-color:#98948c}
.rq-tree-connectors svg{stroke:var(--brand-silver)}.rq-routed .rq-tree-active{stroke:#686258}
/* Records and reports retain semantic approval colours, never tinted glass. */
.scene.insights-scene{--insight-ink:#171715;--insight-body:#59564f;--insight-muted:#77736c;--insight-line:var(--line);--insight-positive:#397354;--insight-exception:#a04c43}
.insight-report-heading>div:first-child>.insight-mono,.insight-chart-row,.insight-chart-key,.insight-decision-heading,.insight-decision-trail .insight-mono,.insights-scene .insight-decision>p,.insights-scene footer.insight-source-note,.insight-logged-records>.insight-mono,.insight-log-heading>.insight-mono:first-child,.insight-log-heading>.insight-mono:last-child{color:#716d66}
.insight-average strong,.insight-decision-trail strong,.insight-pattern strong,.insight-proposed-change strong,.insight-human-review strong{color:#171715}
.insight-bar-track{background:#eeece7}.bar-exception,.key-exception{background:#b5847d}.bar-fallback,.key-fallback{background:#73947b}
.insights-scene .insight-takeaway,.insight-decision-status{color:#8d5a50}.mirela-approved .insight-decision-status{color:#397354}
.insight-decision-trail>i{color:#98948c}.insight-exception-record{background:#a04c4305;border-color:#d9c6c0}.insight-exception-record>span:first-child{color:#59564f}.insight-exception-record>strong,.insight-exception-record>.insight-mono{color:#8c5c52}
.insight-sequencing .insight-exception-record.is-recorded{background:#a04c4309;border-color:#b88c82}.insight-convergence path{stroke:#b5a399}
.insight-pattern,.insight-suggestion{background:rgba(255,255,255,.55);border-color:var(--line)}.insight-pattern-mark{color:#77736c}.insights-scene .insight-pattern p{color:#716d66}
.insight-proposal-connector{background:#bfbab1}.insight-proposal-connector i{background:#77736c}.insight-suggestion>header,.insight-suggestion>header>span:last-child{color:#716d66}
.insights-scene .insight-proposed-change>p,.insight-proposed-change>div>span,.insight-proposed-change i,.insight-human-review,.insight-obligation,.insight-obligation>.insight-mono{color:#716d66}
.insight-human-review{border-color:var(--line)}.insight-review-icon,.insights-learning-scene .insight-human-review .insight-review-icon{color:#397354}
.insight-next-request{border-color:#d2ded1}.insight-next-request>.insight-mono,.insight-next-request>strong{color:#397354}.insights-scene .insight-next-request>p{color:#59564f}
.scene-6 .slack-excerpt,.slack-excerpt-channel>span,.slack-excerpt-author>strong,.slack-excerpt-attachment>strong,.slack-context-author strong{color:#171715}
.slack-excerpt-channel,.slack-context-before,.slack-context-after{border-color:#e2dfda}.slack-excerpt-channel b,.slack-excerpt-author>time,.slack-excerpt-author>span,.slack-context-author time{color:#77736c}
.slack-excerpt-avatar,.slack-context-avatar{background:#e7e4de;color:#59564f}.slack-excerpt-author>span{background:#eeece8}
.scene-6 .slack-excerpt-content>p,.scene-6 .slack-excerpt-attachment>p,.scene-6 .slack-context-message p{color:#59564f}.slack-excerpt-mention{background:#e8eef2;color:#386177}
.slack-excerpt-attachment{border-color:#a8a298}.scene-6 .slack-excerpt-attachment>.slack-excerpt-open{color:#716d66}
.scene-6 .slack-excerpt-actions>button{background:#ffffff80;border-color:#bfbab1;color:#59564f}.scene-6 .slack-excerpt-actions>button:first-child{background:#e6eee5;border-color:#91ab94;color:#345d3e}
.scene-6 .slack-excerpt-actions>button:hover{background:white;border-color:#98948c}.scene-6 .slack-excerpt-actions>button:first-child:hover{background:#dce8db}
.slack-excerpt-receipt{color:#397354}.slack-excerpt-receipt p>span,.slack-excerpt-receipt>button{color:#716d66}
.dialog-close{border-color:var(--line)}.detail-caption{color:#77736c}.detail-table td,.detail-table th{border-color:var(--line)}.detail-note{background:#eeece8;color:#59564f}.detail-quote{color:#59564f;border-color:#b1aa9e}.detail-quote del{color:#a04c43}.detail-quote ins{background:#e1ebdf;color:#315d45}dialog::backdrop{background:#29272233;backdrop-filter:blur(8px)}
/* The reference's deep warm finish; frost remains neutral elsewhere. */
.closing{background:var(--brand-burgundy);color:#fff}.closing h2{color:#f5f3f0}.closing-copy>p:not(.closing-call-label){color:#d4cbca}.closing-copy .closing-call-label{color:#b8aaa9}.closing .button{background:white;border-color:white;color:var(--brand-burgundy)}.closing .button:hover{background:#f5f3f0;color:var(--brand-burgundy)}.closing footer{color:#c1b5b4}
