/* Nodarya: a continuous, traceable process story. */
.nodarya-section{padding:66px 0 64px;background:#1c1b1a}
.nodarya-section>.section-heading{margin-bottom:32px;align-items:center}
.nodarya-section>.section-heading h2{font-size:clamp(29px,3vw,40px)}
.nd-intro{max-width:350px}
.nd-intro p{font-size:13px;color:var(--muted);line-height:1.75}
.nd-intro .text-link{margin-top:14px;font-size:12px;color:var(--accent)}
.nd-workspace{border:1px solid #51453c;border-radius:7px;overflow:hidden;background:#171717;box-shadow:0 18px 48px #0002}
.nd-toolbar{display:flex;align-items:center;gap:22px;padding:17px 25px;background:#252320;border-bottom:1px solid #423a33}
.nd-word{font-size:22px;font-weight:600;letter-spacing:-.07em;color:#ece6e0;line-height:1}
.nd-project-name{font-size:11px;color:#b4aaa0;border-left:1px solid #57483b;padding-left:20px}
.nd-playback{margin-left:auto;display:flex;align-items:center;gap:9px}
.nd-playback button{display:flex;align-items:center;gap:7px;border:1px solid #54483e;padding:5px 10px;min-height:34px;font-size:11px;color:#c9b9ac;border-radius:3px}
.nd-playback button:hover{color:#fff;background:#38312b}
.nd-playback #ndRestart{font-size:19px;padding:4px 11px}
.nd-stage-heading{display:flex;align-items:center;gap:21px;padding:23px 25px 21px;min-height:107px}
.nd-chapter{font-size:11px;color:var(--accent);font-variant-numeric:tabular-nums;white-space:nowrap;border-right:1px solid var(--line);padding-right:20px;align-self:stretch;display:flex;align-items:center}
.nd-stage-heading h3{font-size:22px;font-weight:500;letter-spacing:-.025em;line-height:1.2}
.nd-stage-heading p{font-size:12px;color:#aaa39d;margin-top:7px;line-height:1.6}
.nd-scene{height:590px;position:relative;overflow:hidden;border-block:1px solid #302a26;background:#1a1918}
.nd-scene [data-at]{opacity:0;visibility:hidden}
.nd-scene [data-at].is-visible{opacity:1;visibility:visible}
.nd-playing .nd-reveal.is-visible{animation:nd-enter .5s cubic-bezier(.2,.7,.2,1) both}
.nd-workspace:not(.nd-playing) *{animation-play-state:paused!important}
@keyframes nd-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes nd-flow{to{stroke-dashoffset:-36}}
@keyframes nd-turn{to{transform:rotate(360deg)}}
.nd-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:0 22px;background:#201e1b}
.nd-steps button{position:relative;text-align:left;font-size:12px;min-height:66px;display:flex;gap:9px;align-items:center;color:#a49a91;padding:13px 8px;white-space:nowrap}
.nd-steps button i{position:absolute;bottom:0;left:8px;right:8px;height:2px;background:var(--accent);transform:scaleX(var(--nd-progress,0));transform-origin:left}
.nd-steps button:hover{color:#f0e5da}
.nd-steps button[aria-pressed=true]{color:#f4dbc7}
.nd-step-index{font-size:9px;opacity:.6}
.nd-steps button.is-complete .nd-step-index{color:var(--accent);opacity:1}
.nd-footer{display:flex;gap:20px;justify-content:space-between;align-items:center;font-size:10px;color:#aba099;padding:13px 25px;background:#201e1b}
.nd-track{height:2px;background:#332a23}
.nd-track span{height:100%;display:block;background:#d4a17d;transform-origin:left;transform:scaleX(0)}
.nd-panel-label,.nd-tray-title,.nd-insight-title{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#b3a393}
.nd-panel-label{display:flex;align-items:center;gap:8px}
.nd-status-dot{height:5px;width:5px;border-radius:50%;background:var(--accent)}
.nd-sources-layout{height:100%;display:grid;grid-template-columns:1.05fr 70px 1fr;padding:47px 55px;align-items:center}
.nd-source-tray{border:1px solid #514239;border-radius:6px;padding:20px;background:#24211e;min-width:0}
.nd-tray-title{display:flex;justify-content:space-between;margin-bottom:18px}
.nd-file{display:grid;grid-template-columns:34px minmax(0,1fr) 20px;gap:14px;align-items:center;background:#302a25;border:1px solid #594638;border-radius:4px;padding:14px 12px;margin-top:10px;min-height:80px}
.nd-file-symbol{position:relative;display:flex;justify-content:center;color:#c6a082}
.nd-file-symbol svg{height:34px;width:28px}
.nd-file-symbol b{position:absolute;font-size:8px;left:0;top:13px;padding:1px 3px;background:#493528;color:#f3d3b7;line-height:1.4}
.nd-file strong{font-size:12px;font-weight:500;display:block;overflow-wrap:anywhere}
.nd-file small{font-size:10px;color:#b7a99e;display:block;margin-top:3px}
.nd-file-track{height:2px;background:#685444;margin-top:8px}
.nd-file-track i{display:block;background:#deb491;height:100%;transform:scaleX(var(--upload,0));transform-origin:left}
.nd-file-state b{display:none;color:#d9ae8c}
.nd-file-state svg{width:19px;height:19px}
.nd-loader{display:block;width:12px;height:12px;border:1px solid #826349;border-top-color:#ebc1a1;border-radius:50%;animation:nd-turn 1s linear infinite}
.nd-file.is-done .nd-loader{display:none}.nd-file.is-done .nd-file-state b{display:block}
.nd-source-target{display:flex;align-items:center;gap:12px;margin-top:20px;color:#b7a89a;font-size:10px}
.nd-source-target>span{font-size:22px;line-height:1;color:#a48770}
.nd-source-target small{font-size:9px;display:block;margin-top:3px;color:#93877d}
.nd-source-link{display:flex;align-items:center;gap:7px;color:#c79e7e}
.nd-source-link i{height:1px;flex:1;background:#705139}
.nd-source-link span{font-size:22px}
.nd-extraction{align-self:center;min-width:0}
.nd-extraction h4,.nd-document-sidebar h4{font-size:35px;line-height:1.12;letter-spacing:-.04em;font-weight:500;margin:19px 0 12px}
.nd-extraction-sub{font-size:11px;color:#c0afa1}
.nd-excerpt{margin-top:19px;border-left:1px solid #77563d;padding-left:14px}
.nd-excerpt p{font-size:12px;line-height:1.65;color:#c8beb6;margin-top:5px;max-width:330px}
.nd-tag{display:inline-block;font-size:9px;line-height:1.4;color:#dcb694;background:#463428;border:1px solid #6e4d34;border-radius:2px;padding:3px 5px}
.nd-source-ready,.nd-summary-check{display:flex;gap:7px;align-items:center;color:#d9b89c;font-size:10px;margin-top:21px;line-height:1.6}
.nd-source-ready svg,.nd-summary-check svg{width:19px;height:19px;flex-shrink:0}
.nd-map-layout{height:100%;display:grid;grid-template-columns:minmax(0,1fr) 250px}
.nd-map-shell{align-self:center;min-width:0;padding:20px}
.nd-map-top{display:flex;justify-content:space-between;font-size:10px;color:#ae9f91;padding:0 0 17px;gap:10px}
.nd-map-top>span:first-child{color:#e0d6cc}
.nd-map{width:100%;height:auto;overflow:visible}
.nd-map text{font-family:Archivo,Arial,sans-serif}
.nd-lanes rect{fill:#26221e;fill-opacity:.6}
.nd-lanes path{fill:none;stroke:#625344;stroke-opacity:.45}
.nd-lanes text{font-size:9px;letter-spacing:1px;fill:#a99b8e}
.nd-node-surface{fill:#302b25;stroke:#927051;stroke-width:1}
.nd-node-label{font-size:12px;fill:#eee2d6;font-weight:500}
.nd-node-sub{font-size:9px;fill:#b7a698}
.nd-node-accent{fill:none;stroke:transparent;stroke-width:3}
.nd-edge{fill:none;stroke:#a58b75;stroke-width:1.15;stroke-linejoin:round}
.nd-return{stroke:#b9967a;stroke-dasharray:5 4}
.nd-playing .nd-edge.is-visible{stroke-dasharray:5 4;animation:nd-flow 3s linear infinite}
.nd-playing .nd-node.is-visible{animation:nd-node-in .45s ease both}
@keyframes nd-node-in{from{opacity:0}to{opacity:1}}
.nd-gateway>path:first-child{fill:#24211e;stroke:#bba48d;stroke-width:1.2}
.nd-gateway-x{stroke:#ba9d82;fill:none;stroke-width:1.1}
.nd-gateway text{fill:#b7a18d;font-size:10px;paint-order:stroke;stroke:#1a1918;stroke-width:3px;stroke-linejoin:round}
.nd-event circle{stroke:#c7a583;stroke-width:1.3;fill:#25211d}
.nd-event .nd-end{stroke-width:2}
.nd-route-label{font-size:10px;fill:#a79789;paint-order:stroke;stroke:#1a1918;stroke-width:3px}
.nd-kind-dot{fill:transparent;transition:fill .4s}
.nd-node.is-classified[data-kind=value] .nd-node-surface{fill:#523b26;stroke:#e6ba86}
.nd-node.is-classified[data-kind=value] .nd-kind-dot{fill:#e6ba86}
.nd-node.is-classified[data-kind=needed] .nd-node-surface{fill:#363636;stroke:#bdb9b2}
.nd-node.is-classified[data-kind=needed] .nd-kind-dot{fill:#bdb9b2}
.nd-node.is-classified[data-kind=waste] .nd-node-surface,.nd-node.is-problem .nd-node-surface{fill:#442722;stroke:#d38b79}
.nd-node.is-classified[data-kind=waste] .nd-kind-dot,.nd-node.is-problem .nd-kind-dot{fill:#e19b87}
.nd-node.is-problem .nd-node-accent{stroke:#e19b87}
.nd-waste-marker circle{fill:#512f25;stroke:#d9957d;stroke-width:1.2}
.nd-waste-marker path{fill:none;stroke:#f0c4a6;stroke-width:1.5}
.nd-future-node .nd-node-surface{fill:#3a2f25;stroke:#bd916e}
.nd-change-tick{stroke:#e5b38c;stroke-width:1.4;fill:none}
.nd-map-legend{display:flex;align-items:center;gap:20px;padding-top:22px;font-size:10px;color:#a5988c}
.nd-map-legend span{display:flex;align-items:center;gap:6px}
.nd-map-legend i{width:6px;height:6px;border-radius:50%;display:inline-block}
.value i{background:#e6ba86}.needed i{background:#bdb9b2}.waste i{background:#d38b79}
.nd-map-legend i.value{background:#e6ba86}.nd-map-legend i.needed{background:#bdb9b2}.nd-map-legend i.waste{background:#d38b79}
.nd-insights{background:#23201d;border-left:1px solid #41362d;padding:25px 21px;display:flex;flex-direction:column;justify-content:center}
.nd-insight-title{margin-bottom:7px;font-size:9px}
.nd-evidence,.nd-change{margin-top:20px;padding-top:15px;border-top:1px solid #534132}
.nd-evidence-label{font-size:8px;color:#d7a67f;letter-spacing:.04em;display:block;margin-bottom:6px}
.nd-evidence strong,.nd-change strong{display:block;font-size:13px;line-height:1.4;font-weight:500;letter-spacing:-.02em}
.nd-evidence p,.nd-change p{font-size:11px;line-height:1.65;color:#b2a398;margin-top:6px}
.nd-evidence .nd-tag{margin-top:10px;font-size:8px}
.nd-change .nd-tag{float:right;margin-left:6px;font-size:8px}
.nd-value-count{display:flex;align-items:center;gap:16px;border-bottom:1px solid #514034;padding:20px 0}
.nd-value-count>b{font-size:32px;font-weight:400;line-height:1;color:#dbb28e;font-variant-numeric:tabular-nums}
.nd-value-count.needed>b{color:#bdb9b2}.nd-value-count.waste>b{color:#d38b79}
.nd-value-count>span{font-size:12px}.nd-value-count small{font-size:10px;color:#aa9c91;display:block;margin-top:5px}
.nd-insight-end{font-size:11px;color:#c9b6a5;line-height:1.8;padding-top:24px}
.nd-document-layout{height:100%;display:grid;grid-template-columns:30% minmax(0,1fr);gap:38px;padding:25px 38px;align-items:center}
.nd-document-sidebar h4{font-size:32px;margin-bottom:27px}
.nd-deliverable{display:flex;gap:9px;align-items:flex-start;margin-top:23px;font-size:12px}
.nd-deliverable svg{width:18px;height:18px;flex-shrink:0;color:var(--accent)}
.nd-deliverable small{display:block;color:#a5998f;font-size:10px;margin-top:3px}
.nd-finished{margin-top:29px;padding-top:18px;border-top:1px solid #68503b}
.nd-finished strong{font-size:12px;color:#e2b894;font-weight:500;display:block}
.nd-finished span{display:block;font-size:11px;color:#b6a799;margin-top:5px;line-height:1.6;max-width:230px}
.nd-procedure{background:#dfd3c4;color:#30271e;padding:23px 28px;box-shadow:0 7px 30px #0003;border-radius:2px;max-width:760px;width:100%;margin-inline:auto}
.nd-procedure header{font-size:8px;letter-spacing:.05em;text-transform:uppercase;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #b4a18c;padding-bottom:9px;color:#64513e}
.nd-procedure h4{font-size:20px;line-height:1.18;font-weight:600;letter-spacing:-.025em;margin:13px 0 6px}
.nd-doc-objective{font-size:10px;line-height:1.6;max-width:560px;color:#5d4e3f}
.nd-doc-meta{display:flex;gap:22px;margin:11px 0;padding-bottom:10px;border-bottom:1px solid #b9a894;font-size:8px}
.nd-doc-meta b{font-weight:600;margin-right:5px}
.nd-procedure ol{margin:0;padding:0;list-style:none}
.nd-procedure li{display:grid;grid-template-columns:22px 1fr 64px;gap:9px;align-items:start;padding:9px 0;border-bottom:1px solid #bcae9c}
.nd-step-number{font-size:10px;color:#86623d;line-height:1.4}
.nd-procedure li strong{font-size:11px;font-weight:600;display:block;line-height:1.3}
.nd-procedure li p{font-size:9px;line-height:1.6;color:#665441;margin-top:3px}
.nd-procedure li em{font-size:8px;line-height:1.6;text-align:right;font-style:normal;color:#785b3e}
.nd-doc-bottom{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:12px;font-size:8px;line-height:1.6;color:#695743}
.nd-doc-bottom b{display:block;color:#493a2b;margin-bottom:2px}
.nd-procedure footer{display:flex;justify-content:space-between;font-size:8px;color:#6a5239;border-top:1px solid #b7a28c;margin-top:13px;padding-top:8px;gap:10px}
@media(max-width:1100px){
 .nd-map-layout{grid-template-columns:1fr;grid-template-rows:1fr auto}
 .nd-map-shell{padding:14px 28px}
 .nd-map{max-height:345px}
 .nd-map-top{padding-bottom:8px}
 .nd-map-legend{padding-top:8px}
 .nd-insights{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 22px;padding:17px 28px;border-left:0;border-top:1px solid #44382e}
 .nd-insight-title{grid-column:1/-1;margin:0}
 .nd-evidence,.nd-change{margin:0;padding:8px 0;border-top:0}
 .nd-summary-check,.nd-insight-end{grid-column:1/-1;margin:0;padding:0;font-size:10px}
 .nd-evidence .nd-tag{margin-top:4px}
 .nd-value-count{padding:8px 0;border:0;gap:12px}
 .nd-sources-layout{padding:35px;grid-template-columns:1fr 45px 1fr}
 .nd-document-layout{padding:24px;gap:25px;grid-template-columns:27% 1fr}
 .nd-document-sidebar h4{font-size:26px}
 .nd-deliverable{font-size:11px;margin-top:19px}
 .nd-procedure{padding:20px}
 .nd-stage-heading h3{font-size:20px}
}
@media(max-width:700px){
 .nodarya-section{padding-block:48px}
 .nd-intro{margin-top:18px}
 .nd-intro p{font-size:12px}
 .nd-toolbar{padding:15px 14px;gap:10px}
 .nd-word{font-size:21px}.nd-project-name{display:none}
 .nd-playback button{font-size:10px;min-height:34px;padding:5px 8px}
 .nd-stage-heading{padding:17px 14px;gap:12px;min-height:123px;align-items:flex-start}
 .nd-chapter{font-size:9px;padding-right:10px;align-self:flex-start;min-height:26px}
 .nd-stage-heading h3{font-size:19px;line-height:1.2}
 .nd-stage-heading p{font-size:10px;margin-top:7px;line-height:1.7}
 .nd-scene{height:865px}
 .nd-steps{grid-template-columns:repeat(3,1fr);padding:0 6px}
 .nd-steps button{font-size:10px;min-height:45px;gap:5px;padding:8px 5px}
 .nd-steps button i{left:5px;right:5px}
 .nd-step-index{font-size:8px}
 .nd-footer{padding:12px 14px;gap:8px;font-size:8px;align-items:flex-start}
 .nd-footer>span:last-child{max-width:130px;text-align:right}
 .nd-sources-layout{display:flex;flex-direction:column;justify-content:center;gap:18px;padding:20px 17px}
 .nd-source-tray{width:100%;padding:16px 12px}
 .nd-file{padding:12px 9px;gap:9px;grid-template-columns:28px minmax(0,1fr) 16px;min-height:74px}
 .nd-file strong{font-size:10px}.nd-file small{font-size:9px}
 .nd-tray-title{font-size:9px;margin-bottom:10px}
 .nd-source-target{font-size:9px;margin-top:16px;gap:8px}
 .nd-source-target small{font-size:8px}
 .nd-source-link{display:none}
 .nd-extraction{width:100%;padding:4px 5px}
 .nd-extraction h4{font-size:29px;margin-top:13px}
 .nd-extraction h4 br{display:none}
 .nd-extraction-sub{font-size:10px}
 .nd-excerpt{margin-top:15px}.nd-excerpt p{font-size:11px}
 .nd-panel-label{font-size:9px}
 .nd-source-ready{font-size:9px;margin-top:15px}
 .nd-map-layout{display:flex;flex-direction:column}
 .nd-map-shell{padding:16px 6px 12px;width:100%;flex:1;display:flex;flex-direction:column;justify-content:center}
 .nd-map{max-height:530px;margin-inline:auto;flex:0 1 auto;min-height:0}
 .nd-map-top{font-size:9px;padding:0 7px 12px;gap:8px}
 .nd-map-legend{padding:12px 7px 0;gap:12px;font-size:8px;flex-wrap:wrap}
 .nd-insights{padding:14px 15px;gap:8px 12px;flex-shrink:0;grid-template-columns:1fr}
 .nd-insight-title{font-size:8px;margin-bottom:2px}
 .nd-evidence{padding:6px 0;display:grid;grid-template-columns:79px minmax(0,1fr);gap:3px 9px;border-top:1px solid #45372c}
 .nd-evidence-label{font-size:7px;grid-row:1/3;margin:0;padding-top:1px}
 .nd-evidence strong{font-size:11px}
 .nd-evidence p{font-size:9px;margin:0;line-height:1.6}
 .nd-evidence .nd-tag{grid-column:2;width:max-content;font-size:7px;margin-top:1px}
 .nd-summary-check{font-size:9px}
 .nd-value-count{gap:16px;padding:9px 0}
 .nd-value-count>b{font-size:26px}
 .nd-value-count>span{font-size:11px}
 .nd-value-count small{font-size:9px;margin-top:1px}
 .nd-insight-end{font-size:10px;padding-top:5px}
 .nd-change{padding:7px 0;border-top:1px solid #45372c}
 .nd-change strong{font-size:11px}.nd-change p{font-size:9px;margin-top:3px}
 .nd-change .nd-tag{font-size:7px}
 .nd-document-layout{display:flex;flex-direction:column;gap:16px;padding:18px 12px;justify-content:center}
 .nd-document-sidebar{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px 10px}
 .nd-document-sidebar>.nd-panel-label{grid-column:1/-1}
 .nd-document-sidebar h4{display:none}
 .nd-deliverable{font-size:9px;gap:5px;margin:0;align-items:center}
 .nd-deliverable small{display:none}
 .nd-deliverable svg{width:14px;height:14px}
 .nd-finished{grid-column:1/-1;margin:5px 0 0;padding-top:9px}
 .nd-finished strong{font-size:10px}.nd-finished span{max-width:none;font-size:9px;margin-top:2px}
 .nd-procedure{padding:16px 13px}
 .nd-procedure h4{font-size:19px}
 .nd-doc-objective{font-size:9px}
 .nd-doc-meta{display:block;font-size:8px;margin:10px 0}
 .nd-doc-meta span{display:block;margin-top:3px}
 .nd-procedure li{grid-template-columns:18px 1fr;gap:4px 6px;padding:9px 0}
 .nd-step-number{grid-row:1/3}
 .nd-procedure li strong{font-size:11px}.nd-procedure li p{font-size:9px}
 .nd-procedure li em{grid-column:2;text-align:left;font-size:8px}
 .nd-doc-bottom{gap:10px;font-size:8px}
 .nd-procedure header,.nd-procedure footer{font-size:7px}
}
@media(prefers-reduced-motion:reduce){
 .nd-workspace *{animation:none!important;transition:none!important}
}
