/* GEMP V5: local, responsive interface. Colour is always paired with a label. */
:root{--ink:#17324e;--muted:#586f84;--line:#dfe8f0;--bg:#f3f6fb;--blue:#155fbe;--teal:#078378;--shadow:0 8px 26px rgba(21,51,86,.045);--stage-color:#536b80;--stage-tint:#f1f5f8;--stage-line:#d5dfe7}
body{background:var(--bg);color:var(--ink);font-size:14px;line-height:1.65;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{color:inherit}h1{font-weight:800}button,input,select,textarea{touch-action:manipulation}.gemp-icon{display:inline-block;vertical-align:middle;flex:none;width:20px;height:20px;overflow:visible}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #1767c9;outline-offset:3px}.skip-link{position:fixed;top:8px;left:8px;z-index:3000;transform:translateY(-170%);padding:12px 18px;color:#fff;background:#143e63;border-radius:8px}.skip-link:focus{transform:none;color:#fff}
[hidden]{display:none!important}main:focus{outline:none}.fine,small{color:#586f84}.muted{color:#586f84}
.topbar.navbar{height:78px;border-bottom:1px solid #dde7ef;box-shadow:0 3px 18px rgba(23,55,85,.035)}
.brand.navbar-brand{font-size:16px;gap:12px}.brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#1a5aa8,#07897e);box-shadow:0 5px 13px rgba(15,100,129,.18)}.brand small{font-size:10.5px;color:#647b8e}.brand strong{letter-spacing:-.3px}.brand-mark.brand-custom{background:#fff;box-shadow:0 4px 12px rgba(15,100,129,.10)}
.scope-chip{gap:7px;color:#17634f;background:#e9f7f0;border:1px solid #cee9db;padding:6px 11px;font-size:11px}.scope-chip .gemp-icon{width:16px;height:16px}.user-avatar{width:33px;height:33px;border-radius:50%;background:#edf1fd;color:#5a55a4;display:inline-flex;align-items:center;justify-content:center}.user-avatar .gemp-icon{width:18px;height:18px}.name-chip{font-size:12px}.hamburger{min-width:44px;min-height:44px;background:#eef4fb;border-color:#d5e4f2;color:#225c92}
.sidebar{top:78px;width:266px;padding:19px 13px 25px;background:#fff;border-right-color:#e0e8f0}.sidebar-intro{background:linear-gradient(120deg,#eff5ff,#f2faf7);border:1px solid #dde9f1;border-radius:15px;padding:16px;margin:0 5px 25px}.sidebar-intro .tiny-label{color:#2c6e9a;letter-spacing:1.35px;font-size:9px}.sidebar-intro strong{font-size:13px;font-weight:750;margin:4px 0}.sidebar-intro small{font-size:11px;color:#58738a}.nav-group{margin-bottom:22px}.nav-group>span{font-size:9px;font-weight:800;color:#60768a;padding-left:15px;letter-spacing:1.3px;margin-bottom:10px}.nav-group .nav-link,.logout-form button.nav-link{gap:11px;min-height:47px;font-size:12.5px;padding:8px 11px;border-radius:11px;color:#405b73;font-weight:650}.nav-group .nav-link>span:last-child{line-height:1.4}.nav-group .nav-link.active{color:#164f87;background:#eaf2fd;box-shadow:inset 3px 0 0 #2578d5}.nav-group .nav-link:hover,.logout-form button.nav-link:hover{color:#194e80;background:#f0f5fc}.nav-symbol{width:30px;height:30px;border-radius:9px;display:inline-flex;flex:none;align-items:center;justify-content:center}.nav-symbol .gemp-icon{width:17px;height:17px}.nav-link.active .nav-symbol{background:#d7e7ff;color:#185ba3}
.tone-blue{color:#1e62a6!important;background:#e9f2ff!important}.tone-violet{color:#6950a6!important;background:#f0ebfc!important}.tone-orange{color:#aa4c0c!important;background:#fff0e2!important}.tone-green{color:#147247!important;background:#e7f7ed!important}.tone-red{color:#b7384c!important;background:#fcecf0!important}
.sidebar-footer{margin:7px 13px 0;padding-top:16px;border-top:1px solid #e3ebf0;display:flex;align-items:center;gap:10px;color:#4c6e83;font-size:10px;line-height:1.5}.sidebar-footer .gemp-icon{color:#248b77;width:18px;height:18px}.sidebar-footer small{font-size:9px;color:#688095}
.main.container-fluid{margin-left:266px;width:calc(100% - 266px);padding:111px clamp(20px,2.8vw,46px) 65px}.page-top{gap:20px;margin-bottom:26px}.page-top h1{font-size:clamp(23px,2.2vw,31px);letter-spacing:-.8px;line-height:1.25}.eyebrow{font-size:10px;font-weight:800;color:#287495;letter-spacing:1.5px}.date-pill{display:inline-flex;align-items:center;gap:8px;color:#4e6b84;background:#fff;border-color:#dce7f0;font-size:11px;padding:8px 12px}.date-pill .gemp-icon{width:15px;height:15px;color:#387aab}.page-scope{font-size:11px;display:flex;align-items:center;gap:5px;flex-wrap:wrap;color:#536f82}.page-scope .gemp-icon{width:14px;height:14px;color:#24816f}
.panel,.stat{border-color:#dfe8f1;border-radius:17px;box-shadow:0 7px 22px rgba(33,62,91,.035)}.panel{padding:25px}.panel h3{font-size:17px}.hero,.status-hero{border-radius:20px;background:linear-gradient(115deg,#183d65,#146d84 70%,#15896f);box-shadow:0 12px 32px rgba(21,74,114,.11)}.hero h2,.status-hero h2{color:#fff;line-height:1.25}.hero .eyebrow,.status-hero .eyebrow{color:#bbebe7}.hero p:not(.eyebrow),.status-hero p{color:#e1f0f2}.hero-stat span,.status-hero-figure span{color:#e1eef1}.hero-actions{flex-wrap:wrap}.hero-actions .gemp-icon{width:17px;height:17px}.stat{position:relative;overflow:hidden}.stat>strong{color:#173d62;font-size:31px;font-weight:800}.stat>span{color:#4b647d;font-size:12px}.stat>small{font-size:10.5px;color:#60778b}.dashboard-kpis .stat:nth-child(1){border-top-color:#357bcb}.dashboard-kpis .stat:nth-child(2){border-top-color:#d89a28}.dashboard-kpis .stat:nth-child(3){border-top-color:#627fd2}.dashboard-kpis .stat:nth-child(4){border-top-color:#19835c}.dashboard-kpis .stat:nth-child(5){border-top-color:#c95563}.money-grid>div{border:1px solid #e0ebf3;background:#f4f8fd}.money-grid strong{font-size:23px;color:#1e4a6a}.section-title h2{font-size:19px;font-weight:780}.section-title p{font-size:12px;color:#5a7487}
.btn{min-height:44px;padding:11px 16px;border-radius:10px;font-size:12px;font-weight:750;line-height:1.35;gap:8px;white-space:normal;text-align:center;box-shadow:none}.btn .gemp-icon{width:17px;height:17px}.btn:hover{transform:translateY(-1px)}.btn:active{transform:none}.btn.primary,.btn.btn-primary.primary{background:#1768bf;border-color:#1768bf;color:#fff;box-shadow:0 4px 10px rgba(23,104,191,.12)}.btn.primary:hover,.btn.btn-primary.primary:hover{background:#1258a4;border-color:#1258a4;color:#fff}.btn.status-action,.status-action{background:#128258;color:#fff;border:1px solid #128258;box-shadow:0 4px 12px rgba(18,130,88,.12)}.btn.status-action:hover,.status-action:hover{background:#0c6b47;border-color:#0c6b47;color:#fff}.btn.secondary{border-color:#cedde9;color:#305d7b;background:#fff}.btn.secondary:hover{background:#eef5fc;border-color:#b4cfe1;color:#184e79}.btn.light{background:#fff;border-color:#fff;color:#124d76}.btn.ghost-light:hover{background:rgba(255,255,255,.1);color:#fff}.btn.danger{background:#bf3b51;border-color:#bf3b51;color:#fff}.text-button{min-height:44px;padding-inline:10px}.filters button,.zone-filters .btn{height:auto;min-height:44px}.detail-header .actions{gap:9px}.detail-header .actions .btn{flex:none}.export-actions{gap:10px}.pagination>div{gap:8px}
.field>span,.filters label>span{color:#34546d;font-size:12px;font-weight:750}.field>span .gemp-icon{width:16px;height:16px;margin-right:5px;color:#3373a6}.field input.form-control,.field select.form-select,.field textarea.form-control,.filters input,.filters select{font-size:14px;color:#183f5a;min-height:46px;border:1px solid #c9d9e8;background:#fff;border-radius:10px;padding:11px 13px}.field input:focus,.field select:focus,.field textarea:focus,.filters input:focus,.filters select:focus{border-color:#4183c9;box-shadow:0 0 0 3px rgba(45,116,193,.12)}.form-card h3{display:flex;align-items:center;gap:9px;color:#214967;border-bottom-color:#dfebf3;font-size:17px;padding-bottom:14px}.form-card h3 .gemp-icon{color:#2876ba}.form-intro{background:#edf5ff;border:1px solid #d8e8f9;padding:22px 25px;border-radius:16px}.form-intro p{color:#466c88}.form-actions{gap:12px}.form-actions .btn{min-width:130px}.field input[type=file]{background:#f7fafc;font-size:12px}.field input[type=file]::file-selector-button{border:0;border-right:1px solid #d8e6f1;color:#235f91;background:#e8f2fc;min-height:40px;margin:-9px 12px -9px -11px;padding:8px 14px;font:inherit;font-weight:700}.field input::placeholder,.field textarea::placeholder{color:#788da0;opacity:1}.field small{font-size:11px;color:#61778b}
.table>thead th{font-size:10px;color:#536f85;background:#f4f8fc;border-bottom-color:#dce7ef;letter-spacing:.55px}.table>tbody td{font-size:12px;color:#2b4b65;padding:15px 12px}.badge{font-size:10.5px;padding:7px 10px}.badge.good{background:#e7f5ec;color:#176940}.badge.warn{background:#fff4dc;color:#805600}.badge.info{background:#e9f2ff;color:#245e9a}.badge.bad{background:#fceaf0;color:#a72e46}.project-school-link{font-weight:750;color:#1b62a7}.projects-filter-panel .project-search-hint{color:#5a738a}.projects-filter-panel .filters{gap:13px}.project-code{color:#276a9c}.clamp{color:#667e90}.alert{display:flex;align-items:flex-start;gap:10px;border-radius:12px;padding:14px 17px;font-size:13px;line-height:1.6}.alert .gemp-icon{width:18px;height:18px;margin-top:2px;flex:none}.alert.success{background:#ecf8f0;border-color:#cce9d7;color:#1e6845}.alert.error{background:#fff0f2;border-color:#f3ccd3;color:#a12c43}.alert.info{background:#edf5ff;border-color:#cee2f7;color:#285a82}.alert.warn{background:#fff7e5;border-color:#efdbae;color:#775318}
/* Login: generous typography, a calm branded panel, and clear input actions. */
body.guest{background:radial-gradient(ellipse at 3% 10%,#d8edf4 0,transparent 48%),radial-gradient(ellipse at 98% 94%,#e4e2f6 0,transparent 46%),#edf2f8}.auth-main.container-fluid{padding:38px 24px;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.auth-main>.alert{width:min(1100px,100%);margin:0}.auth-shell{width:min(1100px,100%);display:grid;grid-template-columns:1.02fr 1fr;background:#fff;border:1px solid #dce7f1;border-radius:26px;overflow:hidden;box-shadow:0 25px 75px rgba(31,61,96,.12);min-height:660px}.auth-story{background:linear-gradient(145deg,#17385f,#15566f 62%,#177a72);color:#fff;padding:45px 42px;position:relative;overflow:hidden;display:flex;flex-direction:column}.auth-story:before,.auth-story:after{content:"";position:absolute;pointer-events:none;border-radius:50%;border:1px solid rgba(255,255,255,.1);width:400px;height:400px;right:-190px;bottom:-190px}.auth-story:after{width:300px;height:300px;right:-130px;bottom:-130px;border-width:30px;border-color:rgba(255,255,255,.035)}.auth-story>*{position:relative;z-index:1}.auth-story .login-brand-mark{margin-bottom:30px}.auth-story .login-brand-mark .brand-mark{width:58px;height:58px;background:#fff;color:#164d77;border:1px solid rgba(255,255,255,.25);box-shadow:0 6px 20px rgba(0,0,0,.08);border-radius:16px;font-size:17px}.auth-story .eyebrow{color:#b3eee4;font-size:10px;letter-spacing:1.7px;line-height:1.5}.auth-story h1,.auth-story h2{color:#fff;font-size:clamp(30px,3vw,40px);font-weight:800;line-height:1.16;letter-spacing:-1.1px;margin:12px 0 18px;max-width:390px}.auth-story>p:not(.eyebrow){color:#d4e6ec;font-size:14px;max-width:375px;line-height:1.8}.auth-feature-list{display:grid;gap:18px;margin:22px 0 25px}.feature-tile{display:flex;align-items:flex-start;gap:13px}.feature-icon{width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,.11);color:#c3f1e6;display:flex;align-items:center;justify-content:center;flex:none;border:1px solid rgba(255,255,255,.1)}.feature-icon .gemp-icon{width:20px;height:20px}.feature-tile strong{display:block;color:#fff;font-size:12px;font-weight:700;margin:1px 0 4px}.feature-tile p,.feature-tile small,.feature-tile span:not(.feature-icon){color:#d1e5ec;font-size:11px;line-height:1.6;margin:0}.auth-story-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.2);padding-top:18px;color:#c7e0e8;font-size:10px;letter-spacing:.3px;display:flex;align-items:center;gap:8px}.auth-story-foot .gemp-icon{color:#a4e3d2;width:16px;height:16px}.auth-panel{padding:56px 46px;display:flex;flex-direction:column;justify-content:center;min-width:0}.auth-form-heading .eyebrow{color:#2478a5;font-size:10px}.auth-form-heading h1,.auth-form-heading h2{font-size:32px;line-height:1.15;font-weight:800;letter-spacing:-.9px;color:#173d60;margin:12px 0}.auth-form-heading p{font-size:13px;color:#60768b;line-height:1.75;margin-bottom:27px}.auth-form{display:grid;gap:20px}.auth-form .field{gap:8px;margin:0}.auth-form .field>span{font-size:12px;font-weight:750;color:#395872}.input-with-icon{position:relative;display:flex;align-items:center;min-width:0}.input-with-icon>.gemp-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#5a82a2;width:19px;height:19px;pointer-events:none}.input-with-icon input.form-control{width:100%;min-height:53px;padding:12px 48px 12px 44px;background:#fcfdff;border-radius:11px;font-size:15px;border-color:#cbdceb}.input-with-icon:focus-within>.gemp-icon{color:#1c6aba}.password-toggle{position:absolute;right:4px;top:4px;bottom:4px;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:7px;color:#537794}.password-toggle:hover{background:#eaf2fc;color:#1b65ab}.password-toggle .gemp-icon{width:19px;height:19px}.login-submit.btn{min-height:53px;margin-top:5px;font-size:14px;border-radius:11px;background:linear-gradient(105deg,#166abf,#127da0);border-color:#166aba;box-shadow:0 7px 17px rgba(25,103,166,.18);gap:11px}.login-submit.btn:hover{background:linear-gradient(105deg,#145eaa,#116d8b)}.auth-security-note{display:flex;align-items:flex-start;gap:9px;color:#61788c;font-size:11px;line-height:1.75;margin-top:24px;padding-top:20px;border-top:1px solid #e5edf3}.auth-security-note .gemp-icon{width:17px;height:17px;margin-top:2px;color:#288769}.auth-security-note p{margin:0}.auth-form .fine{font-size:11px}.auth-panel .login-brand-mark{margin-bottom:24px}.login-card{border-radius:22px}.login-card .fine{font-size:11px}.auth-mini-label{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:99px;background:#eef5fd;color:#2d6f9a;font-size:10px;font-weight:750;margin-bottom:16px;align-self:flex-start}
/* Semantic stage colours. Text labels and percentages carry the same meaning. */
.stage-estimate{--stage-color:#be344c;--stage-tint:#fff0f3;--stage-line:#edbfc8;--stage-deep:#9a263d}.stage-procurement{--stage-color:#b45110;--stage-tint:#fff4e8;--stage-line:#ecc7a4;--stage-deep:#913b07}.stage-physical{--stage-color:#147a4d;--stage-tint:#eaf8ef;--stage-line:#b7dec8;--stage-deep:#0e613c}.stage-unrecorded{--stage-color:#5c7286;--stage-tint:#f0f4f8;--stage-line:#d2dee7;--stage-deep:#435b70}
.stage-group,.workflow-badge{color:var(--stage-deep,var(--stage-color));background:var(--stage-tint);border:1px solid var(--stage-line);font-weight:750}.stage-group{padding:5px 10px;border-radius:8px;font-size:11px;display:inline-flex;align-items:center;gap:6px}.stage-group .gemp-icon{width:15px;height:15px}.stage-meter{background:#e7eef3;height:10px}.stage-meter>div{background:var(--stage-color);border-radius:99px;transition:width .2s ease}.stage-percent{color:var(--stage-color);background:var(--stage-tint);border:1px solid var(--stage-line);font-size:12px;padding:8px 12px}.stage-percent-large{background:var(--stage-tint);border:1px solid var(--stage-line);min-width:140px;padding:15px 18px;border-radius:17px}.stage-percent-large strong{color:var(--stage-color);font-size:37px}.stage-percent-large span{color:var(--stage-deep,var(--stage-color));font-size:10px;font-weight:750}.stage-picker{padding:25px;background:#fbfdff;border-color:#dce7ef;border-radius:18px}.stage-picker-head{align-items:flex-start;gap:24px}.stage-picker-head small{color:#607b91}.stage-picker-head h3{font-size:22px;line-height:1.4;color:#173d5d;margin-top:6px;margin-bottom:10px}.stage-range{height:14px;min-height:14px;background:linear-gradient(to right,var(--stage-color) 0%,var(--stage-color) var(--stage-fill),#e0e9f0 var(--stage-fill),#e0e9f0 100%)}.stage-range::-webkit-slider-thumb{border-color:var(--stage-color);width:28px;height:28px;box-shadow:0 3px 13px rgba(22,54,82,.19)}.stage-range::-moz-range-thumb{border-color:var(--stage-color);width:16px;height:16px;box-shadow:0 3px 13px rgba(22,54,82,.19)}.stage-range:focus-visible{outline-color:var(--stage-color)}.stage-thumb-tooltip{background:var(--stage-color);color:#fff;border-radius:11px;max-width:235px;min-width:118px;line-height:1.3;padding:9px 11px}.stage-thumb-tooltip strong{font-size:16px}.stage-thumb-tooltip span{font-size:10px}.stage-thumb-tooltip:after{border-top-color:var(--stage-color)}.stage-range-ends{font-size:10px;color:#5e788e}.stage-range-wrap{padding-top:78px;padding-bottom:10px}.stage-clarification{font-size:11px;line-height:1.75;color:#537088;background:#eff5fa;border:1px solid #dfebf3;border-radius:10px;padding:12px 14px;margin-top:20px}.stage-clarification .gemp-icon{width:16px;height:16px;color:#2f739f;margin-right:5px}.stage-groups span{font-size:11px}.stage-groups .estimate-stage{background:#fff0f3;color:#9a263d}.stage-groups .procurement-stage{background:#fff4e8;color:#913b07}.stage-groups .physical-stage{background:#eaf8ef;color:#0e613c}
/* Grouped stage cards replace the cramped eleven-column control. */
.stage-steps.stage-step-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;overflow:visible;padding:0;margin-top:23px}.stage-choice-group{border:1px solid var(--stage-line);border-radius:14px;background:#fff;padding:14px;min-width:0;align-self:start}.stage-choice-heading{display:flex;align-items:center;gap:9px;margin-bottom:14px;flex-wrap:wrap;color:var(--stage-color);min-height:49px}.stage-choice-heading>.gemp-icon{width:32px;height:32px;padding:6px;background:var(--stage-tint);border-radius:9px}.stage-choice-heading h3{font-size:13px;line-height:1.4;margin:0!important;font-weight:800;color:var(--stage-deep,var(--stage-color))}.stage-choice-heading small{display:block;font-size:10px;color:var(--stage-deep,var(--stage-color));line-height:1.5}.stage-choice-options{display:grid;gap:8px}.stage-choice-options .stage-step{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:7px 9px;width:100%;min-height:68px;border:1px solid #dce6ef;padding:10px;border-radius:10px;background:#fff;color:#36516b;font-size:11px;line-height:1.5;text-align:left;transform:none;flex:none}.stage-choice-options .stage-step-number{width:27px;height:27px;border-radius:8px;background:var(--stage-tint);color:var(--stage-color);border:1px solid var(--stage-line);font-size:11px;grid-row:1/3;align-self:center}.stage-step-copy{font-size:11px;font-weight:650;line-height:1.4}.stage-step-percent{font-size:10px;color:var(--stage-color);font-weight:800;grid-column:2}.stage-choice-options .stage-step:hover{border-color:var(--stage-color);background:var(--stage-tint);box-shadow:0 2px 9px rgba(24,55,85,.05)}.stage-choice-options .stage-step.is-active{background:var(--stage-tint);border:2px solid var(--stage-color);padding:9px;color:var(--stage-deep,var(--stage-color));box-shadow:0 0 0 2px #fff,0 0 0 3px var(--stage-line)}.stage-choice-options .stage-step.is-active .stage-step-number{background:var(--stage-color);color:#fff;border-color:var(--stage-color)}.stage-choice-options .stage-step:focus-visible{outline:3px solid var(--stage-color);outline-offset:3px}.stage-choice-options .stage-step.is-active .stage-step-copy{font-weight:800}
.workflow-status{min-width:0;display:flex;flex-direction:column;gap:5px}.workflow-badge{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:normal;border-radius:8px;padding:5px 9px;font-size:11px;line-height:1.4;max-width:100%;width:fit-content}.workflow-badge .gemp-icon{width:14px;height:14px}.workflow-status strong{font-size:11.5px;line-height:1.5;font-weight:750;color:var(--stage-deep,var(--stage-color))}.workflow-status small{font-size:10px;color:#5f7587}.workflow-status .stage-meter{height:5px;max-width:210px;margin-top:3px}.workflow-status .stage-percent{padding:4px 8px;font-size:10.5px}.workflow-not-applicable{font-size:11px;color:#657d90}.status-summary{background:var(--stage-tint);border:1px solid var(--stage-line);border-radius:15px;padding:20px}.status-summary h3{font-size:19px;color:#244964;line-height:1.4}.status-summary .eyebrow{color:var(--stage-color);letter-spacing:1px}.status-summary .stage-meter{height:12px;background:#fff;margin-top:18px}.status-summary .fine{font-size:11px;color:#4f6e81}.status-summary .stage-percent{background:#fff;color:var(--stage-color)}
.status-back{font-size:12px;gap:15px}.status-back a{min-height:44px;display:inline-flex;align-items:center;gap:6px;color:#245e8d}.status-back .gemp-icon{width:17px;height:17px}.status-hero h2{font-size:29px}.status-form-header{border-left:4px solid #327bb7;padding:22px 25px}.status-form-header h2{font-size:22px;line-height:1.4}.status-form-header p{color:#577186;font-size:13px}.status-form-header .status-pill{background:#edf3fc;color:#396489}.status-date-chip{gap:7px;color:#1f684c;border-color:#c5e5d4;background:#eff9f3}.status-date-chip .gemp-icon{width:16px;height:16px}.status-hero .status-date-chip{color:#fff;background:rgba(255,255,255,.12)}.status-record-form{padding:26px;min-width:0}.status-record-title h2{font-size:22px}.status-record-title p{font-size:12px;color:#5b758a;max-width:800px}.status-section-heading{display:flex;align-items:center;gap:12px;margin:22px 0 16px}.status-section-heading h2,.status-section-heading h3{margin:0!important;font-size:18px;font-weight:780;color:#254d6b}.status-section-heading p{margin:4px 0 0;font-size:12px;color:#5d768b}.icon-tile{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex:none;background:#eaf3fc;color:#286ba0}.icon-tile .gemp-icon{width:21px;height:21px}.record-state-note{display:flex;gap:8px;align-items:flex-start;padding:12px 15px;border-radius:11px;background:#eff6fc;color:#416984;font-size:11.5px;border:1px solid #dceaf4;margin:16px 0 0;line-height:1.7}.record-state-note .gemp-icon{width:17px;height:17px;flex:none;margin-top:1px}.status-recorded-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:99px;color:#276b4b;background:#e9f7ef;font-size:10.5px;font-weight:750}.status-recorded-pill .gemp-icon{width:14px;height:14px}.status-fields-grid .field>span{color:#36566f;font-size:12px}.status-fields-grid .field small{color:#60798d;font-size:11px}.status-fields-grid .input-group-text{color:#386887;background:#eff5fb;border-color:#cbdde9;font-size:13px}.locked-date{background:#f1f6fc;border-color:#d5e4ef;color:#345f7b;border-radius:10px;padding:12px 14px;min-height:49px}.status-form-actions{padding-top:22px;margin-top:25px;gap:11px}.status-form-actions .btn{min-width:155px}.status-form-actions .fine{font-size:11px;color:#58758b}.status-project-card{border-top:3px solid var(--stage-color);border-radius:16px;gap:12px}.status-project-card h3{font-size:17px}.status-card-stage strong{color:var(--stage-deep,var(--stage-color));font-size:12px}.status-card-footer{font-size:11px}.status-card-footer .btn{min-height:44px;padding:9px 12px;font-size:11px}.status-project-card .status-pill{background:#f0f4f9;color:#4d6c83}.status-project-card .stage-meter{height:7px}.status-card-activity{color:#60798d;min-height:38px}.status-metrics .panel{border-radius:15px;padding:20px}.status-metrics span{font-size:11px;color:#567389}.status-metrics strong{font-size:30px;color:#214a6b}.status-metrics small{font-size:10.5px;color:#5f778b}.status-pop-notice{background:var(--stage-color);border-color:var(--stage-line);padding:15px 18px;border-radius:15px}.status-pop-notice .status-pop-icon{background:rgba(255,255,255,.18);width:35px;height:35px;color:#fff}.status-pop-notice span:not(.status-pop-icon){color:#fff}.status-pop-notice strong{color:#fff;font-size:14px}.completion-note,.completion-banner{display:flex;align-items:center;gap:10px;background:#e7f8ed;border:1px solid #b8e2c8;color:#145f3a;border-radius:12px;padding:15px 17px;margin-top:18px;font-size:12px}.completion-note .gemp-icon,.completion-banner .gemp-icon{width:26px;height:26px;color:#188151}.settings-grid .panel{border-radius:18px}.settings-grid h2{font-size:21px}.brand-preview{background:#f4f8fc;border:1px dashed #bed2e3;padding:18px;border-radius:13px}.brand-preview small{color:#5e788c}.brand-preview strong{font-size:17px}.status-list-note{font-size:11px;color:#5c7589}
@media(min-width:1500px){.auth-panel{padding:62px 54px}.auth-story{padding:48px}.stage-choice-options .stage-step{font-size:12px}.stage-step-copy{font-size:12px}}
@media(max-width:1200px){.main.container-fluid{padding-inline:22px}.stage-picker{padding:20px}.stage-steps.stage-step-groups{gap:10px}.stage-choice-group{padding:11px}.stage-choice-options .stage-step{padding:8px;grid-template-columns:25px 1fr;gap:7px}.stage-choice-options .stage-step.is-active{padding:7px}.stage-choice-options .stage-step-number{width:25px;height:25px}.auth-story{padding:39px 32px}.auth-panel{padding:45px 36px}.auth-shell{min-height:630px}}
@media(max-width:991.98px){.sidebar{width:277px;top:78px;transform:translateX(-105%);box-shadow:0 18px 46px rgba(15,53,77,.17)}.sidebar.open{transform:translateX(0)}.main.container-fluid{margin-left:0;width:100%;padding-top:107px}.top-user{display:none!important}.auth-shell{width:min(850px,100%);grid-template-columns:1fr 1fr}.auth-story{padding:35px 28px}.auth-panel{padding:35px 28px}.auth-story h1,.auth-story h2{font-size:32px}.auth-form-heading h1,.auth-form-heading h2{font-size:29px}.stage-steps.stage-step-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.status-record-form{padding:23px}.stage-step{flex:none}.detail-header .actions{width:100%}.status-card-footer .btn{white-space:normal}}
@media(max-width:767.98px){.topbar.navbar{height:72px;padding:0 15px}.brand.navbar-brand{font-size:14px;max-width:77%;margin:0;gap:9px}.brand small{font-size:9px;letter-spacing:0}.brand-mark{width:39px;height:39px;border-radius:11px}.sidebar{top:72px}.main.container-fluid{padding:97px 15px 42px}.page-top{margin-bottom:20px}.page-top h1{font-size:25px}.date-pill{display:none}.eyebrow{font-size:9px}.panel{padding:18px;border-radius:15px}.stat{padding:16px 13px;border-radius:14px}.stat>strong{font-size:25px}.stat>span{font-size:11px}.stat>small{font-size:10px}.hero,.status-hero{padding:24px 21px;border-radius:18px}.hero h2,.status-hero h2{font-size:25px}.btn{font-size:12px;padding:11px 14px;min-height:46px}.btn .gemp-icon{width:17px;height:17px}.detail-header h2{font-size:21px;line-height:1.4}.detail-header .actions .btn{flex:1 1 auto}.hero-actions .btn{flex:1 1 auto}.projects-table tbody td.school-cell{padding:15px!important;background:#f4f8fd}.projects-table .school-cell .cell-strong{font-size:16px}.projects-table tbody td{padding:9px 15px!important;font-size:12px;align-items:flex-start;gap:12px}.projects-table tbody td::before{flex-basis:100px;max-width:100px;font-size:9.5px;padding-top:2px;color:#5b768b}.projects-table tbody tr{border-color:#dce6f0;border-radius:13px}.projects-table tbody td:last-child{padding-bottom:16px!important}.projects-filter-panel .filters .btn{align-self:stretch;flex:1 1 auto}.projects-table .workflow-status{flex:1}.table-scroll.panel{border-radius:15px}.workflow-status strong{font-size:12px}.workflow-badge{font-size:11px}.auth-main.container-fluid{padding:20px 15px;gap:14px;justify-content:flex-start}.auth-shell{grid-template-columns:1fr;width:min(510px,100%);border-radius:22px;min-height:0}.auth-story{padding:26px 28px;min-height:0}.auth-story .login-brand-mark{margin-bottom:18px}.auth-story .login-brand-mark .brand-mark{width:47px;height:47px;border-radius:12px;font-size:14px}.auth-story h1,.auth-story h2{font-size:28px;max-width:none;letter-spacing:-.6px;margin:10px 0 10px}.auth-story>p:not(.eyebrow){font-size:12px;margin-bottom:0;max-width:none;line-height:1.7}.auth-feature-list,.auth-story-foot{display:none}.auth-story .eyebrow{font-size:9px;letter-spacing:1.35px;margin-bottom:0}.auth-panel{padding:29px 28px 31px}.auth-form-heading h1,.auth-form-heading h2{font-size:28px;margin:9px 0}.auth-form-heading p{font-size:12px;margin-bottom:24px}.auth-form{gap:17px}.auth-form .field>span{font-size:12px}.input-with-icon input.form-control{font-size:16px;min-height:52px}.auth-security-note{font-size:10.5px;margin-top:23px;padding-top:18px}.login-submit.btn{font-size:14px}.stage-steps.stage-step-groups{grid-template-columns:1fr;gap:14px;margin-top:20px}.stage-choice-group{padding:15px}.stage-choice-heading{margin-bottom:12px;min-height:0;gap:11px;flex-wrap:nowrap}.stage-choice-heading h3{font-size:14px}.stage-choice-heading small{font-size:11px}.stage-choice-options{gap:9px}.stage-choice-options .stage-step{grid-template-columns:30px 1fr auto;min-height:60px;padding:11px;gap:9px;text-align:left}.stage-choice-options .stage-step.is-active{padding:10px}.stage-choice-options .stage-step-number{width:29px;height:29px;font-size:12px;grid-row:auto}.stage-step-copy{font-size:12px;line-height:1.5}.stage-step-percent{grid-column:auto;font-size:11px;min-width:30px;text-align:right}.stage-picker{padding:18px 14px}.stage-picker-head{gap:13px}.stage-picker-head h3{font-size:18px}.stage-picker-head small{font-size:10px}.stage-percent-large{min-width:98px;padding:13px 11px;min-height:84px}.stage-percent-large strong{font-size:28px}.stage-percent-large span{font-size:9px}.stage-group{font-size:10px}.stage-thumb-tooltip{max-width:170px;min-width:112px}.stage-range-wrap{padding-top:85px}.stage-range-ends{font-size:9.5px;gap:12px}.stage-clarification{font-size:11px;padding:11px 12px}.status-record-form{padding:17px}.status-record-title h2{font-size:20px}.status-form-header{padding:18px}.status-form-header h2{font-size:21px}.status-metrics .panel{padding:16px}.status-metrics strong{font-size:26px}.status-metrics span{font-size:10.5px}.status-metrics small{font-size:10px}.status-summary{padding:17px}.status-summary h3{font-size:17px}.status-project-card h3{font-size:17px}.status-card-stage{min-height:0}.status-form-actions{gap:10px}.status-form-actions .btn{flex:1 1 auto;min-width:120px}.status-form-actions .fine{max-width:none;flex-basis:100%;margin:0}.status-section-heading h2,.status-section-heading h3{font-size:17px}.status-section-heading{gap:10px}.status-pop-notice{right:12px;bottom:12px;width:calc(100vw - 24px);max-width:410px;padding:14px}.status-pop-notice strong{font-size:13px}.stage-choice-group .stage-step:focus-visible{outline-offset:2px}.field input.form-control,.field select.form-select,.field textarea.form-control,.filters input,.filters select{font-size:16px}.form-card h3{font-size:16px}.form-actions .btn{min-width:0}.settings-grid .panel{padding:20px}.status-back{gap:12px;font-size:11px}.status-back a{min-height:40px}.status-hero-figure{display:flex;align-items:center;gap:12px}.status-hero-figure strong{font-size:34px}.status-hero-figure span{max-width:130px;line-height:1.6}}
@media(max-width:399.98px){.main.container-fluid{padding-inline:12px}.panel{padding:15px}.brand small{display:none}.brand.navbar-brand{font-size:13px;gap:8px}.brand-mark{width:36px;height:36px}.auth-main.container-fluid{padding:12px}.auth-story{padding:22px}.auth-story h1,.auth-story h2{font-size:25px}.auth-panel{padding:25px 22px}.auth-form-heading h1,.auth-form-heading h2{font-size:26px}.stage-picker-head{flex-direction:column;gap:15px}.stage-percent-large{flex-direction:row;align-items:center;justify-content:flex-start;gap:11px;min-height:62px;min-width:0;padding:9px 14px;align-self:flex-start}.stage-percent-large span{font-size:10px;max-width:58px;line-height:1.4}.stage-choice-group{padding:12px}.stage-choice-options .stage-step{grid-template-columns:27px 1fr;gap:6px 9px}.stage-choice-options .stage-step-number{grid-row:1/3;width:27px;height:27px}.stage-step-percent{grid-column:2;text-align:left}.stage-picker{padding:16px 11px}.stage-record-form{padding:14px}.status-form-actions .btn{flex-basis:100%;width:100%}.status-hero h2{font-size:23px}.status-metrics .panel{padding:14px}.status-metrics strong{font-size:24px}.status-card-footer{flex-wrap:wrap}.status-card-footer .btn{margin-left:auto}.stage-range-ends{font-size:9px}.detail-header .actions .btn{flex-basis:100%;width:100%}.project-school-link{overflow-wrap:anywhere}.projects-table tbody td::before{flex-basis:83px;max-width:83px;font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.btn:hover,.status-project-card:hover{transform:none}}
@media print{body{background:#fff}.sidebar,.topbar,.skip-link,.btn,.status-back,.date-pill,.status-pop-notice{display:none!important}.main.container-fluid{width:100%;margin:0;padding:0}.panel,.stat,.status-summary{box-shadow:none;break-inside:avoid}.stage-meter,.workflow-badge,.stage-group,.status-summary{print-color-adjust:exact;-webkit-print-color-adjust:exact}.stage-steps.stage-step-groups{display:none!important}.auth-shell{box-shadow:none}.workflow-status strong{color:#17324e}}
/* Final component contracts used by the V5 PHP views. */
.alert{display:block}.alert>.gemp-icon{vertical-align:-4px;margin-right:6px}.auth-brand{display:flex;align-items:center;gap:12px;color:#fff;margin-bottom:38px;text-decoration:none}.auth-brand:hover{color:#fff;text-decoration:none}.auth-brand>span:last-child{display:flex;flex-direction:column;gap:3px;line-height:1.4}.auth-brand strong{font-size:16px;letter-spacing:-.3px}.auth-brand small{color:#ccE5eb;font-size:10px;letter-spacing:.3px}.auth-brand .brand-mark{width:49px;height:49px;border-radius:13px;background:#fff;color:#1a5776;box-shadow:0 6px 15px rgba(0,0,0,.09);flex:none}.auth-story-copy>p:not(.eyebrow){color:#d5e8ee;font-size:14px;line-height:1.8;max-width:375px;margin-bottom:0}.auth-story-copy h2{margin-top:11px;margin-bottom:18px}.feature-icon.stage-estimate,.feature-icon.stage-procurement,.feature-icon.stage-physical{background:var(--stage-tint);color:var(--stage-color);border-color:var(--stage-line)}.auth-welcome-icon{width:46px;height:46px;display:flex;align-items:center;justify-content:center;color:#2467a5;background:#eaf3fd;border:1px solid #d8e8f7;border-radius:13px;margin-bottom:24px}.auth-welcome-icon .gemp-icon{width:24px;height:24px}.auth-form .field>label{font-size:13px;color:#395872;font-weight:750}.auth-help{font-size:10.5px;line-height:1.7;color:#657e92;margin:14px 0 0}.auth-panel-footer{font-size:9px;color:#6b8193;margin-top:25px;line-height:1.5}.workflow-stage-label{font-size:12px;line-height:1.5;color:#34516b;font-weight:650;max-width:230px}.workflow-mini-track{display:block;width:100%;max-width:180px;height:5px;border-radius:99px;background:#e6edf3;overflow:hidden;margin:3px 0 1px}.workflow-mini-track>span{display:block;background:var(--stage-color);height:100%;border-radius:99px}.workflow-status .workflow-badge{font-size:10.5px}.workflow-status .workflow-badge strong{font-size:13px;font-weight:850;color:var(--stage-color);white-space:nowrap}.workflow-empty{display:flex;align-items:center;gap:15px;padding:6px;color:#48667c}.workflow-empty>.gemp-icon{width:45px;height:45px;padding:10px;border-radius:13px;background:#eef4fa;color:#5480a0;flex:none}.workflow-empty strong{font-size:15px;color:#2c5471}.workflow-empty p{font-size:12px;margin-top:5px;line-height:1.7}.workflow-remarks{margin:17px 0 0;border-top:1px solid var(--stage-line);padding-top:13px;color:#3f6076;font-size:12px;overflow-wrap:anywhere}.workflow-remarks strong{color:#274c68}.workflow-table-note{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;padding:11px 14px;margin:0 0 16px;background:#edf4fc;border:1px solid #dbe8f4;border-radius:12px;color:#4e6f87;font-size:11px;line-height:1.7}.project-year-chip{display:inline-flex;font-size:10px;padding:3px 7px;background:#edf3fb;color:#335e87;border:1px solid #dce7f3;border-radius:7px;white-space:nowrap;margin-left:5px}.status-summary .fine .gemp-icon{width:15px;height:15px;margin-right:4px;vertical-align:-3px}.stage-choice-heading .icon-tile{width:35px;height:35px;border-radius:10px;color:var(--stage-color);background:var(--stage-tint)}.stage-choice-heading .icon-tile .gemp-icon{width:20px;height:20px}.stage-groups .gemp-icon{width:14px;height:14px;margin-right:3px;vertical-align:-3px}.stage-completion-message{display:flex;align-items:center;gap:10px;background:#e7f8ed;border:1px solid #b8e2c8;color:#145f3a;border-radius:12px;padding:15px 17px;margin:18px 0 0;font-size:12px;font-weight:650}.stage-completion-message .gemp-icon{width:25px;height:25px;color:#188151}.stage-list-legend{display:flex;gap:10px;flex-wrap:wrap;margin:17px 0 20px}.stage-list-legend>span{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;background:var(--stage-tint);color:var(--stage-deep,var(--stage-color));border:1px solid var(--stage-line);border-radius:9px;font-size:11px;font-weight:700}.stage-list-legend .gemp-icon{width:16px;height:16px}.status-form-header h2>.gemp-icon{width:23px;height:23px;color:#3b79a6;vertical-align:-3px;margin-right:3px}.workflow-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:23px}.workflow-overview-card{border-radius:15px;border:1px solid var(--stage-line);border-top:3px solid var(--stage-color);background:#fff;padding:18px;min-width:0}.workflow-overview-card .gemp-icon{color:var(--stage-color)}.workflow-overview-card strong{font-size:30px;color:var(--stage-deep,var(--stage-color));font-weight:800;display:block;line-height:1.3;margin:8px 0}.workflow-overview-card span,.workflow-overview-card small{font-size:11px;line-height:1.6;color:#53728a}.btn{font-size:13.5px}.field>span,.field>label,.filters label>span{font-size:13px}.table>tbody td{font-size:13px}.table>thead th{font-size:10.5px}.nav-group .nav-link,.logout-form button.nav-link{font-size:12.5px}
@media(max-width:1200px){.auth-brand{margin-bottom:30px}.auth-story-copy>p:not(.eyebrow){font-size:13px}}
@media(max-width:767.98px){.auth-brand{margin-bottom:20px;gap:10px}.auth-brand .brand-mark{width:43px;height:43px}.auth-brand strong{font-size:14px}.auth-brand small{font-size:9px}.auth-story-copy h2{font-size:26px;line-height:1.2;margin:9px 0 10px}.auth-story-copy>p:not(.eyebrow){font-size:12px;line-height:1.7}.auth-welcome-icon{width:38px;height:38px;border-radius:11px;margin-bottom:18px}.auth-welcome-icon .gemp-icon{width:21px;height:21px}.auth-panel-footer{margin-top:21px;font-size:9px}.auth-help{font-size:10.5px}.workflow-table-note{font-size:11px;padding:11px 13px;display:grid;gap:8px}.projects-table tbody td.workflow-not-applicable{display:none!important}.workflow-stage-label{font-size:12px;max-width:none}.workflow-status .workflow-badge{font-size:10.5px}.workflow-empty{align-items:flex-start;padding:2px;gap:11px}.workflow-empty strong{font-size:14px}.workflow-empty p{font-size:12px}.workflow-empty>.gemp-icon{width:38px;height:38px;padding:8px}.workflow-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workflow-overview-card{padding:15px}.workflow-overview-card strong{font-size:27px}.stage-list-legend{gap:8px}.stage-list-legend>span{font-size:10px;padding:6px 8px}.stage-groups{grid-template-columns:1fr 1fr 1.5fr;gap:4px}.stage-groups span{font-size:9px;padding:6px 4px;line-height:1.5}.stage-groups .gemp-icon{display:none}.status-form-header h2>.gemp-icon{width:20px;height:20px}.btn{font-size:13px}.projects-table tbody td{font-size:13px}.field>span,.field>label,.filters label>span{font-size:13px}.stage-completion-message{font-size:11.5px;padding:13px;align-items:flex-start}.stage-step-copy{font-size:12px}}
@media(max-width:399.98px){.auth-story-copy h2{font-size:23px}.auth-brand{margin-bottom:19px}.auth-story-copy>p:not(.eyebrow){font-size:11.5px}.auth-story .eyebrow{font-size:8px}.stage-list-legend>span{font-size:9.5px}.workflow-overview-card{padding:13px}.workflow-overview-card span,.workflow-overview-card small{font-size:10px}}
.workflow-overview{grid-template-columns:repeat(5,minmax(0,1fr))}.workflow-overview-card:hover{text-decoration:none;background:var(--stage-tint);border-color:var(--stage-color)}.workflow-overview-card>span{display:flex;gap:7px;align-items:center;font-weight:700}.status-back a{min-height:44px}
@media(max-width:1250px){.workflow-overview{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767.98px){.workflow-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-overview-card:last-child{grid-column:1/-1}.workflow-overview-card:last-child strong{display:inline-block;margin-left:10px}.workflow-overview-card:last-child>span{display:inline-flex}.status-back a{min-height:44px}}
