:root{--bg:#f1f5f9;--surface:#ffffff;--surface-2:#f8fafc;--border:#e2e8f0;--text:#0f172a;--text-muted:#64748b;--text-faint:#94a3b8;--primary:#DA2925;--primary-dark:#B21F1B;--primary-light:#FDE7E6;--teal:#0d9488;--teal-light:#ccfbf1;--success:#16a34a;--success-light:#dcfce7;--warning:#d97706;--warning-light:#fef3c7;--danger:#dc2626;--danger-light:#fee2e2;--purple:#7c3aed;--purple-light:#ede9fe;--info:#0284c7;--info-light:#e0f2fe;--radius:12px;--radius-sm:8px;--shadow:0 1px 3px rgba(15,23,42,.08),0 1px 2px rgba(15,23,42,.04);--shadow-md:0 8px 24px rgba(15,23,42,.1);--sidebar-w:272px}*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:Segoe UI,system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}button{font-family:inherit;cursor:pointer}ul{list-style:none;margin:0;padding:0}input,select,textarea{font-family:inherit;font-size:14px}svg{width:18px;height:18px;flex-shrink:0}.app{display:flex;min-height:100vh}.sidebar{width:var(--sidebar-w);background:var(--surface);border-right:1px solid var(--border);position:fixed;top:0;left:0;bottom:0;display:flex;flex-direction:column;z-index:40;transition:transform .25s ease}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:18px 20px;border-bottom:1px solid var(--border)}.brand-mark{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,var(--primary),var(--primary-dark));display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.brand-mark svg{width:20px;height:20px}.brand-text strong{display:block;font-size:15px;color:var(--text)}.brand-text span{display:block;font-size:11px;color:var(--text-muted)}.sidebar-nav{flex:1;overflow-y:auto;padding:14px 12px 20px}.nav-group-title{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--text-faint);text-transform:uppercase;padding:14px 10px 6px}.nav-link{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:var(--radius-sm);color:var(--text-muted);font-size:13.5px;font-weight:500;margin-bottom:2px;border:none;background:none;width:100%;text-align:left}.nav-link svg{color:var(--text-faint)}.nav-link:hover{background:var(--surface-2);color:var(--text)}.nav-link.active{background:var(--primary-light);color:var(--primary-dark)}.nav-link.active svg{color:var(--primary-dark)}.sidebar-foot{padding:14px 18px;border-top:1px solid var(--border);font-size:11px;color:var(--text-faint)}.main{flex:1;margin-left:var(--sidebar-w);display:flex;flex-direction:column;min-width:0}.topbar{position:sticky;top:0;z-index:30;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:14px;padding:12px 24px}.icon-btn{width:36px;height:36px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text-muted);display:flex;align-items:center;justify-content:center;position:relative}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.hamburger{display:none}.page-heading{font-size:17px;font-weight:700;color:var(--text);margin:0}.page-sub{font-size:12px;color:var(--text-muted);margin:0}.search-wrap{flex:1;max-width:420px;position:relative;display:flex;align-items:center;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:0 12px;height:36px;color:var(--text-faint)}.search-wrap input{border:none;background:transparent;outline:none;flex:1;margin-left:8px;color:var(--text)}.topbar-right{display:flex;align-items:center;gap:10px;margin-left:auto}.badge-dot{position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:50%;background:var(--danger);border:2px solid var(--surface)}.user-chip{display:flex;align-items:center;gap:10px;padding:5px 10px 5px 5px;border-radius:999px;border:1px solid var(--border);background:var(--surface)}.user-avatar{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--purple));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px}.user-chip .uinfo{line-height:1.2}.user-chip .uinfo strong{display:block;font-size:12.5px}.user-chip .uinfo span{display:block;font-size:10.5px;color:var(--text-muted)}.dropdown{position:absolute;top:60px;right:24px;width:320px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-md);z-index:50;display:none;overflow:hidden}.dropdown.open{display:block}.dropdown-head{padding:12px 16px;border-bottom:1px solid var(--border);font-weight:700;font-size:13px;display:flex;justify-content:space-between;align-items:center}.dropdown-list{max-height:320px;overflow-y:auto}.notif-item{display:flex;gap:10px;padding:11px 16px;border-bottom:1px solid var(--border)}.notif-item:last-child{border-bottom:none}.notif-ico{width:32px;height:32px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center}.notif-item p{margin:0;font-size:12.5px;color:var(--text)}.notif-item span{font-size:11px;color:var(--text-faint)}.user-menu-list{padding:6px}.user-menu-list button{width:100%;display:flex;align-items:center;gap:10px;padding:9px 10px;border:none;background:none;border-radius:var(--radius-sm);font-size:13px;color:var(--text)}.user-menu-list button:hover{background:var(--surface-2)}.user-menu-list button svg{color:var(--text-muted)}.user-menu-list hr{border:none;border-top:1px solid var(--border);margin:6px 0}.content{padding:22px 24px 60px;max-width:1500px;width:100%}.page-section{display:none}.page-section.active{display:block}.tabs-wrap{margin-top:4px}.tab-bar{display:flex;gap:6px;border-bottom:1px solid var(--border);margin-bottom:18px;flex-wrap:wrap}.tab-btn{padding:10px 16px;border:none;background:none;color:var(--text-muted);font-weight:600;font-size:13px;border-bottom:2px solid transparent;margin-bottom:-1px;display:flex;align-items:center;gap:7px}.tab-btn:hover{color:var(--text)}.tab-btn.active{color:var(--primary-dark);border-bottom-color:var(--primary)}.tab-panel{display:none}.tab-panel.active-panel{display:block}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:22px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;display:flex;flex-direction:column;gap:8px;box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between}.stat-ico{width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center}.stat-value{font-size:24px;font-weight:800;color:var(--text)}.stat-label{font-size:12.5px;color:var(--text-muted);font-weight:600}.stat-trend{display:flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700}.stat-trend.up{color:var(--success)}.stat-trend.down{color:var(--danger)}.stat-trend svg{width:13px;height:13px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border);flex-wrap:wrap}.panel-head h3{margin:0;font-size:14.5px;font-weight:700}.panel-head p{margin:2px 0 0;font-size:12px;color:var(--text-muted)}.panel-body{padding:18px}.panel-actions{display:flex;gap:8px;flex-wrap:wrap}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:20px}@media(max-width:1000px){.grid-2{grid-template-columns:1fr}}.btn{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);font-weight:600;font-size:13px}.btn:hover{background:var(--surface-2)}.btn svg{width:15px;height:15px}.btn-primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-teal{background:var(--teal);border-color:var(--teal);color:#fff}.btn-teal:hover{background:#0b7d73}.btn-outline{background:transparent}.btn-danger-outline{color:var(--danger);border-color:#fecaca;background:#fff}.btn-danger-outline:hover{background:var(--danger-light)}.btn-sm{padding:6px 11px;font-size:12px}.btn-block{width:100%;justify-content:center}.icon-btn-sm{width:30px;height:30px;border-radius:7px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;margin-right:4px}.icon-btn-sm svg{width:14px;height:14px}.icon-btn-sm:hover{background:var(--surface-2);color:var(--text)}.icon-btn-sm.success{color:var(--success);border-color:#bbf7d0}.icon-btn-sm.success:hover{background:var(--success-light)}.icon-btn-sm.danger{color:var(--danger);border-color:#fecaca}.icon-btn-sm.danger:hover{background:var(--danger-light)}.icon-btn-sm.info{color:var(--info);border-color:#bae6fd}.icon-btn-sm.info:hover{background:var(--info-light)}.table-scroll{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:640px}thead th{text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-faint);padding:10px 14px;border-bottom:1px solid var(--border);white-space:nowrap;background:var(--surface-2)}tbody td{padding:12px 14px;border-bottom:1px solid var(--border);font-size:13px;color:var(--text);white-space:nowrap}tbody tr:last-child td{border-bottom:none}tbody tr:hover{background:var(--surface-2)}.row-clickable{cursor:pointer}.actions-cell{cursor:default}.cell-strong{font-weight:700;color:var(--text)}.cell-muted{color:var(--text-muted);font-size:12px}.actions-cell{white-space:nowrap}.badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.badge-success{background:var(--success-light);color:#166534}.badge-warning{background:var(--warning-light);color:#92400e}.badge-danger{background:var(--danger-light);color:#991b1b}.badge-info{background:var(--info-light);color:#075985}.badge-purple{background:var(--purple-light);color:#5b21b6}.badge-neutral{background:#f1f5f9;color:#475569}.empty-row{text-align:center;color:var(--text-faint);padding:30px;font-size:13px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;display:none;align-items:center;justify-content:center;z-index:100;padding:20px}.modal-overlay.open{display:flex}.modal{background:var(--surface);border-radius:var(--radius);width:100%;max-width:560px;max-height:88vh;display:flex;flex-direction:column;box-shadow:var(--shadow-md)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border)}.modal-head h3{margin:0;font-size:15.5px;font-weight:700}.modal-body{padding:20px;overflow-y:auto;flex:1}.modal-foot{padding:14px 20px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-field{display:flex;flex-direction:column;gap:6px}.form-field.full{grid-column:1/-1}.form-field label{font-size:12px;font-weight:700;color:var(--text-muted)}.form-field input,.form-field select,.form-field textarea{padding:9px 11px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);outline:none}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--primary);background:#fff}.kv-list{display:flex;flex-direction:column;gap:0;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.kv{display:flex;justify-content:space-between;gap:16px;padding:10px 14px;border-bottom:1px solid var(--border);background:var(--surface)}.kv:nth-child(2n){background:var(--surface-2)}.kv:last-child{border-bottom:none}.kv .k{font-size:12px;color:var(--text-muted);font-weight:600}.kv .v{font-size:13px;color:var(--text);font-weight:600;text-align:right}.bar-list{display:flex;flex-direction:column;gap:14px}.bar-row .bar-top{display:flex;justify-content:space-between;font-size:12.5px;margin-bottom:6px}.bar-track{height:9px;border-radius:999px;background:var(--surface-2);overflow:hidden}.bar-fill{height:100%;border-radius:999px}.donut-wrap{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.donut{width:150px;height:150px;border-radius:50%;flex-shrink:0}.legend{display:flex;flex-direction:column;gap:10px}.legend-item{display:flex;align-items:center;gap:8px;font-size:12.5px}.dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.org-chart{display:flex;flex-direction:column;align-items:center;gap:6px}.org-node{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 18px;text-align:center;font-size:12.5px;font-weight:700;box-shadow:var(--shadow);min-width:170px}.org-node span{display:block;font-weight:400;font-size:11px;color:var(--text-muted);margin-top:2px}.org-line{width:2px;height:20px;background:var(--border)}.org-row{display:flex;gap:30px;flex-wrap:wrap;justify-content:center}.org-branch{display:flex;flex-direction:column;align-items:center;gap:6px}.report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.report-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;gap:10px;cursor:pointer;box-shadow:var(--shadow)}.report-card:hover{border-color:var(--primary);box-shadow:var(--shadow-md)}.report-card .r-ico{width:36px;height:36px;border-radius:9px;display:flex;align-items:center;justify-content:center}.report-card h4{margin:0;font-size:13.5px}.report-card p{margin:0;font-size:11.5px;color:var(--text-muted)}.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.photo-card{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--surface);box-shadow:var(--shadow)}.photo-ph{height:110px;background:linear-gradient(135deg,var(--primary-light),var(--teal-light));display:flex;align-items:center;justify-content:center;color:var(--primary-dark)}.photo-ph svg{width:30px;height:30px}.photo-info{padding:10px 12px}.photo-info strong{display:block;font-size:12.5px}.photo-info span{display:block;font-size:11px;color:var(--text-muted);margin:2px 0 8px}.photo-actions{display:flex;gap:6px}.map-box{height:260px;border-radius:var(--radius);border:1px solid var(--border);position:relative;overflow:hidden;background:linear-gradient(var(--border) 1px,transparent 1px) 0 0/40px 40px,linear-gradient(90deg,var(--border) 1px,transparent 1px) 0 0/40px 40px,var(--surface-2)}.map-pin-dot{position:absolute;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 0 0 4px #da292526}.map-pin-dot svg{width:9px;height:9px}.map-legend{position:absolute;bottom:10px;left:10px;background:#ffffffeb;border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-size:11px;display:flex;gap:12px}.toast-container{position:fixed;bottom:22px;right:22px;z-index:200;display:flex;flex-direction:column;gap:10px}.toast{background:var(--text);color:#fff;padding:12px 18px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;box-shadow:var(--shadow-md);display:flex;align-items:center;gap:10px;min-width:220px;animation:slideIn .25s ease}.toast.success{background:#166534}.toast.danger{background:#991b1b}.toast.info{background:#075985}@keyframes slideIn{0%{transform:translate(30px);opacity:0}to{transform:translate(0);opacity:1}}.note-banner{display:flex;gap:10px;align-items:flex-start;background:var(--info-light);border:1px solid #bae6fd;color:#075985;padding:12px 14px;border-radius:var(--radius-sm);font-size:12.5px;margin-bottom:18px}.note-banner svg{flex-shrink:0;margin-top:1px}.date-filter-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 14px;margin-bottom:16px;color:var(--text-muted)}.date-filter-bar label{font-size:12px;font-weight:700;color:var(--text-muted)}.date-filter-bar input[type=date]{padding:7px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);outline:none}@media(max-width:600px){.date-filter-bar{gap:8px;padding:10px}.date-filter-bar input[type=date]{flex:1;min-width:120px}}.sidebar-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;z-index:35}@media(max-width:980px){.sidebar{transform:translate(-100%)}.sidebar.open{transform:translate(0)}.main{margin-left:0}.hamburger{display:flex}.sidebar-overlay.open{display:block}.search-wrap{display:none}.form-grid,.grid-2{grid-template-columns:1fr}.topbar{padding:8px 10px;gap:8px}.heading-wrap{min-width:0;overflow:hidden}.page-heading{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-sub{display:none}.topbar-right{gap:6px}.hide-on-mobile{display:none}.icon-btn{width:32px;height:32px}.user-chip{border:none;background:none;padding:0;gap:0}.user-chip .uinfo,.user-chip #icoChevron{display:none}.user-avatar{width:32px;height:32px;font-size:11px}.dropdown{right:10px;left:10px;width:auto}.stat-grid{grid-template-columns:repeat(2,1fr);gap:10px}.stat-card{padding:12px;gap:6px}.stat-value{font-size:18px}.stat-label{font-size:11px}.stat-ico{width:32px;height:32px}.grid-3{grid-template-columns:repeat(3,1fr);gap:8px}.grid-3 .stat-card{padding:10px 8px;gap:4px}.grid-3 .stat-value{font-size:14px}.grid-3 .stat-label{font-size:10px}.grid-3 .stat-ico{width:26px;height:26px}.content{padding:14px 12px 40px}.tab-btn{padding:8px 10px;font-size:12px}}html[lang=te] body,.te{font-family:Noto Sans Telugu,Segoe UI,system-ui,sans-serif}a{color:var(--primary);text-decoration:none}button:disabled{opacity:.6;cursor:not-allowed}.muted{color:var(--text-muted)}.small{font-size:12px}.mt-0{margin-top:0}.mb-0{margin-bottom:0}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.spacer{flex:1}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.auth-split{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:var(--surface)}.auth-left{position:relative;overflow:hidden;color:#fff;padding:48px 56px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(140deg,var(--primary-dark) 0%,var(--primary) 50%,#7f1512 100%)}.auth-left:before,.auth-left:after{content:"";position:absolute;border-radius:50%;background:#ffffff14}.auth-left:before{width:420px;height:420px;right:-140px;top:-120px}.auth-left:after{width:300px;height:300px;left:-90px;bottom:-90px}.auth-brand{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.auth-brand .brand-mark{background:#ffffff2e;width:44px;height:44px}.auth-brand strong{display:block;font-size:17px}.auth-brand span{display:block;font-size:12px;opacity:.85}.auth-hero{position:relative;z-index:1;max-width:460px}.auth-hero h1{font-size:32px;line-height:1.2;margin:0 0 14px}.auth-hero p{font-size:14.5px;opacity:.9;line-height:1.6;margin:0}.auth-points{list-style:none;padding:0;margin:26px 0 0;display:flex;flex-direction:column;gap:12px}.auth-points li{display:flex;gap:10px;align-items:center;font-size:13.5px}.auth-points li span.ico{width:28px;height:28px;border-radius:8px;background:#ffffff29;display:flex;align-items:center;justify-content:center;flex-shrink:0}.auth-foot{position:relative;z-index:1;font-size:12px;opacity:.8;display:flex;gap:16px;flex-wrap:wrap}.auth-foot a{color:#fff;text-decoration:underline}.auth-right{display:flex;align-items:center;justify-content:center;padding:40px 24px;background:var(--bg)}.auth-card{width:100%;max-width:440px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-md);padding:30px 28px}.auth-card.wide{max-width:620px}.auth-card h2{margin:0 0 4px;font-size:21px}.auth-card .sub{margin:0 0 22px;color:var(--text-muted);font-size:13px}.auth-card form{display:flex;flex-direction:column;gap:14px}.auth-links{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12.5px;margin-top:4px}.auth-lang{display:flex;justify-content:flex-end;margin-bottom:10px}@media(max-width:900px){.auth-split{grid-template-columns:1fr}.auth-left{padding:22px 20px;min-height:auto}.auth-hero h1{font-size:21px;margin-bottom:6px}.auth-hero p,.auth-points,.auth-foot{display:none}.auth-hero{margin-top:14px}.auth-right{padding:18px 12px 30px;align-items:flex-start}.auth-card{padding:22px 18px}}.form-field .req{color:var(--danger);margin-left:2px}.form-field .err{color:var(--danger);font-size:11.5px;font-weight:600}.form-field .hint{color:var(--text-faint);font-size:11.5px}.form-field.invalid input,.form-field.invalid select,.form-field.invalid textarea{border-color:var(--danger);background:#fff}.form-field textarea{resize:vertical;min-height:90px;font-family:inherit}.form-field input[type=checkbox]{width:16px;height:16px;padding:0}.check-row{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;color:var(--text)}.check-row input{margin-top:2px;flex-shrink:0}.pw-wrap{position:relative;display:flex}.pw-wrap input{flex:1;padding-right:42px!important;width:100%}.pw-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:34px;height:30px;border:none;background:none;color:var(--text-muted);display:flex;align-items:center;justify-content:center;border-radius:6px}.pw-toggle:hover{background:var(--surface-2);color:var(--text)}.form-error{background:var(--danger-light);color:#991b1b;border:1px solid #fecaca;border-radius:var(--radius-sm);padding:10px 12px;font-size:12.5px;font-weight:600}.form-success{background:var(--success-light);color:#166534;border:1px solid #bbf7d0;border-radius:var(--radius-sm);padding:10px 12px;font-size:12.5px;font-weight:600}.otp-input{letter-spacing:.5em;font-size:18px!important;text-align:center;font-weight:700}.table-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:12px 18px;border-bottom:1px solid var(--border);background:var(--surface)}.table-toolbar .search-wrap{display:flex;max-width:320px;flex:1 1 220px}.table-toolbar select,.table-toolbar input[type=date]{height:36px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text);font-size:13px;outline:none;max-width:200px}.table-toolbar select:focus,.table-toolbar input:focus{border-color:var(--primary)}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 18px;border-top:1px solid var(--border);font-size:12.5px;color:var(--text-muted)}.pagination .pager{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.pagination .pg{min-width:32px;height:32px;padding:0 8px;border:1px solid var(--border);background:var(--surface);border-radius:7px;font-size:12.5px;font-weight:600;color:var(--text)}.pagination .pg.active{background:var(--primary);border-color:var(--primary);color:#fff}.pagination .pg:hover:not(.active):not(:disabled){background:var(--surface-2)}.pagination select{height:32px;border:1px solid var(--border);border-radius:7px;background:var(--surface);padding:0 6px;font-size:12.5px}.table-loading{position:relative;min-height:120px}.table-loading:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#ffffff8c}.card-list{display:none}@media(max-width:700px){.table-scroll.has-cards{display:none}.card-list{display:flex;flex-direction:column}.card-item{padding:12px 14px;border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:6px;cursor:pointer}.card-item:active{background:var(--surface-2)}.card-item .ci-row{display:flex;justify-content:space-between;gap:10px;font-size:12.5px}.card-item .ci-row .k{color:var(--text-faint);font-weight:600;flex-shrink:0}.card-item .ci-row .v{text-align:right;overflow:hidden;text-overflow:ellipsis}.card-item .ci-title{font-weight:700;font-size:13.5px;display:flex;justify-content:space-between;gap:8px;align-items:center}.table-toolbar{padding:10px 12px}.table-toolbar .search-wrap{max-width:none;flex-basis:100%}.table-toolbar select,.table-toolbar input[type=date]{flex:1 1 140px;max-width:none}.pagination{padding:10px 12px;justify-content:center}}.modal-overlay{animation:fadeIn .15s ease}.modal{animation:popIn .18s ease}.modal.lg{max-width:860px}.modal.sm{max-width:420px}.modal-close{width:32px;height:32px;border-radius:8px;border:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:center;color:var(--text-muted)}.modal-close:hover{background:var(--surface-2);color:var(--text)}.modal-head .mh-sub{font-size:12px;color:var(--text-muted);margin-top:2px}.modal-section{margin-bottom:18px}.modal-section:last-child{margin-bottom:0}.modal-section h4{margin:0 0 10px;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-faint)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes popIn{0%{transform:translateY(10px) scale(.98);opacity:0}to{transform:none;opacity:1}}@media(max-width:700px){.modal-overlay{padding:0;align-items:flex-end}.modal,.modal.lg,.modal.sm{max-width:100%;max-height:94vh;border-radius:16px 16px 0 0}.modal-foot{flex-wrap:wrap}.modal-foot .btn{flex:1 1 auto;justify-content:center}.kv{flex-direction:column;gap:2px}.kv .v{text-align:left}}.timeline{list-style:none;margin:0;padding:0;position:relative}.timeline li{position:relative;padding:0 0 14px 22px}.timeline li:before{content:"";position:absolute;left:5px;top:6px;bottom:-4px;width:2px;background:var(--border)}.timeline li:last-child:before{display:none}.timeline li:after{content:"";position:absolute;left:0;top:4px;width:12px;height:12px;border-radius:50%;background:var(--primary-light);border:2px solid var(--primary)}.timeline .tl-top{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:12.5px;font-weight:700}.timeline .tl-meta{font-size:11.5px;color:var(--text-faint)}.timeline .tl-remark{font-size:12.5px;color:var(--text);margin-top:4px;background:var(--surface-2);border:1px solid var(--border);border-radius:8px;padding:8px 10px;white-space:pre-wrap}.spinner{width:18px;height:18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.page-loader{min-height:60vh;display:flex;align-items:center;justify-content:center;color:var(--primary)}.photo-preview{width:100%;max-height:320px;object-fit:contain;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-2)}.upload-box{border:1.5px dashed var(--border);border-radius:var(--radius-sm);padding:16px;text-align:center;background:var(--surface-2);color:var(--text-muted);font-size:12.5px}.upload-box label{cursor:pointer;color:var(--primary);font-weight:700}.lang-toggle{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden}.lang-toggle button{border:none;background:var(--surface);padding:6px 10px;font-size:12px;font-weight:700;color:var(--text-muted)}.lang-toggle button.active{background:var(--primary);color:#fff}.restricted{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#92400e;background:var(--warning-light);padding:4px 10px;border-radius:999px;font-weight:700}.actions-bar{display:flex;flex-wrap:wrap;gap:8px}.empty-state{text-align:center;padding:40px 16px;color:var(--text-muted)}.copy-ref{font-family:ui-monospace,Menlo,monospace;font-size:18px;font-weight:800;letter-spacing:.04em;background:var(--primary-light);color:var(--primary-dark);padding:10px 14px;border-radius:8px;display:inline-block}.temp-pass{font-family:ui-monospace,Menlo,monospace;background:var(--warning-light);padding:8px 12px;border-radius:8px;font-weight:700;word-break:break-all}.chip-list{display:flex;gap:6px;flex-wrap:wrap}.chip{font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border)}.ward-pick{max-height:220px;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:6px;border:1px solid var(--border);border-radius:8px;padding:8px}.ward-pick label{display:flex;gap:5px;align-items:center;font-size:12px;font-weight:600;color:var(--text)}.trend-bars{display:flex;align-items:flex-end;gap:8px;height:160px;padding-top:10px}.trend-bars .tb{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end;min-width:0}.trend-bars .tb-pair{display:flex;gap:3px;align-items:flex-end;height:100%;width:100%;justify-content:center}.trend-bars .tb-bar{width:40%;max-width:16px;border-radius:4px 4px 0 0;min-height:2px}.trend-bars .tb span{font-size:10px;color:var(--text-faint);white-space:nowrap}.pub-nav{position:sticky;top:0;z-index:30;background:var(--surface);border-bottom:1px solid var(--border)}.pub-nav-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:14px;padding:12px 20px}.pub-links{display:flex;gap:4px;margin-left:18px}.pub-links a{padding:8px 12px;border-radius:8px;color:var(--text-muted);font-weight:600;font-size:13.5px}.pub-links a.active,.pub-links a:hover{background:var(--primary-light);color:var(--primary-dark)}.pub-main{max-width:1200px;margin:0 auto;padding:24px 20px 60px}.hero{background:linear-gradient(135deg,var(--primary-dark),var(--primary) 50%,#7f1512);color:#fff;border-radius:var(--radius);padding:32px;display:flex;gap:28px;align-items:center;margin-bottom:22px;flex-wrap:wrap}.hero-photo{width:150px;height:150px;border-radius:50%;background:#ffffff2e;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;border:4px solid rgba(255,255,255,.35)}.hero-photo svg{width:56px;height:56px}.hero-photo img{width:100%;height:100%;object-fit:cover}.hero h1{margin:0 0 6px;font-size:28px}.hero p{margin:0;opacity:.92;line-height:1.6}.corp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}.corp-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;display:flex;gap:12px;align-items:center;cursor:pointer;box-shadow:var(--shadow)}.corp-card:hover{border-color:var(--primary)}.corp-avatar{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--teal));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;flex-shrink:0;overflow:hidden}.corp-avatar img{width:100%;height:100%;object-fit:cover}.prose{white-space:pre-wrap;line-height:1.65;font-size:13.5px;color:var(--text)}.pub-menu-btn{display:none}@media(max-width:800px){.pub-links{display:none;position:absolute;top:58px;left:0;right:0;background:var(--surface);flex-direction:column;padding:10px;border-bottom:1px solid var(--border);margin:0}.pub-links.open,.pub-menu-btn{display:flex}.pub-nav-inner{padding:10px 12px;gap:8px}.pub-nav .brand-text span{display:none}.pub-nav .brand-text strong{white-space:nowrap;font-size:14px}.pub-nav .topbar-right{gap:6px}.pub-nav .topbar-right .btn{white-space:nowrap}.hero{padding:20px;gap:16px}.hero-photo{width:96px;height:96px}.hero h1{font-size:21px}.pub-main{padding:14px 12px 40px}}.party-hero{position:relative;display:flex;align-items:stretch;border-radius:16px;overflow:hidden;margin-bottom:20px;background:linear-gradient(120deg,#1a0605 0%,#7f1512 45%,var(--primary) 100%);color:#fff;box-shadow:var(--shadow-md)}.party-hero>img:first-child{display:block;width:34%;max-width:380px;height:auto;object-fit:contain;align-self:flex-end;flex-shrink:0}.party-hero-logo{position:absolute;top:18px;right:20px;width:64px;height:auto;background:#fff;border-radius:50%;padding:4px;box-shadow:0 4px 14px #00000040}.party-hero-text{flex:1;padding:28px 36px;display:flex;flex-direction:column;justify-content:center}.party-hero-text h1{margin:0 0 2px;font-size:34px;letter-spacing:-.01em}.party-hero-party{margin:0 0 16px;font-size:18px;font-weight:700;color:#ffd5d3}.party-hero-facts{margin:0;padding:0;list-style:none;display:grid;gap:8px}.party-hero-facts li{padding-left:18px;position:relative;font-size:14.5px;line-height:1.5;opacity:.95}.party-hero-facts li:before{content:"";position:absolute;left:0;top:7px;width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #ffffff40}.district-hero{display:flex;align-items:stretch;background:var(--surface);border:1px solid var(--border);border-left:6px solid var(--primary);border-radius:16px;overflow:hidden;margin-bottom:22px;box-shadow:var(--shadow)}.district-hero-text{flex:1;padding:28px 32px;display:flex;flex-direction:column;justify-content:center}.district-hero-text h2{margin:0 0 2px;font-size:28px;color:var(--text)}.district-hero-role{margin:0 0 12px;font-weight:700;color:var(--primary);font-size:15px}.district-hero-intro{margin:0 0 16px;line-height:1.65;color:var(--text-muted);max-width:640px}.district-hero-pillars{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.district-hero-pillars li{background:var(--primary-light);color:var(--primary-dark);border-radius:10px;padding:9px 12px;font-size:13px;font-weight:600}.district-hero-photo{width:30%;max-width:300px;flex-shrink:0;display:flex;align-items:flex-end;justify-content:center;background:radial-gradient(circle at 50% 70%,#f87171 0%,var(--primary) 45%,#7f1512 100%)}.district-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}.brand-logo{width:40px;height:40px;object-fit:contain;flex-shrink:0}@media(max-width:800px){.party-hero{flex-direction:column}.party-hero>img:first-child{width:100%;max-width:none}.party-hero-logo{width:48px;top:12px;right:12px}.party-hero-text{padding:18px 20px 22px}.party-hero-text h1{font-size:26px}.district-hero{flex-direction:column-reverse;border-left-width:1px;border-top:6px solid var(--primary)}.district-hero-photo{width:100%;max-width:none;max-height:340px}.district-hero-photo img{width:auto;max-width:70%;max-height:340px}.district-hero-text{padding:18px 20px}.district-hero-text h2{font-size:22px}.district-hero-pillars{grid-template-columns:repeat(2,minmax(0,1fr))}}
