:root{--navy:#102a43;--blue:#146c94;--teal:#0f766e;--gold:#d6a84b;--ink:#243b53;--muted:#627d98;--line:#d9e2ec;--paper:#f6f8fb;--white:#fff;--danger:#b42318}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,system-ui,sans-serif}.topbar{min-height:76px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:12px clamp(20px,5vw,72px);box-shadow:0 3px 12px #102a4330}.brand{display:flex;gap:12px;align-items:center;color:#fff;text-decoration:none}.brand-mark{position:relative;width:50px;height:50px;overflow:hidden;flex:0 0 50px}.brand-mark img{position:absolute;width:82px;height:82px;max-width:none;left:-16px;top:-8px}.brand b{display:block;font-size:20px}.brand small{display:block;color:#b9d4e7;font-size:11px;letter-spacing:.05em}.topbar nav{display:flex;align-items:center;gap:22px}.topbar nav a,.link-button{color:#e8f1f8;text-decoration:none;font:600 14px Inter;background:none;border:0;cursor:pointer;padding:0}.topbar nav form{margin:0}.page{max-width:1220px;margin:0 auto;padding:32px 24px 64px;min-height:calc(100vh - 140px)}footer{text-align:center;background:#fff;border-top:1px solid var(--line);padding:20px;color:var(--muted);font-size:13px}.hero{background:linear-gradient(120deg,#102a43 0%,#164e63 70%,#0f766e 100%);color:#fff;border-radius:24px;padding:clamp(38px,8vw,90px);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:380px;height:380px;border:70px solid #ffffff0c;border-radius:50%;right:-100px;top:-120px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:#e7c878;font-size:12px;font-weight:800}.hero h1{font:400 clamp(40px,7vw,78px)/1.02 'Libre Caslon Display',serif;max-width:800px;margin:14px 0 20px}.hero p{max-width:680px;font-size:18px;color:#d7e8f2;line-height:1.7}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:11px 18px;background:var(--blue);color:white;text-decoration:none;font-weight:700;cursor:pointer}.btn.gold{background:var(--gold);color:#182b3a}.btn.light{background:#fff;color:var(--navy)}.btn.danger{background:var(--danger)}.btn.small{padding:7px 11px;font-size:12px}.section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 22px}.section-title h1,.section-title h2{margin:0;color:var(--navy)}.section-title p{margin:6px 0 0;color:var(--muted)}.grid{display:grid;gap:20px}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.two{grid-template-columns:repeat(2,1fr)}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;box-shadow:0 5px 18px #102a4308}.stat strong{font-size:34px;color:var(--navy);display:block}.stat span{color:var(--muted);font-size:13px}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;margin-top:24px;overflow:hidden}.panel-head{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel-head h2{font-size:18px;margin:0;color:var(--navy)}.panel-body{padding:22px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field.full{grid-column:1/-1}.field label{display:block;font-size:13px;font-weight:700;color:#334e68;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;border:1px solid #bcccdc;border-radius:8px;padding:10px 12px;background:#fff;color:var(--ink);font:14px Inter}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{outline:3px solid #146c941a;border-color:var(--blue)}.muted{color:var(--muted)}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#f1f5f9;color:#486581;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.table-wrap{overflow:auto}.badge{display:inline-block;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800;background:#e0f2fe;color:#075985}.badge.active{background:#dcfce7;color:#166534}.badge.inactive{background:#fee2e2;color:#991b1b}.alert{padding:14px 18px;border-radius:10px;margin-bottom:20px}.alert.success{background:#dcfce7;color:#166534}.alert.error{background:#fee2e2;color:#991b1b}.alert ul{margin:8px 0 0}.login-wrap{max-width:460px;margin:60px auto}.login-wrap .card{padding:36px}.login-wrap h1{color:var(--navy);margin-top:0}.article-row{padding:18px;border:1px solid var(--line);border-radius:10px;margin-bottom:14px;background:#fafcff}.article-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.inline{display:flex;gap:10px;align-items:center}.search{display:flex;gap:10px}.detail-list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.detail-list div{padding:14px;background:#f8fafc;border-radius:8px}.detail-list small{display:block;color:var(--muted);margin-bottom:5px}.public-features{margin:34px 0}.public-features .card h3{color:var(--navy)}@media(max-width:800px){.topbar{align-items:flex-start;gap:14px;flex-direction:column}.topbar nav{gap:13px;flex-wrap:wrap}.grid.three,.grid.two,.form-grid,.detail-list{grid-template-columns:1fr}.field.full{grid-column:auto}.page{padding:22px 14px}.hero{border-radius:14px}.section-title{align-items:flex-start;flex-direction:column}}

/* Branded authentication */
.auth-page{background:radial-gradient(circle at 15% 20%,#dceff7 0,transparent 28%),linear-gradient(135deg,#eef4f8 0%,#f8fafc 55%,#edf6f5 100%)}
.auth-page .page{max-width:1120px;display:flex;align-items:center;padding-top:46px;padding-bottom:46px}
.auth-shell{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);width:100%;min-height:590px;background:#fff;border:1px solid #cad7e2;border-radius:24px;overflow:hidden;box-shadow:0 28px 70px #102a4322}
.auth-identity{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(38px,7vw,76px);overflow:hidden;background:linear-gradient(145deg,#0d2941 0%,#103f5b 58%,#0f766e 120%);color:#fff}
.auth-identity:after{content:"";position:absolute;z-index:-1;width:390px;height:390px;border:70px solid #ffffff0b;border-radius:50%;right:-170px;bottom:-180px}
.auth-identity-glow{position:absolute;z-index:-1;width:240px;height:240px;border-radius:50%;background:#42c8ff1a;filter:blur(4px);left:-80px;top:-80px}
.portal-logo-frame{width:150px;height:150px;padding:12px;margin-bottom:30px;border-radius:24px;background:#fff;display:grid;place-items:center;box-shadow:0 18px 48px #03111d66;border:1px solid #ffffff88}
.portal-logo-frame img{width:100%;height:100%;object-fit:contain;border-radius:15px}
.auth-identity h1{font:400 clamp(38px,5vw,62px)/1.02 'Libre Caslon Display',serif;margin:12px 0 15px;max-width:520px}
.auth-identity p{color:#d8eaf2;font-size:17px;line-height:1.65;max-width:470px;margin:0}
.portal-address{margin-top:30px;padding:10px 14px;border:1px solid #ffffff33;background:#ffffff0d;border-radius:999px;color:#cce5ef;font-size:12px;letter-spacing:.03em}
.auth-form-panel{display:flex;flex-direction:column;justify-content:center;padding:clamp(38px,6vw,68px)}
.auth-form-heading{display:flex;align-items:center;gap:14px;margin-bottom:8px}
.auth-form-heading h2{font-size:32px;color:var(--navy);margin:5px 0 0}
.secure-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e1f2f7;font-size:21px}
.auth-form-panel>p{margin:0 0 30px;line-height:1.6}
.auth-password-field{margin-top:18px}
.remember-row{margin:18px 0 22px;font-size:13px;color:#486581}
.remember-row input{width:17px;height:17px}
.auth-submit{width:100%;min-height:48px;background:linear-gradient(90deg,#146c94,#0f766e);box-shadow:0 8px 20px #146c9430}
.auth-support{margin-top:25px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;line-height:1.6}

/* District branding */
.field-help{display:block;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.45}
.district-logo-preview{width:70px;height:70px;padding:5px;border-radius:12px;background:#fff;border:1px solid var(--line)}
.district-logo-preview img{width:100%;height:100%;object-fit:contain;border-radius:8px}
.district-logo-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.station-dashboard-heading{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:22px;margin-bottom:22px}
.station-dashboard-logo{width:110px;height:110px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 24px #102a4312}
.station-dashboard-logo img{width:100%;height:100%;object-fit:contain;border-radius:12px}
.station-title-copy{margin:0}

@media(max-width:800px){
    .auth-page .page{padding:20px 12px 32px}
    .auth-shell{grid-template-columns:1fr;border-radius:16px}
    .auth-identity{padding:32px;min-height:355px}
    .portal-logo-frame{width:112px;height:112px;margin-bottom:20px}
    .auth-identity h1{font-size:38px}
    .portal-address{word-break:break-all;border-radius:12px}
    .auth-form-panel{padding:32px 24px 38px}
    .station-dashboard-heading{grid-template-columns:82px 1fr;align-items:start}
    .station-dashboard-logo{width:82px;height:82px}
    .station-title-copy{gap:14px}
}

@media(max-width:520px){
    .station-dashboard-heading{grid-template-columns:1fr}
    .auth-identity{min-height:320px}
}

/* Authenticated application shell */
.authenticated-page{background:#f4f7fb}
.app-shell{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:100vh}
.app-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:24px 18px 18px;background:linear-gradient(180deg,#102a43 0%,#123c57 65%,#0e5962 130%);color:#fff;z-index:40;box-shadow:8px 0 30px #102a4310}
.sidebar-heading{display:flex;align-items:center;gap:12px;padding:0 8px 22px;border-bottom:1px solid #ffffff18}
.sidebar-heading-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,#27a6d1,#18a999);font-weight:800;font-size:13px;box-shadow:0 8px 20px #05121d35}
.sidebar-heading b,.sidebar-heading small{display:block}.sidebar-heading b{font-size:14px}.sidebar-heading small{margin-top:3px;color:#b9d5e3;font-size:11px}
.sidebar-nav{display:flex;flex-direction:column;gap:6px;padding-top:22px;overflow-y:auto}
.sidebar-section-label{padding:0 12px 8px;color:#7fb3ca;text-transform:uppercase;letter-spacing:.13em;font-size:9px;font-weight:800}
.sidebar-section-label.secondary{padding-top:17px}
.sidebar-nav a{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:10px;color:#dcecf4;text-decoration:none;font-size:13px;font-weight:600;transition:.18s ease}
.sidebar-nav a:hover{background:#ffffff10;color:#fff;transform:translateX(2px)}
.sidebar-nav a.active{background:linear-gradient(90deg,#1f8bb8,#168f88);color:#fff;box-shadow:0 8px 22px #071d2838}
.menu-icon{display:grid;place-items:center;width:22px;height:22px;font-size:16px;color:#91cfe3}
.sidebar-nav a.active .menu-icon{color:#fff}
.sidebar-support-group{width:100%;margin-top:14px;padding-top:14px;border-top:1px solid #ffffff18}
.sidebar-support-group .sidebar-section-label{display:block;padding:0 12px 8px}
.sidebar-support-group .sidebar-section-label.secondary{padding-top:0}
.sidebar-support-link{width:100%;border:1px solid #ffffff12;background:#ffffff08}
.sidebar-support-link .menu-icon{flex:0 0 22px;border-radius:7px;background:#ffffff0b;color:#b8dceb;font-weight:800}
.sidebar-support-link:hover .menu-icon,.sidebar-support-link.active .menu-icon{background:#ffffff16;color:#fff}
.sidebar-developer{margin-top:auto;display:block;padding:13px;background:#fff;border-radius:12px;text-decoration:none;text-align:center;box-shadow:0 10px 24px #07131d28}
.sidebar-developer small{display:block;margin-bottom:6px;color:#78909c;text-transform:uppercase;letter-spacing:.1em;font-size:8px;font-weight:800}
.sidebar-developer img{display:block;width:148px;max-width:100%;height:44px;margin:auto;object-fit:contain}
.sidebar-scrim{display:none}
.app-workspace{display:flex;min-width:0;min-height:100vh;flex-direction:column}
.app-header{position:sticky;top:0;z-index:30;min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:12px clamp(20px,3vw,42px);background:#fffffff2;border-bottom:1px solid #dce5ed;backdrop-filter:blur(14px);box-shadow:0 8px 24px #102a4307}
.header-tools{display:flex;align-items:center;gap:14px}
.mobile-menu-button{display:none;width:42px;height:42px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--navy);font-size:19px;cursor:pointer}
.header-date{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #dbe6ed;border-radius:10px;background:#f8fafc;color:#486581;font-size:12px;font-weight:700}
.header-tool-icon{color:#1f8bb8;font-size:16px}.india-flag{font-size:26px;filter:saturate(1.1);line-height:1}
.profile-menu{position:relative}.profile-menu summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer;padding:5px 9px 5px 5px;border:1px solid transparent;border-radius:12px;transition:.15s ease}.profile-menu summary::-webkit-details-marker{display:none}.profile-menu summary:hover,.profile-menu[open] summary{background:#f1f6f9;border-color:#dce7ee}
.profile-avatar{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:linear-gradient(135deg,#5b6ee1,#8b5dd6);color:#fff;font-weight:800;box-shadow:0 6px 15px #5b6ee130}
.profile-copy b,.profile-copy small{display:block}.profile-copy b{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--navy);font-size:12px}.profile-copy small{margin-top:2px;color:var(--muted);font-size:9px}.profile-chevron{color:#829ab1}
.profile-dropdown{position:absolute;top:calc(100% + 9px);left:0;width:220px;padding:10px;background:#fff;border:1px solid #d9e4eb;border-radius:12px;box-shadow:0 18px 45px #102a4323}
.profile-dropdown-user{padding:8px 9px 12px;border-bottom:1px solid var(--line)}.profile-dropdown-user b,.profile-dropdown-user small{display:block}.profile-dropdown-user b{font-size:12px;color:var(--navy)}.profile-dropdown-user small{margin-top:3px;color:var(--muted);font-size:10px}
.profile-dropdown form{margin:8px 0 0}.profile-dropdown button{width:100%;padding:10px;border:0;border-radius:8px;background:#fff5f4;color:#b42318;text-align:left;font-weight:700;cursor:pointer}.profile-dropdown button:hover{background:#fee7e5}
.header-brand{order:-1;display:flex;align-items:center;gap:12px;color:var(--navy);text-decoration:none;text-align:left}
.header-brand-image{position:relative;display:block;width:62px;height:62px;overflow:hidden;flex:0 0 62px}
.header-brand-image img{position:absolute;width:98px;height:98px;max-width:none;left:-18px;top:-10px}
.header-brand b,.header-brand small{display:block}.header-brand b{font-size:22px;letter-spacing:-.02em}.header-brand small{margin-top:2px;color:#66859a;font-size:10px;letter-spacing:.04em}
.app-page{width:100%;max-width:1500px;flex:1;padding:30px clamp(20px,3vw,42px) 54px}
.app-footer{display:flex;justify-content:space-between;gap:16px;padding:18px clamp(20px,3vw,42px);border-top:1px solid #dce5ed;background:#fff;color:#78909c;font-size:11px}.app-footer a,.guest-footer a{color:#e92f2a;font-weight:800;text-decoration:none}.app-footer a:hover,.guest-footer a:hover{text-decoration:underline}

/* Colorful dashboard */
.dashboard-welcome{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 32px;border-radius:20px;background:linear-gradient(120deg,#102a43 0%,#15577a 62%,#0e8c83 125%);color:#fff;box-shadow:0 16px 38px #102a4320}
.dashboard-welcome:after{content:"";position:absolute;width:250px;height:250px;right:-85px;top:-105px;border:44px solid #ffffff0d;border-radius:50%}.dashboard-welcome h1{margin:8px 0 8px;font-size:32px}.dashboard-welcome p{margin:0;color:#d4e8f2;font-size:14px}.welcome-badge{position:relative;z-index:1;min-width:210px;padding:14px 16px;border:1px solid #ffffff26;border-radius:12px;background:#ffffff12}.welcome-badge span,.welcome-badge b{display:block}.welcome-badge span{color:#aee5db;font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:800}.welcome-badge b{margin-top:5px;font-size:12px}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:20px}
.metric-card{position:relative;overflow:hidden;min-height:122px;display:flex;align-items:center;gap:18px;padding:22px;border-radius:17px;color:#fff;box-shadow:0 12px 28px #102a4318}.metric-card:after{content:"";position:absolute;width:100px;height:100px;right:-37px;top:-37px;border:22px solid #ffffff16;border-radius:50%}.metric-indigo{background:linear-gradient(135deg,#4856c7,#6f70e8)}.metric-cyan{background:linear-gradient(135deg,#057fa5,#18a8bf)}.metric-orange{background:linear-gradient(135deg,#e66b3e,#f29a52)}.metric-purple{background:linear-gradient(135deg,#9d4bb1,#d166b6)}
.metric-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#ffffff1f;font-size:22px}.metric-card strong,.metric-card span{display:block}.metric-card strong{font-size:31px;line-height:1}.metric-card div>span{margin-top:7px;color:#ffffffdb;font-size:11px;font-weight:600}
.dashboard-section{margin-top:24px;padding:24px;border:1px solid #dce5ed;border-radius:18px;background:#fff;box-shadow:0 8px 24px #102a4308}.dashboard-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dashboard-section-heading h2{margin:0;color:var(--navy);font-size:19px}.dashboard-section-heading p{margin:5px 0 0;color:var(--muted);font-size:11px}
.chart-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.chart-card{display:flex;align-items:center;gap:16px;min-width:0;padding:18px;border:1px solid #e2e9ef;border-radius:14px;background:linear-gradient(145deg,#fff,#f8fafc)}
.pie-chart{position:relative;flex:0 0 105px;width:105px;height:105px;border-radius:50%;background:conic-gradient(var(--chart-color) calc(var(--chart-value) * 1%),#e8eef3 0);box-shadow:inset 0 0 0 1px #fff,0 8px 20px #102a4310}.pie-chart:after{content:"";position:absolute;inset:13px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px #e8eef3}.pie-chart-center{position:absolute;z-index:1;inset:0;display:grid;place-content:center;text-align:center}.pie-chart-center strong{color:var(--navy);font-size:21px}.pie-chart-center small{margin-top:1px;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.05em}
.chart-copy{display:flex;align-items:flex-start;gap:8px;min-width:0}.chart-dot{width:8px;height:8px;border-radius:50%;margin-top:5px;flex:0 0 8px}.chart-copy h3{margin:0;color:var(--navy);font-size:13px}.chart-copy p{margin:4px 0 7px;color:var(--muted);font-size:9px;line-height:1.4}.chart-copy b{color:var(--ink);font-size:14px}.chart-copy b small{color:var(--muted);font-weight:600}
.admin-forms-grid{align-items:start}.panel-kicker{margin-bottom:4px;color:#1f8bb8;text-transform:uppercase;letter-spacing:.1em;font-size:8px;font-weight:800}.portal-link{color:#14769d;text-decoration:none;font-weight:700}.portal-link:hover{text-decoration:underline}.table-details{margin-top:8px}.table-details summary{color:#526d82;font-size:10px;cursor:pointer}.table-details form{margin-top:8px}.table-details input{max-width:135px;padding:6px 8px;border:1px solid #c7d5df;border-radius:7px}

/* Super Admin management pages */
.admin-page-title{align-items:center;margin-bottom:4px}.admin-page-title h1{font-size:30px}.admin-page-title .eyebrow{margin-bottom:7px;color:#167a9d}.admin-heading-action{border:1px solid #c9d8e2;white-space:nowrap}.admin-form-panel{max-width:980px}.admin-management-panel{margin-top:18px}.admin-form-actions{display:flex;align-items:center;gap:10px;margin-top:20px}.empty-state{padding:18px;color:var(--muted);text-align:center}.station-list-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.station-list-actions form{margin:0}.station-edit-button{background:linear-gradient(90deg,#5b6ee1,#785fc1)}.station-list-panel .btn.light{border:1px solid #cad8e2;color:#526d82}.station-edit-panel-head{min-height:88px}.station-edit-logo{width:60px;height:60px;padding:5px;border:1px solid var(--line);border-radius:12px;background:#fff}.station-edit-logo img{width:100%;height:100%;object-fit:contain;border-radius:8px}

/* Support */
.support-page{max-width:680px;margin:55px auto;padding:46px;border:1px solid #dce5ed;border-radius:20px;background:#fff;text-align:center;box-shadow:0 18px 45px #102a4310}.support-page h1{margin:9px 0 12px;color:var(--navy);font-size:38px}.support-page p{margin:0;color:var(--muted);line-height:1.7}.support-number{display:inline-block;margin-top:26px;padding:14px 22px;border-radius:12px;background:linear-gradient(90deg,#146c94,#0f766e);color:#fff;text-decoration:none;font-size:20px;font-weight:800;box-shadow:0 10px 25px #146c9425}

/* Nature management */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.nature-management-grid{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(420px,1.3fr);gap:24px;align-items:start}
.nature-add-form{padding:18px;border:1px solid #dce5ed;border-radius:12px;background:#f8fafc}.nature-add-form .btn{margin-top:12px}
.nature-list{display:grid;gap:8px}.nature-edit-row{display:grid;grid-template-columns:28px minmax(0,1fr) 68px;align-items:center;gap:9px;padding:8px;border:1px solid #e2e9ef;border-radius:10px;background:#fff}.nature-row-number{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#e8f4f8;color:#146c94;font-size:10px;font-weight:800}.nature-edit-row .field input{padding:8px 10px}.nature-save{border:1px solid #b9ceda!important;color:#146c94!important}

/* Compact property entry */
.property-page-title{margin-bottom:14px}.property-page-title p{font-size:12px}.property-entry-form .panel{margin-top:14px}.property-entry-form .panel-head{padding:13px 18px}.property-entry-form .panel-head h2{font-size:15px}.property-entry-form .panel-body{padding:16px 18px}.property-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 14px}.property-entry-form .field label{margin-bottom:5px;font-size:11px}.property-entry-form .field input,.property-entry-form .field select,.property-entry-form .field textarea{min-height:38px;padding:8px 10px;font-size:12px}.property-entry-form .field input::placeholder,.property-entry-form .field textarea::placeholder{color:#91a4b4}.property-entry-form .field input:disabled{background:#f1f5f8;color:#526d82}.property-remarks-field{grid-column:span 2}.property-field-group{min-width:0;margin:0;padding:10px 12px 12px;border:1px solid #dce5ed;border-radius:11px;background:#f8fafc}.property-field-group.full{grid-column:1/-1}.property-field-group legend{padding:0 7px;color:#486581;font-size:10px;font-weight:800}.seized-from-grid{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(320px,1.3fr);gap:14px}.property-form-actions{margin-top:18px}
.articles-panel .panel-body{padding:14px}.article-row{margin-bottom:10px;padding:13px 14px;border-radius:11px;background:#f9fbfd}.article-row:last-child{margin-bottom:0}.article-head{margin-bottom:10px}.article-head b{color:var(--navy);font-size:12px}.article-fields-row{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(220px,1.5fr) 105px 95px;gap:10px;align-items:end}.zimma-toggle-row{display:flex;align-items:center;gap:12px;margin-top:11px;padding:9px 11px;border:1px solid #dce5ed;border-radius:9px;background:#fff;color:#334e68;font-size:11px;font-weight:700}.zimma-checkbox{display:inline-flex!important;align-items:center;gap:6px;margin:0!important;color:#146c94!important;cursor:pointer}.zimma-checkbox input{width:17px!important;height:17px!important;min-height:0!important;margin:0}.zimma-fields{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:10px;margin-top:10px;padding:11px;border-left:3px solid #18a999;border-radius:8px;background:#edf8f6}.zimma-fields[hidden]{display:none}.property-entry-form .actions .btn{padding:9px 15px;font-size:12px}

/* Police Station dashboard */
.station-welcome{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:27px 30px;border-radius:20px;background:linear-gradient(120deg,#102a43 0%,#12627d 55%,#0c8c82 125%);color:#fff;box-shadow:0 16px 38px #102a4320}.station-welcome:after{content:"";position:absolute;width:260px;height:260px;right:-85px;bottom:-155px;border:46px solid #ffffff0d;border-radius:50%}.station-welcome-copy{position:relative;z-index:1;display:flex;align-items:center;gap:22px}.station-welcome-logo{display:grid;place-items:center;width:92px;height:92px;padding:8px;border:1px solid #ffffff66;border-radius:20px;background:#fff;box-shadow:0 14px 34px #06192548}.station-welcome-logo img{width:100%;height:100%;object-fit:contain;border-radius:13px}.station-welcome h1{margin:7px 0 7px;font-size:34px}.station-welcome p{margin:0;color:#d4e8f2;font-size:13px}.station-welcome-action{position:relative;z-index:1;background:#fff;color:#12627d;box-shadow:0 10px 25px #06192530}.station-welcome-action:hover{background:#eaf8f7}.station-metric-grid .metric-card{min-height:114px}.station-charts-section{background:linear-gradient(145deg,#fff,#f8fbfd)}.station-quick-actions{margin-top:18px}

/* Register and article workflow statuses */
.property-register-title{margin-bottom:16px}.property-search input{min-width:min(420px,70vw);border:1px solid #bcccdc;border-radius:9px;padding:10px 12px;font:13px Inter}.property-register-panel{margin-top:14px}.register-statuses{display:flex;flex-wrap:wrap;gap:5px;min-width:135px}.status-pill{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 8px;border-radius:999px;background:#edf2f6;color:#486581;font-size:9px;font-weight:800;text-transform:capitalize;white-space:nowrap}.status-pill.case-status{background:#e9efff;color:#4856c7}.status-pill.status-in_store{background:#e4f4ff;color:#087aa1}.status-pill.status-in_zimma{background:#fff4d9;color:#8b5e00}.status-pill.status-sent_to_lab{background:#fff0e8;color:#b54708}.status-pill.status-disposed{background:#f2e9fa;color:#7a3c9d}.register-actions{white-space:nowrap}.article-status-sent_to_lab{border-color:#f2b38f;background:#fffaf7}.article-status-disposed{border-color:#d8c8e4;background:#fcf9ff}.article-note{margin:8px 0;padding:8px 10px;border-radius:8px;background:#fff8e6;color:#765a14;font-size:11px}.lab-lock-notice{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:11px 0;padding:10px 12px;border:1px solid #f4c6a8;border-radius:9px;background:#fff3eb;color:#9a4b17;font-size:11px}.lab-lock-notice span{color:#a86234}.lab-return-card{margin-top:10px;padding:16px;border-color:#efb18b;background:#fff}.lab-return-card summary{cursor:pointer;color:#9a4b17}.lab-current-dispatch{margin:12px 0}.lab-return-fields{grid-template-columns:minmax(170px,.55fr) minmax(280px,1.45fr)}.lab-return-fields textarea{min-height:76px}.lab-return-button{margin-top:12px;background:linear-gradient(90deg,#e66b3e,#d95045)}.article-action-grid{margin-top:10px}.article-history-entry{margin:10px 0 0;padding:9px 11px;border-left:3px solid #8faac0;border-radius:6px;background:#f2f6f9;color:#486581;font-size:10px;line-height:1.7}
.property-register-filters{display:grid;grid-template-columns:minmax(280px,1fr) 210px auto auto;align-items:end;gap:12px;padding:14px;border:1px solid #dce5ed;border-radius:13px;background:#fff}.property-register-filters .field label{margin-bottom:5px;font-size:10px}.property-register-filters .property-search-field input{width:100%;min-width:0}.property-register-filters select{min-height:39px}.property-filter-button,.property-filter-reset{min-height:39px;padding:9px 15px}.property-filter-reset{border:1px solid #c7d7e2}.pr-status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:800}.pr-status-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.pr-status-badge.pending{background:#fff4d9;color:#946200}.pr-status-badge.disposed{background:#e8f7ef;color:#16714a}.register-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:13px 15px;border:1px solid #dce5ed;border-radius:12px;background:#fff}.pagination-summary{color:var(--muted);font-size:11px;font-weight:600}.pagination-controls{display:flex;align-items:center;gap:9px}.pagination-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;border:1px solid #c8d7e1;border-radius:8px;background:#fff;color:#146c94;text-decoration:none;font-size:11px;font-weight:800}.pagination-button:hover{background:#edf7fa}.pagination-button.disabled{background:#f3f6f8;color:#9aabb8;cursor:not-allowed}.pagination-current{padding:0 5px;color:#486581;font-size:10px;font-weight:700}

/* Property Register QR labels */
.property-qr-cell{min-width:112px;text-align:center}.property-qr-preview{display:grid;place-items:center;width:104px;height:104px;margin:0 auto;padding:4px;border:1px solid #d7e2e9;border-radius:10px;background:#fff;color:var(--muted);font-size:9px}.property-qr-preview svg{display:block;width:94px;height:94px}.print-qr-button{border:1px solid #b9ceda!important;color:#146c94!important}.qr-error{color:var(--danger);font-weight:700}.qr-print-card{display:none}

@media print{
    body.qr-print-active *{visibility:hidden!important}
    body.qr-print-active .qr-print-card.is-print-target,body.qr-print-active .qr-print-card.is-print-target *{visibility:visible!important}
    body.qr-print-active .qr-print-card.is-print-target{position:absolute;inset:0;display:block!important;width:86mm;min-height:112mm;margin:0 auto;padding:7mm;border:1px solid #111;background:#fff;color:#000;font-family:Arial,sans-serif}
    .qr-print-heading{display:flex;align-items:center;justify-content:center;gap:3mm;padding-bottom:3mm;border-bottom:1px solid #aaa}.qr-print-heading img{width:18mm;height:18mm;object-fit:contain}.qr-print-heading b,.qr-print-heading span{display:block}.qr-print-heading b{font-size:16pt}.qr-print-heading span{margin-top:1mm;font-size:8pt;text-transform:uppercase;letter-spacing:.08em}
    .qr-print-code{display:grid;place-items:center;margin:5mm auto;width:54mm;height:54mm}.qr-print-code svg{display:block;width:54mm;height:54mm}
    .qr-print-card dl{margin:0}.qr-print-card dl div{display:grid;grid-template-columns:29mm 1fr;gap:2mm;padding:1.7mm 0;border-bottom:1px solid #ddd;font-size:9pt}.qr-print-card dt{font-weight:700}.qr-print-card dd{margin:0;overflow-wrap:anywhere}
    @page{size:auto;margin:10mm}
}

/* Login without application header */
.guest-page-content{width:100%;max-width:1120px;min-height:calc(100vh - 58px);display:flex;flex-direction:column;justify-content:center;padding:35px 24px}
.guest-footer{min-height:58px;display:flex;align-items:center;justify-content:center;gap:18px;padding:15px 24px;border-top:1px solid #dbe5ec;background:#ffffffd9;color:#78909c;font-size:10px}
.guest-alert{width:100%;max-width:520px;margin:0 auto 18px}
.auth-page .page{max-width:1120px;padding-top:35px;padding-bottom:35px}
.auth-shell{min-height:610px}.auth-form-panel{position:relative;padding-top:42px}.auth-card-brand{position:relative;display:block;width:112px;height:112px;margin:0 auto 22px;overflow:hidden}.auth-card-brand img{position:absolute;width:155px;height:155px;max-width:none;left:-22px;top:-4px}.auth-form-heading{justify-content:center;text-align:center}.auth-form-panel>p{text-align:center}.auth-identity .eyebrow{line-height:1.5}.portal-address{display:none}

@media(max-width:1250px){.chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1180px){.property-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.property-remarks-field{grid-column:span 2}.article-fields-row{grid-template-columns:minmax(160px,1fr) minmax(200px,1.35fr) 95px 90px}}
@media(max-width:960px){
    .app-shell{grid-template-columns:1fr}.app-sidebar{position:fixed;left:0;top:0;width:264px;transform:translateX(-105%);transition:transform .22s ease}.sidebar-open .app-sidebar{transform:translateX(0)}.sidebar-scrim{position:fixed;inset:0;z-index:35;border:0;background:#07152188;backdrop-filter:blur(2px)}.sidebar-open .sidebar-scrim{display:block}.mobile-menu-button{display:block}.app-header{padding-left:18px;padding-right:18px}.app-page{padding-left:18px;padding-right:18px}.profile-copy{display:none}.nature-management-grid{grid-template-columns:1fr}.article-fields-row{grid-template-columns:1fr 1fr}.article-quantity-field,.article-unit-field{max-width:none}.station-welcome{align-items:flex-start;flex-direction:column}.station-welcome-action{align-self:flex-start}.lab-return-fields{grid-template-columns:1fr}.property-register-filters{grid-template-columns:1fr 190px auto}
}
@media(max-width:700px){
    .app-header{min-height:72px}.header-date span:last-child{display:none}.header-date{padding:8px}.india-flag{font-size:23px}.profile-chevron{display:none}.header-brand-image{width:48px;height:48px;flex-basis:48px}.header-brand-image img{width:78px;height:78px;left:-15px;top:-8px}.header-brand b{font-size:17px}.header-brand small{display:none}.metric-grid,.chart-grid{grid-template-columns:1fr}.dashboard-welcome{align-items:flex-start;flex-direction:column;padding:25px}.welcome-badge{width:100%}.chart-card{justify-content:flex-start}.app-footer{align-items:center;flex-direction:column}.support-page{margin:20px auto;padding:34px 22px}.auth-card-brand{width:90px;height:90px;margin-bottom:12px}.auth-card-brand img{width:125px;height:125px;left:-18px;top:-3px}.auth-form-heading h2{font-size:27px}.auth-shell{min-height:0}.property-form-grid,.seized-from-grid,.article-fields-row,.zimma-fields{grid-template-columns:1fr}.property-remarks-field{grid-column:auto}.nature-edit-row{grid-template-columns:26px minmax(0,1fr) 62px}.station-welcome{padding:22px}.station-welcome-copy{align-items:flex-start;flex-direction:column;gap:14px}.station-welcome-logo{width:76px;height:76px}.station-welcome h1{font-size:28px}.article-action-grid{grid-template-columns:1fr}.property-register-filters{grid-template-columns:1fr}.property-filter-button,.property-filter-reset{width:100%}.register-pagination{align-items:stretch;flex-direction:column}.pagination-controls{justify-content:space-between}.pagination-current{text-align:center}
}
@media(max-width:520px){.guest-page-content{padding:18px 12px}.auth-identity{padding:28px 24px;min-height:300px}.auth-form-panel{padding:28px 22px 34px}.guest-footer{flex-direction:column;gap:4px}.dashboard-welcome h1{font-size:27px}}
