:root {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #17243e;
  background: #f2f5fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --navy: #0a1937;
  --muted: #8995aa;
  --line: #e9edf4;
  --blue: #3169ed;
  --shadow: 0 3px 15px rgba(28, 48, 88, .055);
}
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: #f2f5fa; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; display: flex; width: 238px; flex-direction: column; padding: 23px 14px 15px; color: #dbe5f7; background: linear-gradient(155deg, #0d1d40, #081632 76%, #0c1c3b); box-shadow: 8px 0 24px rgba(10, 25, 56, .06); }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 28px; color: #fff; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(125, 185, 222, .3); border-radius: 11px; color: #71cbe0; background: linear-gradient(140deg, #1e4162, #173056); }
.brand-mark .icon { width: 22px; height: 22px; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: 14px; font-weight: 750; letter-spacing: .8px; }
.brand-copy strong span { color: #79cbdd; }
.brand-copy small { color: #8798b2; font-size: 8px; letter-spacing: 1px; }
.workspace-label { padding: 0 10px 10px; color: #8190a9; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.nav-list { display: flex; flex-direction: column; gap: 5px; }
.nav-item { position: relative; display: flex; min-height: 41px; align-items: center; gap: 11px; padding: 0 10px; border-radius: 7px; color: #afbdd3; font-size: 11px; transition: .16s ease; }
.nav-item .icon { width: 16px; height: 16px; color: #94a5c2; }
.nav-item:hover { color: white; background: rgba(255, 255, 255, .065); }
.nav-item.active { color: #fff; background: linear-gradient(100deg, #2766ed, #387cf4); box-shadow: 0 6px 14px rgba(38, 101, 233, .2); }
.nav-item.active .icon { color: white; }
.nav-item.active::before { position: absolute; inset: 9px auto 9px -14px; width: 3px; border-radius: 0 3px 3px 0; background: #80aaff; content: ""; }
.nav-count { margin-left: auto; padding: 3px 6px; border-radius: 10px; color: #c4d4f1; background: rgba(255, 255, 255, .12); font-size: 9px; }
.nav-dot, .status-light { width: 6px; height: 6px; border-radius: 50%; background: #49cb95; box-shadow: 0 0 0 3px rgba(73, 203, 149, .12); }
.nav-dot { margin-left: auto; background: #f2ba51; box-shadow: 0 0 0 3px rgba(242, 186, 81, .11); }
.document-card { margin-top: auto; padding: 13px 12px 12px; border: 1px solid rgba(124, 172, 221, .2); border-radius: 10px; background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)); }
.document-icon { display: grid; width: 27px; height: 27px; margin-bottom: 10px; place-items: center; border-radius: 7px; color: #86baff; background: rgba(75, 134, 226, .17); }
.document-icon .icon { width: 14px; height: 14px; }
.document-label { display: block; margin-bottom: 5px; color: #8b9db8; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.document-card > strong { display: block; color: white; font-size: 12px; }
.document-time { display: flex; align-items: center; gap: 5px; margin-top: 7px; color: #afc0da; font-size: 9px; }
.document-time .icon { width: 12px; height: 12px; }
.document-divider { display: block; height: 1px; margin: 11px 0; background: rgba(180, 200, 232, .13); }
.document-office { color: #a5b3c9; font-size: 8px; line-height: 1.65; }
.sidebar-footer { display: flex; align-items: center; gap: 8px; margin-top: 13px; padding: 11px 4px 1px; border-top: 1px solid rgba(180, 200, 232, .12); color: #8292ac; font-size: 8px; letter-spacing: .55px; }
.sidebar-footer strong { margin-left: auto; color: #c0cce0; font-size: 8px; }
.main-content { min-height: 100vh; margin-left: 238px; }
.topbar { position: sticky; z-index: 10; top: 0; display: flex; min-height: 68px; align-items: center; justify-content: space-between; padding: 0 29px; border-bottom: 1px solid #e9edf4; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); }
.topbar-left { min-width: 0; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; color: #97a2b4; font-size: 10px; }
.breadcrumbs strong { overflow: hidden; color: #37445e; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.slash { color: #cbd2de; }
.topbar-left > p { margin: 5px 0 0; color: #98a2b2; font-size: 9px; }
.topbar-left > p span { padding: 0 3px; color: #bcc4d0; }
.topbar-right { display: flex; align-items: center; gap: 11px; }
.report-status { display: flex; align-items: center; gap: 7px; color: #8793a7; font-size: 9px; }
.report-status strong { color: #53617a; font-weight: 600; }
.topbar-divider { width: 1px; height: 26px; margin: 0 3px; background: #e7ebf2; }
.engineer-avatar { display: grid; width: 32px; height: 32px; place-items: center; border: 2px solid white; border-radius: 50%; outline: 1px solid #a8d8df; color: #277885; background: #e5f5f6; font-size: 9px; font-weight: 700; }
.engineer-label { display: grid; gap: 3px; }
.engineer-label strong { color: #33415d; font-size: 9px; }
.engineer-label small { color: #95a0b1; font-size: 8px; }
.mobile-menu { display: none !important; }
.page-content { max-width: 1700px; margin: 0 auto; padding: 25px 29px 18px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.eyebrow, .section-kicker { color: #929eb2; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
.eyebrow { display: flex; align-items: center; gap: 7px; }
.eyebrow-line { width: 16px; height: 2px; border-radius: 2px; background: #d2a345; }
h1, h2, p { margin-top: 0; }
.page-heading h1 { margin: 7px 0 4px; color: #182642; font-size: 23px; font-weight: 700; letter-spacing: -.6px; }
.fy-chip { position: relative; top: -2px; margin-left: 5px; padding: 4px 7px; border: 1px solid #dbe6fa; border-radius: 5px; color: #3a65b5; background: #edf3ff; font-size: 9px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.page-heading > div > p { margin: 0; color: #8d99ad; font-size: 10px; }
.heading-actions { display: flex; align-items: center; gap: 8px; }
.select-wrap { display: inline-flex; height: 40px; align-items: center; gap: 6px; padding: 0 11px; border: 1px solid #e3e8f0; border-radius: 7px; color: #000; background: white; }
.select-wrap .icon { width: 16px; height: 16px; }
.select-wrap select { min-width: 110px; border: 0; outline: 0; color: #000; background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; }
.button-primary { display: inline-flex; height: 34px; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border: 1px solid #255cdf; border-radius: 7px; color: white; background: #3069ee; box-shadow: 0 5px 11px rgba(48, 105, 238, .14); font-size: 9px; font-weight: 600; cursor: pointer; }
.button-primary:hover { background: #2259d6; }
.button-primary .icon { width: 14px; height: 14px; }
.report-strip { display: grid; grid-template-columns: 34px minmax(210px, 1.2fr) 1fr 1fr; min-height: 57px; align-items: center; gap: 11px; margin-bottom: 13px; padding: 8px 14px; border: 1px solid #e4eaf4; border-radius: 9px; background: linear-gradient(100deg, #fff, #fbfcff); box-shadow: 0 2px 8px rgba(30, 55, 98, .03); }
.report-mark { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #e4eafa; border-radius: 8px; color: #4472c5; background: #eef3ff; }
.report-mark .icon { width: 15px; height: 15px; }
.report-copy { display: grid; gap: 4px; }
.report-copy > span { color: #8795aa; font-size: 8px; font-weight: 600; letter-spacing: .55px; }
.report-copy > span i { display: inline-block; width: 3px; height: 3px; margin: 0 4px 2px; border-radius: 50%; background: #bf9b54; }
.report-copy > strong { color: #283754; font-size: 10px; font-weight: 650; }
.report-section { display: flex; min-height: 26px; align-items: center; gap: 8px; padding-left: 14px; border-left: 1px solid #ebeff5; color: #5c6981; font-size: 9px; }
.report-number { color: #6082be; font-size: 9px; font-weight: 700; }
.metrics-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; margin-bottom: 13px; }
.metric-card { position: relative; display: flex; min-width: 0; min-height: 108px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 12px 12px 10px; border: 1px solid #e8ecf4; border-radius: 9px; background: white; box-shadow: var(--shadow); }
.metric-card::after { position: absolute; right: -23px; bottom: -55px; width: 110px; height: 110px; border: 1px solid rgba(92, 130, 196, .065); border-radius: 50%; content: ""; }
.metric-top { display: flex; min-height: 24px; align-items: center; justify-content: space-between; gap: 4px; color: #65728a; font-size: 9px; font-weight: 500; }
.metric-icon { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border-radius: 7px; }
.metric-icon .icon { width: 14px; height: 14px; }
.metric-value { color: #263551; font-size: clamp(15px, 1.35vw, 19px); font-weight: 730; letter-spacing: -.4px; white-space: nowrap; }
.metric-value small { color: #8692a6; font-size: 9px; font-weight: 500; letter-spacing: 0; }
.metric-foot { display: flex; min-height: 12px; align-items: center; gap: 5px; color: #8e99ab; font-size: 8px; white-space: nowrap; }
.metric-accent { color: #3981bc; font-weight: 600; }
.metric-blue { border-top: 2px solid #3473ee; }.metric-blue .metric-icon { color: #3473ee; background: #edf2ff; }
.metric-gold { border-top: 2px solid #d2a047; }.metric-gold .metric-icon { color: #b88937; background: #fbf4e8; }
.metric-teal { border-top: 2px solid #28a79d; }.metric-teal .metric-icon { color: #27998f; background: #eaf7f5; }
.metric-violet { border-top: 2px solid #8164dd; }.metric-violet .metric-icon { color: #765ad3; background: #f1edff; }
.metric-green { border-top: 2px solid #35ae79; }.metric-green .metric-icon { color: #299864; background: #ebf7f0; }
.metric-slate { border-top: 2px solid #6885a8; }.metric-slate .metric-icon { color: #597899; background: #edf2f8; }
.overview-grid { display: grid; grid-template-columns: 1.05fr 1.14fr .93fr; gap: 12px; margin-bottom: 12px; }
.workplan-grid { display: grid; grid-template-columns: 1fr .85fr 1.12fr; gap: 12px; margin-bottom: 12px; }
.panel { min-width: 0; padding: 14px 14px 12px; border: 1px solid #e7ecf3; border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.panel-header h2, .register-heading h2 { margin: 4px 0 0; color: #1b2945; font-size: 12px; font-weight: 700; letter-spacing: -.15px; }
.panel-subtitle { margin: 4px 0 0; color: #98a2b2; font-size: 8px; }
.as-of-tag, .neutral-count, .review-tag { flex: 0 0 auto; padding: 5px 6px; border-radius: 5px; color: #6d7f9e; background: #f1f4f9; font-size: 7px; font-weight: 700; letter-spacing: .35px; }
.neutral-count { color: #647895; font-weight: 600; letter-spacing: 0; }
.financial-panel { min-height: 217px; }
.progress-summary { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); padding: 14px 8px 12px; }
.progress-ring { position: relative; display: grid; width: 107px; height: 107px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: conic-gradient(#3977ed 0 48%, #e9eef6 48% 100%); }
.progress-ring::before { position: absolute; inset: 9px; border-radius: 50%; background: #fff; content: ""; }
.progress-ring > div { z-index: 1; display: grid; gap: 3px; justify-items: center; }
.progress-ring > div strong { color: #263653; font-size: 24px; font-weight: 700; line-height: 1; }
.progress-ring > div strong span { font-size: 12px; }
.progress-ring > div small { color: #8995a9; font-size: 8px; }
.financial-breakdown { flex: 1; min-width: 0; }
.finance-row { display: flex; min-height: 26px; align-items: center; justify-content: space-between; gap: 7px; border-bottom: 1px solid #f0f2f6; color: #69768c; font-size: 8px; }
.finance-row:last-child { border: 0; }
.finance-row > span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.finance-row > strong { color: #2d3a55; font-size: 9px; font-weight: 650; }
.legend-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; }
.approved-dot { background: #346dea; }.allocation-dot { background: #a78bea; }.release-dot { background: #e1ad53; }.expenditure-dot { background: #41ab7c; }
.release-track-label { display: flex; justify-content: space-between; gap: 8px; color: #738098; font-size: 8px; }
.release-track-label strong { color: #35415a; font-size: 8px; font-weight: 650; }
.release-track-label small { color: #919bad; font-size: 7px; font-weight: 400; }
.release-track { height: 6px; margin-top: 6px; overflow: hidden; border-radius: 5px; background: #edf0f6; }
.release-track > span { display: block; width: 23.5%; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #3876ed, #67a0ff); }
.release-track-foot { display: flex; justify-content: space-between; gap: 6px; margin-top: 5px; color: #929daf; font-size: 7px; }
.taluka-panel { min-height: 217px; }
.taluka-list { display: grid; gap: 11px; margin: 14px 0 9px; }
.taluka-row { display: grid; grid-template-columns: minmax(91px, 1fr) minmax(68px, 1.5fr) 30px; align-items: center; gap: 9px; }
.taluka-name { display: grid; gap: 2px; color: #44516a; font-size: 8px; font-weight: 600; }
.taluka-name small { color: #9ba5b5; font-size: 7px; font-weight: 400; }
.taluka-track { height: 7px; overflow: hidden; border-radius: 5px; background: #eef1f6; }
.taluka-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4287ee, #43b9b0); }
.taluka-pct { color: #42526e; font-size: 8px; font-weight: 700; text-align: right; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: #3769d1; font-size: 8px; font-weight: 600; }
.text-link .icon { width: 12px; height: 12px; }
.alert-panel { min-height: 217px; border-color: #ebe8e3; background: linear-gradient(150deg, #fff 30%, #fffcf7); }
.alert-heading { display: flex; align-items: center; gap: 7px; }
.alert-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 7px; color: #c98f37; background: #fff4df; }
.alert-icon .icon { width: 15px; height: 15px; }
.review-tag { color: #a9782b; background: #fff3d9; }
.count-comparison { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin: 17px 0 11px; padding: 11px 9px; border: 1px solid #f0eadf; border-radius: 7px; background: rgba(255,255,255,.75); }
.count-comparison > div { display: grid; gap: 3px; }
.count-comparison > div > strong { color: #293753; font-size: 23px; line-height: 1; }
.count-comparison > div > span { color: #858fa1; font-size: 7px; }
.count-divider { color: #c4ad84; font-size: 8px; }
.alert-explanation { margin: 0; color: #7c8492; font-size: 8px; line-height: 1.55; }
.alert-explanation strong { color: #55637a; font-weight: 650; }
.alert-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 9px; padding-top: 8px; border-top: 1px solid #f1ece4; color: #9a835e; font-size: 7px; line-height: 1.45; }
.alert-note .icon { width: 12px; height: 12px; flex: 0 0 auto; }
.schedule-panel, .programme-panel, .low-progress-panel { min-height: 160px; }
.panel-head-icon { width: 17px; height: 17px; color: #9aa7bb; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.schedule-items { display: grid; gap: 2px; margin-top: 12px; }
.schedule-item { display: grid; grid-template-columns: 40px minmax(90px, 1fr) auto; align-items: center; gap: 8px; min-height: 36px; padding: 3px 0; border-bottom: 1px solid #f0f2f6; }
.schedule-year { display: grid; width: 34px; height: 24px; place-items: center; border-radius: 5px; color: #38726c; background: #eaf6f2; font-size: 9px; font-weight: 700; }
.schedule-year.future { color: #775bad; background: #f2edfa; }
.schedule-item > div { display: grid; gap: 3px; }
.schedule-item > div strong { color: #43516a; font-size: 8px; font-weight: 600; }
.schedule-item > div small { color: #9aa4b4; font-size: 7px; }
.schedule-item > b { color: #32425e; font-size: 14px; }
.schedule-item > b small { color: #949eae; font-size: 7px; font-weight: 400; }
.schedule-callout { display: flex; gap: 6px; margin-top: 8px; color: #909bab; font-size: 7px; line-height: 1.4; }
.schedule-callout .icon { width: 11px; height: 11px; flex: 0 0 auto; color: #9a8a69; }
.portfolio-total { display: flex; align-items: baseline; gap: 7px; margin: 12px 0 10px; }
.portfolio-total strong { color: #283754; font-size: 22px; }
.portfolio-total span { color: #909bad; font-size: 8px; }
.portfolio-row { margin-bottom: 12px; }
.portfolio-label { display: flex; justify-content: space-between; margin-bottom: 5px; color: #606e85; font-size: 8px; }
.portfolio-label > span { display: flex; align-items: center; gap: 6px; }
.portfolio-label > strong { color: #394761; font-size: 8px; }
.portfolio-label small { color: #9aa3b1; font-size: 7px; font-weight: 400; }
.water-dot { background: #3475ed; }.drainage-dot { background: #34b394; }
.portfolio-bar { height: 6px; overflow: hidden; border-radius: 5px; background: #eef1f6; }
.portfolio-bar span { display: block; height: 100%; border-radius: inherit; }
.water-bar { width: 57.69%; background: linear-gradient(90deg, #3575eb, #70a5ff); }
.drainage-bar { width: 42.31%; background: linear-gradient(90deg, #2ea884, #80d0b0); }
.programme-foot { margin-top: 4px; color: #9ba4b3; font-size: 7px; }
.flag-count { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; color: #bb8434; background: #fff3dc; font-size: 9px; font-weight: 700; }
.followup-list { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 5px; margin: 10px 0 7px; }
.followup-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; overflow: hidden; padding: 5px 7px; border: 1px solid #eff1f4; border-radius: 6px; }
.followup-row > span:first-child { min-width: 0; flex: 1; overflow: hidden; color: #56637a; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.followup-row > span:first-child strong { color: #33415c; font-size: 8px; }
.followup-pct { flex: 0 0 auto; color: #ab7737; font-size: 8px; font-weight: 700; }
.register-panel { padding: 15px 0 0; }
.register-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 0 15px 12px; }
.register-heading h2 { font-size: 13px; }
.register-actions { display: flex; align-items: center; gap: 7px; }
.search-box { display: flex; width: 280px; height: 40px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #e7ebf2; border-radius: 6px; color: #000; background: white; }
.search-box .icon { width: 16px; height: 16px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: #000; background: transparent; font-size: 14px; font-weight: 700; }
.search-box input::placeholder { color: #333; font-weight: 600; }
.compact-select { height: 40px; }
.compact-select select { min-width: 110px; }
.filter-summary { display: flex; justify-content: space-between; gap: 10px; padding: 8px 15px; border-top: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; color: #8490a4; background: #fafbfd; font-size: 8px; }
.filter-summary > span:first-child { color: #586780; font-weight: 600; }
.register-wrap { width: 100%; overflow: auto; scrollbar-color: #c8d1e0 #f4f6fa; scrollbar-width: thin; }
.register-table { width: 100%; min-width: 1120px; border-collapse: collapse; text-align: left; }
.register-table thead th { position: sticky; z-index: 1; top: 68px; height: 35px; padding: 0 8px; border-bottom: 1px solid #e9edf4; color: #8490a4; background: #f8f9fc; font-size: 7px; font-weight: 700; letter-spacing: .38px; white-space: nowrap; }
.register-table thead th small { display: block; margin-top: 2px; color: #a0a9b7; font-size: 6px; font-weight: 400; letter-spacing: 0; }
.register-table tbody td { height: 47px; padding: 6px 8px; border-bottom: 1px solid #edf0f4; color: #526079; font-size: 8px; vertical-align: middle; }
.register-table tbody tr:hover { background: #fafcff; }
.register-table tbody tr:last-child td { border-bottom: 0; }
.register-table tbody td:first-child { width: 40px; color: #97a2b3; font-size: 7px; font-weight: 600; }
.register-table tbody td:nth-child(n+6):nth-child(-n+10) { color: #3e4d69; font-variant-numeric: tabular-nums; font-weight: 550; text-align: right; white-space: nowrap; }
.register-table tbody td:nth-child(2) { width: 235px; min-width: 195px; }
.register-table tbody td:nth-child(2) strong { display: block; max-width: 255px; overflow: hidden; color: #34425d; font-size: 8px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; }
.register-table tbody td:nth-child(2) small { display: block; margin-top: 3px; color: #929daf; font-size: 7px; }
.scheme-id { color: #6382bc; font-weight: 650; }
.programme-tag { display: inline-flex; min-width: 32px; justify-content: center; padding: 3px 5px; border-radius: 4px; color: #446fae; background: #edf3fb; font-size: 7px; font-weight: 700; }
.programme-tag.adp { color: #8765ab; background: #f3eef9; }
.contractor-cell { max-width: 150px; overflow: hidden; color: #738098 !important; font-size: 7px !important; text-overflow: ellipsis; white-space: nowrap; }
.progress-cell { min-width: 75px; }
.progress-values { display: flex; justify-content: space-between; gap: 6px; color: #56647d; font-size: 7px; font-weight: 600; white-space: nowrap; }
.progress-values span:last-child { color: #8591a4; font-weight: 400; }
.mini-progress { height: 4px; margin-top: 5px; overflow: hidden; border-radius: 4px; background: #edf0f5; }
.mini-progress span { display: block; height: 100%; border-radius: inherit; background: #3b8b76; }
.completion-tag { display: inline-block; padding: 4px 5px; border-radius: 4px; color: #587563; background: #edf6f1; font-size: 7px; white-space: nowrap; }
.completion-tag.later { color: #7866a4; background: #f2eff9; }
.empty-state { padding: 28px; color: #8290a5; font-size: 11px; text-align: center; }
.register-footer { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid #edf0f5; color: #919cad; background: #fafbfd; font-size: 7px; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 1px 2px; color: #97a1b1; font-size: 7px; letter-spacing: .35px; }
.page-footer > span:last-child { display: flex; align-items: center; gap: 7px; letter-spacing: 0; }
.page-footer strong { color: #66738b; font-weight: 600; }
.toast { position: fixed; z-index: 50; right: 22px; bottom: 20px; max-width: calc(100vw - 40px); padding: 11px 15px; border: 1px solid #283d65; border-radius: 8px; color: #fff; background: #14284b; box-shadow: 0 10px 28px rgba(9, 24, 54, .2); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .18s; }
.toast.visible { opacity: 1; transform: translateY(0); }
.sidebar-scrim { display: none; }
@media (min-width: 1600px) {
  .page-content { padding-right: 38px; padding-left: 38px; }
  .metrics-grid, .overview-grid, .workplan-grid { gap: 15px; }
  .metric-card { min-height: 116px; padding: 14px; }
  .panel { padding: 16px; }
}
@media (max-width: 1370px) {
  .sidebar { width: 220px; }
  .main-content { margin-left: 220px; }
  .topbar { padding-right: 21px; padding-left: 21px; }
  .page-content { padding-right: 21px; padding-left: 21px; }
  .metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric-card { min-height: 100px; }
  .metric-value { font-size: 18px; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .alert-panel { grid-column: 1 / -1; min-height: auto; }
  .alert-panel .alert-explanation { max-width: 600px; }
  .workplan-grid { grid-template-columns: 1fr 1fr; }
  .low-progress-panel { grid-column: 1 / -1; }
  .low-progress-panel .followup-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sidebar { z-index: 40; width: 245px; transform: translateX(-100%); transition: transform .22s ease; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-scrim { position: fixed; z-index: 30; inset: 0; border: 0; background: rgba(7, 17, 38, .43); }
  .sidebar-scrim.visible { display: block; }
  .main-content { margin-left: 0; }
  .mobile-menu { display: grid !important; width: 32px; height: 32px; }
  .topbar { gap: 10px; padding-right: 17px; padding-left: 17px; }
  .topbar-left { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 9px; align-items: center; }
  .topbar-left .mobile-menu { grid-row: span 2; }
  .topbar-left > p { grid-column: 2; }
  .page-content { padding-right: 18px; padding-left: 18px; }
  .register-table thead th { top: 68px; }
}
@media (max-width: 650px) {
  .topbar { min-height: 61px; padding-right: 12px; padding-left: 12px; }
  .topbar-left > p { display: none; }
  .breadcrumbs { gap: 5px; font-size: 8px; }
  .topbar-right { gap: 6px; }
  .report-status { display: none; }
  .topbar-divider { display: none; }
  .engineer-avatar { width: 28px; height: 28px; }
  .engineer-label strong { font-size: 8px; }
  .engineer-label small { font-size: 7px; }
  .page-content { padding: 18px 12px 14px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 11px; }
  .page-heading h1 { font-size: 20px; }
  .page-heading > div > p { font-size: 9px; }
  .heading-actions { width: 100%; }
  .heading-actions .select-wrap { flex: 1; }
  .heading-actions .select-wrap select { width: 100%; }
  .button-primary { flex: 1; }
  .report-strip { grid-template-columns: 32px 1fr; gap: 8px; padding: 10px; }
  .report-section { grid-column: 2; min-height: 20px; padding-left: 0; border-left: 0; }
  .report-section + .report-section { padding-top: 5px; border-top: 1px solid #edf0f5; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .metric-card { min-height: 100px; padding: 10px 9px; }
  .metric-top { font-size: 8px; }
  .metric-icon { width: 22px; height: 22px; }
  .metric-value { font-size: clamp(14px, 4.2vw, 18px); }
  .metric-value small { font-size: 8px; }
  .metric-foot { gap: 4px; font-size: 7px; }
  .overview-grid, .workplan-grid { grid-template-columns: 1fr; gap: 9px; }
  .alert-panel, .low-progress-panel { grid-column: auto; }
  .low-progress-panel .followup-list { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 12px 11px; }
  .financial-panel, .taluka-panel, .alert-panel, .schedule-panel, .programme-panel, .low-progress-panel { min-height: initial; }
  .register-panel { padding-right: 0; padding-left: 0; }
  .register-heading { align-items: flex-start; flex-direction: column; padding-right: 11px; padding-left: 11px; }
  .register-actions { width: 100%; }
  .search-box { flex: 1; width: auto; }
  .filter-summary { padding-right: 11px; padding-left: 11px; font-size: 7px; }
  .register-footer { flex-direction: column; }
  .page-footer { align-items: flex-start; flex-direction: column; padding-top: 13px; }
}
@media (max-width: 370px) {
  .page-content { padding-right: 9px; padding-left: 9px; }
  .metric-card { padding-right: 7px; padding-left: 7px; }
  .metric-top { font-size: 7px; }
  .metric-value { font-size: 14px; }
  .fy-chip { margin-left: 0; }
  .count-comparison { gap: 4px; padding-right: 6px; padding-left: 6px; }
}

/* Keep the report content, but restore the vivid dashboard reference theme. */
:root {
  background: #f3f6fb;
  --navy: #081634;
  --blue: #2864f4;
  --shadow: 0 3px 13px rgba(29, 49, 91, .065);
}
body { background: #f3f6fb; }
.sidebar {
  width: 208px;
  padding: 16px 13px 13px;
  background: linear-gradient(180deg, #071633 0%, #0a1b3e 100%);
}
.main-content { margin-left: 208px; }
.brand { padding-bottom: 22px; }
.brand-mark { color: #ffd354; border-color: rgba(255, 209, 75, .26); background: linear-gradient(145deg, #273b68, #15274c); }
.brand-copy strong span { color: #f4cc63; }
.workspace-label { color: #8493ad; }
.nav-item { min-height: 39px; font-size: 12px; }
.nav-item.active { background: linear-gradient(100deg, #1553ed, #236af4); box-shadow: 0 6px 13px rgba(21, 83, 237, .24); }
.document-card {
  padding: 12px 11px 10px;
  border-color: rgba(231, 185, 72, .32);
  background: linear-gradient(145deg, rgba(255, 208, 86, .12), rgba(255, 255, 255, .025));
}
.document-icon { color: #ffd350; background: rgba(255, 201, 63, .14); }
.document-label { color: #edc951; }
.document-card > strong { font-size: 11px; }
.document-time { color: #d5dced; }
.document-office { color: #aebbd1; }
.topbar { min-height: 66px; background: rgba(255, 255, 255, .96); }
.page-content { padding-top: 22px; }
.page-heading h1 { font-size: 22px; }
.report-strip { background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.metrics-grid { gap: 12px; }
.metric-card {
  min-height: 125px;
  padding: 13px 13px 11px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  box-shadow: 0 5px 12px rgba(41, 62, 111, .12);
}
.metric-card::after { border-color: rgba(255, 255, 255, .1); }
.metric-top { color: rgba(255, 255, 255, .94); font-size: 10px; }
.metric-icon { border: 1px solid rgba(255, 255, 255, .24); color: #fff !important; background: rgba(255, 255, 255, .15) !important; }
.metric-icon .icon { width: 16px; height: 16px; }
.metric-value { color: #fff; font-size: clamp(15px, 1.32vw, 19px); }
.metric-value small { color: rgba(255, 255, 255, .82); }
.metric-foot { color: rgba(255, 255, 255, .85); }
.metric-accent { color: #fff; }
.metric-blue { border: 0; background: linear-gradient(130deg, #8050f5, #6335e7); }
.metric-gold { border: 0; background: linear-gradient(130deg, #ffad16, #ff8d00); }
.metric-teal { border: 0; background: linear-gradient(130deg, #3785fa, #245fe9); }
.metric-violet { border: 0; background: linear-gradient(130deg, #13c77d, #06a761); }
.metric-green { border: 0; background: linear-gradient(130deg, #f34579, #df1055); }
.metric-slate { border: 0; background: linear-gradient(130deg, #14c4ca, #05a7b5); }
.panel { border-color: #e9edf4; border-radius: 11px; box-shadow: var(--shadow); }
.panel-header h2, .register-heading h2 { font-size: 13px; }
.section-kicker { color: #7183a1; }
.as-of-tag { color: #40577f; background: #f0f4fb; }
.progress-ring { background: conic-gradient(#2864f4 0 48%, #e9eef6 48% 100%); }
.release-track > span { background: linear-gradient(90deg, #2864f4, #628bff); }
.taluka-track span { background: linear-gradient(90deg, #2864f4, #5089ff); }
.alert-panel { border-color: #f4e3e7; background: linear-gradient(145deg, #fff, #fff3f5); }
.alert-icon { color: #e83053; background: #ffe8ed; }
.alert-heading h2 { color: #d62f50; }
.review-tag { color: #d73853; background: #ffe8ec; }
.count-comparison { border-color: #f3e3e7; }
.alert-note { border-color: #f2e6e8; color: #a46d76; }
.schedule-year { color: #fff; background: #13b86f; }
.schedule-year.future { color: #fff; background: #7541e8; }
.water-bar { background: linear-gradient(90deg, #2864f4, #5e8bff); }
.drainage-bar { background: linear-gradient(90deg, #11ba66, #63cf80); }
.flag-count { color: #fff; background: #ed405d; }
.register-table thead th { color: #263653; background: #f1f5fb; }
.register-table tbody tr:hover { background: #f6f9ff; }
.mini-progress span { background: linear-gradient(90deg, #2864f4, #19b477); }
.completion-tag { color: #17784d; background: #e8f7ef; }
.completion-tag.later { color: #6340ba; background: #f0eafe; }
.text-link, .button-primary { color: #fff; }
.text-link { color: #145ce9; }

@media (min-width: 1600px) {
  .sidebar { width: 208px; }
  .main-content { margin-left: 208px; }
}
@media (max-width: 1370px) {
  .sidebar { width: 208px; }
  .main-content { margin-left: 208px; }
}
@media (max-width: 900px) {
  .sidebar { width: 245px; }
  .main-content { margin-left: 0; }
}
@media (max-width: 650px) {
  .metric-card { min-height: 112px; padding: 11px 9px; }
}

/* Shared controls, route pages, print-ready exports, and stronger data legibility. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.page-content { font-size: 14px; }
.page-heading h1 { font-size: 25px; }
.page-heading > div > p, .topbar-left > p, .panel-subtitle { font-size: 11px; }
.panel-header h2, .register-heading h2 { font-size: 15px; }
.section-kicker, .eyebrow { font-size: 9px; }
.panel { padding: 16px; }
.metric-card { min-height: 132px; padding: 14px; }
.metric-top { font-size: 11px; }
.metric-value { font-size: clamp(17px, 1.45vw, 21px); }
.metric-foot { font-size: 10px; }
.metric-icon { width: 29px; height: 29px; }
.metric-icon .icon { width: 18px; height: 18px; }
.breadcrumbs { font-size: 11px; }
.topbar-left > p { font-size: 10px; }
.document-label { font-size: 9px; }
.document-card > strong { font-size: 12px; }
.document-time, .document-office { font-size: 10px; }
.sidebar-footer { font-size: 9px; }
.sidebar-logout { margin-left: auto; padding: 4px 7px; border: 1px solid rgba(170, 190, 222, .22); border-radius: 5px; color: #dce6f7; background: rgba(255, 255, 255, .06); font-size: 9px; cursor: pointer; }
.button-secondary, .button-danger {
  display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 7px; padding: 0 12px;
  border: 1px solid #e0e6ef; border-radius: 7px; color: #485773; background: #fff; font-size: 10px; font-weight: 600; cursor: pointer;
}
.button-secondary:hover { border-color: #b9ccf2; color: #275ccb; background: #f8faff; }
.button-secondary .icon { width: 14px; height: 14px; }
.button-danger { border-color: #f0d6da; color: #b63147; background: #fff7f8; }
.button-danger:hover { background: #ffeaed; }
.logout-button { margin-left: 8px; padding: 6px 8px; border: 1px solid #e4e9f1; border-radius: 6px; color: #617089; background: #fff; font-size: 9px; cursor: pointer; }
.logout-button:hover { color: #bd354b; background: #fff6f7; }
.nav-count { font-size: 10px; }

.financial-panel { min-height: 0; }
.financial-panel .panel-header { margin-bottom: 12px; }
.live-progress { display: block; padding: 0; }
.progress-bars { display: grid; gap: 12px; }
.progress-line { display: grid; grid-template-columns: minmax(124px, 1.3fr) auto; gap: 5px 10px; min-height: 0; padding: 0 0 8px; }
.progress-line > span { gap: 8px; color: #56637a; font-size: 10px; }
.progress-line > strong { color: #263551; font-size: 11px; font-variant-numeric: tabular-nums; }
.progress-line .legend-dot { width: 9px; height: 9px; }
.comparison-track, .physical-track { grid-column: 1 / -1; height: 8px; overflow: hidden; border-radius: 8px; background: #edf1f7; }
.comparison-track span, .physical-track span { display: block; height: 100%; min-width: 0; border-radius: inherit; transition: width .32s ease; }
#allocationBar { background: linear-gradient(90deg, #8c55ee, #bb8bff); }
#releaseBar { background: linear-gradient(90deg, #f49a12, #ffc352); }
#expenditureBar { background: linear-gradient(90deg, #159659, #54c987); }
.physical-progress { margin: 0 0 14px; padding: 11px 10px 9px; border: 1px solid #e5edfc; border-radius: 8px; background: #f6f9ff; }
.physical-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.physical-heading > span { display: flex; align-items: center; gap: 7px; color: #455573; font-size: 11px; font-weight: 600; }
.physical-dot { width: 9px; height: 9px; background: #2e68ed; }
.physical-heading > strong { color: #285bd1; font-size: 17px; font-variant-numeric: tabular-nums; }
.physical-track { height: 10px; background: #e7edfa; }
.physical-track span { background: linear-gradient(90deg, #2864f4, #19b7a3); }
.physical-progress .release-track-foot { margin-top: 7px; font-size: 9px; }
.financial-caption { margin-top: 9px; font-size: 9px; }
.financial-panel .allocation-dot { background: #9362e8; }
.financial-panel .release-dot { background: #f3a322; }
.financial-panel .expenditure-dot { background: #1e9d60; }
.progress-summary { gap: 0; }
.taluka-name { font-size: 10px; }
.taluka-name small, .taluka-pct { font-size: 9px; }
.finance-row { font-size: 10px; }
.finance-row > strong { font-size: 11px; }
.alert-explanation, .alert-note { font-size: 9px; }
.count-comparison > div > span { font-size: 8px; }
.schedule-callout, .programme-foot, .followup-row > span:first-child { font-size: 9px; }
.schedule-item > div strong { font-size: 10px; }
.schedule-item > div small { font-size: 9px; }
.schedule-item > b { font-size: 15px; }
.schedule-item > b small { font-size: 8px; }
.portfolio-total span, .portfolio-label, .programme-foot { font-size: 9px; }
.text-link { font-size: 10px; }
.page-footer { font-size: 9px; }

.standalone-register { padding: 0; overflow: hidden; }
.standalone-register .register-heading { align-items: center; padding: 18px; }
.standalone-register .register-heading > div:first-child { min-width: 245px; }
.standalone-register .register-actions { gap: 8px; }
.register-toolbar { display: flex; min-height: 43px; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 17px; border-top: 1px solid #e9edf4; border-bottom: 1px solid #e9edf4; background: #f9fafd; }
.sort-tools { display: flex; align-items: center; gap: 7px; color: #69778e; font-size: 10px; white-space: nowrap; }
.sort-tools > .icon { width: 15px; height: 15px; color: #7a8aa4; }
.sort-tools select { max-width: 200px; height: 29px; padding: 0 7px; border: 1px solid #e3e8f0; border-radius: 5px; outline: 0; color: #43516b; background: white; font-size: 10px; }
.register-toolbar .filter-summary { display: block; padding: 0; border: 0; color: #64728a; background: transparent; font-size: 10px; text-align: right; }
.register-wrap { overflow-x: auto; overflow-y: visible; }
.register-table { min-width: 1480px; table-layout: fixed; }
.register-table thead th { position: static; top: auto; height: 44px; padding: 4px 9px; font-size: 9px; line-height: 1.35; white-space: normal; vertical-align: middle; }
.register-table thead th:nth-child(1) { width: 47px; }
.register-table thead th:nth-child(2) { width: 236px; }
.register-table thead th:nth-child(3) { width: 151px; }
.register-table thead th:nth-child(4) { width: 82px; }
.register-table thead th:nth-child(5) { width: 162px; }
.register-table thead th:nth-child(6), .register-table thead th:nth-child(7), .register-table thead th:nth-child(8), .register-table thead th:nth-child(9), .register-table thead th:nth-child(10) { width: 105px; }
.register-table thead th:nth-child(11) { width: 147px; }
.register-table thead th:nth-child(12) { width: 135px; }
.register-table thead th:nth-child(13) { width: 90px; }
.register-table tbody td { height: 57px; padding: 8px 9px; font-size: 10px; }
.register-table tbody td:nth-child(2) { width: 236px; min-width: 0; }
.register-table tbody td:nth-child(2) strong { display: -webkit-box; overflow: hidden; font-size: 10px; line-height: 1.4; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.register-table tbody td:nth-child(2) small { font-size: 9px; }
.register-table tbody td:first-child { font-size: 9px; }
.register-table tbody td:nth-child(n+6):nth-child(-n+10) { font-size: 10px; }
.register-table tbody td:nth-child(3) { white-space: normal; line-height: 1.35; }
.register-table tbody td:nth-child(5) { white-space: normal; line-height: 1.35; }
.programme-tag, .completion-tag { font-size: 9px; }
.progress-values { font-size: 9px; }
.dual-progress { position: relative; height: 7px; margin-top: 5px; overflow: hidden; border-radius: 5px; background: #eaf0f8; }
.dual-progress span { position: absolute; inset: 0 auto 0 0; display: block; border-radius: inherit; }
.dual-financial { background: linear-gradient(90deg, #f0a029, #ffd070); }
.dual-physical { background: linear-gradient(90deg, #2764f4, #3cbd9d); opacity: .9; }
.sort-header { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; font-weight: 700; letter-spacing: inherit; cursor: pointer; }
.sort-header:hover { color: #245bdb; }
.editable-table thead th { vertical-align: middle; }
.edit-scheme-button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid #dce5f5; border-radius: 5px; color: #315fae; background: #f3f7ff; font-size: 9px; font-weight: 600; cursor: pointer; }
.edit-scheme-button:hover { border-color: #9db9ef; background: #e8f0ff; }
.edit-scheme-button .icon { width: 12px; height: 12px; }
.register-footer { font-size: 9px; }
.scheme-dialog { width: min(790px, calc(100vw - 28px)); max-width: 790px; max-height: min(88vh, 850px); padding: 0; overflow: auto; border: 1px solid #e3e9f2; border-radius: 14px; color: #263551; background: #fff; box-shadow: 0 24px 100px rgba(8, 22, 52, .3); }
.scheme-dialog::backdrop { background: rgba(7, 18, 43, .58); backdrop-filter: blur(3px); }
.scheme-dialog form { padding: 22px; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dialog-heading h2, .settings-card-heading h2, .account-note-panel h2 { margin: 5px 0 0; color: #1b2945; font-size: 18px; }
.dialog-intro { margin: 8px 0 18px; color: #75829a; font-size: 12px; }
.scheme-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.scheme-form-grid label, .settings-form label { display: grid; min-width: 0; gap: 6px; color: #475773; font-size: 11px; font-weight: 600; }
.scheme-form-grid input, .scheme-form-grid select, .scheme-form-grid textarea, .settings-form input { width: 100%; min-width: 0; min-height: 39px; padding: 9px 10px; border: 1px solid #dde4ee; border-radius: 7px; outline: none; color: #2b3953; background: #fff; font-size: 12px; font-weight: 400; }
.scheme-form-grid textarea { min-height: 67px; resize: vertical; }
.scheme-form-grid input:focus, .scheme-form-grid select:focus, .scheme-form-grid textarea:focus, .settings-form input:focus { border-color: #6b93ec; box-shadow: 0 0 0 3px rgba(40, 100, 244, .1); }
.form-field-wide { grid-column: 1 / -1; }
.dialog-actions { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 9px; margin-top: 19px; padding-top: 15px; border-top: 1px solid #ebeff5; }
.dialog-actions .button-primary { min-height: 38px; }
.icon-button { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #e5eaf1; border-radius: 7px; color: #68758d; background: #fff; cursor: pointer; }
.icon-button:hover { color: #2f63d9; background: #f5f8fe; }
.icon-button .icon { width: 16px; height: 16px; }
.form-error { grid-column: 1 / -1; margin: 11px 0 0; padding: 9px 11px; border-radius: 6px; color: #ad2b42; background: #fff0f2; font-size: 11px; }
.toast-error { border-color: #ae3850; background: #743044; }

.settings-content { max-width: 1250px; }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 16px; align-items: start; }
.settings-panel, .account-note-panel { padding: 23px; }
.settings-card-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #ecf0f5; }
.settings-card-heading h2, .account-note-panel h2 { font-size: 17px; }
.settings-card-heading .panel-subtitle { max-width: 500px; line-height: 1.55; }
.settings-icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: #2465ec; background: #edf3ff; }
.settings-icon .icon { width: 19px; height: 19px; }
.settings-form { display: grid; gap: 17px; padding-top: 18px; }
.settings-form input { min-height: 42px; font-size: 13px; }
.settings-form label small { color: #929db0; font-size: 10px; font-weight: 400; }
.new-password-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.settings-save { min-height: 41px; justify-self: start; padding: 0 19px; font-size: 11px; }
.first-login-note { display: grid; gap: 5px; margin-top: 17px; padding: 12px 13px; border: 1px solid #f1d7a7; border-radius: 8px; color: #80602f; background: #fff9ec; font-size: 11px; line-height: 1.5; }
.first-login-note strong { font-size: 12px; }
.form-success { margin: 0; padding: 10px; border-radius: 6px; color: #17734a; background: #eaf7f0; font-size: 11px; }
.account-note-panel { color: #63708a; font-size: 12px; line-height: 1.6; }
.account-note-panel > p { margin: 12px 0; }
.account-note-panel ul { display: grid; gap: 10px; margin: 14px 0 19px; padding-left: 19px; }
.account-note-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #e3eee9; border-radius: 6px; color: #43816c; background: #f2f9f5; font-size: 10px; }
.account-note-required { border-color: #ecd9ae; color: #8d6c2e; background: #fff8e9; }

.login-page { min-height: 100vh; overflow-x: hidden; color: #192744; background: #f5f7fb; }
.login-backdrop { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.login-grid { position: absolute; inset: 0 49% 0 0; opacity: .16; background-image: linear-gradient(rgba(133, 173, 225, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(133, 173, 225, .18) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, #000, transparent); }
.login-orb { position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(3px); animation: login-drift 12s ease-in-out infinite alternate; }
.orb-one { top: -160px; left: 9%; background: radial-gradient(circle, rgba(51, 109, 221, .19), transparent 69%); }
.orb-two { right: 5%; bottom: -180px; background: radial-gradient(circle, rgba(33, 185, 169, .12), transparent 70%); animation-delay: -5s; }
.login-flow { position: absolute; left: 7%; width: 42%; height: 120px; border-top: 1px solid rgba(89, 151, 226, .15); border-radius: 50%; transform: rotate(-18deg); animation: login-flow 9s ease-in-out infinite alternate; }
.flow-one { top: 20%; }.flow-two { top: 24%; left: 12%; animation-delay: -4s; }
.login-layout { position: relative; z-index: 1; display: grid; width: min(1040px, calc(100% - 48px)); min-height: min(690px, calc(100vh - 70px)); grid-template-columns: 1.04fr .96fr; margin: max(35px, calc((100vh - 690px) / 2)) auto; overflow: hidden; border: 1px solid rgba(225, 231, 241, .95); border-radius: 18px; background: #fff; box-shadow: 0 28px 90px rgba(21, 38, 71, .13); animation: login-rise .65s cubic-bezier(.2, .8, .2, 1) both; }
.login-brand-panel { position: relative; display: flex; min-height: 690px; flex-direction: column; overflow: hidden; padding: 34px 38px; color: #f7f9ff; background: linear-gradient(154deg, #091733, #102955 75%, #123c59); }
.login-brand { z-index: 2; display: flex; align-items: center; gap: 10px; }
.login-mark { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(239, 196, 99, .38); border-radius: 11px; color: #f0c664; background: rgba(255, 255, 255, .08); }
.login-mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-brand > span:last-child, .login-mobile-brand > span:last-child { display: grid; gap: 3px; }
.login-brand strong, .login-mobile-brand strong { color: white; font-size: 14px; letter-spacing: 1px; }
.login-brand strong i, .login-mobile-brand strong i { color: #efca68; font-style: normal; }
.login-brand small, .login-mobile-brand small { color: #99a9c2; font-size: 8px; letter-spacing: .85px; }
.login-brand-copy { z-index: 2; max-width: 395px; margin: auto 0 22px; padding-top: 72px; }
.login-kicker, .login-welcome { color: #debd71; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.login-brand-copy h1 { margin: 15px 0 12px; color: #fff; font-size: clamp(28px, 3.2vw, 39px); line-height: 1.19; letter-spacing: -1.1px; }
.login-brand-copy h1 span { color: #9ed7e0; }
.login-brand-copy p { max-width: 360px; color: #b0bdd0; font-size: 12px; line-height: 1.75; }
.login-stat-row { z-index: 2; display: flex; align-items: center; gap: 17px; padding: 17px 0; border-top: 1px solid rgba(207, 224, 245, .15); }
.login-stat-row div { display: grid; gap: 4px; }
.login-stat-row strong { color: white; font-size: 16px; }
.login-stat-row span { color: #9fadc1; font-size: 9px; }
.login-stat-row > i { width: 1px; height: 28px; background: rgba(207, 224, 245, .18); }
.login-cover-decoration { position: absolute; top: 18%; right: -32px; display: grid; width: 220px; height: 220px; place-items: center; opacity: .32; }
.login-cover-decoration svg { z-index: 1; width: 71px; height: 71px; fill: none; stroke: #8bd1de; stroke-width: 1.3; }
.cover-ring { position: absolute; border: 1px solid rgba(125, 200, 221, .32); border-radius: 50%; animation: login-rotate 28s linear infinite; }
.ring-a { inset: 4px; border-style: dashed; }.ring-b { inset: 27px; transform: rotateX(67deg); }.ring-c { inset: 48px; border-color: rgba(235, 202, 125, .35); }
.login-footer-caption { z-index: 2; color: #8395ae; font-size: 8px; letter-spacing: 1.2px; }
.login-form-panel { display: grid; place-items: center; padding: 40px; background: #fff; }
.login-form-card { width: min(100%, 370px); animation: login-rise .75s .07s both; }
.login-mobile-brand { display: none; }
.login-form-card h2 { margin: 10px 0 8px; color: #182642; font-size: 27px; line-height: 1.23; letter-spacing: -.6px; }
.login-description { margin-bottom: 27px; color: #8995a9; font-size: 11px; line-height: 1.6; }
.login-form { display: grid; gap: 9px; }
.login-form > label { margin-top: 6px; color: #4d5a73; font-size: 10px; font-weight: 650; }
.login-input-wrap { display: flex; min-height: 44px; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid #e0e6ef; border-radius: 7px; color: #8693a9; background: #fbfcfe; transition: border-color .17s, box-shadow .17s, background .17s; }
.login-input-wrap:focus-within { border-color: #5986eb; background: white; box-shadow: 0 0 0 3px rgba(48, 105, 238, .1); }
.login-input-wrap > svg, .password-visibility svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-input-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; color: #283651; background: transparent; font-size: 11px; }
.login-input-wrap input::placeholder { color: #a7b0bf; }
.password-visibility { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border: 0; color: #8794a8; background: transparent; cursor: pointer; }
.login-error { margin: 3px 0; padding: 9px; border-radius: 6px; color: #a82c42; background: #fff0f3; font-size: 10px; }
.login-submit { display: flex; min-height: 45px; align-items: center; justify-content: center; gap: 9px; margin-top: 9px; border: 0; border-radius: 7px; color: #fff; background: linear-gradient(105deg, #2864ed, #3779f4); box-shadow: 0 7px 16px rgba(47, 104, 229, .2); font-size: 11px; font-weight: 650; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.login-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(47, 104, 229, .26); }
.login-submit:disabled { opacity: .7; cursor: wait; }
.login-submit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-secure-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 15px; color: #929db0; font-size: 9px; }
.login-secure-note svg { width: 13px; height: 13px; fill: none; stroke: #5eac89; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-report-note { display: grid; grid-template-columns: 8px auto 1fr; align-items: center; gap: 8px; margin-top: 29px; padding: 12px; border: 1px solid #e9edf3; border-radius: 7px; color: #8e99ab; background: #fbfcfe; font-size: 8px; }
.login-report-note .status-light { width: 7px; height: 7px; }
.login-report-note strong { color: #51607a; font-size: 9px; text-align: right; }
.login-mobile-footer { display: none; }
@keyframes login-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes login-drift { to { transform: translate3d(16px, 22px, 0) scale(1.09); } }
@keyframes login-flow { to { transform: translate(18px, 20px) rotate(-12deg); } }
@keyframes login-rotate { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .standalone-register .register-heading { align-items: flex-start; flex-direction: column; }
  .standalone-register .register-heading > div:first-child { min-width: 0; }
}
@media (max-width: 650px) {
  .page-heading h1 { font-size: 22px; }
  .panel-header h2, .register-heading h2 { font-size: 14px; }
  .metric-card { min-height: 117px; }
  .metric-top { font-size: 9px; }
  .metric-foot { font-size: 9px; }
  .report-strip { min-height: 0; }
  .report-section { font-size: 10px; }
  .standalone-register .register-heading { gap: 12px; padding: 14px 12px; }
  .standalone-register .register-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; width: 100%; }
  .standalone-register .search-box { width: 100%; min-width: 100px; }
  .standalone-register .compact-select { padding: 0 5px; }
  .standalone-register .compact-select select { min-width: 57px; max-width: 110px; font-size: 13px; font-weight: 700; }
  .register-toolbar { align-items: flex-start; flex-direction: column; padding: 8px 12px; }
  .register-toolbar .filter-summary { text-align: left; }
  .scheme-dialog form { padding: 15px; }
  .scheme-form-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .form-field-wide { grid-column: auto; }
  .dialog-actions { grid-template-columns: minmax(0, 1fr) auto auto; }
  .dialog-actions > span { display: none; }
  .dialog-actions .button-danger { grid-column: 1 / -1; justify-self: start; }
  .settings-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .settings-panel, .account-note-panel { padding: 17px; }
  .new-password-fields { grid-template-columns: minmax(0, 1fr); }
  .login-layout { width: min(480px, calc(100% - 24px)); min-height: initial; grid-template-columns: 1fr; margin: 12px auto; border-radius: 14px; }
  .login-brand-panel { display: none; }
  .login-form-panel { display: block; padding: 24px 20px 18px; }
  .login-mobile-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 34px; }
  .login-mobile-brand .login-mark { width: 35px; height: 35px; color: #aa812c; border-color: #efe3c5; background: #fffaf0; }
  .login-mobile-brand strong { color: #172543; font-size: 12px; }
  .login-mobile-brand small { color: #8692a5; font-size: 7px; }
  .login-form-card h2 { font-size: 25px; }
  .login-report-note { grid-template-columns: 8px auto; }
  .login-report-note strong { grid-column: 2; text-align: left; }
  .login-mobile-footer { display: block; padding: 0 12px 13px; color: #919bae; font-size: 8px; text-align: center; }
  .login-orb { width: 240px; height: 240px; }
}
@media (max-width: 370px) {
  .page-content { padding-right: 9px; padding-left: 9px; }
  .metric-top { font-size: 8px; }
  .register-actions .compact-select:last-child { display: none; }
  .settings-card-heading { align-items: flex-start; }
  .login-form-panel { padding-right: 15px; padding-left: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@page { size: A4 landscape; margin: 12mm; }

/* ===== Lighter sidebar, colourful navigation, animated progress bars, wider register columns, register pages ===== */
.sidebar {
  width: 232px;
  color: #26385c;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fe 55%, #eaf1fc 100%);
  border-right: 1px solid #dfe8f5;
  box-shadow: 6px 0 22px rgba(30, 60, 120, .06);
  overflow-y: auto;
}
.main-content { margin-left: 232px; }
@media (min-width: 1600px), (max-width: 1370px) { .sidebar { width: 232px; } .main-content { margin-left: 232px; } }
@media (max-width: 900px) { .sidebar { width: 262px; } .main-content { margin-left: 0; } }
.brand { color: #12244a; padding-bottom: 18px; }
.brand-mark.brand-logo { width: 46px; height: 46px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.brand-logo img { display: block; width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(20, 50, 110, .2)); }
.brand-copy strong { color: #12244a; font-size: 15px; }
.brand-copy strong span { color: #d89a12; }
.brand-copy small { color: #6b7d9d; font-size: 9px; }
.workspace-label { color: #5f7396; font-size: 10px; }
.nav-list { gap: 4px; }
.nav-item {
  --tone: #2864f4;
  min-height: 43px; gap: 11px; padding: 0 10px 0 7px; border-radius: 11px;
  color: #2b3d60; font-size: 13px; font-weight: 600; transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.nav-item[data-tone="blue"] { --tone: #2864f4; }
.nav-item[data-tone="violet"] { --tone: #7c4ddc; }
.nav-item[data-tone="green"] { --tone: #12a05f; }
.nav-item[data-tone="orange"] { --tone: #f08a1c; }
.nav-item[data-tone="pink"] { --tone: #e8407a; }
.nav-item[data-tone="teal"] { --tone: #0f9f8e; }
.nav-item[data-tone="amber"] { --tone: #d99a00; }
.nav-item[data-tone="sky"] { --tone: #1c9bd7; }
.nav-item[data-tone="rose"] { --tone: #e5484d; }
.nav-item[data-tone="lime"] { --tone: #67a21d; }
.nav-item[data-tone="indigo"] { --tone: #4f46e5; }
.nav-item[data-tone="slate"] { --tone: #5a6b8c; }
.nav-chip {
  display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 9px;
  color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 22%, transparent);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-chip .icon, .nav-item .nav-chip .icon { width: 17px; height: 17px; color: inherit; }
.nav-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-item:hover { color: #12244a; background: color-mix(in srgb, var(--tone) 9%, #fff); }
.nav-item:hover .nav-chip { transform: scale(1.07); }
.nav-item.active { color: #12244a; background: color-mix(in srgb, var(--tone) 16%, #fff); box-shadow: 0 4px 12px color-mix(in srgb, var(--tone) 18%, transparent); }
.nav-item.active .nav-chip { color: #fff; background: var(--tone); box-shadow: 0 3px 8px color-mix(in srgb, var(--tone) 40%, transparent); }
.nav-item.active::before { inset: 9px auto 9px -13px; width: 4px; background: var(--tone); }
.nav-count { margin-left: auto; padding: 2px 8px; color: var(--tone); background: color-mix(in srgb, var(--tone) 13%, #fff); font-size: 11px; font-weight: 700; }
.nav-group { margin: 14px 10px 4px; color: #6b7d9d; font-size: 10px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; }
.document-card { border-color: #dfe8f5; background: linear-gradient(145deg, #fff8e6, #ffffff); box-shadow: 0 4px 14px rgba(40, 70, 130, .06); }
.document-icon { color: #c98a00; background: #fff0c9; }
.document-label { color: #b27a00; }
.document-card > strong { color: #12244a; }
.document-time { color: #4c6082; }
.document-office { color: #6b7d9d; }
.document-divider { background: #e3eaf6; }
.sidebar-footer { border-top-color: #dfe8f5; color: #5f7396; }
.sidebar-footer strong { color: #12244a; }
.sidebar-logout { border-color: #d8e2f2; color: #3b4f78; background: #fff; }
.sidebar-logout:hover { color: #c22f48; border-color: #f0c4cb; background: #fff6f7; }

/* animated progress bars: grow in on load, ease to new values, with a soft moving highlight */
.comparison-track span, .physical-track span, .taluka-track span, .portfolio-bar span,
.mini-progress span, .dual-progress span, .release-track > span {
  position: relative; overflow: hidden; width: var(--w, 0%);
  transition: width .9s cubic-bezier(.2, .8, .2, 1);
  animation: bar-grow 1.1s cubic-bezier(.2, .8, .2, 1) both;
}
.comparison-track span::after, .physical-track span::after, .taluka-track span::after, .portfolio-bar span::after,
.mini-progress span::after, .dual-progress span::after, .release-track > span::after {
  position: absolute; inset: 0; content: ""; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, .5) 50%, transparent 75%);
  animation: bar-shimmer 3.2s ease-in-out 1.2s infinite;
}
.dual-progress span { position: absolute; }
.water-bar { --w: 57.69%; } .drainage-bar { --w: 42.31%; } .release-track > span { --w: 23.5%; }
@keyframes bar-grow { from { width: 0; } to { width: var(--w, 0%); } }
@keyframes bar-shimmer { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
#approvedBar { background: linear-gradient(90deg, #2864f4, #6b9bff); }
.approved-dot { background: #2864f4; }

/* numbers on the financial and taluka graphs */
.bar-calc { grid-column: 1 / -1; margin-top: -1px; color: #6b7d9d; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.physical-progress .bar-calc { margin-top: 6px; }
.calc-note { margin: 4px 0 8px; padding: 8px 10px; border-radius: 8px; color: #5b6f94; background: #f3f7fe; font-size: 10px; line-height: 1.5; }
.taluka-list { gap: 16px; }
.taluka-row { grid-template-columns: minmax(96px, 1fr) minmax(70px, 1.6fr) 46px; row-gap: 7px; }
.taluka-name { font-size: 12px; }
.taluka-name small { font-size: 10px; }
.taluka-pct { color: #1e4fd1; font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.taluka-track { height: 9px; }
.taluka-nums { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.taluka-nums > span { display: grid; gap: 1px; padding: 5px 7px; border-radius: 7px; background: #f4f7fd; }
.taluka-nums i { color: #7183a1; font-size: 9px; font-style: normal; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.taluka-nums b { color: #1f3158; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.taluka-nums em { color: #12804d; font-size: 9.5px; font-style: normal; font-weight: 700; }
.taluka-nums > span:nth-child(1) { background: #eef3ff; }
.taluka-nums > span:nth-child(2) { background: #f3eefe; }
.taluka-nums > span:nth-child(3) { background: #eaf8f1; }
.taluka-nums > span:nth-child(4) { background: #fff4e5; }
.progress-line > span { font-size: 12px; }
.progress-line > strong { font-size: 12.5px; }
.physical-heading > span { font-size: 12.5px; }

/* scheme register: roomier Taluka and Contractor columns */
.register-table { min-width: 1860px; }
.register-table thead th:nth-child(2) { width: 270px; }
.register-table thead th:nth-child(3) { width: 200px; }
.register-table thead th:nth-child(4) { width: 92px; }
.register-table thead th:nth-child(5) { width: 270px; }
.register-table thead th:nth-child(n+6):nth-child(-n+10) { width: 112px; }
.register-table thead th:nth-child(11) { width: 165px; }
.register-table thead th:nth-child(12) { width: 150px; }
.register-table thead th:nth-child(13) { width: 98px; }
.register-table thead th { font-size: 10px; }
.register-table tbody td { font-size: 11.5px; }
.register-table tbody td:nth-child(3), .register-table tbody td:nth-child(5) { font-size: 12px; font-weight: 600; white-space: normal; line-height: 1.4; color: #2b3d60; }
.register-table tbody td:nth-child(2) strong { font-size: 11.5px; }
.contractor-cell { max-width: none; overflow: visible; font-size: 12px !important; text-overflow: clip; white-space: normal; }
.register-table tbody td:nth-child(n+6):nth-child(-n+10) { font-size: 11.5px; }

/* register pages */
.entry-table { width: 100%; border-collapse: collapse; text-align: left; }
.entry-table thead th { height: 44px; padding: 6px 10px; border-bottom: 1px solid #e9edf4; color: #263653; background: #f1f5fb; font-size: 10px; font-weight: 700; letter-spacing: .3px; line-height: 1.35; vertical-align: middle; }
.entry-table tbody td { padding: 10px; border-bottom: 1px solid #edf0f4; color: #2b3d60; font-size: 12px; line-height: 1.45; vertical-align: top; }
.entry-table tbody tr:hover { background: #f6f9ff; }
.entry-table .col-no { width: 46px; color: #7a8aa4; font-size: 11px; font-weight: 600; }
.entry-table .col-text { min-width: 130px; }
.entry-table .col-wide { min-width: 250px; }
.entry-table .col-date { min-width: 108px; white-space: nowrap; }
.entry-table .col-num { min-width: 110px; font-variant-numeric: tabular-nums; text-align: right; }
.entry-table .col-action { width: 92px; }
.register-pages-panel { margin-top: 16px; }
.register-pages-panel .panel-header { align-items: flex-start; gap: 14px; }
.register-def-list { display: grid; gap: 8px; }
.register-def { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border: 1px solid #e3eaf6; border-radius: 10px; background: #f9fbff; }
.register-def strong { display: block; color: #1b2945; font-size: 13px; }
.register-def small { color: #6b7d9d; font-size: 11px; }
.register-def-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.column-editor { margin-top: 16px; padding: 12px; border: 1px solid #e3eaf6; border-radius: 10px; background: #f9fbff; }
.column-editor-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: #1b2945; font-size: 12px; }
.column-editor small { display: block; margin-top: 8px; color: #6b7d9d; font-size: 10.5px; }
.column-row { display: grid; grid-template-columns: minmax(0, 1fr) 118px auto 32px; align-items: center; gap: 8px; margin-top: 6px; }
.column-row input.column-name, .column-row select { min-height: 36px; padding: 6px 9px; border: 1px solid #dde4ee; border-radius: 7px; color: #2b3953; background: #fff; font-size: 12px; }
.column-required { display: flex; align-items: center; gap: 5px; color: #475773; font-size: 11px; white-space: nowrap; }
.column-remove { width: 32px; height: 32px; border: 1px solid #f0d6da; border-radius: 7px; color: #b63147; background: #fff7f8; font-size: 18px; line-height: 1; cursor: pointer; }
@media (max-width: 650px) {
  .taluka-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .column-row { grid-template-columns: minmax(0, 1fr) 100px 32px; }
  .column-required { grid-column: 1 / -1; }
  .register-def { align-items: flex-start; flex-direction: column; }
}

/* ===== Avatar, remarks column, contractor summary ===== */
.engineer-avatar.has-avatar { width: 40px; height: 40px; padding: 0; overflow: hidden; border: 2px solid #fff; outline: 2px solid #9db9ef; color: inherit; background: #e5eefc; cursor: pointer; transition: transform .18s ease, outline-color .18s ease; }
.engineer-avatar.has-avatar:hover, .engineer-avatar.has-avatar:focus-visible { transform: scale(1.06); outline-color: #2864f4; }
.engineer-avatar.has-avatar svg, .engineer-avatar.has-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.engineer-label strong { font-size: 12px; }

.register-table { min-width: 2110px; }
.register-table thead th:nth-child(13) { width: 240px; }
.register-table thead th:nth-child(14) { width: 98px; }
.register-table tbody td:nth-child(13) { width: 240px; }
.remark-button { display: -webkit-box; width: 100%; max-height: 3.9em; overflow: hidden; padding: 6px 8px; border: 1px dashed #c9d6ee; border-radius: 7px; color: #6b7d9d; background: #f8faff; font-size: 11.5px; line-height: 1.3; text-align: left; cursor: pointer; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.remark-button:hover { border-color: #2864f4; color: #1e4fd1; background: #eef3ff; }
.remark-button.filled { border-style: solid; border-color: #f0dca4; color: #4a3a0a; background: #fff8e0; }
.remark-button.filled:hover { border-color: #d99a00; }

.contractor-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.contractor-kpi { position: relative; display: grid; gap: 3px; padding: 14px 16px; overflow: hidden; border-radius: 11px; color: #fff; box-shadow: 0 5px 12px rgba(41, 62, 111, .12); }
.contractor-kpi span { font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; opacity: .92; }
.contractor-kpi strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.contractor-kpi small { font-size: 11px; opacity: .88; }
.contractor-kpi::after { position: absolute; right: -26px; bottom: -48px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255, 255, 255, .13); content: ""; }
.tone-violet { background: linear-gradient(130deg, #8050f5, #6335e7); }
.tone-orange { background: linear-gradient(130deg, #ffad16, #ff8d00); }
.tone-green { background: linear-gradient(130deg, #13c77d, #06a761); }
.tone-teal { background: linear-gradient(130deg, #14c4ca, #05a7b5); }
.tone-pink { background: linear-gradient(130deg, #f34579, #df1055); }

.contractor-table { width: 100%; min-width: 1500px; border-collapse: collapse; text-align: left; }
.contractor-table thead th { height: 46px; padding: 6px 10px; border-bottom: 1px solid #e9edf4; color: #263653; background: #f1f5fb; font-size: 10px; font-weight: 700; letter-spacing: .3px; line-height: 1.35; vertical-align: middle; }
.contractor-table tbody td { padding: 11px 10px; border-bottom: 1px solid #edf0f4; color: #2b3d60; font-size: 12px; line-height: 1.4; vertical-align: middle; }
.contractor-table .num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.contractor-table .col-no { width: 46px; color: #7a8aa4; font-size: 11px; font-weight: 600; }
.contractor-row { cursor: pointer; transition: background .15s ease; }
.contractor-row:hover, .contractor-row:focus-visible { background: #f2f7ff; outline: 0; }
.contractor-row.open { background: #eef4ff; }
.contractor-name { min-width: 230px; }
.contractor-name strong { font-size: 12.5px; }
.chevron { display: inline-block; width: 16px; color: #2864f4; transition: transform .18s ease; }
.contractor-row.open .chevron { transform: rotate(90deg); }
.contractor-table .progress-cell { min-width: 96px; }
.progress-cell .pct { display: block; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mini-bar { display: block; height: 6px; margin-top: 5px; overflow: hidden; border-radius: 4px; background: #e9eff8; }
.mini-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #159659, #54c987); }
.mini-bar.phys > span { background: linear-gradient(90deg, #2864f4, #19b7a3); }
.contractor-detail > td { padding: 4px 10px 14px; background: #f7faff; }
.contractor-schemes { width: 100%; border-collapse: collapse; border: 1px solid #dfe8f5; border-radius: 8px; background: #fff; }
.contractor-schemes th { padding: 7px 9px; color: #5b6f94; background: #eef3fd; font-size: 9.5px; font-weight: 700; letter-spacing: .3px; text-align: left; }
.contractor-schemes td { padding: 8px 9px; border-top: 1px solid #edf0f4; font-size: 11.5px; font-variant-numeric: tabular-nums; vertical-align: top; }
.contractor-schemes td:nth-child(n+4):nth-child(-n+9) { text-align: right; white-space: nowrap; }
.phys-pill { padding: 2px 8px; border-radius: 10px; color: #17784d; background: #e8f7ef; font-weight: 700; }
@media (max-width: 1100px) { .contractor-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 650px) { .contractor-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mini-bar > span { width: var(--w, 0%); transition: width .9s cubic-bezier(.2, .8, .2, 1); animation: bar-grow 1.1s cubic-bezier(.2, .8, .2, 1) both; }

/* ===== Contractor list, real-time cell editing ===== */
.contractor-list-panel { margin-bottom: 16px; }
.contractor-list-panel .panel-header { align-items: flex-start; gap: 14px; }
.contractor-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.contractor-pick select { min-width: 220px; max-width: 320px; font-size: 12px; font-weight: 600; }
.contractor-chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 190px; overflow-y: auto; padding: 2px; }
.contractor-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border: 1px solid #d5e1f7; border-radius: 20px; color: #26385c; background: #f3f7ff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.contractor-chip span { min-width: 22px; padding: 1px 7px; border-radius: 12px; color: #1e4fd1; background: #dfe9ff; font-size: 11px; text-align: center; }
.contractor-chip:hover { border-color: #2864f4; background: #e8f0ff; transform: translateY(-1px); }
.contractor-chip.active { border-color: #2864f4; color: #fff; background: #2864f4; }
.contractor-chip.active span { color: #2864f4; background: #fff; }

.cell-input { width: 100%; min-width: 0; padding: 6px 6px; border: 1px solid transparent; border-radius: 6px; outline: 0; color: inherit; background: transparent; font: inherit; font-variant-numeric: tabular-nums; text-align: right; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; -moz-appearance: textfield; }
.cell-input::-webkit-outer-spin-button, .cell-input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.cell-input:hover { border-color: #c9d6ee; background: #fbfdff; }
.cell-input:focus { border-color: #2864f4; background: #fff; box-shadow: 0 0 0 3px rgba(40, 100, 244, .12); }
.cell-input.saving { border-color: #f0b429; background: #fff8e0; }
.cell-input.saved { animation: cell-saved 1.4s ease; }
.cell-input.invalid { border-color: #e5484d; background: #fff1f2; }
@keyframes cell-saved { 0% { background: #c6f0d8; border-color: #22a863; } 100% { background: transparent; border-color: transparent; } }
.progress-edit { display: flex; align-items: center; gap: 6px; }
.progress-edit label { display: flex; flex: 1; align-items: center; gap: 2px; color: #5b6f94; font-size: 10px; font-weight: 700; }
.progress-edit .cell-input { padding: 4px 3px; text-align: center; font-size: 11.5px; font-weight: 700; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #22a863; box-shadow: 0 0 0 3px rgba(34, 168, 99, .18); }

/* ===== Follow-up panel ===== */
.workplan-grid { grid-template-columns: 1fr 1fr; }
.followup-panel { margin-bottom: 12px; padding: 16px; }
.followup-panel .panel-header { align-items: flex-start; gap: 12px; }
.followup-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.followup-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border: 1px solid #d5e1f7; border-radius: 20px; color: #26385c; background: #f3f7ff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.followup-chip span { min-width: 22px; padding: 1px 7px; border-radius: 12px; color: #1e4fd1; background: #dfe9ff; font-size: 11px; text-align: center; }
.followup-chip:hover { transform: translateY(-1px); }
.followup-chip.active { color: #fff; background: #2864f4; border-color: #2864f4; }
.followup-chip.active span { color: #2864f4; background: #fff; }
.followup-chip.ft-rose { background: #ffeef0; border-color: #f6c8cd; color: #9b1c2c; }
.followup-chip.ft-rose span { color: #c22f48; background: #ffd9de; }
.followup-chip.ft-orange { background: #fff3e4; border-color: #f6d9b0; color: #8a4b00; }
.followup-chip.ft-orange span { color: #b05800; background: #ffe2bd; }
.followup-chip.ft-amber { background: #fff9e0; border-color: #efdc9a; color: #6e5500; }
.followup-chip.ft-amber span { color: #8a6a00; background: #fbecaa; }
.followup-chip.ft-sky { background: #eaf5ff; border-color: #bfe0f7; color: #0d5a8a; }
.followup-chip.ft-sky span { color: #0f6fa8; background: #cfe8fa; }
.followup-chip.ft-rose.active, .followup-chip.ft-orange.active, .followup-chip.ft-amber.active, .followup-chip.ft-sky.active { color: #fff; background: #2864f4; border-color: #2864f4; }
.followup-chip.active span { color: #2864f4 !important; background: #fff !important; }
.followup-items { display: grid; gap: 8px; max-height: 460px; overflow-y: auto; padding-right: 2px; }
.followup-item { display: grid; grid-template-columns: 8px minmax(180px, 1.2fr) minmax(220px, 1.6fr) auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border: 1px solid #e6ecf6; border-radius: 10px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.followup-item:hover { border-color: #b9ccf2; box-shadow: 0 4px 14px rgba(40, 70, 130, .08); }
.followup-sev { align-self: stretch; width: 6px; border-radius: 4px; background: #7aa7ff; }
.followup-item.sev-3 .followup-sev { background: #e5484d; }
.followup-item.sev-2 .followup-sev { background: #f08a1c; }
.followup-item.sev-1 .followup-sev { background: #e3c04a; }
.followup-main { min-width: 0; display: grid; gap: 2px; }
.followup-main strong { overflow: hidden; color: #1f3158; font-size: 12.5px; line-height: 1.35; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.followup-main small { overflow: hidden; color: #6b7d9d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.followup-what { display: grid; gap: 4px; justify-items: start; }
.followup-what em { color: #3b4f78; font-size: 12px; font-style: normal; font-variant-numeric: tabular-nums; line-height: 1.4; }
.followup-tag { padding: 2px 9px; border-radius: 10px; font-size: 10.5px; font-weight: 700; }
.followup-tag.ft-rose { color: #9b1c2c; background: #ffe0e4; }
.followup-tag.ft-orange { color: #8a4b00; background: #ffe8c9; }
.followup-tag.ft-amber { color: #6e5500; background: #fbefb5; }
.followup-tag.ft-sky { color: #0d5a8a; background: #d6ecfb; }
.followup-open { color: #1e4fd1; font-size: 12px; font-weight: 700; white-space: nowrap; }
.followup-rules { margin: 12px 0 8px; color: #5b6f94; font-size: 12px; }
.followup-rules summary { cursor: pointer; font-weight: 700; }
.followup-rules ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.6; }
@media (max-width: 900px) { .followup-item { grid-template-columns: 6px minmax(0, 1fr); } .followup-what, .followup-open { grid-column: 2; } }

/* ===== Dashboard layout after removing the abstract check ===== */
.overview-grid { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 1180px) { .overview-grid { grid-template-columns: 1fr; } }

/* ===== Scheme register table (with W.O column, badges, details) ===== */
.scheme-table { width: 100%; min-width: 2260px; border-collapse: collapse; table-layout: fixed; text-align: left; }
.scheme-table thead th { height: 46px; padding: 6px 9px; border-bottom: 1px solid #e9edf4; color: #263653; background: #f1f5fb; font-size: 10px; font-weight: 700; letter-spacing: .3px; line-height: 1.35; vertical-align: middle; }
.scheme-table thead th small { display: block; color: #6b7d9d; font-size: 8px; font-weight: 600; }
.scheme-table tbody td { padding: 9px; border-bottom: 1px solid #edf0f4; color: #2b3d60; font-size: 11.5px; line-height: 1.4; vertical-align: middle; }
.scheme-table tbody tr:hover { background: #f6f9ff; }
.scheme-table .c-no { width: 46px; color: #7a8aa4; font-size: 10px; font-weight: 600; }
.scheme-table .c-scheme { width: 300px; }
.scheme-table .c-taluka { width: 150px; font-size: 12px; font-weight: 600; }
.scheme-table .c-prog { width: 92px; }
.scheme-table .c-contractor { width: 230px; font-size: 12px; font-weight: 600; }
.scheme-table .c-money { width: 112px; }
.scheme-table .c-progress { width: 170px; }
.scheme-table .c-complete { width: 140px; }
.scheme-table .c-remarks { width: 230px; }
.scheme-table .c-action { width: 108px; }
.scheme-table .c-scheme strong { display: -webkit-box; overflow: hidden; color: #34425d; font-size: 11.5px; font-weight: 600; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.scheme-table .c-scheme small { display: block; margin-top: 3px; color: #7183a1; font-size: 10px; }
.unsat-tag { display: inline-block; margin-top: 6px; margin-right: 5px; padding: 2px 8px; border: 1px solid #f4b8c0; border-radius: 10px; color: #fff; background: #c62839; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.unsat-tag:hover { background: #9b1c2c; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.detail-badge { padding: 2px 8px; border: 1px solid #dbe4f4; border-radius: 10px; color: #6b7d9d; background: #f6f9ff; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; transition: transform .12s ease; }
.detail-badge:hover { transform: translateY(-1px); border-color: #2864f4; color: #1e4fd1; }
.detail-badge.lines { color: #0a6b78; background: #dff6f8; border-color: #b9e6ea; }
.detail-badge.issue { color: #8a4b00; background: #fff1dc; border-color: #f4d39b; }
.detail-badge.issue.sev-high { color: #9b1c2c; background: #ffe3e7; border-color: #f4b8c0; }
.detail-badge.issue.sev-low { color: #6e5500; background: #fdf4c8; border-color: #ecdc8f; }
.action-stack { display: grid; gap: 5px; }
.edit-scheme-button.details { color: #0a6b78; background: #e6f7f9; border-color: #bfe6ea; justify-content: center; }

/* ===== Details dialog: components, issues, monthly ===== */
.details-dialog { width: min(1100px, calc(100vw - 24px)); max-width: 1100px; }
.details-shell { padding: 22px; }
.ptabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 12px; border-bottom: 1px solid #e3eaf6; }
.ptabs button { padding: 9px 14px; border: 0; border-bottom: 3px solid transparent; color: #5b6f94; background: transparent; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.ptabs button[aria-selected="true"] { color: #1e4fd1; border-bottom-color: #2864f4; }
.wtools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.wtools.wtop { margin-top: 0; }
.button-primary.small, .button-secondary.small { min-height: 32px; padding: 0 12px; font-size: 12px; }
.wl-note, .wl-state { color: #6b7d9d; font-size: 12px; font-weight: 600; }
.wl-paste { margin: 8px 0; padding: 10px; border: 1px dashed #c9d6ee; border-radius: 10px; background: #f9fbff; }
.wl-paste textarea { width: 100%; padding: 8px; border: 1px solid #dde4ee; border-radius: 7px; font: inherit; font-size: 12px; }
.wl-table { width: 100%; border-collapse: collapse; }
.wl-table th { padding: 8px 8px; color: #263653; background: #f1f5fb; font-size: 10px; font-weight: 700; letter-spacing: .3px; text-align: left; }
.wl-table td { padding: 5px 6px; border-bottom: 1px solid #edf0f4; font-size: 12px; vertical-align: middle; }
.wl-table .num { font-variant-numeric: tabular-nums; text-align: right; }
.wl-table input { width: 100%; min-width: 0; padding: 7px 8px; border: 1px solid transparent; border-radius: 6px; outline: 0; color: #2b3d60; background: transparent; font: inherit; font-size: 12px; }
.wl-table input:hover { border-color: #c9d6ee; background: #fbfdff; }
.wl-table input:focus { border-color: #2864f4; background: #fff; box-shadow: 0 0 0 3px rgba(40, 100, 244, .12); }
.wl-table tr.head .wl-component { font-weight: 800; color: #12244a; }
.wl-table th:nth-child(1) { width: 38%; } .wl-table th:nth-child(2) { width: 12%; } .wl-table th:nth-child(3) { width: 13%; } .wl-table th:nth-child(5) { width: 40px; }
.wl-pct { position: relative; }
.wl-pct input { text-align: right; }
.wl-bar { display: block; height: 4px; margin: 2px 6px 0; overflow: hidden; border-radius: 3px; background: #e9eff8; }
.wl-bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, #2864f4, #19b7a3); transition: width .4s ease; }
.wl-save { margin-top: 12px; }
.wbox { padding: 12px 14px; border: 1px solid #e3eaf6; border-radius: 10px; background: #f9fbff; color: #475773; font-size: 12px; }
.wbox h5 { margin: 0 0 8px; color: #263653; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; }
.month-delete { width: 28px; height: 28px; border: 1px solid #f0d6da; border-radius: 7px; color: #b63147; background: #fff7f8; font-size: 16px; line-height: 1; cursor: pointer; }

/* issue cards and report form */
.iss { display: grid; margin: 8px 0; padding: 12px 14px; border: 1px solid #e6ecf6; border-left: 5px solid #7aa7ff; border-radius: 10px; background: #fff; }
.iss.s-h { border-left-color: #e5484d; } .iss.s-m { border-left-color: #f08a1c; } .iss.s-l { border-left-color: #e3c04a; }
.iss.isdone { opacity: .72; border-left-color: #22a863; }
.iss-scheme { margin-bottom: 6px; color: #1f3158; font-size: 12.5px; }
.iss-scheme small { display: block; color: #6b7d9d; font-size: 11px; }
.ih { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ih b { color: #1f3158; font-size: 13px; }
.pill { padding: 2px 9px; border-radius: 10px; font-size: 10.5px; font-weight: 700; }
.pill.sv-h { color: #9b1c2c; background: #ffe0e4; } .pill.sv-m { color: #8a4b00; background: #ffe8c9; } .pill.sv-l { color: #6e5500; background: #fbefb5; }
.pill.st-open { color: #1e4fd1; background: #e0eaff; } .pill.st-progress { color: #6335e7; background: #ece4ff; } .pill.st-resolved { color: #17784d; background: #dff5e9; }
.idesc { margin: 8px 0; color: #2b3d60; font-size: 12.5px; line-height: 1.5; }
.imeta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: #6b7d9d; font-size: 11px; }
.imeta .age { color: #c22f48; font-weight: 700; }
.inote { margin-top: 6px; padding: 6px 9px; border-radius: 7px; background: #f3f7ff; color: #3b4f78; font-size: 11.5px; }
.inote.done { background: #e8f7ef; color: #17784d; }
.acts-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tbtn { padding: 5px 10px; border: 1px solid #d5e1f7; border-radius: 7px; color: #26385c; background: #f3f7ff; font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.tbtn:hover { border-color: #2864f4; color: #1e4fd1; }
.tbtn.del { color: #b63147; border-color: #f0d6da; background: #fff7f8; }
.ichip { padding: 5px 12px; border: 1px solid #d5e1f7; border-radius: 16px; color: #26385c; background: #f3f7ff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.ichip[aria-pressed="true"] { color: #fff; background: #2864f4; border-color: #2864f4; }
.iform, .iedit { margin: 10px 0; padding: 12px; border: 1px solid #d5e1f7; border-radius: 10px; background: #f9fbff; }
.iedit textarea, .iform textarea { width: 100%; padding: 8px; border: 1px solid #dde4ee; border-radius: 7px; font: inherit; font-size: 12.5px; }
.ifg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 10px 0; }
.ifg .field { display: grid; gap: 5px; min-width: 0; }
.ifg .field.wide2 { grid-column: 1 / -1; }
.ifg label, .flabel { color: #475773; font-size: 11.5px; font-weight: 700; }
.ifg select, .ifg input { width: 100%; min-height: 36px; padding: 6px 9px; border: 1px solid #dde4ee; border-radius: 7px; background: #fff; font: inherit; font-size: 12.5px; }
.ifg select[size] { min-height: 120px; }
.sevpick { display: flex; flex-wrap: wrap; gap: 8px; }
.sevpick label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid #dde4ee; border-radius: 16px; background: #fff; font-size: 12px; cursor: pointer; }
.sevpick label.s-h:has(input:checked) { color: #9b1c2c; background: #ffe0e4; border-color: #f4b8c0; }
.sevpick label.s-m:has(input:checked) { color: #8a4b00; background: #ffe8c9; border-color: #f4d39b; }
.sevpick label.s-l:has(input:checked) { color: #6e5500; background: #fbefb5; border-color: #ecdc8f; }

/* issues page */
.issues-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; margin-top: 12px; }
.issues-panel .panel-header { align-items: flex-start; gap: 12px; }
.issue-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.issues-side { display: grid; align-content: start; gap: 12px; }
.tb { display: grid; gap: 4px; margin-bottom: 10px; }
.tbl { color: #263653; font-size: 12px; font-weight: 700; }
.tbl small { display: block; color: #6b7d9d; font-size: 10.5px; font-weight: 600; }
.hbar { display: block; height: 7px; overflow: hidden; border-radius: 5px; background: #e9eff8; }
.hbar i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, #f08a1c, #f6b04a); }
.agegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.agegrid div { padding: 8px 2px; border-radius: 8px; background: #eef3fd; }
.agegrid b { display: block; color: #1f3158; font-size: 20px; }
.agegrid span { color: #6b7d9d; font-size: 10px; font-weight: 700; }
.agegrid .bad { background: #ffe3e7; } .agegrid .bad b { color: #c22f48; }
@media (max-width: 1000px) { .issues-layout { grid-template-columns: 1fr; } .ifg { grid-template-columns: 1fr; } }

/* ===== Monthly progress ===== */
.monthly-panel, .changes-panel { margin-bottom: 12px; padding: 16px; }
.monthly-panel .panel-header, .changes-panel .panel-header { align-items: flex-start; gap: 12px; }
.monthly-save { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.monthly-empty { margin-top: 12px; padding: 14px; border-radius: 10px; color: #475773; background: #f3f7ff; font-size: 13px; line-height: 1.6; }
.monthly-chart { margin: 12px 0; padding: 10px; border: 1px solid #e3eaf6; border-radius: 12px; background: #fbfdff; }
.monthly-chart svg { display: block; width: 100%; height: auto; }
.monthly-chart .grid { stroke: #e3eaf6; stroke-width: 1; }
.monthly-chart .axis { fill: #6b7d9d; font-size: 11px; font-weight: 700; }
.monthly-chart .point { font-size: 11px; font-weight: 800; }
.trend-line { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: trend-draw 1.4s ease forwards; }
@keyframes trend-draw { to { stroke-dashoffset: 0; } }
.monthly-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; color: #475773; font-size: 11.5px; font-weight: 600; }
.monthly-legend i { display: inline-block; width: 12px; height: 4px; margin-right: 6px; border-radius: 2px; vertical-align: middle; }
.monthly-hint { margin: 6px 0 0; color: #6b7d9d; font-size: 12px; }
.monthly-sub { margin: 18px 0 8px; color: #1f3158; font-size: 13px; }
.monthly-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.monthly-table th { padding: 8px 9px; color: #263653; background: #f1f5fb; font-size: 10px; font-weight: 700; letter-spacing: .3px; text-align: left; }
.monthly-table td { padding: 9px; border-bottom: 1px solid #edf0f4; font-size: 12px; font-variant-numeric: tabular-nums; }
.monthly-table .num { text-align: right; }
.monthly-table .muted { color: #9aa7bd; }
.monthly-table .up { color: #17784d; font-weight: 700; } .monthly-table .down { color: #c22f48; font-weight: 700; }
.monthly-table .saved-cell { color: #5b6f94; font-size: 11px; } .monthly-table .saved-cell small { display: block; color: #8a97ad; }
.monthly-table .total-row td { background: #eef3fd; }
.heat { display: inline-block; min-width: 56px; padding: 3px 8px; border-radius: 8px; background: color-mix(in srgb, #2864f4 calc(var(--heat) * 38%), #f3f7ff); color: #12244a; font-weight: 700; text-align: center; }

/* ===== Recent changes ===== */
.change-list { display: grid; gap: 6px; margin: 12px 0; }
.change-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid #e6ecf6; border-radius: 10px; background: #fff; }
.change-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; color: #6335e7; background: #ece4ff; }
.change-icon .icon { width: 17px; height: 17px; }
.change-item.ent-teal .change-icon { color: #0a6b78; background: #dff6f8; } .change-item.ent-rose .change-icon { color: #c22f48; background: #ffe3e7; }
.change-item.ent-amber .change-icon { color: #8a6a00; background: #fbefb5; } .change-item.ent-sky .change-icon { color: #0f6fa8; background: #d6ecfb; }
.change-main { min-width: 0; display: grid; gap: 2px; }
.change-main strong { color: #1f3158; font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.change-main small { color: #6b7d9d; font-size: 11px; }
.change-tag { padding: 2px 10px; border-radius: 10px; font-size: 10.5px; font-weight: 700; }
.change-tag.act-add { color: #17784d; background: #dff5e9; } .change-tag.act-edit { color: #1e4fd1; background: #e0eaff; } .change-tag.act-delete { color: #9b1c2c; background: #ffe0e4; }
.change-empty { margin: 0; padding: 10px; color: #6b7d9d; font-size: 12.5px; }
.change-count { background: #6335e7 !important; }

/* ===== Export dialog ===== */
.export-dialog { width: min(720px, calc(100vw - 24px)); max-width: 720px; }
.export-shell { padding: 22px; }
.export-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.export-check { display: flex; align-items: flex-start; gap: 9px; padding: 9px 11px; border: 1px solid #e3eaf6; border-radius: 10px; background: #f9fbff; font-size: 12.5px; cursor: pointer; }
.export-check input { margin-top: 3px; }
.export-check b { display: block; color: #1f3158; }
.export-check small { color: #6b7d9d; font-size: 11px; }
.export-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.export-filters label { display: grid; gap: 5px; color: #475773; font-size: 11.5px; font-weight: 700; }
.export-filters select { min-height: 36px; padding: 6px 9px; border: 1px solid #dde4ee; border-radius: 7px; background: #fff; font: inherit; font-size: 12.5px; }
.export-links { display: flex; gap: 10px; margin: 4px 0; font-size: 12px; }
.export-links button { padding: 0; border: 0; color: #1e4fd1; background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 650px) { .export-groups, .export-filters { grid-template-columns: 1fr; } }

/* ===== Monthly bar chart, taluka release tile ===== */
.bar-rect { transform-box: fill-box; transform-origin: 50% 100%; animation: bar-rise .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes bar-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.taluka-nums { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); }
.taluka-nums > span:nth-child(3) { background: #e8f6fb; }
.taluka-nums > span:nth-child(4) { background: #eaf8f1; }
.taluka-nums > span:nth-child(5) { background: #fff4e5; }

/* ===== Notes ===== */
.followup-links { display: grid; gap: 4px; justify-items: end; }
.followup-open.note-link { color: #8a6a00; }
.followup-item { grid-template-columns: 8px minmax(180px, 1.2fr) minmax(220px, 1.6fr) auto; }
.notes-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.notes-toolbar .search-box { flex: 1 1 240px; max-width: 360px; }
.note-colors { display: flex; gap: 7px; }
.swatch { width: 24px; height: 24px; padding: 0; border: 2px solid rgba(0, 0, 0, .08); border-radius: 50%; background: var(--c); cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.swatch:hover { transform: scale(1.12); }
.swatch.on { border-color: #1f3158; box-shadow: 0 0 0 3px rgba(31, 49, 88, .18); }
.note-status { display: inline-flex; padding: 3px; border: 1px solid #dfe8f5; border-radius: 10px; background: #fff; }
.note-status button { padding: 6px 14px; border: 0; border-radius: 8px; color: #5b6f94; background: transparent; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.note-status button[aria-pressed="true"] { color: #fff; background: #2864f4; }
.notes-board { columns: 280px; column-gap: 16px; }
.note { display: flex; flex-direction: column; gap: 10px; break-inside: avoid; margin: 0 0 16px; padding: 14px 15px 12px; border: 1px solid rgba(0, 0, 0, .06); border-radius: 6px 6px 16px 6px; box-shadow: 0 6px 16px rgba(31, 49, 88, .12), 0 1px 0 rgba(255, 255, 255, .6) inset; transition: transform .15s ease, box-shadow .15s ease; animation: note-in .4s ease both; }
.note:hover { transform: translateY(-3px) rotate(-.3deg); box-shadow: 0 12px 24px rgba(31, 49, 88, .18); }
@keyframes note-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.note-yellow { background: #fff3a8; } .note-pink { background: #ffd1dc; } .note-blue { background: #cfe3ff; }
.note-green { background: #d2f4dc; } .note-purple { background: #e2d8ff; } .note-orange { background: #ffdfbd; }
.note.done { opacity: .62; }
.note.done h3, .note.done .note-body { text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .35); }
.note header { display: flex; align-items: flex-start; gap: 6px; }
.note h3 { flex: 1; margin: 0; color: #1b2945; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.note-pin-btn { padding: 0 2px; border: 0; background: transparent; font-size: 15px; line-height: 1; cursor: pointer; opacity: .28; filter: grayscale(1); transition: opacity .15s ease; }
.note-pin-btn:hover, .note-pin-btn.on { opacity: 1; filter: none; }
.note-body { margin: 0; color: #2b3d60; font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.note-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.note-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 9px; border-radius: 12px; color: #1f3158; background: rgba(255, 255, 255, .68); font-size: 11px; font-weight: 700; line-height: 1.3; }
a.note-chip:hover { background: #fff; color: #1e4fd1; }
.note footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px dashed rgba(31, 49, 88, .22); font-size: 11px; }
.note-done { display: inline-flex; align-items: center; gap: 5px; color: #1f3158; font-weight: 700; cursor: pointer; }
.note-due { padding: 2px 8px; border-radius: 10px; color: #1f3158; background: rgba(255, 255, 255, .7); font-weight: 700; }
.note-due.overdue { color: #fff; background: #d6314b; }
.note-time { margin-left: auto; color: rgba(31, 49, 88, .65); }
.note-edit { padding: 3px 10px; border: 1px solid rgba(31, 49, 88, .25); border-radius: 8px; color: #1f3158; background: rgba(255, 255, 255, .6); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.note-edit:hover { background: #fff; }
.notes-empty { padding: 40px 16px; border: 2px dashed #cdd9ee; border-radius: 14px; color: #6b7d9d; background: #f9fbff; font-size: 14px; text-align: center; column-span: all; }
.note-dialog { width: min(760px, calc(100vw - 24px)); max-width: 760px; }
.note-dialog form { padding: 22px; }
.note-form { display: grid; gap: 14px; margin-top: 14px; }
.note-form label { display: grid; gap: 6px; color: #475773; font-size: 11.5px; font-weight: 700; }
.note-form input:not([type="checkbox"]), .note-form textarea { width: 100%; padding: 9px 10px; border: 1px solid #dde4ee; border-radius: 8px; font: inherit; font-size: 13px; }
.note-form input:focus, .note-form textarea:focus { outline: 0; border-color: #6b93ec; box-shadow: 0 0 0 3px rgba(40, 100, 244, .1); }
.note-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; }
.note-swatches { display: flex; gap: 8px; margin-top: 6px; }
.note-swatches .swatch { width: 30px; height: 30px; }
.note-pin { display: inline-flex !important; align-items: center; gap: 6px !important; }
.note-schemes { display: grid; gap: 8px; }
.note-picked { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; }
.note-chip.removable { background: #eef3ff; }
.note-chip.removable button { padding: 0 2px; border: 0; color: #b63147; background: transparent; font-size: 15px; line-height: 1; cursor: pointer; }
.note-hint { color: #8a97ad; font-size: 12px; }
.note-pick-list { display: grid; max-height: 210px; overflow-y: auto; border: 1px solid #e3eaf6; border-radius: 10px; }
.note-pick { display: flex !important; align-items: flex-start; flex-direction: row; gap: 9px !important; padding: 8px 10px; border-bottom: 1px solid #edf0f4; color: #2b3d60 !important; font-size: 12px !important; font-weight: 500 !important; cursor: pointer; }
.note-pick:hover { background: #f6f9ff; }
.note-pick small { display: block; color: #6b7d9d; font-size: 10.5px; }
.note-pick input { margin-top: 3px; }

/* ===== Note icon on scheme names ===== */
.scheme-note { display: inline-flex; align-items: center; gap: 2px; margin-left: 5px; vertical-align: middle; color: var(--nc, #e8b400); text-decoration: none; transition: transform .15s ease; }
.scheme-note:hover { transform: scale(1.18) rotate(-6deg); }
.scheme-note svg { width: 17px; height: 17px; fill: var(--nc, #e8b400); fill-opacity: .28; stroke: var(--nc, #e8b400); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.scheme-note b { padding: 0 4px; border-radius: 8px; color: #fff; background: var(--nc, #e8b400); font-size: 9.5px; line-height: 14px; }

/* components table now has Qty completed */
.wl-table th:nth-child(1) { width: 32%; } .wl-table th:nth-child(2) { width: 11%; } .wl-table th:nth-child(3) { width: 12%; } .wl-table th:nth-child(4) { width: 11%; } .wl-table th:nth-child(5) { width: auto; } .wl-table th:nth-child(6) { width: 40px; }
