.eqs-shell{max-width:1100px;margin:40px auto;padding:28px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#10233f}.eqs-shell h1,.eqs-shell h2,.eqs-shell h3{color:#0b2447}.eqs-form{display:grid;gap:16px}.eqs-form label{display:grid;gap:6px;font-weight:700}.eqs-form input,.eqs-form textarea,.eqs-form select{padding:12px;border:1px solid #cbd5e1;border-radius:10px;font:inherit;background:#fff}.eqs-form textarea{min-height:110px}.eqs-form button,.eqs-button{background:#0b4e84;color:#fff;border:0;border-radius:10px;padding:12px 18px;font-weight:800;text-decoration:none;cursor:pointer;width:max-content}.eqs-button.secondary{background:#e8eef5;color:#0b2447}.eqs-check{display:block!important;font-weight:500!important}.eqs-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.eqs-notice,.eqs-status,.eqs-info{padding:12px 14px;border-radius:10px;background:#eef6ff;margin:12px 0}.eqs-status{display:inline-flex;align-items:center;font-weight:800;white-space:nowrap}.eqs-status.ok{background:#eaf8ef;color:#176b3a}.eqs-status.wait{background:#fff6dd;color:#815f00}.eqs-portal{max-width:1280px;margin:30px auto;display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#10233f}.eqs-portal aside{background:linear-gradient(180deg,#0b2447,#071b36);color:#fff;border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:16px;height:max-content;position:sticky;top:20px;box-shadow:0 18px 45px rgba(11,36,71,.16)}.eqs-brand h2{color:#fff;margin:0}.eqs-brand small{color:#a9c7e5}.eqs-portal nav{display:flex;flex-direction:column;gap:5px}.eqs-portal aside a{color:#fff;text-decoration:none;padding:10px 11px;border-radius:8px}.eqs-portal aside nav a:hover{background:#16385f}.eqs-logout{border-top:1px solid rgba(255,255,255,.16);border-radius:0!important;padding-top:16px!important}.eqs-portal main{min-width:0}.eqs-portal main section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:22px;margin:0 0 18px;box-shadow:0 6px 20px rgba(15,35,63,.04)}.eqs-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#fff,#f4f9ff)!important}.eqs-hero h1{margin:5px 0 7px;font-size:32px;color:#0b2447}.eqs-hero p{margin:0;color:#5d6d80}.eqs-eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:900;color:#0b4e84}.eqs-preview-banner{background:#fff3cd;border:1px solid #ffe69c;padding:12px 14px;border-radius:12px;margin-bottom:16px}.eqs-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.eqs-stats article{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px}.eqs-stats span{display:block;color:#6b7b8f;font-size:12px;font-weight:700}.eqs-stats strong{display:block;color:#0b2447;font-size:22px;margin-top:4px}.eqs-section-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:16px}.eqs-section-head h2{margin:0 0 4px}.eqs-section-head p{margin:0;color:#64748b}.eqs-grid{grid-template-columns:1fr 1fr}.eqs-grid .wide{grid-column:1/-1}.eqs-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:18px}.eqs-cards article,.eqs-empty{border:1px solid #dfe7ef;border-radius:14px;padding:18px;background:#fff}.eqs-cards h3{margin:10px 0 4px}.eqs-cards small{display:block;color:#64748b;margin-top:6px}.eqs-badge{display:inline-block;background:#eef6ff;color:#0b4e84;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800}.eqs-small{font-size:13px;color:#64748b}@media(max-width:900px){.eqs-stats{grid-template-columns:1fr 1fr}}@media(max-width:760px){.eqs-portal{grid-template-columns:1fr;padding:12px}.eqs-portal aside{position:static}.eqs-portal nav{display:grid;grid-template-columns:1fr 1fr}.eqs-grid,.eqs-check-grid{grid-template-columns:1fr}.eqs-grid .wide{grid-column:auto}.eqs-hero{display:block}.eqs-status{margin-top:14px}.eqs-stats{grid-template-columns:1fr 1fr}}@media(max-width:460px){.eqs-stats,.eqs-portal nav{grid-template-columns:1fr}}
/* Partner onboarding pages */
.eqs-auth-page{box-sizing:border-box;width:100%;max-width:100%;min-height:560px;padding:64px 20px;display:flex;align-items:flex-start;justify-content:center;background:linear-gradient(145deg,#071a32 0%,#0b2447 55%,#0d315c 100%);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.eqs-auth-page *{box-sizing:border-box}
.eqs-auth-card{width:min(100%,680px);padding:36px;background:#fff;border:1px solid rgba(255,255,255,.35);border-radius:20px;box-shadow:0 24px 65px rgba(0,0,0,.22);color:#10233f}
.eqs-auth-card h1{margin:7px 0 10px;color:#0b2447;font-size:clamp(28px,4vw,38px);line-height:1.12}
.eqs-auth-card>p{color:#5d6d80;line-height:1.6}
.eqs-auth-card .eqs-form{margin-top:24px}
.eqs-auth-card fieldset{margin:2px 0;padding:16px;border:1px solid #dbe5ef;border-radius:12px;background:#f8fbff}
.eqs-auth-card legend{padding:0 7px;color:#0b2447;font-weight:800}
.eqs-auth-card .eqs-form input{width:100%;min-height:48px}
.eqs-auth-card .eqs-check input{width:auto;min-height:auto;margin-right:7px}
.eqs-auth-card .eqs-form button{margin-top:4px;min-height:48px;padding:13px 22px;background:#2378bd}
.eqs-auth-card .eqs-form button:hover,.eqs-auth-card .eqs-button:hover{filter:brightness(.94)}
.eqs-auth-switch{margin:24px 0 0!important;padding-top:20px;border-top:1px solid #e2e8f0}
.eqs-auth-switch a,.eqs-auth-card a:not(.eqs-button){color:#176db1;font-weight:700}
.eqs-auth-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.eqs-auth-help{margin-top:18px!important;padding:13px 15px;border-radius:10px;background:#eef6ff;color:#42566d!important;font-size:14px}
.eqs-auth-signed{margin-top:20px}
@media(max-width:700px){.eqs-auth-page{min-height:auto;padding:28px 14px}.eqs-auth-card{padding:24px 20px;border-radius:16px}}

.eqs-admin-test{margin:18px 0;padding:14px 16px;border:1px solid #b8d8f2;border-radius:12px;background:#eef7ff;color:#234a6b;line-height:1.55}.eqs-admin-test strong{color:#0b4e84}

/* v1.1.4 Partner Portal: deliberately isolated from global/admin dark-mode rules. */
.eqs-portal,.eqs-portal main{color-scheme:light!important}
.eqs-portal main,.eqs-portal main section,.eqs-portal .eqs-stats article,.eqs-portal .eqs-cards article,.eqs-portal .eqs-empty{color:#10233f!important}
.eqs-portal main section,.eqs-portal .eqs-stats article,.eqs-portal .eqs-cards article,.eqs-portal .eqs-empty{background:#fff!important;border-color:#e2e8f0!important}
.eqs-portal main h1,.eqs-portal main h2,.eqs-portal main h3,.eqs-portal main strong,.eqs-portal main label,.eqs-portal main legend{color:#0b2447!important}
.eqs-portal main p,.eqs-portal main small,.eqs-portal .eqs-section-head p,.eqs-portal .eqs-stats span{color:#5d6d80!important}
.eqs-portal .eqs-form input:not([type="checkbox"]):not([type="radio"]),.eqs-portal .eqs-form textarea,.eqs-portal .eqs-form select{background:#fff!important;color:#10233f!important;border:1px solid #cbd5e1!important;-webkit-text-fill-color:#10233f!important;box-shadow:none!important}
.eqs-portal .eqs-form input::placeholder,.eqs-portal .eqs-form textarea::placeholder{color:#8291a4!important;-webkit-text-fill-color:#8291a4!important}
.eqs-portal .eqs-form input:disabled,.eqs-portal .eqs-form textarea:disabled,.eqs-portal .eqs-form select:disabled{background:#f3f6f9!important;color:#536579!important;-webkit-text-fill-color:#536579!important;opacity:1!important}
.eqs-portal .eqs-form fieldset{background:#fff!important;border-color:#cbd5e1!important}
.eqs-portal .eqs-check{color:#334155!important}
.eqs-portal .eqs-check input[type="checkbox"],.eqs-portal .eqs-check input[type="radio"]{accent-color:#2378bd}
.eqs-portal .eqs-preview-banner{background:#fff3cd!important;border-color:#ffe69c!important;color:#664d03!important}
.eqs-portal .eqs-preview-banner strong{color:#664d03!important}
.eqs-portal .eqs-info{background:#eef6ff!important;color:#334e68!important}
.eqs-portal .eqs-status.ok{background:#eaf8ef!important;color:#176b3a!important}
.eqs-portal .eqs-status.wait{background:#fff6dd!important;color:#815f00!important}
.eqs-portal .eqs-badge{background:#eef6ff!important;color:#0b4e84!important}
.eqs-portal aside nav a.active{background:#2378bd!important;color:#fff!important;font-weight:800}

/* v1.2.0 cleaner directory and complete light-surface isolation. */
.eqs-shell,.eqs-auth-card,.eqs-directory{color-scheme:light!important}
.eqs-shell,.eqs-directory{color:#10233f!important}
.eqs-shell h1,.eqs-shell h2,.eqs-shell h3,.eqs-shell strong,.eqs-directory h1,.eqs-directory h2,.eqs-directory h3,.eqs-directory strong{color:#0b2447!important}
.eqs-shell p,.eqs-shell small,.eqs-directory p,.eqs-directory small{color:#5d6d80!important}
.eqs-shell .eqs-cards article,.eqs-shell .eqs-empty,.eqs-directory .eqs-cards article,.eqs-directory .eqs-empty{background:#fff!important;color:#10233f!important;border-color:#dfe7ef!important}
.eqs-directory-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:22px 0;padding:16px;border:1px solid #dfe7ef;border-radius:14px;background:#f8fbff!important}
.eqs-directory-filters label{display:grid;gap:6px;font-weight:800;color:#0b2447!important}
.eqs-directory-filters select{min-width:230px;padding:11px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff!important;color:#10233f!important}
.eqs-directory-filters button{background:#0b4e84;color:#fff;border:0;border-radius:10px;padding:12px 18px;font-weight:800;cursor:pointer}
.eqs-directory-filters .eqs-check{display:flex!important;align-items:center;gap:7px;padding-bottom:11px;font-weight:600!important}
.eqs-offers-head{margin-top:32px}.eqs-service-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.eqs-service-tags span{display:inline-block;padding:5px 8px;border-radius:999px;background:#f1f5f9;color:#42566d;font-size:11px;font-weight:800}
.eqs-discount-badge{background:#eaf8ef!important;color:#176b3a!important;margin-top:8px}.eqs-price-text{display:block;margin:10px 0;font-size:16px}.eqs-supplier-card .eqs-button,.eqs-offer-card .eqs-button{margin-top:4px}
@media(max-width:700px){.eqs-directory-filters{display:grid;grid-template-columns:1fr}.eqs-directory-filters select{min-width:0;width:100%}.eqs-directory-filters .eqs-check{padding-bottom:0}}

/* Exterior Quote dark-mode hardening v1.2.1 */
html[data-eq-theme="dark"] :where(.eqs-shell,.eqs-portal,.eqs-directory,.eqs-auth-page){color:#E4EAF2!important;color-scheme:dark}
html[data-eq-theme="dark"] :where(.eqs-portal main section,.eqs-portal .eqs-stats article,.eqs-portal .eqs-cards article,.eqs-portal .eqs-empty,.eqs-shell .eqs-cards article,.eqs-shell .eqs-empty,.eqs-directory .eqs-cards article,.eqs-directory .eqs-empty,.eqs-auth-card,.eqs-supplier-card,.eqs-offer-card){background:#102238!important;border-color:#29445F!important;color:#E4EAF2!important;box-shadow:0 8px 26px rgba(0,0,0,.2)}
html[data-eq-theme="dark"] :where(.eqs-shell h1,.eqs-shell h2,.eqs-shell h3,.eqs-portal h1,.eqs-portal h2,.eqs-portal h3,.eqs-directory h1,.eqs-directory h2,.eqs-directory h3,.eqs-auth-card h1,.eqs-auth-card h2,.eqs-auth-card strong){color:#F5F7FB!important;-webkit-text-fill-color:#F5F7FB!important}
html[data-eq-theme="dark"] :where(.eqs-small,.eqs-auth-help,.eqs-section-head p,.eqs-cards p){color:#B7C5D6!important}
html[data-eq-theme="dark"] :where(.eqs-form input:not([type="checkbox"]):not([type="radio"]),.eqs-form textarea,.eqs-form select,.eqs-portal .eqs-form input:not([type="checkbox"]):not([type="radio"]),.eqs-portal .eqs-form textarea,.eqs-portal .eqs-form select,.eqs-directory-filters select){background:#0B1B2D!important;color:#F5F7FB!important;border-color:#36536F!important;-webkit-text-fill-color:#F5F7FB!important;color-scheme:dark}
html[data-eq-theme="dark"] .eqs-portal .eqs-form fieldset{background:#102238!important;border-color:#36536F!important;color:#F5F7FB!important}
html[data-eq-theme="dark"] :where(.eqs-preview-banner,.eqs-portal .eqs-preview-banner,.eqs-status.wait,.eqs-portal .eqs-status.wait){background:#332811!important;border-color:#80662A!important;color:#F5E4B5!important}
