/* Admin portal refresh, September 2026. Existing workspace classes remain supported. */
:root{--bg:#f4f6f2;--ink:#19392e;--muted:#60786e;--line:#dae4dc;--green:#087b51;--forest:#104d38;--shadow:0 8px 28px #173d2e0a}
body{font-size:14px}.sidebar{background:linear-gradient(160deg,#143f30,#082c23);padding:24px 14px}.sidebar-head{padding-bottom:28px}.sidebar-head strong{font-size:20px;letter-spacing:-.5px}.sidebar-head span{font-size:11px;color:#adc6b8}.side-nav{gap:6px}.side-nav button,.nav-group summary{font-size:12px;min-height:44px;line-height:1.4}.side-nav button{padding:11px 12px}.side-nav button.active{background:#d7edb8;color:#163c28;box-shadow:none}.side-nav button:hover{background:#ffffff18}.side-nav button.active:hover{background:#e4f3cf}.side-nav button span,.nav-group summary>span{width:22px;font-size:18px;flex:none}.nav-group{border:1px solid #ffffff1c;border-radius:13px}.nav-group summary{display:flex;align-items:center;gap:9px;cursor:pointer;color:#d9e7dd;padding:10px 12px;list-style:none}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary:after{content:'⌄';margin-left:auto;transition:transform .15s}.nav-group[open] summary:after{transform:rotate(180deg)}.nav-group button{width:calc(100% - 12px);margin:3px 6px;padding-left:20px;font-size:11px}.nav-group[open]{padding-bottom:6px;background:#ffffff05}.nav-group:has(button.active)>summary{color:#d7edb8}.sidebar-foot{margin-top:auto;padding-top:18px}.admin-mini strong{font-size:12px}.logout{font-size:11px}.topbar{box-shadow:none;border-bottom:1px solid var(--line);height:88px;padding:0 28px}.topbar h1{font-size:25px;letter-spacing:-.7px}.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:800}.content{padding:26px 28px}.section-head h2{font-size:23px}.section-head p,.panel-note,.integration-intro{font-size:12px;line-height:1.7}.panel,.table-wrap,.filter-bar{box-shadow:var(--shadow);border-color:var(--line)}.panel{padding:20px}.panel-head h3{font-size:14px}.panel-head span{font-size:10px}.btn{font-size:12px;min-height:39px;padding:10px 15px;border-radius:10px}.btn:disabled{opacity:.55;cursor:wait}.btn.primary{background:#087b51;box-shadow:0 4px 10px #087b511c}.btn.outline{background:#fff}.kpi{padding:20px;border-top:3px solid #b4d5a5}.kpi strong{font-size:30px}.kpi span,.kpi small{font-size:11px}.data-table td{font-size:12px;padding:14px 12px}.data-table th{font-size:10px;padding:12px}.data-table .sub{font-size:10px}.badge{font-size:10px}.filter-bar input,.filter-bar select,.field input,.field select,.field textarea{font-size:13px;min-height:42px;border:1px solid #ccdcd1;border-radius:9px;padding:10px 12px;background:#fff;color:var(--ink);width:100%}.field{font-size:12px;font-weight:650;gap:7px}.field label{font-size:10px}.field small{font-size:11px;font-weight:400}.field textarea{line-height:1.6}.alert{font-size:12px;line-height:1.6;margin:12px 0}.empty{font-size:13px}.live-pill{background:#eaf3e3;color:#3f6243;border:1px solid #d7e6cd}.report-card h3{font-size:15px}.report-card p{font-size:12px}.mini-row strong{font-size:12px}.mini-row p{font-size:11px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #84b846;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.expert-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 32px;margin-bottom:22px;border:1px solid #d2e2c6;border-radius:20px;background:radial-gradient(ellipse at 90% 20%,#d8e7b8,transparent 55%),#edf3e6}.expert-hero h2{font-size:29px;letter-spacing:-.9px;margin:8px 0}.expert-hero p{color:#536d5a;margin:0;font-size:13px;line-height:1.7}.expert-search{margin-bottom:20px}.expert-search span{font-size:11px;margin-left:auto}.expert-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.directory-card{border:1px solid var(--line);border-radius:17px;background:#fff;padding:22px;box-shadow:var(--shadow);min-width:0;display:flex;flex-direction:column}.directory-card-top{display:flex;justify-content:space-between;align-items:center}.expert-portrait{width:68px;height:68px;border-radius:21px;background:#e5eedb;display:grid;place-items:center;color:#4d6b39;font-weight:750;font-size:22px;overflow:hidden}.expert-portrait img{width:100%;height:100%;object-fit:cover}.directory-card h3{font-size:19px;letter-spacing:-.5px;margin:18px 0 5px}.directory-card p{font-size:12px;color:var(--muted);line-height:1.65;margin:3px 0;overflow-wrap:anywhere}.directory-card .expert-specialty{font-weight:750;color:#087b51}.directory-card dl{border-top:1px solid #e7eee8;margin:16px 0 10px;padding-top:12px}.directory-card dl>div{display:grid;grid-template-columns:66px minmax(0,1fr);gap:5px;padding:4px 0;font-size:11px}.directory-card dt{color:var(--muted)}.directory-card dd{margin:0;overflow-wrap:anywhere}.expert-biography{font-size:12px;margin:8px 0 16px}.expert-biography summary{cursor:pointer;color:#416744;font-weight:650}.expert-biography h4{font-size:11px;margin:12px 0 4px}.expert-biography p{white-space:pre-wrap}.directory-card .invite-state{font-size:10px;margin-top:auto;margin-bottom:12px}.directory-card .actions{flex-wrap:wrap}.directory-card .btn{font-size:11px;padding:8px 10px}.expert-dialog{padding:0;border:1px solid var(--line);border-radius:20px;width:min(720px,calc(100vw - 28px));max-height:90vh;color:var(--ink);box-shadow:0 24px 100px #062d2340}.expert-dialog::backdrop{background:#082d2366;backdrop-filter:blur(3px)}.expert-dialog .modal-head{padding:22px}.expert-dialog .modal-body{padding:22px}.expert-dialog .modal-head h2{font-size:22px}.expert-photo-preview{width:90px;height:90px;border-radius:15px;object-fit:cover}.expert-photo-preview[hidden]{display:none}.photo-remove{display:flex;align-items:center;gap:8px;font-size:12px}.photo-remove input{width:auto}.smtp-panel{margin-bottom:24px;border-top:3px solid #8dab60}.smtp-panel h3{margin-top:6px}.smtp-test{display:flex;align-items:end;gap:12px;padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.smtp-test label{flex:1;max-width:420px}
.surv-head{background:linear-gradient(115deg,#164633,#286346);box-shadow:none}.surv-head p{font-size:12px}.surv-filterbar label,.surv-map-toolbar label{font-size:10px}.surv-filterbar select,.surv-filterbar input,.surv-map-toolbar select{font-size:12px;min-height:38px}.surv-kpis span{font-size:9px}.surv-kpis strong{font-size:25px}.surv-map-shell{box-shadow:0 8px 26px #24482b12}.surv-marker-legend{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:13px;font-size:11px}.surv-marker-legend>span{display:flex;align-items:center;gap:6px}.surv-marker-legend img{height:28px;width:24px}.surv-marker-legend i{height:9px;width:9px;border-radius:50%;display:inline-block}.surv-zoom{position:absolute;z-index:5;left:16px;bottom:22px;display:grid;background:white;border:1px solid #ccd8cb;border-radius:12px;box-shadow:0 4px 16px #13352826;overflow:hidden}.surv-zoom button{width:44px;height:44px;border:0;background:white;font-size:25px;color:#19482f}.surv-zoom button+button{border-top:1px solid var(--line)}.surv-zoom button:hover{background:#edf5e8}.surv-review-body p,.surv-review-body small{font-size:11px}.surv-review-body h3{font-size:15px}.surv-drawer-body p{font-size:11px}.surv-detail-grid span,.surv-detail-grid small{font-size:10px}.surv-detail-grid strong{font-size:13px}.verification-form label{font-size:11px}
.login-body{background:radial-gradient(ellipse at 10% 10%,#48794a 0,transparent 45%),#123c2d}.login-wrap{width:min(1000px,100%);grid-template-columns:1.1fr 1fr;background:#163f2d}.login-brand{flex-direction:column;padding:54px 46px;justify-content:space-between;min-height:550px;background:radial-gradient(circle at 100% 100%,#86aa4b55,transparent 60%)}.login-brand h1{font-size:42px;line-height:1.12;margin:18px 0}.login-brand .eyebrow{color:#cbe1a4}.login-brand p{font-size:14px}.auth-brand-detail{display:block;margin-top:38px;color:#cbe1a4;font-size:11px;letter-spacing:1px}.login-card{padding:48px 38px;display:flex;flex-direction:column;justify-content:center}.login-card h2{font-size:29px;margin:9px 0}.login-card>p{font-size:13px;line-height:1.6;color:var(--muted);margin-bottom:24px}.login-card label{font-size:12px}.login-card small{font-size:11px}.auth-link{color:#087b51;text-decoration:none;font-size:12px;font-weight:650}.auth-link:hover{text-decoration:underline}
@media(min-width:1500px){.expert-directory{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.expert-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.content{padding:20px}.topbar{height:82px;padding:0 20px}.login-wrap{grid-template-columns:1fr}.login-brand{display:none}.sidebar{padding-top:22px}.expert-hero{padding:24px}.expert-hero h2{font-size:25px}}@media(max-width:600px){.expert-directory{grid-template-columns:1fr}.expert-hero{align-items:flex-start;flex-direction:column;gap:18px}.content{padding:14px}.topbar h1{font-size:20px}.smtp-test{align-items:stretch;flex-direction:column}.expert-dialog .modal-body{padding:16px}.login-card{padding:32px 24px}.login-body{padding:16px}.surv-marker-legend{gap:9px;font-size:10px}.surv-zoom{left:10px;bottom:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
/* Small-screen and keyboard refinements. */
.expert-search input{flex:1;width:auto;min-width:200px}.expert-search span{white-space:nowrap}.sidebar-foot a[href$="change-password.php"]{color:#c6ddcb}.surv-marker-legend{scroll-margin-top:108px}.side-nav{scrollbar-width:thin;scrollbar-color:#628a73 transparent}.nav-group summary:focus-visible{border-radius:12px}@media(max-width:600px){.expert-search input{min-width:100%;width:100%}.expert-search span{white-space:normal}}
