/* Context stages share the machine's accent bus; all SVG geometry is fictional. */
.context-machinery{position:relative;isolation:isolate;box-sizing:border-box;overflow:hidden;padding:8px 13px 3px 15px;gap:3px;color:var(--machine-ink,#c9a16a);container-type:size;container-name:context-machine}
.context-machinery> :not(.context-machinery-underlay){position:relative;z-index:1}
.context-machinery>.context-machinery-underlay{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;fill:none;stroke:var(--machine-muted,#786345);stroke-width:.65;opacity:.6;overflow:hidden}
.context-machinery-underlay path,.context-machinery-underlay ellipse,.context-machinery-underlay circle{vector-effect:non-scaling-stroke}
.context-machinery .machinery-frame{stroke:var(--machine-ink,#c9a16a);opacity:.55}
.context-machinery .machinery-registration{stroke:var(--machine-accent,#d6a34d);stroke-width:1;opacity:.7}
.context-machinery>.machinery-signature{position:absolute;top:22px;right:15px;max-width:65%;font:4px/1.2 Telemetry;letter-spacing:.6px;color:var(--machine-muted,#786345);pointer-events:none;z-index:1}
.context-machinery .stage-caption{padding-bottom:5px;border-bottom:1px solid var(--machine-muted,#786345);font-size:5px;letter-spacing:.8px;flex:none;color:var(--machine-ink,#c9a16a)}
.context-machinery .stage-caption>span:last-child{color:var(--machine-alert,#ae5d38)}
.context-machinery .stage-expand{min-height:44px;padding:5px 9px 5px 4px;border-top:1px solid var(--machine-muted,#786345);font-size:5px;color:var(--machine-ink,#c9a16a);letter-spacing:.6px;clip-path:polygon(0 0,92% 0,100% 35%,100% 100%,0 100%);background:linear-gradient(110deg,#000c,#0000)}
.context-machinery button:focus-visible{outline:1px solid var(--machine-accent,#d6a34d);outline-offset:-2px}
.context-machinery .weather-primary{min-height:56px;gap:14px;padding:10px 3px 3px;flex:1 1 26%;color:var(--machine-ink,#c9a16a)}
.context-machinery .weather-primary>div:first-child{max-width:83px;aspect-ratio:1.2;transform:rotate(-5deg);padding:4px 7px 4px 0;border-right:1px solid var(--machine-muted,#786345)}
.context-machinery .weather-primary strong{font-size:clamp(32px,15cqh,54px);color:var(--machine-ink,#c9a16a);line-height:.92}
.context-machinery .weather-primary b{font-size:12px;letter-spacing:1px;color:var(--machine-ink,#c9a16a)}
.context-machinery .weather-primary span{font-size:5px;line-height:1.3;color:var(--machine-ink,#c9a16a)}
.context-machinery .weather-symbol{stroke:var(--machine-ink,#c9a16a)}
.context-machinery .weather-symbol .weather-orbit{stroke:var(--machine-muted,#786345)}
.context-machinery .weather-telemetry{padding:4px 0 5px 12px;margin-left:7px;transform:skewY(-1deg);border-left:2px solid var(--machine-muted,#786345);border-bottom-color:var(--machine-muted,#786345);background:#000b;font-size:4.5px;flex:none;color:var(--machine-ink,#c9a16a)}
.context-machinery .weather-telemetry span b{color:var(--machine-ink,#c9a16a);font-size:8px}
.context-machinery .forecast-mini{gap:3px;margin:1px 0 0 14px;flex:0 0 48px;min-height:44px;max-height:58px;transform:skewY(-1deg)}
.context-machinery .forecast-mini button{background:#000c;border-top:1px solid var(--machine-muted,#786345);border-bottom-color:var(--machine-muted,#786345);clip-path:polygon(0 0,85% 0,100% 15%,100% 100%,10% 100%,0 85%);color:var(--machine-ink,#c9a16a)}
.context-machinery .forecast-mini button:nth-child(2n){transform:translateY(-3px)}
.context-machinery .forecast-mini b small{color:var(--machine-ink,#c9a16a);opacity:.7}
.context-machinery .machinery-contours{opacity:.38;stroke-width:.5}
.context-machinery .machinery-isobar{opacity:.38;stroke:var(--machine-accent,#d6a34d);stroke-dasharray:2 4}
.context-machinery .machinery-band{stroke:var(--machine-accent,#d6a34d);opacity:.4}
.context-machinery .machinery-precip{opacity:0;stroke:var(--machine-accent,#d6a34d);stroke-width:.8}
.h5-root:is([data-weather=rain],[data-weather=storm]) .machinery-precip{opacity:.45}
.context-machinery .calendar-today{flex:0 0 29%;min-height:61px;border:0;gap:13px;padding:9px 0 3px 6px;color:var(--machine-ink,#c9a16a)}
.context-machinery .calendar-today>strong{font-size:clamp(42px,22cqh,68px);min-width:62px;text-align:center;padding:4px 8px 4px 0;border:0;color:var(--machine-ink,#c9a16a)}
.context-machinery .calendar-today b{font-size:18px;letter-spacing:1.5px}
.context-machinery .calendar-today span{font-size:6px;color:var(--machine-ink,#c9a16a)}
.context-machinery .calendar-today small{font-size:4.5px;color:var(--machine-alert,#ae5d38)}
.context-machinery .calendar-week{gap:2px;margin:1px 0 4px 13px;transform:skewY(-1.5deg);border-bottom:1px solid var(--machine-muted,#786345);padding-bottom:4px}
.context-machinery .calendar-week button{min-height:44px;background:#000b;border-color:var(--machine-muted,#786345);color:var(--machine-ink,#c9a16a);padding:2px}
.context-machinery .calendar-week button:first-child{border-top:2px solid var(--machine-accent,#d6a34d);background:#000;color:var(--machine-accent,#d6a34d)}
.context-machinery .calendar-week i{color:var(--machine-muted,#786345)}
.context-machinery .agenda-preview{padding:2px 0 0 16px;margin-left:6px;border-left:1px solid var(--machine-muted,#786345);min-height:20px}
.context-machinery .agenda-preview>div{position:relative;padding:4px 0;border-bottom:1px solid var(--machine-muted,#786345);background:linear-gradient(90deg,#000e,#0008 85%,#0000)}
.context-machinery .agenda-preview>div:before{content:'';position:absolute;left:-19px;top:12px;width:5px;height:5px;border:1px solid var(--machine-accent,#d6a34d);background:#000;transform:rotate(45deg)}
.context-machinery .agenda-preview b{font-size:11px;color:var(--machine-ink,#c9a16a)}
.context-machinery .agenda-preview time,.context-machinery .agenda-preview span{color:var(--machine-ink,#c9a16a);opacity:.8}
.context-machinery .agenda-preview>p{color:var(--machine-ink,#c9a16a);font-size:11px;letter-spacing:.5px}
.context-machinery .agenda-preview>small{color:var(--machine-ink,#c9a16a);font-size:5px;line-height:1.4}
.context-machinery .machinery-orbital{stroke:var(--machine-accent,#d6a34d);opacity:.5;stroke-dasharray:1 4;transform-origin:63px 82px}
.context-machinery .machinery-agenda-route{opacity:.35}
.context-machinery .machinery-calendar-thread{stroke:var(--machine-accent,#d6a34d);stroke-dasharray:7 230;stroke-width:1;opacity:.5}
body:is([data-motion=standard],[data-motion=high]) .context-machinery .machinery-contours{animation:machinery-contour-drift 20s ease-in-out infinite alternate}
body:is([data-motion=standard],[data-motion=high]) .context-machinery .machinery-band{animation:machinery-band-drift 17s ease-in-out infinite alternate}
body:is([data-motion=standard],[data-motion=high]) .context-machinery .machinery-precip{animation:machinery-rain-drift 4s linear infinite}
body:is([data-motion=standard],[data-motion=high]) .context-machinery .machinery-orbital{animation:machinery-orbit 80s linear infinite}
body:is([data-motion=standard],[data-motion=high]) .context-machinery .machinery-calendar-thread{animation:machinery-agenda-travel 11s linear infinite}
@keyframes machinery-contour-drift{to{transform:translate(4px,7px)}}
@keyframes machinery-band-drift{to{transform:translateY(44px);opacity:.15}}
@keyframes machinery-rain-drift{to{transform:translate(-15px,23px)}}
@keyframes machinery-orbit{to{transform:rotate(360deg)}}
@keyframes machinery-agenda-travel{to{stroke-dashoffset:-474}}
.machine-paused .context-machinery-underlay *,.evo-contact .context-machinery-underlay *,.context-machinery.machinery-hidden .context-machinery-underlay *,.context-machinery.machinery-offscreen .context-machinery-underlay *,.h5-root[data-route-phase]:not([data-route-phase=idle]) .context-machinery-underlay *{animation-play-state:paused!important}
body:is([data-motion=off],[data-motion=low]) .context-machinery-underlay *{animation:none!important}
@container context-machine (max-height:235px){.context-machinery .calendar-week{display:none}.context-machinery .weather-primary{padding-top:6px;min-height:48px}.context-machinery .weather-primary strong{font-size:32px}.context-machinery .weather-primary b{font-size:10px}.context-machinery .weather-telemetry{padding-top:2px;padding-bottom:3px}.context-machinery .forecast-mini{flex-basis:44px}.context-machinery .calendar-today{min-height:56px;flex-basis:34%}.context-machinery .agenda-preview>div{padding:2px 0}.context-machinery .stage-expand{font-size:4.5px}}
@media(prefers-reduced-motion:reduce){.context-machinery-underlay *{animation:none!important}}
