@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap');
html{scrollbar-gutter:stable}
html:has(dialog[open]),body:has(dialog[open]){overflow:hidden;overscroll-behavior:none}
dialog[open]{overscroll-behavior:contain}
:root{font-family:'DM Sans',system-ui,sans-serif;color:#243247;background:#f6f8fb;font-size:16px;--blue:#004987;--line:#e5eaf1;--muted:#7a879b}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,select{cursor:pointer}button{border:1px solid var(--line);background:white;color:#36465c;border-radius:7px;padding:10px 15px;font-size:14px;font-weight:600}button:hover{background:#edf4f9}button.primary{background:var(--blue);color:white;border-color:var(--blue)}button.primary:hover{background:#003b70}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}aside{position:fixed;inset:0 auto 0 0;width:238px;background:white;border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;font-size:30px;font-weight:700;gap:9px;letter-spacing:-1px;position:relative}.logo{background:var(--blue);color:white;border-radius:10px;width:38px;height:38px;text-align:center;font-size:32px;line-height:32px}.beta{position:absolute;top:45px;left:48px;font-size:9px;letter-spacing:1.2px;color:var(--muted)}.workspace{display:flex;gap:11px;align-items:center;margin:48px 0 30px;padding:13px 7px;border-block:1px solid var(--line);font-size:14px;font-weight:600}.square{padding:8px 12px;background:#eef2f9;color:#697b98;border-radius:7px}small{display:block;color:var(--muted);font-size:12px;font-weight:400;margin-top:4px}.navlabel{font-size:10px;letter-spacing:1.5px;color:#94a0b2;padding:0 13px 13px}nav button{display:flex;align-items:center;gap:12px;width:100%;border:0;text-align:left;margin-bottom:7px;background:transparent;padding:12px 14px;font-weight:500}nav button.active{background:#edf4f9;color:var(--blue);font-weight:650}nav .ico{font-size:19px;width:22px}nav .count{margin-left:auto;background:#e0edf5;font-size:12px;border-radius:5px;padding:2px 6px}.sidebottom{margin-top:auto;color:#5f7089;font-size:13px;padding:14px}.sidebottom small{line-height:1.6}.localdot{width:6px;height:6px;background:#3b9c76;display:inline-block;border-radius:50%;margin-right:4px}main{margin-left:238px}header{height:84px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 38px;gap:18px}.breadcrumb{font-size:13px;color:#8793a4;flex:1}.breadcrumb span{padding:0 13px;color:#bdc6d2}.breadcrumb b{color:#4d5d74;font-weight:500}.rolelabel{display:flex;align-items:center;gap:10px;font-size:12px;color:#8290a4}select{appearance:none;background:white url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%237a879b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;padding:9px 33px 9px 12px;border:1px solid var(--line);border-radius:7px;color:#42516a;font-size:14px}.avatar{background:#edf4f9;color:var(--blue);font-size:12px;font-weight:700;display:grid;place-items:center;width:34px;height:34px;border-radius:50%}#content{padding:34px 38px;min-height:calc(100vh - 135px)}h1{font-size:29px;letter-spacing:-.9px;margin:0;font-weight:650}h2{font-size:18px;margin:0 0 8px}p.sub{margin:9px 0 0;color:#8490a3;font-size:14px}.pagehead{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.actions{display:flex;gap:9px}.eyebrow{font-size:11px;font-weight:600;letter-spacing:1.4px;color:var(--muted);margin-bottom:9px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:19px 21px}.stat .top{display:flex;justify-content:space-between;align-items:center;color:#6f7e93;font-size:13px}.stat .num{font-size:31px;font-weight:650;margin:9px 0 4px;letter-spacing:-1px}.stat small{font-size:12px}.stat .symbol{border-radius:8px;background:#f0f4fb;padding:6px 10px;color:#6483b0}.stat:nth-child(2) .symbol{color:#258365;background:#edf8f3}.stat:nth-child(3) .symbol{color:#946bd5;background:#f5efff}.stat:nth-child(4) .symbol{color:#d18d27;background:#fff6e7}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.tabs{display:flex;gap:24px;padding:0 22px;border-bottom:1px solid var(--line);overflow:auto}.tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;padding:18px 0;white-space:nowrap;color:#8691a2;font-weight:500}.tabs button.active{color:var(--blue);border-bottom-color:var(--blue)}.tabs b{font-weight:500;margin-left:6px;font-size:11px;background:#f0f3f7;padding:2px 6px;border-radius:4px}.toolbar{display:flex;gap:10px;padding:18px 22px}.search{flex:1;max-width:370px;position:relative}.search span{position:absolute;left:12px;top:10px;color:#8391a4}.search input{padding-left:34px;width:100%}input,textarea{border:1px solid #dde4ee;border-radius:6px;padding:10px 12px;background:white;color:#2c3f58;font-size:14px;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #a9c8df;outline-offset:1px}textarea{resize:vertical;min-height:75px}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}th{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#8592a6;font-weight:600;background:#f9fafc;padding:13px 20px;border-block:1px solid var(--line)}td{padding:19px 20px;border-bottom:1px solid #eef1f5;vertical-align:middle}tr.order{cursor:pointer}tr.order:hover{background:#f9fbff}td strong{font-weight:600;color:#344967}td small{font-size:12px;margin-top:5px}.tag{display:inline-flex;align-items:center;gap:6px;border-radius:5px;padding:5px 8px;font-size:11px;font-weight:550;white-space:nowrap;background:#f1f3f7;color:#8290a3}.tag:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.tag.green{background:#eaf7f0;color:#24855e}.tag.blue{background:#eef3ff;color:#004987}.tag.orange{background:#fff5e7;color:#c48b2b}.tag.purple{background:#f2edfc;color:#8660bd}.deadline.late{color:#d36753}.progress{display:flex;gap:4px;margin-bottom:5px}.progress i{width:22px;height:5px;background:#e9edf4;border-radius:3px}.progress i.done{background:#004987}.tablefoot{padding:15px 22px;color:#8c98a9;font-size:12px;display:flex;justify-content:space-between}.notice{margin-top:20px;padding:15px 18px;background:#edf4f9;border:1px solid #d6e6f1;border-radius:8px;display:flex;gap:12px;align-items:center;color:#4b6e89;font-size:13px}.notice b{color:#004987;font-weight:600}footer{padding:17px 38px;border-top:1px solid var(--line);color:#9aa5b5;font-size:11px;display:flex;justify-content:space-between;gap:20px}.detailgrid{display:grid;grid-template-columns:1fr 290px;gap:22px}.section{padding:23px;margin-bottom:20px}.sectionhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.sectionhead h2{margin:0}.material{padding:18px 0;border-top:1px solid var(--line)}.materialhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.step{padding:13px;border:1px solid var(--line);border-radius:7px;font-size:13px}.step label{display:block;font-weight:600;margin-bottom:8px}.step input[type=date]{width:100%;font-size:12px;padding:7px}.step small{font-size:11px}.step.checked{border-color:#c5e5d6;background:#f5fbf8}.notes{width:100%;margin-top:10px;min-height:45px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#6c7c93}.field.full{grid-column:1/-1}.summaryitem{padding:16px 0;border-bottom:1px solid var(--line)}.summaryitem p{font-size:13px;line-height:1.6;color:#7c899c;margin:8px 0}.summaryitem:last-child{border:0}.history{font-size:12px;color:#8591a3;line-height:1.7;padding:12px 0;border-top:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:13px;padding:28px;width:530px;max-width:95vw;color:#243247;box-shadow:0 30px 100px #15284b30}dialog::backdrop{background:#172c4f55}dialog h2{font-size:23px;margin-bottom:7px}dialog form{margin-top:24px}dialog .actions{justify-content:flex-end;margin-top:24px}.empty{text-align:center;padding:60px;color:#8c98a9}.back{border:0;background:transparent;padding:0 0 18px;color:#7e8da4}.checkrow{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-top:1px solid var(--line);font-size:14px}.checkrow input{width:auto}.checkrow label{display:flex;align-items:center;gap:10px}.alertrow{padding:20px;border-bottom:1px solid var(--line);display:flex;gap:14px;align-items:center;font-size:14px}.alertrow .alertbody{flex:1}.alertrow small{line-height:1.7}.alerticon{padding:9px 13px;border-radius:8px;background:#fff2df;color:#be852c}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:14px 23px;background:#243b5c;color:white;font-size:14px;border-radius:8px;display:none;z-index:20}.tablewrap{overflow:auto}.muted{color:#8c98a9}.configrow{display:grid;grid-template-columns:1fr 110px 1fr;gap:16px;padding:18px 0;border-top:1px solid var(--line);align-items:end}.rolehint{font-size:12px;color:#8a98ac;margin-top:15px}
@media(min-width:1500px){#content{max-width:1600px;margin:auto}}@media(max-width:1100px){aside{width:195px}main{margin-left:195px}#content{padding:25px 22px}header{padding:0 22px}.stats{gap:10px}.stat{padding:16px}td,th{padding:16px 12px}.detailgrid{grid-template-columns:1fr}.detailgrid>aside{position:static}.rolelabel{font-size:0}.steps{gap:7px}}@media(max-width:760px){aside{position:static;width:100%;padding:14px 16px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:24px}.brand .logo{width:31px;height:31px;font-size:27px}.beta,.workspace,.navlabel,.sidebottom{display:none}nav{display:flex;gap:6px;margin-top:15px;overflow:auto}nav button{width:auto;white-space:nowrap;padding:9px;margin:0;font-size:12px;gap:5px}nav .ico{display:none}main{margin:0}header{height:64px;padding:0 16px}.breadcrumb{font-size:11px}.breadcrumb span{padding:0 5px}.avatar{display:none}#content{padding:24px 16px}h1{font-size:25px}.pagehead{align-items:flex-start;gap:12px}.pagehead .actions{flex-direction:column}button{font-size:12px;padding:9px 11px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat .num{font-size:27px}.stat .top{font-size:12px}.tabs{gap:18px;padding:0 14px}.toolbar{padding:14px;flex-wrap:wrap}.search{max-width:none;flex-basis:100%}table{min-width:830px}footer{padding:16px;display:block;line-height:1.6}footer span{display:block}.steps{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.field.full{grid-column:auto}.section{padding:17px}.configrow{grid-template-columns:1fr}.notice{align-items:flex-start;line-height:1.6}.rolelabel select{max-width:145px}.checkrow{gap:10px}.checkrow input[type=date]{width:135px}.breadcrumb>b{display:none}}

.missing-material{color:#b27b26;white-space:normal;max-width:170px;line-height:1.5}.user-picker{position:relative;color:#42516a;min-width:0}.user-picker summary{list-style:none;border:1px solid var(--line);border-radius:7px;padding:10px 33px 10px 12px;cursor:pointer;background:white;position:relative;min-height:40px;font-size:14px}.user-picker summary::-webkit-details-marker{display:none}.user-picker summary:after{content:"⌄";position:absolute;right:12px;top:8px}.user-options{border:1px solid var(--line);border-radius:7px;background:white;padding:6px;margin-top:5px;max-height:260px;overflow:auto}.user-options label{display:flex;align-items:center;gap:10px;padding:10px;border-radius:5px;cursor:pointer}.user-options label:hover{background:#edf4f9}.user-options input{accent-color:var(--blue);width:17px;height:17px;flex-shrink:0}.user-options small{font-size:11px}

.mlan-brand{font-size:30px;letter-spacing:1px;gap:12px}.brand-icon{width:40px;height:40px;display:block;flex-shrink:0}.mlan-brand .beta{top:43px;left:52px;font-size:9px;letter-spacing:1px}.brand-subtitle{font-size:12px;color:#7a879b;line-height:1.6;margin-top:25px;padding-left:3px}.brand-subtitle+.workspace{margin-top:22px}@media(max-width:760px){.mlan-brand{font-size:26px}.brand-icon{width:35px;height:35px}.brand-subtitle{font-size:12px;margin-top:8px}.brand-subtitle br{display:none}}

:root{--brand-blue:#004987;--brand-green:#a0c52a}nav button.active{box-shadow:inset 3px 0 0 var(--brand-green)}

.order-group th{background:#edf2f6;border-top:2px solid #d8e2eb;padding:12px 20px;font-size:12px;text-transform:none;letter-spacing:0;color:#3f5b76}.order-group span{margin-left:7px;color:#7f91a3;font-weight:400}.hours-cell{white-space:nowrap;font-variant-numeric:tabular-nums}table{min-width:960px}

.phase-hint{font-size:13px;color:#7a879b;margin:0 0 22px}.phase-control{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}.phase-control .phase-stamp{flex-basis:100%;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.phase-control button{font-size:12px;min-height:38px}.phase-control .undo-phase{padding:5px 0;min-height:28px;border:0;background:transparent;color:#8190a3;font-weight:400}.step>strong{font-size:13px;display:block;line-height:1.5}.production-phase{display:flex;align-items:center;justify-content:space-between;gap:18px}.production-phase>.phase-control{margin:0;justify-content:flex-end}.production-phase .phase-stamp{text-align:right}.readonly-note{font-size:13px;color:#748397;line-height:1.6;white-space:pre-wrap;margin:12px 0 0}.readonly-note strong{font-weight:500}@media(max-width:760px){.production-phase{align-items:flex-start}.production-phase>.phase-control{max-width:62%}.steps .phase-control{margin-top:10px}.step{padding:15px}}

.purchase-list{margin-top:12px}.purchase-entry{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;padding:9px 0;border-top:1px solid #e2e8ee;overflow-wrap:anywhere}.purchase-number{font-size:13px;color:#004987}.pdf-link{border:0;padding:0;text-align:left;background:transparent;color:#004987;text-decoration:underline;text-underline-offset:3px;font-size:13px;overflow-wrap:anywhere}.edit-purchase{font-size:11px;padding:3px 5px;background:transparent;flex-shrink:0}.add-purchase{font-size:12px;width:100%;margin-top:8px;padding:9px 5px}.purchase-list small{font-size:11px;line-height:1.5}.form-error{color:#b34435;font-size:13px;line-height:1.5;margin:12px 0 0}.field input[type=file]{max-width:100%;width:100%;font-size:13px}

#pdfModal{padding:0;width:min(1120px,94vw);max-width:94vw;height:88vh;height:88dvh;max-height:94dvh;border-radius:12px;overflow:hidden}#pdfModal[open]{display:flex;flex-direction:column}#pdfModal.pdf-expanded{width:98vw;max-width:98vw;height:96vh;height:96dvh;max-height:96dvh}.pdf-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid var(--line);background:white;flex-shrink:0}.pdf-header h2{margin:0;font-size:21px;overflow-wrap:anywhere}.pdf-header .eyebrow{font-size:10px;margin-bottom:5px}.pdf-header small{font-size:12px;overflow-wrap:anywhere}.pdf-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.pdf-content{flex:1;min-height:0;background:#e9edf2;display:flex;align-items:stretch}.pdf-frame{border:0;width:100%;height:100%;min-height:0;flex:1}.pdf-loading{margin:auto;padding:35px;text-align:center;font-size:14px;color:#6c7c93}.pdf-download{padding:10px 14px;background:#004987;color:white;border-radius:7px;font-size:13px;font-weight:600;white-space:nowrap}.pdf-download[hidden]{display:none}.pdf-download:hover{background:#003b70}.pdf-footer{display:flex;justify-content:space-between;gap:14px;padding:10px 22px;font-size:11px;color:#7a879b;background:white;border-top:1px solid var(--line);flex-shrink:0}@media(max-width:760px){#pdfModal{width:96vw;max-width:96vw;height:94dvh;max-height:94dvh}.pdf-header{padding:14px;align-items:flex-start;flex-wrap:wrap;gap:12px}.pdf-actions{gap:6px;width:100%;flex-wrap:wrap}.pdf-actions button,.pdf-download{font-size:12px;padding:9px 11px}.pdf-footer{padding:10px 14px;display:block;line-height:1.6}.pdf-footer span{display:block}}

.purchase-supplier{font-size:12px;color:#425b70;flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.5}.purchase-entry>div{flex-shrink:0;max-width:43%}.section{padding:18px;margin-bottom:15px}.sectionhead{margin-bottom:12px}.material{padding:12px 0}.materialhead{margin-bottom:9px}.step{padding:10px 12px}.phase-control{gap:6px;margin-top:8px}.phase-control .phase-stamp{flex-basis:auto;font-size:11px;margin:0}.phase-control .undo-phase{font-size:11px;padding:2px 0;min-height:22px;flex-basis:100%;text-align:left}.phase-control button{min-height:32px;padding:7px 10px}.phase-control .tag{padding:4px 7px}.step>strong{line-height:1.35}.step>small{margin-top:3px;font-size:11px}.notes{min-height:36px;height:36px;margin-top:8px;padding:8px 10px;font-size:13px}.notes:focus{min-height:64px}.purchase-list{margin-top:8px}.purchase-entry{padding:7px 0}.add-purchase{margin-top:5px;padding:6px;font-size:11px}.production-phase{gap:12px}.production-phase .phase-stamp{flex-basis:auto}.panel.section>p.sub{font-size:13px;margin-top:5px;margin-bottom:5px}@media(max-width:760px){.section{padding:14px}.step{padding:10px 12px}.steps{gap:7px}.steps .phase-control{margin-top:7px}.purchase-supplier{font-size:12px}}

#applyPurchaseSuggestion{align-self:flex-start;font-size:12px;color:#004987;background:#edf4f9}#applyPurchaseSuggestion[hidden]{display:none}

.phase-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.phase-toggle{padding:5px 8px;font-size:11px;font-weight:400;min-height:28px;color:#718298;background:transparent;border-color:#dfe6ed}.phase-toggle[aria-pressed=true]{color:#004987;background:white}.inactive-phase{background:#f8fafc;border-radius:6px;padding:10px 12px;margin-top:9px}.inactive-phase .materialhead{margin:0}.inactive-phase strong{color:#8290a1;font-weight:500}.production-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.production-title strong{font-size:14px}@media(max-width:760px){.phase-header-actions{gap:5px}.phase-toggle{font-size:10px}.materialhead{gap:10px}.production-title{gap:5px;flex-direction:column;align-items:flex-start}}

.planning-warning{margin-top:7px}.planning-warning .tag{white-space:normal;line-height:1.5;font-size:11px}td .planning-warning{max-width:165px}

.calendar-select{max-width:390px;margin:20px 0 12px}.holiday-details{margin-top:20px;border-top:1px solid var(--line);padding-top:15px;font-size:13px}.holiday-details summary{cursor:pointer;color:#004987;font-weight:500}.holiday-list{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;margin:12px 0}.holiday-list>div{display:flex;gap:12px;border-bottom:1px solid #edf1f5;padding:9px 0;font-size:12px;line-height:1.5}.holiday-list time{flex-shrink:0;color:#7e8b9b;min-width:85px}.holiday-details>small{font-size:12px;line-height:1.6}.holiday-details a{color:#004987;text-decoration:underline}.overview-line-switch{display:inline-flex;padding:4px;gap:4px;background:#e7edf3;border-radius:9px;margin:0 0 24px}.overview-line-switch button{border:0;min-width:92px;padding:9px 17px;background:transparent;color:#7c8ba0;font-size:14px;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:8px}.overview-line-switch button.active{background:white;color:#004987;box-shadow:0 1px 4px #26384f15}.overview-line-switch small{font-size:10px;margin:0;font-weight:400}.pvc-placeholder{text-align:center;padding:65px 25px}.pvc-placeholder p{color:#7c8ba0;max-width:470px;margin:12px auto;line-height:1.7;font-size:14px}.pvc-mark{display:inline-block;color:#004987;background:#edf4f9;font-weight:700;border-radius:10px;padding:15px;margin-bottom:20px}@media(max-width:760px){.holiday-list{grid-template-columns:1fr}.overview-line-switch{margin-bottom:18px}.overview-line-switch button{min-width:85px}}

.steps{grid-template-columns:repeat(var(--material-columns,3),minmax(0,1fr))}.workflow-picker{border:0;padding:0;margin:20px 0}.workflow-picker legend{font-size:14px;font-weight:600}.workflow-picker>p{font-size:12px;color:#8190a4;margin:8px 0 12px}.workflow-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.workflow-options label{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--line);border-radius:6px;font-size:13px;cursor:pointer}.workflow-options label:has(input:checked){background:#edf4f9;border-color:#a7c5da}.workflow-options input{width:16px;height:16px;accent-color:#004987}.workflow-options small{font-size:10px}.custom-phase-row{display:grid;grid-template-columns:1fr 1fr 28px;gap:8px;align-items:end;margin:10px 0}.custom-phase-row .field{font-size:11px}.custom-phase-row input,.custom-phase-row select{width:100%;font-size:12px}.remove-material{border:0;background:transparent;color:#aa6f65;font-size:21px;font-weight:400;padding:2px 5px;line-height:1;min-width:26px;min-height:28px}.remove-material:hover{color:#b34436;background:#fdf0ed}.removed-materials{border-top:1px solid var(--line);padding-top:12px;margin-top:16px;font-size:12px;color:#8190a4}.removed-materials summary{cursor:pointer}.removed-materials>div{display:flex;align-items:center;justify-content:space-between;padding:8px 0}.removed-materials button{font-size:11px;padding:5px 10px}@media(max-width:760px){.steps{grid-template-columns:1fr}.workflow-options{grid-template-columns:1fr}.overview-line-switch{max-width:100%;flex-wrap:wrap}.overview-line-switch button{min-width:70px;padding:8px 12px}.overview-line-switch small{font-size:9px}}

.brand-subtitle{margin-bottom:28px}.workshop-summary,.workshop-order-info{display:flex;gap:24px;flex-wrap:wrap;color:#7d8c9f;font-size:14px;margin-bottom:22px}.workshop-summary strong{font-size:23px;color:#004987;margin-right:6px}.workshop-order-info strong{color:#354d67}.workshop-description{font-size:15px;color:#546b83;line-height:1.7;margin:0 0 20px}.workshop-material-warning{padding:17px 20px;border-color:#f1debd;background:#fffaf2;margin-bottom:18px}.workshop-material-warning h2{font-size:15px;margin-bottom:10px}.workshop-material-warning>div{display:flex;gap:15px;align-items:center;justify-content:space-between;font-size:13px;padding:8px 0;border-top:1px solid #f2e8d9}.workshop-ready{margin:0 0 18px}.workshop-documents{padding:15px 20px;margin-bottom:18px;font-size:13px}.workshop-documents summary{cursor:pointer;color:#004987;font-weight:500}.workshop-documents>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}.workshop-documents summary+div{margin-top:10px}.workshop-table td small{max-width:230px;line-height:1.6}@media(max-width:760px){.brand-subtitle{margin-bottom:0}.workshop-summary{gap:13px;font-size:12px}.workshop-material-warning{padding:14px}.workshop-documents{padding:14px}.workshop-order-info{gap:14px;font-size:13px}}

.new-order-link{margin-top:20px;padding-top:15px;border-top:1px solid var(--line);font-size:13px}.new-order-link summary{cursor:pointer;color:#004987;font-weight:500}.new-order-link .fields{margin-top:15px}.new-order-link small{line-height:1.6}.order-link-indicator{color:#004987!important;font-size:11px!important;line-height:1.5}.order-links-panel{border-color:#cbdde9;background:#fbfdff}.order-links-panel h2{font-size:16px}.order-link-entry{border-top:1px solid var(--line);padding:14px 0}.order-link-main{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.order-link-main strong{font-size:14px;overflow-wrap:anywhere}.order-line-label{background:#e6eff6;color:#004987;border-radius:4px;padding:3px 6px;font-size:10px;font-weight:600}.order-link-main>small{flex-basis:100%;font-size:11px;line-height:1.6}.link-small{font-size:11px;padding:5px 8px;color:#004987}.order-link-entry p{white-space:pre-wrap;font-size:13px;color:#6c8197;line-height:1.6;margin:10px 0}.related-status{margin-top:10px}.order-link-actions{display:flex;gap:12px;margin-top:10px}.order-link-actions button{background:transparent;border:0;padding:0;font-size:11px;font-weight:400;color:#8192a6}.order-links-panel>small{font-size:11px;line-height:1.6}

.order-number-with-link{display:flex;align-items:center;gap:8px}.order-link-indicator{display:inline-grid;place-items:center;width:27px;height:27px;flex-shrink:0;padding:4px;border:1px solid #d5e4ef;border-radius:6px;background:#edf4f9;color:#004987}.order-link-indicator:hover{background:#dfedf7;border-color:#7aa8c7}.workflow-sequence-heading{margin:4px 0 12px;font-size:14px}.workflow-sequence-heading small{font-size:12px;line-height:1.6}.workflow-sequence{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}.workflow-sequence-row{padding:11px;border:1px solid var(--line);border-radius:7px;background:white}.workflow-sequence-top{display:flex;gap:8px;align-items:center}.workflow-grip{color:#96a5b7;font-size:22px;line-height:1;cursor:grab;user-select:none;padding:3px}.workflow-position{font-size:11px;color:#004987;background:#edf4f9;min-width:23px;height:23px;display:grid;place-items:center;border-radius:4px}.workflow-sequence-label{flex:1;min-width:0;font-size:13px}.workflow-sequence-label strong{font-weight:500}.workflow-sequence-label small{font-size:11px}.workflow-move-actions{display:flex;gap:5px;align-items:center}.workflow-move-actions>button:not(.remove-material){font-size:11px;padding:5px 7px;font-weight:400}.custom-phase-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.custom-phase-fields .field{font-size:11px}.custom-phase-fields input,.custom-phase-fields select{width:100%;font-size:12px}.workflow-empty{font-size:12px;color:#8a98aa;background:#f8fafc;border-radius:7px;padding:16px;line-height:1.6}.workflow-sequence-row.dragging{opacity:.45}.workflow-sequence-row.drag-over{border-color:#004987;box-shadow:inset 0 2px 0 #004987}@media(max-width:760px){.workflow-sequence-row{padding:9px}.workflow-sequence-top{gap:5px;flex-wrap:wrap}.workflow-move-actions{margin-left:auto}.custom-phase-fields{grid-template-columns:1fr}.workflow-grip{padding:5px}.workflow-move-actions>button:not(.remove-material){padding:7px 9px}}

.pvc-toolbar{display:flex;gap:12px;align-items:center;padding:15px 18px;margin-bottom:24px}.pvc-toolbar .search{max-width:470px}.pvc-week-section{margin-bottom:28px}.pvc-week-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:5px 1px 14px}.pvc-week-heading h2{font-size:18px;margin:0}.pvc-week-heading>span{font-size:12px;color:#8190a4;white-space:nowrap}.pvc-group-panel{margin-bottom:15px}.pvc-group-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 20px;background:#f9fbfd}.pvc-group-heading strong{font-size:14px}.pvc-group-heading small{font-size:12px}.pvc-group-heading button{font-size:12px;padding:8px 12px}.pvc-table{min-width:930px}.pvc-table td{padding:16px}.pvc-table td>small{line-height:1.6;max-width:280px}.pvc-table td>.tag{margin-top:7px}.pvc-table td>button{font-size:11px;white-space:nowrap;padding:7px 10px}.pvc-order-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.pvc-order-summary>span{font-size:11px;color:#8190a4;border-left:2px solid #d6e4ee;padding-left:12px}.pvc-order-summary strong{display:block;font-size:14px;color:#36526f;font-weight:550;margin-top:7px;overflow-wrap:anywhere}.pvc-production-plan>strong{font-size:17px;color:#004987}.pvc-production-plan>small{line-height:1.7;font-size:12px;margin-top:8px}@media(max-width:760px){.pvc-toolbar{flex-wrap:wrap;padding:13px}.pvc-toolbar .search{flex-basis:100%;max-width:none}.pvc-week-heading{align-items:flex-start;flex-direction:column;gap:7px}.pvc-week-heading h2{font-size:16px}.pvc-group-heading{padding:14px}.pvc-group-heading button{font-size:11px;padding:7px}.pvc-order-summary{grid-template-columns:1fr 1fr;gap:16px 10px}.pvc-production-plan .actions{flex-wrap:wrap}}

[hidden]{display:none!important}

.stats.pvc-stats{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.stats.pvc-stats .stat.pvc-stat-open{background:#eef5fc;border-color:#b7cce2;border-top-color:#004987}.stats.pvc-stats .stat.pvc-stat-open .num{color:#004987}
.stats.pvc-stats .stat.pvc-stat-unplanned{background:#fff5e2;border-color:#e7c78f;border-top-color:#c77608}.stats.pvc-stats .stat.pvc-stat-unplanned .num{color:#a65b00}
.stats.pvc-stats .stat.pvc-stat-ready{background:#eff7e6;border-color:#bcd29c;border-top-color:#6c9620}.stats.pvc-stats .stat.pvc-stat-ready .num{color:#46741c}
.pvc-table{min-width:760px}.pvc-table .pvc-move-column{width:1%;padding-left:7px;padding-right:9px;white-space:nowrap;text-align:center}.pvc-table .pvc-move-button{font-size:11px;padding:5px 7px;min-height:27px;color:#004987;border-color:#b9cde1;background:#fff}.pvc-week-holidays{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.pvc-week-holidays>span{display:inline-block;color:#fff1cf;background:#ffffff17;border:1px solid #ffffff55;border-left:3px solid #f4c05e;border-radius:4px;font-size:12px;padding:5px 8px;line-height:1.4}.pvc-archive-body>.pvc-week-holidays{margin:0 4px 14px}.pvc-archive-body>.pvc-week-holidays>span{color:#825000;background:#fff2d6;border-color:#dfc38e}

/* Overview: distinct status colours and clear week/group hierarchy. */
.overview-legend{display:flex;flex-wrap:wrap;gap:10px 20px;margin:4px 0 22px;font-size:13px;color:#405570}.overview-legend span{display:flex;align-items:center;gap:7px}.overview-legend span:before{content:"";width:11px;height:11px;border-radius:3px;background:var(--state)}
.waiting,.state-waiting{--state:#cbd5e1;--tint:#fff}.scheduled,.state-scheduled{--state:#004987;--tint:#edf5ff}.working,.state-working{--state:#c18b00;--tint:#fff9e6}.done,.state-done,.state-prepared{--state:#278044;--tint:#eff8e6}.overdue{--state:#c13f38;--tint:#fff0ef}.state-mounted{--state:#68768a;--tint:#f1f4f7}
.stats .stat{position:relative;border:1px solid #b7cce2;border-top:4px solid #004987;background:#eef5fc;box-shadow:0 3px 9px #12334f06}.stats .stat .top{color:#294b6f;font-weight:600}.stats .stat .num{color:#004987;font-weight:700}.stats .stat small{color:#546b81}.stats .stat:nth-child(2){background:#edf9f5;border-color:#a9d2c3;border-top-color:#00847c}.stats .stat:nth-child(2) .num{color:#00736c}.stats .stat:nth-child(3){background:#f1f8e7;border-color:#bed29f;border-top-color:#6c9620}.stats .stat:nth-child(3) .num{color:#46741c}.stats .stat:nth-child(4){background:#fff0ee;border-color:#e4b8b4;border-top-color:#c13f38}.stats .stat:nth-child(4) .num{color:#b63430}.stats .symbol{background:#fff9;color:inherit}.pvc-stats .stat:nth-child(3){background:#fff5e2;border-color:#e7c78f;border-top-color:#c77608}.pvc-stats .stat:nth-child(3) .num{color:#a65b00}.pvc-stats .stat:nth-child(4){background:#eff7e6;border-color:#bcd29c;border-top-color:#6c9620}.pvc-stats .stat:nth-child(4) .num{color:#46741c}
.tag{font-weight:600;font-size:12px;border:1px solid transparent;padding:5px 9px;line-height:1.4}.tag.orange{background:#fff0d0;color:#925100;border-color:#ebc273}.tag.blue{background:#dfedff;color:#004987;border-color:#9abde4}.tag.teal{background:#d7f2ec;color:#006a62;border-color:#87c9bb}.tag.green{background:#e0f1ce;color:#2f6518;border-color:#a9ca7b}.tag.purple{background:#ebe3fa;color:#68429d;border-color:#c3a9e4}.tag:before{width:6px;height:6px}
tr.order{background:var(--tint,#fff)}tr.order td:first-child{box-shadow:inset 5px 0 var(--state,transparent)}tr.order:hover{background:var(--tint,#f4f8fc);filter:brightness(.975)}tr.order:focus-visible{outline:3px solid #004987;outline-offset:-3px}tr.order td{border-bottom-color:#dbe3ec}tr.order td strong{color:#173b62}tr.order td small{color:#64758b}.units-cell,.hours-cell{font-weight:650;color:#173b62}.deadline.late{color:#b22d29;font-weight:700;background:#ffe1dd}.deadline.late small{color:#a92e29;font-weight:500}.progress{gap:4px}.progress i{height:7px;background:#cdd7e3}.progress i.done{background:#00847c}.progress+small{color:#39556b!important;font-weight:600}
.order-group th{background:#004987;color:white;border-top:0;padding-top:13px;padding-bottom:13px;font-size:13px}.order-group th span{background:#ffffff28;color:white;padding:3px 8px;border-radius:4px}.order-group.group-1 th{background:#427720}.order-group.group-2 th{background:#5368a9}.order-group.group-3 th{background:#627487}
.pvc-week-section{margin-bottom:26px;border-radius:10px;overflow:hidden;border:1px solid #aac4df;background:#eaf2fa;padding:0 12px 0}.pvc-week-heading{margin:0 -12px 12px;padding:17px 20px;background:#004987;color:white;align-items:center}.pvc-week-heading h2{color:inherit;font-size:19px;margin:0 0 6px}.pvc-week-heading>div>span{font-size:13px;color:#e5effa}.week-unplanned{border-color:#d7b36e;background:#fcf5e8}.week-unplanned .pvc-week-heading{background:#9d600b}.week-unplanned .pvc-week-heading>div>span{color:#fff0d6}.week-mounted{background:#edf1f4;border-color:#aab8c5}.week-mounted .pvc-week-heading{background:#5a6d80}.week-label{border:1px solid #ffffff80;background:#ffffff20;padding:6px 10px;border-radius:5px;font-size:12px;font-weight:600;white-space:nowrap}.week-close-action{text-align:right}.week-close-action button{background:white;color:#004987;border-color:white;font-weight:600}.week-close-action button:disabled{background:#ffffff20;border-color:#ffffff45;color:#e7edf5;opacity:1;cursor:not-allowed}.week-close-action small{display:block;color:#e5effa;font-size:12px;margin-top:6px}.pvc-group-panel{border:1px solid #a8bed3;margin-bottom:12px;box-shadow:0 2px 5px #15334f08}.pvc-group-heading{background:#dce9f5;border-bottom:1px solid #b4c9de;padding:14px 17px;border-left:5px solid #004987}.pvc-group-heading strong{color:#004078;font-size:16px;font-weight:700}.pvc-group-heading small{color:#4b6681;font-size:13px;margin-top:5px}.pvc-group-heading button{border-color:#8caccb;background:#fff;color:#004987;font-weight:600}.pvc-table th{background:#f0f4f8;color:#4b6078}.pvc-table td{font-size:14px}.pvc-table td>small{font-size:12px}
.pvc-week-archive{padding:0;background:#edf1f5;border-color:#b9c7d2}.pvc-week-archive>summary{display:flex;align-items:center;gap:12px;list-style:none;padding:15px 18px;cursor:pointer;color:#41566b;font-size:14px}.pvc-week-archive>summary::-webkit-details-marker{display:none}.archive-chevron{font-size:24px;line-height:1;transition:transform .15s}.pvc-week-archive[open] .archive-chevron{transform:rotate(90deg)}.archive-label{font-size:11px;text-transform:uppercase;letter-spacing:.04em;background:#d6e6d3;color:#3b6538;border:1px solid #acc4a6;padding:4px 7px;border-radius:4px}.pvc-week-archive>summary small{margin-left:auto;font-size:12px;color:#5e7389}.pvc-archive-body{padding:0 12px 1px;border-top:1px solid #c3ced9}.pvc-archive-info{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 4px;font-size:12px;color:#5e7389}.pvc-archive-info button{font-size:12px}.closed-week-notice{padding:13px;background:#edf1f5;border-left:4px solid #627487;font-size:13px;color:#41566b;line-height:1.6}
@media(max-width:760px){.overview-legend{gap:9px 13px;font-size:12px}.pvc-week-heading{padding:15px;flex-direction:row;align-items:center}.pvc-week-heading h2{font-size:16px}.pvc-week-heading>div>span{font-size:12px}.pvc-week-heading .week-close-action{max-width:135px;flex-shrink:0}.week-close-action button{font-size:12px;padding:8px}.week-close-action small{font-size:11px}.pvc-week-section{padding:0 8px}.pvc-week-heading{margin-left:-8px;margin-right:-8px}.pvc-week-archive{padding:0}.pvc-week-archive>summary{flex-wrap:wrap;gap:7px;padding:13px}.pvc-week-archive>summary strong{flex:1;font-size:13px}.pvc-week-archive>summary small{flex-basis:100%;margin-left:19px}.pvc-archive-info{align-items:flex-start;flex-direction:column}.pvc-group-heading strong{font-size:14px}.pvc-group-heading small{font-size:12px}}

.pvc-table{min-width:760px}

.pvc-table tr.state-working,.overview-legend.pvc-legend .working{--state:#c18b00;--tint:#fff9e6}

.order-group.group-3 th{padding:0}.mounted-group-toggle{display:flex;align-items:center;gap:8px;width:100%;padding:13px 20px;border:0;border-radius:0;background:transparent;color:white;font:inherit;text-align:left}.mounted-group-toggle:hover{background:#ffffff12}.mounted-group-toggle i{font-size:21px;font-style:normal;line-height:1;transition:transform .15s}.mounted-group-toggle[aria-expanded="true"] i{transform:rotate(90deg)}.mounted-group-toggle small{margin-left:auto;color:#e5edf5;font-weight:400;font-size:12px}.mounted-group-toggle:focus-visible{outline:2px solid white;outline-offset:-4px}

.pvc-table td>.pvc-last-phase{display:block;margin-top:6px;max-width:210px;color:#8a6100;font-size:12px;font-weight:600;line-height:1.45;white-space:normal}

.pvc-week-heading>.pvc-week-number{display:flex;align-items:center;justify-content:center;align-self:stretch;min-width:96px;padding-right:18px;border-right:1px solid #ffffff38;font-size:72px;line-height:1;font-weight:750;letter-spacing:-.055em;color:white;font-variant-numeric:tabular-nums}.pvc-week-heading>.pvc-week-caption{flex:1;min-width:0}.pvc-week-heading{gap:20px}.pvc-week-heading>.week-close-action{flex-shrink:0}@media(max-width:760px){.pvc-week-heading{gap:12px;flex-wrap:wrap}.pvc-week-heading>.pvc-week-number{font-size:52px;min-width:62px;padding-right:12px}.pvc-week-heading>.pvc-week-caption{flex-basis:calc(100% - 90px)}.pvc-week-heading>.week-close-action{margin-left:auto;max-width:none}.pvc-week-heading>.week-close-action small{display:inline;margin-left:8px}}

.pvc-table th:first-child{width:35%}.pvc-order-identity{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 13px}.pvc-order-identity .order-number-with-link{flex-shrink:0}.pvc-order-identity .pvc-order-number{font-size:23px;font-weight:750;line-height:1.2;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.pvc-order-name{flex:1;min-width:135px;font-size:14px;font-weight:600;line-height:1.45;color:#244869;overflow-wrap:anywhere}.pvc-table td>.pvc-order-contract{margin-top:7px;font-size:12px}@media(max-width:760px){.pvc-order-identity .pvc-order-number{font-size:21px}.pvc-order-name{font-size:13px;min-width:115px}}

.station-settings-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:19px 0;border-bottom:1px solid var(--line)}.station-settings-row strong{font-size:16px;margin-right:10px}.station-settings-row p{font-size:14px;color:#4b6580;line-height:1.6;margin:9px 0 4px}.station-settings-row small{color:#70869a;font-size:12px}.station-custom-rule{padding:12px 15px;background:#eef7e5;border:1px solid #c5dba7;border-radius:7px;font-size:13px;color:#466b25;line-height:1.6;margin:15px 0}.station-device-setting{margin-top:24px;padding:20px;background:#eef4fa;border:1px solid #c9d9e8;border-radius:8px}.station-device-setting h3{margin:0 0 9px;font-size:16px;color:#004987}.station-device-setting p{font-size:13px;line-height:1.6;color:#526c86}.station-device-controls{display:flex;align-items:flex-end;gap:12px;margin-top:15px}.station-device-controls .field{flex:1;max-width:420px}.station-active{display:flex;align-items:center;gap:9px;font-size:14px;margin:18px 0}.station-phase-picker{margin:18px 0}.station-permission-hint{display:block;flex-basis:100%;font-size:12px;color:#89713e;line-height:1.5;margin-top:5px}.phase-control>button:disabled{cursor:not-allowed;opacity:.45}.workstation-context{display:flex;align-items:center;gap:14px;margin:20px 38px 0;padding:15px 19px;border:1px solid #a6bed6;border-left:5px solid #004987;border-radius:8px;background:#e7f0f9;color:#20456b}.workstation-context small{font-size:10px;font-weight:650;letter-spacing:.1em;color:#557592}.workstation-context strong{display:block;font-size:18px;margin:3px 0}.workstation-context span:not(.workstation-context-icon){display:block;font-size:12px;line-height:1.6}.workstation-context-icon{font-size:30px;color:#004987}.station-unassigned{background:#fff5df;border-color:#e0c38a;border-left-color:#c18b00;color:#815c17}.station-unassigned strong{font-size:15px}@media(max-width:760px){.station-device-controls{align-items:stretch;flex-direction:column}.station-device-controls .field{max-width:none}.workstation-context{margin:15px 18px 0;padding:13px}.station-settings .sectionhead{align-items:flex-start;gap:12px}.station-settings-row strong{display:block;margin-bottom:8px}}

.new-alu-type{display:flex;gap:5px;background:#eaf0f6;border-radius:8px;padding:5px;margin:0 0 20px}.new-alu-type button{flex:1;background:transparent;border:0;color:#637c93}.new-alu-type button[aria-pressed="true"]{background:#004987;color:white;box-shadow:0 2px 4px #00385f18}.overview-legend{margin-top:22px;margin-bottom:0}

.contract-picker{position:relative}.contract-picker>label{display:block}.contract-picker>input[type="text"]{width:100%}.contract-suggestions{position:relative;max-height:260px;overflow-y:auto;border:1px solid #abc1d7;border-radius:7px;background:white;box-shadow:0 5px 15px #173b6212}.contract-suggestions>button{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;border:0;border-radius:0;border-bottom:1px solid #e2eaf2;padding:10px 13px;background:white;color:#234766;font-size:13px}.contract-suggestions>button:last-child{border-bottom:0}.contract-suggestions>button:hover,.contract-suggestions>button[aria-selected="true"]{background:#eaf2fb}.contract-suggestions>button span{font-size:12px;color:#6b8096}.contract-picker>small{font-size:12px;color:#6c8197;line-height:1.6}.pagination{display:flex;gap:12px;align-items:center}.pagination button{font-size:12px;padding:7px 10px}.pagination>span{font-size:12px}.pagination button:disabled{opacity:.4;cursor:not-allowed}@media(max-width:760px){.pagination{gap:7px;flex-wrap:wrap}.pagination button{padding:7px}.tablefoot:has(.pagination){gap:12px;flex-wrap:wrap}}

.pvc-week-section.week-planned,.pvc-week-section.week-mounted,.pvc-week-section.pvc-week-archive{border:3px solid #004987}
.statistics-toolbar{display:flex;align-items:center;gap:24px;padding:18px 22px;margin-bottom:22px}.statistics-toolbar p,.statistics-note,.statistics-footnote{font-size:14px;line-height:1.7;color:#64758b}.statistics-toolbar .field{min-width:160px}.statistics-cards .num span{font-size:16px;font-weight:500;letter-spacing:0}.statistics-cards .stat{border-top:4px solid #004987}.statistics-cards .stat:nth-child(2){border-top-color:#00847c}.statistics-cards .stat:nth-child(3){border-top-color:#bf8c10}.statistics-cards .stat:nth-child(4){border-top-color:#278044}.statistics-note{padding:16px 20px;background:#edf4fa;border:1px solid #d3e2ee;border-radius:8px;margin-bottom:24px}.statistics-section{margin-bottom:24px}.statistics-section h2{padding:20px 22px 0;font-size:19px}.statistics-section p.sub{padding:0 22px 18px;line-height:1.6}.statistics-section th{font-size:12px;letter-spacing:0;text-transform:none}.statistics-section td{padding:14px 20px;font-size:14px}.statistics-section tbody tr:nth-child(even){background:#f8fafc}.statistics-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.statistics-empty{padding:22px;color:#7a879b;font-size:14px}.statistics-order-link{padding:0;border:0;background:transparent;color:#004987;text-decoration:underline}.statistics-footnote{margin-top:0}@media(max-width:1000px){.statistics-columns{grid-template-columns:1fr}.statistics-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.statistics-toolbar{align-items:flex-start;flex-direction:column;gap:8px}.statistics-cards{grid-template-columns:1fr}.statistics-section table{min-width:580px}}

nav .ico{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}nav .ico svg{display:block}

.pvc-phase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.pvc-phase-card{min-width:0;padding:12px;display:flex;flex-direction:column;align-items:stretch}.pvc-phase-card>strong.pvc-phase-name{font-size:14px;color:#173b62;line-height:1.4}.pvc-phase-card>small{margin:4px 0 0}.pvc-phase-card>.phase-control{justify-content:flex-start;align-items:flex-start;margin-top:10px}.pvc-phase-card .phase-stamp{flex-basis:100%;text-align:left}.pvc-phase-card .notes{margin-top:10px;min-width:0;width:100%}.pvc-phase-card.inactive-phase{margin:0;padding:12px}.pvc-phase-options{margin-top:auto;padding-top:10px}.pvc-phase-options .phase-toggle{text-align:left;white-space:normal;max-width:100%}.pvc-phase-card>.tag{align-self:flex-start;margin-top:10px}@media(max-width:1200px){.pvc-phase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.pvc-phase-grid{grid-template-columns:1fr}}

.stat .symbol:has(svg){display:inline-flex;align-items:center;justify-content:center;padding:6px;flex-shrink:0}.stat .symbol svg{display:block;width:20px;height:20px}.stat:nth-child(3) .symbol:has(svg){color:#278044;background:#eaf4e2}

.pvc-phase-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.pvc-phase-heading .pvc-phase-name{font-size:14px;color:#173b62;line-height:1.4;overflow-wrap:anywhere}.pvc-remove-phase{border:0;background:transparent;color:#8a6a6a;font-size:22px;line-height:1;min-width:28px;min-height:28px;padding:1px 4px;margin:-4px -5px 0 0;flex-shrink:0}.pvc-remove-phase:hover{color:#b22d29;background:#fff0ef}.pvc-removed-phases{margin:12px 0;font-size:13px;color:#718298}.pvc-removed-phases summary{cursor:pointer}.pvc-removed-phases>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e5eaf1}.pvc-removed-phases button{padding:6px 9px;font-size:12px}

.order-notice-indicator{display:inline-flex;align-items:center;gap:4px;padding:4px 5px;min-height:27px;border:1px solid #e7b86f;background:#fff4da;color:#986000;border-radius:5px;font-size:11px;flex-shrink:0}.order-notice-indicator:hover{background:#ffebbd}.order-notice-indicator svg{display:block;flex-shrink:0}.order-notices-panel{border-left:4px solid #d09226}.order-notices-panel .sectionhead{flex-wrap:wrap;gap:10px}.order-notices-panel h2{margin:0}.order-notice-entry{padding:13px 0;border-top:1px solid #e5eaf1}.order-notice-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.order-notice-heading button{font-size:12px;padding:6px 9px}.notice-message{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0}.notice-resolution{margin-top:12px;padding:10px 12px;background:#f0f8f3;border-radius:6px;font-size:13px}.notice-resolution .notice-message{font-size:13px}.resolved-order-notices{margin-top:12px;font-size:13px;color:#64758b}.resolved-order-notices summary{cursor:pointer}.alert-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.alertbody{min-width:0;overflow-wrap:anywhere}@media(max-width:760px){.alertrow{align-items:flex-start;flex-wrap:wrap}.alert-actions{justify-content:flex-start}.order-notice-heading{flex-wrap:wrap}}

.users-settings .sectionhead{align-items:flex-start;gap:15px}.users-settings .sectionhead>div{min-width:0}.users-settings .sectionhead h2{margin-bottom:5px}.users-table th{font-size:11px;text-transform:none;letter-spacing:0}.users-table td{padding:13px 12px;overflow-wrap:anywhere;font-size:13px}.users-table th{padding:12px}.users-table td:nth-child(3){max-width:250px}.users-table td:last-child{white-space:nowrap}.users-table td button{font-size:12px;padding:7px 10px}.users-mail-note{font-size:13px;color:#718298;line-height:1.6;margin:14px 0 0}@media(max-width:760px){.users-settings .sectionhead{flex-wrap:wrap}.users-table{min-width:640px}}
.user-auto-logout{display:flex;align-items:center;gap:9px;margin:18px 0 8px;font-size:14px}.user-auto-logout input{width:17px;height:17px}.user-timeout-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding-top:17px;margin-top:17px;border-top:1px solid #e5eaf1}.user-timeout-form .field{max-width:235px}.user-timeout-form .form-error{flex-basis:100%;margin:0}.users-table{min-width:720px}

.access-sheet-list{margin:20px 0}.access-sheet-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid #e5eaf1}.access-sheet-list small{line-height:1.6}.access-sheet-list button{white-space:nowrap;font-size:12px}.users-table td:last-child button+button{margin-left:6px}
.user-delete-button{color:#a63a35}.deleted-users{margin:15px 0;font-size:13px;color:#64758b}.deleted-users summary{cursor:pointer}.deleted-users>div{display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid #e5eaf1;padding:12px 0}.deleted-users button{font-size:12px;padding:7px 10px}

.station-settings-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
dialog:has(.pvc-print-form){width:1150px;max-width:96vw}.pvc-print-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px}.pvc-print-options fieldset{border:0;padding:0;margin:0 0 19px}.pvc-print-options legend{font-size:14px;font-weight:600;margin-bottom:10px}.pvc-print-options label{display:flex;align-items:flex-start;gap:8px;font-size:13px;margin:9px 0}.pvc-print-options label.field{flex-direction:column}.pvc-print-options label.field select{width:100%}.pvc-print-options input[type=checkbox],.pvc-print-options input[type=radio]{margin:2px 0 0;flex-shrink:0}.pvc-print-week-picker{padding-left:22px}.pvc-print-preview{min-width:0;max-height:65vh;overflow:auto;background:#f1f4f8;padding:15px}.pvc-print-preview>p{margin:0 0 10px;color:#64758b;font-size:13px}.pvc-print-sheet{background:white;color:#243247;padding:18px;margin-bottom:14px;min-width:600px}.pvc-print-dochead{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:2px solid #004987;padding:0 0 12px;height:auto}.pvc-print-dochead>div{display:flex;align-items:center;gap:8px}.pvc-print-dochead strong{font-size:22px;color:#004987}.pvc-print-dochead>span{text-align:right;font-size:12px}.pvc-print-dochead small{font-size:10px}.pvc-print-sheet h2{font-size:16px;margin:16px 0 12px}.pvc-print-sheet table{font-size:11px;width:100%;table-layout:fixed}.pvc-print-sheet th{font-size:10px;text-transform:none;letter-spacing:0;background:white;color:#243247;padding:9px 4px;overflow-wrap:anywhere}.pvc-print-sheet th:first-child{width:23%}.pvc-print-sheet th:nth-child(2){width:29%}.pvc-print-sheet td{padding:10px 4px;border-bottom:1px solid #dce3ed;overflow-wrap:anywhere}.pvc-print-sheet td strong,.pvc-print-sheet td span{display:block}.pvc-print-sheet td small{font-size:10px;color:#64758b}.pvc-print-sheet th.pvc-print-phase,.pvc-print-sheet td.pvc-print-phase{text-align:center}.pvc-print-sheet td.pvc-print-phase{font-size:15px}.pvc-print-group td{font-weight:600;border-top:1px solid #8a9bae}.pvc-print-notice{font-size:10px;font-weight:600;margin:5px 0;white-space:pre-wrap}.pvc-print-legend,.pvc-print-total,.pvc-print-holidays{font-size:11px;margin-top:12px}.pvc-print-sheet footer{padding:9px 0 0;margin-top:20px;font-size:10px;border-top:1px solid #dce3ed;color:#64758b;display:flex;justify-content:space-between}#pvcPrintOutput{display:none}@media(max-width:900px){.pvc-print-layout{grid-template-columns:1fr}.pvc-print-options{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}.pvc-print-preview{max-height:55vh}}@media(max-width:500px){.pvc-print-options{grid-template-columns:1fr}}
@media print{@page{size:A4 landscape;margin:12mm}body.pvc-printing{margin:0;background:white}body.pvc-printing>:not(#pvcPrintOutput){display:none!important}body.pvc-printing>#pvcPrintOutput{display:block!important}.pvc-print-sheet{min-width:0;padding:0;margin:0;break-after:page}.pvc-print-sheet:last-child{break-after:auto}.pvc-print-sheet thead{display:table-header-group}.pvc-print-sheet tr{break-inside:avoid}.pvc-print-group{break-after:avoid}.pvc-print-dochead img{print-color-adjust:exact}.pvc-print-sheet footer{position:static}}
.pvc-print-sheet table{min-width:0}
.pvc-group-material-link{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff;border-color:#adc4d9;color:#004987;padding:9px 12px}.pvc-group-heading>.pvc-group-material-link{flex-shrink:0}.pvc-shared-material-summary{display:flex;align-items:center;justify-content:space-between;gap:20px}.pvc-shared-material-summary h2{margin-bottom:10px}.pvc-material-table{width:100%;table-layout:fixed;min-width:820px}.pvc-material-table th:first-child{width:21%}.pvc-material-table th{vertical-align:top;white-space:normal}.pvc-material-table th small{display:block;font-weight:400;margin-top:4px;text-transform:none;letter-spacing:0}.pvc-material-table tbody th{background:#edf4fa;color:#004987;text-transform:none;letter-spacing:0;font-size:15px;border-top:1px solid #cad9e7}.pvc-material-table td{vertical-align:top;border-top:1px solid #dce5ee;padding:14px}.pvc-material-table .material-cell-done{background:#f3faf7}.pvc-material-table .phase-control{align-items:flex-start}.pvc-material-table .phase-stamp{flex-basis:100%}.pvc-material-options{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}.pvc-material-options .phase-toggle{white-space:normal;text-align:left}.pvc-material-note td{padding:5px 12px 17px;border-top:0}.pvc-material-note textarea{min-height:34px;margin:0}.pvc-group-members{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:14px}.pvc-group-members button{text-align:left;display:flex;gap:8px;flex-wrap:wrap;padding:12px}.pvc-group-members small{flex-basis:100%;color:#71839a}.pvc-group-heading{flex-wrap:wrap}@media(max-width:650px){.pvc-shared-material-summary{align-items:flex-start;flex-direction:column}.pvc-group-material-link{width:100%}}
.pvc-group-material-stages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.pvc-group-material-stages .step{min-height:105px}.pvc-material-state{margin-top:8px}.pvc-group-purchases{margin:18px 0}.pvc-group-purchases h3{margin:0 0 10px;font-size:15px}.pvc-group-purchases .purchase-entry{max-width:720px}.pvc-group-material-stages+.notes{margin-top:14px}@media(max-width:550px){.pvc-group-material-stages{grid-template-columns:1fr}}
.delete-purchase{color:#b42318;font-size:11px;padding:4px 7px}.deleted-purchases{margin:12px 0;font-size:13px}.deleted-purchases summary{cursor:pointer;color:#64758b}.deleted-purchases>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #e5ebf2}.deleted-purchases button{padding:4px 9px}
.alu-hall-picker{border:1px solid #dce5ef;border-radius:8px;padding:14px;margin:16px 0}.alu-hall-picker legend{font-weight:600;padding:0 5px}.alu-hall-row{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:12px;margin:10px 0}.alu-hall-row label{display:flex;align-items:center;gap:8px;font-weight:600}.alu-hall-row input[type=text],.alu-hall-row>input{min-width:0;width:100%;border:1px solid #dbe4ef;border-radius:6px;padding:9px}.alu-hall-row>input:disabled{background:#f4f6f9}.alu-extras-summary{display:flex;gap:24px;margin:12px 0}.alu-extras-summary span{display:flex;gap:8px}.alu-hall-summary{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 20px}.alu-hall-summary>div{background:#edf4fa;border-left:3px solid #004987;border-radius:5px;padding:9px 12px;display:flex;gap:10px;align-items:flex-start}.alu-hall-summary span{white-space:pre-wrap;overflow-wrap:anywhere}.register-note{white-space:pre-wrap;max-width:280px}.register-table{min-width:760px}.register-table small{display:block;margin-top:5px}@media(max-width:550px){.alu-hall-row{grid-template-columns:1fr}.alu-extras-summary{flex-wrap:wrap}}
.register-table th{padding-top:9px;padding-bottom:9px}.register-table td{padding-top:8px;padding-bottom:8px;line-height:1.3}.register-table small{margin-top:2px;line-height:1.2}.register-table .link-small,.register-table .pdf-link{padding:3px 6px;min-height:0}.register-table .tag{padding:3px 7px;line-height:1.2}
.alu-overview-halls{min-width:140px;max-width:240px;white-space:normal;text-align:left}.alu-overview-hall+ .alu-overview-hall{margin-top:9px}.alu-overview-hall strong{color:#004987;font-size:12px}.alu-overview-hall small{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.4;margin-top:2px}
.alu-overview-table td{padding:11px 14px}.alu-overview-table th{padding:10px 14px}.alu-overview-table td.deadline{white-space:nowrap}.alu-overview-hall+.alu-overview-hall{margin-top:4px}.alu-overview-hall{line-height:1.4}.alu-overview-hall span{display:inline;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:#64758b}.material-progress{align-items:center}.material-progress i.manual-material{width:14px;min-width:14px;height:14px;border-radius:50%;flex-shrink:0}.material-progress i.manual-start{margin-left:8px}
.progress i{border:1px solid #000}

.pinned-order-header{position:fixed;z-index:30;overflow:hidden;pointer-events:none;background:#f9fafc;box-shadow:0 2px 5px #24324724}.pinned-order-header table{table-layout:fixed;margin:0}.pinned-order-header th{box-sizing:border-box}@media print{.pinned-order-header{display:none!important}}

/* Collect list and readable A4 print columns. */
.collect-table th:first-child{width:210px}.collect-table th:last-child{width:180px}.collect-description{white-space:pre-wrap;overflow-wrap:anywhere}.collect-check{display:inline-flex;align-items:center;gap:8px;font-size:14px;cursor:pointer}.collect-check input{width:20px;height:20px;accent-color:#00847c;cursor:pointer}.collect-archive{margin-top:22px}.collect-archive>summary{padding:16px 20px;font-weight:600;cursor:pointer;background:#edf3f7;border-radius:8px}.collect-archive>summary span{margin-left:8px;font-size:13px;color:#64758b}
dialog:has(.pvc-print-form){width:1480px}.pvc-print-layout{grid-template-columns:230px minmax(0,1fr)}.pvc-print-preview .pvc-print-sheet{min-width:1000px}.pvc-print-sheet .pvc-print-table th{width:auto;overflow-wrap:normal;word-break:normal;white-space:nowrap;vertical-align:middle}.pvc-print-sheet .pvc-print-due{white-space:nowrap}.pvc-print-sheet .pvc-print-table td.pvc-print-phase{vertical-align:middle}
@media(max-width:900px){.pvc-print-layout{grid-template-columns:1fr}}@media print{.pvc-print-sheet .pvc-print-table{width:100%}.pvc-print-sheet .pvc-print-table th{font-size:9px}}

.pvc-print-preview .pvc-print-sheet{width:1000px;min-width:1000px;box-sizing:border-box}

.collect-table th:first-child{width:180px}.collect-table th:nth-child(3){width:150px}.collect-table th:last-child{width:140px}.collect-actions{display:flex;flex-wrap:wrap;gap:6px}.collect-delete{color:#a73530}.collect-deleted>summary{color:#64758b}

.service-description{white-space:pre-wrap;overflow-wrap:anywhere}.service-prepared-field input{width:auto}.pvc-print-sheet td.pvc-print-phase.phase-done{background:#e1f2db!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.pvc-print-table td.pvc-print-phase.phase-absent{font-size:10px}.pvc-print-table .pvc-print-phase-date{display:block;font-size:8px;line-height:1.4;white-space:nowrap;margin-top:3px}

.service-table .service-overview-note{white-space:pre-wrap;overflow-wrap:anywhere;min-width:160px;max-width:340px}

.service-execution-fields{margin-top:16px}.service-plan-date{min-width:110px}.service-print-sheet .service-print-table th{width:auto;white-space:normal;overflow-wrap:normal}.service-print-text{white-space:pre-wrap}.service-print-date{vertical-align:top}.service-print-sheet .service-print-done{background:#e1f2db!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
textarea.notes.has-note{border-color:#ce4545;background:#fff0f0;color:#a82020;box-shadow:inset 3px 0 #ce4545}textarea.notes.has-note:focus{outline-color:#ce4545;border-color:#b42828}.readonly-note{border:1px solid #e5a1a1;border-left:3px solid #ce4545;border-radius:5px;background:#fff0f0;color:#a82020!important;padding:8px 10px}.service-open{padding:0;border:0;background:transparent;color:#004987;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-align:left}.service-open:hover{background:transparent;color:#002f5a}.service-material-choice span,.service-prepared-field span{display:flex;align-items:center;gap:8px}.service-material-choice input,.service-prepared-field input{width:auto}.service-prepared-field[hidden]{display:none}.service-no-material{border-left:3px solid #4587b5;background:#f0f6fc;padding:12px 14px;font-size:14px;line-height:1.6}
