.ehq-admin{--navy:#09163f;--blue:#0066b3;--line:#dce5ef;max-width:1700px;margin:24px 22px 40px 0;color:#193351;font:14px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}.ehq-admin *{box-sizing:border-box}.ehq-admin header{display:flex;align-items:center;gap:20px;padding:25px;background:linear-gradient(115deg,#09163f,#0b427f);border-radius:14px;color:white;flex-wrap:wrap}.ehq-admin header img{width:250px;max-width:100%;border-radius:10px;background:white}.ehq-admin header>div{flex:1}.ehq-admin header span{font-size:11px;letter-spacing:2px;color:#8be4d7}.ehq-admin h1{color:white;font-size:28px;line-height:1.2;margin:10px 0}.ehq-admin h2{font-size:21px;color:#143255;margin:0 0 20px}.ehq-admin nav{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.ehq-admin nav a{padding:11px 18px;text-decoration:none;color:#28435e;border-radius:8px;background:white;border:1px solid var(--line)}.ehq-admin nav a.active{background:var(--blue);color:white;border-color:var(--blue)}.ehq-admin section{padding:25px;border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:22px}.ehq-admin .ehq-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cfdae6;border-radius:7px;background:white;color:#164274;text-decoration:none;padding:9px 14px;min-height:40px;cursor:pointer;font:inherit;white-space:nowrap}.ehq-admin .ehq-button.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.ehq-admin button:disabled{opacity:.6;cursor:wait}.ehq-admin label{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-weight:500}.ehq-admin label:has(input:not([type=checkbox])),.ehq-admin label:has(select){display:flex;flex-direction:column;align-items:stretch;gap:6px}.ehq-admin input:not([type=checkbox]),.ehq-admin select{padding:10px 12px;border:1px solid #cad8e7;border-radius:7px;color:#163859;background:#fff;min-height:42px;max-width:100%;width:100%;font:inherit}.ehq-admin form>label{margin:18px 0}.ehq-admin .ehq-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ehq-admin details{border:1px solid var(--line);border-radius:8px;margin:12px 0;padding:14px}.ehq-admin summary{cursor:pointer;font-weight:600}.ehq-admin details label{margin:15px 0}.ehq-admin .ehq-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.ehq-admin .ehq-metrics section{padding:20px}.ehq-admin .ehq-metrics strong{display:block;font-size:35px;line-height:1.3;margin-top:10px;color:#123558}.ehq-admin .ehq-metrics span{color:#697f96}.ehq-admin .ehq-filters{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:15px;align-items:end;margin-bottom:15px}.ehq-admin .ehq-table{overflow:auto;margin-top:20px}.ehq-admin table{width:100%;border-collapse:collapse;min-width:980px;text-align:left}.ehq-admin th{background:#f1f5fc;color:#527094;padding:15px;font-size:12px;text-transform:uppercase;letter-spacing:.5px}.ehq-admin td{padding:19px 15px;border-bottom:1px solid #e7edf5;vertical-align:top;min-width:150px;max-width:330px}.ehq-admin td p{overflow-wrap:anywhere;white-space:pre-wrap;max-height:90px;overflow:auto}.ehq-admin td small{display:block;color:#7a8ca1;margin:4px 0;overflow-wrap:anywhere}.ehq-admin .ehq-status{display:block;width:fit-content;font-size:12px;padding:4px 8px;margin:4px 0;background:#fff4e4;color:#976416;border-radius:5px}.ehq-admin .ehq-status.queued,.ehq-admin .ehq-status.sent{background:#eaf4ff;color:#0066b3}.ehq-admin .ehq-status.failed,.ehq-admin .ehq-status.delivery_unknown,.ehq-admin .ehq-status.partial{background:#fcefee;color:#a22f34}.ehq-admin .ehq-log{padding:12px;border-radius:8px;background:#f7f9fc;margin:10px 0}.ehq-admin .ehq-log code{overflow-wrap:anywhere}.ehq-admin .ehq-potential{min-width:180px}.ehq-admin .ehq-potential select[data-value=high]{background:#e7f7ef;color:#16774e}.ehq-admin .ehq-potential select[data-value=potential]{background:#eaf4ff;color:#0066b3}.ehq-admin .ehq-potential select[data-value=low]{background:#fff4e4;color:#976416}.ehq-admin footer{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-top:24px;color:#758ba0}.ehq-admin footer>div{display:flex;gap:10px}.ehq-admin .ehq-success{background:#e7f7ee;padding:13px 18px;border-radius:7px;color:#187853}.ehq-admin .ehq-error{color:#a22f34}.ehq-admin select:focus-visible,.ehq-admin input:focus-visible,.ehq-admin .ehq-button:focus-visible{outline:2px solid #0066b3;outline-offset:2px}@media(max-width:1100px){.ehq-admin .ehq-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.ehq-admin{margin:14px 12px 30px 0}.ehq-admin header,.ehq-admin section{padding:18px}.ehq-admin header>div{flex-basis:100%}.ehq-admin .ehq-fields,.ehq-admin .ehq-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ehq-admin .ehq-metrics{gap:8px}.ehq-admin .ehq-metrics section{padding:12px}.ehq-admin .ehq-metrics strong{font-size:27px}.ehq-admin nav a{padding:9px 12px;font-size:12px}}
/* Standalone portal: scoped typography defeats Elementor and theme heading styles. */
#ehq-portal{width:100%;min-height:100dvh;background:#f3f6fa;color:#193351;font:14px/1.6 Arial,Helvetica,sans-serif;padding:28px;isolation:isolate}
#ehq-portal .ehq-admin{max-width:1600px;margin:0 auto;font:inherit;color:#193351}
#ehq-portal h1,#ehq-portal h2,#ehq-portal h3{font-family:Arial,Helvetica,sans-serif!important;text-transform:none!important;letter-spacing:normal!important;font-weight:600!important;line-height:1.3!important;color:#193351!important}
#ehq-portal h1{font-size:28px!important;margin:8px 0!important}
#ehq-portal h2{font-size:21px!important;margin:0 0 16px!important}
#ehq-portal header h1{color:#fff!important}
#ehq-portal p{font:inherit;color:inherit;margin:12px 0}
#ehq-portal a,#ehq-portal button,#ehq-portal input,#ehq-portal select,#ehq-portal label{font-family:Arial,Helvetica,sans-serif!important;text-transform:none!important;letter-spacing:normal!important}
#ehq-portal .ehq-button{font-size:14px!important;line-height:1.4!important;font-weight:500!important}
#ehq-portal header{margin:0;padding:24px;min-height:110px}
#ehq-portal section{box-shadow:0 6px 24px rgba(9,22,63,.035)}
#ehq-portal nav{border-bottom:1px solid #dce5ef;padding-bottom:18px;margin:24px 0}
#ehq-portal nav a{font-size:14px;font-weight:600}
#ehq-portal.ehq-login{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#09163f,#0b427f);padding:40px 20px}
#ehq-portal.ehq-login .ehq-admin{width:100%;max-width:480px}
#ehq-portal.ehq-login header{background:transparent;display:flex;flex-direction:column;gap:14px;padding:0 0 26px;text-align:center;border-radius:0}
#ehq-portal.ehq-login header img{width:300px}
#ehq-portal.ehq-login header>div{flex:none}
#ehq-portal.ehq-login header h1{font-size:23px!important}
#ehq-portal.ehq-login header>a{border-color:rgba(255,255,255,.35);color:#fff;background:transparent}
#ehq-portal .ehq-login-card{margin:0;padding:32px;border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.15)}
#ehq-portal .ehq-kicker{font-size:11px;color:#087e88;font-weight:700;letter-spacing:1.5px}
#ehq-portal .ehq-login-card h2{margin:10px 0!important;font-size:24px!important}
#ehq-portal .ehq-login-card>p{color:#63748a;margin-bottom:24px}
#ehq-portal .ehq-login-card .primary{width:100%;min-height:46px}
@media(max-width:720px){#ehq-portal{padding:16px}#ehq-portal header{padding:20px;gap:14px}#ehq-portal header img{width:240px}#ehq-portal.ehq-login{padding:24px 16px}#ehq-portal .ehq-login-card{padding:24px}#ehq-portal .ehq-metrics{grid-template-columns:1fr}#ehq-portal nav{gap:8px}}
#ehq-portal,#ehq-portal *{box-sizing:border-box}#ehq-portal .ehq-admin,#ehq-portal section{min-width:0}
/* Compact inquiry toolbar; advanced filters remain available. */
.ehq-admin .ehq-compact-filters{display:block;margin-bottom:0}
.ehq-admin .ehq-filter-main{display:grid;grid-template-columns:2fr 1.4fr 1fr 1.2fr .7fr;gap:12px;align-items:end}
.ehq-admin .ehq-compact-filters label{margin:0!important;min-width:0;font-size:13px}
.ehq-admin .ehq-compact-filters input,.ehq-admin .ehq-compact-filters select{min-height:42px;height:42px;font-size:13px}
.ehq-admin .ehq-filter-more{padding:12px 14px;margin:16px 0 0;background:#f8fafc;border:1px solid #e5ebf2}
.ehq-admin .ehq-filter-more>summary{font-size:13px;color:#335675}
.ehq-admin .ehq-filter-extra{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:16px}
.ehq-admin .ehq-filter-hint{font-size:12px!important;color:#63748a!important;margin:10px 0 0!important}
.ehq-admin .ehq-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}
.ehq-admin .ehq-filter-actions>div{display:flex;gap:8px;flex-wrap:wrap}
.ehq-admin .ehq-filter-actions .ehq-button{min-width:0;width:auto}
@media(max-width:1100px){.ehq-admin .ehq-filter-main{grid-template-columns:repeat(2,minmax(0,1fr))}.ehq-admin .ehq-search-field{grid-column:1/-1}.ehq-admin .ehq-filter-extra{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ehq-admin .ehq-filter-main,.ehq-admin .ehq-filter-extra{grid-template-columns:1fr}.ehq-admin .ehq-filter-actions{align-items:stretch;flex-direction:column}.ehq-admin .ehq-filter-actions>div{display:grid;grid-template-columns:1fr 1fr}}
.ehq-admin .ehq-account-saved td{background:#e8faf3}.ehq-admin .ehq-account-result{min-height:24px;margin:12px 0;font-weight:500}.ehq-admin .ehq-account-form small{color:#63748a}
.ehq-admin th .ehq-select-all-label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;white-space:nowrap;font-size:12px}.ehq-admin .ehq-select-all-label input{width:16px;height:16px;accent-color:#0066b3}.ehq-admin .ehq-bulk-button:disabled{cursor:not-allowed;opacity:.5}
