:root{font-family:Inter,'Noto Sans KR',Arial,sans-serif;color:#253349;background:#f4f6fa;font-size:14px;--navy:#152c4d;--blue:#245cd5;--line:#e3e8ef}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{border:1px solid #d7dee8;background:white;color:#35445a;border-radius:6px;padding:8px 12px;cursor:pointer;display:inline-block;text-decoration:none}button:hover,.button:hover{background:#f0f4fa;border-color:#93a5c1}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #79a7ff;outline-offset:2px}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:#245cd5;color:white;border-color:#245cd5}input,select,textarea{padding:8px 9px;border:1px solid #d8e0eb;border-radius:5px;background:white;color:#253349;min-width:0}header{height:68px;padding:0 32px;display:flex;justify-content:space-between;align-items:center;background:#142b4b;color:white}.brand{display:flex;align-items:center;gap:13px;font-size:30px;font-weight:800;letter-spacing:-2px}.brand>span{border-left:1px solid #56708f;padding-left:13px;font-size:17px;letter-spacing:2px}.brand small{display:block;font-size:10px;letter-spacing:1.8px;font-weight:400;margin-top:4px;color:#c2cee1}.topright{display:flex;gap:8px;align-items:center}.topright>span{font-size:12px;color:#d0dbec;margin-right:12px}.topright button,.topright .button{background:#233d5d;color:#eaf0f8;border-color:#405570;padding:6px 10px}main{padding:25px 28px 14px;max-width:2200px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.eyebrow{color:#7a8aa1;font-size:11px;letter-spacing:1.7px;font-weight:700}h1{font-size:26px;margin:6px 0 0;letter-spacing:-1px}h2{font-size:22px;margin:7px 0}h3{font-size:15px;margin:0}.actions{display:flex;gap:8px;align-items:center}.banner{display:flex;align-items:center;justify-content:space-between;background:#e8effe;color:#355687;padding:9px 14px;border:1px solid #ccdaf5;border-radius:6px;margin-bottom:14px;font-size:13px}.banner button{padding:4px 10px;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat{background:white;border:1px solid var(--line);border-radius:8px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center}.stat label{color:#6d7c91;font-size:13px}.stat strong{display:block;font-size:26px;margin-top:4px;color:#1f3556;font-variant-numeric:tabular-nums}.stat small{font-size:12px;font-weight:400;color:#8190a4;margin-left:6px}.stat .stat-icon{background:#eef3fc;border-radius:8px;padding:10px;color:#5e80be;font-size:22px}.stat.warning strong{color:#c55c35}.workspace{background:white;border:1px solid #dce3ed;border-radius:9px;overflow:hidden;box-shadow:0 3px 12px #172d4905}.toolbar{display:flex;justify-content:space-between;align-items:center;padding:0 16px;border-bottom:1px solid var(--line);min-height:57px}.tabs{display:flex;gap:20px}.tabs button{border:0;border-radius:0;padding:19px 3px 16px;background:none;color:#7b8798}.tabs button.active{color:#245cd5;border-bottom:3px solid #245cd5;font-weight:700}.tabs span{background:#fbe8df;color:#bd572f;padding:2px 6px;border-radius:4px;margin-left:3px;font-size:12px}.filters{display:flex;gap:8px}.filters input{width:180px}.timeline-controls{display:flex;justify-content:space-between;align-items:center;padding:12px 16px}.timeline-controls>div:first-child{display:flex;gap:6px}.legend{display:flex;gap:15px;font-size:12px;color:#647287}.legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:2px;background:var(--color);margin-right:6px}.gap{--color:#4675d4}.oldnavy{--color:#29998c}.kohls{--color:#8b6cc4}.red{--color:#d16b49}.board{overflow:auto}.timeline{min-width:1050px}.gridhead,.linerow{display:grid;grid-template-columns:135px 1fr}.line-label{border-right:1px solid var(--line);padding:0 14px;display:flex;align-items:center;justify-content:space-between;background:white;position:sticky;left:0;z-index:3}.line-label b{font-size:12px;letter-spacing:.5px;color:#60748e}.line-label strong{font-size:14px}.line-label small{font-size:11px;color:#8a96a8}.gridhead{height:47px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.days{display:flex;position:relative}.day{flex:1;min-width:0;text-align:center;border-right:1px solid #edf0f5;padding-top:6px;font-size:12px;color:#5e708b}.day small{display:block;font-size:10px;color:#9aa6b7;margin-top:3px}.day.off{background:#f1f4f8;color:#a4adba}.day.today{background:#eaf0ff;color:#245cd5;font-weight:700}.linerow{height:34px;border-bottom:1px solid #edf0f5}.track{position:relative;background:white}.cells{position:absolute;inset:0;display:flex;pointer-events:none}.cell{flex:1;border-right:1px solid #edf0f5}.cell.off{background:#f5f7fa}.cell.today{background:#eef3ff;border-left:1px solid #96b7f3}.bar{position:absolute;top:3px;height:27px;border:1px solid color-mix(in srgb,var(--color) 45%,white);border-left:3px solid var(--color);border-radius:4px;background:color-mix(in srgb,var(--color) 14%,white);color:color-mix(in srgb,var(--color) 75%,black);padding:4px 7px;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;cursor:grab;z-index:1;display:flex;align-items:center;gap:6px}.bar:hover{filter:brightness(.96);z-index:5;box-shadow:0 2px 8px #142b4b30}.bar img{width:21px;height:21px;object-fit:contain;background:white;border-radius:3px}.bar strong{font-size:12px}.bar .meta{opacity:.8;font-size:11px}.bar.flagged{border-right:3px solid #d7794c}.bar.dragging{opacity:.3}.track.over{outline:2px solid #517ce3;outline-offset:-2px}.due-marker{position:absolute;top:20px;font-size:9px;z-index:2;pointer-events:none;color:#435979}.due-marker.late{color:#c15635}footer{display:flex;justify-content:space-between;padding:11px 16px;font-size:11px;color:#8090a5;background:#fbfcfe}.storage-note{font-size:12px;color:#8693a5;margin:12px 1px}.empty{text-align:center;color:#8090a5;padding:60px 20px}.tablewrap{overflow:auto;min-height:400px;max-height:680px}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{font-weight:500;background:#f6f8fb;color:#697c96;font-size:12px;position:sticky;top:0}td,th{padding:12px 14px;border-bottom:1px solid #e9eef5;white-space:nowrap}tbody tr:hover{background:#f7f9fd}td button{padding:4px 9px;font-size:12px}.badge{background:#eff3fa;padding:4px 7px;border-radius:4px;font-size:12px}.badge.warn{color:#b65130;background:#fff0e9}.badge.ok{color:#247d70;background:#e9f6f1}dialog{padding:0;border:0;border-radius:12px;box-shadow:0 25px 100px #142b4b44;width:780px;max-width:95vw;max-height:92vh;color:#26364c}dialog::backdrop{background:#11243b66;backdrop-filter:blur(2px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;border-bottom:1px solid var(--line)}.dialog-head>button{border:0}.editbody{padding:20px 25px;overflow:auto;max-height:68vh}.editbody p{font-size:13px;color:#7b8a9f;line-height:1.7;margin:8px 0 16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#5b6c83}.form-grid .wide{grid-column:span 2}.check{flex-direction:row;align-items:center}.sectiontitle{display:flex;align-items:center;justify-content:space-between}.recap-editor{margin-top:24px}.delivery-head,.delivery-row{display:grid;grid-template-columns:1.2fr 1fr .8fr 32px;gap:8px;margin:8px 0}.delivery-head{font-size:12px;color:#7f8fa4}.delivery-row button{padding:5px}.sketch-area{display:flex;gap:20px;align-items:center;margin:24px 0}.sketch{width:160px;height:125px;border:1px dashed #b8c7dd;border-radius:8px;display:flex;justify-content:center;align-items:center;text-align:center;cursor:pointer;color:#6881a3;background:#f7f9fd}.sketch small{font-size:10px}.sketch img{width:100%;height:100%;object-fit:contain}.sketch-area button{font-size:12px;padding:5px 8px}.dialog-foot{padding:16px 25px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f9fbfe}.dialog-foot span{font-size:12px;color:#7a8a9e}.dialog-foot>div{display:flex;gap:8px}.danger{color:#bf523c}.calc-preview{padding:12px;background:#eff4fc;color:#4a658d;font-size:13px;line-height:1.8;margin-top:15px;border-radius:6px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#172f50;color:white;padding:12px 22px;border-radius:7px;box-shadow:0 3px 20px #142b4b30;z-index:50;display:none;max-width:85vw}#pasteRecap{width:100%;margin:16px 0 7px}#mapping{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}#importPreview{overflow:auto;max-height:250px}#config,#confirm{width:560px}.weekdays{display:flex;gap:10px;margin:20px 0}.weekdays label{display:flex;flex-direction:row;padding:7px;border:1px solid #dae2ed;border-radius:5px}#holidays{width:100%}.conflictbar{top:17px;height:14px;font-size:10px}.risk-description{white-space:normal;min-width:240px}.hide{display:none!important}@media(min-height:950px){.linerow{height:39px}.bar{top:5px;height:28px}}@media(max-width:1000px){header{padding:0 18px}.topright>span{display:none}main{padding:20px 14px}.heading{align-items:flex-start;gap:15px}.actions{flex-wrap:wrap;justify-content:flex-end}.stats{gap:8px}.stat{padding:12px}.stat-icon{display:none}.toolbar{gap:12px}.tabs{gap:12px}.filters input{width:135px}.legend{gap:8px}}@media(max-width:700px){.heading{flex-direction:column}.stats{grid-template-columns:1fr 1fr}.toolbar{align-items:flex-start;flex-direction:column;padding-bottom:12px}.timeline-controls{align-items:flex-start;gap:10px;flex-direction:column}.topright{gap:4px}.topright button,.topright .button{font-size:11px}.brand small{display:none}.brand>span{font-size:13px}.brand{font-size:24px}.banner{gap:10px}.banner button{flex-shrink:0}footer{line-height:1.6;gap:10px;flex-direction:column}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:span 1}#mapping{grid-template-columns:1fr 1fr}.delivery-row{grid-template-columns:1fr 1fr}.delivery-head{display:none}.stat strong{font-size:23px}}

@media(min-width:1000px){.linerow{height:clamp(26px,calc((100vh - 372px)/19),39px)}.bar{top:2px;height:calc(100% - 4px)}.stats{margin-bottom:14px}.heading{margin-bottom:14px}.due-marker{top:auto;bottom:0}}
/* Three-month planning surface. Horizontal scrolling stays inside the board. */
.timeline{min-width:0}.board{max-height:calc(100vh - 390px);min-height:300px;overflow:auto;scrollbar-gutter:stable}.line-label{box-shadow:2px 0 4px #172f5012;z-index:8}.monthrow{display:grid;grid-template-columns:135px 1fr;height:34px;position:sticky;top:0;z-index:12;background:white}.monthrow .line-label{background:#edf2fa}.monthbands{display:flex;background:#edf2fa;border-top:1px solid #d6dfed}.monthbands>div{display:flex;align-items:center;justify-content:space-between;border-left:2px solid #b8c9e4;padding:0 14px;color:#355781}.monthbands strong{font-size:14px}.monthbands small{font-size:12px;color:#7890ae}.gridhead{position:sticky;top:34px;z-index:11;background:white}.gridhead .line-label{background:#f8fafd}.day{font-size:12px}.day small{font-size:11px}.linerow{height:34px}.line-label{border-radius:0;border-top:0;border-bottom:0}.track{overflow:hidden}.bar{font-size:13px}.bar strong{font-size:13px}.bar .meta{font-size:12px}#scrollTop{overflow-x:auto;overflow-y:hidden;height:17px;background:#f6f8fc;border-top:1px solid #e2e8f1}#scrollTop>div{height:1px}#periodLabel{font-size:12px;color:#6d819e;align-self:center;margin-left:10px;white-space:nowrap}#referenceNote{padding:10px 16px;background:#f3f7fd;border-top:1px solid #e0e8f4;font-size:12px;line-height:1.6;color:#788aa3}#referenceNote b{color:#405e88;margin-right:14px}.source-track{background:white}.source-band{position:absolute;top:0;bottom:0;opacity:.16}.source-cell{position:absolute;height:25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;border:0;border-radius:0;background:transparent;padding:3px 5px;font-size:13px;color:#2d4664;z-index:2}.source-cell:hover{background:#e4edfa;color:#153c78}.source-cell.numeric{font-size:12px;font-variant-numeric:tabular-nums;text-align:center;padding:3px 1px}.source-cell.carry{color:#788da4;font-style:italic}.source-empty{position:absolute;top:7px;left:14px;font-size:12px;color:#8798ad}.reference-row.dim{opacity:.25}.reference-row .line-label small{font-size:11px}.source-text{white-space:normal;min-width:230px;line-height:1.6}.reference-gallery{display:flex;gap:14px;overflow-x:auto;margin-bottom:20px;padding:5px}.reference-gallery figure{margin:0;flex:0 0 160px}.reference-gallery img{width:160px;height:130px;object-fit:contain;background:#fafbfd;border:1px solid #e0e7f0;border-radius:6px}.reference-gallery figcaption{text-align:center;color:#7c8fa8;font-size:12px;margin-top:5px}#referenceDetail{width:1000px}.detailed .linerow{height:68px}.detailed .reference-row{height:102px}.detailed .bar{height:58px;top:5px;display:block;white-space:normal}.detailed .bar strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detailed .bar .meta{display:block;line-height:1.6}.detailed .bar img{float:left;width:44px;height:44px;margin-right:8px}.detailed .due-marker{bottom:0}.reference-timeline .line-label{cursor:pointer}.timeline-controls{gap:8px}.timeline-controls>div:first-child{flex-wrap:wrap}.toolbar{gap:12px}.tabs{gap:14px}.tabs button{white-space:nowrap;font-size:13px}.filters input{width:155px}.reference-row .source-cell{top:3px}@media(min-width:1000px){.board{max-height:none;min-height:0}.linerow{height:clamp(27px,calc((100vh - 435px)/19),38px)}.detailed .board{max-height:65vh}.detailed .linerow{height:68px}.detailed .reference-row{height:102px}.timeline-controls .legend{flex-shrink:0}}@media(max-width:1100px){#periodLabel{display:none}.tabs{gap:9px}.tabs button{font-size:12px}.timeline-controls .legend{display:none}}@media(max-width:700px){.toolbar{overflow:auto}.tabs{gap:10px}.filters input{width:210px}.monthrow{height:34px}.board{max-height:65vh}#referenceNote span{display:block}.reference-gallery img{height:105px}.stats{margin-bottom:10px}}
/* Direct schedule editing and rich STYLE preview */
.bar{touch-action:none;user-select:none;cursor:grab;display:flex;padding:2px 13px;min-width:15px;align-items:center;height:30px;outline-offset:2px}.bar:active{cursor:grabbing}.bar-content{display:flex;align-items:center;gap:7px;overflow:hidden;flex:1;pointer-events:none;min-width:0}.bar-content strong{flex-shrink:0}.bar-content .meta{overflow:hidden;text-overflow:ellipsis}.resize-handle{position:absolute!important;top:0;bottom:0;width:11px;border:0;padding:0;border-radius:0;background:transparent;cursor:ew-resize;z-index:6;touch-action:none}.resize-handle.left{left:0;border-right:1px solid #63779540}.resize-handle.right{right:0;border-left:1px solid #63779540}.resize-handle:after{content:'';position:absolute;top:30%;bottom:30%;left:4px;width:2px;background:#51657f88;border-radius:2px}.resize-handle:hover,.resize-handle:focus{background:#3970bb44}.bar.moving{opacity:.25}.drag-ghost{position:absolute;top:1px;height:calc(100% - 2px);min-height:27px;border:2px dashed #245cd5;background:#e6efffbb;color:#174ea9;border-radius:4px;pointer-events:none;z-index:15;padding:4px 10px;font-size:12px;white-space:nowrap;overflow:hidden}.track.over{outline:2px solid #719ceb;outline-offset:-2px}#dragStatus{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#12335d;color:white;padding:12px 20px;border-radius:8px;box-shadow:0 5px 30px #142b4b30;z-index:90;font-size:14px;pointer-events:none;max-width:90vw}#styleTooltip{position:fixed;z-index:80;width:390px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:hidden;background:#fff;color:#30445f;border:1px solid #cdd9eb;border-radius:10px;box-shadow:0 12px 40px #142b4b33;pointer-events:none}#styleTooltip>img{float:left;width:110px;height:125px;object-fit:contain;background:#f6f8fc;margin:16px 0 8px 16px;border-radius:5px}.tooltip-body{padding:16px;font-size:13px}.tooltip-body>strong{font-size:15px;line-height:1.5;overflow-wrap:anywhere}.tooltip-body p{line-height:1.6;margin:7px 0;max-height:78px;overflow:hidden;white-space:pre-wrap}.tooltip-body dl{clear:both;display:grid;grid-template-columns:105px 1fr;gap:7px 8px;padding-top:12px;margin:0 0 10px}.tooltip-body dt{color:#7c8da5}.tooltip-body dd{margin:0;overflow-wrap:anywhere}.tooltip-body small{color:#8c9bb0;font-size:11px}.tooltip-warning{color:#be5a38}#fileSummary{color:#2761ba;font-size:13px;line-height:1.7}label small,.period-help{font-size:12px;line-height:1.6;color:#8592a7}.detailed .bar{height:62px;display:flex;padding:5px 14px}.detailed .bar-content{display:block}.detailed .bar-content .meta{white-space:normal}.detailed .bar-content strong{font-size:14px}.detailed .bar img{width:48px;height:48px}.overlapping .line-label{align-items:flex-start;padding-top:9px}.sketch:focus{outline:3px solid #8db5f3}.track{overflow:hidden}#referenceDetail .dialog-foot{flex-wrap:wrap}.bar:focus-visible{outline:2px solid #245cd5}.source-track .bar{cursor:default}
[hidden]{display:none!important}
.language-pending>header,.language-pending>main{visibility:hidden}#languageDialog{width:510px;padding:34px;text-align:center;background:#fff;border-top:7px solid #245cd5}.language-title{font-size:24px;font-weight:800;letter-spacing:2px;color:#153557}.language-title span{font-size:13px;color:#7f94b0;margin-left:8px}#languageDialog h2{margin-top:25px;font-size:23px}#languageDialog p{color:#7a8ba3;font-size:14px}.language-choices{display:flex;gap:14px;margin:26px 0}.language-choices button{flex:1;padding:22px 12px;border:1px solid #b9cce8;background:#f6f9ff;color:#2456a1}.language-choices strong{font-size:20px;display:block}.language-choices small{display:block;margin-top:7px;color:#8294ad}.language-note{font-size:12px!important}.holiday-items{display:grid;grid-template-columns:1fr;max-height:190px;overflow:auto;background:#f7f9fd;padding:10px;margin:12px 0}.holiday-items>div{display:flex;gap:16px;padding:5px;font-size:12px}.holiday-items b{white-space:nowrap}.cell.holiday,.day.holiday{background:#fff0ee!important}.day.holiday{color:#b65140}#holidayList{margin-top:15px}html[lang=es] .tabs{gap:9px}html[lang=es] .tabs button{font-size:12px}html[lang=es] .heading .actions button{font-size:12px}html[lang=es] .form-grid label{line-height:1.5}html[lang=es] .topright>span{display:none}@media(max-width:800px){header{height:auto;min-height:68px;gap:10px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.topright{flex-wrap:wrap}.tabs{flex-wrap:wrap}.heading .actions{justify-content:flex-start}.toolbar{align-items:flex-start;flex-direction:column;padding-bottom:10px}.language-choices{flex-direction:column}}

#syncBanner{padding:12px 20px;background:#fff0ce;color:#793d00;font-size:14px}#syncBanner button{margin-left:16px}#syncBanner[hidden]{display:none}

#factoryRecap{margin-top:18px;border-top:1px solid #dce3ec;padding-top:12px}#factoryRecap p{font-size:14px;line-height:1.6}.recap-error{color:#b1422c;font-weight:600}

.due-marker small{display:inline-block;margin-left:2px;padding:1px 3px;background:#fff;font-size:11px;color:#234269;white-space:nowrap}.due-marker{z-index:3}#styleTooltip table{font-size:12px;width:100%}

.bar.gildan{background:#c3f1cf;border-color:#39a16c;color:#145735}

#sketchPastePad{min-height:46px;border:2px dashed #859bb5;border-radius:6px;background:#f3f7fc;margin:8px 0;padding:8px;cursor:text}#sketchPastePad:focus{outline:2px solid #2864bc}#sketchPasteStatus{font-size:14px;max-width:430px;line-height:1.5}

/* Date-only header and named factory plans. */
.gridhead{height:32px}.day{padding-top:7px}
.plan-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;margin-bottom:14px;border:1px solid #dce3ed;border-radius:8px;background:#fff}.plan-controls>div:first-child{min-width:0}.plan-controls span{display:block;font-size:12px;color:#71839c}.plan-controls strong{display:block;font-size:16px;margin-top:4px;overflow-wrap:anywhere}.plan-actions{display:flex;flex-wrap:wrap;gap:8px}.plan-actions button{font-size:14px}#createPlanDialog,#loadPlanDialog{width:560px}
@media(max-width:900px){.plan-controls{align-items:flex-start;flex-direction:column}}

.file-controls{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.file-controls button,.file-controls a{font-size:14px}#draftOrders{padding:12px;background:#fff3db;border:1px solid #ecd29d;border-radius:8px;margin-bottom:14px}#draftOrders strong{display:block;margin-bottom:8px}#draftOrders button{margin:3px}#folderFiles{display:grid;gap:8px;margin:16px 0}#folderFiles button{text-align:left;overflow-wrap:anywhere}#folderSaveForm{display:grid;gap:12px}.production-progress{margin:20px 0;background:#fff;border:1px solid #dce4ed;border-radius:14px;padding:22px;color:#173047}.progress-heading{display:flex;justify-content:space-between;gap:24px;align-items:center}.progress-kicker{font-size:12px;color:#177c7a;font-weight:700;letter-spacing:.05em}.progress-heading h2{font-size:22px;margin:7px 0}.progress-heading p,.progress-legend{font-size:12px;color:#526778;line-height:1.7}.progress-total{text-align:right;min-width:180px}.progress-total b{display:block;font-size:32px}.progress-total span{font-size:12px}.progress-legend{padding:12px 14px;background:#f1f6f8;margin:14px 0;border-radius:8px}.progress-legend b{margin-right:10px}.progress-group{border:1px solid #dfe6eb;border-left:4px solid #6396aa;border-radius:8px;margin:9px 0;overflow:hidden}.progress-group.danger{border-left-color:#c54146}.progress-group.warn{border-left-color:#c58a24}.progress-group.done{border-left-color:#3b956f}.progress-group summary{cursor:pointer;display:flex;align-items:center;gap:15px;padding:12px;background:#f9fbfc;font-size:12px}.progress-lines{font-weight:800;min-width:72px}.progress-files{flex:1;overflow-wrap:anywhere}.progress-status{font-weight:700;background:#e9f1f4;padding:5px 8px;border-radius:5px;min-width:130px;text-align:center}.danger .progress-status{color:#a3232c;background:#ffe9e9}.done .progress-status{color:#19764c;background:#e8f5ed}.progress-metrics{display:flex;gap:20px;flex-wrap:wrap;padding:13px;font-size:12px;border-top:1px solid #edf0f4}.progress-metrics b{margin-left:5px}.progress-table-wrap{overflow:auto}.production-progress table{border-collapse:collapse;width:100%;font-size:12px}.production-progress th,.production-progress td{padding:9px 13px;border-top:1px solid #edf0f4;text-align:right;white-space:nowrap}.production-progress th:first-child{text-align:left}.production-progress thead{color:#60717f;background:#f6f8fa}.production-progress .remaining{font-weight:800;color:#173b50}.production-progress .progress-note{white-space:normal;text-align:left;max-width:320px;font-size:11px;line-height:1.5}.production-progress small{display:block;color:#73808d;font-size:10px}.progress-source,.progress-warning{font-size:11px;margin:8px 13px;color:#6b7e8b;line-height:1.6}.progress-warning{color:#a23439}.bar.progress-danger{box-shadow:inset 0 -3px #bf3446}.bar.progress-done{box-shadow:inset 0 -3px #22855e}.progress-editor{padding:12px;background:#eef5f7;border-radius:8px;font-size:12px;line-height:1.6}.progress-editor p{margin:8px 0}@media(max-width:750px){.progress-heading{display:block}.progress-total{text-align:left;margin-top:10px}.progress-group summary{flex-wrap:wrap}.progress-files{flex-basis:65%}.production-progress{padding:12px}}
.progress-groups{max-height:390px;overflow:auto;padding-right:5px}
.factory-update-summary{margin:12px 0;padding:13px 16px;background:#eaf3f6;border:1px solid #b8d6e0;border-radius:10px;font-size:12px;line-height:1.7}.factory-update-summary summary{cursor:pointer}.factory-update-summary summary span{float:right;color:#126480}.factory-change-scroll{max-height:400px;overflow:auto;background:white;padding:10px;border-radius:6px}.factory-change-scroll table{width:100%;font-size:11px;text-align:left}.factory-change-scroll th,.factory-change-scroll td{padding:8px;border-bottom:1px solid #e7edf1}.factory-change-scroll ul{padding-left:20px}.factory-change-scroll li{margin:9px 0;color:#9b4918}

.daily-input-row{display:flex;min-height:44px;background:#fff;border-bottom:1px solid #cbd5e1}.daily-input-row .line-label{position:sticky;left:0;z-index:3;flex:0 0 135px;width:135px;background:#f0f6fa;display:flex;flex-direction:column;justify-content:center;padding:4px 8px}.daily-edit{border:0;background:none;color:#18577a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;width:119px;padding:0;text-align:left}.daily-input-row small{font-size:10px;color:#576879}.daily-input-cells{display:flex;flex:1}.daily-input-cells input,.daily-input-cells span{flex:1;min-width:0;width:0;box-sizing:border-box;border:0;border-right:1px solid #e0e7ed;text-align:center;font-size:11px;padding:3px 0;background:#f8fbff;color:#174f82}.daily-input-cells input:focus{outline:2px solid #168ab0;outline-offset:-2px;background:#fff}.daily-input-cells input.overridden{background:#fff1c7;color:#7d5000;font-weight:bold}.daily-input-cells input::-webkit-inner-spin-button{appearance:none}.daily-input-cells .daily-off{background:#edf0f4}.weekly-forecast{padding:22px;background:#fff;border-top:3px solid #237594;margin-top:18px}.weekly-title{display:flex;justify-content:space-between;gap:20px;align-items:center}.weekly-title h2{margin:0;font-size:22px}.weekly-title p,.forecast-rule,.forecast-source{font-size:12px;color:#526475;line-height:1.6}.weekly-title strong{display:block;font-size:28px;color:#155570}.weekly-title small{font-size:12px}.weekly-scroll{max-height:340px;overflow:auto;margin:16px 0}.weekly-scroll table{width:100%;border-collapse:collapse;min-width:650px}.weekly-scroll th,.weekly-scroll td{padding:10px 16px;border-bottom:1px solid #dce4ea;text-align:right;white-space:nowrap}.weekly-scroll th:first-child{text-align:left}.weekly-scroll thead{position:sticky;top:0;background:#eaf2f7}.weekly-scroll small{display:block;color:#73582d;font-size:10px}.weekly-scroll .money{font-weight:700;color:#176276}.needs-review{color:#a45218;background:#fff6e7}.missing-cm{margin:8px 5px 0 0}.progress-groups{max-height:200px;overflow:auto}

#productionProgress:not(.revealed){display:none!important}.missing-information{background:#ffe0e3!important;border:1px solid #c94d5c!important;color:#842632!important}.missing-information strong,.missing-information .meta{color:#842632!important}.undated-missing{position:relative;margin:4px;background:#ffe0e3;color:#842632;border:1px solid #c94d5c}.week-total-row{display:flex;min-height:94px;border-top:3px solid #1c6683;background:#edf6fa}.week-total-row>.line-label{flex:0 0 135px;width:135px;position:sticky;left:0;z-index:5;background:#e5f0f6;display:flex;flex-direction:column;justify-content:center;padding:8px}.week-total-row small{display:block;font-size:10px}.week-total-cells{display:flex;flex:1;min-width:0}.week-total{min-width:0;border:0;border-right:1px solid #aac4d2;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#185772;background:#edf6fa;padding:10px 2px}.week-total strong{font-size:16px}.week-total span{font-size:11px}.week-total.partial{background:#fff1e7;color:#844522}.week-total:hover{box-shadow:inset 0 0 0 2px #3c8bad}.week-note{font-size:12px;color:#53677a;padding:12px}.week-dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.week-dialog-heading h2{margin:0}#weekDetail{width:min(1000px,94vw);max-height:85vh;border:0;border-radius:12px;padding:24px}#weekDetail::backdrop{background:#10233388}.week-detail-table{max-height:58vh;overflow:auto}.week-detail-table table{width:100%;border-collapse:collapse}.week-detail-table td,.week-detail-table th{padding:10px;border-bottom:1px solid #e3e8ee;text-align:right}.week-detail-table th:first-child{text-align:left}.week-detail-table thead{position:sticky;top:0;background:#edf4f7}.missing-detail{background:#fff0f2;color:#8b2f3c}.missing-detail button{color:#8b2f3c}#weekDetail p{font-size:12px;color:#526475}.weekday-timeline .day,.weekday-timeline .cell{flex:1;min-width:0}

.simulation-day{border:0;border-right:1px solid #e4e7ec;background:#f4f7fb;display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;cursor:pointer;font-size:12px}.sim-actual{color:#1d2939!important}.sim-forecast{color:#0070c0!important}.sim-legacy{color:#667085!important}.simulation-strip{height:48px!important}.simulation-summary{margin:10px 0}.simulation-summary p{line-height:1.6}.simulation-day span{line-height:1.5}#simulationDetail{width:min(1400px,96vw);max-height:90vh}#simulationDetail table{white-space:normal}#simulationDetail td:last-child{font-size:11px;max-width:390px}.simulation-strip .daily-input-cells{display:grid;grid-auto-flow:column;grid-auto-columns:1fr}
.simulation-strip{height:36px!important}.simulation-day{flex-direction:row;font-size:12px;font-weight:600}.simulation-day.missing-production-cm{background:#fee4e2!important;color:#b42318!important;border:1px solid #fda29b}.simulation-day:hover{outline:2px solid #98a2b3;outline-offset:-2px}.simulation-edit-controls{padding:12px;display:grid;gap:10px}.simulation-edit-controls input{width:110px;padding:5px}.simulation-edit-controls label{margin-left:10px}

.gridhead .day.week-band-0{background:#f3f5f8;color:#344054}.gridhead .day.week-band-1{background:#d8e9f8;color:#153f63}.gridhead .day.holiday{box-shadow:inset 0 -3px #ef4444}.simulation-day.week-band-0{background:#f8fafc}.simulation-day.week-band-1{background:#e8f2fb}.week-total-row{min-height:104px}.week-total small{line-height:1.4}

.simulation-inline-input{width:100%;min-width:0;box-sizing:border-box;border:2px solid #2459ad;background:#fff;color:#152c4d;padding:3px 1px;text-align:center;font:inherit;}

.simulation-day:focus{outline:2px solid #2459ad;outline-offset:-2px;}#repeatProductionDialog{max-width:540px;}

#localScheduleLoading{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:#ffffffed;color:#152c4d;font-size:18px;}#sketchPastePad:focus{outline:2px solid #2459ad;}

.cloud-gate{position:fixed;inset:0;z-index:2147483647;background:#edf2f7;display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}.cloud-gate[hidden]{display:none}.cloud-gate section{background:white;padding:32px;border-radius:16px;max-width:540px;width:100%;box-shadow:0 8px 40px #0002}.cloud-gate label{display:block;margin:16px 0}.cloud-gate input{display:block;width:100%;margin-top:8px;padding:12px}.cloud-gate button{margin:8px 8px 8px 0;padding:12px}