:root{color:#211411;background:#17131b;font-family:Courier New,Courier,monospace;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 30% 20%,#403247 0,transparent 30rem),linear-gradient(145deg,#0c0b10,#201821 65%,#08080b)}button{font:inherit}#app{width:100vw;height:100dvh;display:grid;place-items:center;overflow:hidden}.title-screen{width:min(960px,100%);padding:1.5rem;color:#f4e9c8;text-align:center;background:#09090c;border:8px solid #2d2733;box-shadow:0 1.5rem 5rem #000a,inset 0 0 0 2px #71616f}.title-art{position:relative;width:min(800px,100%);aspect-ratio:8 / 5;margin:0 auto 1rem;image-rendering:pixelated;background:#000 url(/game/assets/title-c64-reference-6-TEQ10O.svg) center / cover no-repeat;border:4px solid #020204;overflow:hidden}.title-art:after{content:"";position:absolute;inset:0;opacity:.35;background:repeating-linear-gradient(0deg,transparent 0 3px,#000 4px);pointer-events:none}.title-logo{position:absolute;z-index:1;inset:13% 6% auto auto;color:#ffd764;text-align:right;letter-spacing:.08em;text-shadow:4px 4px 0 #9d253d,8px 8px 0 #1c111c;transform:rotate(-2deg)}.title-logo-small{display:block;font-weight:900;font-size:clamp(1rem,3vw,2.2rem)}.title-logo strong{font-size:clamp(2.4rem,8vw,6.8rem);line-height:.86}.title-kicker{color:#92d26d;letter-spacing:.15em}.menu{display:grid;gap:.5rem}.menu-title{margin:0 0 1rem;font-size:clamp(1.3rem,3vw,2rem);letter-spacing:.04em}.menu-option{display:grid;grid-template-columns:1.5rem 1fr auto;gap:.75rem;align-items:center;width:100%;min-height:3rem;padding:.65rem .8rem;color:#2b1716;text-align:left;font-weight:700;border:2px solid transparent;background:transparent;cursor:pointer}.menu-option:hover,.menu-option.selected{color:#fff4c7;background:#4a1f2d;border-color:#bc855c}.menu-option:disabled{cursor:wait;opacity:.55}.option-value{color:#651f2f;font-weight:900}.menu-option:hover .option-value,.menu-option.selected .option-value{color:#ffe36e}.desk{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(100vw,calc(100dvh * 16 / 9));height:min(100dvh,56.25vw);color:#33271f;background:#b89b67;border:1px solid #d7bd8b;box-shadow:0 2rem 6rem #000b}.masthead{display:flex;justify-content:space-between;gap:1rem;padding:1rem 1.5rem;color:#f2dda8;background:#472132;border-bottom:5px solid #29151d}.brand{font-weight:900;letter-spacing:.1em}.week{color:#dac78f}.columns{display:grid;grid-template-columns:minmax(0,1fr) clamp(220px,20vw,320px);min-height:0;gap:1px;background:#765f3f}.paper,.ledger{padding:1.5rem;background:#e7d6ad}.paper{min-height:0;overflow:auto}.paper:has(.plan-dashboard){overflow:hidden}.paper:has(.weekly-scheduler){padding:.75rem;overflow:hidden}.ledger{min-height:0;overflow:hidden;color:#241713;background:#d2bc8d}.ledger h2,.report h2,.warnings h2{font-size:.85rem;letter-spacing:.08em}.metric{display:flex;justify-content:space-between;gap:1rem;padding:.45rem 0;border-bottom:1px dotted #765f3f}.metric-label{font-size:.8rem;font-weight:700}.metric-value{text-align:right}.price-title{margin-top:2rem}.hub-title{margin-top:1.4rem}.hub-status{display:grid;gap:.25rem;padding:.65rem 0;border-bottom:1px dotted #765f3f}.hub-name{font-size:.78rem}.hub-contents,.hub-transfer{color:#664d35;font-size:.74rem;line-height:1.35}.notice,.warnings{margin-top:1.5rem;padding:1rem;color:#6c1e21;border:2px solid #9e3430;background:#f0cf9f}.warnings p{margin:.45rem 0}.error{color:#fff;background:#8b2128;padding:.8rem}.plan-dashboard{display:flex;flex-direction:column;height:100%;min-height:0}.plan-dashboard-title{margin:0;font-size:clamp(1.4rem,3vw,2.2rem)}.plan-dashboard-help{margin:.25rem 0 .55rem;color:#6b4638;font-size:.66rem;font-weight:700}.plan-control-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:.55rem}.plan-control-card{display:flex;flex-direction:column;min-width:0;padding:.55rem;border:2px solid #765f3f;background:#cfb77f}.plan-control-card-title{min-height:1.9rem;margin:0;color:#651f2f;font-size:.9rem;line-height:1.15}.plan-control-card-help{margin:0 0 .35rem;color:#6b4638;font-size:.58rem;font-weight:900}.plan-section-option{min-height:2rem;padding:.3rem .4rem;font-size:.7rem;border-color:#927651;background:#ddc897}.plan-control-card-note{margin:auto 0 0;padding-top:.35rem;color:#5f4432;font-size:.52rem;font-weight:900;line-height:1.25}.plan-week-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,22%);gap:.55rem;margin-top:.55rem}.plan-main-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 .7rem;padding:.35rem .55rem;border:2px solid #765f3f;background:#ddc897}.plan-main-stats .metric{min-width:0;padding:.25rem 0}.plan-main-stats .metric-label,.plan-main-stats .metric-value{font-size:.64rem}.plan-week-decision{display:grid;grid-template-columns:auto 1fr;gap:.15rem .5rem;align-items:center;padding:.4rem .55rem;color:#f4e9c8;background:#472132;border:2px solid #bc855c}.plan-week-decision strong{font-size:.66rem}.plan-week-decision p{margin:0;color:#efdba9;font-size:.5rem;font-weight:700;line-height:1.2}.plan-commit{grid-column:1 / -1;min-height:2rem;margin:0;padding:.3rem;color:#fff4c7;border-color:#bc855c;background:#651f2f}.plan-commit .option-value{color:#ffe36e}.report{position:relative;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:3px double #765f3f}.report-title{margin-top:0;padding-right:5rem}.grade{position:absolute;top:0;right:0;display:grid;place-items:center;width:4rem;height:4rem;border:4px double currentColor;border-radius:50%;font-size:2rem;font-weight:900;transform:rotate(8deg)}.grade-A{color:#1d6a43}.grade-B{color:#526b24}.grade-C{color:#a56420}.grade-D{color:#8a2526}.report-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.5rem}.consumption{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.5rem;margin:1rem 0 1.5rem}.consumption h2{grid-column:1 / -1;margin:1rem 0 .2rem}.work-intervals{margin:1rem 0 1.5rem;padding:.7rem .9rem;border:1px solid #927651;background:#ddc897}.work-intervals h2{margin:0 0 .5rem}.work-interval{margin:.25rem 0;font-size:.78rem;font-weight:700}.hub-transfers{margin:1rem 0 1.5rem;padding:.7rem .9rem;border:1px solid #927651;background:#ddc897}.hub-transfers h2{margin:0 0 .5rem}.hub-transfer{margin:.3rem 0;font-weight:700}.learning-title{margin-top:1rem!important}.causal-chain{margin:0;padding-left:1.5rem}.outcome{margin:.55rem 0;padding-left:.25rem}.plan-forecast{display:flex;flex:1;flex-direction:column;min-height:0;margin-top:.55rem;padding-top:.45rem;border-top:3px double #765f3f}.plan-forecast-title{margin:0;font-size:.82rem;letter-spacing:.08em}.forecast-disclaimer{margin:.18rem 0 .3rem;color:#6b4638;font-size:.52rem;font-weight:900}.forecast-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.5rem;margin-bottom:.9rem}.compact-plan-forecast{flex:1;min-height:0;border:2px solid #765f3f}.compact-forecast-grid{width:100%;height:100%;table-layout:fixed;border-collapse:collapse;background:#ddc897}.compact-forecast-grid th,.compact-forecast-grid td{min-width:0;padding:.16rem .24rem;border:1px solid #927651}.compact-forecast-grid thead th{color:#f2dda8;font-size:.58rem;letter-spacing:.04em;background:#472132}.compact-forecast-grid .work-grid-day-heading{width:5.2rem}.compact-forecast-day{width:5.2rem;color:#651f2f;text-align:left;font-size:.62rem;background:#cfb77f}.compact-forecast-day small{display:block;margin-top:.1rem;color:#6b4638;font-size:.46rem}.compact-forecast-entry{display:grid;gap:.08rem;min-width:0;font-size:.56rem;line-height:1.15}.compact-forecast-entry strong{font-size:.57rem}.compact-forecast-entry span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-weight:700}.compact-forecast-empty{display:block;color:#8a7455;text-align:center;font-size:.52rem}.smokehouse-policy-note{margin:.75rem 0 1rem;padding:.7rem .8rem;color:#4f3027;border:1px solid #927651;border-left:4px solid #651f2f;background:#ddc897}.smokehouse-policy-note strong{font-size:.7rem;letter-spacing:.04em}.smokehouse-policy-note p{margin:.3rem 0 0;font-size:.64rem;font-weight:700;line-height:1.4}.work-grid-container{margin-top:1rem}.work-grid-title{margin:0 0 .55rem;font-size:.82rem;letter-spacing:.08em}.work-grid-scroll{overflow-x:auto;border:2px solid #765f3f}.work-grid{width:100%;min-width:720px;table-layout:fixed;border-collapse:collapse;background:#ddc897}.editable-work-grid .work-grid{min-width:620px}.work-grid th,.work-grid td{border:1px solid #927651}.work-grid thead th{padding:.55rem .35rem;color:#f2dda8;font-size:.64rem;letter-spacing:.05em;background:#472132}.work-grid thead .work-grid-facility-heading{color:#ffe2a4;border-bottom-color:#bc855c;font-size:.58rem}.work-grid-day-heading,.scheduler-day-name{width:7.2rem}.work-grid-policy-heading{width:5.8rem}.scheduler-day-name{padding:.55rem;text-align:left;vertical-align:top;font-size:.7rem;background:#cfb77f}.work-grid-day-total{display:block;margin-top:.3rem;color:#6b4638;font-size:.58rem}.work-grid-cell{padding:.25rem;vertical-align:top}.work-grid-task{display:grid;gap:.2rem;margin-bottom:.3rem;padding:.4rem;border-left:3px solid #765f3f;background:#e7d6ad}.work-grid-task:last-child{margin-bottom:0}.work-grid-time{font-size:.64rem}.work-grid-task-name{font-size:.65rem;font-weight:900;line-height:1.25}.work-grid-task-meta{color:#664d35;font-size:.58rem;font-weight:700;line-height:1.25}.work-grid-empty{display:block;padding:.45rem .2rem;color:#8a7455;text-align:center;font-size:.58rem;font-weight:700}.work-grid-forecast-details{margin-top:.25rem;border-left:3px solid #765f3f;background:#e7d6ad}.work-grid-forecast-summary{padding:.45rem;color:#5f4432;font-size:.55rem;font-weight:900;line-height:1.35;cursor:pointer}.work-grid-forecast-details[open] .work-grid-forecast-summary{margin-bottom:.25rem;border-bottom:1px dotted #927651}.work-grid-forecast-details .work-grid-task{margin-inline:.25rem}.forecast-shortfall{padding:.7rem;color:#6c1e21;font-size:.72rem;font-weight:900;border:2px solid #9e3430;background:#f0cf9f}.weekly-scheduler{display:flex;flex-direction:column;height:100%;min-height:0}.scheduler-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 .7rem;align-items:center}.scheduler-title{margin:0;font-size:clamp(1.05rem,2vw,1.55rem)}.scheduler-help{margin:.14rem 0 0;color:#6b4638;font-size:.58rem;font-weight:700}.scheduler-back{grid-column:2;grid-row:1 / span 2;width:auto;min-height:2.2rem;margin:0;padding:.35rem .7rem;border-color:#927651;background:#ddc897}.schedule-scope-selectors{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.3rem;margin-top:.4rem}.schedule-scope-selector{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.6rem;align-items:center;min-width:0;min-height:3.35rem;padding:.35rem .65rem;color:#412a22;text-align:left;border:2px solid #927651;background:#d6bf8b;cursor:pointer}.schedule-scope-selector strong{overflow:hidden;font-size:.86rem;text-overflow:ellipsis}.schedule-scope-selector small{color:#6b4638;font-size:.65rem;font-weight:900;white-space:nowrap}.schedule-scope-selector:hover,.schedule-scope-selector.selected{border-color:#bc855c;background:#e7d6ad}.schedule-scope-selector.active{color:#fff4c7;border-color:#bc855c;background:#651f2f}.schedule-scope-selector.active small{color:#efdba9}.task-type-icon{display:inline-block;flex:0 0 auto;width:2.8rem;aspect-ratio:1;background-color:#f4e9c8;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20432%2048'%20shape-rendering='crispEdges'%3e%3cdefs%3e%3cstyle%3e%20.o{stroke:%23321e1a;stroke-width:3;stroke-linejoin:round;stroke-linecap:square}.p{fill:%23f3dfaa}.b{fill:%236b3429}.r{fill:%23a64b37}.g{fill:%23d59a31}.d{fill:%23321e1a}.s{fill:%23687044}.m{fill:%23817469}.n{fill:none}%20%3c/style%3e%3c/defs%3e%3c!--%200:%20weekly%20overview%20--%3e%3cg%20transform='translate(0)'%3e%3crect%20class='p%20o'%20x='6'%20y='7'%20width='36'%20height='35'/%3e%3crect%20class='r'%20x='7'%20y='8'%20width='34'%20height='8'/%3e%3cpath%20class='n%20o'%20d='M14%204v8m20-8v8M14%2021h20M14%2028h20M14%2035h20M19%2017v24M29%2017v24'/%3e%3c/g%3e%3c!--%201:%20barn%20--%3e%3cg%20transform='translate(48)'%3e%3cpath%20class='r%20o'%20d='M4%2021%2024%205l20%2016-5%205H9z'/%3e%3cpath%20class='b%20o'%20d='M9%2021h30v23H9z'/%3e%3crect%20class='d'%20x='17'%20y='27'%20width='14'%20height='17'/%3e%3cpath%20class='n%20o'%20d='m18%2028%2012%2014m0-14L18%2042'/%3e%3crect%20class='g'%20x='21'%20y='14'%20width='6'%20height='6'/%3e%3c/g%3e%3c!--%202:%20smokehouse%20--%3e%3cg%20transform='translate(96)'%3e%3cpath%20class='r%20o'%20d='M5%2023%2024%2010l19%2013-4%204H9z'/%3e%3cpath%20class='b%20o'%20d='M9%2024h30v20H9z'/%3e%3crect%20class='d'%20x='18'%20y='28'%20width='12'%20height='16'/%3e%3crect%20class='r%20o'%20x='31'%20y='5'%20width='7'%20height='12'/%3e%3cpath%20class='n%20o'%20d='M35%205c-4-3%204-5%200-8m5%209c5-4-2-6%202-9'%20stroke='%23817469'/%3e%3cpath%20class='n%20o'%20d='M12%2030h5m-5%206h5m15-6h5m-5%206h5'/%3e%3c/g%3e%3c!--%203:%20yard%20/%20vehicle%20--%3e%3cg%20transform='translate(144)'%3e%3cpath%20class='s%20o'%20d='M4%2030V17h20l7%207h10v13H6z'/%3e%3cpath%20class='p%20o'%20d='M24%2018v10h13l-7-10z'/%3e%3crect%20class='g%20o'%20x='7'%20y='21'%20width='13'%20height='8'/%3e%3ccircle%20class='d%20o'%20cx='13'%20cy='38'%20r='5'/%3e%3ccircle%20class='d%20o'%20cx='35'%20cy='38'%20r='5'/%3e%3cpath%20class='b%20o'%20d='M4%2015h17v5H4z'/%3e%3c/g%3e%3c!--%204:%20cleaning%20--%3e%3cg%20transform='translate(192)'%3e%3cpath%20class='m%20o'%20d='M21%2015h21l-3%2027H24z'/%3e%3cpath%20class='n%20o'%20d='M24%2017c1-12%2015-12%2017%200'/%3e%3cpath%20class='g%20o'%20d='m5%2031%2023-12%204%207L9%2038z'/%3e%3cpath%20class='g%20o'%20d='m8%2036%204%208m3-12%204%208m3-12%204%208'/%3e%3c/g%3e%3c!--%205:%20breakdown%20--%3e%3cg%20transform='translate(240)'%3e%3cpath%20class='n%20o'%20d='M19%204c-7%200-7%209%200%209h5'/%3e%3cpath%20class='r%20o'%20d='M21%2012c-8%208-10%2022-3%2030%2011%202%2017-7%2014-16-2-6-4-10-3-14z'/%3e%3cpath%20class='p'%20d='M23%2016c-4%207-5%2015-2%2021%205%200%208-5%207-10z'/%3e%3cpath%20class='m%20o'%20d='m35%207%207-3-2%2025-5%204z'/%3e%3crect%20class='b%20o'%20x='34'%20y='31'%20width='7'%20height='13'/%3e%3c/g%3e%3c!--%206:%20product%20making%20--%3e%3cg%20transform='translate(288)'%3e%3cpath%20class='m%20o'%20d='M8%208h20l-3%208H11zM12%2016h16v16H12z'/%3e%3crect%20class='m%20o'%20x='25'%20y='20'%20width='12'%20height='8'/%3e%3cpath%20class='n%20o'%20d='M29%2017v-6h9v9m0-9%205-4'/%3e%3cpath%20class='r%20o'%20d='M38%2028c8%202%206%2010%200%209-4-1-8%201-7%207H17c-2-9%207-13%2014-10'/%3e%3cpath%20class='n%20o'%20d='M12%2032v12m13-12v12'/%3e%3c/g%3e%3c!--%207:%20smoking%20--%3e%3cg%20transform='translate(336)'%3e%3cpath%20class='b%20o'%20d='M7%208h34v36H7z'/%3e%3cpath%20class='n%20o'%20d='M12%2015h24M16%2015v8m8-8v8m8-8v8'%20stroke='%23f3dfaa'/%3e%3cpath%20class='r%20o'%20d='M12%2023c0%209%201%2015%205%2015s5-6%205-15zm10%200c0%2010%204%2015%207%2012%203-4%202-8-1-12zm9%200c-1%208%200%2014%204%2015%203-5%202-10%201-15z'/%3e%3cpath%20class='n%20o'%20d='M13%205c-3-3%203-4%200-7m10%207c-3-3%203-4%200-7m10%207c-3-3%203-4%200-7'%20stroke='%23d59a31'/%3e%3c/g%3e%3c!--%208:%20delivery%20--%3e%3cg%20transform='translate(384)'%3e%3cpath%20class='r%20o'%20d='M4%2029V16h22l7%208h10v14H5z'/%3e%3cpath%20class='p%20o'%20d='M26%2017v11h13l-7-11z'/%3e%3cpath%20class='g%20o'%20d='M7%208h9v9H7zm10%203h9v7h-9z'/%3e%3ccircle%20class='d%20o'%20cx='13'%20cy='39'%20r='5'/%3e%3ccircle%20class='d%20o'%20cx='36'%20cy='39'%20r='5'/%3e%3cpath%20class='n%20o'%20d='M7%2032h10m16%200h8'/%3e%3c/g%3e%3c/svg%3e");background-repeat:no-repeat;background-size:900% 100%;border:1px solid #927651;border-radius:2px}.task-type-icon-0{background-position:0 0}.task-type-icon-1{background-position:12.5% 0}.task-type-icon-2{background-position:25% 0}.task-type-icon-3{background-position:37.5% 0}.task-type-icon-4{background-position:50% 0}.task-type-icon-5{background-position:62.5% 0}.task-type-icon-6{background-position:75% 0}.task-type-icon-7{background-position:87.5% 0}.task-type-icon-8{background-position:100% 0}.schedule-smokehouse-toolbar{display:flex;gap:.5rem;align-items:center;min-height:3rem;margin-top:.35rem;padding:.25rem .4rem;border:1px solid #927651;background:#cfb77f}.schedule-smokehouse-title{font-size:.68rem}.schedule-smokehouse-field-label{font-size:.68rem;font-weight:900;white-space:nowrap}.schedule-facility-option{display:grid;grid-template-columns:1fr auto;gap:.7rem;width:100%;margin-top:.3rem;padding:.55rem;color:#2b1716;text-align:left;font-size:.62rem;font-weight:900;border:2px solid #765f3f;background:#e7d6ad;cursor:pointer}.schedule-facility-option:hover,.schedule-facility-option.selected{color:#fff4c7;border-color:#bc855c;background:#651f2f}.schedule-smokehouse-toolbar .schedule-facility-option{width:auto;min-width:14rem;min-height:2.3rem;margin:0;padding:.35rem .5rem;font-size:.6rem;border-width:1px}.schedule-smokehouse-toolbar .schedule-facility-value-only{display:block;min-width:11rem;text-align:center}.schedule-smokehouse-toolbar .smokehouse-policy-note{flex:1;min-width:0;margin:0;padding:.25rem .4rem;border-width:0 0 0 3px}.schedule-smokehouse-toolbar .smokehouse-policy-note strong{display:none}.schedule-smokehouse-toolbar .smokehouse-policy-note p{overflow:hidden;margin:0;font-size:.62rem;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.schedule-grid{flex:1;min-height:0;margin-top:.3rem}.schedule-grid .work-grid-scroll{height:100%;overflow:hidden}.schedule-grid .work-grid{height:100%;min-width:0}.schedule-grid .work-grid thead th{height:1.8rem;padding:.18rem .25rem;font-size:.75rem}.schedule-grid .work-grid thead .work-grid-facility-heading{font-size:.68rem}.schedule-grid .work-grid-day-heading,.schedule-grid .scheduler-day-name{width:7rem}.schedule-grid .scheduler-day-name{height:auto;padding:.28rem .4rem;font-size:.78rem;vertical-align:middle}.schedule-grid .work-grid-day-total{margin-top:.12rem;font-size:.62rem}.schedule-grid .work-grid-cell{position:relative;height:auto;padding:.12rem;vertical-align:middle}.scheduler-job-tile{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.5rem;align-items:center;width:100%;min-height:3.1rem;margin-bottom:.18rem;padding:.22rem .35rem;color:#2b1716;text-align:left;border:2px solid #765f3f;background:#e7d6ad;cursor:pointer}.scheduler-job-tile:last-of-type{margin-bottom:0}.scheduler-job-tile:hover,.scheduler-job-tile.selected{border-color:#bc855c;background:#f0dfb6}.scheduler-job-tile.active{color:#fff4c7;border-color:#bc855c;background:#651f2f;box-shadow:inset 3px 0 #ffe36e}.scheduler-job-tile .task-type-icon{width:2.55rem}.scheduler-job-copy{display:grid;min-width:0}.scheduler-job-copy strong{font-size:.85rem;line-height:1.12;white-space:normal}.scheduler-job-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scheduler-job-copy small{margin-top:.12rem;color:#6b4638;font-size:.72rem;font-weight:900}.scheduler-job-tile.active .scheduler-job-copy small{color:#efdba9}.scheduler-job-duration{font-size:.72rem;font-weight:900;white-space:nowrap}.scheduler-action,.scheduler-remove{min-height:2.1rem;padding:.3rem .5rem;color:#412a22;font-size:.68rem;font-weight:900;border:1px solid #765f3f;background:#e7d6ad;cursor:pointer}.scheduler-action:hover,.scheduler-action.selected{color:#fff4c7;background:#651f2f}.scheduler-action:disabled{cursor:not-allowed;opacity:.35}.scheduler-remove{margin-left:auto;color:#721f24;border:1px solid #9e3430;background:#efc997}.scheduler-remove:hover,.scheduler-remove.selected{color:#fff4c7;background:#8b2128}.scheduler-add{position:absolute;right:.14rem;bottom:.14rem;z-index:1;display:grid;place-items:center;width:2rem;height:2rem;padding:0;color:#5f4432;font-size:1rem;font-weight:900;border:1px dashed #927651;background:#e7d6adcc;cursor:pointer}.scheduler-add:hover,.scheduler-add.selected{color:#fff4c7;border-color:#bc855c;background:#651f2f}.scheduler-add-choices{display:flex;flex:1;gap:.25rem;min-width:0}.scheduler-add-choices .scheduler-action{flex:1;min-height:2.4rem;text-align:center}.scheduler-day-empty,.playback-day-empty{opacity:.72}.scheduler-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,23%);gap:.35rem;margin-top:.3rem}.schedule-job-inspector{display:grid;grid-template-columns:minmax(10rem,18%) minmax(10rem,22%) minmax(0,1fr);gap:.55rem;align-items:center;min-height:5.2rem;padding:.45rem .6rem;color:#f4e9c8;border:2px solid #bc855c;background:#472132}.schedule-job-inspector>.task-type-icon{width:2.7rem}.schedule-add-inspector{grid-template-columns:auto auto minmax(0,1fr)}.schedule-add-inspector-title{font-size:.58rem;white-space:nowrap}.schedule-inspector-empty{grid-column:2 / -1;margin:0;color:#efdba9;font-size:.72rem;font-weight:900}.schedule-inspector-heading{display:flex;gap:.45rem;align-items:center;min-width:0}.schedule-inspector-heading .task-type-icon{width:2.7rem}.schedule-inspector-heading-copy{display:grid;min-width:0}.schedule-inspector-heading-copy strong{font-size:.78rem}.schedule-inspector-heading-copy small{margin-top:.2rem;color:#efdba9;font-size:.62rem;font-weight:900}.schedule-inspector-forecast{margin:0;color:#efdba9;font-size:.62rem;font-weight:700;line-height:1.3}.schedule-inspector-controls{display:flex;gap:.3rem;align-items:stretch;justify-content:flex-end;min-width:0}.schedule-inspector-control{display:grid;grid-template-columns:auto auto auto;grid-template-rows:auto 1fr;align-items:center;min-width:6.5rem;border:1px solid #87654f}.schedule-inspector-label{grid-column:1 / -1;padding:.08rem .2rem;color:#efdba9;font-size:.55rem;font-weight:900;text-align:center;background:#29151d}.schedule-inspector-control .scheduler-action{min-height:2.4rem;padding-inline:.35rem;border:0}.schedule-inspector-value{min-width:2.7rem;color:#fff4c7;text-align:center;font-size:.68rem}.schedule-inspector-policy{display:grid;align-content:center;min-width:8rem;padding:.2rem .4rem;color:#fff4c7;border:1px solid #87654f;background:#651f2f;cursor:pointer}.schedule-inspector-policy small{color:#efdba9;font-size:.55rem}.schedule-inspector-policy strong{margin-top:.12rem;font-size:.65rem}.schedule-inspector-policy:hover,.schedule-inspector-policy.selected{border-color:#ffe36e;background:#7b2637}.schedule-inspector-remove{align-self:stretch;min-height:0;margin:0}.scheduler-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .7rem;padding:.25rem .45rem;border:2px solid #765f3f;background:#ddc897}.scheduler-summary .metric{min-width:0;padding:.18rem 0}.scheduler-summary .metric-label,.scheduler-summary .metric-value{overflow:hidden;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.equipment-view{margin-bottom:1.25rem}.market-view{display:flex;flex-direction:column;min-height:0;height:100%}.market-title{margin:0;color:#2b1716;font-size:1.7rem}.market-help{margin:.2rem 0 .55rem;color:#6b4638;font-size:.7rem;font-weight:800;line-height:1.35}.market-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 1rem;padding:.4rem .7rem;border:2px solid #765f3f;background:#ddc897}.market-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:.7rem 0}.market-empty{grid-column:1 / -1;margin:0;padding:.7rem;border:2px solid #765f3f;color:#472132;background:#ddc897;font-size:.8rem;font-weight:800;line-height:1.4}.market-offer{display:grid;grid-template-columns:1fr auto;gap:.2rem .7rem;min-width:0;padding:.75rem;color:#2b1716;text-align:left;border:3px solid #927651;background:#d6bf8b;cursor:pointer}.market-offer:hover,.market-offer.selected{border-color:#651f2f}.market-offer.active{color:#fff3b0;border-color:#bc855c;background:#472132}.market-offer-supplier{grid-column:1 / -1;min-height:2.2rem;color:inherit;font-size:.9rem}.market-offer-item{grid-column:1 / -1;margin-bottom:.3rem;font-size:.68rem;font-weight:900}.market-offer-pickup{grid-column:1 / -1;font-size:.62rem;font-weight:800}.market-offer .metric{padding:.22rem 0;border-color:color-mix(in srgb,currentColor 28%,transparent)}.market-offer-total{grid-column:1 / -1;margin-top:.45rem;padding:.55rem;color:#fff3b0;text-align:center;font-size:.78rem;font-weight:900;background:#651f2f}.equipment-title{margin:0;font-size:clamp(1.4rem,3vw,2.2rem)}.equipment-help{margin:.4rem 0 1rem;color:#6b4638;font-size:.72rem;font-weight:700;line-height:1.4}.facility-list{display:grid;gap:.75rem}.facility-card{padding:.85rem;border:2px solid #765f3f;background:#ddc897}.facility-name{margin:0 0 .65rem;color:#651f2f;font-size:.9rem}.work-area-equipment{margin-top:.7rem;padding-top:.6rem;border-top:1px dotted #765f3f}.work-area-name{margin:0;font-size:.76rem}.work-area-cleanliness{margin:.2rem 0 .45rem;color:#6b4638;font-size:.62rem;font-weight:700}.work-area-equipment .metric{font-size:.68rem}.equipment-effect{margin-top:.8rem;padding:.75rem;color:#6c1e21;border:2px solid #9e3430;background:#f0cf9f}.equipment-effect p{margin:.35rem 0 0;font-size:.68rem;font-weight:700}.crew-roster{margin-bottom:1.5rem}.crew-title{margin:0 0 1rem;font-size:clamp(1.4rem,3vw,2.2rem)}.crew-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.crew-card{padding:.85rem;border:2px solid #765f3f;background:#ddc897}.crew-card h2{margin:0;font-size:1rem}.crew-role{min-height:2.2rem;margin:.35rem 0 .8rem;color:#6b4638;font-size:.7rem;font-weight:700}.crew-card .metric{display:grid;gap:.15rem}.crew-card .metric-value{text-align:left}.crew-skills{margin:.6rem 0;padding:.45rem 0;border-block:1px solid #927651}.crew-skills .metric{grid-template-columns:1fr auto;padding:.2rem 0;border:0}.crew-skills .metric-value{text-align:right}.crew-schedule{min-height:2.4rem;margin:.7rem 0 0;font-size:.68rem;font-weight:700;line-height:1.35}.crew-known-absence{border-color:#9e3430;background:#efc997}.priority-matrix-section{margin-top:1.25rem;padding-top:1rem;border-top:3px double #765f3f}.priority-matrix-title{margin:0;font-size:1rem;letter-spacing:.08em}.priority-help{margin:.35rem 0 .8rem;color:#6b4638;font-size:.68rem;font-weight:700}.priority-matrix-scroll{overflow-x:auto}.priority-matrix{width:100%;min-width:600px;border-collapse:collapse;background:#ddc897}.priority-matrix th,.priority-matrix td{padding:.45rem;text-align:center;border:1px solid #927651}.priority-matrix thead th{color:#f2dda8;font-size:.68rem;letter-spacing:.05em;background:#472132}.priority-area-heading{width:10rem}.priority-operation-heading{width:12rem}.priority-area-name{color:#651f2f;text-align:left!important;font-size:.68rem;background:#cfb77f}.priority-operation-name{color:#2b1716;text-align:left!important;font-size:.72rem;background:#ddc897}.priority-worker-absent{opacity:.7}.priority-absence-note{display:block;margin-top:.2rem;color:#e5a98a;font-size:.52rem}.priority-cell{width:2.5rem;height:2.5rem;color:#2b1716;font-weight:900;border:2px solid #765f3f;background:#e7d6ad;cursor:pointer}.priority-cell:hover,.priority-cell.selected{color:#fff4c7;border-color:#bc855c;background:#651f2f}.matrix-back{display:block;width:100%;margin-top:.8rem;padding:.7rem;color:#2b1716;text-align:left;font-weight:900;border:2px solid transparent;background:transparent;cursor:pointer}.matrix-back:hover,.matrix-back.selected{color:#fff4c7;border-color:#bc855c;background:#4a1f2d}.week-playback{margin-bottom:1.5rem}.playback-title{margin:0;font-size:clamp(1.4rem,3vw,2.2rem)}.playback-clock{margin:.6rem 0;color:#651f2f;font-size:clamp(1.1rem,3vw,1.8rem);font-weight:900}.playback-complete{margin:.5rem 0 1rem;padding:.65rem;color:#fff4c7;text-align:center;font-size:.72rem;font-weight:900;letter-spacing:.05em;background:#651f2f}.playback-progress{height:.8rem;margin-bottom:1.2rem;border:2px solid #765f3f;background:#c4a978}.playback-progress-fill{height:100%;background:#651f2f;transition:width .1s linear}.event-feed{min-width:0;margin-top:1rem}.event-feed h2{font-size:.85rem;letter-spacing:.08em}.playback-work-grid .task-status{color:#6b4638;font-size:.54rem;font-weight:900}.task-pending{opacity:.62}.task-active{color:#fff4c7;border-color:#bc855c;background:#651f2f;box-shadow:0 0 0 2px #d5a45d55}.task-completed .task-status{color:#416329}.playback-event{margin:0 0 .5rem;padding:.55rem;border-left:4px solid #765f3f;background:#ddc897;font-size:.76rem;line-height:1.35}.event-absence,.event-spoilage{border-color:#a13232;background:#efc997}.event-waiting{color:#6b4638;font-style:italic}.key-help{padding:.8rem;color:#efdba9;text-align:center;font-size:.75rem;font-weight:700;letter-spacing:.06em;background:#211a21}@media(min-width:1920px)and (min-height:1080px){.desk{width:1920px;height:1080px;zoom:var(--kielbasa-desktop-scale, 1)}}@media(min-width:761px)and (max-height:800px){.schedule-scope-selector{min-height:2.6rem;padding:.22rem .45rem}.schedule-scope-selector .task-type-icon{width:2rem}.schedule-scope-selector strong{font-size:.72rem}.schedule-smokehouse-toolbar{min-height:2.2rem}.schedule-smokehouse-toolbar>.task-type-icon{width:1.8rem}.schedule-smokehouse-toolbar .schedule-facility-option{min-height:1.8rem}.scheduler-job-tile{min-height:2.3rem;padding:.14rem .22rem;border-width:1px}.scheduler-job-tile .task-type-icon{width:1.9rem}.scheduler-job-copy strong{font-size:.68rem}.scheduler-job-copy small,.scheduler-job-duration{font-size:.58rem}.schedule-job-inspector{min-height:4.1rem;padding:.3rem .45rem}.schedule-inspector-heading .task-type-icon{width:2rem}}@media(max-width:760px){.desk{width:100vw;height:100dvh}.columns{grid-template-columns:1fr}.paper{padding:.35rem}.ledger{display:none}.masthead{padding:.4rem .55rem;font-size:.58rem;border-bottom-width:3px}.key-help{padding:.25rem;font-size:.48rem}.title-screen{padding:.5rem;border-width:4px}.crew-cards,.consumption{grid-template-columns:1fr}.market-title{font-size:1.2rem}.market-help{margin-bottom:.4rem;font-size:.65rem}.market-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:.12rem .3rem;border-width:1px}.market-offers{grid-template-columns:1fr;gap:.4rem;margin:.4rem 0}.market-empty{padding:.5rem;border-width:1px;font-size:.7rem}.market-offer{grid-template-columns:repeat(3,minmax(0,1fr));gap:.15rem .4rem;padding:.5rem;border-width:2px}.market-offer-supplier{min-height:0;font-size:.8rem}.market-offer-item{grid-column:1 / 3;grid-row:2;margin:0;font-size:.65rem}.market-offer-pickup{grid-column:3;grid-row:2;font-size:.6rem;text-align:right}.market-offer .metric{display:grid;grid-template-columns:1fr;gap:.1rem;padding:.2rem 0}.market-offer .metric-label{font-size:.6rem}.market-offer .metric-value{font-size:.8rem;text-align:left}.market-offer-total{margin-top:.1rem;padding:.4rem;font-size:.7rem}.plan-dashboard-title{font-size:1rem}.plan-dashboard-help{display:none}.plan-control-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:.2rem}.plan-control-card{padding:.2rem;border-width:1px}.plan-control-card-title{min-height:1.45rem;font-size:.58rem}.plan-control-card-help{display:none}.plan-control-card-note{padding-top:.15rem;font-size:.39rem}.plan-section-option{grid-template-columns:0 minmax(0,1fr) auto;gap:.12rem;min-height:2.55rem;padding:.18rem;font-size:.53rem;border-width:1px}.plan-section-option .option-label{font-size:0}.plan-section-option .option-label:after{content:attr(data-short-label);font-size:.53rem}.plan-week-overview{grid-template-columns:minmax(0,1fr) 5.4rem;gap:.2rem;margin-top:.2rem}.plan-main-stats{gap:0 .25rem;padding:.12rem .25rem;border-width:1px}.plan-main-stats .metric{display:grid;gap:.03rem;padding:.08rem 0}.plan-main-stats .metric-label,.plan-main-stats .metric-value{text-align:left;font-size:.42rem}.plan-week-decision{display:flex;padding:.2rem;border-width:1px}.plan-week-decision>strong,.plan-week-decision>p{display:none}.plan-commit{min-height:2.55rem;font-size:.48rem}.plan-forecast{margin-top:.2rem;padding-top:.2rem}.plan-forecast-title{font-size:.58rem}.forecast-disclaimer{margin:.08rem 0 .15rem;font-size:.4rem}.compact-plan-forecast{border-width:1px}.compact-forecast-grid th,.compact-forecast-grid td{padding:.06rem .1rem}.compact-forecast-grid thead th{font-size:.42rem}.compact-forecast-grid .work-grid-day-heading,.compact-forecast-day{width:2.7rem}.compact-forecast-day{font-size:.46rem}.compact-forecast-day small{font-size:.36rem}.compact-forecast-entry,.compact-forecast-entry strong{font-size:.44rem}.compact-forecast-empty{font-size:.4rem}.weekly-scheduler{font-size:.7rem}.scheduler-heading{gap:.2rem}.scheduler-title{font-size:.86rem}.scheduler-help{display:none}.scheduler-back{min-height:2.25rem;padding:.25rem .45rem;font-size:.65rem}.schedule-scope-selectors{gap:.12rem;margin-top:.15rem}.schedule-scope-selector{grid-template-columns:auto minmax(0,1fr);gap:.16rem;min-height:2.55rem;padding:.12rem;border-width:1px}.schedule-scope-selector .task-type-icon{width:1.75rem}.schedule-scope-selector strong{font-size:.58rem}.schedule-scope-selector small{display:none}.schedule-smokehouse-toolbar{min-height:1.85rem;margin-top:.12rem;padding:.1rem}.schedule-smokehouse-toolbar>.task-type-icon,.schedule-smokehouse-title,.schedule-smokehouse-toolbar .smokehouse-policy-note{display:none}.schedule-smokehouse-field-label{font-size:.55rem}.schedule-smokehouse-toolbar .schedule-facility-option{flex:1;min-width:0;padding:.2rem;font-size:.55rem}.schedule-grid{margin-top:.12rem}.schedule-grid .work-grid-scroll{border-width:1px}.schedule-grid .work-grid thead th{height:1.35rem;padding:.06rem;font-size:.55rem;letter-spacing:0}.schedule-grid .work-grid thead .work-grid-facility-heading{font-size:.48rem}.schedule-grid .work-grid-day-heading,.schedule-grid .scheduler-day-name{width:2.7rem}.schedule-grid .scheduler-day-name{padding:.08rem;font-size:.5rem}.schedule-grid .work-grid-day-total{font-size:.42rem}.schedule-grid .work-grid-cell{padding:.05rem}.scheduler-job-tile{grid-template-columns:auto minmax(0,1fr);gap:.12rem;min-height:2.25rem;margin-bottom:.05rem;padding:.08rem;border-width:1px}.scheduler-job-tile .task-type-icon{width:1.7rem}.scheduler-job-copy strong{font-size:.58rem}.scheduler-job-copy small{font-size:.48rem}.scheduler-job-duration,.schedule-scope-all .scheduler-job-tile .task-type-icon{display:none}.weekly-scheduler:not(.schedule-scope-all) .schedule-grid .work-grid thead th{font-size:.65rem}.weekly-scheduler:not(.schedule-scope-all) .schedule-grid .scheduler-day-name{width:3.6rem;font-size:.62rem}.weekly-scheduler:not(.schedule-scope-all) .schedule-grid .work-grid-day-total{font-size:.5rem}.weekly-scheduler:not(.schedule-scope-all) .scheduler-job-tile{grid-template-columns:auto minmax(0,1fr) auto;min-height:2.75rem;padding:.14rem}.weekly-scheduler:not(.schedule-scope-all) .scheduler-job-tile .task-type-icon{width:2.1rem}.weekly-scheduler:not(.schedule-scope-all) .scheduler-job-copy strong{font-size:.75rem}.weekly-scheduler:not(.schedule-scope-all) .scheduler-job-copy small{font-size:.62rem}.weekly-scheduler:not(.schedule-scope-all) .scheduler-job-duration{display:block;font-size:.58rem}.scheduler-add{right:.03rem;bottom:.03rem;width:1.6rem;height:1.6rem;font-size:.75rem}.scheduler-add-choices{gap:.08rem}.scheduler-add-choices .scheduler-action{min-height:2.5rem;padding:.1rem;font-size:.6rem}.work-grid-empty{padding:0;font-size:.32rem}.scheduler-bottom{grid-template-columns:minmax(0,1fr);gap:.12rem;margin-top:.12rem}.schedule-job-inspector{grid-template-columns:minmax(4.5rem,25%) minmax(0,1fr);gap:.15rem;min-height:4.6rem;padding:.15rem;border-width:1px}.schedule-job-inspector>.task-type-icon{width:1.8rem}.schedule-add-inspector{grid-template-columns:auto minmax(0,1fr)}.schedule-add-inspector-title{display:none}.schedule-inspector-empty{margin-left:.15rem;font-size:.55rem}.schedule-inspector-heading{gap:.15rem}.schedule-inspector-heading .task-type-icon{width:1.65rem}.schedule-inspector-heading-copy strong{font-size:.65rem}.schedule-inspector-heading-copy small{font-size:.52rem}.schedule-inspector-forecast{display:none}.schedule-inspector-controls{gap:.08rem}.schedule-inspector-control{min-width:0}.schedule-inspector-label{font-size:.45rem}.schedule-inspector-control .scheduler-action{min-width:1.4rem;min-height:2.5rem;padding:.1rem;font-size:.65rem}.schedule-inspector-value{min-width:1.8rem;font-size:.58rem}.schedule-inspector-policy{min-width:3.5rem;min-height:2.8rem;padding:.1rem}.schedule-inspector-policy small{font-size:.45rem}.schedule-inspector-policy strong{font-size:.55rem}.schedule-inspector-remove{min-width:2.4rem;font-size:.55rem}.scheduler-summary{display:none}.forecast-summary{grid-template-columns:1fr}.consumption h2{grid-column:auto}}.farm-view{max-width:1100px;margin:0 auto}.farm-view h1{font-size:1.5rem;margin:0 0 .6rem}.farm-view p{font-size:.8rem;line-height:1.5}.farm-stock{border-block:2px solid #765f3f;padding:.8rem 0;font-weight:700}.farm-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.farm-option{display:block;text-align:left;white-space:normal;font-size:.78rem;padding:.7rem;border:1px solid #765f3f}.farm-option:disabled{opacity:.5}.ledger{overflow-y:auto}.market-offers{overflow-y:auto;min-height:0;flex-shrink:1}@media(max-width:760px){.farm-view p{font-size:.65rem}.farm-controls{grid-template-columns:1fr}.farm-option{font-size:.65rem;padding:.6rem}.market-offers{flex:1}}.farm-reservation{font-size:.55rem;padding:.12rem;color:#651f2f;border-bottom:1px dotted #927651}.place-navigation{display:flex;gap:12px;padding:12px 18px;background:#292522}.place-navigation button{padding:10px 16px;border:1px solid #b7a780;background:#ede0ba;color:#292522;cursor:pointer;font:inherit}.place-view h1{margin:0 0 16px}.place-view>p,.place-card p{line-height:1.6}.place-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.place-card{border:1px solid #ac9c77;background:#efe4c9;padding:12px;min-width:0}.place-card .menu-option{width:100%;display:flex;justify-content:space-between;gap:12px;white-space:normal;text-align:left}.place-card p{margin:10px 8px}.place-actions{display:grid;gap:12px;margin-top:20px}.week-plan-summary{border-left:4px solid #6c3927;padding:8px 20px;margin:24px 0;background:#e9ddc1}.shop-demand{width:100%;border-collapse:collapse;margin:24px 0}.shop-demand th,.shop-demand td{padding:12px 8px;border-bottom:1px solid #b7a780;text-align:left}.market-cargo{padding:16px;background:#e9ddc1;line-height:1.6}@media(max-width:700px){.place-cards{grid-template-columns:1fr}.place-navigation{padding:10px;gap:8px}.place-navigation button{padding:10px;font-size:12px}.place-card .menu-option{flex-wrap:wrap}}.desk:has(.place-navigation){grid-template-rows:auto auto minmax(0,1fr) auto}.paper:has(.plan-dashboard){overflow:auto}.plan-dashboard{height:auto;min-height:100%}.plan-control-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-dashboard-help{display:block;font-size:.85rem;line-height:1.6}.plan-control-card-note{font-size:.75rem;margin:12px 0}.place-actions .plan-commit{font-size:1rem;min-height:48px}@media(max-width:700px){.plan-control-cards{grid-template-columns:1fr}.plan-section-option{min-height:44px;font-size:.8rem}.plan-section-option .option-label:after{font-size:.8rem}.plan-control-card-title{font-size:.85rem}.plan-dashboard-help{font-size:.75rem}.plan-control-card-note{font-size:.7rem}}.farm-desktop{width:100%;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);color:#f4e9c8}.farm-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;background:#3b202d;border-bottom:3px solid #bd8b68}.farm-topbar-status{display:grid;gap:4px;font-size:13px;white-space:nowrap}.farm-topbar-status span{color:#ffe39a}.farm-topbar nav{display:flex;gap:5px;flex-wrap:wrap}.farm-topbar button{min-height:40px;padding:8px 12px;color:#f4e9c8;background:#512c3c;border:1px solid #976d59;cursor:pointer;font-weight:700;font-size:12px}.farm-topbar button:hover,.farm-topbar button[aria-pressed=true]{background:#e2c58e;color:#321c26}.farm-topbar-time{font-size:12px;white-space:nowrap}.farm-workspace{position:relative;min-height:0;overflow:hidden;background:#536d41;isolation:isolate}.farm-window{position:absolute;isolation:isolate}.farm-window[hidden]{display:none}.farm-window-frame{position:absolute;inset:0;pointer-events:none}.farm-window-content{position:absolute;z-index:1;overflow:auto;overscroll-behavior:contain;color:#211411;background:#e7d6ad}.farm-window-controls{position:absolute;inset:0;pointer-events:none}.farm-window-hit{position:absolute;opacity:0;padding:0;border:0;pointer-events:auto;cursor:pointer;touch-action:none}.farm-window-hit:focus-visible{opacity:.3;background:#ffe06e;outline:3px solid #fff}.farm-window-hit.hit-drag{cursor:move}.farm-window-hit.hit-resize{cursor:nwse-resize}.farm-window-content .paper{padding:14px;overflow:visible}.farm-window-content h1{font-size:20px;margin-top:2px}.farm-window-content p{line-height:1.5;font-size:13px}.farm-window-content .menu-option{font-size:13px;min-height:44px}.farm-window-content .place-actions{display:grid;grid-template-columns:1fr}.farm-window-content .plan-control-cards{grid-template-columns:1fr}.farm-window-content .weekly-scheduler{min-width:740px}@media(max-width:1050px){.farm-topbar{flex-wrap:wrap;gap:8px}.farm-topbar nav{order:3;width:100%}}@media(max-width:759px){.farm-topbar{padding:8px}.farm-topbar nav{display:grid;grid-template-columns:repeat(3,1fr)}.farm-topbar button{padding:7px 4px;font-size:10px}.farm-topbar-time{font-size:10px}.farm-window-content .paper{padding:8px}}.farm-window-content .ledger{display:block;overflow:visible;padding:0;background:transparent}.farm-topbar nav[aria-label="Kielbasa · wspólne widoki"] a{color:#d6e8ea;padding:6px;font-size:12px}.farm-map{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:#203126}.farm-map-3d{display:block;border:0;width:100%;height:100%}.farm-map-shortcuts{position:absolute;bottom:38px;left:12px;right:12px;display:flex;gap:6px;flex-wrap:wrap;pointer-events:none}.farm-map-shortcuts button{pointer-events:auto;padding:9px 12px;background:#30201fe8;color:#ffedb9;border:1px solid #b68d58;font:13px monospace;cursor:pointer}.farm-map-shortcuts button:hover{background:#674135}.farm-map-error{position:absolute;top:20px;left:20px;right:20px;padding:16px;background:#30201f;color:#ffe2b5;font:14px monospace}.ke-content{container-type:inline-size;min-height:100%}.ke-management{padding:18px;font:15px/1.5 system-ui,sans-serif;color:#2b2020}.ke-management *{box-sizing:border-box}.ke-management h2{font:700 21px/1.25 system-ui,sans-serif;margin:0 0 12px}.ke-management h3{font-size:17px}.ke-management p{font:inherit;margin:8px 0}.ke-section{margin-bottom:20px;min-width:0}.ke-section .ke-section{padding:14px;background:#f3e7cb;border:1px solid #c1aa7f;border-radius:6px;margin:12px 0}.ke-section .ke-section h2{font-size:17px}.ke-management button{font:600 14px system-ui,sans-serif;min-height:40px;padding:8px 12px;border:1px solid #93704f;border-radius:4px;color:#3a2730;background:#fff6df;cursor:pointer;margin:4px 8px 4px 0}.ke-management button:hover:not(:disabled){background:#e5cc95}.ke-management button:disabled{color:#887d69;background:#e0d5bc;cursor:default;opacity:.65}.ke-management :focus-visible{outline:3px solid #266bb2;outline-offset:2px}.ke-management input,.ke-management select{font:inherit;color:inherit;accent-color:#663046}.ke-management input[type=number],.ke-management input[type=time],.ke-management select{min-height:40px;padding:6px 8px;border:1px solid #927651;border-radius:4px;background:#fffaf0;min-width:0;max-width:100%}.ke-management .ke-muted{color:#65594b;font-size:14px}.ke-note{padding:10px 12px;border-left:3px solid #a97427;background:#fff0cb}.ke-error{position:sticky;top:0;z-index:2;padding:12px;background:#fff0ee;border:2px solid #ad443a;color:#742c27}.ke-metric{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px solid #cbb58e}.ke-metric strong{text-align:right}.ke-check{display:flex;gap:10px;align-items:center;margin:12px 0;cursor:pointer}.ke-check input{width:20px;height:20px;flex:0 0 20px}.ke-select{display:grid;gap:5px;margin:12px 0}.ke-quantity{border:1px solid #c1aa7f;border-radius:5px;margin:12px 0;padding:8px 12px;min-width:0}.ke-quantity legend{padding:0 5px;font-weight:650}.ke-number-row{display:flex;align-items:center;gap:8px}.ke-number-row input{width:100%}.ke-number-row button{margin:0;min-width:40px}.ke-quantity input[type=range]{display:block;width:100%;margin:12px 0 6px}.ke-quantity small{color:#65594b}.ke-management details{margin-top:12px}.ke-management summary{cursor:pointer;padding:8px 0}.ke-management table{border-collapse:collapse;width:100%;font:inherit}.ke-management th,.ke-management td{padding:8px;text-align:left;border-bottom:1px solid #c1aa7f;overflow-wrap:anywhere}.ke-management .ke-priorities{table-layout:fixed;width:min(100%,370px);font-size:13px}.ke-management .ke-priorities th,.ke-management .ke-priorities td{padding:2px 4px;height:32px}.ke-priorities th:first-child{width:43%}.ke-priorities td,.ke-priorities thead th:not(:first-child){text-align:center}.ke-priorities tbody tr:hover{background:#e9d9b8}.ke-management .ke-priority-cell{display:block;width:100%;min-height:28px;height:28px;padding:0;margin:0;border-radius:2px;font-size:14px;font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none}.ke-priority-cell[data-rank="1"]{background:#d4dfb9;color:#283818;border-color:#718449}.ke-priority-cell[data-rank=forbidden]{background:#e4dbc9;color:#72624e;border-color:#beae92}.ke-plan-summary{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.ke-plan-summary .ke-metric{flex-direction:column;gap:0}.ke-plan-summary strong{text-align:left}.ke-plan-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.ke-plan-board .ke-plan-day{margin:0;min-height:140px}.ke-reservation{font-size:12px!important;color:#6a5945;border-bottom:1px dashed #baa57f;padding-bottom:10px}.ke-job{border:1px solid #b69865;border-radius:5px;background:#fff7e5;padding:8px}.ke-job>summary{font-size:14px}.ke-job .ke-drag-job{display:inline-block;min-height:32px;padding:4px 6px;cursor:grab;font-size:12px}.ke-drop-target{outline:3px dashed #276d98;background:#deecdf!important}.ke-management .ke-primary{color:#fff7e5;background:#603044;font-size:17px;padding:12px 22px}.ke-management .ke-primary:hover:not(:disabled){background:#81415b}@container (max-width: 520px){.ke-management{padding:12px;font-size:14px}.ke-plan-board,.ke-plan-summary{grid-template-columns:1fr}.ke-plan-summary{gap:4px}.ke-plan-summary .ke-metric{flex-direction:row}.ke-management th,.ke-management td{padding:5px 3px;font-size:12px}}.farm-topbar{flex-wrap:wrap}.farm-topbar nav{flex-wrap:wrap}.farm-topbar button{text-transform:none;font:600 13px system-ui,sans-serif}.farm-topbar button[aria-pressed=true]{background:#855266}@media(max-width:700px){.farm-topbar nav{display:flex;gap:4px}.farm-topbar button{padding:6px 8px;min-height:36px}}.farm-topbar{position:relative;z-index:100}.farm-nav-group{position:relative}.farm-nav-group>summary{list-style:none;display:flex;align-items:center;min-height:40px;padding:8px 12px;color:#f4e9c8;background:#512c3c;border:1px solid #976d59;cursor:pointer;font:600 13px system-ui,sans-serif;box-sizing:border-box}.farm-nav-group>summary::-webkit-details-marker{display:none}.farm-nav-group>summary:hover,.farm-nav-group[open]>summary{background:#e2c58e;color:#321c26}.farm-nav-group>summary[data-active=true]{background:#855266}.farm-topbar :focus-visible{outline:3px solid #7cb9ff;outline-offset:2px}.farm-nav-dropdown{position:fixed;z-index:101;overflow-y:auto;padding:6px;box-sizing:border-box;background:#fff8e6;color:#2b2020;border:2px solid #976d59;box-shadow:4px 5px #321c2666}.farm-topbar .farm-nav-dropdown button{display:block;width:100%;text-align:left;white-space:normal;background:transparent;color:#2b2020;border:0}.farm-topbar .farm-nav-dropdown button:hover{background:#e2c58e}.farm-nav-heading{display:block;padding:10px 12px 4px;font:700 13px system-ui,sans-serif;border-top:1px solid #d8c393}.farm-topbar .farm-nav-dropdown .farm-nav-nested{padding-left:24px}@media(max-width:700px){.farm-nav-group>summary{padding:6px 8px;min-height:36px}}.region-browser{padding:16px;color:#b7cdb8;font-family:monospace;background:#07130f;border:1px solid #345345}.region-browser h1{margin:0;font-size:21px;letter-spacing:.18em;color:#d2e6cb}.region-browser>header p{margin:7px 0 16px;color:#7e9e88}.region-tools{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.region-tools button,.region-tools select,.region-tools input,.region-sidebar select{font:13px monospace;background:#0c2119;color:#c3d9c1;border:1px solid #466551;padding:8px}.region-tools input{flex:1;min-width:130px}.region-tools button{cursor:pointer}.region-tools button:hover{border-color:#ecb14d;color:#f0c675}.region-tools input::placeholder{color:#8ba08e}.region-body{display:grid;grid-template-columns:minmax(0,1fr) 225px;gap:16px}.region-canvas{width:100%;height:clamp(330px,48vh,500px);background:#06110d;border:1px solid #304b3b;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.region-canvas:active{cursor:grabbing}.region-canvas [role=button]{cursor:pointer}.region-canvas:focus-visible{outline:2px solid #edbd65}.region-sidebar{min-width:0;border-left:1px solid #304b3b;padding-left:14px}.region-sidebar select{width:100%;height:230px;font-size:12px;padding:3px}.region-sidebar option:checked{background:#b17a2e;color:#fff4db}.region-details{padding:12px 0;line-height:1.65;font-size:13px;border-top:1px solid #304b3b;margin-top:14px}.region-details h2{font-size:16px;color:#edbd65;margin:6px 0}.region-count{font-size:12px;color:#8da98e}.region-browser>p{font-size:12px;line-height:1.5;color:#829887}.strategic-land{fill:#0a1912;stroke:none}.strategic-grid{fill:none;stroke:#477955;stroke-width:.6;opacity:.65}.strategic-forest{fill:#0e2c20;fill-opacity:.7;stroke:#54795a;stroke-width:.7}.strategic-field{fill:none;stroke:#46543a;stroke-width:.45;opacity:.5}.strategic-water{fill:#0a2830;stroke:#548e8a;stroke-width:1}.strategic-road-bed{fill:none;stroke:#07130f;stroke-width:3.6;stroke-linejoin:round;stroke-linecap:round}.strategic-road{fill:none;stroke:#96ac83;stroke-width:1.05;stroke-linejoin:round;stroke-linecap:round}.strategic-building{fill:none;stroke:#c4d4b1;stroke-width:.75}@media(max-width:650px){.region-browser{padding:8px}.region-body{grid-template-columns:minmax(0,1fr)}.region-canvas{height:390px}.region-sidebar{border-left:0;padding-left:0}.region-sidebar select{height:100px}}.strategic-exit-road{fill:none;stroke:#d6b66c;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.strategic-exit-label{fill:#d6c38f;font:100px monospace;paint-order:stroke;stroke:#07130f;stroke-width:18px;stroke-linejoin:round;pointer-events:none}.start-estate-picker{max-width:920px;margin:12px auto;padding:18px;background:#071710;color:#c4dac0;font:14px monospace;text-align:left}.start-estate-picker select{padding:10px;background:#14291d;color:#ffe4a1;border:1px solid #85996f;font:16px monospace;width:100%}.start-estate-picker .region-canvas{height:270px;cursor:default}.start-estate-picker p{line-height:1.5}.region-canvas [data-player-home] path{stroke:#ffdc78;fill:#70592b}.title-screen:has(.start-estate-picker){overflow-y:auto;display:block;padding:20px}.title-screen:has(.start-estate-picker) .title-art{height:150px;min-height:150px;max-width:920px;margin:auto}.title-screen:has(.start-estate-picker) .title-logo{transform:scale(.6)}.title-screen:has(.start-estate-picker){max-height:100dvh}
