:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#18382d;background:#edf7ee;font-size:16px;--line:#d7e6da;--green:#12633f}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:10px 15px;background:#fff;color:#244839;font-weight:600}button:hover{filter:brightness(.96)}button:focus-visible,label.restore:focus-within{outline:3px solid #287fac;outline-offset:3px}input,select{width:100%;border:1px solid #bed2c3;border-radius:7px;padding:11px;background:#fcfffc;color:#18382d}input:focus,select:focus{outline:2px solid #328258}button.primary{background:var(--green);color:white;border-color:var(--green)}button.danger{background:#b72b38;color:white}button.subtle{background:#f0f5f1}.header{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#79c88c;padding:25px 30px;border-bottom:5px solid #248551}.brand{display:flex;align-items:center;gap:20px;min-width:0}.brand>img{width:67px;height:86px;object-fit:contain}.brand h1{font-size:clamp(24px,2.2vw,35px);font-weight:900;color:#b00f24;letter-spacing:.02em;margin:0 0 8px;font-family:Georgia,"Times New Roman",serif}.brand p{font-size:clamp(14px,1.3vw,20px);font-weight:700;color:#0b1e14;margin:0}.account{display:flex;gap:12px;align-items:center}.profile{display:flex;align-items:center;gap:10px;padding:0;background:transparent;border:0;text-align:left}.profile small{display:block;font-size:12px;margin-top:5px;font-weight:400}.profile strong{font-size:15px}.avatar-image,.avatar-initial{width:45px;height:45px;object-fit:cover;border-radius:50%;display:grid;place-items:center;background:#14583e;color:white;border:2px solid #d4efd6}.logout{font-size:14px;background:#d8f0db;border-color:#54a86c}.layout{display:grid;grid-template-columns:265px minmax(0,1fr);min-height:calc(100vh - 145px)}aside{padding:26px 19px;background:#e4f1e5;border-right:1px solid #ccdfd0}.nav-top{display:flex;justify-content:space-between;align-items:center}.eyebrow,.nav-label{font-size:12px;font-weight:750;letter-spacing:.12em;color:#597469}.version{font-size:10px;letter-spacing:.08em;background:#d0e6d5;padding:5px;border-radius:4px}.dashboard-button{width:100%;margin:22px 0;background:#173f30;color:white;text-align:left;display:flex;gap:12px}.nav-label{margin:12px 0}.department{margin-bottom:9px}.department-button{background:var(--color);color:white;width:100%;display:flex;gap:12px;text-align:left;align-items:center;border:0;padding:13px 12px;box-shadow:0 3px 5px #18382d0a}.department-button .chevron{margin-left:auto;font-size:16px}.department-button .icon{font-size:20px;width:24px;text-align:center}.pages{padding:7px 0 2px 13px;display:grid;gap:5px}.page-button{background:var(--shade);font-size:14px;padding:8px 10px;display:flex;gap:9px;text-align:left;border:1px solid #fff}.page-button.active{outline:2px solid #234f40}.sidebar-note{margin-top:35px;border-top:1px solid #c9dcce;padding-top:18px;font-size:13px;color:#527063}.sidebar-note>span{font-size:10px;letter-spacing:.1em}.sidebar-note p{line-height:1.6}.sidebar-note button,.restore{font-size:12px;padding:8px 9px}.restore{display:inline-block;cursor:pointer;text-decoration:underline}main{padding:32px 36px;min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}h2{font-size:29px;letter-spacing:-.03em;margin:8px 0 10px}p{line-height:1.6}.page-heading p{font-size:14px;color:#607b6f;margin:0}.date-tag{font-size:14px;background:#e2eee4;padding:10px 14px;border-radius:8px;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat{background:#fafffa;border:1px solid var(--line);border-radius:12px;padding:20px}.stat small{color:#597469;font-size:14px}.stat strong{display:block;font-size:31px;margin:12px 0 6px;letter-spacing:-.03em}.stat p{margin:0;font-size:12px;color:#607b6f}.stat .accent{display:block;width:27px;height:4px;background:var(--accent);border-radius:3px;margin-bottom:16px}.panel{background:#fafffa;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:24px}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:21px 22px;border-bottom:1px solid var(--line)}h3{font-size:17px;margin:0}.panel-header small{font-size:13px;color:#62796e}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}th{background:#f1f7f1;font-size:12px;font-weight:650;color:#607a6d;padding:14px 20px;white-space:nowrap}td{padding:17px 20px;border-top:1px solid #e4ece5;white-space:nowrap}td:first-child{font-weight:650}.badge{display:inline-flex;padding:5px 9px;border-radius:5px;background:#e3eefb;color:#285b8a;font-size:12px}.badge.complete{background:#dbefdf;color:#266e41}.badge.pending{background:#fff0d0;color:#87601e}.badge.cancelled{background:#fbe2e4;color:#9b2e42}.overview-bottom{display:grid;grid-template-columns:1.35fr 1fr;gap:24px}.progress-list{padding:23px;display:grid;gap:23px}.progress-title{display:flex;justify-content:space-between;font-size:14px;margin-bottom:10px}.track{height:8px;border-radius:10px;background:#e5eee6;overflow:hidden}.track span{display:block;height:100%;border-radius:10px;background:#368660}.quick-list{padding:16px;display:grid;gap:10px}.quick-list button{display:flex;justify-content:space-between;text-align:left;background:#eef5ef}.toolbar{display:flex;align-items:center;gap:12px;padding:18px 22px;flex-wrap:wrap}.toolbar input{max-width:320px}.toolbar select{width:auto}.toolbar .count{margin-left:auto;font-size:13px;color:#62796e}.row-actions{display:flex;gap:6px}.row-actions button{font-size:12px;padding:6px 9px}.empty{text-align:center;padding:40px;color:#637c6e}.notice{padding:14px 18px;background:#e2eee4;border-radius:9px;font-size:13px;line-height:1.6;color:#4c6e5b}.closed{padding:65px 20px;text-align:center}.closed .symbol{font-size:48px;color:#488d65}dialog{width:min(500px,calc(100% - 32px));border:1px solid #c6dbcc;border-radius:15px;padding:26px;background:#f4fbf4;color:#18382d;box-shadow:0 20px 80px #173e3040;max-height:90vh}dialog::backdrop{background:#173f3066;backdrop-filter:blur(3px)}dialog label{display:block;font-size:14px;font-weight:600;margin-bottom:17px}dialog label input,dialog label select{margin-top:8px}.dialog-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:18px}.dialog-heading h2{font-size:26px}.close{padding:3px 10px;font-size:26px;background:transparent;border:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}.hint{font-size:12px;color:#617b6c}.photo-preview img{width:80px;height:80px;object-fit:cover;border-radius:50%;margin-bottom:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#174934;color:white;box-shadow:0 6px 25px #0002;border-radius:9px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:5}#toast.visible{opacity:1}.logged-out{max-width:520px;margin:70px auto;text-align:center;padding:30px}.footer-note{font-size:12px;color:#668073;margin-top:18px}[hidden]{display:none!important}
@media(min-width:1600px){main{padding:40px 55px}.header{padding:25px 40px}}@media(max-width:1100px){.header{flex-wrap:wrap}.account{margin-left:auto}.stats{grid-template-columns:repeat(2,1fr)}.overview-bottom{grid-template-columns:1fr}.layout{grid-template-columns:235px minmax(0,1fr)}main{padding:25px}}@media(max-width:700px){.header{padding:18px 16px;gap:18px}.brand{gap:12px}.brand>img{width:40px;height:56px}.brand h1{font-size:23px}.brand p{font-size:13px;line-height:1.5}.account{margin-left:0;width:100%;justify-content:space-between}.layout{display:block}aside{border-right:0;border-bottom:1px solid var(--line);padding:20px 16px}#navigation{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:start}.department{margin:0}.department-button{font-size:13px;gap:5px;padding:11px 8px}.page-button{font-size:12px}.pages{padding-left:4px}.sidebar-note{display:none}.dashboard-button{margin:14px 0}.nav-label{font-size:11px}main{padding:24px 16px}.page-heading{align-items:start;flex-wrap:wrap}h2{font-size:26px}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:27px}.stat small{font-size:13px}.panel-header{padding:17px}.toolbar{padding:15px}.toolbar input{max-width:none}.toolbar .count{margin-left:0}td,th{padding:13px}.date-tag{font-size:12px}.page-heading .primary{font-size:14px}.profile small{font-size:12px}}
@media(max-width:700px){.sidebar-note{display:block;margin-top:18px;padding-top:12px}.sidebar-note p{margin:6px 0}}
.department-button,.page-button,.dashboard-button{border-radius:4px}.department-button{padding:11px 10px;gap:9px}.department-button .icon{flex-shrink:0}.department-button .chevron{flex-shrink:0}.page-button{padding:7px 10px;border-radius:3px}@media(min-width:701px){.layout{grid-template-columns:280px minmax(0,1fr)}}
.nested-pages{display:grid;gap:5px;padding:0 0 5px 12px}.account-group{justify-content:space-between}.account-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:18px;flex-wrap:wrap}.print-action{background:#dfeaff;color:#234e8d}.edit-action{background:#fff0cb;color:#79540f}.excel-action{background:#d9efdf;color:#22643a}.delete-action{background:#bf293a;color:white;border-color:#bf293a}.account-paper{background:#fafffa;padding:25px;border:1px solid var(--line);border-radius:8px}.report-company{text-align:center}.report-company h3{font-size:23px}.report-company p{margin:8px 0;font-size:16px}.live-clock{text-align:right;font-size:14px;margin:15px 0}.account-title{text-align:center;font-size:27px;font-weight:800;margin:18px 0 25px}.file-caption{font-size:13px;color:#56705e}.account-table{min-width:720px}.account-table th,.account-table td{padding:8px}.account-table td:first-child{width:45px}.account-table input{border-radius:3px;padding:9px;text-align:left;font-size:14px;min-width:90px}.account-table input[readonly]{background:#e9f1eb}.account-table .row-delete{border:0;background:#fafffa;width:40px}.row-delete button{padding:5px 11px;color:#b42337;background:#ffe8e8;border:0}.entry-controls{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.signatures{display:flex;justify-content:space-between;gap:25px;margin:65px 35px 20px}.signatures span{border-top:1px solid #244839;padding:8px 15px;text-align:center;min-width:90px}.saved-files{display:grid;gap:8px;margin-bottom:20px;max-height:260px;overflow:auto}.saved-files button{text-align:left}.saved-files small{display:block;font-weight:400;margin-top:5px}.selected-file{outline:2px solid #287047}.remarks-cell{white-space:normal;min-width:150px}.balance-search{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:20px}.balance-search label{font-size:14px}.balance-search input{margin-top:8px}.balance-select{width:auto;margin-right:8px}.filtered-report .report-identity,.filtered-report .report-signatures{display:none}tfoot th{font-size:14px;border-top:2px solid #acc6b5}#balanceTable{min-width:820px}@media(max-width:700px){.account-paper{padding:16px}.signatures{margin:55px 0 15px;gap:12px}.signatures span{min-width:65px;padding:8px}.report-company h3{font-size:19px}}@media print{body{background:white;color:black}.header,aside,.no-print,#toast,dialog{display:none!important}.layout{display:block;min-height:0}main{padding:0}.account-paper{border:0;padding:0;border-radius:0;background:white}.account-paper input{border:0;background:white!important;padding:0}.table-wrap{overflow:visible}.account-table,#balanceTable{min-width:0;width:100%}table{font-size:11px}th,td{padding:7px!important;white-space:normal}tr{break-inside:avoid}.signatures{break-inside:avoid}.remarks-cell{min-width:0}.account-title{font-size:22px}@page{size:A4 portrait;margin:12mm}}
.filtered-report+.notice{display:none}.signatures span{min-width:0;width:max-content;padding:8px 0}.account-paper .signatures{justify-content:space-around}
.order-actions{display:flex;justify-content:flex-end;gap:7px;margin-bottom:16px;flex-wrap:wrap}.order-actions button{padding:7px 12px;font-size:13px;border-radius:4px}.order-table{min-width:980px}.order-table th,.order-table td{padding:9px}.order-table input{padding:8px;border-radius:3px;font-size:14px;min-width:100px;text-align:left}.order-table td:first-child{width:38px}.order-table td{white-space:normal}.order-table .row-delete{border:0;background:#fafffa;width:36px}.order-table th:last-child{min-width:120px}.order-company{display:flex;justify-content:center;align-items:center;gap:14px;margin:12px 0}.order-company img{width:40px;height:53px;object-fit:contain}.order-company h3{font-size:23px;margin:0}.order-company p{font-size:15px;margin:8px 0 0;text-align:left}.order-search{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin-bottom:24px}.order-search label{font-size:14px;flex:1;min-width:220px}.order-search input{margin-top:8px}.order-file-picker{display:flex;gap:12px;align-items:flex-end;margin-bottom:24px;flex-wrap:wrap}.order-file-picker label{flex:1;font-size:14px;min-width:220px}.order-file-picker select{margin-top:8px}.order-saved-list{display:grid;gap:24px}.file-controls{display:flex;justify-content:space-between;gap:12px;align-items:center}.file-controls small{font-size:12px;color:#5b7567}.order-document.selected-order{border-color:#308353}.order-document .signatures{justify-content:space-around;margin-top:70px}.order-search-results{padding:16px}#navigation [data-group="merch:ORDER"]{background:#dceafc;border:1px solid #b6cee9}#navigation [data-page="booking"]{background:#fbe5df;border:1px solid #e8c4b8}#navigation [data-page="merch-sample"]{background:#e4edf9;border:1px solid #bdcde5}@media(max-width:700px){.order-company h3{font-size:18px}.order-company p{font-size:13px}.order-company img{width:30px;height:40px}}@media print{.order-document:not(.selected-order){display:none}.order-table{min-width:0;width:100%;table-layout:fixed}.order-table th,.order-table td{font-size:10px;overflow-wrap:anywhere}.order-table input{min-width:0;width:100%;font-size:10px;border:0;padding:0}.order-table th:last-child{min-width:0}.order-document .signatures{break-inside:avoid}.order-company h3{font-size:22px}}
.order-table th.row-delete{min-width:36px}
.schedule-group{justify-content:space-between;gap:5px}.nested-pages .nested-pages .nested-pages{padding-left:5px}.production-paper{text-align:center}.production-clock{text-align:left}.production-controls{display:flex;align-items:flex-start;gap:16px;justify-content:flex-end;flex-wrap:wrap;margin:20px 0}.production-controls>label{font-size:14px;width:155px;text-align:left}.production-controls input,.production-controls select{margin-top:7px}.production-controls label span{display:block;margin-top:7px;font-size:13px;color:#416d4b}.production-section{margin-right:auto;font-size:16px;padding:10px 0}.production-section strong{display:block;margin-top:7px}.extra-holidays{position:relative;font-size:14px;text-align:left;padding-top:2px}.extra-holidays summary{cursor:pointer;border:1px solid var(--line);padding:12px;background:#ecf4ed;border-radius:4px;max-width:210px}.extra-holidays summary span{display:block;margin-top:5px}.holiday-options{position:absolute;right:0;background:#fafffa;border:1px solid #a4c7ae;padding:12px;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;width:280px;z-index:2;box-shadow:0 6px 25px #173f3020}.holiday-options label{display:flex;gap:4px;font-size:13px}.holiday-options input{width:auto;margin:0}.production-plan-table{min-width:1250px}.production-plan-table th,.production-plan-table td{padding:8px;text-align:center}.production-plan-table input{min-width:100px;text-align:center;padding:8px;font-size:14px;border-radius:3px}.production-plan-table th:nth-child(9),.production-plan-table th:nth-child(10){min-width:130px}.production-plan-table .row-delete{border:0;width:35px;background:#fafffa}.production-calendar{min-width:1000px}.production-calendar td,.production-calendar th{text-align:center;padding:10px}.production-calendar input{min-width:90px;padding:8px;text-align:center;border-radius:3px}.holiday-row{background:#fff0d6;color:#856321}.holiday-row td[colspan]{font-weight:700}.production-report-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0;font-size:14px}@media(max-width:700px){.production-controls{gap:12px}.production-section{width:100%;text-align:left}.production-controls>label{flex:1;min-width:120px}.production-paper{padding:14px}.extra-holidays{width:100%}.holiday-options{left:0;right:auto}}@media print{.production-controls input,.production-controls select{border:0;padding:0;appearance:none}.production-controls details{display:none}.production-plan-table,.production-calendar{min-width:0;width:100%;table-layout:fixed}.production-plan-table th,.production-calendar th{min-width:0!important;font-size:9px}.production-plan-table td,.production-calendar td{font-size:9px;overflow-wrap:anywhere}.production-plan-table input,.production-calendar input{min-width:0;width:100%;font-size:9px;border:0;padding:0}.production-paper .account-title{margin:12px 0}.production-paper .production-controls{margin:8px 0}.production-paper .signatures{break-inside:avoid}}
@media print{.production-controls details{display:block}.production-controls .holiday-options{display:none}.production-controls .extra-holidays summary{border:0;padding:0;background:white}}
.brand h1{text-shadow:0 1px 0 #ffffff55;font-size:clamp(26px,2.45vw,40px)}
.brand p{font-family:Georgia,"Times New Roman",serif;font-size:clamp(16px,1.4vw,23px);line-height:1.4}
.department-button{background:linear-gradient(120deg,var(--color),var(--color));border:1px solid #ffffff30;border-radius:9px;box-shadow:0 3px 8px #18382d18}
.page-button{min-height:30px;padding:5px 9px;border-radius:6px;box-shadow:0 1px 3px #18382d0d}
.nested-pages .page-button{font-size:12px;min-height:27px;padding:4px 8px;border-left:3px solid #ffffff;border-radius:3px 7px 7px 3px}
.page-button.active{font-weight:750;box-shadow:0 0 0 1px #234f40}
@media(max-width:700px){.brand h1{font-size:23px}.brand p{font-size:14px}.brand{align-items:flex-start}.brand>img{flex-shrink:0}.nested-pages .page-button{font-size:11px}}

/* Each department has its own colour, finish, silhouette and icon badge. */
.department{margin-bottom:10px}
.department-button{
 position:relative;isolation:isolate;overflow:hidden;
 background:var(--dept-pattern,linear-gradient(transparent,transparent)),linear-gradient(var(--dept-angle,120deg),var(--dept-start,var(--color)),var(--dept-end,var(--color)));
 color:#fff;border:1px solid #ffffff38;min-height:49px;padding:9px 10px;gap:9px;
 box-shadow:0 3px 7px #193d2a1c,inset 0 1px 0 #ffffff26;
 transition:transform .16s ease,box-shadow .16s ease;
}
.department-button:hover{filter:none;transform:translateY(-1px);box-shadow:0 5px 10px #193d2a2b,inset 0 1px 0 #ffffff38}
.department-button[aria-expanded="true"]{box-shadow:0 0 0 2px #f4fff3,0 0 0 3px var(--dept-start,var(--color)),0 3px 9px #193d2a24}
.department-button .icon{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;background:#ffffff16;border:1px solid #ffffff42;border-radius:var(--badge-radius,9px);font-size:21px;line-height:1}
.department-button>span:nth-child(2){font-size:14px;font-weight:700;line-height:1.3;flex:1;min-width:0;text-shadow:0 1px 1px #0002}
.department-button .chevron{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#00000017;font-size:17px;font-weight:500}
.department-button[data-department="hr"]{--dept-start:#a43766;--dept-end:#74274f;--dept-pattern:linear-gradient(155deg,#ffffff10 0 32%,transparent 32%);border-radius:15px 5px 15px 5px;--badge-radius:50%}
.department-button[data-department="accounts"]{--dept-start:#196b42;--dept-end:#124930;--dept-pattern:linear-gradient(90deg,transparent 89%,#ffffff12 89%);border-radius:7px;border-left:4px solid #8ee8b1;--badge-radius:5px}
.department-button[data-department="commercial"]{--dept-start:#2459a4;--dept-end:#183d77;--dept-pattern:linear-gradient(145deg,transparent 70%,#ffffff10 70%);border-radius:5px 15px 5px 15px;--badge-radius:4px 10px}
.department-button[data-department="merch"]{--dept-start:#6841a5;--dept-end:#432772;--dept-angle:160deg;border-radius:16px;--badge-radius:10px 3px}
.department-button[data-department="knitting"]{--dept-start:#08717a;--dept-end:#084d53;--dept-pattern:repeating-linear-gradient(135deg,transparent 0 12px,#ffffff06 12px 14px);border-radius:12px 4px;--badge-radius:50% 50% 5px 5px}
.department-button[data-department="inventory"]{--dept-start:#8c590d;--dept-end:#633e0b;--dept-pattern:linear-gradient(0deg,#ffffff0a 0 4px,transparent 4px);border-radius:6px 6px 13px 13px;--badge-radius:3px}
.department-button[data-department="production"]{--dept-start:#0e6289;--dept-end:#073f61;--dept-pattern:linear-gradient(120deg,transparent 80%,#ffffff16 80% 84%,transparent 84%);border-radius:4px 16px 16px 4px;--badge-radius:50%}
.department-button[data-department="cutting"]{--dept-start:#ad421c;--dept-end:#793015;--dept-pattern:linear-gradient(150deg,#ffffff0d 0 25%,transparent 25%);border-radius:13px 3px 13px 3px;--badge-radius:3px 10px 3px 10px}
.department-button[data-department="finishing"]{--dept-start:#8c338a;--dept-end:#622262;--dept-pattern:radial-gradient(circle at 100% 0,#ffffff17,transparent 70%);border-radius:18px 6px 18px 6px;--badge-radius:50% 5px 50% 5px}
.department-button[data-department="quality"]{--dept-start:#4d6820;--dept-end:#354913;--dept-angle:100deg;border-radius:7px 7px 16px 7px;border-left:4px solid #c8e58b;--badge-radius:7px 7px 13px 13px}
.department-button[data-department="sample"]{--dept-start:#ae2d45;--dept-end:#7e2035;--dept-pattern:linear-gradient(130deg,transparent 72%,#ffffff0c 72%);border-radius:6px 17px 6px 17px;--badge-radius:10px 3px 10px 3px}
.department-button[data-department="maintenance"]{--dept-start:#455b73;--dept-end:#2e3e54;--dept-pattern:linear-gradient(180deg,#ffffff0b 0 45%,transparent 45%);border-radius:5px;border-bottom:3px solid #8da9c5;--badge-radius:5px}
.department-button[data-department="electrical"]{--dept-start:#776008;--dept-end:#514109;--dept-pattern:linear-gradient(115deg,transparent 72%,#ffffff12 72% 80%,transparent 80%);border-radius:3px 13px 3px 13px;--badge-radius:9px 2px}
@media(max-width:700px){.department-button{min-height:47px;padding:8px;gap:7px}.department-button .icon{flex-basis:27px;width:27px;height:29px;font-size:19px}.department-button>span:nth-child(2){font-size:12px}.department-button .chevron{width:19px;height:19px;font-size:15px}}
@media(prefers-reduced-motion:reduce){.department-button{transition:none}.department-button:hover{transform:none}}

/* Pastel page buttons stay visually separate from the saturated departments. */
#navigation .page-button{
 align-items:center;gap:7px;min-height:32px;padding:4px 8px;
 background:linear-gradient(110deg,#ffffff70,transparent 65%),var(--sub-bg);
 color:var(--sub-ink);border:1px solid var(--sub-edge);border-radius:8px;
 box-shadow:0 2px 3px #2448390c,inset 0 1px 0 #ffffffb3;line-height:1.3;font-size:12px;
}
#navigation .page-button:hover{filter:none;box-shadow:0 0 0 1px var(--sub-edge),0 3px 6px #24483915}
#navigation .page-button .submenu-icon{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:6px;background:#ffffffb3;border:1px solid var(--sub-edge);color:var(--sub-accent);font-size:15px}
#navigation .page-button .submenu-label{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:650}
#navigation .page-button .submenu-toggle{display:grid;place-items:center;width:17px;height:17px;flex-shrink:0;border-radius:4px;background:#ffffff8c;color:var(--sub-ink)}
#navigation .page-button[data-sub-style="rounded"]{border-radius:9px;box-shadow:0 2px 4px #24483912,inset 0 1px 0 #fff}
#navigation .page-button[data-sub-style="ticket"]{border-radius:3px 11px 3px 11px;border-inline-end:3px solid var(--sub-edge)}
#navigation .page-button[data-sub-style="rail"]{border-radius:2px 8px 8px 2px;border-inline-start:3px solid var(--sub-accent)}
#navigation .page-button[data-sub-style="pill"]{border-radius:18px;padding-inline:9px}
#navigation .page-button[data-sub-style="pill"] .submenu-icon{border-radius:50%}
#navigation .page-button[data-sub-style="underline"]{border-radius:6px 6px 2px 2px;border-bottom:3px solid var(--sub-edge)}
#navigation .nested-pages .page-button{font-size:11px;min-height:28px;padding-block:3px}
#navigation .nested-pages .submenu-icon{flex-basis:19px;width:19px;height:19px;font-size:13px}
#navigation .page-button.active,#navigation .page-button[aria-expanded="true"]{outline:2px solid var(--sub-accent);outline-offset:1px;font-weight:750}
#navigation .page-button:focus-visible{outline:3px solid #287fac;outline-offset:3px}
@media(max-width:700px){#navigation .page-button{font-size:11px;padding-inline:6px;gap:5px}#navigation .nested-pages{padding-left:7px}}

/* Compact department buttons: less space on all four sides. */
@media(min-width:701px){.layout{grid-template-columns:245px minmax(0,1fr)}aside{padding:20px 12px}}
#navigation .department{margin-bottom:6px}
#navigation .department-button{width:calc(100% - 8px);margin-inline:4px;min-height:35px;padding:5px 7px;gap:6px}
#navigation .department-button .icon{flex-basis:23px;width:23px;height:23px;font-size:17px}
#navigation .department-button>span:nth-child(2){font-size:12px;line-height:1.25;overflow-wrap:anywhere}
#navigation .department-button .chevron{flex:0 0 17px;width:17px;height:17px;font-size:14px}
@media(max-width:700px){#navigation{gap:6px}#navigation .department{margin-bottom:0}#navigation .department-button{min-height:35px;padding:5px 6px;gap:5px}}


.order-saved-clock{text-align:right;font-size:14px;margin:15px 0}.order-document .file-caption{text-align:left;font-size:14px;font-weight:700}

.order-entry-title{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin-bottom:24px}.order-entry-title .account-title{grid-column:2;font-size:30px;font-weight:800;margin:10px 0;text-align:center}.order-entry-title input{grid-column:3;justify-self:end;width:190px;max-width:100%;font-weight:700;text-align:center;background:#edf5ef}@media(max-width:700px){.order-entry-title{grid-template-columns:1fr;gap:8px}.order-entry-title .account-title,.order-entry-title input{grid-column:1;justify-self:center}}

/* Compact Order Report filters above its actions. */
#orderSearchForm{margin-bottom:12px;justify-content:flex-start;gap:8px}#orderSearchForm label{flex:0 1 340px;min-width:0;max-width:340px}#orderSearchInput{width:100%;padding:7px 9px;font-size:12px}#orderSearchForm button,.order-file-picker button{padding:7px 10px;font-size:12px}.order-file-picker{justify-content:flex-start;gap:8px;margin-bottom:12px}.order-file-picker label{flex:0 1 340px;min-width:0;max-width:340px}.order-file-picker select{margin-top:0;padding:7px 9px;font-size:12px}@media(max-width:480px){#orderSearchForm,.order-file-picker{flex-wrap:wrap}#orderSearchForm label,.order-file-picker label{flex-basis:100%;max-width:100%}}

/* Narrow department buttons equally on both sides. */
#navigation .department-button{width:84%;margin-left:auto;margin-right:auto}@media(max-width:700px){#navigation .department-button{width:90%}}

.order-document .file-controls{justify-content:flex-end}.order-document .order-table{border-collapse:collapse}.order-document .order-table th,.order-document .order-table td{border:1px solid #476957}.order-search-results .order-table th,.order-search-results .order-table td{border:1px solid #476957}@media print{.order-document .order-table th,.order-document .order-table td{border-width:.35pt}.order-document .signatures span{font-size:11px}}
#adminLoginUsers{background:linear-gradient(120deg,#d5f3ef,#dceafa);border-color:#75b7ba;color:#164d59}#loginUserForm{margin-top:18px}#loginUserForm .production-controls{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}#loginUserForm input,#loginUserForm select{width:100%}

.department-add-form{display:flex;gap:12px;align-items:flex-end;margin:20px 0}.department-add-form label{flex:1}.department-add-form input{width:100%}#adminDepartmentAdd{background:#e4edf9;border-color:#94abc9;color:#28476c}
/* Distinct Order menu boxes and matching icons. */
[data-group="merch:ORDER"]{background:#e8e0fa!important;border:1px solid #bca6dc!important;color:#593781!important}[data-page="order-new"]{background:#e2f4e6!important;border:1px solid #99cdab!important;color:#276239!important}[data-page="order-entry"]{background:#e0effb!important;border:1px solid #9ebfdc!important;color:#295d80!important}[data-page="order-report"]{background:#fff0d6!important;border:1px solid #d6b778!important;color:#795519!important}

.order-table th,.order-table td,.order-table input,.booking-table th,.booking-table td,.booking-table input{text-align:center!important}.order-table input,.booking-table input{font-size:18px!important;min-height:38px}.order-document .signatures{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));justify-items:center;gap:16px}.order-document .signatures span{width:max-content;max-width:100%;text-align:center;border-top:1px solid #384f40;padding-top:4px}@media print{.order-table input,.booking-table input{font-size:11px!important}}

body[data-active-department="merch"] #recordDialog input,body[data-active-department="merch"] #recordDialog select,body[data-active-department="merch"] #recordDialog textarea{text-align:center;font-size:18px}

/* Service Benefit input pages: separate colored boxes in the left menu. */
#navigation .page-button[data-page="admin-service-new-entry"],
#navigation .page-button[data-page="admin-service-entry-report"]{border-radius:7px;border-width:1px;border-inline-start-width:4px;margin-block:5px;min-height:32px}
#navigation .page-button[data-page="admin-service-new-entry"]{--sub-bg:#e0f4ee!important;--sub-edge:#8fcbbc!important;--sub-ink:#165747!important;--sub-accent:#21866c!important}
#navigation .page-button[data-page="admin-service-entry-report"]{--sub-bg:#eee7fb!important;--sub-edge:#bba2df!important;--sub-ink:#59327e!important;--sub-accent:#8653b2!important}


.service-benefit-navigation{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.service-benefit-navigation button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:9px 15px;border-radius:7px;font-weight:700}
.service-benefit-navigation [data-service-nav="admin-service-new-entry"]{background:#e0f4ee;border:1px solid #8fcbbc;color:#165747}
.service-benefit-navigation [data-service-nav="admin-service-entry-report"]{background:#eee7fb;border:1px solid #bba2df;color:#59327e}
.service-benefit-navigation button[aria-pressed="true"]{box-shadow:inset 0 0 0 1px currentColor}
.service-benefit-navigation button:focus-visible{outline:3px solid #287fac;outline-offset:3px}

.service-benefit-search{max-width:900px;margin:0 0 18px;text-align:left}
.service-benefit-search>label{display:block;font-weight:650;margin-bottom:7px}
.service-benefit-search-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.service-benefit-search-row input{flex:1 1 300px;min-width:0;min-height:40px;background:#fff}
.service-benefit-search-row button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:9px 16px;font-weight:700;border-radius:7px}
.service-benefit-search-button{background:#dfeefa;border:1px solid #88afd4;color:#164f7e}
#serviceBenefitSearchAll{background:#fff0d8;border:1px solid #dfb66f;color:#80501a}
.service-benefit-search small{display:block;margin-top:7px;color:#47675d}
.service-benefit-search p{margin:8px 0 0;color:#315b4d;font-size:13px}

/* Service Benefit landing background matched to the supplied navy sample. */
@media screen{#main:has(>.service-benefit-landing){background:linear-gradient(180deg,#102b50 0%,#11395a 100%)}}

.service-benefit-landing .service-benefit-search>label,.service-benefit-landing .service-benefit-search p{color:#fff}
.service-benefit-landing .service-benefit-search small{color:#d5e4f1}

.service-benefit-navigation [data-service-nav="admin-service-print"]{background:#fff0d8;border:1px solid #dfb66f;color:#80501a}
.service-print-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:0 0 20px;max-width:1000px}
.service-print-controls>div{flex:1 1 220px;min-width:0}
.service-print-controls>div:first-child{flex:0 1 210px}
.service-print-controls label{display:block;font-size:14px;font-weight:650;margin-bottom:6px}
.service-print-controls input,.service-print-controls select{min-height:42px;background:#fff}
.service-print-controls button{min-height:42px;display:inline-flex;align-items:center;gap:7px}
.service-print-controls button[hidden]{display:none}
.service-print-save{background:#e1edf9;border:1px solid #82a8ce;color:#174f82}
.service-print-controls [data-page-action="print"]{background:#fff0d8;border:1px solid #dfb66f;color:#80501a}
.service-print-status{flex-basis:100%;margin:0;color:#a02729}
.service-benefit-print-surround{background:linear-gradient(135deg,#102b50,#155e75);padding:22px;overflow-x:auto;border-radius:10px}
@media screen{
 #main:has(#serviceBenefitPrintForm),#main:has(#serviceBenefitForm),#main:has(#serviceBenefitReport){background:#123b69}
 #main:has(#serviceBenefitReport) .service-benefit-search>label,#main:has(#serviceBenefitReport) .service-benefit-search p{color:#fff}
 #main:has(#serviceBenefitReport) .service-benefit-search small{color:#d5e4f1}
 #main:has(#serviceBenefitForm)>.page-heading h2{color:#fff}
 #serviceBenefitPrintForm label{color:#fff}
 #serviceBenefitPrintForm .service-print-status{color:#ffe0e0}
 #serviceBenefitPrintContent{background:#123b69}
}
.maternity-entry-layout{width:min(100%,920px);margin:0 auto;display:grid;gap:14px}
.maternity-entry-card{box-sizing:border-box;background:linear-gradient(135deg,#f0fbff,#f5f3ff 55%,#e9fbf4);border:1px solid #9dcbd4;border-top:4px solid #47c0bd;border-radius:20px;padding:26px;color:#233b50;box-shadow:0 16px 38px #061c3740}
.maternity-entry-card h3{margin:0 0 8px;font-size:16px}
.maternity-entry-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:17px 20px}
.maternity-entry-field{display:grid;gap:6px;min-width:0;font-size:14px;font-weight:600;color:#294d69}
.maternity-entry-full{grid-column:1/-1}
.maternity-entry-field input,.maternity-entry-field select{box-sizing:border-box;width:100%;min-width:0;min-height:42px;border:1px solid #b4cedc;border-radius:9px;background:#ffffffdc;color:#183c55;font-size:15px;font-weight:400;padding:9px 11px;box-shadow:0 2px 5px #224b6510}
.maternity-entry-field input:focus,.maternity-entry-field select:focus{outline:2px solid #60bfc6;outline-offset:1px;border-color:#218d9c}
.maternity-entry-field input[readonly]{color:#4c5966}
.maternity-entry-save{display:flex;justify-content:flex-end;margin-top:3px}
.maternity-entry-save button{min-width:112px;border-radius:10px;background:linear-gradient(135deg,#087d86,#24549a);border:1px solid #198c9a;color:#fff;box-shadow:0 5px 12px #17617c35;font-weight:700}
.mta-nav{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:12px}
.mta-nav button{font-weight:700}
.mta-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}.mta-toolbar .mta-controls{justify-content:flex-start!important;margin:0!important}.mta-actions{display:flex;justify-content:flex-end;gap:10px;margin:0 0 0 auto}
.mta-actions button:last-child{background:#e0f4e6;border-color:#8cbea0;color:#165c35}
.mta-preview{box-sizing:border-box;background:#123b69;padding:22px;overflow:auto;border-radius:12px;border:0}
.mta-paper{box-sizing:border-box;width:210mm;min-height:297mm;margin:0 auto;background:#fff;color:#000;padding:10mm;display:flex;flex-direction:column;font:12pt/1.32 'Times New Roman',serif;box-shadow:0 5px 18px #071a3855;border:1px solid #d6dce4;zoom:var(--mta-scale,1)}
.mta-paper+.mta-paper{margin-top:20px}
.mta-heading{text-align:center;position:relative;margin-bottom:7mm}
.mta-heading h2{font:bold 18pt/1.2 'Times New Roman',serif;margin:0}
.mta-heading p{font-size:11pt;margin:2px 0 0}
.mta-heading h3{font-size:12pt;text-decoration:underline;margin:6mm 0 0}
.mta-voucher .mta-heading{padding-bottom:9mm;margin-bottom:5mm}
.mta-badge{position:absolute;bottom:0;right:0;border:1px solid #000;font-size:10.5pt;padding:1px 8px;font-weight:bold}
.mta-details{display:grid;grid-template-columns:38mm minmax(0,1fr);gap:4px 0;margin:0 0 6mm;font-size:11pt}
.mta-details dt,.mta-details dd{margin:0;overflow-wrap:anywhere}
.mta-details dd{display:grid;grid-template-columns:12px minmax(0,1fr)}
.mta-period{display:grid;grid-template-columns:minmax(0,1fr) auto 16px auto;gap:8px;align-items:baseline;font-size:10.5pt;margin:2mm 0}
.mta-period b{font-weight:normal}
.mta-table{border-collapse:collapse;table-layout:fixed;width:100%;font:10.5pt/1.25 'Times New Roman',serif;margin:6mm 0 0;min-width:0}
.mta-table th,.mta-table td{border:1px solid #000!important;background:#fff!important;color:#000;padding:5px 6px!important;font:inherit;text-transform:none;letter-spacing:normal;white-space:normal;overflow-wrap:anywhere;text-align:center}
.mta-table th{font-weight:bold}
.mta-table .mta-money{text-align:right}
.mta-calculation-table thead th{height:16mm}
.mta-calculation-table tbody tr{height:14mm}
.mta-calculation-table tfoot tr{height:9mm}
.mta-formula{font-size:10.5pt;margin:4mm 0 0}
.mta-voucher-table tbody tr{height:9mm}
.mta-voucher-table tfoot th{text-align:right}
.mta-voucher-table .mta-diagonal-cell{position:relative;padding:0!important}
.mta-diagonal-cell svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.mta-inwords{font-size:10.5pt;margin:4mm 0 0}
.mta-recipient{margin-top:22mm;font-size:10.5pt}
.mta-recipient span{display:inline-block;border-top:1px solid #000;min-width:38mm;text-align:center;padding-top:3px}
.mta-signatures{display:flex;justify-content:space-between;gap:15px;margin-top:auto;padding-top:18mm;font-size:10.5pt;break-inside:avoid}
.mta-signatures span{min-width:29mm;border-top:1px solid #000;text-align:center;padding-top:3px}
@media screen{#main:has(.mta-preview){background:#123b69}#main:has(.mta-preview) .mta-page-heading{justify-content:center;color:#fff}#main:has(.mta-preview) .mta-controls{color:#fff}}
@media print{body:has(.mta-preview) #main>:not(#maternityFilePrintContent),body:has(.mta-preview) #workspaceRefreshNotice,body:has(.mta-preview) .footer-note{display:none!important}body:has(.mta-preview) #main{padding:0!important;margin:0!important}#maternityFilePrintContent.mta-preview{padding:0!important;margin:0!important;border:0!important;background:#fff!important;overflow:visible!important;width:194mm!important}.mta-paper{zoom:1!important;width:194mm;min-height:280mm;padding:8mm 16mm;margin:0;box-shadow:none;border:0;page:auto;break-inside:avoid;page-break-inside:avoid}.mta-paper+.mta-paper{margin-top:0;break-before:page;page-break-before:always}.mta-paper,.mta-paper *{color:#000!important;-webkit-text-fill-color:#000!important}.mta-table tr{break-inside:avoid}.mta-table thead{display:table-header-group}.mta-table tfoot{display:table-row-group}}
@media screen{#main:has(.maternity-entry-layout){background:radial-gradient(ellipse at top right,#237c8c50,transparent 60%),linear-gradient(140deg,#132e57,#154b68 60%,#20425e)}#main:has(.maternity-entry-layout)>.page-heading{justify-content:center;text-align:center}#main:has(.maternity-entry-layout)>.page-heading h2{color:#f0fdff;font-size:28px}}
@media(max-width:380px){.maternity-entry-card{padding:10px}.maternity-entry-grid{gap:10px 7px}.maternity-entry-field input,.maternity-entry-field select{font-size:13px;padding:7px 5px}}
.service-benefit-paper{background:white;color:#000;box-sizing:border-box;width:194mm;min-width:680px;margin:auto;padding:14px 18px 24px;font:16px/1.25 Arial,"Nirmala UI",sans-serif;box-shadow:0 3px 15px #0004}
.service-benefit-paper-heading{text-align:center;margin-bottom:10px}
.service-benefit-paper-heading h1{font:700 25px/1.2 Arial,sans-serif;margin:0 0 5px}
.service-benefit-paper-heading h2{font-size:18px;margin:0 0 4px}
.service-benefit-paper-heading div{font-size:12px;line-height:1.4}
.service-benefit-paper-heading h3{font-size:23px;text-decoration:underline;margin:10px 0 8px}
.service-benefit-print-details{display:grid;grid-template-columns:32% minmax(0,1fr);margin:0 0 12px;font-weight:700;gap:4px}
.service-benefit-print-details dt,.service-benefit-print-details dd{margin:0;overflow-wrap:anywhere}
.service-benefit-print-details dd b{color:#1565c0}
.service-benefit-year-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:15px;margin:0}
.service-benefit-year-table th,.service-benefit-year-table td{border:1px solid #000!important;padding:4px 6px;text-align:center;background:#fff!important;color:#000;font-size:inherit;letter-spacing:normal;text-transform:none}
.service-benefit-year-table tbody td,.service-benefit-year-table tfoot td{color:#1565c0}
.service-benefit-year-table td:last-child{text-align:center}
.service-benefit-year-table tfoot th{text-align:right}
.service-benefit-year-table tfoot th,.service-benefit-year-table tfoot td{font-weight:700;font-size:1.2em}
.service-benefit-signatures{display:flex;justify-content:space-between;gap:30px;margin:90px 0 10px;break-inside:avoid}
.service-benefit-signatures strong{width:180px;max-width:45%;text-align:center;border-top:1px solid #000;padding-top:4px}
@media print{
 body:has(#serviceBenefitPrintContent) #main>:not(#serviceBenefitPrintContent),body:has(#serviceBenefitPrintContent) .footer-note,body:has(#serviceBenefitPrintContent) #workspaceRefreshNotice{display:none!important}
 body:has(#serviceBenefitPrintContent) #main{padding:0!important;margin:0!important}
 #serviceBenefitPrintContent{background:white!important;padding:0!important;border:0!important;overflow:visible!important}
 .service-benefit-paper,.service-benefit-paper *{color:#000!important;-webkit-text-fill-color:#000!important}
 .service-benefit-paper{width:100%;min-width:0;max-width:none;margin:0;padding:0 8mm;box-shadow:none;font-size:11pt;print-color-adjust:exact}
 .service-benefit-paper-heading h1{font-size:19pt}.service-benefit-paper-heading h3{font-size:16pt}
 .service-benefit-year-table{font-size:10pt}.service-benefit-year-table tr{break-inside:avoid;page-break-inside:avoid}.service-benefit-year-table thead{display:table-header-group}.service-benefit-year-table tfoot{display:table-row-group}
 .service-benefit-signatures{margin-top:20mm}
}

.service-benefit-delete-dialog{width:min(440px,calc(100vw - 32px));border:1px solid #c4d8cc;border-radius:12px;padding:24px;background:#fff;color:#18382d;box-shadow:0 12px 45px #0005}
.service-benefit-delete-dialog::backdrop{background:#102b5077}
.service-benefit-delete-dialog h3{margin:0 0 14px;font-size:21px}
.service-benefit-delete-dialog p{line-height:1.6;overflow-wrap:anywhere}
.service-benefit-delete-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.service-benefit-delete-dialog [data-delete-error]{color:#a02729}

.service-benefit-report-layout{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:10px;align-items:start}
.service-benefit-report-layout>.panel{min-width:0;margin:0}
.service-benefit-delete-rail{position:relative;width:82px}
.service-benefit-delete-rail button{position:absolute;left:0;width:82px;white-space:nowrap;min-height:34px;padding:7px 9px;font-size:13px}
@media print{.service-benefit-report-layout{display:block}}

.warning-input-panel .warning-benefit-form{max-width:920px;margin:auto}.warning-input-panel .warning-benefit-row{display:grid;grid-template-columns:200px minmax(0,1fr);gap:14px;border-bottom:1px solid #dce9e3}.warning-input-panel .warning-benefit-row>label{background:#001f3f;color:white;font-size:18px;padding:10px 12px;display:flex;align-items:center}.warning-choice-wrap{position:relative;min-width:0}.warning-choice-wrap input{box-sizing:border-box;width:100%;min-height:40px;font-size:17px;margin:5px 0}.warning-choice-wrap input[data-warning-choice]{padding-right:40px}.warning-choice-wrap>button{position:absolute;right:3px;top:8px;min-height:30px;width:32px;padding:0;background:#e5f2ed;color:#185b43;border:0}.warning-choice-list{position:absolute;z-index:70;top:100%;left:0;right:0;max-height:230px;overflow:auto;background:white;border:1px solid #639b85;box-shadow:0 5px 18px #173b3430}.warning-choice-list[hidden]{display:none}.warning-choice-list button{display:block;width:100%;text-align:left;background:white;color:#183e31;border:0;border-radius:0;padding:9px 12px}.warning-choice-list button:hover,.warning-choice-list button[aria-selected=true]{background:#d8eee5}.warning-input-panel h4{padding:10px;margin:18px 0 5px;background:#e5f2ed;color:#185b43}.warning-company{display:grid;grid-template-columns:200px minmax(0,1fr);gap:14px;align-items:center;margin-bottom:14px;font-weight:bold}.warning-input-save{display:flex;justify-content:flex-end;margin-top:20px}#warning-letter-date-status{color:#9b293d;margin:7px 0}.warning-choice-wrap input[readonly]{background:#edf5f7;font-weight:bold}.warning-legacy-address{font-size:14px;color:#395e52}@media(max-width:540px){.warning-input-panel .warning-benefit-row,.warning-company{grid-template-columns:125px minmax(0,1fr);gap:8px}.warning-input-panel .warning-benefit-row>label{font-size:15px;padding:8px}.warning-choice-wrap input{font-size:16px}}

/* A4 New Entry sheet with labels beside their inputs. */
.maternity-entry-layout{width:min(100%,210mm)}
.maternity-entry-card{width:100%;min-height:297mm;padding:16mm 12mm;background:#fff;border:1px solid #d8e2ee;border-radius:2px;box-shadow:0 8px 24px #061c3740}
.maternity-entry-grid{grid-template-columns:minmax(0,1fr);gap:0}
.maternity-entry-field{grid-template-columns:155px minmax(0,1fr);align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid #e1eaf2;font-size:15px}
.maternity-entry-field>label{font-weight:600;color:#234567}
.maternity-entry-period{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;min-width:0}
.maternity-entry-save{margin-top:22px}
@media(max-width:600px){.maternity-entry-card{padding:20px 12px;min-height:0}.maternity-entry-field{grid-template-columns:112px minmax(0,1fr);gap:8px;font-size:13px}.maternity-entry-period{grid-template-columns:minmax(0,1fr);gap:4px}.maternity-entry-period>span{text-align:center}.maternity-entry-field input{padding:8px 6px;font-size:14px}}
@media print{.maternity-entry-card{box-shadow:none;border:0;width:100%;min-height:0}.maternity-entry-save{display:none}}

#navigation [data-page="production-line-wise-hourly-pd"]{--sub-bg:#eee7ff!important;--sub-edge:#b59ae8!important;--sub-ink:#56358b!important;--sub-accent:#8959c5!important}
#navigation [data-page="production-line-wise-hourly-pd"] .submenu-icon{color:#7440ae}

/* Line Wise Hourly Production workspace. */
@media screen{#main:has(.hourly-pd-workspace){background:#102d50;min-height:calc(100vh - 140px)}}
.hourly-pd-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px;justify-content:flex-start}
.hourly-pd-nav button{font-weight:700;padding:10px 18px;border-radius:8px;border:1px solid}
.hourly-pd-nav .hourly-pd-new-input{background:#def8ec;border-color:#78c9a5;color:#126c4b}
.hourly-pd-nav .hourly-pd-print{background:#fff0d5;border-color:#e6ad4b;color:#935514}
.hourly-pd-nav .hourly-pd-input-report{background:#ece3ff;border-color:#b49ae3;color:#624091}
.hourly-pd-nav button[aria-pressed="true"]{outline:2px solid #fff;outline-offset:3px;box-shadow:0 3px 9px #0003}
.hourly-pd-paper{box-sizing:border-box;max-width:1050px;margin:0 auto;background:#fff;padding:30px 34px;border-radius:9px;box-shadow:0 7px 24px #061a343d;color:#173048}
.hourly-pd-paper>h2{font-size:clamp(23px,3vw,34px);font-weight:900;letter-spacing:1px;color:#d11f32;text-align:center;margin:3px 0 28px;font-family:Georgia,'Times New Roman',serif;text-shadow:0 2px 0 #ffdce0}
.hourly-pd-details{display:grid;gap:9px;max-width:760px;margin:0 auto 30px}
.hourly-pd-field{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:20px}
.hourly-pd-field label{font-size:16px;font-weight:700;color:#244660}
.hourly-pd-field input{box-sizing:border-box;width:100%;min-width:0;min-height:38px;background:#f6faff;border:1px solid #b8cde0;border-radius:6px;padding:7px 10px;color:#173048}
.hourly-pd-table-wrap{overflow-x:auto}
.hourly-pd-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:600px}
.hourly-pd-table th,.hourly-pd-table td{border:1px solid #8199b0;text-align:center;padding:7px 6px}
.hourly-pd-table thead th{background:#173f68;color:#fff;font-size:14px;font-weight:700}
.hourly-pd-table tbody th{background:#eaf1f9;color:#244660;font-size:14px;white-space:nowrap}
.hourly-pd-table input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d4dfea;border-radius:4px;text-align:center;padding:7px 3px;background:#fff;color:#173048}
.hourly-pd-field input:focus,.hourly-pd-table input:focus{outline:2px solid #4789c5;outline-offset:1px}
.hourly-pd-print-actions{display:flex;justify-content:flex-end;margin-bottom:12px}
.hourly-pd-print-actions button{background:#fff0d5;color:#935514;border:1px solid #e6ad4b}
.hourly-pd-report{background:#fff;border-radius:9px;min-height:280px;padding:28px;color:#173048}
.hourly-pd-report h2{margin:0}
@media(max-width:650px){.hourly-pd-paper{padding:20px 12px}.hourly-pd-field{grid-template-columns:130px minmax(0,1fr);gap:9px}.hourly-pd-field label{font-size:14px}.hourly-pd-nav{gap:8px}.hourly-pd-nav button{padding:9px 11px}}
@media print{.hourly-pd-paper{max-width:none;width:100%;padding:8mm;box-shadow:none;border-radius:0}.hourly-pd-paper>h2{color:#000;text-shadow:none;font-size:23pt}.hourly-pd-paper input{color:#000;background:#fff;border-color:transparent;box-shadow:none}.hourly-pd-table{min-width:0}.hourly-pd-table th,.hourly-pd-table td{color:#000!important;background:#fff!important;border-color:#000}.hourly-pd-nav,.hourly-pd-print-actions{display:none!important}}

.hourly-pd-extra{margin-top:20px;border:1px solid #b8cde0;border-radius:7px;padding:13px}.hourly-pd-extra summary{cursor:pointer;font-weight:700}.hourly-pd-extra-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.hourly-pd-extra-fields label{display:grid;gap:5px}.hourly-pd-extra input{width:100%;min-width:0;box-sizing:border-box}.hourly-pd-extra-table{width:100%;border-collapse:collapse;min-width:460px}.hourly-pd-extra-table th,.hourly-pd-extra-table td{border:1px solid #b8cde0;padding:7px}.hourly-pd-save-actions{display:flex;justify-content:flex-end;margin-top:20px}.hourly-pd-save-actions button{background:#137354;color:#fff;font-weight:700;min-width:110px}.hourly-pd-report h2{margin-bottom:18px}.hourly-pd-print-actions{align-items:end;flex-wrap:wrap}.hourly-pd-print-actions label{color:#fff;display:grid;gap:5px}.hourly-pd-print-pages{overflow-x:auto;padding-bottom:15px}
.hourly-pd-print-sheet{box-sizing:border-box;background:#fff;color:#000;width:281mm;min-height:194mm;padding:12mm 0;margin:0 auto 20px;font:7pt/1.15 Arial,sans-serif;box-shadow:0 7px 24px #061a343d}
.hourly-pd-print-sheet header{background:#9dc3e6;border:0.5px solid #555;padding:0;color:#000}.hourly-pd-print-sheet header h2{font:bold 12pt/1.15 Arial,sans-serif;letter-spacing:normal;text-align:center;margin:1px 0;border-bottom:0.5px solid #555}.hourly-pd-print-sheet header h3{font:bold 8pt/1.2 Arial,sans-serif;text-align:center;margin:1px 0}.hourly-pd-print-sheet header>div{display:flex;align-items:center;gap:12mm;min-height:4mm;padding:1mm 3mm;font-size:6pt;color:red}.hourly-pd-print-sheet header strong{flex:1;text-align:center}.hourly-key-red{color:red}.hourly-key-yellow{color:#fffb00}.hourly-key-green{color:#00a830}.hourly-pd-value{color:#7030a0;font-weight:700}
.hourly-pd-print-table,.hourly-pd-summary{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;margin:0;color:#000}.hourly-pd-print-table th,.hourly-pd-print-table td{border:.5px solid #000;padding:.3mm .2mm;text-align:center;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;font-size:5.4pt;line-height:1.1;height:3.35mm}.hourly-pd-print-table thead th{background:#a9d18e;color:#000;font-size:5.3pt;font-weight:700}.hourly-pd-print-table tbody tr>td:nth-child(4){font-weight:700}.hourly-pd-print-table .hourly-status{font-size:5.2pt;color:#000;font-weight:700}.hourly-status-0{background:#b9e3ae}.hourly-status-1{background:#9dc3e6}.hourly-status-2{background:#ffff00}.hourly-status-3{background:#f4b183}.hourly-status-4{background:#4472c4}.hourly-pd-total{font-weight:700}.hourly-pd-total td,.hourly-pd-total th{height:4mm}
.hourly-pd-summary th,.hourly-pd-summary td{border:.5px solid #444;text-align:center;font:bold 8pt/1.15 Arial,sans-serif;padding:.8mm 1mm;height:4.5mm;box-sizing:border-box;white-space:normal}.hourly-pd-summary tr:nth-child(1),.hourly-pd-summary tr:nth-child(2){background:#002060;color:#fff}.hourly-pd-summary tr:nth-child(3),.hourly-pd-summary tr:nth-child(4){background:#00b0f0;color:#fff}.hourly-pd-summary .hourly-summary-0{background:#a9d18e}.hourly-pd-summary .hourly-summary-1{background:#9dc3e6;color:#fff}.hourly-pd-summary .hourly-summary-2{background:#000;color:#fff}.hourly-pd-summary .hourly-summary-2 td:nth-child(2){background:#9dc3e6}.hourly-pd-summary .hourly-summary-3{background:#ed7d31;color:#fff}.hourly-pd-summary .hourly-summary-4{background:#5b9bd5}

/* Match the supplied hourly Excel template. */
.hourly-pd-print-sheet .hourly-style .hourly-pd-value,.hourly-pd-print-sheet .hourly-item .hourly-pd-value{font:bold 8.2pt/1.05 Calibri,Arial,sans-serif}
.hourly-pd-print-sheet .hourly-buyer .hourly-pd-value,.hourly-pd-print-sheet .hourly-incharge .hourly-pd-value{font-size:6pt}
.hourly-pd-print-sheet .hourly-calculated{color:#000;font-weight:700}
.hourly-pd-print-sheet .hourly-difference{color:#f00;font-weight:700}
.hourly-pd-print-sheet .hourly-qc-total{background:#ff0!important}
.hourly-pd-print-sheet .hourly-achievement{font-weight:700;color:#000;background:#00b0f0}
.hourly-pd-print-sheet .hourly-rate-red{background:#ff5050!important}.hourly-pd-print-sheet .hourly-rate-yellow{background:#ff0!important}.hourly-pd-print-sheet .hourly-rate-green{background:#00b050!important}.hourly-pd-print-sheet .hourly-rate-cyan{background:#00b0f0!important}
.hourly-pd-print-sheet .hourly-status-0{background:#fff}.hourly-pd-print-sheet .hourly-first-later{background:#f7caac}.hourly-pd-print-sheet .hourly-status-1{background:#9cc2e5}.hourly-pd-print-sheet .hourly-status-3{background:#f4b083}
.hourly-pd-print-sheet header strong span{color:red}.hourly-pd-print-sheet header b .hourly-pd-value{margin-left:8mm}
.hourly-pd-print-sheet .hourly-summary-4{color:#fff}

@page farnoorHourlyLandscape{size:A4 landscape!important;margin:8mm!important}
@media print{body:has(.hourly-pd-print-sheet){page:farnoorHourlyLandscape!important}body:has(.hourly-pd-print-sheet) #main{width:100%!important;max-width:none!important;overflow:visible!important;height:auto!important;max-height:none!important;padding:0!important;background:#fff!important}.hourly-pd-print-pages{overflow:visible;padding:0}.hourly-pd-print-sheet{page:farnoorHourlyLandscape!important;width:281mm!important;max-width:281mm!important;min-height:0;margin:0!important;padding:6mm 0 0!important;box-shadow:none;break-after:page;break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}.hourly-pd-print-sheet:last-child{break-after:auto}.hourly-pd-print-sheet table{width:100%!important;min-width:0!important;table-layout:fixed}.hourly-pd-print-sheet .hourly-pd-print-table th,.hourly-pd-print-sheet .hourly-pd-print-table td{padding:.3mm .2mm!important;font-size:5.4pt!important;border:.5px solid #000!important;line-height:1.1!important}.hourly-pd-print-sheet .hourly-pd-summary th,.hourly-pd-print-sheet .hourly-pd-summary td{padding:.8mm 1mm!important;font-size:8pt!important;line-height:1.15!important}.hourly-pd-extra,.hourly-pd-save-actions{display:none!important}}

.hourly-pd-summary>tbody>tr>th,.hourly-pd-summary>tbody>tr>td{background-color:inherit!important;color:inherit!important;font-weight:700!important}
.hourly-pd-summary .hourly-summary-2>td:nth-child(2){background-color:#9dc3e6!important}

.hourly-pd-field select{box-sizing:border-box;width:100%;min-width:0;min-height:38px;background:#f6faff;border:1px solid #b8cde0;border-radius:6px;padding:7px 10px;color:#173048;font:inherit}
.hourly-pd-field select:focus{outline:2px solid #4789c5;outline-offset:1px}

.hourly-pd-edit-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;justify-content:flex-end}.hourly-pd-edit-links button{background:#e0f4eb;border:1px solid #91c9b0;color:#145c43;font-weight:700}

.hourly-pd-manpower-label{font-size:16px;font-weight:700;color:#244660}.hourly-pd-manpower-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 14px;min-width:0}.hourly-pd-manpower-pair label{display:grid;gap:5px;min-width:0}.hourly-pd-manpower-pair label>span{font-size:13px}.hourly-pd-manpower-sum{grid-column:1/-1;color:#46637c;font-size:12px}.hourly-pd-manpower-sum output{font-weight:700}
@media(max-width:650px){.hourly-pd-manpower-label{font-size:14px}.hourly-pd-manpower-pair{gap:6px}.hourly-pd-manpower-pair label>span{font-size:12px}}

/* Hourly entry totals, deletion and tightly bounded report paper. */
.hourly-pd-table tfoot{background:#d9e9fa;color:#102f50;font-weight:800}.hourly-pd-table tfoot td{font-size:17px}.hourly-pd-delete{background:#ba283b!important;color:#fff!important;border:1px solid #9e1c2e!important}#hourlyPDDeleteDialog{border:0;border-radius:14px;padding:24px;color:#173048;max-width:90vw}#hourlyPDDeleteDialog::backdrop{background:#061b38aa}#hourlyPDDeleteDialog .dialog-actions{display:flex;gap:12px;justify-content:flex-end}.hourly-pd-print-pages{padding-bottom:0}.hourly-pd-print-pages .hourly-pd-print-sheet{min-height:0;padding:0;margin-bottom:0}

.hourly-pd-report [data-hourly-pd-delete]{font-size:11px!important;line-height:1.2!important;padding:4px 7px!important;min-width:0!important;min-height:0!important;border-radius:4px!important;white-space:nowrap}

/* Quality hourly workspace: separate navy page and teal navigation. */
/* Line Wise Hourly Production workspace. */
@media screen{#main:has(.quality-pd-workspace){background:#102d50;min-height:calc(100vh - 140px)}}
.quality-pd-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px;justify-content:flex-start}
.quality-pd-nav button{font-weight:700;padding:10px 18px;border-radius:8px;border:1px solid}
.quality-pd-nav .quality-pd-new-input{background:#def8ec;border-color:#78c9a5;color:#126c4b}
.quality-pd-nav .quality-pd-print{background:#fff0d5;border-color:#e6ad4b;color:#935514}
.quality-pd-nav .quality-pd-input-report{background:#ece3ff;border-color:#b49ae3;color:#624091}
.quality-pd-nav button[aria-pressed="true"]{outline:2px solid #fff;outline-offset:3px;box-shadow:0 3px 9px #0003}
.quality-pd-paper{box-sizing:border-box;max-width:1050px;margin:0 auto;background:#fff;padding:30px 34px;border-radius:9px;box-shadow:0 7px 24px #061a343d;color:#173048}
.quality-pd-paper>h2{font-size:clamp(23px,3vw,34px);font-weight:900;letter-spacing:1px;color:#d11f32;text-align:center;margin:3px 0 28px;font-family:Georgia,'Times New Roman',serif;text-shadow:0 2px 0 #ffdce0}
.quality-pd-details{display:grid;gap:9px;max-width:760px;margin:0 auto 30px}
.quality-pd-field{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:20px}
.quality-pd-field label{font-size:16px;font-weight:700;color:#244660}
.quality-pd-field input{box-sizing:border-box;width:100%;min-width:0;min-height:38px;background:#f6faff;border:1px solid #b8cde0;border-radius:6px;padding:7px 10px;color:#173048}
.quality-pd-table-wrap{overflow-x:auto}
.quality-pd-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:600px}
.quality-pd-table th,.quality-pd-table td{border:1px solid #8199b0;text-align:center;padding:7px 6px}
.quality-pd-table thead th{background:#173f68;color:#fff;font-size:14px;font-weight:700}
.quality-pd-table tbody th{background:#eaf1f9;color:#244660;font-size:14px;white-space:nowrap}
.quality-pd-table input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d4dfea;border-radius:4px;text-align:center;padding:7px 3px;background:#fff;color:#173048}
.quality-pd-field input:focus,.quality-pd-table input:focus{outline:2px solid #4789c5;outline-offset:1px}
.quality-pd-print-actions{display:flex;justify-content:flex-end;margin-bottom:12px}
.quality-pd-print-actions button{background:#fff0d5;color:#935514;border:1px solid #e6ad4b}
.quality-pd-report{background:#fff;border-radius:9px;min-height:280px;padding:28px;color:#173048}
.quality-pd-report h2{margin:0}
@media(max-width:650px){.quality-pd-paper{padding:20px 12px}.quality-pd-field{grid-template-columns:130px minmax(0,1fr);gap:9px}.quality-pd-field label{font-size:14px}.quality-pd-nav{gap:8px}.quality-pd-nav button{padding:9px 11px}}
@media print{.quality-pd-paper{max-width:none;width:100%;padding:8mm;box-shadow:none;border-radius:0}.quality-pd-paper>h2{color:#000;text-shadow:none;font-size:23pt}.quality-pd-paper input{color:#000;background:#fff;border-color:transparent;box-shadow:none}.quality-pd-table{min-width:0}.quality-pd-table th,.quality-pd-table td{color:#000!important;background:#fff!important;border-color:#000}.quality-pd-nav,.quality-pd-print-actions{display:none!important}}

.quality-pd-extra{margin-top:20px;border:1px solid #b8cde0;border-radius:7px;padding:13px}.quality-pd-extra summary{cursor:pointer;font-weight:700}.quality-pd-extra-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.quality-pd-extra-fields label{display:grid;gap:5px}.quality-pd-extra input{width:100%;min-width:0;box-sizing:border-box}.quality-pd-extra-table{width:100%;border-collapse:collapse;min-width:460px}.quality-pd-extra-table th,.quality-pd-extra-table td{border:1px solid #b8cde0;padding:7px}.quality-pd-save-actions{display:flex;justify-content:flex-end;margin-top:20px}.quality-pd-save-actions button{background:#137354;color:#fff;font-weight:700;min-width:110px}.quality-pd-report h2{margin-bottom:18px}.quality-pd-print-actions{align-items:end;flex-wrap:wrap}.quality-pd-print-actions label{color:#fff;display:grid;gap:5px}.quality-pd-print-pages{overflow-x:auto;padding-bottom:15px}
.quality-pd-print-sheet{box-sizing:border-box;background:#fff;color:#000;width:281mm;min-height:194mm;padding:12mm 0;margin:0 auto 20px;font:7pt/1.15 Arial,sans-serif;box-shadow:0 7px 24px #061a343d}
.quality-pd-print-sheet header{background:#9dc3e6;border:0.5px solid #555;padding:0;color:#000}.quality-pd-print-sheet header h2{font:bold 12pt/1.15 Arial,sans-serif;letter-spacing:normal;text-align:center;margin:1px 0;border-bottom:0.5px solid #555}.quality-pd-print-sheet header h3{font:bold 8pt/1.2 Arial,sans-serif;text-align:center;margin:1px 0}.quality-pd-print-sheet header>div{display:flex;align-items:center;gap:12mm;min-height:4mm;padding:1mm 3mm;font-size:6pt;color:red}.quality-pd-print-sheet header strong{flex:1;text-align:center}.quality-key-red{color:red}.quality-key-yellow{color:#fffb00}.quality-key-green{color:#00a830}.quality-pd-value{color:#7030a0;font-weight:700}
.quality-pd-print-table,.quality-pd-summary{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;margin:0;color:#000}.quality-pd-print-table th,.quality-pd-print-table td{border:.5px solid #000;padding:.3mm .2mm;text-align:center;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;font-size:5.4pt;line-height:1.1;height:3.35mm}.quality-pd-print-table thead th{background:#a9d18e;color:#000;font-size:5.3pt;font-weight:700}.quality-pd-print-table tbody tr>td:nth-child(4){font-weight:700}.quality-pd-print-table .quality-status{font-size:5.2pt;color:#000;font-weight:700}.quality-status-0{background:#b9e3ae}.quality-status-1{background:#9dc3e6}.quality-status-2{background:#ffff00}.quality-status-3{background:#f4b183}.quality-status-4{background:#4472c4}.quality-pd-total{font-weight:700}.quality-pd-total td,.quality-pd-total th{height:4mm}
.quality-pd-summary th,.quality-pd-summary td{border:.5px solid #444;text-align:center;font:bold 8pt/1.15 Arial,sans-serif;padding:.8mm 1mm;height:4.5mm;box-sizing:border-box;white-space:normal}.quality-pd-summary tr:nth-child(1),.quality-pd-summary tr:nth-child(2){background:#002060;color:#fff}.quality-pd-summary tr:nth-child(3),.quality-pd-summary tr:nth-child(4){background:#00b0f0;color:#fff}.quality-pd-summary .quality-summary-0{background:#a9d18e}.quality-pd-summary .quality-summary-1{background:#9dc3e6;color:#fff}.quality-pd-summary .quality-summary-2{background:#000;color:#fff}.quality-pd-summary .quality-summary-2 td:nth-child(2){background:#9dc3e6}.quality-pd-summary .quality-summary-3{background:#ed7d31;color:#fff}.quality-pd-summary .quality-summary-4{background:#5b9bd5}

/* Match the supplied quality Excel template. */
.quality-pd-print-sheet .quality-style .quality-pd-value,.quality-pd-print-sheet .quality-item .quality-pd-value{font:bold 8.2pt/1.05 Calibri,Arial,sans-serif}
.quality-pd-print-sheet .quality-buyer .quality-pd-value,.quality-pd-print-sheet .quality-incharge .quality-pd-value{font-size:6pt}
.quality-pd-print-sheet .quality-calculated{color:#000;font-weight:700}
.quality-pd-print-sheet .quality-difference{color:#f00;font-weight:700}
.quality-pd-print-sheet .quality-qc-total{background:#ff0!important}
.quality-pd-print-sheet .quality-achievement{font-weight:700;color:#000;background:#00b0f0}
.quality-pd-print-sheet .quality-rate-red{background:#ff5050!important}.quality-pd-print-sheet .quality-rate-yellow{background:#ff0!important}.quality-pd-print-sheet .quality-rate-green{background:#00b050!important}.quality-pd-print-sheet .quality-rate-cyan{background:#00b0f0!important}
.quality-pd-print-sheet .quality-status-0{background:#fff}.quality-pd-print-sheet .quality-first-later{background:#f7caac}.quality-pd-print-sheet .quality-status-1{background:#9cc2e5}.quality-pd-print-sheet .quality-status-3{background:#f4b083}
.quality-pd-print-sheet header strong span{color:red}.quality-pd-print-sheet header b .quality-pd-value{margin-left:8mm}
.quality-pd-print-sheet .quality-summary-4{color:#fff}

@page farnoorHourlyLandscape{size:A4 landscape!important;margin:8mm!important}
@media print{body:has(.quality-pd-print-sheet){page:farnoorHourlyLandscape!important}body:has(.quality-pd-print-sheet) #main{width:100%!important;max-width:none!important;overflow:visible!important;height:auto!important;max-height:none!important;padding:0!important;background:#fff!important}.quality-pd-print-pages{overflow:visible;padding:0}.quality-pd-print-sheet{page:farnoorHourlyLandscape!important;width:281mm!important;max-width:281mm!important;min-height:0;margin:0!important;padding:6mm 0 0!important;box-shadow:none;break-after:page;break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}.quality-pd-print-sheet:last-child{break-after:auto}.quality-pd-print-sheet table{width:100%!important;min-width:0!important;table-layout:fixed}.quality-pd-print-sheet .quality-pd-print-table th,.quality-pd-print-sheet .quality-pd-print-table td{padding:.3mm .2mm!important;font-size:5.4pt!important;border:.5px solid #000!important;line-height:1.1!important}.quality-pd-print-sheet .quality-pd-summary th,.quality-pd-print-sheet .quality-pd-summary td{padding:.8mm 1mm!important;font-size:8pt!important;line-height:1.15!important}.quality-pd-extra,.quality-pd-save-actions{display:none!important}}

.quality-pd-summary>tbody>tr>th,.quality-pd-summary>tbody>tr>td{background-color:inherit!important;color:inherit!important;font-weight:700!important}
.quality-pd-summary .quality-summary-2>td:nth-child(2){background-color:#9dc3e6!important}

.quality-pd-field select{box-sizing:border-box;width:100%;min-width:0;min-height:38px;background:#f6faff;border:1px solid #b8cde0;border-radius:6px;padding:7px 10px;color:#173048;font:inherit}
.quality-pd-field select:focus{outline:2px solid #4789c5;outline-offset:1px}

.quality-pd-edit-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;justify-content:flex-end}.quality-pd-edit-links button{background:#e0f4eb;border:1px solid #91c9b0;color:#145c43;font-weight:700}

.quality-pd-manpower-label{font-size:16px;font-weight:700;color:#244660}.quality-pd-manpower-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 14px;min-width:0}.quality-pd-manpower-pair label{display:grid;gap:5px;min-width:0}.quality-pd-manpower-pair label>span{font-size:13px}.quality-pd-manpower-sum{grid-column:1/-1;color:#46637c;font-size:12px}.quality-pd-manpower-sum output{font-weight:700}
@media(max-width:650px){.quality-pd-manpower-label{font-size:14px}.quality-pd-manpower-pair{gap:6px}.quality-pd-manpower-pair label>span{font-size:12px}}

/* Hourly entry totals, deletion and tightly bounded report paper. */
.quality-pd-table tfoot{background:#d9e9fa;color:#102f50;font-weight:800}.quality-pd-table tfoot td{font-size:17px}.quality-pd-delete{background:#ba283b!important;color:#fff!important;border:1px solid #9e1c2e!important}#qualityPDDeleteDialog{border:0;border-radius:14px;padding:24px;color:#173048;max-width:90vw}#qualityPDDeleteDialog::backdrop{background:#061b38aa}#qualityPDDeleteDialog .dialog-actions{display:flex;gap:12px;justify-content:flex-end}.quality-pd-print-pages{padding-bottom:0}.quality-pd-print-pages .quality-pd-print-sheet{min-height:0;padding:0;margin-bottom:0}

.quality-pd-report [data-quality-pd-delete]{font-size:11px!important;line-height:1.2!important;padding:4px 7px!important;min-width:0!important;min-height:0!important;border-radius:4px!important;white-space:nowrap}

#navigation [data-page="production-quality-wise-hourly-pd"]{--sub-bg:#d3f5ef!important;--sub-edge:#65bfb1!important;--sub-ink:#075a60!important;--sub-accent:#139c98!important}#navigation [data-page="production-quality-wise-hourly-pd"] .submenu-icon{color:#07847d}
@media screen{#main:has(.quality-pd-workspace){background:#101f47}}
.quality-pd-nav .quality-pd-new-input{background:#dcf8ee;border-color:#60bda4;color:#07684c}.quality-pd-nav .quality-pd-print{background:#dcecff;border-color:#7ba9e6;color:#174b8f}.quality-pd-nav .quality-pd-input-report{background:#f5e0f4;border-color:#c590c5;color:#813580}.quality-pd-report>h2{color:#fff}

/* Two-level machine headings in the Sewing Input Report. */
.hourly-pd-report thead th[scope="colgroup"]{text-align:center;vertical-align:middle;border-inline:1px solid #d6e3dc;border-bottom:1px solid #c4d7cf}
.hourly-pd-report thead tr:nth-child(2)>th{text-align:center;white-space:nowrap}

/* Independent Iron hourly workspace. */
/* Iron hourly workspace: separate navy page and teal navigation. */
/* Line Wise Hourly Production workspace. */
@media screen{#main:has(.iron-pd-workspace){background:#102d50;min-height:calc(100vh - 140px)}}
.iron-pd-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px;justify-content:flex-start}
.iron-pd-nav button{font-weight:700;padding:10px 18px;border-radius:8px;border:1px solid}
.iron-pd-nav .iron-pd-new-input{background:#def8ec;border-color:#78c9a5;color:#126c4b}
.iron-pd-nav .iron-pd-print{background:#fff0d5;border-color:#e6ad4b;color:#935514}
.iron-pd-nav .iron-pd-input-report{background:#ece3ff;border-color:#b49ae3;color:#624091}
.iron-pd-nav button[aria-pressed="true"]{outline:2px solid #fff;outline-offset:3px;box-shadow:0 3px 9px #0003}
.iron-pd-paper{box-sizing:border-box;max-width:1050px;margin:0 auto;background:#fff;padding:30px 34px;border-radius:9px;box-shadow:0 7px 24px #061a343d;color:#173048}
.iron-pd-paper>h2{font-size:clamp(23px,3vw,34px);font-weight:900;letter-spacing:1px;color:#d11f32;text-align:center;margin:3px 0 28px;font-family:Georgia,'Times New Roman',serif;text-shadow:0 2px 0 #ffdce0}
.iron-pd-details{display:grid;gap:9px;max-width:760px;margin:0 auto 30px}
.iron-pd-field{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:20px}
.iron-pd-field label{font-size:16px;font-weight:700;color:#244660}
.iron-pd-field input{box-sizing:border-box;width:100%;min-width:0;min-height:38px;background:#f6faff;border:1px solid #b8cde0;border-radius:6px;padding:7px 10px;color:#173048}
.iron-pd-table-wrap{overflow-x:auto}
.iron-pd-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:600px}
.iron-pd-table th,.iron-pd-table td{border:1px solid #8199b0;text-align:center;padding:7px 6px}
.iron-pd-table thead th{background:#173f68;color:#fff;font-size:14px;font-weight:700}
.iron-pd-table tbody th{background:#eaf1f9;color:#244660;font-size:14px;white-space:nowrap}
.iron-pd-table input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d4dfea;border-radius:4px;text-align:center;padding:7px 3px;background:#fff;color:#173048}
.iron-pd-field input:focus,.iron-pd-table input:focus{outline:2px solid #4789c5;outline-offset:1px}
.iron-pd-print-actions{display:flex;justify-content:flex-end;margin-bottom:12px}
.iron-pd-print-actions button{background:#fff0d5;color:#935514;border:1px solid #e6ad4b}
.iron-pd-report{background:#fff;border-radius:9px;min-height:280px;padding:28px;color:#173048}
.iron-pd-report h2{margin:0}
@media(max-width:650px){.iron-pd-paper{padding:20px 12px}.iron-pd-field{grid-template-columns:130px minmax(0,1fr);gap:9px}.iron-pd-field label{font-size:14px}.iron-pd-nav{gap:8px}.iron-pd-nav button{padding:9px 11px}}
@media print{.iron-pd-paper{max-width:none;width:100%;padding:8mm;box-shadow:none;border-radius:0}.iron-pd-paper>h2{color:#000;text-shadow:none;font-size:23pt}.iron-pd-paper input{color:#000;background:#fff;border-color:transparent;box-shadow:none}.iron-pd-table{min-width:0}.iron-pd-table th,.iron-pd-table td{color:#000!important;background:#fff!important;border-color:#000}.iron-pd-nav,.iron-pd-print-actions{display:none!important}}

.iron-pd-extra{margin-top:20px;border:1px solid #b8cde0;border-radius:7px;padding:13px}.iron-pd-extra summary{cursor:pointer;font-weight:700}.iron-pd-extra-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.iron-pd-extra-fields label{display:grid;gap:5px}.iron-pd-extra input{width:100%;min-width:0;box-sizing:border-box}.iron-pd-extra-table{width:100%;border-collapse:collapse;min-width:460px}.iron-pd-extra-table th,.iron-pd-extra-table td{border:1px solid #b8cde0;padding:7px}.iron-pd-save-actions{display:flex;justify-content:flex-end;margin-top:20px}.iron-pd-save-actions button{background:#137354;color:#fff;font-weight:700;min-width:110px}.iron-pd-report h2{margin-bottom:18px}.iron-pd-print-actions{align-items:end;flex-wrap:wrap}.iron-pd-print-actions label{color:#fff;display:grid;gap:5px}.iron-pd-print-pages{overflow-x:auto;padding-bottom:15px}
.iron-pd-print-sheet{box-sizing:border-box;background:#fff;color:#000;width:281mm;min-height:194mm;padding:12mm 0;margin:0 auto 20px;font:7pt/1.15 Arial,sans-serif;box-shadow:0 7px 24px #061a343d}
.iron-pd-print-sheet header{background:#9dc3e6;border:0.5px solid #555;padding:0;color:#000}.iron-pd-print-sheet header h2{font:bold 12pt/1.15 Arial,sans-serif;letter-spacing:normal;text-align:center;margin:1px 0;border-bottom:0.5px solid #555}.iron-pd-print-sheet header h3{font:bold 8pt/1.2 Arial,sans-serif;text-align:center;margin:1px 0}.iron-pd-print-sheet header>div{display:flex;align-items:center;gap:12mm;min-height:4mm;padding:1mm 3mm;font-size:6pt;color:red}.iron-pd-print-sheet header strong{flex:1;text-align:center}.iron-key-red{color:red}.iron-key-yellow{color:#fffb00}.iron-key-green{color:#00a830}.iron-pd-value{color:#7030a0;font-weight:700}
.iron-pd-print-table,.iron-pd-summary{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;margin:0;color:#000}.iron-pd-print-table th,.iron-pd-print-table td{border:.5px solid #000;padding:.3mm .2mm;text-align:center;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;font-size:5.4pt;line-height:1.1;height:3.35mm}.iron-pd-print-table thead th{background:#a9d18e;color:#000;font-size:5.3pt;font-weight:700}.iron-pd-print-table tbody tr>td:nth-child(4){font-weight:700}.iron-pd-print-table .iron-status{font-size:5.2pt;color:#000;font-weight:700}.iron-status-0{background:#b9e3ae}.iron-status-1{background:#9dc3e6}.iron-status-2{background:#ffff00}.iron-status-3{background:#f4b183}.iron-status-4{background:#4472c4}.iron-pd-total{font-weight:700}.iron-pd-total td,.iron-pd-total th{height:4mm}
.iron-pd-summary th,.iron-pd-summary td{border:.5px solid #444;text-align:center;font:bold 8pt/1.15 Arial,sans-serif;padding:.8mm 1mm;height:4.5mm;box-sizing:border-box;white-space:normal}.iron-pd-summary tr:nth-child(1),.iron-pd-summary tr:nth-child(2){background:#002060;color:#fff}.iron-pd-summary tr:nth-child(3),.iron-pd-summary tr:nth-child(4){background:#00b0f0;color:#fff}.iron-pd-summary .iron-summary-0{background:#a9d18e}.iron-pd-summary .iron-summary-1{background:#9dc3e6;color:#fff}.iron-pd-summary .iron-summary-2{background:#000;color:#fff}.iron-pd-summary .iron-summary-2 td:nth-child(2){background:#9dc3e6}.iron-pd-summary .iron-summary-3{background:#ed7d31;color:#fff}.iron-pd-summary .iron-summary-4{background:#5b9bd5}

/* Match the supplied iron Excel template. */
.iron-pd-print-sheet .iron-style .iron-pd-value,.iron-pd-print-sheet .iron-item .iron-pd-value{font:bold 8.2pt/1.05 Calibri,Arial,sans-serif}
.iron-pd-print-sheet .iron-buyer .iron-pd-value,.iron-pd-print-sheet .iron-incharge .iron-pd-value{font-size:6pt}
.iron-pd-print-sheet .iron-calculated{color:#000;font-weight:700}
.iron-pd-print-sheet .iron-difference{color:#f00;font-weight:700}
.iron-pd-print-sheet .iron-qc-total{background:#ff0!important}
.iron-pd-print-sheet .iron-achievement{font-weight:700;color:#000;background:#00b0f0}
.iron-pd-print-sheet .iron-rate-red{background:#ff5050!important}.iron-pd-print-sheet .iron-rate-yellow{background:#ff0!important}.iron-pd-print-sheet .iron-rate-green{background:#00b050!important}.iron-pd-print-sheet .iron-rate-cyan{background:#00b0f0!important}
.iron-pd-print-sheet .iron-status-0{background:#fff}.iron-pd-print-sheet .iron-first-later{background:#f7caac}.iron-pd-print-sheet .iron-status-1{background:#9cc2e5}.iron-pd-print-sheet .iron-status-3{background:#f4b083}
.iron-pd-print-sheet header strong span{color:red}.iron-pd-print-sheet header b .iron-pd-value{margin-left:8mm}
.iron-pd-print-sheet .iron-summary-4{color:#fff}

@page farnoorHourlyLandscape{size:A4 landscape!important;margin:8mm!important}
@media print{body:has(.iron-pd-print-sheet){page:farnoorHourlyLandscape!important}body:has(.iron-pd-print-sheet) #main{width:100%!important;max-width:none!important;overflow:visible!important;height:auto!important;max-height:none!important;padding:0!important;background:#fff!important}.iron-pd-print-pages{overflow:visible;padding:0}.iron-pd-print-sheet{page:farnoorHourlyLandscape!important;width:281mm!important;max-width:281mm!important;min-height:0;margin:0!important;padding:6mm 0 0!important;box-shadow:none;break-after:page;break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}.iron-pd-print-sheet:last-child{break-after:auto}.iron-pd-print-sheet table{width:100%!important;min-width:0!important;table-layout:fixed}.iron-pd-print-sheet .iron-pd-print-table th,.iron-pd-print-sheet .iron-pd-print-table td{padding:.3mm .2mm!important;font-size:5.4pt!important;border:.5px solid #000!important;line-height:1.1!important}.iron-pd-print-sheet .iron-pd-summary th,.iron-pd-print-sheet .iron-pd-summary td{padding:.8mm 1mm!important;font-size:8pt!important;line-height:1.15!important}.iron-pd-extra,.iron-pd-save-actions{display:none!important}}

.iron-pd-summary>tbody>tr>th,.iron-pd-summary>tbody>tr>td{background-color:inherit!important;color:inherit!important;font-weight:700!important}
.iron-pd-summary .iron-summary-2>td:nth-child(2){background-color:#9dc3e6!important}

.iron-pd-field select{box-sizing:border-box;width:100%;min-width:0;min-height:38px;background:#f6faff;border:1px solid #b8cde0;border-radius:6px;padding:7px 10px;color:#173048;font:inherit}
.iron-pd-field select:focus{outline:2px solid #4789c5;outline-offset:1px}

.iron-pd-edit-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;justify-content:flex-end}.iron-pd-edit-links button{background:#e0f4eb;border:1px solid #91c9b0;color:#145c43;font-weight:700}

.iron-pd-manpower-label{font-size:16px;font-weight:700;color:#244660}.iron-pd-manpower-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 14px;min-width:0}.iron-pd-manpower-pair label{display:grid;gap:5px;min-width:0}.iron-pd-manpower-pair label>span{font-size:13px}.iron-pd-manpower-sum{grid-column:1/-1;color:#46637c;font-size:12px}.iron-pd-manpower-sum output{font-weight:700}
@media(max-width:650px){.iron-pd-manpower-label{font-size:14px}.iron-pd-manpower-pair{gap:6px}.iron-pd-manpower-pair label>span{font-size:12px}}

/* Hourly entry totals, deletion and tightly bounded report paper. */
.iron-pd-table tfoot{background:#d9e9fa;color:#102f50;font-weight:800}.iron-pd-table tfoot td{font-size:17px}.iron-pd-delete{background:#ba283b!important;color:#fff!important;border:1px solid #9e1c2e!important}#ironPDDeleteDialog{border:0;border-radius:14px;padding:24px;color:#173048;max-width:90vw}#ironPDDeleteDialog::backdrop{background:#061b38aa}#ironPDDeleteDialog .dialog-actions{display:flex;gap:12px;justify-content:flex-end}.iron-pd-print-pages{padding-bottom:0}.iron-pd-print-pages .iron-pd-print-sheet{min-height:0;padding:0;margin-bottom:0}

.iron-pd-report [data-iron-pd-delete]{font-size:11px!important;line-height:1.2!important;padding:4px 7px!important;min-width:0!important;min-height:0!important;border-radius:4px!important;white-space:nowrap}

#navigation [data-page="production-iron-wise-hourly-pd"]{--sub-bg:#d3f5ef!important;--sub-edge:#65bfb1!important;--sub-ink:#075a60!important;--sub-accent:#139c98!important}#navigation [data-page="production-iron-wise-hourly-pd"] .submenu-icon{color:#07847d}
@media screen{#main:has(.iron-pd-workspace){background:#111e40}}
.iron-pd-nav .iron-pd-new-input{background:#dcf8ee;border-color:#60bda4;color:#07684c}.iron-pd-nav .iron-pd-print{background:#dcecff;border-color:#7ba9e6;color:#174b8f}.iron-pd-nav .iron-pd-input-report{background:#f5e0f4;border-color:#c590c5;color:#813580}.iron-pd-report>h2{color:#fff}


#navigation [data-page="production-iron-wise-hourly-pd"]{--sub-bg:#ffe3cc!important;--sub-edge:#e6a56c!important;--sub-ink:#8d4214!important;--sub-accent:#d87925!important}.iron-pd-nav .iron-pd-new-input{background:#dcf8ee;color:#07684c}.iron-pd-nav .iron-pd-print{background:#fff0d5;color:#935514}.iron-pd-nav .iron-pd-input-report{background:#eee2ff;color:#624091}

/* Independent Sample hourly workspace. */
/* Independent Sample hourly workspace. */
/* Sample hourly workspace: separate navy page and teal navigation. */
/* Line Wise Hourly Production workspace. */
@media screen{#main:has(.sample-pd-workspace){background:#102d50;min-height:calc(100vh - 140px)}}
.sample-pd-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px;justify-content:flex-start}
.sample-pd-nav button{font-weight:700;padding:10px 18px;border-radius:8px;border:1px solid}
.sample-pd-nav .sample-pd-new-input{background:#def8ec;border-color:#78c9a5;color:#126c4b}
.sample-pd-nav .sample-pd-print{background:#fff0d5;border-color:#e6ad4b;color:#935514}
.sample-pd-nav .sample-pd-input-report{background:#ece3ff;border-color:#b49ae3;color:#624091}
.sample-pd-nav button[aria-pressed="true"]{outline:2px solid #fff;outline-offset:3px;box-shadow:0 3px 9px #0003}
.sample-pd-paper{box-sizing:border-box;max-width:1050px;margin:0 auto;background:#fff;padding:30px 34px;border-radius:9px;box-shadow:0 7px 24px #061a343d;color:#173048}
.sample-pd-paper>h2{font-size:clamp(23px,3vw,34px);font-weight:900;letter-spacing:1px;color:#d11f32;text-align:center;margin:3px 0 28px;font-family:Georgia,'Times New Roman',serif;text-shadow:0 2px 0 #ffdce0}
.sample-pd-details{display:grid;gap:9px;max-width:760px;margin:0 auto 30px}
.sample-pd-field{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:20px}
.sample-pd-field label{font-size:16px;font-weight:700;color:#244660}
.sample-pd-field input{box-sizing:border-box;width:100%;min-width:0;min-height:38px;background:#f6faff;border:1px solid #b8cde0;border-radius:6px;padding:7px 10px;color:#173048}
.sample-pd-table-wrap{overflow-x:auto}
.sample-pd-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:600px}
.sample-pd-table th,.sample-pd-table td{border:1px solid #8199b0;text-align:center;padding:7px 6px}
.sample-pd-table thead th{background:#173f68;color:#fff;font-size:14px;font-weight:700}
.sample-pd-table tbody th{background:#eaf1f9;color:#244660;font-size:14px;white-space:nowrap}
.sample-pd-table input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d4dfea;border-radius:4px;text-align:center;padding:7px 3px;background:#fff;color:#173048}
.sample-pd-field input:focus,.sample-pd-table input:focus{outline:2px solid #4789c5;outline-offset:1px}
.sample-pd-print-actions{display:flex;justify-content:flex-end;margin-bottom:12px}
.sample-pd-print-actions button{background:#fff0d5;color:#935514;border:1px solid #e6ad4b}
.sample-pd-report{background:#fff;border-radius:9px;min-height:280px;padding:28px;color:#173048}
.sample-pd-report h2{margin:0}
@media(max-width:650px){.sample-pd-paper{padding:20px 12px}.sample-pd-field{grid-template-columns:130px minmax(0,1fr);gap:9px}.sample-pd-field label{font-size:14px}.sample-pd-nav{gap:8px}.sample-pd-nav button{padding:9px 11px}}
@media print{.sample-pd-paper{max-width:none;width:100%;padding:8mm;box-shadow:none;border-radius:0}.sample-pd-paper>h2{color:#000;text-shadow:none;font-size:23pt}.sample-pd-paper input{color:#000;background:#fff;border-color:transparent;box-shadow:none}.sample-pd-table{min-width:0}.sample-pd-table th,.sample-pd-table td{color:#000!important;background:#fff!important;border-color:#000}.sample-pd-nav,.sample-pd-print-actions{display:none!important}}

.sample-pd-extra{margin-top:20px;border:1px solid #b8cde0;border-radius:7px;padding:13px}.sample-pd-extra summary{cursor:pointer;font-weight:700}.sample-pd-extra-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.sample-pd-extra-fields label{display:grid;gap:5px}.sample-pd-extra input{width:100%;min-width:0;box-sizing:border-box}.sample-pd-extra-table{width:100%;border-collapse:collapse;min-width:460px}.sample-pd-extra-table th,.sample-pd-extra-table td{border:1px solid #b8cde0;padding:7px}.sample-pd-save-actions{display:flex;justify-content:flex-end;margin-top:20px}.sample-pd-save-actions button{background:#137354;color:#fff;font-weight:700;min-width:110px}.sample-pd-report h2{margin-bottom:18px}.sample-pd-print-actions{align-items:end;flex-wrap:wrap}.sample-pd-print-actions label{color:#fff;display:grid;gap:5px}.sample-pd-print-pages{overflow-x:auto;padding-bottom:15px}
.sample-pd-print-sheet{box-sizing:border-box;background:#fff;color:#000;width:281mm;min-height:194mm;padding:12mm 0;margin:0 auto 20px;font:7pt/1.15 Arial,sans-serif;box-shadow:0 7px 24px #061a343d}
.sample-pd-print-sheet header{background:#9dc3e6;border:0.5px solid #555;padding:0;color:#000}.sample-pd-print-sheet header h2{font:bold 12pt/1.15 Arial,sans-serif;letter-spacing:normal;text-align:center;margin:1px 0;border-bottom:0.5px solid #555}.sample-pd-print-sheet header h3{font:bold 8pt/1.2 Arial,sans-serif;text-align:center;margin:1px 0}.sample-pd-print-sheet header>div{display:flex;align-items:center;gap:12mm;min-height:4mm;padding:1mm 3mm;font-size:6pt;color:red}.sample-pd-print-sheet header strong{flex:1;text-align:center}.sample-key-red{color:red}.sample-key-yellow{color:#fffb00}.sample-key-green{color:#00a830}.sample-pd-value{color:#7030a0;font-weight:700}
.sample-pd-print-table,.sample-pd-summary{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;margin:0;color:#000}.sample-pd-print-table th,.sample-pd-print-table td{border:.5px solid #000;padding:.3mm .2mm;text-align:center;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;font-size:5.4pt;line-height:1.1;height:3.35mm}.sample-pd-print-table thead th{background:#a9d18e;color:#000;font-size:5.3pt;font-weight:700}.sample-pd-print-table tbody tr>td:nth-child(4){font-weight:700}.sample-pd-print-table .sample-status{font-size:5.2pt;color:#000;font-weight:700}.sample-status-0{background:#b9e3ae}.sample-status-1{background:#9dc3e6}.sample-status-2{background:#ffff00}.sample-status-3{background:#f4b183}.sample-status-4{background:#4472c4}.sample-pd-total{font-weight:700}.sample-pd-total td,.sample-pd-total th{height:4mm}
.sample-pd-summary th,.sample-pd-summary td{border:.5px solid #444;text-align:center;font:bold 8pt/1.15 Arial,sans-serif;padding:.8mm 1mm;height:4.5mm;box-sizing:border-box;white-space:normal}.sample-pd-summary tr:nth-child(1),.sample-pd-summary tr:nth-child(2){background:#002060;color:#fff}.sample-pd-summary tr:nth-child(3),.sample-pd-summary tr:nth-child(4){background:#00b0f0;color:#fff}.sample-pd-summary .sample-summary-0{background:#a9d18e}.sample-pd-summary .sample-summary-1{background:#9dc3e6;color:#fff}.sample-pd-summary .sample-summary-2{background:#000;color:#fff}.sample-pd-summary .sample-summary-2 td:nth-child(2){background:#9dc3e6}.sample-pd-summary .sample-summary-3{background:#ed7d31;color:#fff}.sample-pd-summary .sample-summary-4{background:#5b9bd5}

/* Match the supplied sample Excel template. */
.sample-pd-print-sheet .sample-style .sample-pd-value,.sample-pd-print-sheet .sample-item .sample-pd-value{font:bold 8.2pt/1.05 Calibri,Arial,sans-serif}
.sample-pd-print-sheet .sample-buyer .sample-pd-value,.sample-pd-print-sheet .sample-incharge .sample-pd-value{font-size:6pt}
.sample-pd-print-sheet .sample-calculated{color:#000;font-weight:700}
.sample-pd-print-sheet .sample-difference{color:#f00;font-weight:700}
.sample-pd-print-sheet .sample-qc-total{background:#ff0!important}
.sample-pd-print-sheet .sample-achievement{font-weight:700;color:#000;background:#00b0f0}
.sample-pd-print-sheet .sample-rate-red{background:#ff5050!important}.sample-pd-print-sheet .sample-rate-yellow{background:#ff0!important}.sample-pd-print-sheet .sample-rate-green{background:#00b050!important}.sample-pd-print-sheet .sample-rate-cyan{background:#00b0f0!important}
.sample-pd-print-sheet .sample-status-0{background:#fff}.sample-pd-print-sheet .sample-first-later{background:#f7caac}.sample-pd-print-sheet .sample-status-1{background:#9cc2e5}.sample-pd-print-sheet .sample-status-3{background:#f4b083}
.sample-pd-print-sheet header strong span{color:red}.sample-pd-print-sheet header b .sample-pd-value{margin-left:8mm}
.sample-pd-print-sheet .sample-summary-4{color:#fff}

@page farnoorHourlyLandscape{size:A4 landscape!important;margin:8mm!important}
@media print{body:has(.sample-pd-print-sheet){page:farnoorHourlyLandscape!important}body:has(.sample-pd-print-sheet) #main{width:100%!important;max-width:none!important;overflow:visible!important;height:auto!important;max-height:none!important;padding:0!important;background:#fff!important}.sample-pd-print-pages{overflow:visible;padding:0}.sample-pd-print-sheet{page:farnoorHourlyLandscape!important;width:281mm!important;max-width:281mm!important;min-height:0;margin:0!important;padding:6mm 0 0!important;box-shadow:none;break-after:page;break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}.sample-pd-print-sheet:last-child{break-after:auto}.sample-pd-print-sheet table{width:100%!important;min-width:0!important;table-layout:fixed}.sample-pd-print-sheet .sample-pd-print-table th,.sample-pd-print-sheet .sample-pd-print-table td{padding:.3mm .2mm!important;font-size:5.4pt!important;border:.5px solid #000!important;line-height:1.1!important}.sample-pd-print-sheet .sample-pd-summary th,.sample-pd-print-sheet .sample-pd-summary td{padding:.8mm 1mm!important;font-size:8pt!important;line-height:1.15!important}.sample-pd-extra,.sample-pd-save-actions{display:none!important}}

.sample-pd-summary>tbody>tr>th,.sample-pd-summary>tbody>tr>td{background-color:inherit!important;color:inherit!important;font-weight:700!important}
.sample-pd-summary .sample-summary-2>td:nth-child(2){background-color:#9dc3e6!important}

.sample-pd-field select{box-sizing:border-box;width:100%;min-width:0;min-height:38px;background:#f6faff;border:1px solid #b8cde0;border-radius:6px;padding:7px 10px;color:#173048;font:inherit}
.sample-pd-field select:focus{outline:2px solid #4789c5;outline-offset:1px}

.sample-pd-edit-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;justify-content:flex-end}.sample-pd-edit-links button{background:#e0f4eb;border:1px solid #91c9b0;color:#145c43;font-weight:700}

.sample-pd-manpower-label{font-size:16px;font-weight:700;color:#244660}.sample-pd-manpower-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 14px;min-width:0}.sample-pd-manpower-pair label{display:grid;gap:5px;min-width:0}.sample-pd-manpower-pair label>span{font-size:13px}.sample-pd-manpower-sum{grid-column:1/-1;color:#46637c;font-size:12px}.sample-pd-manpower-sum output{font-weight:700}
@media(max-width:650px){.sample-pd-manpower-label{font-size:14px}.sample-pd-manpower-pair{gap:6px}.sample-pd-manpower-pair label>span{font-size:12px}}

/* Hourly entry totals, deletion and tightly bounded report paper. */
.sample-pd-table tfoot{background:#d9e9fa;color:#102f50;font-weight:800}.sample-pd-table tfoot td{font-size:17px}.sample-pd-delete{background:#ba283b!important;color:#fff!important;border:1px solid #9e1c2e!important}#samplePDDeleteDialog{border:0;border-radius:14px;padding:24px;color:#173048;max-width:90vw}#samplePDDeleteDialog::backdrop{background:#061b38aa}#samplePDDeleteDialog .dialog-actions{display:flex;gap:12px;justify-content:flex-end}.sample-pd-print-pages{padding-bottom:0}.sample-pd-print-pages .sample-pd-print-sheet{min-height:0;padding:0;margin-bottom:0}

.sample-pd-report [data-sample-pd-delete]{font-size:11px!important;line-height:1.2!important;padding:4px 7px!important;min-width:0!important;min-height:0!important;border-radius:4px!important;white-space:nowrap}

#navigation [data-page="production-sample-wise-hourly-pd"]{--sub-bg:#d3f5ef!important;--sub-edge:#65bfb1!important;--sub-ink:#075a60!important;--sub-accent:#139c98!important}#navigation [data-page="production-sample-wise-hourly-pd"] .submenu-icon{color:#07847d}
@media screen{#main:has(.sample-pd-workspace){background:#102447}}
.sample-pd-nav .sample-pd-new-input{background:#dcf8ee;border-color:#60bda4;color:#07684c}.sample-pd-nav .sample-pd-print{background:#dcecff;border-color:#7ba9e6;color:#174b8f}.sample-pd-nav .sample-pd-input-report{background:#f5e0f4;border-color:#c590c5;color:#813580}.sample-pd-report>h2{color:#fff}


#navigation [data-page="production-sample-wise-hourly-pd"]{--sub-bg:#ffe3cc!important;--sub-edge:#e6a56c!important;--sub-ink:#8d4214!important;--sub-accent:#d87925!important}.sample-pd-nav .sample-pd-new-input{background:#dcf8ee;color:#07684c}.sample-pd-nav .sample-pd-print{background:#fff0d5;color:#935514}.sample-pd-nav .sample-pd-input-report{background:#eee2ff;color:#624091}

.department-button[data-department="requistion"]{--dept-start:#6557d1;--dept-end:#302776;--dept-pattern:linear-gradient(135deg,#ffffff15 0 25%,transparent 25%);border-radius:8px 18px 8px 18px;--badge-radius:8px}
.requistion-home{display:grid;place-items:center;gap:14px;min-height:300px;border:1px solid #c9c2f4;border-radius:18px;background:linear-gradient(135deg,#f2eeff,#e4ecff);color:#302776;padding:32px;text-align:center}.requistion-home>span{font-size:56px}.requistion-home h2{margin:0}

.requistion-tabs{display:flex;justify-content:flex-start;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 22px}.requistion-tabs .requistion-tab{display:inline-flex;gap:8px;align-items:center;padding:10px 15px;border-radius:7px;font-weight:700}.requistion-tab-new-input{background:#dff6ed;border-color:#76c4ad;color:#086353}.requistion-tab-print{background:#fff1d8;border-color:#e9b460;color:#945007}.requistion-tab-input-report{background:#eee4ff;border-color:#b795e8;color:#63369e}.requistion-tabs .requistion-tab[aria-pressed="true"]{outline:2px solid currentColor;outline-offset:2px}

.requistion-list-paper{background:#fff;color:#111;border:1px solid #c6d2df;border-radius:8px;padding:30px 24px;min-height:420px}.requistion-company{text-align:center;color:#111}.requistion-company h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(24px,3vw,36px);line-height:1.2;margin:0 0 7px;font-weight:800}.requistion-company p{margin:0;font-size:15px}.requistion-company h2{font-size:28px;font-weight:800;letter-spacing:1px;margin:28px 0 24px}.requistion-list-scroll{overflow-x:auto}.requistion-list-table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed}.requistion-list-table th,.requistion-list-table td{border:1px solid #222;padding:6px;vertical-align:middle}.requistion-list-table thead th{background:#edf1f6;color:#111;text-align:center;font-size:13px;white-space:nowrap;font-weight:800}.requistion-list-table td{background:#fff}.requistion-list-table .requistion-sl{text-align:center;font-weight:700}.requistion-list-table input{width:100%;min-width:0;box-sizing:border-box;padding:8px 5px;border:1px solid transparent;border-radius:3px;background:#fff;color:#111;font-size:14px}.requistion-list-table input:focus{outline:2px solid #6557d1;outline-offset:-1px;background:#f6f3ff}.requistion-list-table input[readonly]{cursor:default}@media(max-width:600px){.requistion-list-paper{padding:22px 12px}.requistion-company p{font-size:13px}}

.requistion-tabs .requistion-tab-approval{margin-inline-start:150px;background:#dceeff;border-color:#6ca6d9;color:#164e87}@media(max-width:600px){.requistion-tabs .requistion-tab-approval{margin-inline-start:0;flex-basis:auto}.requistion-tabs:has(.requistion-tab-approval)::after{content:"";order:1;flex-basis:100%;height:0}.requistion-tabs .requistion-tab-approval{order:2}}

@media(max-width:600px){.requistion-tabs .requistion-tab-print{order:2}}

.requistion-new-company{display:flex;align-items:center;gap:22px;color:#111}.requistion-new-company img{width:80px;height:80px;object-fit:contain;flex:none}.requistion-new-company h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(22px,3vw,34px);line-height:1.2;margin:0 0 8px;color:#111}.requistion-new-company p{margin:0;font-size:15px}.requistion-new-date{text-align:right;margin:18px 0 0;font-size:15px;font-weight:700}.requistion-new-title{text-align:center;color:#111;font-size:30px;font-weight:800;letter-spacing:1px;margin:24px 0}.requistion-new-table{min-width:1040px}.requistion-new-table th,.requistion-new-table td{padding:5px}.requistion-new-table .requistion-mark-cell{text-align:center;padding:4px}.requistion-mark{display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;font-size:20px;font-weight:800}.requistion-new-table .requistion-mark input{width:16px;height:16px;margin:0;padding:0;cursor:pointer}.requistion-mark-accept{color:#15803d!important}.requistion-mark-reject{color:#c62828!important}.requistion-mark-accept input{accent-color:#15803d}.requistion-mark-reject input{accent-color:#c62828}.requistion-signatures{display:flex;flex-wrap:wrap;justify-content:space-between;gap:28px 20px;margin-top:76px;color:#111}.requistion-signatures span{display:inline-block;white-space:nowrap;border-top:1px solid #111;padding-top:7px;font-size:14px;text-align:center}@media(max-width:600px){.requistion-new-company{gap:12px;align-items:flex-start}.requistion-new-company img{width:55px;height:55px}.requistion-new-company p{font-size:12px}.requistion-signatures{margin-top:55px;justify-content:center}.requistion-signatures span{font-size:12px}}

.requistion-new-company{justify-content:center}.requistion-new-company>div{text-align:center}

.requistion-new-company>div{min-width:0}.requistion-new-company p{text-align:justify;text-align-last:justify;font-size:clamp(15px,2.1vw,24px)}@media(max-width:600px){.requistion-new-company p{font-size:13px;text-align-last:center}}

.requistion-requester-picker{display:grid;gap:9px;max-width:540px;padding:24px;margin-bottom:22px;background:#fff;border:1px solid #b9c9de;border-radius:10px;color:#17334f}.requistion-requester-picker label{font-weight:700}.requistion-requester-picker input,.requistion-requester-picker select{width:100%;box-sizing:border-box;padding:10px;border:1px solid #adbed2;border-radius:6px;background:#f7faff;color:#17334f;font:inherit;min-height:42px}.requistion-requester-picker label:not(:first-child){margin-top:9px}.requistion-request-details{display:flex;justify-content:space-between;gap:10px 28px;flex-wrap:wrap;color:#111;font-size:14px;margin-bottom:18px}

.requistion-combobox{position:relative;min-width:0}.requistion-requester-picker .requistion-combobox input{padding-right:48px}.requistion-dropdown-toggle{position:absolute;right:5px;top:5px;bottom:5px;width:34px;padding:0;border:0;border-radius:5px;background:#e3ebf7;color:#164e87;font-size:22px;line-height:1;display:grid;place-items:center;cursor:pointer}.requistion-dropdown-toggle:hover{background:#cadbf2}.requistion-choice-list{position:absolute;z-index:30;top:calc(100% + 3px);left:0;right:0;max-height:240px;overflow-y:auto;background:#fff;border:1px solid #adbed2;border-radius:6px;box-shadow:0 6px 18px #17334f26;padding:4px}.requistion-choice-list[hidden]{display:none}.requistion-choice-list button{display:block;width:100%;text-align:left;padding:8px 10px;border:0;border-radius:4px;background:#fff;color:#17334f;white-space:normal;font:inherit;cursor:pointer}.requistion-choice-list button:hover,.requistion-choice-list button.active{background:#e4edfc}

.requistion-new-table{min-width:0}.requistion-new-table thead th{white-space:normal;overflow-wrap:normal;font-size:clamp(10px,1vw,13px)}.requistion-entry-toolbar{display:flex;justify-content:flex-end;margin:0 0 10px}.requistion-entry-toolbar button{padding:7px 12px;background:#e0edff;color:#164e87;border-color:#86a9d4}.requistion-entry-selection{margin-bottom:14px;border:1px solid #b9c9de;border-radius:8px;background:#fff;padding:10px 14px;color:#17334f}.requistion-entry-selection summary{cursor:pointer;font-weight:700}.requistion-entry-selection .requistion-requester-picker{border:0;padding:14px 0 0;margin:0}.requistion-entry-selection:not([open]){padding-block:8px}body:has(#main .requistion-workspace[data-entry-expanded="true"])>.header{display:none}body:has(#main .requistion-workspace[data-entry-expanded="true"]) #workspace{display:block;min-height:100vh}body:has(#main .requistion-workspace[data-entry-expanded="true"]) #workspace>aside{display:none}body:has(#main .requistion-workspace[data-entry-expanded="true"]) #main{width:100%;max-width:none;padding:14px 18px}body:has(#main .requistion-workspace[data-entry-expanded="true"]) .requistion-tabs{margin-bottom:10px}body:has(#main .requistion-workspace[data-entry-expanded="true"]) .requistion-new-paper{padding:18px 22px}body:has(#main .requistion-workspace[data-entry-expanded="true"]) .requistion-new-company img{width:64px;height:64px}body:has(#main .requistion-workspace[data-entry-expanded="true"]) .requistion-new-title{margin:14px 0;font-size:28px}body:has(#main .requistion-workspace[data-entry-expanded="true"]) .requistion-new-date{margin-top:8px}body:has(#main .requistion-workspace[data-entry-expanded="true"]) .requistion-signatures{margin-top:48px}@media(max-width:700px){.requistion-new-table{min-width:720px}}

.requistion-electrical-input{position:relative;min-width:0}.requistion-new-table .requistion-electrical-input input{padding-right:30px}.requistion-electrical-toggle{position:absolute;right:2px;top:3px;bottom:3px;width:25px;padding:0;border:0;border-radius:4px;background:#e3ebf7;color:#164e87;font-size:18px;line-height:1;cursor:pointer}.requistion-electrical-menu{position:fixed;z-index:2000;overflow-y:auto;background:#fff;border:1px solid #adbed2;border-radius:6px;padding:4px;box-shadow:0 6px 20px #17334f33}.requistion-electrical-menu[hidden]{display:none}.requistion-electrical-menu button{display:block;width:100%;text-align:left;white-space:normal;border:0;border-radius:4px;background:#fff;color:#17334f;font:14px/1.3 Arial,sans-serif;padding:9px 10px}.requistion-electrical-menu button:hover,.requistion-electrical-menu button.active{background:#e4edfc}

/* Keep the Production Plan address aligned with both edges of its company name. */
.production-company>div{display:grid;grid-template-columns:max-content;max-width:100%}
.production-company h3{white-space:nowrap}
.production-company p{width:0;min-width:100%;white-space:nowrap;text-align:justify;text-align-last:justify;font-size:14px;margin-top:6px}
@media screen and (max-width:700px){.production-company p{font-size:11px}}

#adminSign{background:linear-gradient(120deg,#f1defa,#e6e5ff);color:#633094;border-color:#ba8ed0}.admin-sign-panel{max-width:940px;background:linear-gradient(135deg,#fbf6ff,#eff8fc);border-color:#cfb7e0}.admin-sign-panel h3{color:#663292}.admin-sign-panel form{max-width:620px}.admin-sign-panel fieldset{border:0;padding:0;margin:0;min-width:0}.admin-sign-panel label{display:block;font-weight:700;margin:16px 0 7px}.admin-sign-name{position:relative}.admin-sign-name>input{padding-right:40px}.admin-sign-name>button{position:absolute;right:3px;top:3px;border:0;padding:8px;background:#eee3fa;color:#61358a}#adminSignNames{position:absolute;top:100%;left:0;right:0;max-height:260px;overflow:auto;background:#fff;border:1px solid #b79acb;border-radius:7px;z-index:10;box-shadow:0 8px 20px #30204025}#adminSignNames button{display:block;width:100%;text-align:left;border:0;border-radius:0;font-weight:400}#adminSignNames [aria-selected=true]{background:#ede5fb}.admin-sign-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.admin-sign-photo-button{background:#def3ff;border-color:#83bbd7;color:#145c7e}.admin-sign-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:16px}.admin-sign-photos figure{position:relative;background:#fff;border:1px solid #ccd6df;border-radius:8px;padding:12px;margin:0}.admin-sign-photos img{width:100%;height:110px;object-fit:contain}.admin-sign-photos figcaption{font-size:12px;overflow-wrap:anywhere;margin-top:5px}.admin-sign-photos figure>button{position:absolute;right:3px;top:3px;padding:2px 7px;color:#a32d43}.admin-sign-saved{margin-top:25px;display:flex;gap:10px;flex-wrap:wrap}.admin-sign-saved h4{width:100%;margin:0}.admin-sign-saved>button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;background:#fff}.admin-sign-saved small{font-weight:400}

.admin-sign-table-wrap{width:100%;margin-top:4px}.admin-sign-table{width:100%;min-width:580px;border-collapse:collapse}.admin-sign-table th,.admin-sign-table td{border:1px solid #d4c9df;padding:10px 12px;vertical-align:middle}.admin-sign-table thead th{background:#eee3f8;color:#513576;text-align:left}.admin-sign-table th:first-child,.admin-sign-table td:first-child{width:55px;text-align:center}.admin-sign-table td{background:#fff}.admin-sign-table .admin-sign-selected td{background:#f8f2fc}.admin-sign-table .admin-sign-open{border:0;background:transparent;padding:3px 0;text-align:left;color:#5b2c8c;text-decoration:underline;font-weight:700}.admin-sign-table-photos{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.admin-sign-table-photos img{width:150px;height:65px;object-fit:contain;background:#fff;border:1px solid #e3dce8;border-radius:4px}.admin-sign-saved .admin-sign-table-wrap{flex-basis:100%}

/* Print only the requisition document from the main workspace. */
@page farnoorRequistion{size:A4 portrait;margin:8mm}
@media print{
 body[data-active-department="requistion"]{background:#fff!important;color:#000!important;min-height:0!important;height:auto!important}
 body[data-active-department="requistion"]>.header,
 body[data-active-department="requistion"] #workspace>aside,
 body[data-active-department="requistion"] #main>:not(.requistion-workspace),
 body[data-active-department="requistion"] .requistion-workspace>:not(.requistion-list-paper),
 body[data-active-department="requistion"] .requistion-list-paper button,
 body[data-active-department="requistion"] .requistion-electrical-menu{display:none!important}
 body[data-active-department="requistion"] #workspace,
 body[data-active-department="requistion"] #main,
 body[data-active-department="requistion"] .requistion-workspace{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;box-shadow:none!important;overflow:visible!important}
 body[data-active-department="requistion"] .requistion-list-paper{page:farnoorRequistion;width:100%!important;max-width:none!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;box-sizing:border-box}
 body[data-active-department="requistion"] .requistion-list-scroll{overflow:visible!important}
 body[data-active-department="requistion"] .requistion-list-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
 body[data-active-department="requistion"] .requistion-list-table input{min-width:0!important;width:100%!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#000!important;padding:2px!important;font-size:10px!important}
 body[data-active-department="requistion"] .requistion-electrical-input input{padding-right:0!important}
 body[data-active-department="requistion"] .requistion-list-table thead{display:table-header-group}
 body[data-active-department="requistion"] .requistion-list-table tr,
 body[data-active-department="requistion"] .requistion-signatures{break-inside:avoid}
}

.admin-sign-table td:last-child{position:relative;padding-right:85px}.admin-sign-delete{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:#be293c;color:#fff;border-color:#be293c;padding:5px 9px;font-size:12px}.requistion-save-actions{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin:18px 0}.requistion-approval-files{background:#fff;border:1px solid #c3d3de;border-radius:8px;padding:14px;margin-bottom:18px}.requistion-approval-file-heading{display:flex;align-items:center;justify-content:space-between}.requistion-approval-file-heading h3{margin:0}.requistion-saved-file-list{display:flex;gap:8px;flex-wrap:wrap}.requistion-saved-file-list button{text-align:left;font-size:12px;background:#e9efff;color:#334c7f}.requistion-saved-file-list button[aria-pressed=true]{outline:2px solid #4a638e}.requistion-approval-signatures{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:45px}.requistion-sign-slot{min-width:0;text-align:center}.requistion-sign-input{display:flex;gap:3px;flex-wrap:wrap;margin-bottom:8px}.requistion-sign-input input{width:100%;min-width:0;font-size:12px;padding:7px}.requistion-sign-input button{font-size:11px;padding:4px 8px}.requistion-sign-preview{min-height:65px;display:flex;align-items:center;justify-content:flex-end;flex-direction:column}.requistion-sign-preview img{max-width:100%;height:55px;object-fit:contain}.requistion-sign-preview small{font-size:10px;display:block}.requistion-sign-preview select{max-width:100%;font-size:11px}.requistion-sign-label{display:inline-block;border-top:1px solid #222;padding-top:6px;font-size:12px}.requistion-sign-error{color:#af293c}@media(max-width:700px){.requistion-approval-signatures{gap:8px}.requistion-sign-input input{font-size:10px}.requistion-sign-label{font-size:10px}}@media print{.requistion-save-actions,.requistion-approval-files,.requistion-sign-input{display:none!important}.requistion-approval-signatures{break-inside:avoid}.requistion-sign-preview img{height:14mm;max-width:100%}}

.requistion-output-files{background:#fff;border:1px solid #c3d3de;border-radius:8px;padding:14px;margin-bottom:18px}.requistion-output-files table{width:100%;border-collapse:collapse}.requistion-output-files td,.requistion-output-files th{padding:9px;border-bottom:1px solid #d7e1df;font-size:13px}.requistion-output-files td button{padding:5px 8px;font-size:12px}.requistion-output-actions{display:flex;justify-content:flex-end;margin-bottom:12px}@media print{.requistion-output-files,.requistion-output-actions{display:none!important}body[data-active-department="requistion"] .requistion-new-company{break-inside:avoid}body[data-active-department="requistion"] .requistion-list-table th,body[data-active-department="requistion"] .requistion-list-table td{padding:5px 3px!important}body[data-active-department="requistion"] .requistion-signatures{margin-top:18mm!important}body[data-active-department="requistion"] .requistion-new-company h1{font-size:22pt!important}body[data-active-department="requistion"] .requistion-new-company p{font-size:10pt!important}body[data-active-department="requistion"] .requistion-new-company img{width:16mm!important;height:16mm!important}}

.requistion-sign-input{justify-content:center;margin:7px auto 8px}.requistion-sign-input input{width:92px!important;max-width:100%;min-height:26px;padding:4px 5px!important;font-size:11px!important;text-align:center;margin:0 auto}.requistion-sign-slot{text-align:center}
