.ec-retailer-auth, .ec-retailer-dashboard { --retailer-ink: #15383a; --retailer-muted: #557073; --retailer-line: #d9e6e3; background: #f3f8f5; color: var(--retailer-ink); }
[data-theme="dark"] .ec-retailer-auth, [data-theme="dark"] .ec-retailer-dashboard { --retailer-ink: #eff9f6; --retailer-muted: #b6cbca; --retailer-line: #345257; background: #102628; }
.ec-retailer-auth { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.ec-retailer-auth-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ec-retailer-auth-compact { max-width: 1080px; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.ec-retailer-kicker, .ec-retailer-card-label { color: #08777a; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
[data-theme="dark"] .ec-retailer-kicker, [data-theme="dark"] .ec-retailer-card-label { color: #8bd9d0; }
.ec-retailer-auth-intro { position: sticky; top: 110px; padding-top: 1rem; }
.ec-retailer-auth-intro h1, .ec-retailer-dashboard h1 { max-width: 14ch; margin: .9rem 0 1rem; font-family: var(--font-display), Georgia, serif; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; letter-spacing: -.03em; }
.ec-retailer-auth-intro p, .ec-retailer-dashboard-head p { max-width: 52ch; color: var(--retailer-muted); font-size: 1.08rem; line-height: 1.7; }
.ec-retailer-auth-intro ul { padding-left: 1.2rem; margin: 1.4rem 0; color: var(--retailer-muted); line-height: 1.9; }
.ec-retailer-auth-intro > a { color: #08777a; font-weight: 800; text-decoration: none; }
.ec-retailer-form-card, .ec-retailer-dashboard-card { padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--retailer-line); border-radius: 1.4rem; background: #fff; box-shadow: 0 18px 45px rgba(19, 65, 57, .07); }
[data-theme="dark"] .ec-retailer-form-card, [data-theme="dark"] .ec-retailer-dashboard-card { background: #193538; }
.ec-retailer-form-card h2 { margin: 0 0 .25rem; font-family: var(--font-display), Georgia, serif; font-size: 2.1rem; }
.ec-retailer-form-card > p, .ec-retailer-form-note { color: var(--retailer-muted); }
.ec-retailer-form-card a, .ec-retailer-dashboard a { color: #08777a; font-weight: 750; }
[data-theme="dark"] .ec-retailer-form-card a, [data-theme="dark"] .ec-retailer-dashboard a { color: #8bd9d0; }
.ec-retailer-form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.ec-retailer-form h3 { margin: .7rem 0 -.3rem; padding-top: 1rem; border-top: 1px solid var(--retailer-line); font-size: 1.06rem; font-weight: 800; }
.ec-retailer-form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 800; }
.ec-retailer-form label small { display: block; color: var(--retailer-muted); font-size: .75rem; font-weight: 500; }
.ec-retailer-form input:not([type="checkbox"]) { width: 100%; min-height: 46px; padding: .7rem .85rem; border: 1px solid #b9ccc9; border-radius: .7rem; background: #fff; color: #173739; font: inherit; }
.ec-retailer-form input:focus-visible { outline: 3px solid rgba(23, 144, 144, .25); border-color: #08777a; }
.ec-retailer-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.ec-retailer-form .ec-retailer-checkbox { display: flex; align-items: flex-start; gap: .65rem; color: var(--retailer-muted); line-height: 1.5; font-weight: 500; }
.ec-retailer-checkbox input { flex: 0 0 auto; margin-top: .3rem; }
.ec-retailer-form button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 50px; border: 0; border-radius: 999px; background: #086d70; color: white; font-weight: 800; }
.ec-retailer-form button:hover, .ec-retailer-form button:focus-visible { background: #064d50; }
.ec-retailer-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ec-retailer-alert { margin-top: 1rem; padding: .85rem 1rem; border-radius: .7rem; background: #fff0e9; color: #713c2e; }
.ec-retailer-alert ul { margin: 0; padding-left: 1.2rem; }
.ec-retailer-alert-success { background: #e5f4e8; color: #245235; }
.ec-retailer-form-note { margin: 1.2rem 0 0; font-size: .9rem; line-height: 1.7; }
.ec-retailer-dashboard { min-height: 55vh; padding: clamp(2.7rem, 5vw, 5rem) 0; }
.ec-retailer-dashboard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
.ec-retailer-dashboard h1 { max-width: none; font-size: clamp(2.5rem, 4.5vw, 4rem); }
.ec-retailer-dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ec-retailer-dashboard-card h2 { margin: .7rem 0; font-size: 1.6rem; }
.ec-retailer-dashboard-card > p { color: var(--retailer-muted); line-height: 1.65; }
.ec-retailer-dashboard-card dl { margin: 1.5rem 0 0; }
.ec-retailer-dashboard-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--retailer-line); }
.ec-retailer-dashboard-card dt { color: var(--retailer-muted); font-weight: 500; }
.ec-retailer-dashboard-card dd { margin: 0; font-weight: 750; }
.ec-retailer-store { display: grid; gap: .35rem; padding: .9rem 0; border-top: 1px solid var(--retailer-line); }
.ec-retailer-store span { color: var(--retailer-muted); }
.ec-retailer-store small { color: #08777a; font-weight: 800; }
.ec-retailer-signout { padding: .65rem 1rem; border: 1px solid var(--retailer-line); border-radius: 999px; background: transparent; color: var(--retailer-ink); font-weight: 750; }
.ec-retailer-dashboard-next { display: flex; gap: 1rem; max-width: 850px; margin-top: 1.5rem; padding: 1.2rem 1.4rem; border-radius: 1rem; background: #e7f3ee; }
[data-theme="dark"] .ec-retailer-dashboard-next { background: #1d4140; }
.ec-retailer-dashboard-next i { color: #08777a; font-size: 1.3rem; }
.ec-retailer-dashboard-next p { margin: .35rem 0 0; color: var(--retailer-muted); line-height: 1.6; }
@media (max-width: 850px) { .ec-retailer-auth-grid, .ec-retailer-auth-compact, .ec-retailer-dashboard-grid { grid-template-columns: minmax(0, 1fr); } .ec-retailer-auth-intro { position: static; } .ec-retailer-auth-intro h1 { max-width: 17ch; } }
@media (max-width: 550px) { .ec-retailer-form-row { grid-template-columns: minmax(0, 1fr); } .ec-retailer-dashboard-head { flex-direction: column; } .ec-retailer-dashboard-card dl div { display: block; } }
.ec-retailer-back { display: inline-flex; align-items: center; padding: .65rem 1rem; border: 1px solid var(--retailer-line); border-radius: 999px; color: var(--retailer-ink) !important; font-weight: 750; text-decoration: none; white-space: nowrap; }
.ec-retailer-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem; }
.ec-retailer-store-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ec-retailer-store-heading h2 { overflow-wrap: anywhere; }
.ec-retailer-status { border-radius: 999px; padding: .35rem .7rem; background: #e8f3ef; color: #176858; font-size: .78rem; font-weight: 800; white-space: nowrap; }
[data-theme="dark"] .ec-retailer-status { background: #244d47; color: #b4ead7; }
.ec-retailer-store-form { margin-top: 1rem; }
.ec-retailer-form button.ec-retailer-location-button { min-height: 42px; padding: .6rem .8rem; border: 1px solid var(--retailer-line); border-radius: .7rem; background: transparent; color: var(--retailer-ink); font-size: .85rem; }
.ec-retailer-form button.ec-retailer-location-button:hover { background: #e8f3ef; }
.ec-retailer-form button.ec-retailer-location-button:disabled { opacity: .6; cursor: wait; }
.ec-retailer-location-help { color: var(--retailer-muted); line-height: 1.5; }
.ec-retailer-settings-note { margin-top: 1.2rem; color: var(--retailer-muted); line-height: 1.6; }
@media (max-width: 900px) { .ec-retailer-settings-grid { grid-template-columns: minmax(0, 1fr); } }
