/* GramSetu V49 · ONLY Screen 02. Compact, role-first government console.
   White + soft slate + teal. Amber and muted brick only denote service states. */
.g49-gate,.g49-admin{--g49-ink:#263f4b;--g49-teal:#286e6a;--g49-line:#dae5e5;--g49-muted:#617982;--g49-soft:#f6f9f9;color:var(--g49-ink);font-family:inherit}
.g49-gate *,.g49-admin *{box-sizing:border-box}
.g49-gate{max-width:980px;margin:10px auto 25px;border:1px solid var(--g49-line);border-radius:12px;background:#fff;overflow:hidden}
.g49-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 23px;background:#f5faf9;border-bottom:1px solid #e1eae9;color:#58807c;font-size:9px;font-weight:800;letter-spacing:.045em}
.g49-topline span:last-child{color:#839398;font-weight:650}
.g49-gate-intro{padding:20px 24px 14px}
.g49-gate-intro h1{font-size:clamp(24px,2.5vw,31px);line-height:1.2;letter-spacing:-.022em;color:#28515a;margin:0 0 6px}
.g49-gate-intro p{font-size:12px;line-height:1.5;color:#657d82;margin:0}
.g49-step{display:flex;align-items:center;gap:10px;margin:15px 24px 9px}
.g49-step b{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background:#e8f4f0;border-radius:6px;color:#316f65;font-size:10px}
.g49-step span{font-size:12px;font-weight:800;color:#345561}
.g49-offices,.g49-role-grid{display:grid;gap:9px;padding:0 24px}
.g49-offices{grid-template-columns:repeat(2,minmax(0,1fr))}
.g49-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.g49-office,.g49-role{display:flex;align-items:center;justify-content:flex-start;min-height:44px;padding:10px 12px;text-align:left;border:1px solid #dce5e6;background:#fafcfc;color:#40626b;border-radius:8px;cursor:pointer;font-size:12px;font-weight:750;line-height:1.4}
.g49-role{min-height:39px}
.g49-office:hover,.g49-role:hover{border-color:#9bbeba;background:#f1f8f6}
.g49-office.chosen,.g49-role.chosen{border-color:#79aaa4;background:#e9f5f1;color:#245e58;box-shadow:inset 0 0 0 1px #79aaa4}
.g49-gate-scopes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin:0 24px;padding:15px;background:#f8fbfa;border:1px solid #e2eae9;border-radius:9px}
.g49-gate-scopes>small{grid-column:1/-1;color:#788888;font-size:10px;line-height:1.55}
.g49-input{display:block;font-size:11px;font-weight:760;color:#3b6268;min-width:0}
.g49-input span{display:block;margin:0 0 6px}
.g49-input select{width:100%;min-width:0;min-height:39px;border:1px solid #cbdde0;border-radius:7px;background:#fff;color:#385c67;font:inherit;font-size:11px;font-weight:500;padding:9px 11px}
.g49-gate-bottom{display:flex;align-items:center;justify-content:space-between;gap:13px;margin:18px 24px 23px}
.g49-gate-bottom>span{max-width:430px;font-size:10px;line-height:1.5;color:#778991}
.g49-primary{display:inline-flex;gap:8px;align-items:center;justify-content:center;background:#2c716e;border:1px solid #2c716e;color:#fff;font-size:11px;font-weight:800;padding:11px 15px;min-height:39px;border-radius:7px;cursor:pointer}
.g49-primary:disabled{background:#e4ebeb;color:#819394;border-color:#e4ebeb;cursor:not-allowed}
.g49-admin{max-width:1600px;margin:0 auto}
.g49-admin-top{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #dbe5e5;border-radius:9px;padding:12px 14px;margin:0 0 11px}
.g49-admin-top>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 11px}
.g49-admin-top small{font-size:9px;font-weight:800;color:#4a8180;letter-spacing:.05em}
.g49-admin-top strong{font-size:13px;line-height:1.3;color:#2e5460}
.g49-top-actions{display:flex;align-items:center;gap:10px}
.g49-top-actions>span{display:inline-block;border-radius:5px;background:#f5f9f8;border:1px solid #e5ebeb;font-size:9px;color:#71878b;padding:6px 8px}
.g49-change{border:1px solid #cddfe0;color:#2f6e70;background:#fff;border-radius:7px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}
.g49-admin-shell{display:grid;grid-template-columns:207px minmax(0,1fr);gap:13px;align-items:start}
.g49-sidebar{border:1px solid #dce6e6;background:#fff;border-radius:9px;overflow:hidden;min-width:0;max-height:calc(100vh - 140px);overflow-y:auto;position:sticky;top:12px;scrollbar-width:thin}
.g49-side-brand{display:flex;flex-direction:column;gap:5px;padding:14px 13px 13px;background:#eef6f4;border-bottom:1px solid #dceae7}
.g49-side-brand small{font-size:9px;color:#54827c;font-weight:800;letter-spacing:.06em}
.g49-side-brand strong{font-size:14px;color:#2d5a61;line-height:1.35}
.g49-side-brand span{font-size:10px;color:#627c82;line-height:1.5}
.g49-side-title{display:flex;align-items:center;justify-content:space-between;padding:13px 11px 8px;font-size:10px;color:#5c747a;font-weight:800}
.g49-side-title b{border-radius:5px;background:#f1f6f5;padding:3px 5px;color:#427475}
.g49-side-list{padding:0 6px 6px}
.g49-side-link{display:flex;align-items:center;width:100%;padding:9px 9px;background:#fff;color:#49666f;border:1px solid transparent;border-radius:6px;cursor:pointer;text-align:left;font-size:11px;line-height:1.45;min-height:35px}
.g49-side-link:hover{background:#eff7f5;color:#2c6e68;border-color:#d5e7e3}
.g49-side-back{display:block;border:0;background:#eaf5f1;color:#2e6e66;border-radius:6px;margin:0 9px 7px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}
.g49-side-current{display:flex;flex-direction:column;gap:5px;padding:10px;margin:4px 9px;background:#f2f9f7;border:1px solid #d8eae5;border-radius:7px}
.g49-side-current small{color:#68807c;font-size:9px}
.g49-side-current strong{color:#2d645e;font-size:12px}
.g49-side-note{padding:11px;margin:9px;border-top:1px solid #e6eded;font-size:9px;line-height:1.5;color:#819294}
.g49-work{min-width:0}
.g49-work-head{border:1px solid #dde6e7;border-radius:9px;background:#fff;padding:13px 16px;margin-bottom:10px}
.g49-work-head small{font-size:10px;color:#4f7d7b;font-weight:800}
.g49-work-head h1{font-size:clamp(18px,1.8vw,23px);line-height:1.25;margin:3px 0 4px;color:#2b4d59}
.g49-work-head p{font-size:10px;color:#74858a;margin:0}
.g49-programme{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:11px 14px;background:#f8fbfb;border:1px solid #dce7e7;border-radius:9px;margin-bottom:10px}
.g49-programme label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:800;color:#345e65;flex:1;max-width:550px}
.g49-programme select{width:100%;min-height:37px;border:1px solid #cbddde;border-radius:7px;background:#fff;color:#2b525d;font-size:11px;font-weight:550;padding:8px 10px}
.g49-programme>div{display:flex;flex-direction:column;gap:3px;max-width:240px}
.g49-programme>div b{font-size:11px;color:#3c706c}
.g49-programme>div small{font-size:9px;color:#789092;line-height:1.4}
.g49-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 10px}
.g49-metric{display:flex;flex-direction:column;gap:5px;border:1px solid #e0e9e9;border-left:3px solid #528980;border-radius:8px;background:#fff;padding:11px 12px;min-height:89px;min-width:0}
.g49-metric>span{font-size:10px;color:#5d787f;font-weight:750;line-height:1.35}
.g49-metric strong{font-size:23px;line-height:1.15;color:#2b5661;font-weight:780;font-variant-numeric:tabular-nums}
.g49-metric small{font-size:9px;color:#819092;line-height:1.35}
.g49-chart{border:1px solid #dae5e6;border-radius:9px;background:#fff;margin-bottom:10px;padding:14px 15px;min-width:0}
.g49-charthead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-bottom:1px solid #edf0f0;padding-bottom:9px;margin-bottom:11px}
.g49-charthead small{font-size:9px;color:#44827c;font-weight:820;letter-spacing:.055em}
.g49-charthead h3{font-size:15px;line-height:1.3;color:#2c5260;margin:3px 0 0}
.g49-charthead>span{color:#6e8286;font-size:10px}
.g49-priority-candles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.g49-priority{display:flex;align-items:center;flex-direction:column;text-align:center;gap:5px;padding:9px 6px 8px;min-width:0;border:1px solid #e2eaea;border-radius:8px;background:#fbfdfd;cursor:pointer}
.g49-priority strong{font-size:15px;color:#2d5360;font-weight:800;font-variant-numeric:tabular-nums}
.g49-priority .g49-candle-rail{height:82px;width:29px;position:relative;border-radius:5px;background:#eaf2f1;border:1px solid #d7e4e2;overflow:hidden}
.g49-priority .g49-candle-rail i{display:block;position:absolute;bottom:0;left:0;right:0;background:#39837e;border-radius:3px 3px 0 0}
.g49-priority>span{font-size:10px;line-height:1.35;color:#3d646c;font-weight:750;min-height:28px}
.g49-priority>small{font-size:10px;color:#758f8f}
.g49-priority:hover,.g49-priority.selected{border-color:#88b7b0;background:#eff8f6}
.g49-selected-need{background:#f4f9f7;border:1px solid #daeae6;margin-top:9px;color:#496a6d;font-size:10px;line-height:1.5;padding:9px 11px;border-radius:7px}
.g49-delivery-note{font-size:10px;color:#778a8c;margin:0 0 11px;line-height:1.45}
.g49-group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:9px}
.g49-group{display:flex;align-items:center;flex-direction:column;gap:8px;min-width:0;padding:11px 9px 9px;background:#fbfdfc;border:1px solid #e0e8e7;border-radius:8px;text-align:center;color:#3e626b}
button.g49-group{cursor:pointer}
button.g49-group:hover{background:#f0f8f5;border-color:#80ada8}
.g49-group>strong{font-size:11px;line-height:1.35;min-height:28px;color:#315761}
.g49-group-bars{display:flex;align-items:end;justify-content:center;gap:7px}
.g49-bar-item{display:flex;flex-direction:column;align-items:center;gap:4px}
.g49-bar-item b{font-size:10px;font-variant-numeric:tabular-nums;color:#596e73}
.g49-bar-rail{width:23px;height:94px;border:1px solid #dbe6e5;background:#eef3f2;border-radius:4px;position:relative;overflow:hidden}
.g49-bar-rail i{display:block;position:absolute;bottom:0;left:0;right:0;border-radius:3px 3px 0 0}
.g49-teal{background:#36867b}
.g49-gold{background:#c49a52}
.g49-red{background:#b87968}
.g49-group-unit{color:#6f8287;font-size:9px;line-height:1.3;min-height:24px}
.g49-group-missing{font-size:10px;color:#879698;line-height:1.5}
.g49-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;margin-top:12px}
.g49-legend span{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#667e81}
.g49-legend i{height:8px;width:8px;border-radius:2px}
.g49-coverage-totals{padding:10px 0 0;margin-top:9px;border-top:1px solid #edf0f0;font-size:10px;color:#688184;line-height:1.6}
.g49-coverage-totals b{font-variant-numeric:tabular-nums;color:#375d66}
.g49-method{border:1px solid #e2e9e8;border-radius:8px;background:#fff;margin:0 0 10px}
.g49-method summary{cursor:pointer;color:#4a7673;font-size:10px;font-weight:800;padding:10px 12px}
.g49-method p{padding:0 12px 12px;font-size:10px;color:#6c8186;line-height:1.7;margin:0}
.g49-footnote{font-size:9px;color:#859597;line-height:1.5;padding:3px 0 20px}
.g49-admin button:focus-visible,.g49-gate button:focus-visible,
.g49-gate select:focus-visible,.g49-admin select:focus-visible{outline:3px solid #bd9b60;outline-offset:2px}
@media(max-width:1000px){.g49-admin-shell{grid-template-columns:180px minmax(0,1fr);gap:10px}.g49-chart{padding:12px}.g49-group-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}}
@media(max-width:750px){
 .g49-admin-shell{grid-template-columns:1fr}
 .g49-sidebar{max-height:none;position:static}
 .g49-side-list{display:flex;flex-wrap:wrap;gap:4px}
 .g49-side-link{width:auto;display:inline-flex}
 .g49-priority-candles{grid-template-columns:repeat(3,minmax(0,1fr))}
 .g49-gate-scopes{grid-template-columns:1fr}
}
@media(max-width:540px){
 .g49-topline{padding:11px 13px;flex-wrap:wrap}
 .g49-gate-intro{padding:18px 15px 12px}
 .g49-step{margin:12px 15px 9px}
 .g49-offices,.g49-role-grid{padding:0 15px}
 .g49-offices{grid-template-columns:1fr}
 .g49-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .g49-gate-scopes{margin:0 15px}
 .g49-gate-bottom{margin:14px 15px 18px;flex-direction:column;align-items:stretch}
 .g49-admin-top{align-items:flex-start;flex-direction:column}
 .g49-programme{align-items:stretch;flex-direction:column}
 .g49-metrics{grid-template-columns:1fr}
 .g49-metric{min-height:0;padding:9px 12px}
 .g49-metric strong{font-size:20px}
 .g49-chart{padding:11px}
 .g49-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
