:root{--green:#1c6550;--dark:#163c33;--ink:#223a34;--muted:#65786f;--line:#dbe4de;--paper:#f4f6f3;--pale:#e9f2eb;--orange:#bc7721}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.5 'Segoe UI',Arial,sans-serif}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{background:white;border:1px solid #cbd9cf;color:var(--ink);padding:10px 15px;border-radius:7px;cursor:pointer;font-size:14px;font-weight:600}button:hover{background:#edf3ed}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #dfa94a;outline-offset:3px}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#124f3d}.danger{color:#9d3f2f}.quiet{border-color:transparent;background:transparent;color:var(--muted)}.small{font-size:13px;padding:6px 10px}.icon-button{padding:5px 11px;font-size:19px}.app{display:grid;grid-template-columns:215px 1fr;min-height:100vh}aside{background:var(--dark);color:white;padding:30px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:white;font-size:18px;line-height:1.2;font-weight:650}.logo{width:40px;height:40px;background:#d3eab2;color:#264d3b;border-radius:9px;display:grid;place-items:center;font-size:24px}.nav-label{font-size:11px;letter-spacing:1.5px;color:#aec8b8;margin:45px 10px 12px}nav{display:grid;gap:6px}nav a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:7px;text-decoration:none;color:#c9dacf;font-size:14px}nav a.active{background:#31564a;color:white}nav a:hover{background:#294e42}.nav-symbol{width:20px;text-align:center;font-size:17px}.aside-bottom{margin-top:auto;color:#c0d3c6;font-size:13px;padding:25px 8px 0}.aside-bottom .tag{background:#2e5445;color:#d9e8da}.main{min-width:0}header{background:#fff;border-bottom:1px solid var(--line);padding:18px 32px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px}.header-right{display:flex;align-items:center;gap:15px}#saved{font-size:12px;color:var(--muted)}main{padding:30px 32px;max-width:1480px;margin:auto}h1{font-size:30px;letter-spacing:-.7px;line-height:1.25;margin:0 0 8px}h2{font-size:19px;line-height:1.3;margin:0 0 8px}h3{font-size:16px;margin:0 0 7px}p{margin:6px 0 16px}a{color:var(--green)}.muted{color:var(--muted);font-size:14px}.eyebrow{color:var(--green);letter-spacing:1.5px;font-size:11px;font-weight:700;margin-bottom:8px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:26px}.page-head p{margin:0;color:var(--muted);font-size:14px}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tag{display:inline-block;font-size:12px;padding:4px 8px;background:var(--pale);color:#3c674b;border-radius:5px}.tag.amber{background:#fff0d7;color:#876321}.tag.gray{background:#edf0ed;color:#637268}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.stat{border:1px solid var(--line);background:white;border-radius:9px;padding:18px 20px}.stat b{font-size:29px;display:block;margin:6px 0}.stat span{font-size:13px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{border:1px solid var(--line);border-radius:10px;background:white;padding:22px;min-width:0}.card h2{font-size:18px}.card .actions{margin-top:20px}.card p{font-size:14px;color:var(--muted)}.card-icon{width:39px;height:39px;border-radius:8px;background:#e9f0e6;display:grid;place-items:center;color:var(--green);font-size:20px;margin-bottom:17px}.panel{border:1px solid var(--line);border-radius:10px;background:white;padding:23px;margin-bottom:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.panel-head h2{margin:0}.empty{padding:46px 24px;text-align:center;background:white;border:1px dashed #bbcec0;border-radius:10px}.empty h2{font-size:21px}.empty p{max-width:500px;margin:8px auto 22px;color:var(--muted);font-size:14px}.empty .card-icon{margin:0 auto 16px;width:52px;height:52px}.notice{padding:13px 17px;border:1px solid #dedfcb;border-radius:8px;background:#faf8e9;color:#706439;font-size:13px;margin-bottom:22px}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:15px 0 23px}.tabs button{border:0;border-radius:0;background:none;color:var(--muted);padding:13px 17px}.tabs button.active{color:var(--green);box-shadow:inset 0 -3px var(--green)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:9px;background:white}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;font-size:12px;color:#566e5e;font-weight:600;background:#edf3ed;padding:13px 16px;white-space:nowrap}td{padding:14px 16px;border-top:1px solid #e7ece7;vertical-align:middle;max-width:350px;overflow-wrap:anywhere}td .actions{flex-wrap:nowrap}td small{display:block;color:var(--muted);font-size:12px}.row-tools{display:flex;justify-content:space-between;gap:12px;margin:0 0 17px}.row-tools input{max-width:360px}.badge-num{display:inline-grid;place-items:center;min-width:26px;height:26px;background:#e6efdf;color:#3f6448;border-radius:6px;font-weight:700;font-size:13px}.field-key{font:12px Consolas,monospace;color:var(--muted)}.field-line{display:flex;gap:14px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}.field-line:first-child{border-top:0}.grow{flex:1;min-width:0}.field-line .muted{font-size:12px}.step-card{background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:16px;overflow:hidden}.step-head{display:flex;gap:13px;align-items:center;padding:19px 20px;border-bottom:1px solid var(--line)}.step-fields{padding:0 20px 17px}.step-card.finished .step-head{background:#edf5ea}.step-card.current{border-color:#438665}.step-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.process-line{height:20px;border-left:2px solid #aac7b0;margin:-16px 0 0 32px}.split{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:22px}.tip{font-size:14px;color:var(--muted)}.tip li{margin-bottom:12px}.widgets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.widget{background:#fff;border:1px solid var(--line);padding:20px;border-radius:10px;min-width:0}.widget.wide{grid-column:1 / -1}.widget .panel-head h2{font-size:17px}.big-number{font-size:42px;font-weight:650;letter-spacing:-1px;margin:18px 0}.bar-row{display:grid;grid-template-columns:110px 1fr 55px;gap:12px;align-items:center;font-size:13px;margin:14px 0}.bar{height:13px;background:#e7eee6;border-radius:3px;overflow:hidden}.bar span{display:block;height:100%;background:#52876a}.bar-row span{overflow-wrap:anywhere}label{display:block;font-size:14px;font-weight:500;margin-bottom:15px}label .muted{font-size:12px;font-weight:400}input,select,textarea{display:block;width:100%;border:1px solid #bdcfc1;border-radius:7px;padding:10px 11px;background:white;color:var(--ink);margin-top:6px;min-height:43px}input[type=checkbox]{display:inline-block;width:18px;height:18px;min-height:0;margin:0 8px 0 0;vertical-align:middle;accent-color:var(--green)}input[type=file]{font-size:13px}textarea{min-height:90px;resize:vertical}.check{display:flex;align-items:center;font-weight:400}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.span2{grid-column:1/-1}dialog{padding:0;border:1px solid var(--line);border-radius:12px;width:620px;max-width:calc(100vw - 28px);max-height:90vh;box-shadow:0 24px 100px #0b25194d;color:var(--ink)}dialog::backdrop{background:#142f2980}#modalForm{padding:25px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px;gap:15px}.modal-head h2{font-size:22px;margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.error{color:#a23b29;font-size:14px}.error:empty{display:none}.filter-row{display:grid;grid-template-columns:1fr 1fr 1fr 35px;gap:6px;align-items:center;margin-bottom:8px}.filter-row button{padding:7px}.filter-row input,.filter-row select{font-size:13px}.checkbox-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 20px}.checkbox-grid label{margin:0;font-weight:400}.permission-wrap th{white-space:normal;min-width:85px}.permission-wrap td:first-child{min-width:180px}.permission-wrap input{cursor:pointer}.archive{opacity:.65}#toast{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);max-width:90%;background:#173e31;color:white;padding:13px 22px;border-radius:8px;box-shadow:0 5px 25px #0003;z-index:30;font-size:14px}#toast:empty{display:none}.link-button{border:none;background:none;padding:0;text-decoration:underline;color:var(--green)}.file-link{display:inline-block;margin:3px 0;font-size:13px}#content:empty{min-height:200px}@media(max-width:1150px){.app{grid-template-columns:185px 1fr}aside{padding:25px 14px}main{padding:25px}.cards{grid-template-columns:1fr 1fr}.split{grid-template-columns:1fr}.split>.panel:last-child{display:none}}@media(max-width:800px){.app{grid-template-columns:1fr}aside{position:static;height:auto;padding:15px 18px;display:block}.brand{font-size:16px;display:inline-flex;line-height:1}.brand br{display:none}.logo{width:30px;height:30px;font-size:20px}.nav-label,.aside-bottom{display:none}nav{display:flex;gap:4px;flex-wrap:wrap;margin-top:16px}nav a{padding:7px 10px;font-size:13px}.nav-symbol{display:none}header{padding:13px 20px}main{padding:23px 20px}.stats{grid-template-columns:1fr 1fr}.page-head{flex-wrap:wrap}.widgets{grid-template-columns:1fr}.widget.wide{grid-column:auto}}@media(max-width:540px){.cards,.form-grid,.step-grid{grid-template-columns:1fr}.span2{grid-column:auto}main{padding:22px 15px}h1{font-size:27px}.page-head{gap:14px}.panel{padding:17px}.stat{padding:15px}.stats{gap:10px}.panel-head{flex-wrap:wrap}.field-line{flex-wrap:wrap}.field-line>.actions{margin-left:40px}.filter-row{grid-template-columns:1fr 1fr}.filter-row input{grid-column:1}.row-tools{flex-wrap:wrap}.row-tools input{max-width:none}#modalForm{padding:20px}.tabs button{padding:11px}.step-head{flex-wrap:wrap}.step-head .actions{margin-left:35px}.checkbox-grid{grid-template-columns:1fr}input,select,textarea{font-size:16px}.header-right{gap:8px}.card{padding:20px}.bar-row{grid-template-columns:80px 1fr 40px}}@media(prefers-reduced-motion:no-preference){dialog[open]{animation:appear .12s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}
.table-wrap th,.table-wrap td{min-width:120px}.table-wrap td{word-break:normal}.table-wrap td:first-child{min-width:150px}
.view-controls,.catalogue-controls{background:white;border:1px solid var(--line);padding:17px;border-radius:9px;margin-bottom:18px}.view-grid{display:grid;grid-template-columns:2fr 2fr 1fr;gap:14px}.catalogue-controls{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.catalogue-controls label{flex:1;min-width:130px;margin:0}.arrange-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:10px 0}.position-label{width:70px;flex-shrink:0;font-size:12px;margin:0}.position-label input{width:70px}.arrange-row .grow{overflow-wrap:anywhere}@media(max-width:600px){.view-grid{grid-template-columns:1fr}.catalogue-controls .actions{width:100%}.arrange-row{gap:7px}.arrange-row button{padding:9px 12px}}
.compact-tools.view-controls,.compact-tools.catalogue-controls{display:block;padding:9px;margin-bottom:14px}.compact-line{display:flex;align-items:center;gap:7px}.compact-tools input,.compact-tools select{margin:0;min-height:36px;height:36px;padding:6px 9px;font-size:14px}.compact-search{position:relative;flex:1;min-width:110px;max-width:340px}.compact-search>svg{position:absolute;left:10px;top:9px;pointer-events:none;color:var(--muted)}.compact-search input{padding-left:34px}.compact-tools .compact-sort{width:175px;min-width:0}.compact-tools .compact-direction{width:55px;flex:none}.compact-actions{display:flex;gap:5px}.compact-tools .tool-button{width:36px;height:36px;padding:0;display:grid;place-items:center;flex:none}.tool-button[aria-expanded=true]{background:var(--pale);border-color:var(--green);color:var(--green)}.compact-filter{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:7px;margin-top:9px;padding-top:9px;border-top:1px solid var(--line)}.compact-filter[hidden]{display:none}@media(max-width:650px){.compact-line{flex-wrap:wrap}.compact-search{max-width:none;flex-basis:calc(100% - 190px)}.compact-tools .compact-sort{width:150px}.compact-tools input,.compact-tools select{height:44px;min-height:44px;font-size:16px}.compact-search>svg{top:13px}.compact-tools .tool-button{width:44px;height:44px}.compact-filter{grid-template-columns:1fr 1fr}.compact-filter input{grid-column:1/-1}}
.project-progress-list{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}.project-progress-choice{display:flex;align-items:center;gap:20px;padding:15px 18px;border:1px solid var(--line);border-radius:9px;background:white;text-decoration:none}.project-progress-choice.selected{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green);background:var(--pale)}.process-progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.process-progress-grid>.panel{margin:0}.progress-ring{width:190px;height:190px;border-radius:50%;background:conic-gradient(var(--green) var(--progress),#e6ece7 0);display:grid;place-items:center;margin:24px auto}.progress-ring>div{background:white;width:153px;height:153px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.progress-ring strong{font-size:30px}.progress-ring span{font-size:12px;color:var(--muted)}.progress-totals{margin:0 0 20px}.progress-totals>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}.progress-totals dt{font-size:14px}.progress-totals dd{margin:0;font-weight:650}@media(max-width:540px){.process-progress-grid{grid-template-columns:minmax(0,1fr)}.project-progress-choice{width:100%;justify-content:space-between}}

/* Hidden form controls must stay hidden even when their normal layout is block. */
select[hidden]{display:none!important}

/* Keep row actions together; the table scrolls on narrow screens. */
.table-wrap td:has(> .actions){min-width:240px;white-space:nowrap}.table-wrap td > .actions{display:flex;flex-direction:row;flex-wrap:nowrap;width:max-content}.table-wrap td > .actions > button{flex:0 0 auto;white-space:nowrap}
.dispatch-item{border:1px solid var(--line);border-radius:9px;padding:14px;margin:12px 0;background:#f8faf7}.dispatch-item .panel-head{margin-bottom:10px}.dispatch-item label{margin-bottom:10px}.dispatch-cell-line+.dispatch-cell-line{border-top:1px solid var(--line);margin-top:7px;padding-top:7px}

dialog:has(#dispatchLines){width:900px}.dispatch-available-table input{min-width:130px;margin:0}.dispatch-available-table th,.dispatch-available-table td{min-width:130px}.dispatch-available-table table{min-width:600px}
.cutting-grid{max-height:65vh;overflow:auto}.cutting-grid th{position:sticky;top:0;z-index:1}.cutting-grid input,.cutting-grid select{margin:0;min-width:145px;min-height:36px;padding:6px 8px;font-size:14px}.cutting-grid input[type=checkbox]{min-width:0;min-height:0}.cutting-grid td{padding:8px}.cutting-grid td:first-child{min-width:55px}.cutting-grid [data-grid-error]{white-space:normal;max-width:240px}
.production-wide{max-height:72vh;overflow:auto}.production-wide table{min-width:4200px}.production-wide thead th{background:#e4efec;white-space:nowrap}.production-wide thead tr:first-child th{background:#174c43;color:white;border-right:3px solid white}.production-wide input,.production-wide select{min-width:130px}.production-wide input[type=checkbox]{min-width:20px;width:20px}.production-locked small{display:block;font-size:10px;color:#667c76;max-width:140px}.production-wide td{vertical-align:top;border-right:1px solid #dce5e0}
/* Freeze the full header (including process groups), and the identifying mark. */
.project-table-scroll{max-height:65vh;overflow:auto;isolation:isolate}
.project-table-scroll table{border-collapse:separate;border-spacing:0}
.project-table-scroll thead{position:sticky;top:0;z-index:10}
.project-table-scroll thead th{position:static;background:#e4efec}
.project-table-scroll .frozen-mark{position:sticky;left:0;z-index:3;background:#fff;min-width:150px;box-shadow:2px 0 0 #b9ccc5}
.project-table-scroll thead .frozen-mark{position:sticky;left:0;z-index:12;background:#e4efec}
.thickness-mismatch{background:#ffd5d5;padding:5px;border:1px solid #be2020;border-radius:5px}.thickness-mismatch input{background:#fff0f0}.report-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.report-filters label{min-width:0}
/* Navy and amber theme shared with the MTO workspace. */
:root{--green:#174761;--dark:#102d40;--ink:#1c3040;--muted:#647b8b;--line:#dbe3e9;--paper:#f2f5f8;--pale:#e8eff4;--orange:#d59744}body{font-family:Arial,Helvetica,sans-serif}.logo{background:transparent;border-top:3px solid #e8a147;border-bottom:3px solid #e8a147;border-radius:0;color:#e8a147}.brand{letter-spacing:.4px}nav a{color:#b9cedb;border-radius:5px}nav a.active{background:#25475c;box-shadow:inset 3px 0 #e8a147}nav a:hover{background:#25475c}.nav-label{color:#8aa4b5}.aside-bottom{color:#a0b7c6}.aside-bottom .tag{background:#25475c;color:#d7e5ed}.primary:hover{background:#12374b}button,input,select,textarea{border-color:#cbd6df;border-radius:6px}button:hover{background:#e9eff4}.primary{background:#174761}.panel,.card,.widget{border-radius:8px;box-shadow:0 2px 5px #183b5204}th,.project-table-scroll thead th,.project-table-scroll thead .frozen-mark,.production-wide thead th{background:#e8eff4;color:#486174}.production-wide thead tr:first-child th{background:#174761;color:#fff}.project-table-scroll .frozen-mark{box-shadow:2px 0 0 #cbd6df}.card-icon,.badge-num{background:#e8eff4;color:#315f79}.tag{background:#e8eff4;color:#315f79}.tag.gray{background:#f0f2f4;color:#677986}.progress-ring{background:conic-gradient(#477d98 var(--progress),#e8eff4 0)}.project-progress-choice.selected{background:#e8eff4;border-color:#477d98}.bar span{background:#477d98}#toast{background:#102d40}.tabs a.active{border-color:#d59744;color:#174761}
.studio-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:27px 30px;background:#102d40;color:#fff;border-radius:9px;margin-bottom:23px;border-bottom:3px solid #e8a147}.studio-eyebrow{display:block;font-size:10px;letter-spacing:1.7px;font-weight:700;color:#71889a;margin-bottom:8px}.studio-hero .studio-eyebrow{color:#e8b56e}.studio-hero h2{font-size:27px;letter-spacing:-.6px;margin-bottom:8px}.studio-hero p{font-size:13px;color:#b9cedb;margin:0}.studio-hero label{min-width:225px;margin:0;font-size:12px;color:#c8d6df}.studio-hero select{margin-top:7px}.studio-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.studio-metric{text-align:left;background:#fff;border:1px solid var(--line);border-top:3px solid #477d98;border-radius:8px;padding:21px;min-width:0;font-weight:400;transition:box-shadow .15s}.studio-metric.featured{background:#174761;color:#fff;border-color:#174761;border-top-color:#e8a147}.studio-metric>span{font-size:12px;display:block}.studio-metric strong{display:block;font-size:30px;letter-spacing:-1px;margin:10px 0}.studio-metric strong small{font-size:13px;letter-spacing:0;font-weight:400}.studio-metric em{font-style:normal;font-size:11px;opacity:.7}.studio-metric:is(button):hover{box-shadow:0 5px 18px #183b5215;background:#f7fafc}.studio-matrix th,.studio-matrix td{min-width:115px}.studio-matrix td:first-child,.studio-matrix th:first-child{position:sticky;left:0;z-index:1;min-width:170px;background:#fff}.studio-matrix th:first-child{background:#e8eff4}.studio-matrix td:first-child a{font-weight:600;text-decoration:none}.studio-cell{text-decoration:none;display:block;min-width:90px}.studio-cell b{font-size:14px}.studio-cell small{font-size:11px}.studio-meter{height:5px;border-radius:3px;display:block;background:#e8eff4;margin:7px 0;overflow:hidden}.studio-meter i{display:block;height:100%;background:#d59744}.studio-meter i.done{background:#477d98}.studio-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:20px}.studio-filters{display:flex;gap:10px}.studio-filters label{font-size:11px;margin:0}.studio-filters select{font-size:12px;padding:6px;min-height:34px;margin:4px 0 0}.studio-trend-total{font-size:28px;color:#174761;margin-bottom:10px}.studio-trend-total small{font-size:12px;color:var(--muted)}.studio-chart{display:flex;align-items:stretch;height:180px;gap:4px;border-bottom:1px solid var(--line);margin:0 0 30px;padding-top:10px;background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#edf2f6 44px,#edf2f6 45px)}.studio-column{flex:1;min-width:0;padding:0;border:0;position:relative;border-radius:3px 3px 0 0;background:transparent;display:flex;align-items:flex-end}.studio-column>span{display:block;width:100%;background:#477d98;border-radius:3px 3px 0 0}.studio-column:nth-child(even)>span{background:#315f79}.studio-column:hover>span{background:#d59744}.studio-column small{position:absolute;top:calc(100% + 6px);font-size:9px;white-space:nowrap;font-weight:400;left:50%;transform:translateX(-50%);color:#647b8b}.studio-trend>.muted{font-size:11px;margin-bottom:0}.studio-queues{display:grid;gap:0}.studio-queues button{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border:0;border-bottom:1px solid #e8eff4;border-radius:0;text-align:left;font-weight:400;font-size:13px}.studio-queues b{font-size:18px;color:#174761}.studio-queues small{font-size:10px;font-weight:400}.studio-attention{display:flex;align-items:center;flex-wrap:wrap;gap:18px;background:#fff8ed;border:1px solid #efd3a4;border-radius:8px;padding:20px 24px;margin-bottom:24px}.studio-attention h2{margin:0;font-size:16px}.studio-attention .studio-eyebrow{color:#94652d}.studio-attention button{background:white;border-color:#efd3a4;font-size:12px}.studio-attention button b{font-size:19px;color:#a66b20;margin-right:7px}.studio-attention>small{width:100%;font-size:11px;color:#836b49}.studio-detail{border-top:3px solid #d59744}.studio-dashboard .process-progress-grid .panel{border-top:3px solid #477d98}.studio-dashboard .progress-ring{width:140px;height:140px}.studio-dashboard .progress-ring>div{width:112px;height:112px}.studio-dashboard .panel-head h2{font-size:18px}@media(min-width:1550px){.studio-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}.studio-metric{padding:18px 14px}.studio-metric strong{font-size:27px}}@media(max-width:1100px){.studio-columns{grid-template-columns:1fr}.studio-filters{flex-wrap:wrap}}@media(max-width:650px){.studio-hero{display:block;padding:22px}.studio-hero label{margin-top:20px}.studio-hero h2{font-size:23px}.studio-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-metric{padding:16px 13px}.studio-metric strong{font-size:25px}.studio-metric em{font-size:10px}.studio-attention{padding:18px;gap:12px}.studio-column small{font-size:8px}.studio-filters select{font-size:16px}.studio-chart{gap:3px}}@media(prefers-reduced-motion:no-preference){.studio-meter i,.studio-column>span{animation:studio-grow .5s ease-out;transform-origin:bottom left}@keyframes studio-grow{from{opacity:.4;transform:scaleY(.3)}to{opacity:1;transform:scaleY(1)}}}
/* Project design approvals and dynamic production tables. */
.approval-strip{display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:#f5f8fa;border:1px solid var(--line);border-left:3px solid var(--orange);padding:15px;margin-bottom:18px;border-radius:6px}.approval-strip>span{font-size:12px}.approval-strip label{margin:0;min-width:180px;font-size:12px}.approval-strip select{margin-top:4px}.approval-strip>small{flex-basis:100%;color:var(--muted);font-size:11px}.production-locked small{display:block;max-width:150px;font-size:10px;color:var(--muted);margin-top:5px}.project-table-scroll td>.error{display:block;max-width:240px;white-space:normal}.project-table-scroll{max-width:100%}
.design-tools{flex-wrap:wrap;margin-bottom:16px}.panel-head .actions{flex-wrap:wrap}.panel-head{gap:14px}#importPreview{margin-top:18px;max-height:45vh;overflow:auto}

[hidden]{display:none!important}.cloud-login{max-width:480px;margin:8vh auto;padding:32px;background:white;border-radius:16px}.cloud-login label{display:block;margin:18px 0}.cloud-login input{width:100%}.cloud-login [role=alert]{color:#a02020}

.cloud-roles{width:min(1000px,95vw);max-height:90vh;overflow:auto;padding:24px}.cloud-roles td label{display:block;min-height:24px}

.employee-portal{padding:24px;max-width:100vw}.employee-portal>button,.employee-portal>select{margin:8px}.employee-portal td{min-width:140px}

/* Connected cloud project workspace */
.cloud-project-workspace {min-width:0}.project-workspace-heading h1 {margin-bottom:8px}.project-workspace-tabs {display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.project-workspace-pane>section {max-width:none;width:auto;padding:20px;border:1px solid #d9e3eb;border-radius:12px;background:white}.project-workspace-pane>section h2 {margin-top:0}.project-workspace-pane [hidden]{display:none!important}.cloud-project-workspace .table-wrap {max-height:68vh;overflow:auto}.cloud-project-workspace .table-wrap thead th {position:sticky;top:0;z-index:4;background:#edf3f7}.cloud-item-grid {border:1px solid #d9e3eb;border-radius:8px}.cloud-item-grid table {border-collapse:separate;border-spacing:0;min-width:max-content}.cloud-item-grid th,.cloud-item-grid td {min-width:130px}.cloud-item-grid thead tr:first-child th {height:44px;box-sizing:border-box;background:#173f53;color:white}.cloud-item-grid thead tr:nth-child(2) th {top:44px}.cloud-item-grid .sticky-item-mark {position:sticky;left:0;background:#f3f7fa;z-index:3;font-weight:600;box-shadow:2px 0 3px #0001}.cloud-item-grid thead .sticky-item-mark {z-index:6!important}.cloud-item-grid input:not([type=checkbox]),.cloud-item-grid select {min-width:130px;width:150px}.cloud-item-grid .fillet-mismatch {background:#ffe0e0}.employee-project-nav {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.employee-portal.project-mode>:not(.employee-project-nav):not(.project-host) {display:none!important}.employee-portal .project-host[hidden]{display:none}.project-workspace-heading p {color:#617b8b}

.cloud-profile-dialog{max-width:620px;width:90vw}.cloud-profile-dialog label,#cloud-user-access label{display:block;margin:12px 0}.profile-details{display:grid;grid-template-columns:160px 1fr;gap:8px}.profile-details dt{font-weight:600}.profile-details dd{margin:0}#cloud-user-access{max-width:850px;width:90vw}#cloud-user-access form{padding:12px;border:1px solid #d9e3eb;border-radius:8px;margin:12px 0}

/* Employee workspace uses the same navigation shell as the administrator. */
.employee-shell .employee-portal{padding:0}.employee-shell [hidden]{display:none!important}
.employee-shell nav button{text-align:left;background:transparent;color:#dce9ef;border:0;border-radius:6px;padding:14px 12px;min-height:46px}
.employee-shell nav button:hover,.employee-shell nav button.active{background:#24495c;color:white}
.employee-shell nav button.active{border-left:4px solid #efa52b}
.employee-shell .employee-workspace-note{margin-top:auto;padding-top:24px;color:#a8beca;font-size:13px}
.employee-shell .main,.employee-shell main,.employee-shell .project-host{min-width:0}
.employee-shell .employee-role{font-size:13px;color:#617b8b}.employee-shell .table-wrap{max-height:70vh;overflow:auto}
.employee-shell .table-wrap thead th{position:sticky;top:0;z-index:2}
@media(max-width:760px){.app.employee-shell{display:block}.employee-shell aside{position:relative;height:auto;padding:16px}.employee-shell aside .nav-label{margin:16px 0 6px}.employee-shell nav{display:flex;flex-wrap:wrap;gap:4px}.employee-shell .employee-workspace-note{display:none}.employee-shell header{position:relative;padding:14px;flex-wrap:wrap;gap:10px}.employee-shell .header-right{flex-wrap:wrap}.employee-shell main{padding:16px}.employee-shell input,.employee-shell select{font-size:16px}}

dialog.cloud-profile-dialog,dialog.cloud-document-dialog,dialog.cloud-approval-dialog,dialog.cloud-design-dialog,dialog.cloud-accessories-dialog,#cloud-user-access{padding:28px;scrollbar-gutter:stable}
.cloud-profile-dialog h2,.cloud-document-dialog h2{margin-top:0}.profile-details dd{overflow-wrap:anywhere;min-width:0}
.cloud-table-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:16px 0}.cloud-table-tools p{flex-basis:100%;margin:0}
.cloud-document-dialog>label{display:block;margin:12px 0}.cloud-document-dialog>button{margin:6px}
@media(max-width:600px){dialog.cloud-profile-dialog,dialog.cloud-document-dialog,dialog.cloud-approval-dialog,dialog.cloud-design-dialog,dialog.cloud-accessories-dialog,#cloud-user-access{padding:20px}.profile-details{grid-template-columns:1fr;gap:4px}.profile-details dd{margin-bottom:12px}}
/* Compact data tables; wide rows scroll horizontally rather than stacking actions. */
body table th,body table td{padding:7px 10px;vertical-align:middle;line-height:1.3}
body table td input:not([type=checkbox]):not([type=radio]),body table td select{height:34px;min-height:34px;padding:5px 8px;margin:0;font-size:14px}
body table td textarea{min-height:34px;height:34px;padding:5px 8px;margin:0;font-size:14px;resize:vertical}
body table td button{padding:5px 9px;min-height:32px;margin:0;font-size:13px;white-space:nowrap}
body table td input[type=checkbox]{margin:0;vertical-align:middle}
body table .row-status-cell{width:1%;white-space:nowrap}
body table .row-status-actions,body table td .actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
body table .row-status-actions>span{white-space:nowrap;font-size:13px;color:#617b8b}
@media(max-width:600px){body table td input:not([type=checkbox]):not([type=radio]),body table td select,body table td textarea{font-size:16px;min-height:38px;height:38px}body table td button{min-height:38px}body table th,body table td{padding:6px 8px}}
