/* BJP VidhanSetu v27 – isolated page visual layer. Original app.css left intact. */
body.vs27{--vs27-saffron:#fb7100;--vs27-deep:#d95a00;--vs27-green:#0f6d37;--vs27-ink:#163e27;--vs27-rim:#ffd1aa;}
body.vs27 .vs27-masthead{box-sizing:border-box!important;display:block!important;position:relative!important;top:auto!important;left:auto!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;padding:0 16px!important;margin:0!important;border:0!important;color:#fff!important;background:linear-gradient(110deg,#e65a00 0%,#ff7800 65%,#f46800 100%)!important;box-shadow:0 5px 18px #d4771933!important}
body.vs27 .vs27-masthead::after{content:"";display:block;height:4px;background:linear-gradient(90deg,#fff 0%,#fff 27%,#239743 75%,#fff 100%);opacity:.95}
body.vs27 .vs27-header-inner{max-width:1220px;margin:0 auto;min-height:94px;display:grid;grid-template-columns:minmax(260px,1fr) auto auto;align-items:center;column-gap:clamp(10px,1.5vw,24px);padding:10px 0}
body.vs27 .vs27-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:initial!important;min-width:0!important;max-width:none!important;gap:10px!important;padding:0!important;margin:0!important;text-align:left!important;grid-column:auto!important;grid-row:auto!important}
body.vs27 .vs27-brand img{flex:none;width:57px!important;height:57px!important;object-fit:contain!important;background:#fff;border-radius:14px;padding:5px;box-sizing:border-box}
body.vs27 .vs27-brand-copy{min-width:0;text-align:left!important;display:flex;flex-direction:column;align-items:flex-start;gap:1px}
body.vs27 .vs27-brand strong{color:#fff!important;font-size:clamp(18px,1.8vw,25px)!important;font-weight:800!important;line-height:1.23!important;white-space:normal!important}
body.vs27 .vs27-brand small{color:#fff!important;font-size:clamp(11px,1.15vw,15px)!important;line-height:1.3!important;margin:0!important;display:block!important}
body.vs27 .vs27-brand .connection-status{position:static!important;margin-top:3px!important;display:inline-flex!important;width:auto!important;max-width:max-content!important;align-items:center!important;border-radius:25px!important;background:#eefff0!important;color:#11683a!important;font-size:11px!important;padding:2px 8px!important;line-height:1.2!important}
body.vs27 .vs27-leaders{display:flex;align-items:flex-end;justify-content:flex-end;gap:5px;min-width:0;flex:none}
body.vs27 .vs27-leaders img{width:55px;height:64px;object-fit:cover;object-position:center 16%;border-radius:10px;border:1px solid #ffffff80;background:#fff;display:block}
body.vs27 .vs27-header-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;flex-wrap:nowrap}
body.vs27 .vs27-header-tools > .icon-button,body.vs27 .vs27-header-tools .masthead-actions > button{width:auto!important;min-width:35px!important;min-height:35px!important;height:35px!important;border-radius:10px!important;background:#fff!important;color:#0e6b39!important;border:0!important;margin:0!important;box-shadow:none!important;padding:5px 8px!important}
body.vs27 .vs27-header-tools .ui-icon{width:20px!important;height:20px!important}
body.vs27 .vs27-header-tools .app-top-actions{position:static!important;display:flex!important;align-items:center!important;margin:0!important;padding:0!important}
body.vs27 .vs27-header-tools #downloadApp{min-height:35px!important;padding:5px 7px!important;font-size:11px!important;line-height:1!important;border-radius:9px!important;background:#fff4df!important;color:#834000!important;white-space:nowrap!important}
body.vs27 .vs27-header-tools #downloadApp svg{width:17px!important;height:17px!important}
body.vs27 .vs27-header-tools .masthead-actions:not([hidden]){display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;position:static!important}
body.vs27 .vs27-header-tools .masthead-actions[hidden],body.vs27 .vs27-header-tools [hidden]{display:none!important}
body.vs27 .vs27-header-tools #mobileLogout{display:none!important}
body.vs27 .vs27-header-tools #logout{background:#fff2e9!important;color:#a93812!important;font-size:12px!important;font-weight:750!important;min-width:0!important;padding:5px 9px!important}
body.vs27 #portal{min-width:0;width:100%;max-width:100%;display:flex;flex-direction:column;min-height:0}
body.vs27 #portal[hidden]{display:none!important}
body.vs27 #portal main{display:flex;flex-direction:column;flex:1;min-height:0!important;max-width:100%;padding-bottom:calc(91px + env(safe-area-inset-bottom,0px))!important}
body.vs27 #portal main>.content{width:100%;max-width:1120px;min-width:0;margin:0 auto;padding:18px 20px 26px;box-sizing:border-box}
body.vs27 .vs27-home{width:100%;min-width:0}
body.vs27 .vs27-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 13px;padding:19px 22px;background:#fff;border:1px solid #f1e7dd;border-radius:20px;box-shadow:0 8px 25px #67410b0b;min-width:0}
body.vs27 .vs27-welcome-copy{flex:1;min-width:0}
body.vs27 .vs27-welcome-kicker{color:#db690a;font-size:12px;font-weight:750;display:flex;align-items:center;gap:7px}
body.vs27 .vs27-indicator{display:inline-block;height:8px;width:8px;border-radius:50%;background:#12a658}
body.vs27 .vs27-welcome h1{color:#144c2c;font-size:clamp(20px,2.3vw,30px);line-height:1.35;margin:5px 0;overflow-wrap:anywhere;word-break:normal}
body.vs27 .vs27-welcome p{margin:0 0 5px;color:#69796f;font-size:14px}
body.vs27 .vs27-user-area{display:flex;align-items:center;gap:6px;color:#748178;font-size:12px;line-height:1.4}
body.vs27 .vs27-user-area .ui-icon{width:15px;height:15px;flex:none}
body.vs27 .vs27-profile-picture{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;min-width:76px;min-height:88px;border:1px solid #d9e7dc;border-radius:12px;padding:2px!important;background:#edf8ef;color:#116638;cursor:zoom-in}
body.vs27 .vs27-profile-image{display:grid;place-items:center;width:66px;height:70px;border-radius:9px;overflow:hidden;font-size:29px;color:#11723d}
body.vs27 .vs27-profile-image img,body.vs27 .vs27-profile-image svg{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
body.vs27 .vs27-photo-hint{font-size:9px;line-height:1.2;color:#4d6455}
body.vs27 .vs27-incomplete{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:10px 14px;border:1px solid #ffd8ad;border-radius:11px;background:#fff9eb;color:#8b4505;font-size:13px}
body.vs27 .vs27-incomplete[hidden]{display:none!important}
body.vs27 .vs27-incomplete button{background:transparent;border:0;color:#a85104;font-weight:750;cursor:pointer;padding:2px}
body.vs27 .vs27-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:22px}
body.vs27 .vs27-stat{min-height:117px;min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:16px;padding:18px;border-radius:18px;border:1px solid #ffc29d;background:linear-gradient(110deg,#fff9f3,#ffebd9);text-align:left;color:#283c30;box-shadow:0 5px 18px #8b57221c;cursor:pointer}
body.vs27 .vs27-stat-green{border-color:#bee5b8;background:linear-gradient(115deg,#f6fff7,#ddf8df)}
body.vs27 .vs27-stat-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;flex:none;font-size:29px;color:#ea680c;background:#ffe2cc}
body.vs27 .vs27-stat-green .vs27-stat-symbol{color:#128638;background:#d0f4d0}
body.vs27 .vs27-stat-data{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0;font-size:15px;font-weight:750}
body.vs27 .vs27-stat strong{font-size:clamp(25px,3vw,38px);line-height:1.05;color:#bd4c11;font-variant-numeric:tabular-nums}
body.vs27 .vs27-stat-green strong{color:#0c6933}
body.vs27 .vs27-chevron{font-size:27px;line-height:1;color:#aa5d2c}
body.vs27 .vs27-stat-green .vs27-chevron{color:#1b8643}
body.vs27 .vs27-quick{margin:0 0 17px}
body.vs27 .vs27-quick h2{margin:0 0 13px;font-size:clamp(18px,2vw,23px);color:#124c2a}
body.vs27 .vs27-heading-flash{color:#f87300}
body.vs27 .vs27-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.vs27 .vs27-tile{min-width:0;min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:14px 8px;border-radius:16px;border:1px solid #ffceaa;background:#fff4e9;color:#273c2b;cursor:pointer;box-shadow:0 3px 10px #0c43200a}
body.vs27 .vs27-tile:nth-child(2){background:#ecffef;border-color:#b9e6bd}
body.vs27 .vs27-tile:nth-child(3){background:#f2ebff;border-color:#d6c1fc}
body.vs27 .vs27-tile:nth-child(4){background:#eaf3ff;border-color:#bfdaf9}
body.vs27 .vs27-tile:nth-child(5){background:#fff0f1;border-color:#ffcad1}
body.vs27 .vs27-tile:nth-child(6){background:#ebfbf9;border-color:#bee7e0}
body.vs27 .vs27-tile .vs27-quick-icon{font-size:28px;color:#ec6f06;line-height:1}
body.vs27 .vs27-tile:nth-child(2) .vs27-quick-icon{color:#199743}
body.vs27 .vs27-tile:nth-child(3) .vs27-quick-icon{color:#8650da}
body.vs27 .vs27-tile:nth-child(4) .vs27-quick-icon{color:#267ccd}
body.vs27 .vs27-tile:nth-child(5) .vs27-quick-icon{color:#cb4664}
body.vs27 .vs27-tile:nth-child(6) .vs27-quick-icon{color:#258b80}
body.vs27 .vs27-tile strong{font-size:14px;font-weight:750;color:#243c2c;line-height:1.4}
body.vs27 .vs27-footer-note{font-size:12px;color:#697d71;text-align:center;padding:10px 8px}
body.vs27 #portal #bottomMenu.bottom-menu{position:fixed!important;bottom:0!important;top:auto!important;left:0!important;right:0!important;z-index:500!important;transform:none!important;width:100%!important;max-width:100%!important;align-self:auto!important;margin:0!important;box-sizing:border-box!important;display:flex!important;align-items:stretch!important;justify-content:space-around!important;gap:1px!important;min-height:70px!important;padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))!important;border:0!important;border-top:3px solid #ffd7aa!important;border-radius:16px 16px 0 0!important;background:linear-gradient(105deg,#f46d00,#ff8300)!important;box-shadow:0 -5px 18px #99390033!important}
body.vs27 #portal #bottomMenu.bottom-menu[hidden]{display:none!important}
body.vs27 #portal #bottomMenu.bottom-menu button{display:flex!important;flex:1 1 0!important;min-width:0!important;max-width:none!important;min-height:59px!important;height:auto!important;padding:7px 3px!important;margin:0!important;border:0!important;border-radius:12px!important;gap:3px!important;background:transparent!important;color:#fff!important;font-size:12px!important;line-height:1.15!important;font-weight:700!important;white-space:normal!important;box-sizing:border-box!important}
body.vs27 #portal #bottomMenu.bottom-menu button[hidden]{display:none!important}
body.vs27 #portal #bottomMenu.bottom-menu button .ui-icon{color:#fff!important;fill:none!important;width:23px!important;height:23px!important}
body.vs27 #portal #bottomMenu.bottom-menu button.active{color:#e15d00!important;background:#fff!important}
body.vs27 #portal #bottomMenu.bottom-menu button.active .ui-icon{color:#e15d00!important}
body.vs27 #portal #bottomMenu.bottom-menu .menu-count{display:inline-block;border-radius:10px;color:#19713c;background:#e6ffdf;padding:0 5px;font-size:10px}
body.vs27 .vs27-photo-dialog{border:none;border-radius:16px;padding:12px;background:#fff;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);overflow:visible;box-shadow:0 18px 55px #0009}
body.vs27 .vs27-photo-dialog::backdrop{background:#000c}
body.vs27 .vs27-photo-dialog img{display:block;max-width:min(84vw,720px);max-height:75dvh;object-fit:contain;border-radius:10px}
body.vs27 .vs27-photo-close{position:absolute;right:-8px;top:-9px;width:37px;height:37px;border-radius:50%;border:none;background:#f46c00;color:white;cursor:pointer;font-size:18px}
@media(max-width:900px){body.vs27 .vs27-header-inner{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;row-gap:6px;padding:9px 0 7px}body.vs27 .vs27-brand{grid-column:1;grid-row:1}body.vs27 .vs27-leaders{grid-column:2;grid-row:1}body.vs27 .vs27-header-tools{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:5px;padding-top:5px;border-top:1px solid #ffffff2b}body.vs27 .vs27-header-tools .masthead-actions:not([hidden]){margin-left:auto}}
@media(max-width:600px){body.vs27 .vs27-masthead{padding:0 11px!important}body.vs27 .vs27-header-inner{min-height:0}body.vs27 .vs27-brand{gap:6px!important}body.vs27 .vs27-brand img{width:41px!important;height:41px!important;border-radius:10px;padding:3px}body.vs27 .vs27-brand strong{font-size:clamp(13px,3.8vw,18px)!important}body.vs27 .vs27-brand small{font-size:clamp(10px,2.8vw,12px)!important}body.vs27 .vs27-brand .connection-status{font-size:9px!important;padding:1px 6px!important}body.vs27 .vs27-leaders{gap:3px}body.vs27 .vs27-leaders img{width:clamp(24px,7.1vw,36px);height:clamp(34px,9.1vw,45px);border-radius:6px}body.vs27 .vs27-header-tools{gap:5px}body.vs27 .vs27-header-tools .app-top-actions #downloadApp{padding:5px!important;font-size:10px!important}body.vs27 .vs27-header-tools #logout{font-size:11px!important}body.vs27 #portal main>.content{padding:11px 11px 17px}body.vs27 .vs27-welcome{padding:13px;gap:8px;border-radius:15px}body.vs27 .vs27-welcome h1{font-size:clamp(17px,4.7vw,23px)}body.vs27 .vs27-welcome p{font-size:12px}body.vs27 .vs27-user-area{font-size:11px}body.vs27 .vs27-profile-picture{min-width:58px;min-height:73px}body.vs27 .vs27-profile-image{width:52px;height:57px}body.vs27 .vs27-stat-grid{gap:9px;margin-bottom:17px}body.vs27 .vs27-stat{min-height:92px;padding:9px 8px;gap:8px;border-radius:14px}body.vs27 .vs27-stat-symbol{width:35px;height:35px;font-size:20px}body.vs27 .vs27-stat-data{font-size:12px;gap:2px}body.vs27 .vs27-stat strong{font-size:clamp(23px,6vw,29px)}body.vs27 .vs27-chevron{font-size:20px}body.vs27 .vs27-quick h2{font-size:19px;margin-bottom:9px}body.vs27 .vs27-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.vs27 .vs27-tile{min-height:91px;padding:12px 4px;border-radius:13px}body.vs27 .vs27-tile .vs27-quick-icon{font-size:25px}body.vs27 .vs27-tile strong{font-size:13px}body.vs27 #portal main{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}body.vs27 #portal #bottomMenu.bottom-menu{min-height:64px!important;padding:4px 2px calc(4px + env(safe-area-inset-bottom,0px))!important}body.vs27 #portal #bottomMenu.bottom-menu button{min-height:56px!important;padding:4px 1px!important;font-size:10px!important}body.vs27 #portal #bottomMenu.bottom-menu button .ui-icon{width:21px!important;height:21px!important}}
@media(max-width:350px){body.vs27 .vs27-brand img{width:34px!important;height:34px!important}body.vs27 .vs27-brand strong{font-size:12px!important}body.vs27 .vs27-brand small{font-size:9px!important}body.vs27 .vs27-leaders img{width:22px;height:32px}body.vs27 .vs27-header-tools .masthead-actions:not([hidden]){gap:3px!important}body.vs27 .vs27-header-tools #downloadApp span{display:none}body.vs27 .vs27-stat-symbol{width:30px;height:30px}body.vs27 .vs27-stat{gap:5px}body.vs27 .vs27-stat-data{font-size:11px}}
html[data-theme=dark] body.vs27{background:#0f1914;color:#ecf5ed}
html[data-theme=dark] body.vs27 .vs27-masthead{background:linear-gradient(110deg,#9b3e00,#e46b00)!important}
html[data-theme=dark] body.vs27 .vs27-welcome,html[data-theme=dark] body.vs27 .vs27-stat,html[data-theme=dark] body.vs27 .vs27-tile{background:#1e3026!important;border-color:#385340!important;color:#e6f5e9!important}
html[data-theme=dark] body.vs27 .vs27-home h1,html[data-theme=dark] body.vs27 .vs27-home h2,html[data-theme=dark] body.vs27 .vs27-stat strong,html[data-theme=dark] body.vs27 .vs27-tile strong{color:#eaf8ed!important}
html[data-theme=dark] body.vs27 .vs27-welcome-kicker,html[data-theme=dark] body.vs27 .vs27-footer-note{color:#c2d7c5!important}
html[data-theme=dark] body.vs27 #portal #bottomMenu.bottom-menu{background:linear-gradient(105deg,#a84700,#d96200)!important}
@media print{body.vs27 .vs27-masthead::after{display:none}body.vs27 #portal #bottomMenu.bottom-menu{display:none!important}body.vs27 #portal main{padding-bottom:0!important}body.vs27 .vs27-masthead{box-shadow:none!important}}
