:root{font-size:16px;line-height:1.55;font-family:'DM Sans',Arial,sans-serif;color:#182a3b;background:#f4f7f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}[hidden]{display:none!important}.login-shell{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 15% 20%,#e0eef1,transparent 40%),#f4f7f9;padding:24px}.login-brand,.side-brand{display:flex;align-items:center;gap:12px;font-family:Manrope,sans-serif;font-weight:800;letter-spacing:.02em}.login-brand{font-size:21px;margin-bottom:36px}.login-brand b{color:#31969b}.logo-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;color:white;background:#133d4c;font-size:23px;font-weight:800}.login-card{width:min(100%,430px);background:white;border:1px solid #e3eaed;border-radius:18px;padding:34px;box-shadow:0 25px 60px #173b4b12}.login-card h1,.heading h1{font:800 32px Manrope,sans-serif;margin:5px 0 8px}.login-card p,.heading p{color:#71818e;margin:0 0 26px}.eyebrow{font-size:14px!important;font-weight:800;letter-spacing:.16em;color:#31969b!important;margin:0!important}.login-card label,dialog label{display:block;font-weight:700;font-size:15px;margin:18px 0;color:#354b59}.login-card input,dialog input:not([type=checkbox]),dialog select,.table-tools input{display:block;width:100%;padding:12px 14px;border:1px solid #d7e2e7;border-radius:8px;margin-top:8px;background:#fff;outline:none}.login-card input:focus,dialog input:focus,dialog select:focus,.table-tools input:focus{border-color:#31969b;box-shadow:0 0 0 3px #31969b20}.primary{background:#237f87;color:#fff;border:0;border-radius:8px;font-weight:700;padding:13px 18px}.primary:hover{background:#176c74}.login-card .primary{width:100%;display:flex;justify-content:space-between;margin-top:24px}.login-foot{margin-top:30px;color:#8e9ba4}.error{color:#bd4343;margin-top:12px;min-height:18px;font-size:15px}.app-shell{display:flex;min-height:100vh}.sidebar{width:260px;flex:none;background:#123443;color:#cad9de;display:flex;flex-direction:column;padding:29px 16px;position:sticky;top:0;height:100vh}.side-brand{color:#fff;padding:0 10px 30px;font-size:18px}.side-brand .logo-mark{background:#30979c}.side-brand small{display:block;color:#8ca8b1;font-size:14px;letter-spacing:.21em;margin-top:2px}.side-label{font-size:14px;font-weight:800;letter-spacing:.14em;color:#6d929d;margin:0 12px 14px}.nav-item{display:flex;width:100%;align-items:center;gap:12px;text-align:left;border:0;background:transparent;color:#b3cbd1;padding:9px 12px;border-radius:7px;font-weight:600;margin:2px 0}.nav-item span{font-size:17px;width:19px}.nav-item:hover,.nav-item.active{color:#fff;background:#23606c}.side-divider{height:1px;background:#2d5460;margin:27px 9px}.future-nav{display:flex;justify-content:space-between;padding:10px 13px;color:#7497a0;font-size:15px}.future-nav span{font-size:14px;color:#5e8690}.side-bottom{margin-top:auto;border-top:1px solid #2d5460;padding:20px 5px 0;display:flex;align-items:center;gap:10px;font-size:14px}.side-bottom small{display:block;color:#8faab2;margin-top:3px}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#2b8b90;color:white;font-weight:800}.side-bottom button{margin-left:auto;background:none;border:none;color:#b3cbd1;font-size:20px}.content{flex:1;min-width:0}.topbar{height:62px;border-bottom:1px solid #e3eaed;background:#fff;display:flex;align-items:center;gap:8px;padding:0 38px;color:#526b78;font-size:14px}.topbar b{color:#283d4d}.top-status{margin-left:auto;color:#5b7180}.top-status i{display:inline-block;width:7px;height:7px;background:#46b890;border-radius:50%;margin-right:5px}.topbar #menu-toggle{display:none;background:none;border:none;font-size:21px;color:#123443}.page{padding:28px 32px;max-width:1700px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:15px}.heading h1{margin-top:7px}.heading p{margin-bottom:0}.date{background:#fff;border:1px solid #e2eaed;border-radius:8px;padding:10px 14px;color:#65808c;font-size:14px}.hero{background:linear-gradient(110deg,#164654,#1d6970);color:white;border-radius:15px;padding:29px 36px;display:flex;justify-content:space-between;overflow:hidden;min-height:180px}.hero p{font-size:14px;font-weight:800;letter-spacing:.18em;color:#a3d1d0}.hero h2{font:800 25px Manrope,sans-serif;margin:12px 0 9px;max-width:540px}.hero span{color:#c7dedf;font-size:15px}.hero-symbol{font:800 135px Manrope,sans-serif;line-height:.9;color:#ffffff12;transform:rotate(-12deg)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0}.stat,.panel,.role-card{background:white;border:1px solid #e2e9ec;border-radius:12px;box-shadow:0 4px 18px #12344305}.stat{padding:23px}.stat span{color:#728794;font-size:14px;font-weight:800;letter-spacing:.1em}.stat strong{display:block;font:800 32px Manrope,sans-serif;margin:13px 0 5px}.stat small{color:#526b78}.stat.roadmap strong{font-size:23px;color:#267d83}.panel{padding:22px}.panel-head{display:flex;justify-content:space-between}.panel h2{font:800 18px Manrope,sans-serif;margin:0 0 4px}.panel p{margin:0;color:#526b78;font-size:14px}.activity{margin-top:18px}.activity-row{border-top:1px solid #edf1f3;padding:12px 0;display:flex;justify-content:space-between;font-size:15px}.activity-row small{color:#526b78}.empty{color:#526b78;font-size:15px;padding:26px 0}.table-tools{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;color:#526b78;font-size:14px}.table-tools input{max-width:320px;margin:0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:14px;letter-spacing:.04em;color:#526b78;background:#f7f9fa}th,td{padding:14px;border-bottom:1px solid #edf1f3}td{font-size:15px}td b{display:block}td small{display:block;color:#526b78;margin-top:3px}.badge{display:inline-block;background:#e8f5ef;color:#318765;border-radius:20px;padding:5px 9px;font-weight:700;font-size:14px}.badge.off{background:#f2f3f4;color:#82929b}.chip{display:inline-block;background:#edf4f5;color:#327a80;border-radius:6px;padding:4px 7px;margin:2px;font-size:14px}.plain{border:0;background:none;color:#25858b;font-weight:700}.small{font-size:14px;padding:10px 14px}.role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.role-card{padding:22px}.role-card h2{margin:0 0 4px;font:800 18px Manrope,sans-serif}.role-card p{color:#526b78;font-size:14px;margin:0 0 15px}.role-card label{display:block;padding:6px 0;font-size:14px;color:#45606e}.role-card input{accent-color:#27868b;margin-right:8px}.role-card .primary{margin-top:15px}.notice{position:fixed;right:25px;top:82px;z-index:10;background:#e4f5ed;color:#207956;border:1px solid #b9e1cc;border-radius:8px;padding:12px 16px;box-shadow:0 8px 25px #12344315}.notice.error-notice{background:#fff0ef;color:#a43a36;border-color:#f0c8c6}dialog{border:0;border-radius:15px;padding:0;width:min(600px,calc(100% - 24px));box-shadow:0 25px 80px #0c273755}dialog::backdrop{background:#0c273780}dialog form{padding:25px}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0;font:800 21px Manrope,sans-serif}.dialog-head button{font-size:25px;color:#526b78}dialog select{height:auto}dialog label small{display:block;color:#526b78;font-weight:400;margin-top:5px}.check{display:flex;align-items:center;gap:8px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.secondary{background:#eef3f5;border:0;border-radius:8px;padding:10px 14px;color:#49616d;font-weight:700}@media(max-width:900px){.sidebar{width:220px}.page{padding:28px 22px}.topbar{padding:0 22px}.hero-symbol{display:none}}@media(max-width:700px){.sidebar{position:fixed;z-index:9;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:none}.topbar #menu-toggle{display:block}.cards,.role-grid{grid-template-columns:1fr}.page{padding:22px 15px}.heading{align-items:flex-start}.heading h1{font-size:27px}.date{display:none}.hero{padding:24px}.hero h2{font-size:21px}}

.settings-panel {max-width:960px;padding:28px}
.settings-panel form {max-width:640px}
.settings-panel p {line-height:1.6}
.settings-panel label {display:block;margin:22px 0 16px;font-size:15px;font-weight:700;color:#354b59}
.settings-panel input {display:block;width:100%;margin-top:8px;padding:12px 14px;border:1px solid #d7e2e7;border-radius:8px;outline:none;background:#fff;min-width:0}
.settings-panel input:focus {border-color:#31969b;box-shadow:0 0 0 3px #31969b20}
.settings-panel .flow-note {margin:16px 0}
.side-brand .logo-mark{flex-shrink:0}.side-brand small{letter-spacing:.04em}
@media(max-width:500px){.settings-panel{padding:22px}.settings-panel .dialog-actions{flex-wrap:wrap;justify-content:flex-start}}

/* Shared readable type and spacing for all modules and forms. */
small{font-size:14px;line-height:1.55}button,input,select,textarea{line-height:1.45}td{line-height:1.55}td small{color:#526b78}th{font-weight:700}input[type=checkbox]{width:19px;height:19px;accent-color:#237f87}.plain{padding:8px 6px;line-height:1.45}.danger{color:#a43a36}.heading h1{line-height:1.2}.heading p{max-width:72ch}.nav-item{font-size:15px;line-height:1.4}.side-brand{padding-bottom:28px}.sidebar .side-label{letter-spacing:.08em}.sidebar .side-bottom{padding-top:16px}.notice{max-width:min(640px,calc(100vw - 30px));font-size:15px}.dialog-head{gap:16px}.dialog-head h2{line-height:1.3}.dialog-actions{flex-wrap:wrap}.table-tools input{max-width:440px}
/* Project workspace: readable at Full HD, compact totals and one selected sheet. */
#page-contracts .project-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-bottom:24px}
#page-contracts .project-stat{background:#fff;border:1px solid #dce4ec;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:7px;border-top:3px solid #b8c7d7}
#page-contracts .project-stat small{font-size:14px;font-weight:600;color:#50647a}
#page-contracts .project-stat strong{font-size:29px;line-height:1.2;color:#192d46}
#page-contracts .project-stat span{font-size:13px;color:#63758a}
#page-contracts .project-stat.available{border-top-color:#199770}
#page-contracts .project-stat.available strong{color:#15805d}
#page-contracts .project-stat.shortage{border-top-color:#d87575}
#page-contracts .project-stat.shortage strong{color:#b93838}
.project-filters{display:flex;gap:12px;align-items:center;padding:18px;flex-wrap:wrap}
.project-filters input{flex:1;min-width:240px}.project-filters select{width:auto;min-width:180px}
.project-filters input,.project-filters select{font:inherit;font-size:14px;padding:11px 13px;border:1px solid #d2dfe5;border-radius:8px;background:#fff;color:#334d60}.project-filters input:focus,.project-filters select:focus{outline:2px solid #139b8b44;border-color:#139b8b}
#page-contracts table{font-size:14px}#page-contracts th{font-size:12px;letter-spacing:.02em;white-space:normal}
#page-contracts td{padding:15px 12px;vertical-align:middle}#page-contracts td small{font-size:13px;line-height:1.45;margin-top:5px}
.projects-table{min-width:1120px}.projects-table tr.selected{background:#eaf8f5;box-shadow:inset 3px 0 #139b8b}
.project-number,.project-needs-table td:not(:first-child){font-variant-numeric:tabular-nums;font-weight:650}
.project-open{border:0;background:none;padding:0;color:#203952;font:inherit;font-weight:700;text-align:left;cursor:pointer}
.project-open:hover{text-decoration:underline}.project-positive{color:#13815e!important}.project-negative{color:#ba3f3f!important}
.project-coverage progress{display:block;width:100%;height:6px;border:0;border-radius:8px;margin-top:8px;overflow:hidden;background:#e2e9ee;accent-color:#139b8b}.project-coverage progress::-webkit-progress-bar{background:#e2e9ee;border-radius:8px}.project-coverage progress::-webkit-progress-value{background:#139b8b;border-radius:8px}
.project-quick input{font:inherit;font-size:14px;width:100%;padding:11px 12px;border:1px solid #cbdadf;border-radius:7px;background:white;margin-top:7px}.project-quick input:focus{outline:2px solid #139b8b55;border-color:#139b8b}.project-quick label{display:block}
.project-coverage{font-size:13px;min-width:105px}.project-coverage>div{height:6px;background:#e2e9ee;border-radius:8px;margin-top:8px;overflow:hidden}.project-coverage i{display:block;height:100%;background:#139b8b;border-radius:8px}
.project-helper{font-size:14px;line-height:1.55;color:#65778a;margin:14px 18px}
#project-detail{margin-top:24px;scroll-margin-top:20px;overflow:hidden}
.project-detail-heading{padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.project-detail-heading h2{margin:5px 0 10px;font-size:24px}.project-detail-heading p{margin:5px 0;color:#5b7086;font-size:14px}
.project-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.project-actions button{font-size:14px;padding:12px 16px}
.project-tabs{display:flex;background:#f6f8fb;border-block:1px solid #e0e7ef;overflow-x:auto;padding:0 24px;gap:24px}
.project-tabs button{font:inherit;font-size:14px;background:none;border:0;border-bottom:3px solid transparent;padding:18px 0;white-space:nowrap;color:#64758b;cursor:pointer}.project-tabs button.active{color:#087f75;border-color:#139b8b;font-weight:700}
.project-detail-content{padding:22px}.project-workspace{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:22px}.project-workspace>div{min-width:0}
.project-needs-table{min-width:750px}.project-needs-table th:first-child{width:28%}.project-needs-table tfoot{background:#f4f7fa;font-weight:700;border-top:2px solid #dce4ed}
.project-row-actions{white-space:nowrap}.project-row-actions button{display:block;font-size:13px;padding:4px 0}
.project-warning{padding:14px 18px;background:#fff4f2;border:1px solid #f0d0cb;border-radius:8px;color:#a83c32;font-size:14px;line-height:1.55;margin:16px 0}.project-confirmation{font-size:14px;color:#198263;margin:16px 0}
#project-detail>.project-warning{margin:16px 24px}
.project-aside{background:#f6f8fb;border:1px solid #e2e8ef;border-radius:10px;padding:18px;align-self:start}.project-aside h3{font-size:17px;margin:0 0 18px}.project-aside p{display:flex;justify-content:space-between;gap:10px;font-size:14px;padding:9px 0;margin:0;border-bottom:1px solid #e2e8ef}.project-aside strong{font-size:16px}.project-aside h4{font-size:14px;margin-bottom:8px}.project-aside small{display:block;font-size:13px;margin-top:12px;line-height:1.5;color:#5f7287}
.project-quick{background:#f4faf9;border:1px solid #cde5df;border-radius:10px;padding:18px;margin-top:24px}.project-quick h3{font-size:17px;margin:0 0 16px}.project-quick-fields{display:grid;grid-template-columns:minmax(200px,2fr) minmax(110px,.7fr) minmax(150px,1fr) auto;gap:12px;align-items:start}.project-quick-fields label{font-size:14px}.project-quick-fields button{margin-top:26px;white-space:nowrap}.project-quick .search-picker input{width:100%;min-width:0}.project-quick .picker-selected{font-size:12px}
.project-document-list article,.project-activity article{border:1px solid #e0e7ef;border-radius:10px;padding:18px;margin-bottom:16px;background:white}.project-document-list header{display:flex;justify-content:space-between;align-items:center;gap:16px}.project-document-list h3{font-size:17px;margin:0 0 8px}.project-document-list small,.project-activity small{display:block;color:#607388;font-size:14px}.project-activity{max-height:620px;overflow:auto}.project-activity article p{font-size:14px;line-height:1.6;margin:10px 0 0}.project-info dl{display:grid;grid-template-columns:180px 1fr;gap:16px;font-size:15px}.project-info dt{color:#64778a}.project-info dd{margin:0;white-space:pre-wrap}.project-info .project-actions{margin-top:30px}
.project-record-lines{max-height:380px;overflow:auto;border:1px solid #dce5ed;border-radius:8px;padding:0 16px;margin:20px 0}.project-record-row{display:grid;grid-template-columns:1fr 130px;gap:5px 20px;border-bottom:1px solid #e5ebf0;padding:15px 0;font-size:15px}.project-record-row small{grid-column:1;color:#65778a;font-size:13px}.project-record-row input{grid-column:2;grid-row:1 / span 2}.project-dialog .check{font-size:14px;line-height:1.5}
@media(max-width:1450px){.project-workspace{grid-template-columns:minmax(0,1fr)}.project-aside{display:none}.project-quick-fields{grid-template-columns:2fr 1fr}.project-quick-fields button{margin-top:26px}.project-stat{padding:15px!important}}
@media(max-width:850px){#page-contracts .project-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.project-quick-fields{grid-template-columns:1fr}.project-quick-fields button{margin:0}.project-detail-content{padding:12px}.project-tabs{gap:18px;padding:0 14px}}
.production-product-row td{vertical-align:middle!important}.production-product-row .receipt-shared{vertical-align:top!important;padding-top:17px}.production-product-row.receipt-group-start td{border-top:2px solid #dfe8ed}.production-product-row td:first-child{min-width:240px}.receipt-quantities{display:flex;flex-direction:column;gap:7px;min-width:165px}.receipt-quantities span{display:flex;gap:8px;align-items:baseline;font-size:14px;color:#667887}.receipt-quantities b{display:inline-block!important;min-width:38px;text-align:right;font-variant-numeric:tabular-nums;color:#233c4e}.receipt-quantities .receipt-good,.receipt-quantities .receipt-good b{color:#218565}.receipt-quantities .receipt-rejected,.receipt-quantities .receipt-rejected b{color:#b55841}.workflow-table .receipt-shared small{font-size:13px;line-height:1.6}.workflow-table .receipt-shared .plain{font-size:13px;text-align:left}.heading{margin-bottom:24px}.stat{padding:18px 20px}.stat strong{margin:9px 0 3px}.panel{padding:18px}.topbar{padding-inline:32px}.side-divider{margin:20px 9px}.cards{gap:16px;margin:18px 0}.primary,.secondary{padding:10px 15px}dialog form{padding:22px}dialog input:not([type=checkbox]),dialog select{padding:10px 12px}.business-tools,.catalog-filters{gap:12px}.workflow-table th{font-size:12px}.workflow-table td{font-size:14px}
.heading{margin-bottom:20px;min-height:44px}.heading h1{margin:0;font-size:29px}.receipt-cancelled-filter{font-size:13px;color:#536b7a;white-space:nowrap;cursor:pointer}.catalog-filters .receipt-cancelled-filter input{min-width:0;flex:none;width:15px;height:15px;accent-color:#237f87}.project-stat{justify-content:flex-start}#page-production .workflow-table{margin-top:18px}

