/* Spirefelt craft lift · 6 November 2026. Domain rendering and surface hierarchy. */
.order-sequence:not([open]) .sequence-rows{display:none}
html:not(.ph-frame) #app :is(.brand,.icon-button,.segments button,.field input:not([type=checkbox]),.field select){min-width:44px;min-height:44px}
#app{--bg:#10271e;--card:#1a3226;--raised:#294432;--ink:#f2f1dd;--muted:#b5c3ad;--lime:#d3e7a6;--acc-txt:#e7f9bd;background:radial-gradient(ellipse at 66% 12%,#28453244,transparent 58%),var(--bg)}
.shell{grid-template-columns:19rem minmax(0,1fr)}
.sidebar{background:#132c21;padding-top:3rem;padding-right:1.6rem}
.brand>span{font-size:2.45rem}.brand img{width:3.5rem;height:3.5rem}.season{padding-top:4rem;color:#8eaa90}
.nav{gap:.45rem}.nav button{min-height:4.9rem;border-radius:1.15rem;color:#b8cbb5;font-size:1.35rem;transition:background 180ms,color 180ms}
.nav button[aria-current],.nav button[aria-current]:is(:hover,[data-ph-hover]){background:#2a4431;color:#e1efb9;box-shadow:inset 3px 0 #d3e7a6}
.main{padding:2.1rem 2.8rem 1rem}.top{margin-bottom:1.8rem;min-height:5.1rem}.top h1{font-size:2.7rem;font-weight:600}.top .date{font-size:1.15rem}.demo-label{font-size:1.05rem;color:#9fb59b}.icon-button{background:#24412e;border-radius:50%;transition:background 180ms}.search-open{border-radius:1.4rem}
.card{background:linear-gradient(145deg,#243d2e55,transparent 65%),var(--card);border-radius:2.6rem;padding:2.5rem;box-shadow:inset 0 1px #d5e9b410,0 1rem 3.5rem -2rem #07160ec9}
.card-head{margin-bottom:1.8rem}.card-head h2{font-size:1.8rem;font-weight:650}.card-head p{color:#a5bba0;font-size:1.2rem;margin-top:.45rem}
.btn{border-radius:1.4rem;transition:background 180ms,transform 180ms,box-shadow 180ms;box-shadow:inset 0 1px #ffffff08}.btn.primary{background:#d3e7a6;color:#223a27;box-shadow:0 .5rem 1.6rem -1rem #afcf79aa}.btn.subtle{background:#2d4935;color:#e6eed3}.btn:is(:hover,[data-ph-hover]){transform:translateY(-1px);filter:brightness(1.07)}.btn:active{transform:translateY(0)}.text-button{font-weight:600}
.pill{border-radius:2rem;font-size:1.05rem;padding:.6rem .95rem;background:#304b32;color:#d0e4ae}.pill.warn{background:#51462f;color:#eed2a6}
.overview{grid-template-columns:minmax(0,1.85fr) minmax(32rem,1fr);gap:2rem;align-items:stretch}
.production-card{padding:2.3rem 2.4rem 0;background:linear-gradient(145deg,#29433133,transparent 60%),#1a3226;min-width:0;overflow:visible}
.production-card>.card-head{align-items:center;margin-bottom:1.3rem}.production-summary{display:flex;gap:2.8rem;text-align:right}.production-summary strong{font-size:2.8rem;font-weight:500;letter-spacing:-.045em;line-height:1.1}.production-summary small{display:block;font-size:1.05rem;font-weight:500;letter-spacing:0;margin-top:.55rem;color:#b4c6a7}
.house-controls{display:flex;align-items:center;gap:.7rem;background:#10261c88;border-radius:1.5rem;padding:.4rem;width:fit-content;max-width:100%;position:relative;z-index:2}
.house-controls button{display:flex;align-items:center;justify-content:center;gap:.7rem;min-height:44px;border:0;background:none;border-radius:1.15rem;color:#abc1a4;padding:.65rem 1.35rem;font-size:1.15rem;transition:background 180ms,color 180ms}.house-controls button small{font-size:1rem;color:inherit;opacity:.8}.house-controls button[aria-pressed=true]{background:#d8e6bc;color:#2b432d;box-shadow:0 2px 8px #08170c25}.house-controls button:is(:hover,[data-ph-hover]){background:#35533a;color:#edf2da}.house-controls button[aria-pressed=true]:is(:hover,[data-ph-hover]){background:#e4eed0;color:#263c28}
.plan-stage{position:relative;width:min(100%,70rem);aspect-ratio:1.5;margin:-1.1rem auto 0;isolation:isolate}.plan-stage::before{content:'';position:absolute;inset:13% 9% 7%;background:radial-gradient(ellipse,#b4d69a12,transparent 72%);z-index:-1}.plan-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 2rem 1.8rem #07170b66)}
.plan-markers{position:absolute;inset:0}.plan-markers .house{display:contents;background:none;border:0;border-radius:0;padding:0;margin:0;box-shadow:none}
.bed-marker{position:absolute;left:var(--x);top:var(--y);width:4.6rem;height:4.6rem;min-width:44px;min-height:44px;transform:translate(-50%,-50%);display:grid;place-items:center;border:0;background:transparent;padding:0;border-radius:50%;transition:filter 180ms;isolation:isolate}
.bed-marker span{width:3.1rem;height:3.1rem;min-width:29px;min-height:29px;border-radius:50%;display:grid;place-items:center;background:#1b3429ed;border:1px solid #d7e9bfcc;color:#edf3dc;font-size:1.1rem;font-weight:750;box-shadow:0 3px 9px #071a0b77;transition:background 180ms,box-shadow 180ms}
.bed-marker.growing span{background:#24392cd9;color:#d7e1cb;border-color:#9caf8b}.bed-marker[aria-pressed=true] span{background:#deefb7;color:#243b25;border-color:#edf5d3;box-shadow:0 0 0 .5rem #cfeba333,0 4px 13px #102a17aa}.bed-marker:is(:hover,[data-ph-hover]) span{background:#e8f1cf;color:#203524;box-shadow:0 0 0 .45rem #e5f2c022,0 4px 13px #102a17aa}
.plan-caption{position:absolute;left:0;right:0;bottom:.7rem;display:flex;align-items:center;gap:1.5rem;font-size:1.05rem;color:#a7bda2;pointer-events:none}.plan-caption>span{display:flex;align-items:center;gap:.55rem}.plan-caption i{width:.6rem;height:.6rem;border-radius:50%;background:#d3e7a6}.plan-caption i.growing{background:#759267}.plan-caption small{margin-left:auto;font-size:1rem;color:#8ca688}
.selected-batch{display:flex;align-items:center;gap:1.35rem;background:#12291dcc;margin:0 -2.4rem;padding:1.65rem 2.4rem;border-radius:0 0 2.6rem 2.6rem;min-height:8.5rem;box-shadow:inset 0 1px #d6eab415}.selected-batch>img{width:5.9rem;height:5.9rem;object-fit:cover;border-radius:1.3rem;filter:saturate(.85)}.selected-name{min-width:0}.selected-name small{display:block;color:#9db697;font-size:1rem}.selected-name h3{font-size:1.55rem;font-weight:650;margin:.3rem 0}.selected-name>span{font-size:1.05rem;color:#b7c9ac}.selected-batch>.btn{margin-left:auto;font-size:1.15rem;padding:.8rem 1.25rem;flex-shrink:0}.growth-progress{min-width:10rem;margin-left:auto}.growth-progress>span{display:block;font-size:1rem;color:#a7be9d;margin-bottom:.7rem}.progress{height:.4rem;background:#3c563d}.progress i{background:#bed795;transition:width 180ms}
.operations-panel{display:flex;flex-direction:column;background:linear-gradient(160deg,#304a3455,#1f3929 62%);border-radius:2.6rem;box-shadow:inset 0 1px #dae9bc15,0 1rem 4rem -2.2rem #07160ecc;min-width:0}
.priority{background:transparent;color:var(--ink);padding:2.5rem 2.6rem 2rem;min-height:0;border-radius:0;box-shadow:none;display:block}.priority .card-head{margin-bottom:1.6rem}.priority h2{font-size:1.55rem;font-weight:600}.priority .card-head p{font-size:1.1rem;color:#a6bca0}.priority .pill{background:#51472e;color:#efdaa9}.priority .big{font-size:7.2rem;line-height:.96;font-weight:450;letter-spacing:-.06em;color:#e3efc6}.priority .big-unit{font-size:1.45rem;font-weight:500;color:#bed0af;margin-left:1rem}.priority .lead{font-size:2rem;font-weight:600;line-height:1.3;max-width:31rem;margin-top:1.1rem}.priority .support{color:#b2c5a8;font-size:1.2rem;line-height:1.7;margin-top:1rem;max-width:34rem}.priority .priority-foot{margin-top:1.7rem}.priority .progress{background:#4b6142;margin:1rem 0 .7rem}.priority .progress i{background:#c9dfa4}.priority .order-mini{color:#afc2a4;font-size:1.05rem}.priority .btn.primary{background:#d3e7a6;color:#203822;margin-top:1.4rem;border-radius:1.35rem}.priority small,.priority .muted{color:#a6bca0}
.order-sequence{margin-top:auto;padding:1.8rem 2.6rem 1.7rem;background:#152e2255;border-radius:0 0 2.6rem 2.6rem;box-shadow:inset 0 1px #cfdfb310}.sequence-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.15rem}.sequence-head h3{font-size:1.2rem;font-weight:650}.sequence-head>span{font-size:1rem;color:#9fb695}.sequence-row{display:flex;align-items:center;gap:1.15rem;padding:1.1rem 0;border-top:1px solid #8ba77a17}.sequence-row:first-of-type{border-top:0}.ordinal{width:2.8rem;height:2.8rem;display:grid;place-items:center;border:1px solid #6f8c5f66;border-radius:50%;font-size:.95rem;color:#c3d7af;flex-shrink:0}.ordinal svg{width:1.4rem;height:1.4rem}.sequence-row>div{flex:1}.sequence-row strong{display:flex;align-items:center;gap:1rem;font-size:1.1rem;font-weight:650}.sequence-row strong small{color:#c1d1b7;font-size:1.05rem;font-weight:400}.sequence-row>div>span{display:block;color:#94ad8a;font-size:1.05rem;margin-top:.3rem}.sequence-row time{font-size:1.05rem;color:#b3c7a7}.sequence-row.completed .ordinal{background:#344d31;border-color:transparent}
.climate-card{grid-column:1/-1;min-height:0;padding:2.2rem 2.5rem 1.6rem;background:linear-gradient(130deg,#243e2c66,transparent 70%),#172f23}.climate-card .card-head{align-items:center;margin-bottom:.6rem}.climate-controls{display:flex;align-items:center;gap:1.1rem}.segments{border-radius:1.2rem;background:#0d251a66;padding:.35rem}.segments button{border-radius:.9rem;min-height:44px;padding:.5rem 1.1rem;font-size:1.05rem;transition:background 160ms,color 160ms}.segments button[aria-pressed=true]{background:#3b573b;color:#edf3da}
.climate-content{display:grid;grid-template-columns:20rem minmax(0,1fr);align-items:center;gap:2.7rem}.climate-card .summary-row{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem 1.1rem;margin:0}.climate-card .summary-row>div:first-child{grid-column:1/-1}.climate-card .summary-row strong{font-size:2.4rem;font-weight:500;line-height:1.1}.climate-card .summary-row strong[data-live-summary]{font-size:4.25rem;letter-spacing:-.055em}.climate-card .summary-row strong small{font-size:1.65rem;font-weight:500;color:#c8d7bb;letter-spacing:0}.climate-card .summary-row span{font-size:1rem;color:#a4b99a;margin-top:.55rem}.chart-column{min-width:0}.chart-legend{display:flex;justify-content:flex-start;align-items:center;gap:2rem;color:#b2c5a6;font-size:1rem;padding:1rem 0 .5rem 5.6%}.chart-legend>span{display:flex;align-items:center;gap:.6rem}.chart-legend i{display:block;width:1.4rem;height:.2rem;background:#d3e7a6}.chart-legend i.band{height:.8rem;background:#8faa5d44;border:1px solid #aec47944;border-radius:.2rem}.chart-legend .chart-hint{margin-left:auto;color:#8fa987;font-size:.95rem}
.chart{height:17rem;margin:0;position:relative;border-radius:1rem;outline-offset:5px}.chart svg{width:100%;height:100%;margin:0;display:block;overflow:visible}.chart-grid line{stroke:#738f6233;stroke-width:1;vector-effect:non-scaling-stroke}.target-band{fill:#afca7130;stroke:none}.chart .line{stroke:#d1e4a5;stroke-width:2.3;fill:none;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.chart .area{fill:url(#chart-fill)}.latest-point{fill:#e6f0c9;stroke:#45663b;stroke-width:2;vector-effect:non-scaling-stroke}.crosshair line{stroke:#e1edc0;stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}.crosshair circle{fill:#e4efbf;stroke:#234629;stroke-width:2;vector-effect:non-scaling-stroke}.chart-y span{position:absolute;left:0;transform:translateY(-50%);font-size:1rem;color:#a2b998}.chart-x span{position:absolute;top:94%;transform:translateX(-50%);font-size:.95rem;color:#92ad88}.chart-x .first{transform:none}.chart-x .last{transform:translateX(-100%)}
.chart-tip{position:absolute;top:1.5rem;right:auto;transform:translateX(-50%);padding:1.1rem 1.3rem;border-radius:1.2rem;background:#e7edd4;box-shadow:0 .8rem 3rem #0b1f1399;color:#243a25;font-size:1.2rem;line-height:1.5;z-index:3;min-width:16rem}.chart-tip small{display:block;color:#57704c;font-size:1rem}.chart-tip strong{display:block;font-weight:750;white-space:nowrap}.chart-tip>span{display:block;color:#58704c;font-size:.95rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip:rect(0,0,0,0);clip-path:inset(50%);overflow:hidden;white-space:nowrap;border:0}
.climate-large{padding:2.8rem}.climate-large .climate-content{grid-template-columns:23rem minmax(0,1fr);gap:4rem}.climate-large .chart{height:33rem;margin:1rem 0}.climate-large .summary-row{gap:3rem 1.7rem}.climate-large .summary-row strong[data-live-summary]{font-size:5.8rem}.climate-large .summary-row strong{font-size:3rem}.climate-large .chart-legend{padding-top:2.4rem}.production-full .plan-stage{max-width:90rem}.production-full .selected-batch{padding-left:2.8rem;padding-right:2.8rem}.production-full .growth-progress{max-width:18rem;width:18rem}
.alarm-card{background:#263625;padding:2rem 2.5rem}.alarm{background:none;padding:0;gap:2rem}.alarm>div{display:flex;align-items:center;gap:1.5rem}.alarm-symbol{display:grid;place-items:center;width:3.6rem;height:3.6rem;background:#54472b;border-radius:50%;font-size:1.9rem;color:#edcc8d}.alarm h3{font-size:1.5rem}.alarm p{font-size:1.2rem;color:#c0c7a4}.alarm-card .help-copy{margin-bottom:0;margin-left:5.1rem;color:#a4b29b;font-size:1.1rem}
.workspace{gap:2.2rem}.table th{font-size:1.1rem;color:#93b08b;padding-bottom:1.6rem}.table td{padding:1.8rem 1.1rem;border-color:#84a67621}.table tbody tr{transition:background 160ms}.table tbody tr:hover{background:#83a76b0a}.table td strong{font-size:1.4rem;font-weight:600}.task{border-radius:1.8rem;background:#29453099;padding:1.8rem}.role-card{background:#213b2b;border-radius:2rem}.role-card .task{background:#132c20}.journal-item{border-color:#79986722;padding:1.9rem .3rem}.receipt{background:#e4ead5;border-radius:2rem;padding:2.5rem;box-shadow:0 .8rem 3rem #0b1f1522}.receipt .kv{border-color:#617c4b33}.receipt .btn{border-radius:1.25rem}
dialog{background:linear-gradient(145deg,#2c4934,#183426 80%);border:1px solid #b4cb912b;border-radius:2.8rem;padding:2.8rem;box-shadow:0 3rem 10rem #05130dcc,inset 0 1px #e2ecc920}dialog[open]{animation:dialog-arrive 260ms cubic-bezier(.22,1,.36,1)}dialog::backdrop{background:#06170fba;backdrop-filter:blur(5px)}.dialog-head h2{font-weight:600;letter-spacing:-.03em}.dialog-head p{color:#9eb895}.dialog-note{border-radius:1.4rem;background:#3a543480;color:#dce8c4}.field input,.field select,.field textarea{background:#10291d;border:1px solid #779a5b55;border-radius:1.4rem;transition:border-color 180ms,box-shadow 180ms}.field input:focus,.field select:focus,.field textarea:focus{border-color:#bdd694;box-shadow:0 0 0 3px #c4dfa413}.check-row{background:#2b4b3299;border:1px solid #6c905344;border-radius:1.4rem;padding:1.6rem;transition:background 180ms,border-color 180ms}.check-row:has(input:checked){background:#3f5a35aa;border-color:#b1cd86}.steps{font-size:1.1rem;gap:.9rem}.dialog-actions{gap:1rem}.detail-photo{height:19rem;border-radius:1.7rem;filter:saturate(.86)}.main-foot{color:#8ba284;font-size:1rem;padding-top:1.6rem}.entry{animation:craft-arrive 360ms cubic-bezier(.22,1,.36,1) both}@keyframes craft-arrive{from{opacity:.82;transform:translateY(.55rem)}to{opacity:1;transform:none}}@keyframes dialog-arrive{from{opacity:.75;transform:translateY(.8rem) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:1180px){html:not(.ph-frame) .overview{grid-template-columns:minmax(0,1.45fr) minmax(31rem,1fr)}html:not(.ph-frame) .production-card{padding:2rem 1.8rem 0}html:not(.ph-frame) .production-card>.card-head{align-items:flex-start}html:not(.ph-frame) .production-summary{gap:1.5rem}html:not(.ph-frame) .production-summary strong{font-size:2.5rem}html:not(.ph-frame) .production-summary strong:nth-child(2){display:none}html:not(.ph-frame) .selected-batch{margin-left:-1.8rem;margin-right:-1.8rem;padding:1.4rem 1.8rem;gap:1rem;flex-wrap:wrap}html:not(.ph-frame) .growth-progress{display:none}html:not(.ph-frame) .selected-batch>.btn{font-size:1.05rem}html:not(.ph-frame) .house-controls{gap:.25rem}html:not(.ph-frame) .house-controls button{padding:.6rem .8rem}html:not(.ph-frame) .house-controls button small{display:none}html:not(.ph-frame) .priority{padding:2.2rem}html:not(.ph-frame) .order-sequence{padding:1.6rem 2.2rem}html:not(.ph-frame) .climate-content{grid-template-columns:16rem minmax(0,1fr);gap:1.8rem}html:not(.ph-frame) .climate-controls{gap:.6rem}html:not(.ph-frame) .chart-legend .chart-hint{display:none}html:not(.ph-frame) .climate-large .climate-content{grid-template-columns:18rem minmax(0,1fr)}html:not(.ph-frame) .climate-large .chart{height:28rem}}
@media(max-width:820px){html:not(.ph-frame) .sidebar{padding:1.6rem 2rem 0}html:not(.ph-frame) .main{padding:1.8rem 2rem 1rem}html:not(.ph-frame) .top h1{font-size:2.45rem}html:not(.ph-frame) .nav{background:#142f22;box-shadow:0 -1px #64855544}html:not(.ph-frame) .nav button[aria-current]{box-shadow:none;background:#355034;color:#e6f1c7}html:not(.ph-frame) .overview{display:flex;flex-direction:column;gap:1.8rem}html:not(.ph-frame) .operations-panel{order:-1;border-radius:2.6rem}html:not(.ph-frame) .priority{padding:2.3rem 2.3rem 1.7rem;order:initial}html:not(.ph-frame) .priority .big{font-size:6.7rem}html:not(.ph-frame) .priority .lead{font-size:2.05rem}html:not(.ph-frame) .priority .card-head{margin-bottom:1.5rem}html:not(.ph-frame) .priority .support{font-size:1.25rem}html:not(.ph-frame) .priority .btn.primary{margin-top:1.4rem;min-height:46px}html:not(.ph-frame) .order-sequence{padding:1.6rem 2.3rem 1.1rem}html:not(.ph-frame) .sequence-row{padding:.95rem 0}html:not(.ph-frame) .sequence-row strong{font-size:1.15rem}html:not(.ph-frame) .sequence-row>div>span{font-size:1.05rem}html:not(.ph-frame) .ordinal{min-width:2.8rem}html:not(.ph-frame) .production-card{padding:2rem 1.7rem 0}html:not(.ph-frame) .production-card>.card-head{display:block;margin-bottom:1.4rem}html:not(.ph-frame) .production-summary{display:flex;text-align:left;margin-top:1.7rem;gap:3rem}html:not(.ph-frame) .production-summary strong:nth-child(2){display:block}html:not(.ph-frame) .production-summary small{font-size:1.1rem}html:not(.ph-frame) .house-controls{width:100%;justify-content:space-between}html:not(.ph-frame) .house-controls button{flex:1;font-size:1.1rem;white-space:nowrap}html:not(.ph-frame) .plan-stage{margin-top:.2rem;min-height:25rem;width:100%;aspect-ratio:1.5}html:not(.ph-frame) .bed-marker span{font-size:1.05rem}html:not(.ph-frame) .plan-caption{bottom:.2rem;font-size:.95rem;gap:1.3rem}html:not(.ph-frame) .plan-caption small{font-size:.9rem}html:not(.ph-frame) .selected-batch{margin:0 -1.7rem;padding:1.5rem 1.7rem;gap:1rem;display:grid;grid-template-columns:5rem 1fr}html:not(.ph-frame) .selected-batch>img{width:5rem;height:5rem}html:not(.ph-frame) .selected-batch>.btn{grid-column:2;margin:0;justify-self:start;padding:.8rem 1.2rem}html:not(.ph-frame) .selected-name small{font-size:1rem}html:not(.ph-frame) .selected-name>span{font-size:1.1rem}html:not(.ph-frame) .climate-card{padding:2.2rem 1.8rem 2rem}html:not(.ph-frame) .climate-card .card-head{display:block}html:not(.ph-frame) .climate-controls{margin-top:1.5rem;gap:.8rem;justify-content:space-between;flex-wrap:wrap}html:not(.ph-frame) .segments button{padding:.5rem .85rem;font-size:1.1rem}html:not(.ph-frame) .climate-content,html:not(.ph-frame) .climate-large .climate-content{display:block}html:not(.ph-frame) .climate-card .summary-row{display:flex;justify-content:space-between;gap:1rem;margin:2.2rem 0 1rem;align-items:flex-end}html:not(.ph-frame) .climate-card .summary-row>div:first-child{flex:1}html:not(.ph-frame) .climate-card .summary-row strong[data-live-summary]{font-size:3.8rem}html:not(.ph-frame) .climate-card .summary-row strong{font-size:2.25rem}html:not(.ph-frame) .climate-card .summary-row span{font-size:.95rem;max-width:12rem;line-height:1.45}html:not(.ph-frame) .climate-card .summary-row strong small{font-size:1.3rem}html:not(.ph-frame) .chart,html:not(.ph-frame) .climate-large .chart{height:22rem;margin:.8rem 0 0}html:not(.ph-frame) .chart-legend,html:not(.ph-frame) .climate-large .chart-legend{padding:1.2rem 0 0 5.6%;gap:1.4rem;font-size:.95rem}html:not(.ph-frame) .chart-y span{font-size:.95rem}html:not(.ph-frame) .chart-x span{font-size:.95rem}html:not(.ph-frame) .chart-tip{font-size:1.15rem;min-width:15rem;top:1rem}html:not(.ph-frame) .alarm-card{padding:2rem}html:not(.ph-frame) .alarm>div{align-items:flex-start}html:not(.ph-frame) .alarm-symbol{flex-shrink:0}html:not(.ph-frame) .alarm h3{font-size:1.45rem}html:not(.ph-frame) .alarm-card .help-copy{margin-left:0}html:not(.ph-frame) .table tr{border-radius:1.8rem;background:#26432f}html:not(.ph-frame) dialog{padding:2.2rem;border-radius:2.5rem}html:not(.ph-frame) .steps{font-size:1.05rem;gap:.6rem}html:not(.ph-frame) .steps i{width:1.3rem}html:not(.ph-frame) .dialog-head h2{font-size:2.1rem}html:not(.ph-frame) .receipt{padding:2.1rem}html:not(.ph-frame) .check-row{padding:1.4rem}html:not(.ph-frame) .detail-photo{height:17rem}}
.production-body{display:grid;grid-template-columns:minmax(0,1fr) 15rem;gap:1.7rem;align-items:center;padding:.4rem 0 2rem}
.production-body .plan-stage{width:100%;margin:0 auto;max-width:60rem}
.plan-image{clip-path:none}
.plan-selection{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.plan-selection rect{fill:#d6ed9a10;stroke:#dfefb4;stroke-width:1.7;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 4px #c3e38c55)}
.production-body .selected-batch{margin:0;padding:1.6rem 0 1.6rem 1.6rem;display:flex;flex-direction:column;align-items:flex-start;background:none;border-radius:0;box-shadow:none;border-left:1px solid #8ca3732b;gap:1.1rem}
.production-body .selected-batch>img{width:100%;height:8rem;object-fit:cover;border-radius:1.3rem}.production-body .selected-name small{line-height:1.55}.production-body .selected-name h3{margin:.55rem 0;font-size:1.65rem}.production-body .selected-name>span{display:block;line-height:1.5}.production-body .growth-progress{margin:0;min-width:0;width:100%}.production-body .selected-batch>.btn{margin:.4rem 0 0;padding:.75rem 1rem;font-size:1.05rem;width:100%}.production-body .selected-batch>.btn svg{width:1.6rem;height:1.6rem}
.production-full .production-body{grid-template-columns:minmax(0,1fr) 23rem;gap:3rem}.production-full .production-body .plan-stage{max-width:90rem}.production-full .production-body .selected-batch{padding:2.5rem}.production-full .production-body .selected-batch>img{height:13rem}.production-full .production-body .selected-name h3{font-size:2rem}.production-full .production-body .growth-progress{display:block;width:100%}
@media(max-width:1180px){html:not(.ph-frame) .production-body{display:block;padding-bottom:0}html:not(.ph-frame) .production-body .plan-stage{max-width:60rem}html:not(.ph-frame) .production-body .selected-batch{display:grid;grid-template-columns:4.8rem 1fr auto;align-items:center;border:0;background:#12291dbb;border-radius:0 0 2.6rem 2.6rem;margin:0 -1.8rem;padding:1.5rem 1.8rem;gap:1rem}html:not(.ph-frame) .production-body .selected-batch>img{width:4.8rem;height:4.8rem}html:not(.ph-frame) .production-body .selected-batch>.btn{width:auto}html:not(.ph-frame) .production-body .selected-name h3{font-size:1.5rem;margin:.2rem 0}html:not(.ph-frame) .production-body .selected-name>span{font-size:1rem}html:not(.ph-frame) .production-body .selected-name small{font-size:.95rem}html:not(.ph-frame) .production-full .production-body .growth-progress{display:none}}
@media(max-width:820px){html:not(.ph-frame) .production-body .selected-batch{grid-template-columns:5rem 1fr;margin:0 -1.7rem;padding:1.5rem 1.7rem}html:not(.ph-frame) .production-body .selected-batch>.btn{grid-column:2;justify-self:start}html:not(.ph-frame) .production-body .plan-stage{min-height:25rem}html:not(.ph-frame) .production-body .selected-batch>img{width:5rem;height:5rem}html:not(.ph-frame) .production-body .selected-name small{font-size:1rem}html:not(.ph-frame) .production-body .selected-name>span{font-size:1.1rem}}
.order-sequence{padding-top:1.3rem;padding-bottom:1.3rem}.sequence-head{list-style:none;cursor:pointer;min-height:44px;margin-bottom:.6rem}.sequence-head::-webkit-details-marker{display:none}.sequence-head>strong{font-size:1.2rem;font-weight:650}.sequence-head>span{display:flex;align-items:center;gap:.7rem}.sequence-head svg{width:1.4rem;height:1.4rem;fill:none;stroke:currentColor;stroke-width:1.6;transform:rotate(90deg);transition:transform 160ms}.order-sequence:not([open]) .sequence-head svg{transform:none}.sequence-row{padding:.7rem 0}.sequence-head:focus-visible{outline:2px solid #e7f9bd;outline-offset:3px;border-radius:.5rem}.target-band{fill:#afca7115}.latest-point,.crosshair path{fill:none;stroke:#e4efbf;stroke-width:7;stroke-linecap:round;vector-effect:non-scaling-stroke}
@media(max-width:820px){html:not(.ph-frame) .order-sequence{padding:1rem 2.3rem}.order-sequence:not([open]) .sequence-head{margin-bottom:0}html:not(.ph-frame) .sequence-row{padding:.7rem 0}html:not(.ph-frame) .production-card>.card-head p{display:none}html:not(.ph-frame) .production-summary{margin-top:1.3rem}html:not(.ph-frame) .production-body .plan-stage{min-height:25rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Reading sizes follow the physical viewport. The demo frame keeps its fixed composition. */
html:not(.ph-frame) #app{font-size:max(14px,1.5rem)}
html:not(.ph-frame) #app :is(.date,.demo-label,.main-foot,.card-head p,.production-summary small,.house-controls button small,.selected-name small,.sequence-head>span,.sequence-row strong small,.ordinal,.plan-caption,.plan-caption small,.summary-row span,.chart-x span,.chart-y span,.chart-legend,.chart-legend .chart-hint,.chart-tip small,.chart-tip>span,.table th,.table td small,.task small,.field small,.dialog-head p,.steps,.receipt small,.pill,.sidebar-foot small,.role-avatar,kbd,.role-card>small,.result-list button small){font-size:max(12px,1.05rem)}
html:not(.ph-frame) #app :is(.btn,.text-button,.house-controls button,.segments button,.selected-name>span,.growth-progress>span,.priority .support,.priority .order-mini,.sequence-head>strong,.sequence-row strong,.sequence-row>div>span,.sequence-row time,.chart-tip,.table td,.table td strong,.task time,.journal-item,.journal-item time,.journal-item .kind,.field,.check-row,.error,.dialog-note,.help-copy,.alarm p,.kv,.result-list button,.more-list button){font-size:max(14px,1.2rem)}
html:not(.ph-frame) #app :is(.field input,.field select,.field textarea,.search-field input,#global-query){font-size:16px}
html:not(.ph-frame) #app .bed-marker span{font-size:12px}
html:not(.ph-frame) #app .summary-row span{max-width:none}
html:not(.ph-frame) #app .chart-hint{line-height:1.4}
html:not(.ph-frame) #app .chart-legend{flex-wrap:wrap;row-gap:.6rem}
@media(min-width:1181px){html:not(.ph-frame) #app .nav button{font-size:max(14px,1.35rem)}}
@media(max-width:820px){html:not(.ph-frame) #app .nav button{font-size:12px}html:not(.ph-frame) #app .summary-row>div:first-child{min-width:0}html:not(.ph-frame) #app .summary-row span{max-width:none}html:not(.ph-frame) #app .sequence-row strong{flex-wrap:wrap;column-gap:.8rem;row-gap:0}html:not(.ph-frame) #app .chart-tip{min-width:15rem}}

@media(max-width:1180px){html:not(.ph-frame) .production-body .selected-batch.without-photo .selected-name{grid-column:1/3}}
@media(max-width:820px){html:not(.ph-frame) .production-body .selected-batch.without-photo .selected-name{grid-column:1/-1}html:not(.ph-frame) .production-body .selected-batch.without-photo>.btn{grid-column:1/-1}}

html:not(.ph-frame) #app :is(.card-head h2,.alarm h3){font-size:max(16px,1.8rem)}
