:root{--sidebar:244px;--ink:#203931;--muted:#66756e;--bg:#f3f5f3;--line:#dde5df;--green:#235b46;--green-dark:#163f32}
body{font-family:'Segoe UI',Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:14px}
h1,h2,h3,.brand,.big-number{font-family:'Segoe UI',Arial,sans-serif}
button,input,select,textarea{font-family:inherit}
*{box-sizing:border-box}
[hidden]{display:none!important}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #3c896a;outline-offset:3px}
.sidebar{background:#153e32;border:0;padding:32px 18px 0;color:#f0f6f0}
.sidebar .brand{color:#fff;margin:0 11px 41px}
.sidebar .brand-symbol{background:#315b48;color:#d5ebbb}
.sidebar .brand-symbol svg{stroke:#d5ebbb}
.sidebar .brand-sub{color:#b7cdbd}
.sidebar .workspace-label{color:#a7bfb0;font-size:9px;letter-spacing:1.25px;margin-top:0;padding-left:14px}
.sidebar .admin-nav a{color:#d0dfd5;padding:13px 15px;gap:13px;font-size:14px;text-decoration:none;border-radius:8px;margin-bottom:4px}
.sidebar .admin-nav a:hover{background:#244e3f;color:#fff}
.sidebar .admin-nav a.active{background:#d9edc3;color:#1b4434;font-weight:650}
.nav-glyph{font-size:19px;width:20px;display:inline-grid;place-items:center}
.portal-nav-count{margin-left:auto;font-size:11px;min-width:20px;text-align:center;padding:2px 5px;border-radius:5px;background:#ffffff20}
.active .portal-nav-count{background:#bdd8a6}
.portal-nav-divider{height:1px;background:#ffffff1c;margin:24px 12px 18px}
.portal-menu-backdrop{position:fixed;inset:0;background:#153d3266;border:0;z-index:25;border-radius:0}
#management-nav .workspace-label{margin:20px 0 8px;font-size:8px}
.sidebar .admin-nav .portal-subnav{font-size:12px;padding:8px 14px 8px 25px;margin:0}
.sidebar-bottom{padding:20px 9px 0}
.portal-sidebar-scope{padding:0 0 20px;display:grid;gap:5px}
.portal-sidebar-scope>span{font-size:8px;letter-spacing:1.3px;color:#a7bfb0}
.portal-sidebar-scope>strong{font-size:12px;font-weight:500;color:#deeadf}
.sidebar .account{padding:18px 0;border-top:1px solid #ffffff20}
.sidebar .account-avatar{background:#315744;color:#dfedc7}
.sidebar .account small{color:#b8cdbd}
.topbar{height:72px;padding:0 36px;background:#fff;border-color:var(--line)}
.breadcrumb{font-size:12px;color:#66766c;min-width:0}
#crumb{color:#234335;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:340px}
.portal-help-link{font-size:11px;color:#687b6f;text-decoration:none}
.topbar-right .button{background:#fff;border-color:#d9e2db;color:#355445}
.admin-main{max-width:1600px;margin:auto;padding:34px 36px 48px;min-height:calc(100vh - 125px)}
.site-footer{border-color:var(--line);font-size:10px;color:#68786e;padding:20px 36px}
.portal-eyebrow{display:block;color:#58705f;font-size:9px;font-weight:700;letter-spacing:1.55px;line-height:1.6}
.portal-hero{display:grid;grid-template-columns:1fr 280px;gap:32px;align-items:center;padding:9px 0 30px}
.portal-hero h1{font-size:43px;font-weight:650;letter-spacing:-1.7px;line-height:1.17;margin:14px 0 14px}
.portal-hero>div>p{max-width:530px;color:#687b6e;font-size:13px;line-height:1.85}
.portal-hero-actions{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}
.button{font-size:12px;border-radius:7px;padding:10px 15px;min-height:37px;font-weight:550;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.4}
.button.primary{background:#235b46;color:#fff;border-color:#235b46}
.button.primary:hover{background:#194c38}
.button.selected{background:#e0eed7;border-color:#a3c49d;color:#284d38}
.portal-cut{background:#e5eddf;border:1px solid #d6e2ce;border-radius:12px;padding:25px 24px;align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-height:190px;position:relative;overflow:hidden}
.portal-cut>span{font-size:8px;letter-spacing:1.3px;color:#57735a;font-weight:650}
.portal-cut>strong{font-size:27px;letter-spacing:-.7px;color:#34533d;font-weight:600;margin:16px 0 9px}
.portal-cut>p{font-size:11px;color:#6a7e66;line-height:1.7;max-width:190px}
.portal-cut>div{margin-top:19px;display:flex;justify-content:space-between;align-items:center}
.portal-cut-mark{font-size:29px;color:#99b685}
.portal-cut .portal-badge{background:#f1f6ec;border-color:#d3e1c8;color:#4c6844;font-size:9px}
.portal-scope{display:flex;align-items:center;gap:8px;font-size:11px;color:#496854;margin:0 0 18px;flex-wrap:wrap}
.portal-scope>span:last-child{color:#748176;margin-left:auto;font-size:10px}
.portal-scope-dot{width:6px;height:6px;border-radius:50%;background:#4a8361}
.portal-filter{display:grid;grid-template-columns:minmax(200px,1.65fr) minmax(180px,1fr) auto;gap:14px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px 20px;margin-bottom:22px}
.portal-filter:has([name="party"]){grid-template-columns:minmax(180px,1.3fr) minmax(165px,1fr) minmax(155px,1fr) auto}
.field{font-size:11px;font-weight:550;color:#43594a;gap:7px}
.field input,.field select,.field textarea{border:1px solid #d8e1d9;border-radius:6px;background:#fff;color:#324e3d;font-size:12px;padding:10px 11px;min-height:39px}
.portal-filter-buttons{display:flex;gap:7px;padding-bottom:1px}
.portal-advanced{grid-column:1/-1;font-size:11px;border-top:1px solid #edf0e9;padding-top:12px;color:#5e715e}
.portal-advanced summary{cursor:pointer}
.portal-advanced .form-grid{padding-top:16px}
.portal-applied{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:-7px 0 20px;color:#435f46;font-size:11px}
.portal-applied>span{padding:6px 10px;background:#e5eddc;border-radius:6px}
.portal-applied>button{border:0;background:none;color:#486349;text-decoration:underline;font:inherit}
.portal-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}
.portal-kpi{background:#fff;border:1px solid var(--line);border-radius:10px;padding:21px 22px;min-width:0}
.portal-kpi>span{font-size:11px;color:#657565}
.portal-kpi>strong{display:block;font-size:34px;letter-spacing:-1px;line-height:1.2;font-weight:600;margin:12px 0 9px;color:#234f39}
.portal-kpi>small{font-size:9px;color:#7c877a;display:block;line-height:1.6}
.portal-home-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:20px}
.portal-panel{background:#fff;border:1px solid var(--line);border-radius:11px;padding:24px;margin-bottom:22px;min-width:0}
.portal-panel h2{font-size:19px;font-weight:600;letter-spacing:-.4px;line-height:1.35}
.portal-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
.portal-section-head h2{margin-top:5px}
.portal-section-head>a{font-size:11px;color:#3c6b4e;text-decoration:none;white-space:nowrap}
.portal-panel-intro{font-size:11px;line-height:1.7;color:#778174;margin:-8px 0 19px}
.portal-territories{display:grid}
.portal-territories>button{border:0;border-top:1px solid #edf0ea;background:#fff;display:grid;grid-template-columns:27px 1fr 44px 15px;gap:12px;align-items:center;text-align:left;padding:15px 0;color:#3d5a42}
.portal-territories>button:hover{background:#f7faf3}
.portal-territories>button:first-child{border-top:0}
.portal-territory-number{font-size:10px;color:#92a48a}
.portal-territories strong{display:block;font-size:12px;font-weight:600}
.portal-territories small{display:block;font-size:9px;color:#7c8a73;margin-top:4px;line-height:1.5;font-weight:400}
.portal-territories b{font-size:17px;font-weight:600;text-align:right}
.portal-statuses>div{display:grid;grid-template-columns:1fr 35px;font-size:11px;gap:8px;margin:15px 0}
.portal-statuses b{text-align:right;color:#355b3f}
.portal-status-track{grid-column:1/-1;height:5px;background:#eff2e9;border-radius:4px;overflow:hidden}
.portal-status-track i{display:block;height:100%;background:#7a9f66;border-radius:4px}
.portal-footnote{font-size:10px;color:#75826f;line-height:1.7;margin-top:17px}
.portal-followup{margin:5px 0 28px}
.portal-issues{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.portal-issues>button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:20px;background:#ebeee7;border:1px solid #dce3d5;border-radius:9px;color:#38503a}
.portal-issues>button:hover{border-color:#9cb58b;background:#e6eddf}
.portal-issues>button>span{font-size:11px;width:100%;display:flex;justify-content:space-between;gap:8px}
.portal-issues>button>strong{font-weight:600;font-size:29px;margin:10px 0 6px}
.portal-issues>button>small{font-size:10px;color:#73806a;line-height:1.7}
.portal-page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:4px 0 26px}
.portal-page-head h1{font-size:33px;font-weight:650;letter-spacing:-1px;margin:9px 0 10px}
.portal-page-head p{font-size:12px;line-height:1.8;color:#6d7c69}
.portal-result-count{font-size:12px;color:#486149;display:flex;justify-content:space-between;margin:0 0 17px;gap:10px}
.portal-result-count>span{font-size:10px;color:#7b8972}
.portal-person-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.portal-person{background:#fff;border:1px solid var(--line);border-radius:10px;padding:19px;display:flex;flex-direction:column;min-width:0}
.portal-person-top{display:flex;gap:12px;align-items:center;min-width:0}
.portal-person-top>div{min-width:0}
.portal-person .profile-thumbnail{width:46px;height:54px;flex-basis:46px;border-radius:7px}
.portal-person .name-button{font-size:13px;font-weight:650;color:#2d4e38;text-align:left;line-height:1.5;overflow-wrap:anywhere;padding:0}
.portal-person-top p{font-size:10px;color:#78856f;margin:5px 0 0;line-height:1.6}
.portal-person-role{font-size:11px;line-height:1.75;color:#66785e;margin:17px 0;flex:1;overflow-wrap:anywhere}
.portal-person-tags{display:flex;gap:6px;flex-wrap:wrap}
.portal-badge{display:inline-flex;align-items:center;font-size:9px;line-height:1.5;border:1px solid #e0e7d8;background:#f5f7f0;color:#5c7252;border-radius:5px;padding:5px 7px;overflow-wrap:anywhere}
.portal-badge.verified{background:#e6f1df;border-color:#d0e0c6;color:#3d6b35}
.portal-badge.demo{background:#fff0d6;border-color:#eadaba;color:#8b681e}
.portal-badge.light-verde{background:#e5efdf;color:#446b38}
.portal-badge.light-amarillo{background:#fff1d4;color:#8b6924}
.portal-badge.light-rojo{background:#f8e8df;color:#9e513d}
.portal-person-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e9eee3;padding-top:14px;margin-top:18px}
.portal-person-bottom>span{font-size:9px;color:#7a876f;line-height:1.7}
.portal-person-bottom .button{font-size:10px;padding:7px 10px;min-height:30px}
.portal-comparison-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin:25px 0}
.portal-slot{min-height:245px;border:1px dashed #becdb5;border-radius:10px;background:#edf2e7;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:#5d7750;text-decoration:none;text-align:center;padding:20px}
.portal-slot>span{font-size:32px;font-weight:300;color:#8ba37b}
.portal-slot>strong{font-size:13px;font-weight:550}
.portal-slot>small{font-size:10px;color:#8a957e}
.portal-comparison-action{display:flex;justify-content:space-between;gap:20px;align-items:center}
.portal-comparison-action p{font-size:12px;color:#6c7e64;margin-top:8px;line-height:1.8}
.portal-empty{padding:30px 10px;grid-column:1/-1}
.portal-empty h2,.portal-empty h3{font-size:17px;font-weight:550;margin-bottom:10px}
.portal-empty p{color:#6d7e64;font-size:12px;line-height:1.8}
.portal-management-section{margin:28px 0}
.portal-management-section>h2{font-size:19px;margin-bottom:17px;font-weight:600}
.portal-management-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.portal-management-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:23px;min-height:145px;text-decoration:none;color:#33513a}
.portal-management-card:hover{border-color:#9bb58f;box-shadow:0 4px 12px #2c4a3610}
.portal-management-card>span{float:right;font-size:18px;color:#79936b}
.portal-management-card h3{font-size:15px;margin:18px 0 9px;font-weight:600}
.portal-management-card p{font-size:11px;color:#7b8772;line-height:1.8}
.portal-profile-back{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:0 0 23px}
.portal-profile-back .button{border:0;background:none;color:#54734b;padding-left:0;font-size:11px}
.portal-profile-back>span{font-size:8px;letter-spacing:1.5px;color:#7f9274}
.portal-profile-header{display:flex;justify-content:space-between;gap:24px;background:#fff;border:1px solid var(--line);padding:28px;border-radius:11px;margin-bottom:18px}
.portal-profile-identity{display:flex;gap:22px;min-width:0;align-items:flex-start}
.portal-profile-identity .profile-thumbnail{width:95px;height:110px;flex-basis:95px;border-radius:9px;cursor:default}
.portal-profile-identity .profile-thumbnail-initials{font-size:30px}
.portal-profile-identity h1{font-size:29px;font-weight:650;line-height:1.3;margin:8px 0;letter-spacing:-.8px;overflow-wrap:anywhere}
.portal-profile-identity p{font-size:12px;color:#6a7a61;line-height:1.7;margin-bottom:12px}
.portal-profile-meta{display:flex;flex-direction:column;gap:8px;font-size:10px;color:#76846a;align-items:flex-start;flex:0 0 190px;padding-top:8px}
.portal-profile-meta b{font-weight:500;color:#44613e}
.portal-profile-meta .button{margin-top:14px;font-size:11px}
.portal-profile-manage{padding:0 4px 13px;font-size:11px;color:#647b58}
.portal-profile-manage summary{cursor:pointer}
.portal-profile-manage .admin-actions{padding-top:12px}
.portal-profile-tabs{display:flex;gap:7px;border-bottom:1px solid #dbe3d4;margin:8px 0 24px;overflow-x:auto}
.portal-profile-tabs button{white-space:nowrap;padding:13px 16px;border:0;border-bottom:3px solid transparent;background:none;color:#748169;font-size:12px}
.portal-profile-tabs button[aria-selected="true"]{color:#2b563b;border-bottom-color:#335f44;font-weight:650}
.portal-profile-tabs button:hover{color:#284f38;background:#eaf0e3}
#profile-panel{outline:none;min-height:350px}
.portal-summary-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;align-items:start}
.portal-facts{display:grid;grid-template-columns:1fr 1fr;gap:21px;margin:22px 0}
.portal-facts dt{font-size:10px;color:#7c8a70;margin-bottom:6px}
.portal-facts dd{margin:0;font-size:12px;line-height:1.75;color:#45613c;overflow-wrap:anywhere}
.portal-bio{font-size:12px;color:#6a7c60;line-height:1.85;white-space:pre-line;margin:16px 0}
.portal-procon .portal-panel{padding:24px}
.portal-procon h2{margin-top:7px;font-size:17px}
.portal-procon ul{margin:17px 0 0;padding-left:17px;color:#627557;font-size:12px;line-height:1.85}
.portal-procon li{margin:9px 0}
.portal-risk-panel{background:#fcfbf6;border-color:#e5e1cf}
.portal-risk-panel .portal-eyebrow{color:#938348}
.portal-source-note{margin-top:23px;border-top:1px solid #e6ebdf;padding-top:15px;font-size:10px;line-height:1.9;color:#829073}
.portal-source-note a{color:#3f6e41}
.portal-profile-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.portal-profile-shortcuts>button{display:flex;flex-direction:column;gap:9px;text-align:left;padding:20px;border:1px solid #d9e3d0;border-radius:9px;background:#eaf0e2;color:#3c5d3d}
.portal-profile-shortcuts strong{font-size:12px;font-weight:600}
.portal-profile-shortcuts span{font-size:10px;color:#7a8f6b;line-height:1.7}
.portal-details{margin:20px 0;border-top:1px solid #e3e9da;padding-top:15px;font-size:12px;color:#5a7750}
.portal-details summary{cursor:pointer;line-height:1.7}
.portal-source-list{display:grid;gap:14px;margin-top:24px}
.portal-source-list>div{border-bottom:1px solid #e9eee1;padding-bottom:14px;display:grid;gap:5px}
.portal-source-list a{font-size:12px;color:#3e6b40;overflow-wrap:anywhere;line-height:1.7}
.portal-source-list small{font-size:10px;color:#8b967d}
#profile-panel .support-section,#profile-panel .career-summary,#profile-panel .political-detail{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;margin:0 0 22px}
#profile-panel .support-section h2,#profile-panel .career-summary h2,#profile-panel .political-detail h2{font-size:20px}
#profile-panel .score-list{margin:23px 0}
#profile-panel .detail-note{line-height:1.85;font-size:11px}
.admin-panel{border-color:var(--line);border-radius:10px}
.auth-wrap{background:#eaf0e5}
.auth-card{box-shadow:0 12px 44px #203e2520;border:1px solid #d9e3d2}
.auth-card .local-tag{display:none}
.portal-territory-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.portal-extra-stats{font-size:11px;color:#607653;margin:0 0 22px}
.portal-extra-stats summary{cursor:pointer;padding:4px 0}
.portal-extra-stats .stat-grid{margin-top:15px}
.portal-territory-views{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:19px 0 22px}
.portal-territory-views>span{font-size:11px;color:#6d8062;margin-right:auto}
.portal-territory-views .button{font-size:11px}
.portal-bio,.portal-facts dd,.portal-procon ul{font-size:13px}
.portal-source-note,.portal-footnote{font-size:11px}
@media(max-width:640px){.portal-territory-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.portal-territory-views>span{width:100%}}
@media(min-width:901px){.mobile-menu{display:none!important}}
@media(max-width:1250px){.portal-person-grid,.portal-management-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-filter:has([name="party"]){grid-template-columns:1fr 1fr}.portal-kpi{padding:18px 16px}.portal-profile-header{flex-direction:column}.portal-profile-meta{flex-direction:row;flex-basis:auto;flex-wrap:wrap;align-items:center}.portal-profile-meta .button{margin:0 0 0 auto}}
@media(max-width:1050px){.portal-hero{grid-template-columns:1fr 235px;gap:22px}.portal-hero h1{font-size:36px}.portal-cut{padding:20px}.portal-home-grid,.portal-summary-grid{grid-template-columns:1fr}.portal-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-comparison-slots{grid-template-columns:1fr}.portal-slot{min-height:135px}.portal-profile-shortcuts{grid-template-columns:1fr}}
@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:244px}.sidebar.open{transform:translateX(0);box-shadow:8px 0 24px #102f2528}.shell{margin-left:0}.mobile-menu{display:inline-flex}.admin-main{padding:26px 24px}.topbar{padding:0 24px}.portal-hero h1{font-size:38px}.site-footer{padding:18px 24px}}
@media(max-width:640px){.admin-main{padding:20px 16px 35px}.topbar{height:62px;padding:0 16px}.portal-help-link{display:none}.portal-hero{grid-template-columns:1fr;padding-top:4px;gap:22px}.portal-hero h1{font-size:36px}.portal-cut{min-height:0;padding:19px 21px;display:grid;grid-template-columns:1fr auto;gap:5px 15px}.portal-cut>strong{font-size:22px;margin:0;grid-column:2;grid-row:1/3;align-self:center}.portal-cut>p{max-width:none}.portal-cut>div{display:none}.portal-cut>span{font-size:7px}.portal-filter,.portal-filter:has([name="party"]){grid-template-columns:1fr;padding:17px;gap:13px}.portal-filter-buttons .button{flex:1}.portal-scope>span:last-child{margin-left:0;width:100%}.portal-kpis{gap:10px}.portal-kpi{padding:16px 13px}.portal-kpi>span{font-size:10px}.portal-kpi>strong{font-size:28px}.portal-kpi>small{font-size:8px}.portal-panel{padding:20px}.portal-issues,.portal-person-grid,.portal-management-grid{grid-template-columns:1fr}.portal-issues>button{display:grid;grid-template-columns:1fr 45px;gap:8px;padding:17px}.portal-issues>button>strong{grid-column:2;grid-row:1/3;align-self:center;text-align:right;font-size:24px;margin:0}.portal-section-head{align-items:flex-start;flex-wrap:wrap}.portal-section-head .portal-footnote{margin:0}.portal-page-head{align-items:flex-start;flex-direction:column;gap:14px}.portal-page-head h1{font-size:29px}.portal-comparison-action{align-items:flex-start;flex-direction:column}.portal-profile-header{padding:19px;gap:18px}.portal-profile-identity{gap:14px}.portal-profile-identity .profile-thumbnail{width:66px;height:80px;flex-basis:66px}.portal-profile-identity h1{font-size:23px}.portal-profile-identity .portal-eyebrow{font-size:8px;letter-spacing:.8px}.portal-profile-meta{gap:11px}.portal-profile-meta .button{margin:3px 0 0}.portal-profile-back>span{display:none}.portal-profile-tabs{gap:0}.portal-profile-tabs button{font-size:11px;padding:12px}.portal-facts{gap:17px}.site-footer{padding:18px 16px;gap:10px;flex-wrap:wrap}}
