@charset "UTF-8";
.fs-work{min-width:0;margin-top:1rem}
.fs-work .fs-checks{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem 1.1rem;margin:.5rem 1rem .8rem;padding:.25rem 0}
.fs-checks label{display:flex;gap:.35rem;align-items:center}.fs-checks legend{font-weight:650;color:var(--rail);margin-bottom:.25rem}
.fs-compare{margin:.25rem 0 .6rem}.fs-compare>summary{padding:.4rem 1rem}
.fs-work .fs-compare .fs-checks{max-height:14rem;overflow:auto}
.fs-work .fb-point{width:15px;height:15px;border-radius:2px;transform:translateY(6px) rotate(45deg)}.fb-point .fb-text{display:none}
.fs-work .fb-comparison{background:repeating-linear-gradient(135deg,var(--tile-color) 0 5px,#374d46 5px 7px);border:1px dashed #fff}
.fs-dept-links{display:flex;gap:1rem;margin:.5rem 0 1rem;flex-wrap:wrap}
.fs-toolbar,.fs-actions,.fs-controls,.fs-legend,.fs-card>header,.fs-board-card>header{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.fs-toolbar,.fs-card>header,.fs-board-card>header{justify-content:space-between}
.fs-toolbar{margin:.8rem 0}.fs-feedback:not(:empty){padding:.65rem .85rem;border-left:3px solid var(--green);background:var(--light);border-radius:.2rem;margin:.7rem 0}.fs-feedback:empty{display:none}
.fs-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}
.fs-stats>div{padding:.7rem .85rem;background:white;border:1px solid var(--line);border-radius:.65rem;display:grid;gap:.15rem}
.fs-stats span,.fs-pick small,.fs-end{font-size:.81rem;color:var(--muted)}
.fs-stats strong{font-size:1.06rem;line-height:1.3;font-variant-numeric:tabular-nums}
.fs-board-card>header,.fs-card>header{padding:.8rem 1rem;border-bottom:1px solid var(--line)}
.fs-work h2{font-size:1.05rem;margin:0}.fs-controls{align-items:end}
.fs-controls label,.fs-fields label,.fs-edge label{display:grid;gap:.25rem;min-width:0}
.fs-work .fs-controls select{width:auto;max-width:100%}
.fs-work .fs-board-card{overflow:hidden}
.fs-legend{padding:.45rem 1rem .8rem;column-gap:.95rem;row-gap:.25rem}
.fs-legend span{display:inline-flex;align-items:center;gap:.36rem;font-size:.8rem;color:var(--muted)}
.fs-swatch{display:inline-block;flex:none;width:.63rem;height:.63rem;border-radius:.2rem;background:#657c6c}
.fs-detail-grid{display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:1rem;align-items:start;margin:1rem 0}
.fs-detail-grid .fs-card{margin:0;min-width:0}
.fs-sequence{display:grid;padding:.55rem;gap:.28rem}
.fs-process-row{display:flex;align-items:center;gap:.25rem;min-width:0;padding:.18rem;border:1px solid transparent;border-radius:.45rem}
.fs-process-row.is-selected{border-color:#9bb9a3;background:#eff5ef}
.fs-process-row .fs-pick{display:flex;flex:1;align-items:center;min-width:0;gap:.5rem;text-align:left;padding:.4rem;border:0;background:transparent;color:var(--rail);font-weight:610}
.fs-pick span{overflow-wrap:anywhere}.fs-pick small{margin-left:auto;font-weight:450;white-space:nowrap}
.fs-process-group{margin:.6rem .3rem .1rem;font-size:.95rem}.fs-process-group small{color:var(--muted);font-weight:450}
.fs-sequence-grouped .fs-pick{flex-wrap:wrap}.fs-sequence-grouped .fs-pick small{white-space:normal}
.fs-work .fs-process-row .secondary{padding:.15rem .4rem;min-width:1.8rem;min-height:1.9rem}
.fs-editor{padding:1rem;min-width:0}
.fs-work fieldset{border:0;margin:0;padding:0;min-width:0;max-height:none;overflow:visible}
.fs-fields,.fs-edge{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem .7rem}
.fs-fields input,.fs-fields select,.fs-edge select,.fs-edge input{min-width:0}
.fs-editor textarea{display:block;width:100%;min-height:4.5rem;margin:.3rem 0 .7rem;padding:.55rem;border:1px solid #aebfb1;border-radius:.42rem;font:inherit;resize:vertical}
.fs-end{margin:.7rem 0}.fs-empty{color:var(--muted);margin:.5rem}.fs-edge{padding:.7rem 0;border-top:1px solid var(--line);align-items:end}
.fs-work details>summary{cursor:pointer;color:var(--rail);font-weight:600}
.fs-editor details{margin:.8rem 0}.fs-editor details[open]>summary{margin-bottom:.65rem}
.fs-work .fs-fold{margin:.65rem 0;border:1px solid var(--line);background:white;border-radius:.6rem;overflow:hidden}
.fs-fold>summary{padding:.65rem .9rem}.fs-fold ul{padding-inline-start:2.05rem}.fs-issues>summary{color:#70431e!important}
.fs-work .fs-execution{border-top:1px solid var(--line);padding-top:.75rem;margin-bottom:0}.fs-execution .fs-fields{margin-bottom:.6rem}
@media(max-width:1100px){.fs-detail-grid{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr)}.fs-board-card>header{align-items:flex-start}}
@media(max-width:900px){.fs-detail-grid{grid-template-columns:1fr}}
@media(max-width:690px){.fs-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fs-toolbar{align-items:flex-start}.fs-board-card>header,.fs-card>header,.fs-editor{padding:.7rem}.fs-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.fs-work .fs-controls select{width:100%}.fs-fields{column-gap:.45rem}.fs-stats strong{font-size:.94rem}.fs-legend{padding:.4rem .7rem .6rem}}
@media(max-width:410px){.fs-fields,.fs-edge{grid-template-columns:1fr}.fs-controls button{font-size:.83rem}}
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#182d28;background:#f4f6f3;font-size:16px;line-height:1.5;--rail:#173c30;--green:#205e47;--line:#d5dfd7;--muted:#52655d;--light:#eef4ee;--paper:#fff}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:var(--green)}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d48b32;outline-offset:3px}.skip{position:fixed;left:1rem;top:-5rem;z-index:5;background:#fff;padding:.6rem 1rem}.skip:focus{top:1rem}
.rail{width:15.25rem;background:var(--rail);color:#fff;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:2rem 1.1rem 1.25rem;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#83a493 var(--rail);z-index:2}
.brand{display:flex;align-items:center;gap:.85rem;color:#fff;text-decoration:none;margin:0 .75rem 2.25rem;flex:none}.brand>span{display:flex;align-items:baseline;gap:.5rem}.brand strong{font-size:1.7rem;letter-spacing:-.06em;line-height:1}.brand small{font-size:.96rem;font-weight:500;color:#e1eee4}.brand-mark{width:2.35rem;height:2.35rem;border:1px solid #b4d6ac;border-radius:.58rem;display:flex;align-items:center;justify-content:center;gap:2px;transform:rotate(0)}.brand-mark i{display:block;width:3px;height:.8rem;background:#c3e39e;border-radius:2px;transform:skewY(-28deg)}.brand-mark i:nth-child(2){height:1.22rem}.brand-mark i:nth-child(3){height:.96rem}
.rail .menu-group + .menu-group{margin-top:1.65rem}
.rail nav h2{margin:0 .85rem .45rem;color:#b3c9ba;font-size:.77rem;line-height:1.5;font-weight:650;letter-spacing:.08em;text-transform:uppercase}
.rail nav a{display:flex;align-items:center;gap:.75rem;margin:.12rem 0;padding:.65rem .85rem;border-radius:.5rem;color:#ebf3ee;font-size:.94rem;font-weight:550;text-decoration:none;overflow-wrap:anywhere}
.rail nav a:hover{background:#254b3e}
.rail nav a[aria-current="page"]{color:#fff;background:#315947;box-shadow:inset 3px 0 #b8d992}
.rail nav > a:first-of-type{margin-top:1.65rem}
.rail nav #doc{font-size:.87rem;font-weight:450;color:#d1dfd4}
.rail-footer{margin:auto .7rem 0;padding-top:2rem;display:grid;gap:.1rem;overflow-wrap:anywhere}
.rail-footer b{font-size:.9rem}
.rail-footer span{font-size:.8rem;color:#c3d5c9}
.rail .icon{display:inline-block;width:1.1rem;height:1.1rem;flex:none;position:relative;color:currentColor}.rail .icon:before,.rail .icon:after{content:"";position:absolute}.rail .grid:before{inset:1px;border:1.4px solid;border-radius:2px;background:linear-gradient(90deg,transparent 43%,currentColor 43% 52%,transparent 52%),linear-gradient(transparent 43%,currentColor 43% 52%,transparent 52%)}.rail .cycle:before{inset:1px;border:1.5px solid;border-radius:50%}.rail .cycle:after{inset:4px 6px 6px 4px;border-right:1px solid;border-bottom:1px solid}.rail .book:before{inset:1px 2px;border:1.5px solid;border-radius:2px}.rail .book:after{left:5px;top:3px;bottom:3px;border-left:1px solid}.rail .people:before{inset:0 5px 8px;border:1.5px solid;border-radius:50%}.rail .people:after{inset:10px 1px 0;border:1.5px solid;border-radius:8px 8px 2px 2px}.rail .layers:before{inset:2px 1px 6px;border:1.5px solid;border-radius:50%}.rail .layers:after{inset:6px 1px 1px;border:1.5px solid;border-top:0;border-radius:0 0 50% 50%}
.rail .calendar:before{inset:2px 1px 0;border:1.5px solid;border-radius:2px;background:linear-gradient(currentColor,currentColor) left 4px / 100% 1px no-repeat}
.rail .calendar:after{left:5px;right:5px;top:0;height:5px;border-inline:1.5px solid}
.rail .house:before{top:2px;left:3px;right:3px;height:10px;border-top:1.5px solid;border-left:1.5px solid;transform:rotate(45deg)}
.rail .house:after{inset:8px 3px 1px;border:1.5px solid;border-top:0;border-radius:0 0 2px 2px}
.rail .health:before{inset:2px 1px;border:1.5px solid;border-radius:3px}
.rail .health:after{inset:5px;background:linear-gradient(currentColor,currentColor) center / 100% 1.5px no-repeat,linear-gradient(currentColor,currentColor) center / 1.5px 100% no-repeat}
.rail .file:before,.rail .list:before{inset:1px 2px;border:1.5px solid;border-radius:2px}
.rail .file:after,.rail .list:after{left:5px;right:5px;top:5px;height:1px;background:currentColor;box-shadow:0 3px currentColor}
.rail .list:after{box-shadow:0 3px currentColor,0 6px currentColor}
.workspace{margin-left:15.25rem;min-height:100vh}.topbar{height:4.4rem;display:flex;gap:1rem;align-items:center;justify-content:space-between;background:var(--paper);padding:0 clamp(1.25rem,4.5vw,4.6rem);border-bottom:1px solid var(--line);color:var(--muted);font-size:.9rem}.topbar b{color:#273e33;font-weight:600}.divider{color:#97a899;padding:0 .55rem}.topbar time{font-size:.9rem}main{max-width:88rem;margin:auto;padding:2.6rem clamp(1.25rem,4.5vw,4.6rem) 4rem}h1,h2,h3,p{margin:0}h1{font-size:clamp(2rem,4.1vw,3.15rem);line-height:1.06;letter-spacing:-.055em;font-weight:650}h2{font-size:1.32rem;line-height:1.25;letter-spacing:-.035em}h3{font-size:1.08rem;letter-spacing:-.015em}.hint,.muted{color:var(--muted)}.hint{margin-top:.6rem;max-width:54rem}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1.2rem;margin-bottom:1.7rem}.primary,.secondary,.action-link{appearance:none;border-radius:.5rem;padding:.55rem .98rem;border:1px solid var(--line);font-weight:600;font-size:.9rem;background:white;color:#274d38;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:#154933}.secondary:hover,.action-link:hover{background:var(--light)}
.hero{overflow:hidden;isolation:isolate;position:relative;border-radius:1rem;color:white;background:#224e3b;padding:1.85rem 2rem 2rem;display:grid;gap:.45rem;margin-bottom:1.2rem}.hero:after{content:"";position:absolute;right:-5rem;top:-9rem;width:45%;height:28rem;z-index:-1;opacity:.5;background:repeating-linear-gradient(128deg,transparent 0 14px,#46724d 15px 16px,transparent 17px 29px);transform:rotate(5deg)}.hero small{color:#d6e7d4;font-size:.9rem}.hero strong{font-size:clamp(1.45rem,3.4vw,2.5rem);line-height:1.17;letter-spacing:-.035em}.hero span{color:#d8e5d7;font-size:.92rem}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-bottom:1.55rem}.card,.surface{border:1px solid var(--line);border-radius:.9rem;background:var(--paper)}.card{display:flex;flex-direction:column;align-items:flex-start;padding:1.35rem 1.5rem;gap:.35rem}.card p{color:var(--muted);font-size:.94rem}.card .action-link{margin-top:.7rem}.surface{overflow:hidden;margin:1rem 0}.section-head{padding:1.25rem 1.45rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line)}.section-head small{font-size:.85rem;color:var(--muted)}.section-body{padding:1.3rem 1.45rem}.bar{background:#fafbf9;padding:1rem 1.4rem;display:flex;gap:.9rem;align-items:flex-end;flex-wrap:wrap;border-bottom:1px solid var(--line)}label,.field>span{font-size:.87rem;font-weight:600;color:#3c5144}.bar label,.field{display:grid;gap:.35rem}.bar label:first-child{min-width:11rem}.search-field{flex:1;min-width:10rem}input:not([type=checkbox]),select{width:100%;height:2.55rem;padding:.45rem .68rem;border:1px solid #aebfb1;border-radius:.42rem;color:#183d2e;background:#fff;font-size:1rem}select{appearance:none;padding-right:2.1rem;background:linear-gradient(45deg,transparent 50%,#53695a 50%) calc(100% - 16px) 52% / 5px 5px no-repeat,linear-gradient(135deg,#53695a 50%,transparent 50%) calc(100% - 11px) 52% / 5px 5px no-repeat,#fff}input[type=checkbox]{accent-color:var(--green);width:1.1rem;height:1.1rem;flex:none}
.notice{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.95rem 1.15rem;background:#fff5df;border:1px solid #e5cf91;border-radius:.7rem;color:#59441d;margin:1rem 0}.notice p{font-size:.94rem}.notice .secondary{border-color:#d6c08c;background:#fffaf0;color:#59441d}.note-actions{display:flex;gap:.5rem}.notice.ok{background:#edf5eb;border-color:#ccddcc;color:#28563b}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:.82rem 1.35rem;border-bottom:1px solid #e2e8e2;white-space:nowrap}th{font-size:.78rem;letter-spacing:.035em;color:var(--muted);background:#fafbf9}td{font-size:.94rem}tbody tr:last-child td{border-bottom:none}.status{display:inline-block;border-radius:1rem;font-size:.8rem;background:#e7f2e7;color:#22593d;padding:.18rem .62rem}.status.off{background:#eff0ed;color:#515c51}.text-button{background:none;border:none;color:var(--green);text-decoration:underline;text-underline-offset:.2em;font-size:.9rem;font-weight:600;padding:.35rem}.empty{padding:2rem 1.45rem;color:var(--muted)}.empty strong{display:block;color:#304d3b;margin-bottom:.28rem}.schema-row{border-top:1px solid var(--line);padding:.9rem 1.4rem}.schema-row:first-child{border-top:0}.schema-row summary{cursor:pointer;font-weight:600}.schema-row p{font-size:.95rem;color:var(--muted);margin:.6rem 0}.schema-row code{display:inline-block;margin:.15rem .35rem .1rem 0;background:#edf2ed;border-radius:.3rem;font-size:.85rem;padding:.1rem .4rem}.screen-msg{margin:1rem 0;color:var(--green)}
dialog{width:min(30rem,calc(100% - 2rem));max-height:90dvh;overflow:auto;padding:0;border:1px solid var(--line);border-radius:.85rem;color:#1e392c;box-shadow:0 20px 65px #10241936}dialog::backdrop{background:#14291e70}.dialog-title,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.4rem;border-bottom:1px solid var(--line)}.icon-button{border:0;background:transparent;font-size:1.6rem;color:#57695a}.dialog-actions{border-bottom:0;border-top:1px solid var(--line);justify-content:flex-end}.field,.tick,fieldset{margin:.85rem 1.4rem}.tick{display:flex;align-items:center;gap:.6rem;font-size:.95rem}fieldset{border:1px solid var(--line);border-radius:.55rem;max-height:13rem;overflow:auto}fieldset .tick{margin:.5rem 0}.form-error{color:#874008;margin:.8rem 1.4rem}.field small{font-weight:400;color:var(--muted)}[hidden]{display:none!important}
@media(max-width:850px){
  .rail{width:12rem;padding-inline:.7rem}
  .workspace{margin-left:12rem}
  .rail .brand{margin-left:.65rem}
  main{padding-top:1.8rem}
  .topbar{gap:.5rem}
}
@media(max-width:690px){
  .rail{position:relative;width:auto;padding:.8rem 1rem;overflow:visible}
  .rail-footer{display:none}
  .rail .brand{margin:.3rem .65rem .8rem}
  .rail nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .rail .menu-group,.rail .menu-links{display:contents}
  .rail nav h2{grid-column:1/-1;margin:.5rem .55rem .2rem}
  .rail nav a{gap:.5rem;padding-inline:.55rem}
  .rail nav > a{grid-column:1/-1}
  .rail nav > a:first-of-type{margin-top:.8rem}
  .workspace{margin-left:0}
}
@media(max-width:690px){.topbar{height:auto;min-height:3.8rem;gap:.5rem}.topbar>span{font-size:.8rem}main{padding:1.5rem 1rem 3rem}.hero{padding:1.5rem}.cards{gap:.65rem}.card{padding:1rem}.page-head,.notice{align-items:flex-start;flex-wrap:wrap}.section-head,.bar{padding:1rem}.section-body{padding:1rem}.bar label{width:100%}th,td{padding:.7rem 1rem}}
@media(max-width:450px){.cards{grid-template-columns:1fr}.topbar time{font-size:.76rem}.card .action-link{margin-top:.4rem}}


.plan-tabs{display:flex;flex-wrap:wrap;gap:.4rem;margin:1rem 0 1.25rem}
.plan-tabs a,.plan-tabs button{border:1px solid var(--line);border-radius:.5rem;background:var(--paper);color:var(--green);padding:.65rem .95rem;font-weight:600;text-decoration:none}
.plan-tabs a:hover{text-decoration:underline}
.plan-tabs a[aria-current=page],.plan-tabs button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}
.plan-fields,.plan-selectors{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:1rem;align-items:end;margin:.5rem 0 1rem}
.plan-selectors{max-width:60rem;padding:1rem;background:#edf3ee;border-radius:.65rem}
#planner-root label{display:grid;gap:.35rem}
#planner-root fieldset{max-height:none;overflow:visible;min-width:0}
.plan-editor{padding:0;margin:0;border:0}
.plan-line{margin:.5rem 0 1rem;padding:.8rem 1rem 1rem}
.plan-line legend{font-weight:600;padding:0 .4rem}
.dispatch-line .plan-fields{align-items:start}
.dispatch-day output{display:block;margin-top:.35rem;color:var(--green);font-size:.9rem;font-variant-numeric:tabular-nums}
.plan-section .hint,.plan-feedback:not(:empty){margin:.6rem 0;color:#3c5645}
.plan-section .table-wrap{margin:.65rem 0}
#dispatch-result table{min-width:49rem;font-variant-numeric:tabular-nums}
#dispatch-result th,#dispatch-result td{padding:.6rem .55rem}
#dispatch-result th{white-space:normal;vertical-align:bottom}
#dispatch-result td small{display:inline-block;max-width:12rem;white-space:normal}
#dispatch-result>p{margin:.8rem 0}
.plan-section td select{min-width:9rem}
.plan-section button{margin:.2rem .25rem .2rem 0}
#history-evidence li{white-space:normal;overflow-wrap:anywhere}
#planner-root .form-error:empty{margin:0}
.report-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:1rem}
#production-root .plan-selectors{max-width:none;margin-top:1rem}
#production-root:has([data-production-form]) .plan-selectors{grid-template-columns:repeat(auto-fit,minmax(min(100%,10.5rem),1fr));padding:.75rem 1rem}
#production-root label{display:grid;gap:.35rem;font-size:.94rem}
#production-root [hidden]{display:none!important}
#production-root .prod-code{display:inline-block;font-size:.75rem;font-weight:500;letter-spacing:.035em;color:#53665b}
.prod-balance{border:1px solid #c5d7c9;border-radius:.65rem;background:#edf4ee;padding:.85rem 1.1rem;margin:.6rem 0 1rem}
.prod-balance-head{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.prod-balance-head h2,.prod-field-group h3{margin:0;font-size:1.05rem}.prod-balance-head span{font-size:.85rem;color:#445d4d}
.prod-balance dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:.65rem 1rem;margin:.65rem 0 0}
.prod-balance dt{font-size:.86rem;color:#3e5848}.prod-balance dt small{white-space:nowrap;font-size:.76rem}
.prod-balance dd{margin:.12rem 0 0}.prod-balance dd strong{font-size:1.32rem;line-height:1.2}
.prod-balance dd small,.prod-parameter td small,.prod-parameter th small{display:block;font-size:.77rem;line-height:1.3;font-weight:400;color:#53665b}
.prod-balance dd small:empty,.prod-parameter td small:empty{display:none}
.prod-balance dd,.prod-subtotal,.prod-parameter td{font-variant-numeric:tabular-nums}
.prod-form-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.75rem;align-items:start;margin:.6rem 0 1rem}
.prod-field-group{padding:.8rem .9rem;background:var(--paper);border:1px solid var(--line);border-radius:.6rem;min-width:0}
.prod-field-group header{padding-bottom:.55rem;border-bottom:1px solid var(--line)}
.prod-subtotal{display:block;margin-top:.15rem;color:var(--muted);font-size:.8rem}
.prod-group-fields{display:grid;gap:.57rem;margin-top:.6rem}
.prod-field{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:.35rem}
#production-root .prod-field label{display:block;line-height:1.2;font-size:.89rem}.prod-field label .prod-code{white-space:nowrap}
.prod-field-value{display:inline-flex;align-items:center;gap:.34rem;color:var(--muted);font-size:.8rem}
#production-root .prod-field input{width:6.25rem;max-width:100%;height:2.05rem;padding:.25rem .4rem;text-align:right;font-size:1rem;font-variant-numeric:tabular-nums}
.prod-field-value>span{min-width:1.4rem}.prod-field-state{grid-column:1/-1;color:#5a6d61;font-size:.77rem;line-height:1.25;margin-top:.15rem}
.prod-field[data-state="saved"] .prod-field-state{color:#286042}.prod-field[data-state="draft"] .prod-field-state{color:#735014}
.prod-field[data-state="invalid"] .prod-field-state{color:#963c22}.prod-field[data-state="invalid"] input{border-color:#963c22}
.prod-field .prod-reapply{grid-column:1/-1;justify-self:start;font-size:.83rem}
#production-root .prod-extra{margin:.75rem 0 1rem}#production-root .prod-extra .prod-form-groups{margin:.25rem .8rem .8rem}
#production-root .prod-parameter .prod-field{display:block;min-width:7.7rem}
#production-root .prod-parameter .prod-field label{display:none}
.prod-parameter .prod-field-state{display:block;white-space:normal}
.prod-parameter td,.prod-parameter th{white-space:normal;padding:.48rem .55rem}
.prod-parameter td[data-metric]{text-align:right}.prod-parameter td strong{font-weight:600}
@media(max-width:480px){.prod-balance dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
.prod-conflict{padding:1rem;margin:1rem 0;background:var(--paper);border:1px solid var(--line);border-radius:.65rem}
.prod-conflict h3,.prod-report-head h2{margin:0}
.prod-conflict form{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.8rem;align-items:end;margin-top:1rem}
.prod-conflict .table-wrap,.prod-block .table-wrap{font-variant-numeric:tabular-nums}
.prod-print th{white-space:normal}.prod-print td small{display:block;color:var(--muted)}
.prod-context,.prod-report-head p{color:var(--muted)}
.prod-report-head h2{display:none}
@media screen{
  .prod-print .prod-block:first-of-type .section-body{padding:.75rem}
  .prod-print .prod-block:first-of-type :is(th,td){padding:.6rem .36rem}
  .prod-print .prod-block:first-of-type td{font-size:.87rem}
  .prod-print .prod-block:first-of-type .text-button{padding:.15rem}
}
#production-root .form-error:empty,#production-root .plan-feedback:empty{margin:0}
@media print{
  @page production-report{size:A4 landscape;margin:12mm}
  html:has(.prod-print),body:has(.prod-print),body:has(.prod-print) .workspace{background:white;margin:0;padding:0}
  body:has(.prod-print) :is(.rail,.skip,.topbar,dialog,.prod-controls,.form-error,.plan-feedback),#screen:has(.prod-print)>:not(#production-root){display:none!important}
  body:has(.prod-print) main{margin:0;padding:0;max-width:none}
  .prod-print{page:production-report;font-size:9pt}.prod-print .surface{border:0;box-shadow:none;overflow:visible;margin:0 0 3mm}
  .prod-print .section-body,.prod-print .section-head{padding:1mm 0}.prod-print .table-wrap{overflow:visible}
  .prod-print table{width:100%;table-layout:fixed;min-width:0}.prod-print th,.prod-print td{padding:1mm;font-size:8pt;white-space:normal;overflow-wrap:anywhere}
  .prod-print thead{display:table-header-group}.prod-print tr{break-inside:avoid}.prod-print h2{break-after:avoid}
  .prod-print button.text-button{color:inherit;font-size:inherit;text-decoration:none;padding:0;border:0}
  .prod-report-head h2{display:block}
}
.report-launch{display:flex;align-items:center;gap:.9rem;max-width:35rem;margin:0 0 1rem;padding:.85rem 1.1rem;border:1px solid #b2c6b9;border-radius:.65rem;background:var(--paper);color:var(--green);text-decoration:none}
.report-launch:hover,.report-launch:focus-visible{background:#edf3ee;border-color:var(--green)}
.report-launch strong,.report-launch small{display:block}.report-launch small{color:var(--muted);font-size:.9rem;margin-top:.15rem}
.report-icon{
  position:relative;display:inline-block;flex:none;width:2.5rem;height:2.5rem;
  color:var(--green);background-color:var(--light);border-radius:.55rem;
}
.report-icon::before,.report-icon::after{content:"";position:absolute;box-sizing:border-box}
.report-icon-plan::before{
  inset:.58rem .67rem .48rem;border:.1rem solid;border-radius:.16rem;
  background:linear-gradient(currentColor,currentColor) center 44% / 62% .09rem no-repeat,
    linear-gradient(currentColor,currentColor) center 69% / 62% .09rem no-repeat;
}
.report-icon-plan::after{
  top:.43rem;left:.9rem;width:.7rem;height:.35rem;
  background:var(--light);border:.1rem solid;border-radius:.1rem;
}
.report-icon-daily::before{
  inset:.65rem .5rem .48rem;border:.1rem solid;border-radius:.17rem;
  background:linear-gradient(currentColor,currentColor) center .24rem / 100% .09rem no-repeat,
    linear-gradient(currentColor,currentColor) 19% 84% / .14rem .26rem no-repeat,
    linear-gradient(currentColor,currentColor) 50% 80% / .14rem .42rem no-repeat,
    linear-gradient(currentColor,currentColor) 81% 77% / .14rem .57rem no-repeat;
}
.report-icon-daily::after{top:.46rem;left:.83rem;right:.83rem;height:.38rem;border-inline:.1rem solid}
.report-icon-transport{
  background-image:radial-gradient(circle at .8rem 1.72rem,var(--light) .09rem,currentColor .11rem .2rem,transparent .21rem),
    radial-gradient(circle at 1.83rem 1.72rem,var(--light) .09rem,currentColor .11rem .2rem,transparent .21rem);
}
.report-icon-transport::before{top:.72rem;left:.31rem;width:1.18rem;height:.86rem;border:.1rem solid;border-radius:.1rem .08rem 0 .06rem}
.report-icon-transport::after{
  top:.93rem;left:1.39rem;width:.8rem;height:.65rem;border:.1rem solid;border-radius:0 .46rem .06rem 0;
  background:linear-gradient(currentColor,currentColor) right 46% / 60% .08rem no-repeat;
}
@media(forced-colors:active){.report-icon{forced-color-adjust:none;color:LinkText;--light:Canvas}}
.report-back{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;margin:0 0 1rem}.report-back a{text-underline-offset:.2em}
.report-section-options{padding:.7rem 1rem}.plan-note{grid-column:1/-1}
.plan-note textarea{resize:vertical;width:100%;min-height:3.2rem;font:inherit;padding:.5rem .6rem;border:1px solid var(--line);border-radius:.4rem}
.receipt-day{display:block;color:var(--green);margin:.45rem 0 1rem}.manual-summary tbody td{height:2.2rem}
.report-title{font-size:1.65rem;margin:0 0 1rem}.report-tools,.report-modes,.report-pick-actions{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.report-tools{justify-content:space-between;margin-bottom:1rem}.report-modes{gap:0;border:1px solid #abc2b4;border-radius:.55rem;background:white;overflow:hidden}
.report-modes button{border:0;padding:.65rem 1rem;color:var(--green);background:transparent;font-weight:600}
.report-modes button[aria-pressed="true"]{background:var(--green);color:white}.report-modes button:focus-visible{outline-offset:-3px}
.report-options{border:1px solid var(--line);border-radius:.65rem;background:var(--paper);margin-bottom:1.1rem}
.report-options summary{padding:.85rem 1rem;cursor:pointer;font-weight:600}.report-selection{display:inline-block;margin-left:.75rem;font-weight:400;color:var(--muted);font-size:.9rem}
.report-option-body,.report-house-options{padding:1rem}.report-option-body{border-top:1px solid var(--line)}
.report-column-groups,.report-house-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:1rem}
.report-house-options{align-items:start}.report-house-options>label{max-width:20rem}
#planner-root .report-checks{display:flex;flex-wrap:wrap;gap:.4rem 1rem;padding:.65rem .8rem .8rem;margin:0}
.report-checks legend{font-size:.9rem;font-weight:650;padding:0 .2rem}
#planner-root .report-checks label{display:flex;align-items:center;gap:.4rem;font-weight:500;font-size:.9rem}
.report-checks input{margin:0}.report-pick-actions{margin:.45rem 0 1rem}.report-pick-actions button{font-size:.85rem;padding:.3rem .6rem}
.report-sheet{border:1px solid var(--line);background:white;border-radius:.8rem;padding:clamp(1rem,2.5vw,2rem);font-variant-numeric:tabular-nums}
.arrival-ref{display:none}
.sheet-head{border-bottom:2px solid var(--green);padding-bottom:1rem;margin-bottom:1.25rem}.sheet-head span{color:var(--green);font-size:.86rem;font-weight:650}
.sheet-head h2{font-size:1.65rem;margin:.25rem 0}.sheet-head p,.report-note,.report-empty{color:var(--muted)}
.report-block{margin:1.2rem 0}.report-block h3{font-size:1.12rem;margin-bottom:.65rem}.report-note,.report-empty{margin:.7rem 0;font-size:.92rem}
.report-table{margin:.55rem 0 1rem;overflow-x:auto}.report-table table{width:100%;table-layout:fixed}
.report-table th,.report-table td{overflow-wrap:anywhere;white-space:pre-line;vertical-align:top;padding:.55rem .6rem}
.report-table th{font-size:.87rem;letter-spacing:normal;color:#324c3f}.report-table td{font-size:.92rem}
.report-sheet .report-number{text-align:right}
.report-table tfoot td{font-weight:650;border-top:1px solid #94aa9c;background:#f2f6f3}
.report-facts,.arrival-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr));gap:.65rem 1rem}
.report-facts{margin:.45rem 0 .9rem}.report-facts dt,.arrival-fields span{font-size:.86rem;color:var(--muted)}
.report-facts dd{margin:.12rem 0 0;font-size:.98rem;overflow-wrap:anywhere}.arrival-fields>div{break-inside:avoid}
.house-sheet .report-facts dd{white-space:pre-line}
.arrival-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem}.arrival-notes{grid-column:1/-1}
.write-line{height:1.9rem;border-bottom:1px solid #779083}
@media screen and (max-width:1000px){.report-table table{table-layout:auto}.report-table th,.report-table td{min-width:6rem}.report-table th:first-child,.report-table td:first-child{min-width:4rem}}
@page fds-summary{size:A4 landscape;margin:12mm 14mm;@bottom-right{content:"Strona " counter(page) " / " counter(pages);font:8pt "Segoe UI",Arial,sans-serif;color:#46564b}}
@page fds-house{size:A4 portrait;margin:12mm 14mm;@bottom-right{content:"Strona " counter(page) " / " counter(pages);font:8pt "Segoe UI",Arial,sans-serif;color:#46564b}}
@media print{
  body:has(.summary-sheet){page:fds-summary}body:has(.house-sheet){page:fds-house}
  html:has(.report-sheet){background:white}
  body:has(.report-sheet),body:has(.report-sheet) .workspace{background:#fff;color:#17261f;margin:0;min-height:0}
  body:has(.report-sheet) :is(.rail,.skip,.topbar,dialog,.report-controls,.report-back,.plan-selectors),#screen:has(.report-sheet)>:not(#planner-root,#outbound-report-root){display:none!important}
  body:has(.report-sheet) main{margin:0;padding:0;max-width:none}
  .report-sheet{border:0;border-radius:0;padding:0;font:10pt/1.27 "Segoe UI",Arial,sans-serif;color:#17261f}
  .arrival-ref{display:block;font-size:8pt;margin:0 0 1mm;color:#46564b}
  .sheet-head{margin:0 0 3mm;padding:0 0 2mm;border-color:#264b37;break-after:avoid}
  .sheet-head span,.sheet-head p{font-size:9pt}.sheet-head h2{font-size:17pt;margin:.5mm 0}
  .report-block{margin:3mm 0}.report-block h3{font-size:12pt;margin:0 0 1.7mm;break-after:avoid}
  .report-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4mm 4mm;margin:1.5mm 0 2mm}
  .report-facts>div{break-inside:avoid}.report-facts dt,.arrival-fields span{font-size:8.5pt}.report-facts dd{font-size:10pt;margin:0}
  .report-table{overflow:visible;margin:1mm 0 2.5mm}.report-table table{width:100%;table-layout:fixed}
  .report-table th,.report-table td{padding:1.5mm 1.6mm;font-size:9pt;line-height:1.25;min-width:0;vertical-align:top}
  .report-table thead{display:table-header-group}.report-table tfoot{display:table-row-group}.report-table tr{break-inside:avoid}
  .report-table th,.report-table tfoot td{color:#17261f;border-bottom:1px solid #87968e}
  .report-note{margin:1.5mm 0;font-size:8.5pt;color:#36473d}
  .report-block:has(.arrival-fields){break-inside:avoid}.arrival-fields{gap:2mm 7mm}
  .write-line{height:8mm;border-bottom:.3mm solid #777}
  .house-sheet .report-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:1mm 3mm}
  .house-sheet .report-table th,.house-sheet .report-table td{padding:1mm 1.25mm}
  .house-sheet .report-block{margin:2.5mm 0}
}
.norm-selectors label,.norm-edit label{display:grid;gap:.35rem}
.norm-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.norm-edit{padding:1rem 1.25rem;margin:1rem 0}
.norm-edit label{max-width:20rem}
#norm-root td strong{font-variant-numeric:tabular-nums}
.out-bar,.out-actions{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap;margin:.9rem 0}
.out-bar strong{color:var(--green)}.out-tabs{margin:1rem 0 1.4rem;flex-wrap:wrap}
.out-group{border:0;padding:0;margin:0;min-width:0;max-height:none;overflow:visible}.out-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.8rem 1rem}
.out-fields label,.out-block td label{display:grid;align-content:end;gap:.3rem;font-size:.84rem;color:var(--muted)}
.out-block{margin:1rem 0}.out-block h3{margin:1.2rem 0 .4rem}.out-block table{width:100%}
.out-block .table-wrap{margin:.8rem 0}.out-block td label{font-size:0;min-width:5.4rem}.out-block td label select{min-width:8rem}
.out-block input[type=number]{font-variant-numeric:tabular-nums}.out-detail{display:block;font-size:.76rem;color:var(--muted)}
.out-metrics{display:flex;flex-wrap:wrap;gap:.7rem 1.7rem;background:#f1f6f2;border-left:3px solid #6f9879;padding:.8rem 1rem;margin:1rem 0 .3rem}
.out-metrics dt{font-size:.8rem;color:var(--muted)}.out-metrics dd{margin:.12rem 0 0;color:#214e38;font-weight:650;font-variant-numeric:tabular-nums}
.out-empty{color:var(--muted);padding:.4rem 0}.out-actions{justify-content:flex-end;margin:1rem 0 .25rem}
#outbound-report-root .out-fields label{display:grid;gap:.25rem}
#outbound-report-root .report-controls{margin-bottom:1.2rem}
.outbound-sheet table small{display:block;color:var(--muted);font-size:.78rem}
.outbound-sheet .text-button{padding:0;text-align:left;font-size:inherit;overflow-wrap:anywhere}
.outbound-sheet .report-facts dd{font-variant-numeric:tabular-nums;font-weight:600}
@media print{
  .outbound-sheet .text-button{border:0;background:none;color:inherit;text-decoration:none;font:inherit}
  .outbound-sheet .report-table table{min-width:0}
}
@media(max-width:650px){.out-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.out-tabs button{flex:1}.out-block .section-head{flex-wrap:wrap}.out-bar{align-items:flex-start}}
.feed-settings{border:1px solid #ccd8ce;border-radius:8px;padding:1rem;min-width:0}
.feed-settings legend{font-weight:650;padding:0 .35rem}
.feed-settings input[type=number]{width:6rem}
.feed-settings details,.feed-settings .plan-fields{margin:1rem 0}
.feed-scroll{max-width:100%;overflow-x:auto;margin:1rem 0}
.feed-time{border-collapse:collapse}
.feed-time td,.feed-time th{border:1px solid #cad5cd;min-width:2.15rem;text-align:center;padding:.2rem}
.feed-time tbody th{position:sticky;left:0;background:white;text-align:left;min-width:9rem;max-width:14rem}
.feed-time td.feed-band{background:#b8d9c6}
.feed-time td.feed-G1{background:#b6d6e8}.feed-time td.feed-G2{background:#f0d6a7}
.feed-time td.feed-F{background:#d5c5e2}.feed-time td.feed-FK{background:#d4dfaa}
.feed-time button{border:0;background:transparent;color:#193e30;cursor:ew-resize;padding:.1rem .2rem;font-weight:700}
.work-board{overflow:auto;border:1px solid #c5d4cb;border-radius:8px;margin:.8rem 0}
.work-row{display:grid;grid-template-columns:5.6rem minmax(32rem,1fr);min-width:39rem;border-bottom:1px solid #dbe3dd}
.work-row>strong{padding:.7rem .55rem;color:#254a3e;background:#f1f5f2}
.work-axis,.work-track{position:relative;border-left:1px solid #d5dfd8}
.work-axis{height:27px;background:#e8f0eb}.work-axis span{position:absolute;font-size:.75rem;top:4px}
.work-track{background:repeating-linear-gradient(90deg,transparent 0,transparent calc(12.5% - 1px),#e5ebe6 calc(12.5% - 1px),#e5ebe6 12.5%)}
.work-tile{position:absolute;height:25px;min-width:10px;color:white;border:0;border-radius:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 4px;text-align:left;cursor:grab;touch-action:none;font-size:.76rem}
.work-tile:focus-visible{outline:3px solid #172e4a;z-index:3}.work-pin{position:absolute;top:3px;color:#a24b23}
.work-issues{color:#77431b}
.work-band{position:absolute;height:3px}.work-pin[href]{color:#215e70;text-decoration:underline}
.fb-scroll{--house-label:6.5rem;min-width:0;max-width:100%;overflow:auto;max-height:min(68vh,45rem);border:1px solid #cedbd2;border-radius:.55rem;background:#fff;overscroll-behavior:contain;scrollbar-gutter:stable}
.fb-scroll:focus-visible{outline:2px solid #32644e;outline-offset:2px}
.fb-grid{display:grid;grid-template-columns:var(--house-label) minmax(var(--timeline-width),1fr);position:relative;min-width:100%;width:calc(var(--house-label) + var(--timeline-width));align-content:start;isolation:isolate}
.fb-axis,.fb-corner{position:sticky;top:0;height:3.1rem;background:#edf3ef;color:#294b3b;border-bottom:1px solid #c4d4c9;z-index:4}
.fb-axis{overflow:hidden;contain:paint}
.fb-corner{left:0;z-index:6;border-right:1px solid #c4d4c9;padding:.82rem .7rem;font-weight:700}
.fb-tick{position:absolute;top:0;bottom:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;overflow:hidden;white-space:nowrap;gap:1px;padding-inline:.35rem;border-left:1px solid #c4d4c9;line-height:1.15}
.fb-tick b{font-size:.83rem}.fb-tick small,.fb-house small{font-size:.75rem;color:#50695a}
.fb-house{display:flex;align-items:stretch;position:sticky;left:0;z-index:3;background:#fff;border-right:1px solid #c4d4c9;border-bottom:1px solid #d5dfd7}
.fb-house button{display:flex;flex:1;flex-direction:column;justify-content:center;gap:.1rem;align-items:flex-start;padding:.5rem .7rem;border:0;border-radius:0;color:#274735;background:transparent;text-align:left;line-height:1.2}
.fb-house.fb-active{background:#e9f2e9;box-shadow:inset 3px 0 #34764f}.fb-house button:hover{background:#edf5ee;color:#17442d}
.work-track.fb-track{position:relative;isolation:isolate;overflow:hidden;min-height:3.2rem;background:#fff;border:0;border-bottom:1px solid #d5dfd7}
.fb-track:nth-child(4n){background:#f8faf8}.fb-track.fb-active{background:#f0f6ef}
.fb-lines{position:absolute;inset:0;z-index:-1;pointer-events:none}.fb-lines i{position:absolute;top:0;bottom:0;border-left:1px solid #d8e4da}
.fb-band{position:absolute;height:3px;pointer-events:auto;opacity:.85}.fb-band-gap{background:#669e91}.fb-band-prep{background:#7aa7c1}.fb-band-grow{background:#9ab064}
.fb-pin{position:absolute;transform:translateX(-50%);display:grid;place-items:center;height:15px;width:15px;z-index:1;font-size:.77rem;line-height:1;text-decoration:none}
.fb-pin-place{color:#2c6043}.fb-pin-dispatch{color:#a45129}.fb-pin-feed{color:#126c94}.fb-pin-clean{color:#20675e}
.fb-pin:focus-visible,.fb-pin:hover{outline:1px solid currentColor;border-radius:3px}
.fb-tile{position:absolute;display:flex;align-items:center;justify-content:space-between;gap:3px;height:29px;min-height:0;min-width:0;max-width:none;box-sizing:border-box;padding:0 0 0 5px;border:0;border-radius:4px;overflow:hidden;touch-action:none;user-select:none;text-align:left;line-height:1.1;font-size:.81rem;font-weight:650;color:#fff;background:var(--tile-color);cursor:grab}
.fb-tile:is(:hover,:active,:focus-visible){color:white;background:var(--tile-color);filter:brightness(1.08)}
.fb-tile.fb-short{padding-left:0;gap:0}.fb-text{min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.fb-tile [data-grip]{align-self:stretch;display:grid;place-items:center;flex:0 0 10px;cursor:ew-resize;border-left:1px solid #ffffff55;background:#ffffff18}
.fb-tile [data-grip]::before{content:"";width:3px;height:11px;border-inline:1px solid #ffffffc7}
.fb-tile.fb-short [data-grip]{flex-basis:5px}.fb-tile.fb-short [data-grip]::before{width:0;border-right:0}
.fb-tile[aria-pressed=true]{outline:2px solid #102f21;outline-offset:1px;z-index:2}
.fb-tile:focus-visible{outline:3px solid #1a422f;outline-offset:2px;z-index:3}
.fb-tile.fb-preview{box-shadow:0 0 0 2px #254d39;z-index:2}.fb-tile.fb-done{cursor:pointer;border-bottom:3px solid #27392e}
.fb-readout{display:block;min-height:1.15rem;padding:.1rem .2rem;color:#366448;font-size:.8rem}
@media(max-width:720px){.fb-scroll{--house-label:4.65rem;max-height:58vh}.fb-corner,.fb-house button{padding-inline:.4rem}.fb-grid{font-size:.92rem}}
.closure-editor{width:min(58rem,calc(100% - 2rem))}
.closure-panel{margin:1rem 1.4rem;padding:1rem 0;border-block:1px solid var(--line)}
.closure-panel h3,.closure-panel h4{margin:.9rem 0 .5rem}
.closure-panel .table-wrap{max-width:100%;overflow-x:auto}
.closure-panel td small{display:block;white-space:nowrap}
.closure-panel textarea{display:block;box-sizing:border-box;width:100%;margin:.45rem 0 .7rem;padding:.65rem;font:inherit}
.closure-panel [data-empty]{width:1.2rem;height:1.2rem;accent-color:#245339}
.closure-panel .closure-note{white-space:pre-wrap;overflow-wrap:anywhere}
