/* EVN presentation is limited to the B2B owner workspace and public profile. */
body:has(.esb2b-dashboard),body.esb2b-public-profile-page{background:#080f17;color:#dce8f6}
:is(.esb2b-dashboard,.esb2b-evn-profile){--esb2b-text:#18324e;--esb2b-muted:#48617a;--esb2b-border:#ccd9e8;--esb2b-surface:#f5f8fe;--esb2b-canvas:#080f17;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6;overflow-wrap:anywhere}
:is(.esb2b-dashboard,.esb2b-evn-profile) :is(h1,h2,h3,h4,button,input,select,textarea){font-family:inherit;font-style:normal;letter-spacing:normal}
:is(.esb2b-dashboard,.esb2b-evn-profile) h1{font-size:clamp(1.9rem,3.5vw,2.8rem);line-height:1.15;font-weight:750}
:is(.esb2b-dashboard,.esb2b-evn-profile) h2{font-size:1.35rem;line-height:1.35;font-weight:700}
:is(.esb2b-dashboard,.esb2b-evn-profile) :is(a,button,input,select,textarea):focus-visible{outline:3px solid #339fed;outline-offset:3px}
.esb2b-evn-logo{display:block!important;width:190px!important;height:auto!important;max-width:100%;object-fit:contain;margin:0 0 24px}
.esb2b-dashboard{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;max-width:1320px;margin:28px auto;padding:20px;background:#080f17;border-radius:22px;color:#18324e}
.esb2b-dashboard-nav{background:linear-gradient(155deg,#172f4b,#0a1623);border:1px solid #2b4968;border-radius:18px;padding:24px 18px;align-self:start;position:sticky;top:48px;min-width:0}
.esb2b-dashboard-nav h2{color:#e6f0ff;font-size:1.1rem;margin:0 0 22px}
.esb2b-dashboard-nav ul{display:grid;grid-template-columns:1fr;gap:7px;margin:0;padding:0;list-style:none}
.esb2b-dashboard-nav li{margin:0;min-width:0}
.esb2b-dashboard-nav a{display:flex;align-items:center;gap:8px;color:#dce9f9;background:transparent;border:1px solid transparent;border-radius:9px;padding:11px 12px;text-decoration:none;font-size:.95rem;line-height:1.45}
.esb2b-dashboard-nav a:hover,.esb2b-dashboard-nav a.is-current{color:#fff;background:linear-gradient(120deg,#204f7c,#132d47);border-color:#4177a8}
.esb2b-dashboard-nav .evn-notifications-badge{margin-left:auto}
.esb2b-dashboard-content{min-width:0;padding:0;background:transparent;border:0}
.esb2b-workspace-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;background:#0d1c2c;border:1px solid #2b4968;border-radius:16px;margin-bottom:24px;color:#e5efff}
.esb2b-workspace-header p{margin:0}.esb2b-workspace-title{font-size:1.35rem;font-weight:700}
.esb2b-eyebrow{font-size:.73rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase;color:#9fceff;margin-bottom:8px}
.esb2b-feature,.esb2b-evn-profile .esb2b-profile-header{padding:32px;border:1px solid #2b4968;border-radius:18px;background:linear-gradient(120deg,#193657,#0b1826);color:#e5efff;margin-bottom:24px}
.esb2b-feature h1,.esb2b-evn-profile .esb2b-profile-header h1,.esb2b-evn-profile .esb2b-profile-header p{color:#e5efff}
.esb2b-feature h1{margin:8px 0 14px}.esb2b-feature p:last-child{margin-bottom:0}
.esb2b-dashboard-content>h1,.esb2b-dashboard-content>h2,.esb2b-dashboard-content>p,.esb2b-dashboard-content>div>h1{color:#e5efff}
:is(.esb2b-dashboard,.esb2b-evn-profile) :is(.esb2b-card,.esb2b-network-card,.esb2b-offering-card,.esb2b-discount-card,.esb2b-message-card,.esb2b-placeholder,.esb2b-form,.esb2b-qr-card,.esb2b-public-inquiry,.esb2b-inquiry-detail){background:#f5f8fe;color:#18324e;border:1px solid #cbd8e8;border-radius:15px;padding:24px;box-shadow:0 8px 24px #00000014;min-width:0}
:is(.esb2b-dashboard,.esb2b-evn-profile) :is(.esb2b-card,.esb2b-form,.esb2b-placeholder) h1{color:#18324e}
:is(.esb2b-dashboard,.esb2b-evn-profile) .esb2b-button{background:linear-gradient(110deg,#126296,#184b76);color:#fff;border:1px solid #23618b;border-radius:9px;padding:10px 16px;min-height:44px;font-weight:650;text-decoration:none;line-height:1.4;white-space:normal}
:is(.esb2b-dashboard,.esb2b-evn-profile) .esb2b-button:hover{background:#143e61;color:#fff}
:is(.esb2b-dashboard,.esb2b-evn-profile) .esb2b-button-secondary{background:#eaf2fc;color:#174a73;border-color:#adc6df}
:is(.esb2b-dashboard,.esb2b-evn-profile) .esb2b-button-danger{background:#a62e3b;color:white;border-color:#a62e3b}
:is(.esb2b-dashboard,.esb2b-evn-profile) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){background:#fff;color:#18324e;border:1px solid #9eb5cc;border-radius:8px;max-width:100%;min-height:42px}
:is(.esb2b-dashboard,.esb2b-evn-profile) :is(.esb2b-status-badge,.esb2b-badge){font-size:.8rem;border-radius:6px}
.esb2b-dashboard :is(.esb2b-filters,.esb2b-toolbar,.esb2b-tabs){display:flex;flex-wrap:wrap;gap:12px}
.esb2b-dashboard table{width:100%;background:#f5f8fe;color:#18324e}
.esb2b-dashboard :is(.esb2b-table-wrap,.esb2b-table-scroll){overflow-x:auto}
.esb2b-dashboard .esb2b-message-composer{background:#f5f8fe;padding:24px;border-radius:15px;color:#18324e}
.esb2b-dashboard .esb2b-dm{color:#18324e}.esb2b-dashboard .esb2b-dm.is-mine{background:#e2effd}
.esb2b-dashboard .evn-notifications{min-width:0}.esb2b-dashboard .evn-notifications button{font-family:inherit}.esb2b-dashboard .evn-notifications h2{color:#e5efff}
.esb2b-evn-profile{padding:24px;max-width:1180px;background:transparent;margin:20px auto}
.esb2b-evn-profile .esb2b-cover{margin-bottom:20px}.esb2b-evn-profile .esb2b-profile-header{margin-top:0;gap:24px}
.esb2b-evn-profile .esb2b-logo{flex-shrink:0}.esb2b-evn-profile .esb2b-profile-grid{gap:22px;margin-bottom:32px}
.esb2b-evn-profile :is(.esb2b-public-offerings,.esb2b-public-discounts)>h2{color:#e5efff;margin:30px 0 20px}
.esb2b-evn-profile .esb2b-public-business-actions{margin:24px 0}
:is(.esb2b-dashboard,.esb2b-evn-profile) .ervin-reviews{background:#f5f8fe;color:#18324e;padding:24px;border:1px solid #cbd8e8;border-radius:15px}
.esb2b-nav-toggle{display:none}
@media(max-width:1000px){.esb2b-dashboard{grid-template-columns:210px minmax(0,1fr);gap:16px;padding:14px}.esb2b-dashboard-nav{padding:20px 12px}.esb2b-workspace-header{flex-direction:column;align-items:stretch}.esb2b-profile-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.esb2b-dashboard{display:block;margin:12px auto;padding:12px}.esb2b-dashboard-nav{position:static;margin-bottom:18px}.esb2b-nav-ready .esb2b-nav-toggle{display:block;background:#eaf2fc;color:#173958;border:1px solid #91acc8;border-radius:8px;padding:11px 18px;margin-bottom:12px;min-height:44px}.esb2b-nav-ready:not(.esb2b-nav-open) .esb2b-dashboard-nav{display:none}.esb2b-dashboard-nav ul{grid-template-columns:1fr}.esb2b-workspace-header,.esb2b-feature{padding:20px}.esb2b-evn-profile{padding:16px;margin:12px auto}.esb2b-evn-profile .esb2b-profile-header{padding:22px;flex-direction:column;align-items:flex-start}.esb2b-evn-profile .esb2b-profile-grid{grid-template-columns:1fr}.esb2b-evn-profile .esb2b-evn-logo{width:165px!important;margin-bottom:20px}:is(.esb2b-dashboard,.esb2b-evn-profile) :is(.esb2b-form,.esb2b-card,.esb2b-network-card,.esb2b-qr-card){padding:18px}.esb2b-dashboard .esb2b-hours-row{flex-wrap:wrap}.esb2b-dashboard :is(.esb2b-network-grid,.esb2b-offering-grid,.esb2b-discount-grid,.esb2b-qr-grid){grid-template-columns:minmax(0,1fr)}.esb2b-dashboard .evn-notifications{width:100%}}

/* Section introductions remain readable on the dark canvas. */
.esb2b-dashboard{border-color:#29445f}.esb2b-workspace-header{display:grid;grid-template-columns:minmax(0,1fr) auto}.esb2b-workspace-header>.evn-notifications{grid-column:1/-1;margin-bottom:0}.esb2b-workspace-title{white-space:normal}.esb2b-dashboard .esb2b-section-header{padding:24px;border:1px solid #2b4968;border-radius:16px;background:linear-gradient(120deg,#193657,#0b1826);color:#e5efff}.esb2b-dashboard .esb2b-section-header :is(h1,h2,p){color:#e5efff}.esb2b-dashboard :is(.esb2b-opportunity-detail,.esb2b-opportunity-form-wrap,.esb2b-connections-center,.esb2b-inquiry-center)>h2{color:#e5efff}.esb2b-evn-profile img{max-width:100%;height:auto}.esb2b-evn-profile .esb2b-cover img{width:100%;height:100%;object-fit:cover}.esb2b-evn-profile .esb2b-logo img{width:120px;height:120px;object-fit:cover;border-radius:14px}.esb2b-dashboard .esb2b-dashboard-nav a{white-space:normal}.esb2b-dashboard .esb2b-dashboard-nav a.is-current{color:white;background:linear-gradient(120deg,#204f7c,#132d47)}
@media(max-width:700px){.esb2b-workspace-header{grid-template-columns:1fr}.esb2b-dashboard .esb2b-section-header{padding:20px}.esb2b-evn-profile .esb2b-logo img{width:88px;height:88px}}

.esb2b-dashboard-content>p>a:not(.esb2b-button),.esb2b-dashboard-content>div>p>a:not(.esb2b-button){color:#a7d4ff}.esb2b-dashboard .esb2b-message-thread>p{color:#dce8f6}

/* Keep the mobile control out of the desktop grid, including under theme button rules. */
.esb2b-dashboard{width:100%;align-items:start}
.esb2b-dashboard>.esb2b-nav-toggle{display:none!important}
.esb2b-dashboard>.esb2b-dashboard-nav{grid-column:1;grid-row:1}
.esb2b-dashboard>.esb2b-dashboard-content{grid-column:2;grid-row:1}
.esb2b-dashboard :is(h1,h2,h3,h4,label,legend,.esb2b-dashboard-nav a,.esb2b-workspace-title){word-break:normal;overflow-wrap:break-word;hyphens:none}
@media(max-width:700px){.esb2b-dashboard.esb2b-nav-ready>.esb2b-nav-toggle{display:block!important}}
