:root {
    --ink: #132b55;
    --muted: #68798e;
    --line: #d9e4f0;
    --surface: #ffffff;
    --canvas: #f5f8f7;
    --brand: #1769d2;
    --brand-dark: #102c61;
    --brand-soft: #e8f2ff;
    --coral: #0bb3a5;
    --danger: #a83d3d;
    --shadow: 0 18px 50px rgba(28, 69, 125, .12);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--canvas);
}


* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--canvas); color: var(--ink); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, strong, b { color: var(--ink); }
h1:focus { outline: none; }

.site-shell { min-height: 100vh; }
.site-nav { align-items: center; display: flex; gap: 34px; margin: auto; max-width: 1180px; padding: 22px 28px; }
.brand { align-items: center; display: inline-flex; font-size: 1.05rem; font-weight: 800; gap: 10px; letter-spacing: -.02em; text-decoration: none; }
.brand-logo { display: block; height: 46px; object-fit: contain; width: auto; }
.brand-mark, .aside-mark { align-items: center; background: var(--brand); border-radius: 12px; box-shadow: 0 8px 18px rgba(23, 105, 210, .2); color: white; display: inline-flex; font-size: 1.5rem; height: 38px; justify-content: center; width: 38px; }
.site-nav nav { display: flex; flex: 1; gap: 25px; }
.site-nav nav a { color: var(--muted); font-size: .88rem; text-decoration: none; }
.site-nav nav a.active, .site-nav nav a:hover { color: var(--brand-dark); }
.nav-actions { align-items: center; display: flex; gap: 9px; }
.nav-user { color: var(--muted); font-size: .82rem; }
.site-main { margin: auto; max-width: 1180px; padding: 28px 28px 70px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: .78rem; justify-content: space-between; margin: auto; max-width: 1180px; padding: 24px 28px 35px; }

.button { align-items: center; border: 0; border-radius: 12px; cursor: pointer; display: inline-flex; font-size: .86rem; font-weight: 750; gap: 9px; justify-content: center; min-height: 46px; padding: 11px 17px; text-decoration: none; }
.button:disabled { cursor: wait; opacity: .6; }
.button-primary { background: var(--brand); box-shadow: 0 8px 18px rgba(23, 105, 210, .18); color: white; }
.button-primary:hover { background: var(--brand-dark); }
.button-primary span, .button-primary strong { color: white; }
.button-outline { background: transparent; border: 1px solid #b9cfca; color: var(--brand-dark); }
.button-secondary { background: var(--brand-soft); color: var(--brand-dark); }
.button-quiet { background: transparent; color: var(--brand-dark); min-height: 38px; padding: 8px 11px; }
.button-small { min-height: 38px; padding: 8px 13px; }
.button-block { width: 100%; }

.eyebrow { color: var(--brand); font-size: .7rem; font-weight: 850; letter-spacing: .14em; margin-bottom: 10px; text-transform: uppercase; }
.hero-section { align-items: center; display: grid; gap: 40px; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); min-height: 545px; }
.hero-copy { max-width: 640px; }
.hero-copy h1 { font-size: clamp(2.7rem, 6vw, 5.15rem); letter-spacing: -.065em; line-height: .98; margin-bottom: 25px; max-width: 650px; }
.hero-lede { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 555px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-proof { color: var(--muted); display: flex; flex-wrap: wrap; font-size: .76rem; gap: 18px; }
.hero-proof span::before { color: var(--coral); content: "•"; margin-right: 7px; }
.hero-proof strong { color: var(--ink); }
.hero-art { align-items: center; background: linear-gradient(145deg, #d9eee9, #f5faf8); border-radius: 34px; display: flex; min-height: 460px; overflow: hidden; position: relative; }
.hero-art::before { background: radial-gradient(circle, rgba(255,255,255,.8), transparent 65%); content: ""; height: 420px; left: 12%; position: absolute; top: 2%; width: 420px; }
.hero-orbit { border: 1px solid rgba(23, 105, 210, .22); border-radius: 50%; position: absolute; }
.orbit-one { height: 345px; right: -80px; top: 42px; transform: rotate(23deg); width: 500px; }
.orbit-two { height: 265px; left: 30px; top: 95px; transform: rotate(-25deg); width: 390px; }
.hero-sun { align-items: center; background: var(--brand); border-radius: 50%; box-shadow: 0 25px 45px rgba(23, 105, 210, .28); color: white; display: flex; font-size: 5.5rem; font-weight: 300; height: 175px; justify-content: center; left: 34%; position: absolute; top: 25%; transform: rotate(15deg); width: 175px; }
.hero-stat-card { align-items: center; backdrop-filter: blur(14px); background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; bottom: 32px; display: flex; gap: 12px; left: 30px; padding: 16px; position: absolute; right: 30px; z-index: 1; }
.hero-stat-card > div { display: flex; flex-direction: column; }
.hero-stat-card strong { font-size: .87rem; }
.hero-stat-card span:last-child { color: var(--muted); font-size: .72rem; }
.stat-icon { align-items: center; background: var(--brand-soft); border-radius: 12px; color: var(--brand); display: flex; font-size: 1.3rem; height: 43px; justify-content: center; width: 43px; }

.value-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin: 30px 0 80px; }
.value-card, .service-card, .portal-card, .metric-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.value-card { padding: 26px; }
.value-icon { align-items: center; background: var(--brand-soft); border-radius: 12px; color: var(--brand); display: inline-flex; font-size: 1.35rem; height: 43px; justify-content: center; margin-bottom: 20px; width: 43px; }
.value-card h2 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p, .service-card p, .portal-card p { color: var(--muted); font-size: .84rem; line-height: 1.65; }
.split-callout { align-items: center; background: var(--brand); border-radius: 25px; color: white; display: flex; gap: 35px; justify-content: space-between; margin-bottom: 15px; padding: 34px 38px; }
.split-callout h2 { color: white; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.04em; margin-bottom: 10px; }
.split-callout p:not(.eyebrow) { color: #cce8e2; margin-bottom: 0; max-width: 600px; }
.split-callout .eyebrow { color: #bce2da; }
.split-callout .button { background: white; color: var(--brand-dark); flex: 0 0 auto; }

.page-intro { margin: 28px 0 42px; max-width: 690px; }
.page-intro h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -.06em; line-height: 1; margin-bottom: 17px; }
.page-intro > p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 620px; }
.page-intro-with-pill { align-items: flex-start; display: flex; gap: 30px; justify-content: space-between; max-width: 100%; }
.role-pill { background: var(--brand-soft); border-radius: 999px; color: var(--brand-dark); flex: 0 0 auto; font-size: .71rem; font-weight: 800; padding: 9px 13px; }
.role-pill-dark { background: var(--ink); color: white; }

.service-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card { min-height: 270px; padding: 23px; }
.service-card-top { align-items: center; display: flex; justify-content: space-between; margin-bottom: 24px; }
.service-icon { align-items: center; background: var(--brand-soft); border-radius: 14px; color: var(--brand); display: flex; font-size: 1.55rem; height: 50px; justify-content: center; width: 50px; }
.service-listing-count { color: var(--brand-dark); font-size: .69rem; font-weight: 800; text-align: right; }
.service-card .eyebrow { margin-bottom: 5px; }
.service-card h2 { font-size: 1.16rem; margin-bottom: 9px; }
.service-card p { min-height: 58px; }
.service-payment-note { align-items: flex-start; background: var(--canvas); border-radius: 12px; display: flex; flex-direction: column; gap: 2px; margin: 14px 0 13px; padding: 10px 12px; }
.service-payment-note strong { color: var(--ink); font-size: .75rem; }
.service-payment-note span { color: var(--muted); font-size: .7rem; }
.text-link { color: var(--brand); display: inline-flex; font-size: .79rem; font-weight: 800; gap: 8px; text-decoration: none; }
.text-link:hover { color: var(--brand-dark); }
.muted-link { color: var(--muted); }

.services-search-bar { align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft); display: flex; gap: 18px; justify-content: space-between; margin: -12px auto 25px; padding: 12px 14px; width: min(100%, 1480px); }
.services-search-bar label { color: var(--ink); display: grid; flex: 1; gap: 6px; max-width: 560px; }
.services-search-bar label span { font-size: .72rem; font-weight: 800; }
.services-search-bar input { background: #fbfdff; border: 1px solid #cbdce9; border-radius: 10px; color: var(--ink); min-height: 44px; outline: 0; padding: 9px 12px; width: 100%; }
.services-search-bar input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(35,111,224,.12); }
.services-search-count { color: var(--muted); font-size: .75rem; font-weight: 750; padding-bottom: 13px; }
.services-no-results { margin: 0 auto; width: min(100%, 1480px); }

.loading-panel, .empty-panel, .notice { border-radius: 16px; padding: 18px 20px; }
.loading-panel, .empty-panel { align-items: center; background: white; border: 1px dashed #cbdad7; color: var(--muted); display: flex; gap: 11px; }
.empty-panel { align-items: flex-start; flex-direction: column; gap: 3px; }
.empty-panel strong { font-size: .95rem; }
.empty-panel span { font-size: .8rem; }
.spinner { animation: spin 1s linear infinite; border: 2px solid #cfe3df; border-radius: 50%; border-top-color: var(--brand); height: 18px; width: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.notice { font-size: .84rem; margin-bottom: 18px; }
.notice-error { background: #fff0ee; color: var(--danger); }
.notice-success { background: #e6f7ee; color: #176941; }
.notice a { font-weight: 800; margin-left: 5px; }

.auth-layout { align-items: stretch; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); margin: 25px auto; max-width: 920px; }
.auth-panel { background: white; border: 1px solid var(--line); border-radius: 25px; box-shadow: var(--shadow); padding: 34px; }
.auth-panel-wide { max-width: 650px; }
.auth-panel h1 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.06em; line-height: 1; margin-bottom: 14px; }
.auth-lede { color: var(--muted); font-size: .88rem; margin-bottom: 28px; }
.auth-aside { align-items: flex-start; background: linear-gradient(145deg, var(--brand), var(--brand-dark)); border-radius: 25px; color: white; display: flex; flex-direction: column; justify-content: flex-end; min-height: 450px; padding: 31px; }
.aside-mark { background: rgba(255,255,255,.15); box-shadow: none; margin-bottom: 25px; }
.auth-aside h2 { color: white; font-size: 1.55rem; letter-spacing: -.04em; line-height: 1.15; }
.auth-aside p { color: #cce8e2; font-size: .84rem; line-height: 1.7; margin-bottom: 0; }
.form-row { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.form-field { display: flex; flex-direction: column; margin-bottom: 17px; }
.form-field label, .account-choice legend { font-size: .78rem; font-weight: 750; margin-bottom: 7px; }
.form-field input { background: #f9fbfa; border: 1px solid #ccdad7; border-radius: 11px; color: var(--ink); min-height: 47px; outline: 0; padding: 10px 12px; }
.form-field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,127,112,.12); }
.form-field small { color: var(--muted); font-size: .7rem; margin-top: 5px; }
.form-field small.field-note { color: var(--brand-dark); font-weight: 700; }
.experience-editor .experience-value { color: var(--ink); display: block; font-size: 1.12rem; line-height: 1.3; margin: 2px 0 1px; }
.experience-edit-button { align-self: flex-start; margin-top: 6px; padding: 0; text-decoration: underline; }
.experience-edit-row { align-items: flex-end; display: flex; gap: 12px; }
.experience-date-field { flex: 1; min-width: 0; }
.experience-date-field > label { display: block; }
.experience-date-input-wrap { position: relative; }
.experience-date-input-wrap input { padding-right: 42px; width: 100%; }
.experience-clear { align-items: center; background: transparent; border: 0; color: var(--muted); cursor: pointer; display: inline-flex; font-size: 1.35rem; height: 34px; justify-content: center; position: absolute; right: 7px; top: 7px; width: 34px; }
.experience-clear:hover { color: var(--brand-dark); }
.experience-update-button { min-width: 100px; }
.field-error { color: var(--danger) !important; }
.validation-message { color: var(--danger); font-size: .72rem; margin-top: 4px; }
.auth-switch { color: var(--muted); font-size: .78rem; margin: 22px 0 0; text-align: center; }
.auth-switch a { color: var(--brand); font-weight: 750; }
.account-choice { border: 0; display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 18px; padding: 0; }
.account-choice legend { width: 100%; }
.account-choice > div { display: flex; flex: 1; gap: 9px; width: 100%; }
.choice-card { background: var(--canvas); border: 1px solid var(--line); border-radius: 11px; cursor: pointer; flex: 1; font-size: .78rem; padding: 12px; }
.choice-card input { accent-color: var(--brand); margin-right: 6px; }

.portal-gate { align-items: center; background: white; border: 1px solid var(--line); border-radius: 22px; display: flex; gap: 18px; max-width: 720px; padding: 28px; }
.gate-icon { align-items: center; background: var(--brand-soft); border-radius: 16px; color: var(--brand); display: flex; flex: 0 0 58px; font-size: 1.7rem; height: 58px; justify-content: center; }
.gate-icon-dark { background: #e9edef; color: var(--ink); }
.portal-gate h2 { font-size: 1.15rem; margin-bottom: 5px; }
.portal-gate p { color: var(--muted); font-size: .82rem; margin-bottom: 17px; }
.portal-summary { background: linear-gradient(145deg, #ffffff, #eef8f5); border: 1px solid var(--line); border-radius: 23px; padding: 27px; }
.profile-heading { align-items: center; display: flex; gap: 14px; }
.profile-heading h2 { font-size: 1.35rem; margin: 0 0 2px; }
.profile-heading p:last-child { color: var(--muted); font-size: .8rem; margin: 0; }
.profile-heading .eyebrow { margin-bottom: 3px; }
.profile-avatar { align-items: center; background: var(--brand); border-radius: 50%; color: white; display: flex; flex: 0 0 58px; font-weight: 800; height: 58px; justify-content: center; width: 58px; }
.profile-avatar-image { object-fit: cover; }
.summary-status { align-items: center; background: white; border: 1px solid var(--line); border-radius: 11px; display: inline-flex; font-size: .73rem; gap: 7px; margin: 23px 0; padding: 9px 12px; }
.summary-status span:not(.status-dot) { color: var(--muted); }
.status-dot { background: #43aa70; border-radius: 50%; height: 8px; width: 8px; }
.summary-stats { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 20px; }
.summary-stats div { border-right: 1px solid var(--line); display: flex; flex-direction: column; padding-left: 17px; }
.summary-stats div:first-child { padding-left: 0; }
.summary-stats div:last-child { border-right: 0; }
.summary-stats strong { font-size: 1.3rem; }
.summary-stats span { color: var(--muted); font-size: .7rem; }
.portal-grid, .admin-panels { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.portal-card { padding: 24px; }
.portal-card-featured { background: var(--brand); border-color: var(--brand); }
.portal-card-featured h2, .portal-card-featured p { color: white; }
.card-number { color: var(--coral); font-size: .72rem; font-weight: 850; letter-spacing: .1em; }
.portal-card h2 { font-size: 1.05rem; margin: 15px 0 8px; }
.portal-card .text-link { margin-top: 8px; }
.portal-card-featured .muted-link { color: #cce8e2; }
.provider-subscription-card { margin-top: 22px; }
.provider-subscription-card .card-heading { align-items: flex-start; display: flex; gap: 18px; justify-content: space-between; }
.provider-subscription-card .card-heading h2 { margin-top: 5px; }
.subscription-details { display: flex; flex-direction: column; gap: 4px; margin: 18px 0; }
.subscription-details strong { font-size: 1rem; }
.subscription-details span { color: var(--muted); font-size: .78rem; line-height: 1.55; }
.subscription-plan-options { display: grid; gap: 10px; margin-top: 17px; }
.subscription-plan-option { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 15px; cursor: pointer; display: grid; gap: 13px; grid-template-columns: 18px minmax(0, 1fr) auto; padding: 15px 16px; }
.subscription-plan-option.selected { background: #f4f8ff; border-color: var(--brand); box-shadow: 0 0 0 2px rgba(23,105,210,.08); }
.subscription-plan-option.unavailable { cursor: not-allowed; opacity: .68; }
.subscription-plan-option input { accent-color: var(--brand); margin: 0; }
.subscription-plan-copy { display: flex; flex-direction: column; gap: 4px; }
.subscription-plan-copy strong, .subscription-plan-price { color: var(--brand-dark); font-size: .9rem; }
.subscription-plan-copy small, .subscription-plan-warning { color: var(--muted); font-size: .73rem; line-height: 1.4; }
.subscription-feature-list { display: grid; gap: 3px; margin-top: 3px; }
.subscription-feature-list small, .subscription-feature-list span { color: #4b7f72; font-size: .7rem; line-height: 1.35; }
.subscription-plan-current { color: #197344 !important; font-weight: 800; }
.subscription-plan-warning { grid-column: 2 / -1; color: #9b6425; }
.provider-plan-change-heading { font-weight: 800; margin: 7px 0 0; }
.subscription-change-warning { display: flex; flex-direction: column; gap: 4px; margin: 13px 0; padding: 11px 13px; border: 1px solid #f0d7a8; border-radius: 11px; background: #fff8e9; }
.subscription-change-warning strong { color: #8a5d1c; font-size: .76rem; }
.subscription-change-warning span { color: #8c744e; font-size: .73rem; line-height: 1.45; }
.subscription-change-summary { display: grid; gap: 8px; margin: 12px 0; padding: 12px; border-radius: 10px; color: #7d8fa4; background: #f6f9fc; font-size: 10px; }
.subscription-change-summary span { display: flex; justify-content: space-between; gap: 12px; }
.subscription-change-summary strong { color: #17375f; }
.status-badge { border-radius: 999px; display: inline-flex; font-size: .68rem; font-weight: 800; padding: 7px 10px; white-space: nowrap; }
.status-badge.status-success { background: #e6f6ee; color: #197344; }
.status-badge.status-neutral { background: var(--canvas); color: var(--muted); }
.onboarding-card, .verification-section { background: white; border: 1px solid var(--line); border-radius: 23px; margin-top: 22px; padding: 27px; }
.wizard-header, .verification-header { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.wizard-header h2, .verification-header h2 { font-size: 1.35rem; margin-bottom: 0; }
.wizard-progress { background: var(--brand-soft); border-radius: 999px; color: var(--brand-dark); font-size: .72rem; font-weight: 800; padding: 8px 11px; }
.wizard-steps { display: grid; gap: 8px; grid-template-columns: repeat(6, 1fr); margin: 24px 0 28px; }
.wizard-steps span { align-items: center; background: var(--canvas); border-radius: 999px; color: var(--muted); display: flex; font-size: .72rem; font-weight: 800; height: 8px; justify-content: center; overflow: hidden; text-indent: -9999px; }
.wizard-steps span.wizard-step-active { background: var(--brand); }
.onboarding-card h3 { font-size: 1.12rem; margin-bottom: 5px; }
.form-help { color: var(--muted); font-size: .82rem; margin-bottom: 22px; }
.form-field textarea, .form-field select, .verification-detail textarea, .verification-filter select { background: #f9fbfa; border: 1px solid #ccdad7; border-radius: 11px; color: var(--ink); outline: 0; padding: 10px 12px; width: 100%; }
.form-field textarea:focus, .form-field select:focus, .verification-detail textarea:focus, .verification-filter select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,127,112,.12); }
.provider-type-autocomplete { position: relative; }
.provider-type-input-wrap { position: relative; }
.provider-type-input-wrap input { padding-right: 42px; }
.provider-type-clear { align-items: center; background: transparent; border: 0; color: var(--muted); cursor: pointer; display: inline-flex; font-size: 1.3rem; height: 34px; justify-content: center; position: absolute; right: 8px; top: 8px; width: 34px; }
.provider-type-clear:hover { color: var(--brand-dark); }
.provider-type-suggestions { background: #fff; border: 1px solid #cbddea; border-radius: 12px; box-shadow: 0 16px 30px rgba(28, 70, 112, .16); display: grid; left: 0; max-height: 300px; overflow-y: auto; position: absolute; right: 0; top: calc(100% + 5px); z-index: 30; }
.provider-type-suggestion { background: #fff; border: 0; border-bottom: 1px solid #edf2f7; color: var(--ink); cursor: pointer; display: grid; gap: 3px; padding: 11px 13px; text-align: left; width: 100%; }
.provider-type-suggestion:last-child { border-bottom: 0; }
.provider-type-suggestion:hover, .provider-type-suggestion:focus-visible, .provider-type-suggestion.active { background: #f2f7fd; color: var(--brand-dark); outline: 0; }
.provider-type-suggestion strong { font-size: .8rem; }
.provider-type-suggestion small { color: var(--muted); font-size: .68rem; line-height: 1.4; }
.provider-type-no-results { color: var(--muted); font-size: .75rem; margin: 0; padding: 13px; }
.website-domain-input { align-items: center; background: #fff; border: 1px solid #cbddea; border-radius: 10px; display: flex; overflow: hidden; }
.website-domain-input > span { background: #f2f7fd; border-right: 1px solid #dce8f1; color: var(--brand-dark); font-weight: 700; padding: 11px 12px; }
.website-domain-input input { border: 0 !important; border-radius: 0 !important; flex: 1; min-width: 0; }
.catalog-add-row { align-items: center; display: flex; gap: 8px; margin-top: 9px; }
.catalog-add-row input { flex: 1; min-width: 0; }
.check-grid { display: grid; gap: 8px 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.directory-payment-methods { color: var(--muted); display: block; margin-top: 4px; }
.simbik-verification-seal { align-items: center; background: #effbf7; border: 1px solid #9edfcf; border-radius: 14px; color: #075b51; display: inline-flex; gap: 9px; margin-top: 12px; padding: 9px 12px; }
.simbik-verification-seal, .simbik-verification-badge { cursor: pointer; font: inherit; text-align: left; }
.simbik-verification-badge { align-items: center; background: transparent; border: 0; color: #087f70; display: inline-flex; gap: 5px; margin: 0; padding: 0; white-space: nowrap; }
.simbik-verification-badge:hover, .simbik-verification-badge:focus-visible { color: #075b51; outline: 0; }
.simbik-verification-badge:focus-visible { border-radius: 6px; box-shadow: 0 0 0 3px rgba(8,127,112,.16); }
.simbik-seal-mark { align-items: center; background: #0ba88e; border: 3px solid #b8f0e0; border-radius: 50%; color: #fff; display: inline-flex; font-size: .85rem; font-weight: 800; height: 28px; justify-content: center; width: 28px; }
.simbik-verification-badge .simbik-seal-mark { border-width: 2px; font-size: .56rem; height: 17px; width: 17px; }
.simbik-verification-seal strong, .simbik-verification-seal small { display: block; }
.simbik-verification-seal small { color: #4e7c78; font-size: .68rem; margin-top: 2px; }
.simbik-verification-badge strong { font-size: 9px; font-weight: 850; }
.simbik-verification-badge small { color: #5d8e87; font-size: 8px; margin-left: 2px; }
.verification-info-dialog { width: min(600px, 100%); max-height: min(88vh, 720px); overflow-y: auto; padding: 24px; border: 1px solid #dbe7f2; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(12,37,72,.22); }
.verification-info-heading { align-items: flex-start; display: flex; gap: 16px; justify-content: space-between; }
.verification-info-heading h2 { color: var(--navy); font-size: 1.35rem; margin: 6px 0 0; }
.verification-info-lede { color: #627993; font-size: .78rem; line-height: 1.55; margin: 16px 0; }
.verification-info-list { display: grid; gap: 10px; }
.verification-info-list > div { align-items: flex-start; background: #f4fbf8; border: 1px solid #dceee8; border-radius: 12px; display: flex; gap: 10px; padding: 12px; }
.verification-info-list > div > span { align-items: center; background: #0ba88e; border-radius: 50%; color: #fff; display: inline-flex; flex: 0 0 20px; font-size: .7rem; font-weight: 800; height: 20px; justify-content: center; width: 20px; }
.verification-info-list strong { color: #175d55; display: block; font-size: .76rem; }
.verification-info-list p { color: #6c897f; font-size: .7rem; line-height: 1.45; margin: 3px 0 0; }
.verification-info-evidence { border-top: 1px solid #e5edf3; margin-top: 16px; padding-top: 14px; }
.verification-info-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.verification-info-chips span { background: #f0f5fb; border-radius: 999px; color: #496786; font-size: .68rem; padding: 6px 9px; }
.verification-info-confirmation { color: #18725f; font-size: .7rem; font-weight: 700; margin: 13px 0 0; }
.verification-info-disclaimer { border-top: 1px solid #e5edf3; color: #7b8da1; font-size: .68rem; line-height: 1.5; margin: 17px 0 0; padding-top: 14px; }
.verification-info-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 16px; }
.verification-info-actions a { color: #1769d2; font-size: .72rem; font-weight: 800; }
.check-row { align-items: center; color: var(--muted); display: flex; font-size: .82rem; gap: 8px; margin: 10px 0; }
.check-row input { accent-color: var(--brand); height: 16px; width: 16px; }
.check-row-large { background: var(--brand-soft); border-radius: 12px; color: var(--brand-dark); padding: 13px; }
.wizard-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.button-danger { background: #fdebea; color: var(--danger); }
.file-picker { align-items: center; background: var(--canvas); border: 1px dashed #b9cfca; border-radius: 13px; display: flex; gap: 13px; margin: 12px 0; padding: 15px; }
.file-picker input { max-width: 220px; }
.profile-builder-section { background: #f7fbfa; border: 1px solid #dcebe7; border-radius: 16px; margin-top: 18px; padding: 17px; }
.builder-section-heading { align-items: flex-start; display: flex; gap: 14px; justify-content: space-between; margin-bottom: 12px; }
.builder-section-heading h4 { font-size: .95rem; margin: 0 0 4px; }
.builder-section-heading p, .builder-empty { color: var(--muted); font-size: .75rem; line-height: 1.5; margin: 0; }
.care-category-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.care-category-option { align-items: center; background: #fbfdff; border: 1px solid #cbdbea; border-radius: 999px; color: #506a87; cursor: pointer; display: inline-flex; font-size: .75rem; gap: 7px; padding: 9px 12px; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease; }
.care-category-option:hover { border-color: #9dbfe4; color: var(--brand-dark); }
.care-category-option input { accent-color: var(--brand); margin: 0; }
.care-category-option.selected { background: var(--brand-soft); border-color: #75a9e3; box-shadow: 0 0 0 3px rgba(23,105,210,.09); color: var(--brand-dark); font-weight: 700; }
.care-category-picker { background: #f7fbfe; border: 1px solid #d9e8f3; border-radius: 16px; margin: 2px 0 18px; padding: 15px; }
.care-category-picker-heading { align-items: flex-start; display: flex; gap: 15px; justify-content: space-between; }
.care-category-picker-heading label { color: var(--ink); display: block; font-size: .78rem; font-weight: 700; }
.care-category-picker-heading small { color: var(--muted); display: block; font-size: .7rem; line-height: 1.5; margin-top: 4px; }
.care-category-picker-heading > span { background: #e8f2ff; border-radius: 999px; color: var(--brand-dark); flex: 0 0 auto; font-size: .66rem; font-weight: 800; padding: 6px 9px; }
.care-category-groups { display: grid; gap: 8px; margin-top: 10px; max-height: min(620px, 52vh); overflow-y: auto; overscroll-behavior: contain; padding: 2px 7px 2px 0; scrollbar-gutter: stable; }
.care-category-group { background: #fff; border: 1px solid #d9e4ef; border-radius: 12px; overflow: hidden; }
.care-category-parent-toggle { align-items: center; background: transparent; border: 0; color: var(--ink); cursor: pointer; display: flex; gap: 10px; min-height: 58px; padding: 10px 12px; text-align: left; width: 100%; }
.care-category-parent-toggle:hover, .care-category-parent-toggle.expanded { background: #f2f7fc; }
.care-category-parent-chevron { align-items: center; background: #eaf3ff; border-radius: 50%; color: var(--brand); display: inline-flex; flex: 0 0 26px; font-size: 1.1rem; font-weight: 700; height: 26px; justify-content: center; }
.care-category-parent-copy { display: grid; flex: 1; gap: 2px; }
.care-category-parent-copy strong { font-size: .78rem; }
.care-category-parent-copy small { color: var(--muted); font-size: .66rem; }
.care-category-parent-action { color: var(--brand-dark); font-size: .67rem; font-weight: 700; }
.care-category-children { border-top: 1px solid #e7eef5; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px 12px; }
.care-category-admin-child { background: #fbfdff; }
.care-category-admin-child .care-category-admin-copy { padding-left: 14px; }
.builder-item { background: white; border: 1px solid #dcebe7; border-radius: 13px; margin-bottom: 12px; padding: 14px; }
.builder-item:last-of-type { margin-bottom: 14px; }
.builder-item .builder-section-heading { align-items: center; margin-bottom: 10px; }
.builder-item .builder-section-heading strong { color: var(--brand-dark); font-size: .78rem; }
.text-button-danger { color: var(--danger); }
.text-button-danger:hover { color: #a92f2b; }
.check-stack { display: flex; flex-wrap: wrap; gap: 5px 14px; padding-top: 5px; }
.check-stack .check-row { margin: 0; }
.availability-builder { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.availability-row { align-items: center; background: white; border-bottom: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: minmax(130px, 1fr) 120px auto 120px; min-height: 57px; padding: 8px 13px; }
.availability-row:last-child { border-bottom: 0; }
.availability-row .check-row { margin: 0; }
.availability-row input[type=time] { background: #f9fbfa; border: 1px solid #ccdad7; border-radius: 9px; color: var(--ink); min-height: 38px; padding: 7px 8px; width: 100%; }
.availability-closed { color: var(--muted); font-size: .75rem; grid-column: 2 / -1; }
.onboarding-status-card { margin-top: 22px; }
.onboarding-status-card h2 { color: white; font-size: 1.35rem; }
.onboarding-status-card p:not(.eyebrow) { color: #cce8e2; }
.verification-header { align-items: center; margin-bottom: 19px; }
.verification-filter { align-items: center; display: flex; gap: 8px; }
.verification-filter label { color: var(--muted); font-size: .75rem; }
.verification-filter select { min-width: 205px; width: auto; }
.verification-layout { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); }
.verification-list { background: var(--canvas); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.verification-row { align-items: center; background: white; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; display: flex; gap: 11px; padding: 14px; text-align: left; width: 100%; }
.verification-row:last-child { border-bottom: 0; }
.verification-row:hover, .verification-row-selected { background: var(--brand-soft); }
.admin-status-chip.approved { background: #fff4d9; color: #8a5a00; }
.verification-avatar { align-items: center; background: var(--brand-soft); border-radius: 50%; color: var(--brand-dark); display: flex; flex: 0 0 39px; font-size: .72rem; font-weight: 800; height: 39px; justify-content: center; width: 39px; }
.verification-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.verification-copy strong { font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.verification-copy small { color: var(--muted); font-size: .68rem; margin-top: 3px; }
.verification-detail { background: var(--canvas); border-radius: 16px; padding: 20px; }
.verification-detail h3 { font-size: 1.05rem; margin-bottom: 4px; }
.detail-status { align-items: center; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; font-size: .76rem; justify-content: space-between; margin: 18px 0; padding: 12px 0; }
.detail-status span { color: var(--muted); }
.decision-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.decision-actions .button { flex: 1; font-size: .72rem; min-width: 90px; padding: 8px 9px; }
.metric-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.metric-card { padding: 21px; }
.metric-card span, .metric-card small { color: var(--muted); display: block; font-size: .7rem; }
.metric-card strong { display: block; font-size: 2rem; letter-spacing: -.04em; margin: 13px 0 4px; }
.metric-warm { background: #fff8eb; border-color: #f2ddb4; }
.metric-dark { background: var(--ink); border-color: var(--ink); }
.metric-dark strong, .metric-dark span, .metric-dark small { color: white; }
.admin-panels { grid-template-columns: 1fr 1fr; }
.admin-list { display: flex; flex-direction: column; margin-top: 20px; }
.admin-list div { align-items: center; border-bottom: 1px solid var(--line); display: flex; font-size: .8rem; justify-content: space-between; padding: 12px 0; }
.admin-list div:last-child { border-bottom: 0; }
.admin-list span { color: var(--muted); }
.admin-care-category-card { margin-top: 16px; }
.admin-care-category-card .section-heading { align-items: flex-start; }
.admin-care-category-card .section-heading h2 { margin: 5px 0; }
.admin-category-tree { display: grid; gap: 14px; margin-top: 20px; }
.admin-category-group { overflow: hidden; border: 1px solid #dfe8f1; border-radius: 16px; background: #fff; }
.admin-category-group-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 16px; background: linear-gradient(135deg, #f8fbff, #f5fbfa); }
.admin-category-parent-copy { display: flex; align-items: center; gap: 10px; min-width: 0; }
.admin-category-parent-copy > div { display: grid; gap: 3px; min-width: 0; }
.admin-category-parent-copy strong { color: var(--navy); font-size: .9rem; }
.admin-category-parent-copy small { overflow: hidden; color: var(--muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-category-parent-icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; color: #286bd3; background: #e7f1ff; font-size: 15px; }
.admin-category-group-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.admin-category-group-actions .button { font-size: .67rem; padding: 7px 9px; }
.care-category-count { color: #6e839d; font-size: .67rem; font-weight: 800; white-space: nowrap; }
.admin-category-children { padding: 0 16px; }
.admin-category-children .care-category-admin-row:last-child { border-bottom: 0; }
.admin-category-child-marker { flex: 0 0 16px; color: #71a0d4; font-size: 15px; font-weight: 800; }
.admin-category-empty { padding: 15px 16px; border-top: 1px solid #e7eef5; color: #8a9aae; font-size: .72rem; }
.admin-category-orphans { border-color: #f1d7cd; }
.admin-category-orphans .admin-category-group-header { background: #fff8f5; }
.care-category-admin-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 12px; padding: 13px 0; }
.care-category-admin-row:last-child { border-bottom: 0; }
.care-category-admin-copy { display: grid; flex: 1; gap: 3px; min-width: 0; }
.care-category-admin-copy strong { color: var(--ink); font-size: .82rem; }
.care-category-admin-copy small { color: var(--muted); font-size: .68rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.care-category-admin-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; }
.care-category-admin-actions .button { font-size: .68rem; padding: 7px 10px; }
.care-category-status { border-radius: 999px; font-size: .62rem; font-weight: 800; padding: 5px 8px; }
.care-category-status-active { background: #e7f7ee; color: #18734d; }
.care-category-status-archived { background: #f1f3f6; color: #7e8c9b; }
.care-category-editor { background: #f7fbfe; border: 1px solid #d9e8f3; border-radius: 15px; margin: 15px 0 8px; padding: 16px; }
.care-category-editor .form-field { margin-bottom: 12px; }
.care-category-editor-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 720px) {
    .admin-category-group-header { align-items: flex-start; flex-direction: column; }
    .admin-category-group-actions { justify-content: flex-start; width: 100%; }
    .admin-category-children { padding: 0 11px; }
    .care-category-admin-row { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
    .care-category-admin-copy { flex: 1 1 calc(100% - 30px); }
    .care-category-admin-actions { width: 100%; padding-left: 24px; }
}
.stripe-settings-card { align-items: center; background: #fff8eb; border: 1px solid #f2ddb4; border-radius: 22px; display: grid; gap: 25px; grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); margin-top: 16px; padding: 24px; }
.stripe-settings-copy h2 { font-size: 1.12rem; margin-bottom: 8px; }
.stripe-settings-copy p:not(.eyebrow) { color: var(--muted); font-size: .8rem; line-height: 1.6; margin-bottom: 0; max-width: 560px; }
.stripe-settings-control { background: white; border: 1px solid #f2ddb4; border-radius: 15px; padding: 15px; }
.stripe-mode-badge { align-items: center; display: flex; font-size: .72rem; gap: 7px; }
.stripe-mode-badge span:not(.status-dot) { color: var(--muted); }
.stripe-mode-badge strong { margin-left: auto; }
.stripe-checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0; }
.stripe-checks span { border-radius: 999px; font-size: .65rem; padding: 5px 8px; }
.check-ok { background: #e6f7ee; color: #176941; }
.check-missing { background: #fff0ee; color: var(--danger); }
.stripe-switch { display: flex; gap: 8px; }
.stripe-switch select { background: #f9fbfa; border: 1px solid #ccdad7; border-radius: 10px; color: var(--ink); flex: 1; min-width: 0; padding: 8px 10px; }
.stripe-warning { color: #8c5700; display: block; font-size: .68rem; line-height: 1.5; margin-top: 10px; }
.care-journey-steps { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); margin-bottom: 22px; max-width: 760px; }
.care-journey-steps span { align-items: center; background: white; border: 1px solid var(--line); border-radius: 13px; color: var(--muted); display: flex; font-size: .74rem; gap: 8px; padding: 12px 14px; }
.care-journey-steps b { color: #9aa9a6; font-size: .68rem; }
.care-journey-steps .care-step-active { background: var(--brand-soft); border-color: #aad6cc; color: var(--brand-dark); }
.care-journey-steps .care-step-active b { color: var(--brand); }
.care-card { background: white; border: 1px solid var(--line); border-radius: 23px; max-width: 900px; padding: 28px; }
.care-card-heading { align-items: flex-start; display: flex; gap: 18px; justify-content: space-between; margin-bottom: 25px; }
.care-card-heading h2 { font-size: 1.45rem; margin-bottom: 3px; }
.care-card-heading .form-help { margin-bottom: 0; max-width: 600px; }
.care-card-icon { align-items: center; background: var(--brand-soft); border-radius: 15px; color: var(--brand); display: flex; flex: 0 0 50px; font-size: 1.4rem; height: 50px; justify-content: center; }
.inline-callout { background: var(--brand-soft); border-radius: 14px; display: flex; flex-direction: column; gap: 3px; margin-bottom: 22px; padding: 15px; }
.inline-callout strong { font-size: .85rem; }
.inline-callout span { color: var(--muted); font-size: .78rem; }
.match-list { display: flex; flex-direction: column; gap: 12px; }
.match-card { background: var(--canvas); border: 1px solid var(--line); border-radius: 18px; display: flex; gap: 14px; padding: 17px; }
.match-avatar { align-items: center; background: var(--brand); border-radius: 50%; color: white; display: flex; flex: 0 0 53px; font-weight: 800; height: 53px; justify-content: center; width: 53px; }
.match-copy { flex: 1; min-width: 0; }
.match-copy h3 { font-size: .98rem; margin: 0 0 2px; }
.match-copy p { color: var(--muted); font-size: .75rem; margin: 0; }
.match-score { background: #def3e7; border-radius: 999px; color: #176940; font-size: .68rem; font-weight: 800; padding: 6px 8px; white-space: nowrap; }
.match-preferred { background: #e8f1ff; border-radius: 999px; color: #1d67c9; display: inline-flex; font-size: .68rem; font-weight: 800; margin-top: 6px; padding: 5px 8px; }
.match-meta { color: var(--muted); display: flex; flex-wrap: wrap; font-size: .72rem; gap: 13px; margin: 11px 0; }
.match-meta span:first-child { color: #a66604; font-weight: 750; }
.booking-status-panel { background: var(--canvas); border-radius: 17px; margin-bottom: 18px; padding: 20px; }
.booking-status-panel h3 { font-size: 1.15rem; margin: 14px 0 6px; }
.booking-status-panel p { color: var(--muted); font-size: .82rem; }
.booking-summary { border-top: 1px solid var(--line); display: flex; font-size: .78rem; justify-content: space-between; margin-top: 17px; padding-top: 14px; }
.payment-ready { background: #e6f7ee; border-radius: 13px; color: #176941; display: flex; flex-direction: column; font-size: .78rem; gap: 3px; margin: 15px 0; padding: 14px; }
.payment-ready span { line-height: 1.5; }
.stripe-checkout { background: #f8fbfa; border: 1px solid #d9e8e3; border-radius: 17px; margin: 16px 0; padding: 18px; }
.stripe-checkout-heading { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 15px; }
.stripe-checkout-heading h3 { font-size: 1.02rem; margin-bottom: 0; }
.stripe-checkout-heading .stripe-mode-badge { background: #e6f7ee; border-radius: 999px; color: #176941; font-size: .68rem; padding: 6px 9px; }
.stripe-payment-element { background: #fff; border: 1px solid #d9e8e3; border-radius: 12px; margin-bottom: 15px; padding: 12px; }
.stripe-checkout .form-help { margin: 10px 0 0; }

#blazor-error-ui { background: #fff0ee; bottom: 0; box-shadow: 0 -1px 5px rgba(0,0,0,.1); display: none; left: 0; padding: 12px 20px; position: fixed; width: 100%; z-index: 1000; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; }

@media (max-width: 800px) {
    .site-nav { flex-wrap: wrap; gap: 16px; padding: 17px 19px; }
    .site-nav nav { flex: 0 0 100%; gap: 17px; order: 3; overflow-x: auto; }
    .nav-actions { margin-left: auto; }
    .nav-user { display: none; }
    .site-main { padding: 15px 19px 50px; }
    .site-footer { padding: 22px 19px 30px; }
    .hero-section { display: flex; flex-direction: column; gap: 28px; min-height: auto; padding-top: 26px; }
    .hero-copy h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
    .hero-art { min-height: 320px; width: 100%; }
    .hero-sun { height: 125px; left: calc(50% - 62px); top: 21%; width: 125px; }
    .hero-stat-card { bottom: 20px; left: 18px; right: 18px; }
    .value-grid, .service-grid, .portal-grid, .metric-grid, .admin-panels { grid-template-columns: 1fr; }
    .value-grid { margin-bottom: 45px; }
    .split-callout { align-items: flex-start; flex-direction: column; padding: 28px 24px; }
    .page-intro-with-pill { display: block; }
    .role-pill { display: inline-block; margin-top: 5px; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-aside { min-height: 240px; }
    .verification-layout { grid-template-columns: 1fr; }
    .verification-header { align-items: flex-start; flex-direction: column; }
    .verification-filter { width: 100%; }
    .verification-filter select { flex: 1; }
    .care-journey-steps { grid-template-columns: 1fr; }
    .stripe-settings-card { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .button { width: 100%; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-proof { flex-direction: column; gap: 7px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .auth-panel { padding: 25px 20px; }
    .account-choice > div { flex-direction: column; }
    .portal-gate { align-items: flex-start; flex-direction: column; }
    .summary-stats strong { font-size: 1.1rem; }
    .onboarding-card, .verification-section { padding: 20px; }
    .wizard-header { flex-direction: column; }
    .wizard-actions { flex-direction: column-reverse; }
    .wizard-actions .button { width: 100%; }
    .file-picker { align-items: flex-start; flex-direction: column; }
    .file-picker input { max-width: none; width: 100%; }
    .care-card { padding: 20px; }
    .care-card-heading { gap: 10px; }
    .care-card-heading h2 { font-size: 1.25rem; }
    .match-card { align-items: flex-start; flex-direction: column; }
    .match-card .button { width: 100%; }
    .booking-summary { align-items: flex-start; flex-direction: column; gap: 8px; }
    .stripe-switch { align-items: stretch; flex-direction: column; }
    .stripe-switch .button { width: 100%; }
}

/* Public Simbik landing and provider discovery */
.brand-logo { height: 50px; object-fit: cover; object-position: center; width: 148px; }
.public-hero {
    align-items: center;
    display: grid;
    gap: clamp(32px, 5vw, 84px);
    grid-template-columns: minmax(0, 1fr) minmax(390px, .86fr);
    margin: 0 auto 68px;
    max-width: 1480px;
    min-height: 590px;
}
.public-hero-copy { max-width: 720px; }
.public-hero-copy h1 { font-size: clamp(3.4rem, 7vw, 6.8rem); letter-spacing: -.08em; line-height: .94; margin-bottom: 25px; max-width: 730px; }
.public-hero-lede { color: var(--muted); font-size: 1.12rem; line-height: 1.75; max-width: 630px; }
.public-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 28px; }
.public-hero-visual { align-items: center; background: linear-gradient(145deg, #e0f0ec, #f7faf8); border: 1px solid #b9dbd1; border-radius: 38px; box-shadow: var(--shadow); display: flex; min-height: 530px; overflow: hidden; position: relative; }
.public-hero-glow { background: radial-gradient(circle, rgba(255,255,255,.85), transparent 66%); height: 430px; left: 8%; position: absolute; top: 6%; width: 430px; }
.public-hero-orbit { border: 1px solid rgba(23,105,210,.22); border-radius: 50%; position: absolute; }
.public-hero-orbit-one { height: 390px; right: -105px; top: 45px; transform: rotate(22deg); width: 570px; }
.public-hero-orbit-two { height: 290px; left: 20px; top: 120px; transform: rotate(-28deg); width: 430px; }
.public-hero-mark { align-items: center; background: white; border: 1px solid rgba(255,255,255,.95); border-radius: 24px; box-shadow: 0 30px 60px rgba(23,105,210,.18); display: flex; height: 142px; justify-content: center; left: calc(50% - 150px); overflow: hidden; position: absolute; top: 34%; transform: rotate(-4deg); width: 300px; }
.public-hero-mark img { height: 100%; object-fit: cover; object-position: center; width: 100%; }
.public-floating-card { align-items: flex-start; backdrop-filter: blur(13px); background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.95); border-radius: 18px; box-shadow: 0 14px 32px rgba(15,70,61,.1); display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; position: absolute; z-index: 2; }
.public-floating-card strong { font-size: .84rem; }
.public-floating-card span:last-child { color: var(--muted); font-size: .7rem; }
.public-floating-card-top { right: 28px; top: 35px; }
.public-floating-card-bottom { bottom: 30px; flex-direction: row; gap: 11px; left: 28px; }
.public-floating-card-bottom div { display: flex; flex-direction: column; gap: 3px; }
.public-card-check { align-items: center; background: #def3e7; border-radius: 11px; color: #176940; display: flex; font-weight: 850; height: 38px; justify-content: center; width: 38px; }
.provider-search-section { background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow-soft); margin: 0 auto 76px; max-width: 1480px; padding: clamp(25px, 4vw, 45px); scroll-margin-top: 100px; }
.provider-search-header { align-items: flex-end; display: flex; gap: 25px; justify-content: space-between; margin-bottom: 25px; }
.provider-search-header h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.06em; margin-bottom: 8px; }
.provider-search-header p:last-child { color: var(--muted); font-size: .9rem; margin-bottom: 0; }
.search-count { background: var(--brand-soft); border: 1px solid #c8dcf4; border-radius: 999px; color: var(--brand-dark); flex: 0 0 auto; font-size: .72rem; font-weight: 800; padding: 9px 12px; }
.provider-search-form { align-items: flex-end; background: #f5faf8; border: 1px solid #d8e9e3; border-radius: 20px; display: grid; gap: 13px; grid-template-columns: 1.45fr 1fr auto; margin-bottom: 25px; padding: 17px; }
.search-field { display: flex; flex-direction: column; gap: 7px; }
.search-field label { font-size: .72rem; font-weight: 800; }
.search-field input { background: white; border: 1px solid #c7dbd5; border-radius: 11px; color: var(--ink); min-height: 49px; outline: 0; padding: 10px 12px; width: 100%; }
.search-field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,127,112,.12); }
.search-submit { min-height: 49px; white-space: nowrap; }
.search-loading { margin-bottom: 18px; }
.search-empty { align-items: flex-start; min-height: 150px; }
.search-empty .button { margin-top: 12px; }
.public-provider-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.public-provider-card { background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; min-height: 274px; padding: 19px; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.public-provider-card:hover { border-color: #9fc9bf; box-shadow: var(--shadow); transform: translateY(-3px); }
.public-provider-top { align-items: center; display: flex; justify-content: space-between; margin-bottom: 14px; }
.public-provider-avatar { align-items: center; background: linear-gradient(145deg, var(--brand), var(--coral)); border-radius: 50%; color: white; display: flex; font-size: .85rem; font-weight: 850; height: 48px; justify-content: center; width: 48px; }
.verified-chip { background: #e7f7ee; border-radius: 999px; color: #176940; font-size: .63rem; font-weight: 850; padding: 6px 8px; }
.public-provider-card h3 { font-size: 1rem; margin-bottom: 3px; }
.public-provider-title { color: var(--muted); font-size: .74rem; margin-bottom: 15px; min-height: 18px; }
.public-provider-rating { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; }
.public-provider-rating span { color: #a66604; font-size: .75rem; font-weight: 850; }
.public-provider-rating small { border-left: 1px solid var(--line); color: var(--muted); font-size: .66rem; padding-left: 8px; }
.public-provider-badges { display: flex; flex-wrap: wrap; gap: 5px; min-height: 25px; }
.public-provider-badges span { background: #f0f7f4; border-radius: 999px; color: #54706a; font-size: .62rem; padding: 5px 7px; }
.public-provider-footer { align-items: flex-end; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.public-provider-footer strong { font-size: .68rem; line-height: 1.35; max-width: 115px; }
.public-provider-footer .text-link { font-size: .68rem; text-align: right; }
.provider-search-cta { align-items: center; background: var(--brand); border-radius: 18px; color: white; display: flex; gap: 20px; justify-content: space-between; margin-top: 17px; padding: 17px 20px; }
.provider-search-cta > div { display: flex; flex-direction: column; gap: 3px; }
.provider-search-cta strong { color: white; font-size: .85rem; }
.provider-search-cta span { color: #cce8e2; font-size: .72rem; }
.provider-search-cta .button { background: white; color: var(--brand-dark); flex: 0 0 auto; }
.public-value-grid { margin-top: 0; }

@media (max-width: 1000px) {
    .public-hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); }
    .public-provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
    .public-hero { display: flex; flex-direction: column; gap: 30px; min-height: auto; padding-top: 8px; }
    .public-hero-copy { max-width: none; }
    .public-hero-copy h1 { font-size: clamp(3rem, 13vw, 5rem); }
    .public-hero-visual { min-height: 390px; width: 100%; }
    .public-hero-mark { height: 116px; left: calc(50% - 123px); top: 35%; width: 246px; }
    .provider-search-form { grid-template-columns: 1fr 1fr; }
    .search-submit { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .brand-logo { height: 45px; width: 130px; }
    .public-hero-actions { flex-direction: column; }
    .public-hero-actions .button { width: 100%; }
    .public-floating-card-top { right: 15px; top: 18px; }
    .public-floating-card-bottom { bottom: 18px; left: 15px; }
    .public-provider-grid, .provider-search-form { grid-template-columns: 1fr; }
    .search-submit { grid-column: auto; }
    .provider-search-header { align-items: flex-start; flex-direction: column; }
    .provider-search-cta { align-items: flex-start; flex-direction: column; }
    .provider-search-cta .button { width: 100%; }
}

/* Modern full-width visual refresh */
:root {
    --ink: #132b55;
    --muted: #68798e;
    --line: #d9e4f0;
    --surface: #ffffff;
    --canvas: #f3f7f5;
    --brand: #1769d2;
    --brand-dark: #102c61;
    --brand-soft: #e8f2ff;
    --coral: #0bb3a5;
    --shadow: 0 20px 60px rgba(28, 69, 125, .13);
    --shadow-soft: 0 10px 30px rgba(28, 69, 125, .08);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background:
        radial-gradient(circle at 92% 4%, rgba(198, 232, 222, .45), transparent 25rem),
        radial-gradient(circle at 3% 30%, rgba(255, 237, 215, .34), transparent 23rem),
        var(--canvas);
}

.site-nav {
    background: rgba(255, 255, 255, .84);
    border-bottom: 1px solid rgba(216, 230, 225, .82);
    box-shadow: 0 8px 28px rgba(14, 49, 44, .04);
    gap: clamp(22px, 4vw, 56px);
    max-width: none;
    padding: 17px clamp(24px, 5vw, 76px);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
}

.brand { font-size: 1.08rem; letter-spacing: -.035em; min-width: 110px; }
.brand-logo { height: 46px; width: auto; }
.brand-mark { border-radius: 13px; height: 40px; width: 40px; }
.site-nav nav { align-items: center; gap: 5px; }
.site-nav nav a {
    border-radius: 999px;
    color: #71817e;
    font-size: .8rem;
    font-weight: 700;
    padding: 9px 13px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.site-nav nav a:hover { background: #f0f7f4; color: var(--brand-dark); transform: translateY(-1px); }
.site-nav nav a.active { background: var(--brand-soft); color: var(--brand-dark); }
.nav-actions { gap: 12px; }
.nav-user { background: #f0f6f4; border: 1px solid var(--line); border-radius: 999px; color: var(--brand-dark); font-size: .76rem; font-weight: 750; padding: 8px 12px; }

.site-main {
    margin: 0;
    max-width: none;
    padding: clamp(34px, 5vw, 72px) clamp(24px, 5vw, 76px) 100px;
}
.site-footer {
    background: rgba(255, 255, 255, .72);
    align-items: center;
    gap: 24px;
    max-width: none;
    padding: 28px clamp(24px, 5vw, 76px) 38px;
}
.site-footer-brand { display: flex; flex-direction: column; gap: 3px; }
.site-footer-brand small { color: var(--muted); font-size: .78rem; }
.site-footer-links { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.site-footer-links a { color: var(--muted); font-size: .78rem; text-decoration: none; }
.site-footer-links a:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 700px) {
    .site-footer { align-items: flex-start; flex-direction: column; }
    .site-footer-links { gap: 10px 16px; justify-content: flex-start; }
}

.hero-section,
.value-grid,
.split-callout,
.page-intro,
.care-journey-steps,
.care-card,
.portal-summary,
.onboarding-card,
.verification-section,
.metric-grid,
.stripe-settings-card,
.admin-panels,
.service-grid,
.portal-gate,
.auth-layout {
    margin-left: auto;
    margin-right: auto;
    width: min(100%, 1480px);
}

.hero-section { min-height: min(700px, calc(100vh - 100px)); padding: 22px 0 54px; }
.hero-copy h1 { font-size: clamp(3.2rem, 6.7vw, 6.2rem); max-width: 740px; }
.hero-lede { font-size: 1.12rem; max-width: 620px; }
.hero-actions { margin: 34px 0 30px; }
.hero-proof { gap: 22px; }
.hero-art {
    background:
        linear-gradient(145deg, rgba(226, 243, 238, .96), rgba(247, 251, 249, .96)),
        var(--brand-soft);
    border: 1px solid rgba(157, 203, 192, .55);
    box-shadow: var(--shadow);
    min-height: 560px;
}
.hero-art::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, .62), transparent 55%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}
.hero-orbit { border-color: rgba(8, 127, 112, .25); }
.hero-sun { background: linear-gradient(145deg, #236fe0, #0bb3a5); box-shadow: 0 25px 55px rgba(23, 105, 210, .34); }
.hero-floating-card {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(15, 70, 61, .10);
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 15px 17px;
    position: absolute;
    z-index: 2;
}
.hero-floating-card strong { font-size: .83rem; }
.hero-floating-card span:last-child { color: var(--muted); font-size: .7rem; }
.hero-mini-label { color: var(--brand); font-size: .57rem !important; font-weight: 850; letter-spacing: .14em; }
.hero-floating-card-top { right: 30px; top: 42px; }
.hero-floating-card-side { align-items: flex-start; left: 32px; padding: 13px 16px; top: 36%; }
.hero-floating-card-side strong { color: var(--brand); font-size: 1.25rem; letter-spacing: -.05em; }
.hero-stat-card { bottom: 30px; left: 30px; right: 30px; }

.value-grid { gap: 18px; margin-bottom: 100px; }
.value-card, .service-card, .portal-card, .metric-card { box-shadow: var(--shadow-soft); }
.value-card { padding: 29px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.value-card:hover, .service-card:hover { border-color: #afd5cb; box-shadow: var(--shadow); transform: translateY(-3px); }
.value-icon { box-shadow: inset 0 0 0 1px rgba(23, 105, 210, .08); }
.split-callout { border-radius: 30px; box-shadow: 0 22px 45px rgba(23, 105, 210, .19); padding: 40px 46px; }

.page-intro { margin-top: 5px; }
.page-intro h1 { max-width: 850px; }
.role-pill { border: 1px solid #c7dcf7; box-shadow: 0 5px 15px rgba(23, 105, 210, .06); }
.metric-grid { gap: 18px; }
.metric-card { min-height: 150px; padding: 24px; }
.metric-card strong { font-size: 2.35rem; }
.admin-panels { gap: 18px; }
.portal-summary { box-shadow: var(--shadow-soft); padding: 31px; }
.portal-grid { gap: 18px; }
.portal-card { padding: 27px; }
.onboarding-card, .verification-section { box-shadow: var(--shadow-soft); padding: 32px; }
.verification-section { max-width: 1480px; }
.verification-list, .verification-detail { box-shadow: var(--shadow-soft); }
.care-journey-steps { max-width: 1480px; }
.care-journey-steps span { box-shadow: var(--shadow-soft); }
.care-card { box-shadow: var(--shadow-soft); max-width: 1480px; padding: clamp(25px, 4vw, 42px); }
.match-card { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.match-card:hover { border-color: #afd5cb; box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.auth-layout { max-width: 1180px; }
.auth-panel { box-shadow: var(--shadow); }
.auth-aside { box-shadow: var(--shadow); }

.form-field input, .form-field textarea, .form-field select, .verification-detail textarea, .verification-filter select, .stripe-switch select {
    background: rgba(249, 252, 250, .9);
    border-color: #c7dbd5;
    min-height: 50px;
}
.form-field textarea, .verification-detail textarea { min-height: 110px; }
.button { min-height: 49px; transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button-primary { box-shadow: 0 10px 22px rgba(23, 105, 210, .2); }
.button-outline:hover:not(:disabled) { background: #eef7f4; border-color: #9fc9bf; }

@media (max-width: 800px) {
    .site-nav { padding: 15px 20px; }
    .site-main { padding: 28px 20px 64px; }
    .hero-section { min-height: auto; padding-top: 8px; }
    .hero-art { min-height: 390px; }
    .hero-floating-card-top { right: 18px; top: 24px; }
    .hero-floating-card-side { left: 18px; top: 34%; }
    .site-footer { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 500px) {
    .site-nav nav a { padding-left: 10px; padding-right: 10px; }
    .hero-floating-card-side { display: none; }
    .hero-floating-card-top { right: 16px; top: 20px; }
    .hero-stat-card { bottom: 18px; left: 18px; right: 18px; }
    .care-card, .onboarding-card, .verification-section { padding: 22px 18px; }
}

.care-timeline {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 22px 0;
}

.care-timeline-item {
    align-items: center;
    background: #f4f8f6;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--muted);
    display: flex;
    gap: 10px;
    min-height: 72px;
    padding: 11px;
}

.care-timeline-item > span {
    align-items: center;
    background: #e4eeeb;
    border-radius: 50%;
    color: #728782;
    display: flex;
    flex: 0 0 30px;
    font-size: .64rem;
    font-weight: 850;
    height: 30px;
    justify-content: center;
}

.care-timeline-item strong, .care-timeline-item small { display: block; }
.care-timeline-item strong { color: #73827f; font-size: .72rem; }
.care-timeline-item small { font-size: .62rem; margin-top: 3px; }
.care-timeline-item-active { background: var(--brand-soft); border-color: #a7d3c8; color: var(--brand-dark); }
.care-timeline-item-active > span { background: var(--brand); color: white; }
.care-timeline-item-active strong { color: var(--brand-dark); }
.care-timeline-item-muted { opacity: .64; }

.journey-message-panel, .review-panel {
    background: rgba(247, 251, 249, .9);
    border: 1px solid var(--line);
    border-radius: 22px;
    margin: 20px 0;
    padding: 21px;
}

.care-card-heading-compact { margin-bottom: 12px; }
.care-card-heading-compact h3 { font-size: 1.12rem; margin: 0 0 4px; }
.journey-message-panel .care-card-icon { font-size: 1.25rem; }

.review-panel h3 { font-size: 1.3rem; margin: 0 0 5px; }
.rating-grid { display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 20px 0; }
.rating-grid label { color: var(--muted); display: flex; flex-direction: column; font-size: .72rem; font-weight: 750; gap: 7px; }
.rating-grid select { background: white; border: 1px solid #c7dbd5; border-radius: 11px; color: var(--ink); min-height: 44px; padding: 0 9px; }
.rating-grid select:focus { border-color: var(--brand); outline: 0; }
.label-optional, .label-required { color: var(--muted); font-size: .65rem; font-weight: 500; }
.label-required { color: var(--brand); font-weight: 750; }

.provider-care-board { background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-soft); margin: 22px auto 0; max-width: 1480px; padding: clamp(24px,4vw,38px); }
.board-header { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 22px; }
.board-header h2 { font-size: clamp(1.45rem,3vw,2rem); letter-spacing: -.045em; margin-bottom: 5px; }
.board-header-compact { align-items: center; margin-bottom: 14px; }
.board-header-compact h3 { font-size: 1.05rem; margin: 0; }
.provider-booking-grid { display: grid; gap: 16px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.provider-booking-card { background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-soft); padding: 21px; }
.provider-booking-card-selected { border-color: #8fc9ba; box-shadow: 0 0 0 3px rgba(8,127,112,.10), var(--shadow-soft); }
.provider-booking-top, .provider-booking-meta { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
.booking-service { color: var(--brand); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.provider-booking-card h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.provider-booking-card p { color: var(--muted); font-size: .8rem; line-height: 1.6; min-height: 44px; }
.provider-booking-meta { border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; padding-bottom: 13px; }
.provider-booking-meta strong { color: var(--ink); }
.provider-booking-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.provider-booking-actions .button { flex: 1; min-width: 120px; }
.provider-message-panel { background: var(--canvas); border: 1px solid var(--line); border-radius: 22px; margin-top: 20px; padding: 21px; }
.message-list { display: flex; flex-direction: column; gap: 9px; max-height: 360px; overflow: auto; padding: 8px 0 15px; }
.message-empty { color: var(--muted); font-size: .82rem; padding: 25px 0; text-align: center; }
.message-bubble { align-self: flex-start; background: white; border: 1px solid var(--line); border-radius: 15px 15px 15px 5px; display: flex; flex-direction: column; gap: 4px; max-width: 75%; padding: 10px 13px; }
.message-bubble span { font-size: .8rem; line-height: 1.5; }
.message-bubble small { color: var(--muted); font-size: .62rem; }
.message-bubble-mine { align-self: flex-end; background: var(--brand); border-color: var(--brand); border-radius: 15px 15px 5px 15px; }
.message-bubble-mine span, .message-bubble-mine small { color: white; }
.message-compose { align-items: flex-end; display: flex; gap: 10px; }
.message-compose textarea { background: white; border: 1px solid #c7dbd5; border-radius: 13px; color: var(--ink); flex: 1; outline: 0; padding: 11px 12px; resize: vertical; }
.message-compose textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,127,112,.12); }

@media (max-width: 980px) {
    .provider-booking-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .rating-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 700px) {
    .provider-booking-grid { grid-template-columns: 1fr; }
    .board-header { flex-direction: column; }
    .board-header > .button { width: 100%; }
    .care-timeline { grid-template-columns: 1fr; }
    .care-timeline-item { min-height: 55px; }
    .rating-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 500px) {
    .provider-care-board { padding: 22px 18px; }
    .provider-booking-actions, .message-compose { align-items: stretch; flex-direction: column; }
    .provider-booking-actions .button, .message-compose .button { width: 100%; }
    .message-bubble { max-width: 90%; }
    .rating-grid { grid-template-columns: 1fr; }
}

/* Simbik brand finishing */
.hero-art { background: linear-gradient(145deg, #e8f1ff, #f3fcfb); }
.hero-sun { background: linear-gradient(145deg, #236fe0, #0bb3a5); box-shadow: 0 25px 55px rgba(23, 105, 210, .30); }
.hero-orbit { border-color: rgba(23, 105, 210, .24); }
.brand-logo { height: 50px; object-fit: cover; object-position: center; width: 148px; }
.site-footer { color: #68798e; }

@media (max-width: 800px) {
    .brand-logo { height: 45px; width: 130px; }
}

/* Auth experience polish */
.auth-layout {
    align-items: stretch;
    gap: 26px;
    grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
    max-width: 1180px;
}
.auth-layout .auth-aside {
    background:
        radial-gradient(circle at 88% 12%, rgba(255,255,255,.17), transparent 27%),
        radial-gradient(circle at 6% 84%, rgba(11,179,165,.34), transparent 32%),
        linear-gradient(155deg, #102c61 0%, #1769d2 66%, #0b8f9c 100%);
    border: 0;
    box-shadow: 0 24px 55px rgba(16, 44, 97, .22);
    justify-content: flex-start;
    min-height: 610px;
    overflow: hidden;
    padding: 30px;
    position: relative;
}
.auth-aside::before,
.auth-aside::after {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    position: absolute;
}
.auth-aside::before { height: 380px; right: -190px; top: 140px; width: 380px; }
.auth-aside::after { bottom: -125px; height: 270px; left: -125px; width: 270px; }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside-brand {
    align-items: center;
    background: white;
    border-radius: 17px;
    box-shadow: 0 12px 25px rgba(10, 38, 86, .18);
    display: inline-flex;
    max-width: 210px;
    padding: 8px 14px;
}
.auth-aside-brand { height: 62px; max-width: 224px; overflow: hidden; padding: 0; width: 224px; }
.auth-aside-brand img { display: block; height: 100%; object-fit: cover; object-position: center; width: 100%; }
.auth-aside-content { margin-top: auto; max-width: 360px; }
.auth-aside-eyebrow {
    color: #a8f0e7;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .15em;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.auth-aside h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); letter-spacing: -.055em; line-height: 1.06; margin-bottom: 17px; }
.auth-aside p:not(.auth-aside-eyebrow) { color: rgba(255,255,255,.78); font-size: .88rem; line-height: 1.7; margin-bottom: 0; }
.auth-aside-signal {
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.78);
    display: flex;
    font-size: .7rem;
    gap: 8px;
    margin-top: 28px;
    padding-top: 17px;
}
.auth-signal-dot, .auth-badge-dot { background: #55ded0; border-radius: 50%; display: inline-block; height: 8px; width: 8px; }
.auth-panel {
    border-color: rgba(199, 219, 240, .9);
    border-radius: 28px;
    padding: clamp(30px, 4vw, 52px);
}
.auth-layout .auth-panel-wide { max-width: none; }
.auth-form-badge {
    align-items: center;
    background: var(--brand-soft);
    border: 1px solid #d3e4fa;
    border-radius: 999px;
    color: var(--brand-dark);
    display: inline-flex;
    font-size: .68rem;
    font-weight: 800;
    gap: 8px;
    margin-bottom: 27px;
    padding: 8px 11px;
}
.auth-panel .eyebrow { margin-bottom: 12px; }
.auth-panel h1 { font-size: clamp(2.35rem, 4.2vw, 4rem); line-height: .98; margin-bottom: 17px; }
.auth-lede { font-size: .92rem; line-height: 1.7; margin-bottom: 32px; max-width: 530px; }
.auth-panel .notice { border: 1px solid transparent; }
.auth-panel .notice-error { border-color: #f2c9c4; }
.auth-panel .notice-success { border-color: #b9e7d0; }
.form-row { gap: 15px; }
.form-field { margin-bottom: 19px; }
.form-field label, .account-choice legend { color: var(--ink); font-size: .74rem; letter-spacing: .01em; }
.form-field input {
    background: #fbfdff;
    border-color: #cbdbea;
    border-radius: 13px;
    min-height: 52px;
    padding: 12px 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-field input:hover { border-color: #a9c5e6; }
.form-field input:focus { background: white; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(23,105,210,.13); }
.auth-panel .button-block { margin-top: 5px; min-height: 53px; }
.auth-security-note {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: .69rem;
    gap: 7px;
    justify-content: center;
    margin: 17px 0 0;
}
.auth-security-note span { color: var(--brand); font-size: 1rem; font-weight: 800; }
.auth-switch { margin-top: 25px; }
.account-choice { gap: 11px; margin-bottom: 22px; }
.choice-card {
    background: #fbfdff;
    border-color: #cbdbea;
    padding: 14px;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.choice-card:hover { border-color: #a9c5e6; }
.choice-card:has(input:checked) { background: var(--brand-soft); border-color: #75a9e3; box-shadow: 0 0 0 3px rgba(23,105,210,.09); color: var(--brand-dark); }

@media (max-width: 800px) {
    .auth-layout { gap: 18px; grid-template-columns: 1fr; }
    .auth-layout .auth-panel { order: 1; }
    .auth-layout .auth-aside { min-height: 360px; order: 2; }
    .auth-aside-content { max-width: 500px; }
}

@media (max-width: 500px) {
    .auth-panel { border-radius: 22px; padding: 27px 21px; }
    .auth-panel h1 { font-size: 2.5rem; }
    .auth-aside { border-radius: 22px; padding: 24px; }
    .auth-aside-brand img { width: 100%; }
    .auth-aside-brand { max-width: 194px; width: 194px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .account-choice > div { flex-direction: column; }
}

/* Registration is a compact desktop workspace; mobile keeps natural scrolling. */
@media (min-width: 801px) {
    .site-main:has(.auth-layout-register) {
        padding-bottom: 20px;
        padding-top: 18px;
    }

    .site-main:has(.auth-layout-register) + .site-footer { display: none; }

    .auth-layout-register {
        gap: 18px;
        margin-bottom: 0;
        margin-top: 0;
        max-width: 1360px;
        min-height: calc(100vh - 126px);
        width: min(100%, 1360px);
    }

    .auth-layout-register .auth-aside {
        min-height: 0;
        padding: 28px;
    }

    .auth-layout-register .auth-panel {
        padding: 30px 38px;
    }

    .auth-layout-register .auth-form-badge {
        margin-bottom: 16px;
    }

    .auth-layout-register .auth-panel .eyebrow {
        margin-bottom: 8px;
    }

    .auth-layout-register .auth-panel h1 {
        font-size: clamp(2.7rem, 3.6vw, 3.45rem);
        margin-bottom: 10px;
    }

    .auth-layout-register .auth-lede {
        line-height: 1.5;
        margin-bottom: 19px;
    }

    .auth-layout-register .form-row { gap: 14px; }
    .auth-layout-register .form-field { margin-bottom: 11px; }
    .auth-layout-register .form-field label { margin-bottom: 5px; }
    .auth-layout-register .form-field input { min-height: 45px; padding: 9px 12px; }
    .auth-layout-register .registration-final-row { align-items: start; }
    .auth-layout-register .registration-final-row .account-choice { margin: 0 0 11px; }
    .auth-layout-register .choice-card { padding: 10px 11px; }
    .auth-layout-register .auth-panel .button-block { min-height: 47px; }
    .auth-layout-register .auth-security-note { margin-top: 11px; }
    .auth-layout-register .auth-switch { margin-top: 14px; }
}

/* Care-circle controls use a quiet, operational treatment so permission scope stays visible. */
.care-circle-card { background: linear-gradient(145deg, #ffffff 0%, #f4fbfb 100%); }
.circle-member-list { border-top: 1px solid #dce9ee; margin-top: 20px; }
.circle-member-row { align-items: center; border-bottom: 1px solid #e4eef1; display: flex; gap: 12px; padding: 13px 0; }
.circle-member-row > div { display: grid; flex: 1; gap: 3px; }
.circle-member-row small { color: var(--muted); font-size: .72rem; }
.circle-member-avatar { align-items: center; background: #d7f5f1; border-radius: 50%; color: #087d76; display: inline-flex; font-size: .72rem; font-weight: 800; height: 34px; justify-content: center; width: 34px; }
.circle-member-form { align-items: end; border-top: 1px solid #dce9ee; display: grid; gap: 14px; grid-template-columns: 1.4fr 1fr 1fr; margin-top: 18px; padding-top: 22px; }
.circle-member-form .check-row { align-self: center; margin-bottom: 19px; }
.circle-member-form button { margin-bottom: 19px; }
@media (max-width: 700px) {
    .circle-member-form { grid-template-columns: 1fr; }
    .circle-member-form .check-row, .circle-member-form button { margin-bottom: 0; }
    .circle-member-row { align-items: flex-start; flex-wrap: wrap; }
    .circle-member-row .status-badge { margin-left: 46px; }
}

.operations-center { background: #102c61; border-radius: 24px; color: #fff; margin: 26px 0; padding: 26px; }
.operations-center h2, .operations-center h3 { color: #fff; }
.operations-center .eyebrow, .operations-center .muted { color: #b5c8e9; }
.operations-center .section-heading { align-items: center; }
.operations-grid { display: grid; gap: 10px; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 22px; }
.operations-grid article { align-items: center; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; display: flex; gap: 10px; padding: 13px; }
.operations-grid article strong, .operations-grid article small { color: #fff; display: block; }
.operations-grid article small { color: #b5c8e9; font-size: .68rem; margin-top: 2px; }
.operations-icon { align-items: center; background: rgba(11,179,165,.18); border-radius: 10px; color: #6de0d3; display: inline-flex; font-weight: 800; height: 31px; justify-content: center; width: 31px; }
.operations-columns { display: grid; gap: 14px; grid-template-columns: 1.2fr 1fr; margin-top: 16px; }
.operations-columns .portal-card { background: #fff; color: var(--ink); }
.operation-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; padding: 12px 0; }
.operation-row > div { display: grid; gap: 3px; }
.operation-row small { color: var(--muted); font-size: .71rem; }
.compliance-panel { margin: 22px 0; }
.compliance-summary { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); margin: 18px 0; }
.compliance-summary div { background: #f4f9fb; border-radius: 12px; display: grid; gap: 2px; padding: 13px; }
.compliance-summary strong { font-size: 1.25rem; }
.compliance-summary span, .compliance-list small { color: var(--muted); font-size: .72rem; }
.compliance-list { border-top: 1px solid var(--line); margin-bottom: 17px; }
.compliance-list div { border-bottom: 1px solid var(--line); display: grid; gap: 2px; padding: 11px 0; }
@media (max-width: 900px) {
    .operations-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .operations-columns { grid-template-columns: 1fr; }
}
@media (max-width: 550px) {
    .operations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .operations-center { border-radius: 18px; padding: 18px; }
    .compliance-summary { grid-template-columns: 1fr; }
}

.support-form { background: #f7fbfc; border: 1px solid #dcebed; border-radius: 17px; margin-top: 18px; padding: 18px; }
.support-form-intro { align-items: end; display: flex; gap: 20px; justify-content: space-between; }
.support-form-intro h3 { font-size: 1rem; margin-bottom: 6px; }
.support-form-intro .form-help { max-width: 720px; }
.request-type-field { flex: 0 0 min(270px, 100%); margin-bottom: 0; }
.support-form-fields { margin-top: 16px; }
.support-form-fields .form-field { margin-bottom: 12px; }
.support-form-fields textarea { min-height: 104px; resize: vertical; }
.support-form-fields .form-row { align-items: end; }
.support-form-fields .check-row { margin-bottom: 19px; }
.support-form-actions { border-top: 1px solid #dcebed; display: flex; justify-content: flex-end; margin-top: 6px; padding-top: 16px; }
.support-history, .recurring-list, .shift-list { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 17px; }
.support-history-row, .recurring-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 11px; padding: 12px 0; }
.support-history-row > div, .recurring-row > div, .agency-row > div { display: grid; flex: 1; gap: 3px; min-width: 0; }
.support-history-row small, .recurring-row small, .agency-row small { color: var(--muted); font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-type { background: #e7f0fd; border-radius: 7px; color: #1f5da3; font-size: .63rem; font-weight: 800; padding: 6px 7px; text-transform: uppercase; }
.case-type-incident { background: #fff0d7; color: #8c5700; }
.case-type-replacement { background: #def3e7; color: #176940; }
.recurring-panel, .agency-panel, .safety-support-panel { margin: 22px 0; }
.recurring-panel .form-help { max-width: 720px; }
.recurring-row { gap: 12px; }
.agency-list { display: grid; gap: 8px; margin-top: 17px; }
.agency-row { align-items: center; border: 1px solid var(--line); border-radius: 13px; display: flex; gap: 12px; padding: 12px; }
.agency-row .button { flex: 0 0 auto; }
.agency-shift-form { background: #f7fbfc; border: 1px solid #dcebed; border-radius: 17px; margin-top: 18px; padding: 17px; }
.agency-shift-form .eyebrow { margin-bottom: 13px; }
.shift-list .agency-row { border-radius: 11px; }
.compliance-admin-panel { margin: 22px 0; }
.admin-control-columns { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.admin-control-columns article { background: #f7fbfc; border: 1px solid #dcebed; border-radius: 16px; padding: 15px; }
.admin-control-columns h3 { font-size: .95rem; }
.admin-feed-row { align-items: center; border-bottom: 1px solid #e0ecee; display: flex; gap: 10px; justify-content: space-between; padding: 11px 0; }
.admin-feed-row:last-child { border-bottom: 0; }
.admin-feed-row > div:first-child { display: grid; flex: 1; gap: 3px; min-width: 0; }
.admin-feed-row small { color: var(--muted); font-size: .65rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-actions { display: flex; flex: 0 0 auto; gap: 5px; }
.feed-actions .button { min-height: 30px; padding: 5px 7px; }
.privacy-controls-panel { margin: 22px 0; }
.privacy-choice-list { border-top: 1px solid var(--line); margin-top: 17px; }
.privacy-choice-row, .privacy-export-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 14px; justify-content: space-between; padding: 13px 0; }
.privacy-choice-row > div, .privacy-export-row > div { display: grid; flex: 1; gap: 3px; }
.privacy-choice-row small, .privacy-export-row small { color: var(--muted); font-size: .7rem; }
.privacy-export-row { border: 1px solid #dcebed; border-radius: 13px; margin-top: 16px; padding: 13px; }
@media (max-width: 700px) {
    .support-form-intro { align-items: stretch; flex-direction: column; gap: 12px; }
    .request-type-field { flex-basis: auto; }
    .support-form-fields .form-row { grid-template-columns: 1fr; }
    .support-form-fields .check-row { margin-bottom: 12px; }
    .support-form-actions { justify-content: stretch; }
    .support-form-actions .button { width: 100%; }
    .support-history-row, .recurring-row, .agency-row { align-items: flex-start; flex-wrap: wrap; }
    .support-history-row .status-badge, .recurring-row .status-badge, .agency-row .status-badge { margin-left: 0; }
    .admin-control-columns { grid-template-columns: 1fr; }
    .privacy-choice-row, .privacy-export-row { align-items: flex-start; }
}
/* landing migration marker */
/* The public landing surface is migrated from the supplied Simbik reference design. */
.landing-screen {
  --navy: #102f61;
  --navy-strong: #0a234c;
  --ink: #14233d;
  --blue: #2c6fe8;
  --teal: #13b7ad;
  --green: #1fa77c;
  --landing-line: #e5eaf2;
  --landing-muted: #71809a;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.landing-screen .eyebrow { margin: 0; color: #8794a9; font-size: 10px; font-weight: 800; letter-spacing: .15em; line-height: 1.25; text-transform: uppercase; }
.landing-screen .gradient-eyebrow { color: #547cba; }
.landing-screen .primary-button,
.landing-screen .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 0 17px; border: 0; border-radius: 10px; font-size: 12px; font-weight: 750; transition: .18s ease; }
.landing-screen .primary-button { color: #fff; background: linear-gradient(135deg, #2b6fe7, #225fd0); box-shadow: 0 8px 19px rgba(37,103,222,.18); }
.landing-screen .primary-button:hover { background: linear-gradient(135deg, #2465dc, #1c54bd); box-shadow: 0 11px 22px rgba(37,103,222,.25); transform: translateY(-1px); }
.landing-screen .primary-button svg, .landing-screen .secondary-button svg { width: 16px; height: 16px; }
.landing-screen .secondary-button { color: var(--navy); border: 1px solid #dae3f0; background: #fff; }
.landing-screen .secondary-button:hover { border-color: #adc4e7; background: #f8fbff; }
.landing-screen .avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: -.03em; box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.landing-screen .avatar-jennifer { background: linear-gradient(135deg, #263f76, #7c9ed0); }
.landing-screen .avatar-sarah { background: linear-gradient(135deg, #ef9a82, #bb5e62); }
.landing-screen .avatar-maya { background: linear-gradient(135deg, #5fa4a4, #236b80); }
.landing-screen .avatar-evelyn { background: linear-gradient(135deg, #e4aa83, #a86361); }
.landing-screen .avatar-james { background: linear-gradient(135deg, #7e83c1, #454a85); }
.landing-screen .live-pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; color: #25ba8d; background: currentColor; box-shadow: 0 0 0 4px rgba(37,186,141,.12); }
.landing-screen .hero-search-location input { width: 106px; min-width: 0; padding: 0; border: 0; outline: 0; color: #7489a4; background: transparent; font-size: 9px; font-weight: 800; }
.landing-screen .landing-search-message { margin-top: 22px; padding: 18px; border: 1px solid #e0e8f0; border-radius: 12px; color: #8293a5; background: #fbfdff; font-size: 11px; }
.landing-screen h1:focus { outline: none; }

.landing-screen { min-height: 100vh; overflow: hidden; color: var(--ink); background: #fbfdff; }
.landing-screen a { color: inherit; text-decoration: none; }
.landing-nav { display: flex; align-items: center; justify-content: space-between; width: min(1240px, calc(100% - 72px)); min-height: 82px; margin: 0 auto; }
.landing-brand { display: grid; place-items: center; width: 158px; height: 55px; overflow: hidden; border-radius: 11px; background: #fff; }
.landing-logo { display: block; width: 151px; height: 53px; object-fit: cover; object-position: center; }
.landing-links { display: flex; align-items: center; gap: 31px; margin-left: auto; margin-right: 36px; color: #75859c; font-size: 11px; font-weight: 700; }
.landing-links a { transition: color .18s ease; }
.landing-links a:hover { color: var(--navy); }
.landing-nav-actions { display: flex; align-items: center; gap: 17px; }
.landing-login-link { padding: 8px 0; color: #56708f; background: transparent; font-size: 11px; font-weight: 800; }
.landing-login-link:hover { color: var(--navy); }
.landing-nav-cta { min-height: 37px; padding: 0 14px; font-size: 10px; }
.landing-hero { display: grid; grid-template-columns: minmax(0, .93fr) minmax(470px, 1.07fr); align-items: center; gap: 28px; width: min(1240px, calc(100% - 72px)); min-height: 575px; margin: 0 auto; padding: 35px 0 73px; }
.landing-hero-copy { position: relative; z-index: 1; padding-left: clamp(8px, 3vw, 50px); }
.landing-hero h1 { max-width: 580px; margin: 13px 0 20px; color: var(--navy-strong); font-size: clamp(48px, 6vw, 76px); font-weight: 760; letter-spacing: -.075em; line-height: .98; }
.landing-hero h1 span, .landing-section-heading h2 span, .landing-final-cta h2 span { color: #2d78db; }
.landing-lead { max-width: 475px; margin: 0; color: #75869d; font-size: 16px; line-height: 1.65; }
.landing-actions { display: flex; align-items: center; gap: 24px; margin-top: 31px; }
.landing-primary-cta { min-height: 48px; padding: 0 19px; font-size: 11px; }
.landing-secondary-cta { display: inline-flex; align-items: center; gap: 7px; color: #547397 !important; font-size: 11px; font-weight: 800; }
.landing-secondary-cta span { color: #3e83d7; font-size: 15px; }
.hero-search-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; max-width: 515px; margin-top: 28px; padding: 10px 11px 10px 13px; border: 1px solid #d9e5ef; border-radius: 12px; background: #fff; box-shadow: 0 10px 25px rgba(36,83,133,.08); }
.hero-search-bar label { display: grid; gap: 6px; min-width: 0; }
.hero-search-label { color: #8291a4; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.hero-search-input { display: flex; align-items: center; gap: 7px; min-width: 0; }
.hero-search-input > b { color: #4e8ed1; font-size: 17px; font-weight: 500; }
.hero-search-input input { min-width: 0; flex: 1; padding: 0; border: 0; outline: 0; color: #536c88; background: transparent; font-size: 11px; }
.hero-search-input input::placeholder { color: #aab6c3; }
.hero-search-input button { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; color: #fff; background: #2f73d4; font-size: 17px; line-height: 1; }
.hero-search-input button:hover { background: #245fb7; }
.hero-search-location { display: inline-flex; align-items: center; gap: 5px; min-height: 31px; padding: 0 4px; color: #7489a4; font-size: 9px; font-weight: 800; white-space: nowrap; }
.hero-search-location b { color: #55aa96; font-size: 15px; font-weight: 500; }
.hero-search-note { display: flex; align-items: center; gap: 5px; margin: 10px 0 0 3px; color: #98a7b6; font-size: 9px; }
.hero-search-note span { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; color: #2d9d80; background: #e8f8f1; font-size: 8px; }
.landing-trust-row { display: flex; flex-wrap: wrap; gap: 15px 21px; margin-top: 28px; color: #8999ac; font-size: 9px; font-weight: 700; }
.landing-trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.landing-trust-row i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #279c83; background: #e7f8f2; font-size: 9px; font-style: normal; }
.landing-preview { position: relative; display: grid; place-items: center; min-height: 490px; }
.preview-orbit { position: absolute; border: 1px solid #dfeaf4; border-radius: 50%; transform: rotate(-15deg); }
.preview-orbit-one { width: 500px; height: 355px; background: linear-gradient(135deg, rgba(231,244,255,.72), rgba(242,252,250,.75)); box-shadow: 0 28px 65px rgba(46,91,140,.09); }
.preview-orbit-two { width: 575px; height: 270px; border-color: rgba(74,177,166,.17); transform: rotate(20deg); }
.preview-window { position: relative; z-index: 1; width: min(100%, 475px); min-height: 390px; padding: 16px 17px; border: 1px solid #e3eaf3; border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: 0 31px 64px rgba(46,77,119,.14), 0 5px 17px rgba(46,77,119,.06); transform: rotate(-2deg); }
.preview-window-top, .preview-greeting, .preview-live-head, .preview-live-body, .preview-footer-row { display: flex; align-items: center; }
.preview-window-top { justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid #edf2f7; }
.preview-dots { display: flex; gap: 4px; }
.preview-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d7e3ef; }
.preview-dots i:first-child { background: #61b9a0; }
.preview-secure { color: #a0adbd; font-size: 8px; font-weight: 700; }
.preview-secure b { margin-left: 4px; color: #50ba9a; font-size: 8px; }
.preview-greeting { gap: 9px; padding: 20px 5px 17px; }
.preview-greeting > div { display: grid; gap: 5px; }
.preview-greeting small { color: #9ba8b8; font-size: 8px; }
.preview-greeting strong { color: #4b6381; font-size: 13px; }
.preview-greeting .avatar { width: 30px; height: 30px; font-size: 8px; }
.preview-bell { margin-left: auto; color: #7191b6; font-size: 19px; transform: rotate(45deg); }
.preview-live-card { padding: 15px; border: 1px solid #dcefe9; border-radius: 12px; background: linear-gradient(135deg, #f5fffc, #fbfffe); }
.preview-live-head { justify-content: space-between; color: #548375; font-size: 9px; font-weight: 800; }
.preview-live-head > span { display: inline-flex; align-items: center; gap: 6px; }
.preview-live-head em { padding: 5px 7px; border-radius: 5px; color: #2a9a79; background: #e6f8f0; font-size: 7px; font-style: normal; }
.preview-live-body { gap: 9px; margin-top: 18px; }
.preview-live-body > div { display: grid; gap: 4px; min-width: 0; }
.preview-live-body .avatar { width: 29px; height: 29px; font-size: 8px; }
.preview-live-body strong { color: #52708e; font-size: 10px; }
.preview-live-body small { color: #92a5a8; font-size: 8px; }
.preview-live-body > b { margin-left: auto; color: #3479d2; font-size: 17px; line-height: .9; text-align: right; }
.preview-live-body > b small { color: #7d9ac0; font-size: 7px; font-weight: 700; }
.preview-progress { height: 5px; margin-top: 17px; overflow: hidden; border-radius: 99px; background: #e3f1ec; }
.preview-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4fb99b, #80d6c1); }
.preview-live-foot { display: block; margin-top: 7px; color: #8eaaa2; font-size: 7px; }
.preview-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 11px; }
.preview-mini-grid > div { display: grid; gap: 5px; padding: 12px; border: 1px solid #e8eef4; border-radius: 9px; }
.preview-mini-grid small, .preview-mini-grid span { color: #98a6b6; font-size: 7px; }
.preview-mini-grid strong { color: #57708e; font-size: 17px; }
.preview-mini-grid em { color: #9caaba; font-size: 8px; font-style: normal; font-weight: 650; }
.preview-footer-row { gap: 9px; margin-top: 12px; padding: 11px 4px 2px; border-top: 1px solid #edf2f6; color: #9aa7b7; font-size: 8px; }
.preview-footer-row strong { overflow: hidden; color: #617792; text-overflow: ellipsis; white-space: nowrap; }
.preview-check { display: grid; place-items: center; width: 16px; height: 16px; margin-left: auto; border-radius: 50%; color: #fff; background: #48b394; font-size: 9px; font-weight: 800; }
.preview-floating-card { position: absolute; right: 0; bottom: 30px; z-index: 2; display: flex; align-items: center; gap: 9px; min-width: 175px; padding: 12px 13px; border: 1px solid #e3eaf2; border-radius: 11px; background: rgba(255,255,255,.96); box-shadow: 0 14px 30px rgba(45,79,120,.14); transform: rotate(3deg); }
.large-check { width: 28px; height: 28px; font-size: 13px; }
.preview-floating-card div { display: grid; gap: 4px; }
.preview-floating-card strong { color: #55708d; font-size: 9px; }
.preview-floating-card small { color: #99a6b6; font-size: 7px; }
.landing-trust-band { display: flex; align-items: center; justify-content: center; gap: 27px; min-height: 70px; padding: 0 24px; color: #8391a3; background: #f1f7fb; font-size: 9px; font-weight: 750; text-align: center; }
.landing-trust-band i { width: 4px; height: 4px; border-radius: 50%; background: #65bdaa; }
.landing-section { width: min(1120px, calc(100% - 72px)); margin: 0 auto; padding: 100px 0 90px; }
.landing-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.landing-section-heading h2, .landing-final-cta h2 { max-width: 620px; margin: 13px 0 0; color: var(--navy-strong); font-size: clamp(31px, 4vw, 48px); letter-spacing: -.065em; line-height: 1.05; }
.landing-section-heading > p { max-width: 285px; margin: 0 0 3px; color: #8997aa; font-size: 11px; line-height: 1.65; }
.landing-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 45px; }
.landing-step { position: relative; min-height: 225px; padding: 22px 23px; border: 1px solid #e3eaf2; border-radius: 15px; background: #fff; box-shadow: 0 9px 25px rgba(40,77,119,.035); }
.step-number { position: absolute; top: 22px; right: 23px; color: #b4c1cf; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.landing-step-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-size: 21px; }
.landing-step h3 { margin: 22px 0 8px; color: #526884; font-size: 14px; }
.landing-step p { max-width: 235px; min-height: 43px; margin: 0; color: #94a0b0; font-size: 10px; line-height: 1.55; }
.landing-step a { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #3977cb; font-size: 9px; font-weight: 800; }
.landing-step a b { font-size: 14px; }
.landing-audience-section { display: grid; gap: 17px; width: min(1240px, calc(100% - 72px)); margin: 0 auto; padding-bottom: 93px; }
.audience-card { display: grid; grid-template-columns: minmax(0, .92fr) minmax(370px, 1.08fr); align-items: center; min-height: 365px; overflow: hidden; border-radius: 20px; }
.audience-family { padding-left: clamp(28px, 6vw, 82px); background: #edf6ff; }
.audience-provider { grid-template-columns: minmax(370px, 1.08fr) minmax(0, .92fr); padding-right: clamp(28px, 6vw, 82px); background: #effaf7; }
.audience-copy { max-width: 390px; padding: 45px 30px 45px 0; }
.audience-provider .audience-copy { padding-right: 0; padding-left: 30px; }
.audience-copy h2 { margin: 13px 0 13px; color: var(--navy-strong); font-size: clamp(27px, 3vw, 42px); letter-spacing: -.065em; line-height: 1.03; }
.audience-copy > p:not(.eyebrow) { margin: 0; color: #8293a5; font-size: 11px; line-height: 1.65; }
.audience-copy .secondary-button { min-height: 39px; margin-top: 26px; padding: 0 13px; font-size: 10px; }
.family-art, .provider-art { position: relative; min-height: 365px; overflow: hidden; }
.family-art { background: radial-gradient(circle at 44% 50%, #d9ecff 0, #d9ecff 25%, transparent 25.5%), linear-gradient(145deg, #dceeff, #c8e4ff); }
.art-ring { position: absolute; top: 53px; left: 17%; width: 265px; height: 265px; border: 1px solid rgba(69,130,205,.2); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.2), 0 0 0 76px rgba(255,255,255,.14); }
.art-heart { position: absolute; top: 109px; left: 36%; color: #3b8cda; font-size: 127px; font-weight: 200; line-height: 1; transform: rotate(-10deg); }
.art-note { position: absolute; top: 75px; right: 12%; display: flex; align-items: center; gap: 9px; min-width: 188px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.72); border-radius: 10px; background: rgba(255,255,255,.84); box-shadow: 0 13px 25px rgba(54,113,174,.13); transform: rotate(3deg); }
.art-note-two { top: auto; right: 22%; bottom: 52px; transform: rotate(-3deg); }
.art-note .avatar { width: 27px; height: 27px; font-size: 7px; }
.art-note > span:nth-child(2) { display: grid; gap: 4px; }
.art-note strong { color: #577490; font-size: 9px; }
.art-note small { color: #91a3b4; font-size: 7px; }
.art-note > b { margin-left: auto; color: #36aa8c; font-size: 13px; }
.provider-art { background: radial-gradient(circle at 45% 48%, rgba(255,255,255,.86) 0, rgba(255,255,255,.86) 19%, transparent 19.5%), linear-gradient(145deg, #d6f2ea, #c0e6da); }
.provider-spark { position: absolute; top: 56px; left: 20%; color: #42ae94; font-size: 36px; }
.provider-stat-float { position: absolute; top: 70px; right: 19%; display: grid; gap: 3px; padding: 16px 20px; border-radius: 12px; background: rgba(255,255,255,.8); box-shadow: 0 13px 25px rgba(41,125,101,.13); transform: rotate(4deg); }
.provider-stat-float strong { color: #329579; font-size: 28px; letter-spacing: -.08em; }
.provider-stat-float small { color: #86a99e; font-size: 8px; }
.provider-route { position: absolute; right: 14%; bottom: 66px; left: 18%; display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid rgba(255,255,255,.7); border-radius: 13px; background: rgba(255,255,255,.78); box-shadow: 0 13px 25px rgba(41,125,101,.11); }
.route-line { position: absolute; top: -77px; left: 25px; width: 1px; height: 77px; border-left: 1px dashed rgba(59,157,130,.5); }
.route-dot { width: 15px; height: 15px; border: 4px solid #e0f7ef; border-radius: 50%; background: #43ad91; box-shadow: 0 0 0 1px #43ad91; }
.provider-route > span:nth-child(3) { display: grid; gap: 5px; }
.provider-route strong { color: #4d8474; font-size: 10px; }
.provider-route small { color: #8da79f; font-size: 8px; }
.landing-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: min(1120px, calc(100% - 72px)); min-height: 270px; margin: 0 auto 80px; padding: 38px 57px; border-radius: 20px; background: linear-gradient(120deg, #0f3266, #174d7b 58%, #0f8f88); box-shadow: 0 21px 42px rgba(20,69,111,.15); }
.landing-final-cta .eyebrow { color: #7fd3c1; }
.landing-final-cta h2 { color: #fff; }
.landing-final-cta h2 span { color: #80e2ce; }
.landing-final-cta .primary-button { background: #fff; color: #205fb7; box-shadow: 0 10px 22px rgba(0,0,0,.12); }
.landing-final-cta .primary-button:hover { background: #f2fbff; }
.landing-footer { display: flex; align-items: center; gap: 18px; width: min(1240px, calc(100% - 72px)); min-height: 80px; margin: 0 auto; border-top: 1px solid #e6edf3; color: #94a1b0; font-size: 9px; }
.footer-brand { flex: 0 0 auto; width: 113px; height: 40px; }
.footer-brand .landing-logo { width: 108px; height: 38px; }
.footer-legal { margin-left: auto; }
.back-to-landing { align-self: flex-start; margin-bottom: 24px; padding: 0; color: #5a7ba3; background: transparent; font-size: 10px; font-weight: 800; }
.back-to-landing:hover { color: #286ccd; }

@media (max-width: 1000px) {
  .landing-hero { grid-template-columns: 1fr; padding-top: 55px; }
  .landing-hero-copy { max-width: 680px; margin: 0 auto; padding-left: 0; text-align: center; }
  .landing-hero h1, .landing-lead { margin-right: auto; margin-left: auto; }
  .landing-actions, .landing-trust-row { justify-content: center; }
  .landing-preview { width: min(100%, 600px); margin: 0 auto; }
  .landing-section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .landing-section-heading > p { max-width: 470px; }
  .audience-card, .audience-provider { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .landing-nav, .landing-hero, .landing-section, .landing-audience-section, .landing-final-cta, .landing-footer { width: calc(100% - 36px); }
  .landing-nav { min-height: 70px; }
  .landing-links { display: none; }
  .landing-nav-actions { gap: 11px; }
  .landing-nav-cta { min-height: 33px; padding: 0 10px; }
  .landing-hero { min-height: auto; padding: 54px 0 64px; }
  .landing-hero h1 { font-size: clamp(44px, 13vw, 63px); }
  .landing-lead { font-size: 14px; }
  .landing-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .landing-primary-cta { width: 100%; }
  .hero-search-bar { grid-template-columns: 1fr; max-width: 100%; margin-top: 23px; padding: 11px; }
  .hero-search-location { padding-left: 2px; }
  .hero-search-input button { width: 35px; height: 35px; }
  .landing-trust-row { gap: 11px; margin-top: 24px; font-size: 8px; }
  .landing-preview { min-height: 375px; transform: scale(.87); }
  .preview-orbit-one { width: 400px; height: 295px; }
  .preview-orbit-two { width: 450px; height: 230px; }
  .preview-window { width: min(100%, 450px); }
  .landing-trust-band { align-items: flex-start; flex-direction: column; gap: 7px; padding: 18px 24px; text-align: left; }
  .landing-trust-band i { display: none; }
  .landing-section { padding: 70px 0 65px; }
  .landing-step-grid { grid-template-columns: 1fr; gap: 11px; margin-top: 29px; }
  .landing-step { min-height: 185px; }
  .landing-step p { min-height: auto; }
  .landing-audience-section { padding-bottom: 65px; }
  .audience-card, .audience-provider { display: flex; align-items: stretch; flex-direction: column; padding: 0; }
  .audience-copy, .audience-provider .audience-copy { order: 1; max-width: none; padding: 34px 26px 38px; }
  .family-art, .provider-art { order: 0; min-height: 270px; }
  .art-ring { top: 27px; left: 20%; width: 210px; height: 210px; }
  .art-heart { top: 70px; left: 36%; font-size: 100px; }
  .art-note { top: 35px; right: 8%; }
  .art-note-two { right: 14%; bottom: 29px; }
  .provider-stat-float { top: 44px; right: 11%; }
  .provider-route { right: 8%; bottom: 37px; left: 12%; }
  .landing-final-cta { align-items: flex-start; flex-direction: column; min-height: 325px; margin-bottom: 55px; padding: 32px 27px; }
  .landing-final-cta .landing-primary-cta { width: 100%; }
  .landing-footer { align-items: flex-start; flex-wrap: wrap; padding: 18px 0 26px; }
  .footer-legal { width: 100%; margin-left: 0; }
}

@media (max-width: 520px) {
  .landing-brand { width: 129px; height: 46px; }
  .landing-logo { width: 125px; height: 44px; }
  .landing-login-link { font-size: 10px; }
  .landing-nav-cta { font-size: 9px; }
  .landing-hero-copy { text-align: left; }
  .landing-hero h1, .landing-lead { margin-left: 0; }
  .landing-actions, .landing-trust-row { justify-content: flex-start; }
  .landing-preview { min-height: 325px; margin: -4px -31px -22px; transform: scale(.71); }
  .landing-section-heading h2, .landing-final-cta h2 { font-size: 32px; }
  .landing-copy h2 { font-size: 30px; }
  .landing-footer { gap: 10px; font-size: 8px; }
}

/* Public provider directory profiles */
.directory-profile-page { width: min(1120px, calc(100% - 56px)); margin: 0 auto; padding: 42px 0 72px; }
.directory-profile-hero { padding: 26px; border: 1px solid #dfe8f2; border-radius: 24px; background: linear-gradient(135deg, #f5f9ff, #f3fbf8); box-shadow: 0 18px 50px rgba(54, 92, 137, .08); }
.profile-back-link { display: inline-flex; margin-bottom: 22px; color: #557291; font-size: 12px; font-weight: 750; text-decoration: none; }
.directory-profile-identity { display: flex; align-items: flex-start; gap: 19px; }
.directory-profile-avatar { display: grid; place-items: center; flex: 0 0 92px; width: 92px; height: 92px; border: 7px solid #fff; border-radius: 28px; color: #fff; background: linear-gradient(145deg, #4b86e7, #6bb8a1); box-shadow: 0 10px 22px rgba(38, 98, 184, .2); font-size: 26px; font-weight: 850; }
.directory-profile-avatar-image { object-fit: cover; }
.directory-profile-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.directory-profile-title-row h1 { margin: 0; color: #15304d; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.045em; }
.directory-profile-subtitle { margin: 7px 0 13px; color: #58708b; font-size: 15px; font-weight: 650; }
.directory-profile-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; color: #72869b; font-size: 12px; }
.directory-profile-rating strong { color: #c67c31; font-size: 14px; }
.directory-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; padding-left: 111px; }
.directory-profile-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr); align-items: start; gap: 20px; margin-top: 20px; }
.directory-profile-grid main, .directory-profile-grid aside { display: grid; gap: 20px; }
.directory-profile-card { padding: 24px; border: 1px solid #e4eaf1; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(26, 59, 91, .045); }
.directory-profile-card h2 { margin: 0 0 10px; color: #193650; font-size: 21px; letter-spacing: -.03em; }
.directory-profile-card > p:not(.eyebrow):not(.form-help) { color: #6e8094; font-size: 14px; line-height: 1.7; }
.directory-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.directory-count { display: grid; place-items: center; min-width: 30px; height: 30px; border-radius: 50%; color: #2b6fe7; background: #e9f1ff; font-size: 12px; font-weight: 850; }
.directory-service-list { display: grid; gap: 10px; }
.directory-service-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px; border: 1px solid #e7edf3; border-radius: 14px; background: #fbfdff; }
.directory-service-row h3 { margin: 0 0 4px; color: #29435d; font-size: 14px; }
.directory-service-row p { margin: 0 0 8px; color: #8493a3; font-size: 11px; }
.directory-service-row > strong { flex: 0 0 auto; color: #275fca; font-size: 13px; text-align: right; }
.directory-payment-label { display: inline-flex; padding: 4px 8px; border-radius: 999px; color: #437761; background: #e7f6ee; font-size: 10px; font-weight: 800; }
.directory-qualification-list { display: grid; gap: 12px; }
.directory-qualification-list > div { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 3px 9px; align-items: center; padding: 11px 0; border-bottom: 1px solid #edf1f5; }
.directory-qualification-list > div:last-child { border-bottom: 0; }
.qualification-mark { display: grid; place-items: center; grid-row: span 2; width: 24px; height: 24px; border-radius: 8px; color: #298c70; background: #e2f5ed; font-size: 12px; font-weight: 850; }
.directory-qualification-list strong { color: #304961; font-size: 13px; }
.directory-qualification-list small { color: #8998a8; font-size: 11px; }
.directory-chip-list { display: flex; flex-wrap: wrap; gap: 7px; }
.directory-chip-list span, .directory-profile-hero .provider-tags span { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: #4c6782; background: #eaf2fb; font-size: 10px; font-weight: 750; }
.directory-facts-card { display: grid; gap: 0; }
.directory-fact { display: flex; gap: 11px; padding: 15px 0; border-top: 1px solid #edf1f5; }
.directory-fact > span { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 9px; color: #2b70dc; background: #edf4ff; font-size: 14px; }
.directory-fact > div { display: grid; gap: 3px; }
.directory-fact strong { color: #415a73; font-size: 11px; }
.directory-fact small { color: #7f90a1; font-size: 11px; line-height: 1.4; }
.directory-profile-page .notice { display: grid; gap: 10px; max-width: 560px; margin: 60px auto; padding: 24px; }
.directory-profile-page .notice .secondary-button { width: fit-content; }
@media (max-width: 760px) {
    .directory-profile-page { width: calc(100% - 28px); padding-top: 24px; }
    .directory-profile-hero { padding: 19px; }
    .directory-profile-identity { gap: 12px; }
    .directory-profile-avatar { flex-basis: 64px; width: 64px; height: 64px; border-width: 4px; border-radius: 19px; font-size: 19px; }
    .directory-profile-title-row h1 { font-size: 26px; }
    .directory-profile-subtitle { font-size: 12px; }
    .directory-profile-actions { padding-left: 0; }
    .directory-profile-actions .primary-button, .directory-profile-actions .secondary-button { flex: 1 1 160px; }
    .directory-profile-grid { grid-template-columns: 1fr; }
}

/* Screenshot-inspired landing-page care search */
.landing-directory-search { max-width: 720px; margin: 30px 0 25px; }
.landing-directory-heading { max-width: 650px; }
.landing-directory-heading h2 { margin: 12px 0 10px; color: var(--navy-strong); font-size: clamp(30px, 4vw, 47px); font-weight: 760; letter-spacing: -.065em; line-height: 1.04; }
.landing-directory-heading p:not(.eyebrow) { max-width: 585px; margin: 0; color: #8494a6; font-size: 11px; line-height: 1.6; }
.landing-directory-form { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(150px, .68fr) auto; align-items: stretch; gap: 0; margin-top: 29px; padding: 7px; border: 1px solid #d4e2ee; border-radius: 17px; background: #fff; box-shadow: 0 16px 34px rgba(43,78,119,.11), 0 3px 8px rgba(43,78,119,.04); }
.landing-directory-form label { display: grid; align-content: center; gap: 5px; min-width: 0; padding: 7px 15px; color: #71839b; font-size: 9px; font-weight: 800; }
.landing-directory-form label + label { border-left: 1px solid #e8eef4; }
.landing-directory-input, .landing-directory-select-wrap { display: flex; align-items: center; gap: 9px; min-height: 32px; min-width: 0; padding: 0; border: 0; background: transparent; transition: color .18s ease; }
.landing-directory-input:focus-within, .landing-directory-select-wrap:focus-within { color: #265fae; }
.landing-directory-input svg, .landing-directory-select-wrap svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: #5b94d5; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.landing-directory-input input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: #395775; background: transparent; font-size: 12px; }
.landing-directory-input input::placeholder { color: #a7b3c0; }
.landing-directory-select-wrap select { width: 100%; min-width: 0; padding: 0 18px 0 0; border: 0; outline: 0; color: #536d8a; background: transparent; font-size: 11px; text-overflow: ellipsis; }
.landing-directory-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 124px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #2b6fe7, #225fd0); box-shadow: 0 8px 19px rgba(37,103,222,.18); font-size: 11px; font-weight: 800; white-space: nowrap; transition: .18s ease; }
.landing-directory-submit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.landing-directory-submit:hover:not(:disabled) { background: linear-gradient(135deg, #2465dc, #1c54bd); box-shadow: 0 11px 22px rgba(37,103,222,.25); transform: translateY(-1px); }
.landing-directory-submit:disabled { cursor: wait; opacity: .72; }
.landing-search-suggestions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 12px; padding-left: 3px; color: #8b9bad; font-size: 9px; }
.landing-search-suggestions > span { margin-right: 3px; font-weight: 750; }
.landing-search-suggestions button { min-height: 26px; padding: 0 10px; border: 1px solid #d6e4f1; border-radius: 999px; color: #4f7198; background: rgba(255,255,255,.82); font-size: 9px; font-weight: 750; transition: .18s ease; }
.landing-search-suggestions button:hover { border-color: #8fb4e3; color: #2365bc; background: #f3f8ff; transform: translateY(-1px); }
.landing-directory-search + .landing-actions { margin-top: 0; }

@media (max-width: 800px) {
  .landing-directory-search { width: 100%; margin-right: auto; margin-left: auto; }
  .landing-directory-form { grid-template-columns: 1fr; }
  .landing-directory-form label + label { border-top: 1px solid #e8eef4; border-left: 0; }
  .landing-directory-form label { padding: 9px 12px; }
  .landing-directory-submit { width: 100%; }
}

/* Landing search results: keep the follow-up state connected to the hero. */
.landing-results-section { padding: 62px 0 78px; border-top: 1px solid #e7eef5; background: linear-gradient(180deg, #f7fafc 0%, #fff 78%); }
.landing-results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; width: min(1120px, calc(100% - 72px)); margin: 0 auto; }
.landing-results-heading h2 { max-width: 700px; margin: 12px 0 10px; color: var(--navy-strong); font-size: clamp(32px, 4vw, 51px); letter-spacing: -.065em; line-height: 1.02; }
.landing-results-heading p:not(.eyebrow) { max-width: 590px; margin: 0; color: #8293a5; font-size: 12px; line-height: 1.6; }
.landing-results-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.landing-results-summary span { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 7px 11px; overflow: hidden; border: 1px solid #dce8f1; border-radius: 999px; color: #496b8c; background: #fff; font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.landing-results-summary strong { color: #8b9bae; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.landing-results-edit { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; min-height: 38px; padding: 0 13px; border: 1px solid #d8e4ef; border-radius: 9px; color: #527294; background: #fff; font-size: 10px; font-weight: 800; transition: .18s ease; }
.landing-results-edit:hover { border-color: #a9c5e3; color: #2869c4; background: #f7fbff; transform: translateY(-1px); }
.landing-results-edit span { color: #3479d2; font-size: 15px; }
.landing-results-state { display: flex; align-items: flex-start; gap: 16px; width: min(1120px, calc(100% - 72px)); margin: 31px auto 0; padding: 25px 28px; border: 1px solid #dce7f0; border-radius: 18px; background: #fff; box-shadow: 0 15px 34px rgba(43,78,119,.07); }
.landing-results-state-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; color: #2b6fe7; background: #eaf2ff; font-size: 20px; font-weight: 850; }
.landing-results-state-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.landing-results-state > div:last-child { min-width: 0; }
.landing-results-state strong { display: block; color: #294866; font-size: 14px; }
.landing-results-state p { max-width: 670px; margin: 7px 0 0; color: #8192a5; font-size: 11px; line-height: 1.65; }
.landing-results-state-error { border-color: #f0dede; background: #fffafa; }
.landing-results-state-error .landing-results-state-icon { color: #b35d62; background: #fbecee; }
.landing-results-state-spinner { border: 3px solid #d9e8fb; border-top-color: #2b6fe7; background: transparent; animation: landing-results-spin .8s linear infinite; }
@keyframes landing-results-spin { to { transform: rotate(360deg); } }
.landing-results-action { min-height: 38px; margin-top: 16px; padding: 0 13px; font-size: 10px; }
.landing-results-section .public-search-toolbar { width: min(1120px, calc(100% - 72px)); margin: 31px auto 13px; }
.landing-results-section .public-provider-grid { width: min(1120px, calc(100% - 72px)); margin: 0 auto; }
.landing-results-section .public-search-note { width: min(1120px, calc(100% - 72px)); margin-right: auto; margin-left: auto; }

@media (max-width: 720px) {
  .landing-results-section { padding: 48px 0 58px; }
  .landing-results-heading { align-items: flex-start; flex-direction: column; gap: 19px; width: calc(100% - 36px); }
  .landing-results-heading h2 { font-size: 35px; }
  .landing-results-edit { align-self: flex-start; }
  .landing-results-summary { align-items: flex-start; flex-direction: column; }
  .landing-results-summary span { max-width: 100%; }
  .landing-results-state, .landing-results-section .public-search-toolbar, .landing-results-section .public-provider-grid, .landing-results-section .public-search-note { width: calc(100% - 36px); }
  .landing-results-state { padding: 20px; }
}

/* Public provider search */
.public-search-section { width: min(1120px, calc(100% - 72px)); margin: 0 auto; padding: 72px 0 78px; scroll-margin-top: 20px; }
.public-search-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; }
.public-search-heading h2 { max-width: 650px; margin: 12px 0 10px; color: var(--navy-strong); font-size: clamp(30px, 4vw, 47px); letter-spacing: -.065em; line-height: 1.04; }
.public-search-heading p:not(.eyebrow) { max-width: 585px; margin: 0; color: #8494a6; font-size: 11px; line-height: 1.6; }
.search-close { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #dce6ef; border-radius: 50%; color: #7a8ca3; background: #fff; font-size: 24px; line-height: 1; }
.search-close:hover { color: #306ec4; border-color: #aec9e9; background: #f7fbff; }
.public-search-form { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(140px, .55fr) auto; align-items: end; gap: 11px; margin-top: 29px; padding: 14px; border: 1px solid #dfe8f0; border-radius: 15px; background: #fff; box-shadow: 0 11px 29px rgba(43,78,119,.06); }
.public-search-form label { display: grid; gap: 7px; color: #71839b; font-size: 9px; font-weight: 800; }
.public-input-wrap { display: flex; align-items: center; gap: 7px; min-height: 45px; padding: 0 11px; border: 1px solid #e0e8f0; border-radius: 8px; background: #fbfdff; }
.public-input-wrap > span { color: #5b94d5; font-size: 17px; }
.public-input-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; color: #4d6685; background: transparent; font-size: 11px; }
.public-input-wrap input::placeholder { color: #a7b3c0; }
.public-search-form select, .search-field-wrap select { width: 100%; min-height: 45px; padding: 0 11px; border: 1px solid #e0e8f0; border-radius: 8px; outline: 0; color: #4d6685; background: #fbfdff; font-size: 11px; }
.public-search-form select:focus, .search-field-wrap select:focus { border-color: #8fb2e9; box-shadow: 0 0 0 3px #e3efff; }
.public-search-form > .primary-button { min-height: 45px; padding: 0 16px; font-size: 10px; }
.public-search-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 26px 0 13px; color: #8494a7; font-size: 10px; font-weight: 750; }
.public-search-toolbar > div { display: flex; flex-wrap: wrap; gap: 6px; }
.public-filter { min-height: 29px; padding: 0 10px; border: 1px solid #e0e7ef; border-radius: 7px; color: #8b9aaa; background: #fff; font-size: 9px; font-weight: 750; }
.public-filter:hover, .public-filter.active { border-color: #b4d0ed; color: #3475c8; background: #eff6ff; }
.public-provider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.public-provider-card { padding: 17px; border: 1px solid #e0e8f0; border-radius: 15px; background: #fff; box-shadow: 0 7px 20px rgba(43,78,119,.035); transition: .18s ease; }
.public-provider-card:hover { border-color: #b6d0ec; box-shadow: 0 13px 28px rgba(43,78,119,.08); transform: translateY(-2px); }
.public-provider-card[hidden] { display: none; }
.public-provider-top { display: flex; align-items: center; gap: 8px; }
.public-provider-top .avatar { width: 38px; height: 38px; font-size: 10px; }
.verified-label { color: #39a285; font-size: 8px; font-weight: 800; }
.save-provider { width: 25px; height: 25px; margin-left: auto; border-radius: 50%; color: #8da1b8; background: #f3f7fb; font-size: 16px; line-height: 1; }
.save-provider:hover, .save-provider.saved { color: #2f79d8; background: #e9f3ff; }
.public-provider-card h3 { margin: 18px 0 5px; color: #516a88; font-size: 14px; }
.provider-specialty { margin: 0; color: #8595a8; font-size: 9px; }
.public-provider-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 15px; color: #6582a2; font-size: 9px; font-weight: 800; }
.public-provider-meta small { color: #9daab8; font-size: 8px; font-weight: 600; }
.provider-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.provider-tags span { padding: 5px 6px; border-radius: 5px; color: #6b8bad; background: #f0f6fc; font-size: 8px; font-weight: 700; }
.public-provider-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 19px; }
.public-provider-actions button { min-height: 33px; padding: 0 7px; font-size: 8px; }
.public-search-note { display: flex; align-items: center; gap: 6px; margin: 17px 0 0; color: #92a1b0; font-size: 9px; }
.public-search-note span { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #289a7d; background: #e8f8f2; font-size: 9px; }
.avatar-jasmine { background: linear-gradient(135deg, #897bc6, #4d4f8b); }

@media (max-width: 720px) {
  .public-search-section { width: calc(100% - 36px); padding: 58px 0 64px; }
  .public-search-form { grid-template-columns: 1fr; }
  .public-search-form > .primary-button { width: 100%; }
  .public-search-toolbar { align-items: flex-start; flex-direction: column; }
  .public-provider-grid { grid-template-columns: 1fr; }
}

/* Authenticated workspace system */
.workspace-shell {
    --workspace-ink: #14233d;
    --workspace-muted: #71809a;
    --workspace-line: #e3e9f1;
    --workspace-blue: #2c6fe8;
    --workspace-teal: #16b39e;
    background: #f6f8fb;
    color: var(--workspace-ink);
    display: flex;
    min-height: 100vh;
}

.workspace-sidebar {
    background: rgba(255, 255, 255, .94);
    border-right: 1px solid var(--workspace-line);
    display: flex;
    flex: 0 0 256px;
    flex-direction: column;
    min-height: 100vh;
    padding: 25px 17px 20px;
    position: sticky;
    top: 0;
    z-index: 30;
}

.workspace-brand {
    align-items: center;
    background: #fff;
    border: 1px solid #edf1f6;
    border-radius: 16px;
    display: inline-flex;
    height: 56px;
    justify-content: center;
    margin: 0 6px 28px;
    overflow: hidden;
    width: 184px;
}

.workspace-brand img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.workspace-context {
    border-bottom: 1px solid #edf1f5;
    padding: 0 9px 22px;
}

.workspace-context-label,
.workspace-nav-label {
    color: #9aa7b9;
    display: block;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.workspace-context-label { margin-bottom: 13px; }

.workspace-identity {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.workspace-identity > span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.workspace-identity strong {
    color: var(--workspace-ink);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workspace-identity small {
    color: var(--workspace-muted);
    font-size: 10px;
}

.workspace-avatar {
    align-items: center;
    background: linear-gradient(145deg, #2c6fe8, #15b6a6);
    border: 3px solid #edf4ff;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 11px;
    font-weight: 850;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.workspace-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px 0;
}

.workspace-nav-label { margin: 0 10px 9px; }

.workspace-nav a,
.workspace-help {
    align-items: center;
    border-radius: 11px;
    color: #7d8ca2;
    display: flex;
    font-size: 11px;
    font-weight: 750;
    gap: 10px;
    min-height: 40px;
    padding: 0 11px;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.workspace-nav a:hover,
.workspace-nav a.active,
.workspace-help:hover {
    background: #eef4ff;
    color: #225db8;
    transform: translateX(2px);
}

.workspace-nav-icon {
    align-items: center;
    background: #f1f5f9;
    border-radius: 7px;
    color: #8090a5;
    display: inline-flex;
    flex: 0 0 25px;
    font-size: 13px;
    font-weight: 800;
    height: 25px;
    justify-content: center;
    width: 25px;
}

.workspace-nav a.active .workspace-nav-icon,
.workspace-nav a:hover .workspace-nav-icon,
.workspace-help:hover .workspace-nav-icon {
    background: #dceaff;
    color: var(--workspace-blue);
}

.workspace-sidebar-foot {
    margin-top: auto;
    padding: 18px 5px 0;
}

.workspace-help { margin-bottom: 18px; }

.workspace-privacy-note {
    align-items: flex-start;
    background: #f5fbfa;
    border: 1px solid #dcefe9;
    border-radius: 12px;
    color: #62877e;
    display: flex;
    gap: 8px;
    padding: 11px 9px;
}

.privacy-lock {
    align-items: center;
    background: #d9f2ea;
    border-radius: 6px;
    color: #159176;
    display: inline-flex;
    flex: 0 0 24px;
    font-size: 13px;
    height: 24px;
    justify-content: center;
}

.workspace-privacy-note > span:last-child {
    display: grid;
    gap: 2px;
}

.workspace-privacy-note strong { color: #2f7565; font-size: 9px; }
.workspace-privacy-note small { color: #7ca197; font-size: 8px; line-height: 1.35; }

.workspace-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.workspace-topbar {
    align-items: center;
    background: rgba(255, 255, 255, .84);
    border-bottom: 1px solid var(--workspace-line);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 clamp(24px, 4vw, 58px);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
}

.workspace-breadcrumb {
    align-items: center;
    color: #a0acbc;
    display: flex;
    font-size: 10px;
    gap: 9px;
}

.workspace-breadcrumb b { color: #d0d7e0; font-weight: 500; }
.workspace-breadcrumb strong { color: var(--workspace-ink); font-size: 11px; }

.workspace-topbar-actions {
    align-items: center;
    display: flex;
    gap: 15px;
}

.workspace-status {
    align-items: center;
    color: #75918b;
    display: inline-flex;
    font-size: 9px;
    font-weight: 750;
    gap: 7px;
}

.workspace-status > span {
    background: #35b98f;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(53, 185, 143, .12);
    display: inline-block;
    height: 6px;
    width: 6px;
}

.workspace-user-name {
    border-left: 1px solid var(--workspace-line);
    color: #64748f;
    font-size: 10px;
    font-weight: 750;
    padding-left: 15px;
}

.workspace-topbar .button-quiet {
    border: 1px solid #dfe6ee;
    border-radius: 9px;
    color: #617590;
    font-size: 10px;
    min-height: 34px;
    padding: 7px 11px;
}

.workspace-topbar .button-quiet:hover { background: #eef4ff; border-color: #c4d8f2; color: #225db8; }

.workspace-content {
    flex: 1;
    padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 58px) 90px;
}

.workspace-content > div {
    margin: 0 auto;
    max-width: 1480px;
}

.workspace-mobile-nav { display: none; }

.workspace-shell .page-intro {
    margin: 0 0 28px;
    max-width: 980px;
}

.workspace-shell .page-intro h1 {
    color: #112c59;
    font-size: clamp(2.3rem, 4.5vw, 4.4rem);
    max-width: 850px;
}

.workspace-shell h1:focus { outline: none; }

.workspace-shell .page-intro > p:last-child { max-width: 700px; }
.workspace-shell .page-intro-with-pill .role-pill { margin-top: 8px; }

.workspace-shell .portal-gate {
    box-shadow: 0 15px 34px rgba(37, 72, 116, .06);
    max-width: 820px;
}

.workspace-shell .portal-summary,
.workspace-shell .care-card,
.workspace-shell .onboarding-card,
.workspace-shell .verification-section,
.workspace-shell .operations-center,
.workspace-shell .stripe-settings-card,
.workspace-shell .provider-care-board,
.workspace-shell .compliance-panel,
.workspace-shell .admin-panels .portal-card {
    border-color: #e0e7ef;
    box-shadow: 0 13px 34px rgba(37, 72, 116, .06);
}

.workspace-shell .portal-summary {
    background: linear-gradient(135deg, #fff 0%, #f4f8ff 62%, #eefaf7 100%);
    border-radius: 22px;
}

.workspace-shell .care-card,
.workspace-shell .onboarding-card,
.workspace-shell .verification-section,
.workspace-shell .provider-care-board,
.workspace-shell .compliance-panel {
    border-radius: 22px;
}

.workspace-shell .care-card + .care-card,
.workspace-shell .portal-card + .portal-card { margin-top: 18px; }

.workspace-shell .care-card-heading h2,
.workspace-shell .section-heading h2,
.workspace-shell .board-header h2,
.workspace-shell .verification-header h2 { color: #173762; }

.workspace-shell .metric-grid { margin-bottom: 22px; }
.workspace-shell .metric-card { min-height: 142px; }
.workspace-shell .metric-card strong { color: #173762; }
.workspace-shell .metric-card.metric-dark strong,
.workspace-shell .metric-card.metric-dark span,
.workspace-shell .metric-card.metric-dark small { color: #fff; }

.workspace-shell .operations-center,
.workspace-shell .stripe-settings-card { margin-top: 18px; }

.workspace-shell .operations-center { background: rgba(255,255,255,.74); border-radius: 22px; padding: 26px; }
.workspace-shell .operations-grid article { background: #fbfdff; border-color: #e4eaf1; border-radius: 14px; }
.workspace-shell .operations-icon { background: #edf4ff; color: var(--workspace-blue); }
.workspace-shell .section-heading { margin-bottom: 17px; }

.workspace-shell .form-field input,
.workspace-shell .form-field textarea,
.workspace-shell .form-field select,
.workspace-shell .verification-detail textarea,
.workspace-shell .verification-filter select,
.workspace-shell .stripe-switch select {
    background: #fbfdff;
    border-color: #d5e0eb;
}

.workspace-shell .inline-callout,
.workspace-shell .journey-message-panel,
.workspace-shell .review-panel,
.workspace-shell .provider-message-panel { background: #f7fbff; border-color: #e1eaf3; }
.workspace-shell .check-row-large { background: #eef5ff; color: #315c92; }
.workspace-shell .care-circle-card { background: linear-gradient(145deg, #fff, #f5fbfb); }

@media (max-width: 980px) {
    .workspace-sidebar { flex-basis: 220px; }
    .workspace-status { display: none; }
    .workspace-content { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 720px) {
    .workspace-sidebar { display: none; }
    .workspace-topbar { min-height: 66px; padding: 0 18px; }
    .workspace-breadcrumb span, .workspace-breadcrumb b { display: none; }
    .workspace-user-name { display: none; }
    .workspace-topbar-actions { gap: 8px; }
    .workspace-mobile-nav {
        align-items: center;
        background: rgba(255,255,255,.94);
        border-bottom: 1px solid var(--workspace-line);
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding: 10px 18px;
    }
    .workspace-mobile-nav a {
        background: #f5f7fb;
        border-radius: 999px;
        color: #70829b;
        flex: 0 0 auto;
        font-size: 10px;
        font-weight: 800;
        padding: 8px 11px;
        text-decoration: none;
    }
    .workspace-mobile-nav a.active { background: #e8f1ff; color: #225db8; }
    .workspace-content { padding: 27px 18px 70px; }
    .workspace-shell .page-intro-with-pill { display: block; }
    .workspace-shell .page-intro-with-pill .role-pill { display: inline-flex; margin-top: 0; }
    .workspace-shell .page-intro h1 { font-size: clamp(2.3rem, 12vw, 3.35rem); }
    .workspace-shell .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .workspace-shell .operations-center { padding: 19px; }
    .workspace-shell .onboarding-card,
    .workspace-shell .verification-section,
    .workspace-shell .care-card,
    .workspace-shell .provider-care-board,
    .workspace-shell .compliance-panel { padding: 22px 18px; }
    .workspace-shell .portal-summary { padding: 22px 18px; }
}

@media (max-width: 500px) {
    .workspace-shell .metric-grid { grid-template-columns: 1fr; }
    .workspace-shell .metric-card { min-height: 118px; }
    .workspace-shell .portal-summary .summary-stats { grid-template-columns: 1fr; gap: 12px; }
    .workspace-shell .portal-summary .summary-stats div { border-bottom: 1px solid var(--workspace-line); border-right: 0; padding: 0 0 12px; }
    .workspace-shell .portal-summary .summary-stats div:last-child { border-bottom: 0; padding-bottom: 0; }
    .workspace-topbar .button-quiet { font-size: 9px; }
}
/* Reference static workspace UI migrated into the ASP.NET shell */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 31px; }
.stat-card { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 13px 16px; border: 1px solid #e8edf3; border-radius: 14px; background: rgba(255,255,255,.78); }
.stat-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; }
.stat-icon svg { width: 19px; height: 19px; }
.blue-icon { color: #306fd9; background: #e9f1ff; }
.teal-icon { color: #119a8e; background: #e3f8f3; }
.lilac-icon { color: #786ac2; background: #f0edff; }
.stat-card > div { display: grid; gap: 4px; min-width: 0; }
.stat-value { color: var(--navy-strong); font-size: 19px; font-weight: 780; letter-spacing: -.04em; }
.stat-label { overflow: hidden; color: #8a96a9; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.stat-trend { margin-left: auto; padding: 4px 7px; border-radius: 5px; color: #1b9b77; background: #eaf9f3; font-size: 9px; font-weight: 800; }
.stat-trend.neutral { color: #71819a; background: #f1f4f8; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .8fr); gap: 16px; margin-top: 19px; }
.card { min-width: 0; padding: 22px; border: 1px solid #e6ebf2; border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 6px 22px rgba(38,57,83,.025); }
.live-card { grid-column: 1; }
.quick-card { grid-column: 2; grid-row: 1; }
.care-team-card { grid-column: 1; }
.care-plan-card { grid-column: 2; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.compact-heading { align-items: center; }
.card-heading h2 { margin: 5px 0 0; color: var(--navy-strong); font-size: 16px; font-weight: 760; letter-spacing: -.025em; }
.title-with-dot { display: flex; align-items: center; gap: 8px; }
.title-with-dot h2 { margin: 0; }
.card-subtitle { margin: 5px 0 0; color: #8b98ac; font-size: 11px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 99px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.status-pill.success { color: #148464; background: #e9f9f2; }
.pill-dot, .live-pulse { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.live-pulse { width: 7px; height: 7px; color: #25ba8d; box-shadow: 0 0 0 4px rgba(37,186,141,.12); }
.live-main { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 0 23px; }
.caregiver-block { display: flex; align-items: center; gap: 13px; min-width: 0; }
.avatar-stack { position: relative; }
.large-stack > .avatar { width: 58px; height: 58px; font-size: 16px; box-shadow: 0 0 0 4px #f2f7ff; }
.verified-badge { position: absolute; right: -2px; bottom: -1px; display: grid; place-items: center; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #2d8fdb; }
.verified-badge svg { width: 11px; height: 11px; }
.caregiver-copy h3 { margin: 0 0 4px; color: var(--navy); font-size: 14px; font-weight: 750; }
.caregiver-copy p { margin: 0 0 8px; color: #8290a5; font-size: 11px; }
.review-line { color: #64738c; font-size: 10px; font-weight: 750; }
.star { color: #efb43f; }
.review-count { color: #a0a9b7; font-weight: 500; }
.visit-time { display: grid; gap: 6px; text-align: right; }
.time-main { color: var(--navy); font-size: 14px; font-weight: 760; white-space: nowrap; }
.time-main em { color: #a3afbe; font-style: normal; font-weight: 450; }
.time-meta { color: #8c99ab; font-size: 10px; white-space: nowrap; }
.visit-progress-wrap { padding: 15px 0 13px; border-top: 1px solid #eff2f6; border-bottom: 1px solid #eff2f6; }
.progress-labels { display: flex; justify-content: space-between; margin-bottom: 9px; color: #8491a5; font-size: 10px; }
.progress-labels strong { color: #3a6fc9; font-size: 10px; }
.progress-track, .plan-progress { height: 6px; overflow: hidden; border-radius: 99px; background: #edf1f6; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2e72e8, #3f9ee8); }
.visit-steps { display: flex; justify-content: space-between; gap: 10px; margin-top: 11px; color: #a0a9b8; font-size: 9px; }
.visit-steps span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.visit-steps i { display: inline-block; width: 7px; height: 7px; border: 1px solid #c5cedb; border-radius: 50%; background: #fff; }
.visit-steps .done { color: #5c799d; }
.visit-steps .done i { border-color: #3f85db; background: #3f85db; box-shadow: inset 0 0 0 2px #fff; }
.visit-steps .current { color: #2b6fcb; font-weight: 700; }
.visit-steps .current i { border-color: #2f8de2; background: #d9edff; box-shadow: 0 0 0 3px #eaf5ff; }
.live-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 16px; }
.location-note { display: flex; align-items: center; gap: 8px; }
.location-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: #2c79dc; background: #edf5ff; }
.location-icon svg { width: 16px; height: 16px; }
.location-note strong, .location-note small { display: block; }
.location-note strong { color: #5a6d89; font-size: 10px; }
.location-note small { margin-top: 2px; color: #9ca8b7; font-size: 9px; }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; color: #2d6ed0; background: transparent; font-size: 10px; font-weight: 750; }
.text-button:hover { color: #184da1; }
.text-button svg { width: 14px; height: 14px; }

.more-button { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 6px; color: #97a2b1; background: transparent; }
.more-button:hover { color: var(--navy); background: #f4f7fb; }
.more-button svg { width: 16px; height: 16px; }
.next-date { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 8px; margin: 23px 0 17px; padding-bottom: 16px; border-bottom: 1px solid #eff2f6; }
.date-day, .date-month { color: #96a1b1; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.next-date strong { color: var(--navy); font-size: 31px; font-weight: 780; line-height: .95; letter-spacing: -.06em; }
.date-month { justify-self: end; color: #3f78c9; }
.next-visit-details { display: flex; align-items: center; gap: 10px; }
.next-visit-details .avatar { width: 34px; height: 34px; font-size: 9px; }
.next-visit-details div { display: grid; gap: 3px; min-width: 0; }
.next-visit-details strong { color: var(--navy); font-size: 11px; }
.next-visit-details span:not(.avatar):not(.confirmed-check) { color: #8a97aa; font-size: 10px; }
.confirmed-check { display: grid; place-items: center; width: 20px; height: 20px; margin-left: auto; border-radius: 50%; color: #1ea77e; background: #e6f8f1; }
.confirmed-check svg { width: 13px; height: 13px; }
.next-time { display: flex; align-items: center; gap: 7px; margin: 18px 0; color: #5e708c; font-size: 10px; }
.next-time svg { width: 16px; height: 16px; color: #7590b1; }
.duration { margin-left: auto; color: #a0a9b7; }

.team-subtitle { margin-top: 5px; }
.team-list { display: grid; gap: 13px; margin-top: 19px; }
.team-person { display: flex; align-items: center; gap: 10px; }
.team-person > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.team-person strong { overflow: hidden; color: #3f516e; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.team-person small { color: #8e9bac; font-size: 9px; }
.online-dot { width: 5px; height: 5px; margin-left: 3px; box-shadow: none; }
.mini-message { display: grid; place-items: center; width: 27px; height: 27px; margin-left: auto; border: 1px solid #e2eaf3; border-radius: 8px; color: #7290b6; background: #fbfdff; }
.mini-message:hover { color: #276bd0; border-color: #b9d1f1; background: #f1f7ff; }
.mini-message svg { width: 14px; height: 14px; }
.add-member-button { display: flex; align-items: center; gap: 6px; margin-top: 18px; padding: 0; color: #2d6ed0; background: transparent; font-size: 10px; font-weight: 750; }
.add-member-button:hover { color: #194b9c; }
.add-member-button svg { width: 14px; height: 14px; }

.plan-count { margin-top: 3px; padding: 5px 8px; border-radius: 6px; color: #73849d; background: #f3f6fa; font-size: 9px; font-weight: 750; white-space: nowrap; }
.plan-progress { height: 5px; margin-top: 18px; }
.plan-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22b89d, #51c9ad); transition: width .25s ease; }
.task-list { display: grid; gap: 2px; margin-top: 12px; }
.task { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 5px 0; cursor: pointer; }
.task input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { display: grid; place-items: center; width: 17px; height: 17px; flex: 0 0 auto; border: 1.5px solid #c7d1df; border-radius: 5px; color: transparent; background: #fff; transition: .15s ease; }
.custom-check svg { width: 12px; height: 12px; }
.task input:checked + .custom-check { border-color: #27ad8d; color: #fff; background: #27ad8d; }
.task-copy { display: grid; gap: 3px; min-width: 0; }
.task-copy strong { overflow: hidden; color: #5a6c87; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.task-copy small { color: #a0a9b7; font-size: 9px; }
.done-task .task-copy strong { color: #8d99aa; text-decoration: line-through; text-decoration-color: #b9c8d1; }

.reassurance-banner { display: flex; align-items: center; gap: 14px; margin-top: 17px; padding: 16px 18px; border: 1px solid #dcefe8; border-radius: 14px; background: linear-gradient(90deg, #f2fcfa, #f8fcff); }
.reassurance-mark { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 auto; border-radius: 10px; color: #179f85; background: #ddf7ee; }
.reassurance-mark svg { width: 20px; height: 20px; }
.reassurance-banner > div:nth-child(2) { display: grid; gap: 4px; }
.reassurance-banner strong { color: #26746b; font-size: 11px; }
.reassurance-banner span { color: #75948f; font-size: 10px; }
.reassurance-banner .text-button { margin-left: auto; white-space: nowrap; }

.mobile-nav { display: none; }
.toast { position: fixed; z-index: 30; right: 26px; bottom: 26px; display: flex; align-items: center; gap: 9px; max-width: calc(100vw - 40px); padding: 11px 15px 11px 11px; border: 1px solid #dce7f2; border-radius: 11px; color: #46627f; background: rgba(255,255,255,.97); box-shadow: 0 12px 35px rgba(17,43,80,.16); font-size: 11px; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }
.toast-check { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: #25ad89; font-size: 12px; }

.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(9, 25, 51, .38); backdrop-filter: blur(5px); }
.admin-pill { margin-left: auto; padding: 3px 5px; border-radius: 4px; color: #7a68b8; background: #f0edff; font-size: 8px; font-weight: 800; letter-spacing: .07em; }
.portal-tab.active .admin-pill { color: #fff; background: #7c6bc1; }
.avatar-evelyn { background: linear-gradient(135deg, #e4aa83, #a86361); }

.portal-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.portal-intro h1 { max-width: 650px; margin: 9px 0 9px; }
.patient-top-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .8fr); gap: 16px; margin-top: 30px; }
.patient-hero-card { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 244px; overflow: hidden; padding: 29px 34px; border-radius: 21px; color: #fff; background: linear-gradient(127deg, #0d2c5a 5%, #17457e 67%, #2262a0 100%); box-shadow: 0 16px 35px rgba(24,65,124,.16); }
.patient-hero-card::before { position: absolute; top: -120px; right: -70px; width: 350px; height: 350px; border: 1px solid rgba(116,201,231,.18); border-radius: 50%; content: ""; }
.patient-hero-card::after { position: absolute; right: -29px; bottom: -155px; width: 350px; height: 350px; border: 1px solid rgba(116,201,231,.13); border-radius: 50%; content: ""; }
.patient-hero-copy { position: relative; z-index: 1; min-width: 0; }
.light-eyebrow { color: #9dc7f2; }
.patient-hero-copy h2 { margin: 8px 0 6px; font-size: 22px; letter-spacing: -.04em; }
.patient-hero-copy h2, .patient-hero-copy strong { color: #fff; }
.patient-hero-copy > p { margin-bottom: 18px; color: #a4c1df; font-size: 11px; }
.patient-hero-time { display: flex; align-items: baseline; gap: 8px; color: #eaf5ff; }
.patient-hero-time strong { color: #eaf5ff; font-size: 21px; letter-spacing: -.04em; }
.patient-hero-time span { color: #76a7d3; }
.patient-hero-time small { margin-left: 6px; color: #8fb5d7; font-size: 9px; }
.patient-hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 21px; }
.light-button, .quiet-light-button { min-height: 34px; padding: 0 11px; border-radius: 8px; font-size: 10px; font-weight: 750; }
.light-button { color: #113b71; background: #fff; }
.light-button:hover { background: #eff7ff; }
.quiet-light-button { color: #b9d4f0; background: transparent; }
.quiet-light-button:hover { color: #fff; }
.patient-orbit { position: relative; z-index: 1; width: 176px; height: 176px; flex: 0 0 auto; margin-right: 10px; }
.orbit-ring { position: absolute; display: block; border: 1px solid rgba(115,194,227,.27); border-radius: 50%; }
.ring-one { inset: 9px; }
.ring-two { inset: 34px; border-color: rgba(111,196,214,.4); }
.orbit-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #5cc8c7; box-shadow: 0 0 0 5px rgba(92,200,199,.14); }
.dot-one { top: 27px; right: 22px; }
.dot-two { bottom: 29px; left: 22px; background: #e5b85a; box-shadow: 0 0 0 5px rgba(229,184,90,.13); }
.patient-orbit-avatar { position: absolute; top: 59px; left: 61px; width: 52px; height: 52px; font-size: 13px; box-shadow: 0 0 0 7px rgba(255,255,255,.1), 0 12px 25px rgba(1,21,51,.25); }
.orbit-caption { position: absolute; right: 10px; bottom: 17px; color: #a6c6e2; font-size: 8px; line-height: 1.35; text-align: right; }
.patient-profile-card { min-height: 244px; }
.profile-summary { display: flex; align-items: center; gap: 11px; margin-top: 24px; }
.profile-summary .avatar { width: 43px; height: 43px; font-size: 11px; }
.profile-summary div { display: grid; gap: 4px; }
.profile-summary strong { color: #496080; font-size: 11px; }
.profile-summary span { color: #929eae; font-size: 10px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 19px; }
.profile-tags span { padding: 5px 7px; border-radius: 5px; color: #67809f; background: #f1f6fb; font-size: 9px; font-weight: 700; }
.profile-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 21px; padding: 0; color: #2d6ed0; background: transparent; font-size: 10px; font-weight: 750; }
.profile-link:hover { color: #194b9c; }
.profile-link svg { width: 14px; height: 14px; }
.patient-content-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .8fr); gap: 16px; margin-top: 16px; }
.patient-tasks-card, .patient-team-card { min-height: 260px; }
.patient-task-list { display: grid; gap: 4px; margin-top: 18px; }
.patient-task { display: flex; align-items: center; gap: 11px; min-height: 42px; }
.patient-task-check { display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 auto; border: 1px solid #cbd5e1; border-radius: 6px; color: transparent; font-size: 11px; }
.patient-task.is-complete .patient-task-check { border-color: #27ad8d; color: #fff; background: #27ad8d; }
.patient-task > span:last-child { display: grid; gap: 3px; }
.patient-task strong { color: #596b85; font-size: 10px; }
.patient-task small { color: #9aa6b5; font-size: 9px; }
.patient-task.is-complete strong { color: #8e9aaa; text-decoration: line-through; text-decoration-color: #bdc9d3; }
.patient-note { display: flex; align-items: center; gap: 9px; margin-top: 17px; padding: 10px; border-radius: 9px; background: #f4f9ff; }
.note-spark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: #397bda; background: #e2efff; font-size: 12px; }
.patient-note > span:nth-child(2) { display: grid; gap: 3px; }
.patient-note strong { color: #53729a; font-size: 9px; }
.patient-note small { color: #91a2b8; font-size: 8px; }
.patient-note .text-button { margin-left: auto; font-size: 9px; }
.patient-provider-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.patient-provider-row + .patient-provider-row { margin-top: 14px; }
.patient-provider-row > span:nth-child(2) { display: grid; gap: 4px; }
.patient-provider-row strong { color: #4b607e; font-size: 10px; }
.patient-provider-row small { color: #929eae; font-size: 9px; }
.patient-provider-row .avatar { width: 34px; height: 34px; font-size: 9px; }
.provider-role { margin-left: auto; padding: 4px 6px; border-radius: 5px; color: #748aa5; background: #f2f6fa; font-size: 8px; font-weight: 800; }
.patient-support-banner { display: flex; align-items: center; gap: 12px; margin-top: 17px; padding: 15px 17px; border: 1px solid #e8e4fa; border-radius: 14px; background: linear-gradient(90deg, #fbfaff, #f9fcff); }
.support-heart { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; color: #8373c9; background: #f0edff; }
.support-heart svg { width: 18px; height: 18px; }
.patient-support-banner > div:nth-child(2) { display: grid; gap: 4px; }
.patient-support-banner strong { color: #63588f; font-size: 10px; }
.patient-support-banner span { color: #9896ad; font-size: 9px; }
.patient-support-banner .secondary-button { margin-left: auto; min-height: 33px; font-size: 10px; }

.marketplace-view .portal-intro { align-items: center; }
.marketplace-view .portal-intro h1 { max-width: 700px; }
.search-hero-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(170px, .65fr) minmax(140px, .55fr) auto; align-items: end; gap: 11px; margin-top: 29px; padding: 20px; border: 1px solid #dae7f5; border-radius: 16px; background: linear-gradient(110deg, #eef6ff, #fbfdff); }
.search-field-wrap { display: grid; gap: 7px; }
.search-field-wrap label { color: #6880a0; font-size: 9px; font-weight: 800; }
.search-input-wrap { position: relative; display: flex; align-items: center; }
.search-input-wrap svg { position: absolute; left: 11px; width: 17px; height: 17px; color: #6e92c0; }
.search-input-wrap input { width: 100%; min-height: 40px; padding: 0 11px 0 36px; border: 1px solid #d8e5f2; border-radius: 9px; outline: 0; color: #405777; background: #fff; font-size: 10px; }
.search-input-wrap input:focus { border-color: #8fb2e9; box-shadow: 0 0 0 3px #e3efff; }
.search-submit { min-height: 40px; white-space: nowrap; }
.state-search select { min-height: 40px; }
.marketplace-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .72fr); align-items: start; gap: 16px; margin-top: 22px; }
.results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.results-heading h2 { margin: 5px 0 0; color: var(--navy-strong); font-size: 17px; letter-spacing: -.03em; }
.sort-button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 0; color: #6680a2; background: transparent; font-size: 10px; font-weight: 700; }
.sort-button svg { width: 13px; height: 13px; }
.provider-card { padding: 18px 19px 16px; border: 1px solid #e2eaf2; border-radius: 15px; background: #fff; box-shadow: 0 5px 20px rgba(38,57,83,.025); }
.provider-card + .provider-card { margin-top: 10px; }
.provider-card-top { display: flex; align-items: flex-start; gap: 11px; }
.provider-avatar { width: 46px; height: 46px; font-size: 12px; }
.provider-card-identity { min-width: 0; }
.provider-name-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.provider-card-identity h3 { margin: 0; color: var(--navy); font-size: 13px; }
.provider-card-identity p { margin: 4px 0 6px; color: #8997aa; font-size: 10px; }
.provider-rating { color: #9ba6b5; font-size: 9px; }
.provider-rating strong { color: #d0962a; }
.match-badge { padding: 4px 6px; border-radius: 5px; color: #1d9c7b; background: #e8f9f1; font-size: 8px; font-weight: 800; }
.soft-match { color: #5a81b8; background: #eaf3ff; }
.heart-button { display: grid; place-items: center; width: 27px; height: 27px; margin-left: auto; border-radius: 7px; color: #9aa7b7; background: #f5f8fb; font-size: 19px; line-height: 1; }
.heart-button:hover { color: #dc7c85; background: #fff1f3; }
.provider-credential-row { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 10px 0; border-top: 1px solid #eef2f6; border-bottom: 1px solid #eef2f6; color: #74849b; font-size: 9px; }
.provider-credential-row span { display: inline-flex; align-items: center; gap: 5px; }
.provider-credential-row svg { width: 14px; height: 14px; color: #42a98d; }
.provider-credential-row strong { margin-left: auto; color: #425a7b; font-size: 13px; }
.provider-credential-row strong span { display: inline; color: #95a2b2; font-size: 8px; font-weight: 500; }
.provider-card-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 13px; }
.provider-card-actions .primary-button, .provider-card-actions .secondary-button { min-height: 32px; padding: 0 11px; font-size: 9px; }
.match-sidebar { position: sticky; top: 20px; padding: 21px; border: 1px solid #e3eaf4; border-radius: 16px; background: #fff; box-shadow: 0 5px 20px rgba(38,57,83,.025); }
.match-sidebar-head { display: flex; align-items: flex-start; gap: 10px; }
.match-spark { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: #2d74dc; background: #eaf2ff; font-size: 15px; }
.match-sidebar h2 { margin: 5px 0 0; color: var(--navy); font-size: 15px; letter-spacing: -.025em; }
.match-sidebar > p { margin: 17px 0 17px; color: #8d9aac; font-size: 10px; line-height: 1.5; }
.match-item { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 4px 0; }
.match-item > span { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #cbd5e1; border-radius: 5px; color: transparent; font-size: 10px; }
.match-item.is-checked > span { border-color: #36aa8e; color: #fff; background: #36aa8e; }
.match-item > div { display: grid; gap: 3px; }
.match-item strong { color: #5d708c; font-size: 10px; }
.match-item small { color: #9ba6b5; font-size: 9px; }
.match-sidebar .profile-link { margin-top: 19px; }
.empty-search-state { padding: 28px 10px; color: #8796a9; text-align: center; font-size: 11px; }

.admin-view { max-width: 1400px; }
.admin-eyebrow { color: #8a70c2; }
.admin-intro h1 { margin-top: 8px; }
.admin-header-actions { display: flex; align-items: center; gap: 9px; }
.admin-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 13px; border: 1px solid #dde5f0; border-radius: 9px; color: #667b99; background: #fff; font-size: 10px; font-weight: 750; }
.admin-filter svg { width: 13px; height: 13px; }
.admin-header-actions .primary-button { min-height: 42px; }
.admin-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 29px; }
.admin-kpi { display: flex; align-items: center; gap: 11px; min-height: 102px; padding: 16px; border: 1px solid #e3e9f1; border-radius: 14px; background: #fff; }
.admin-kpi-icon { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 auto; border-radius: 10px; }
.admin-kpi-icon svg { width: 18px; height: 18px; }
.amber-icon { color: #ba8c2c; background: #fff5dc; }
.admin-kpi > div { display: grid; gap: 4px; min-width: 0; }
.admin-kpi small { color: #8794a8; font-size: 9px; font-weight: 700; }
.admin-kpi strong { color: var(--navy-strong); font-size: 20px; letter-spacing: -.04em; }
.kpi-trend { color: #8798ad; font-size: 8px; font-weight: 800; white-space: nowrap; }
.kpi-trend em { color: #a8b1bf; font-style: normal; font-weight: 500; }
.kpi-trend.up { color: #199b79; }
.kpi-trend.warning { color: #c18931; }
.admin-main-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); gap: 16px; margin-top: 17px; }
.admin-panel { min-width: 0; padding: 20px; border: 1px solid #e3e9f1; border-radius: 17px; background: #fff; box-shadow: 0 5px 20px rgba(38,57,83,.025); }
.queue-panel { grid-column: 1; grid-row: span 2; }
.live-ops-panel { grid-column: 2; grid-row: 1; }
.provider-queue-panel { grid-column: 2; grid-row: 2; }
.volume-panel { grid-column: 1 / -1; }
.admin-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.admin-panel-heading h2 { margin: 5px 0 0; color: var(--navy); font-size: 15px; letter-spacing: -.03em; }
.queue-table { margin-top: 17px; }
.queue-row { display: grid; grid-template-columns: minmax(190px, 1.6fr) minmax(105px, .75fr) 64px 58px; align-items: center; gap: 11px; min-height: 61px; border-top: 1px solid #eef2f6; color: #71809a; font-size: 9px; }
.queue-header { min-height: 30px; border-top: 0; color: #a1adbb; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.queue-issue { display: flex; align-items: center; gap: 9px; min-width: 0; }
.queue-issue > span:last-child { display: grid; gap: 4px; min-width: 0; }
.queue-issue strong { overflow: hidden; color: #526783; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.queue-issue small { color: #9da8b6; font-size: 8px; }
.severity { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; }
.severity.high { background: #e47e78; box-shadow: 0 0 0 3px #fff0ee; }
.severity.medium { background: #e2ad4b; box-shadow: 0 0 0 3px #fff8e7; }
.severity.low { background: #5ba5c8; box-shadow: 0 0 0 3px #ebf7fd; }
.queue-owner { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.queue-owner .avatar { width: 22px; height: 22px; font-size: 7px; }
.queue-status { justify-self: start; padding: 4px 5px; border-radius: 4px; font-size: 8px; font-weight: 800; }
.queue-status.urgent { color: #c96661; background: #fff0ef; }
.queue-status.review { color: #b27b25; background: #fff7e6; }
.queue-status.pending { color: #6887b4; background: #eef5ff; }
.row-action { justify-self: end; padding: 4px 0; color: #3272d2; background: transparent; font-size: 9px; font-weight: 800; }
.row-action:hover { color: #154b9d; }
.admin-count { padding: 5px 7px; border-radius: 5px; color: #6f65a9; background: #f0edff; font-size: 8px; font-weight: 800; }
.ops-map { position: relative; height: 169px; overflow: hidden; margin-top: 17px; border: 1px solid #e4edf2; border-radius: 12px; background: #eff8f6; }
.map-grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(#d3e8e4 1px, transparent 1px), linear-gradient(90deg, #d3e8e4 1px, transparent 1px); background-size: 31px 31px; transform: rotate(7deg) scale(1.2); }
.map-road { position: absolute; display: block; height: 7px; border: 1px solid rgba(122,188,181,.42); border-radius: 99px; background: rgba(255,255,255,.75); transform: rotate(-27deg); }
.road-one { top: 42px; left: -25px; width: 260px; }
.road-two { top: 108px; right: -23px; width: 250px; transform: rotate(26deg); }
.road-three { top: 65px; left: 62px; width: 180px; transform: rotate(79deg); }
.map-pin { position: absolute; display: grid; place-items: center; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.95); border-radius: 50% 50% 50% 0; background: #34ae92; box-shadow: 0 4px 10px rgba(45,133,111,.22); transform: rotate(-45deg); }
.map-pin i { width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.pin-one { top: 30px; left: 36px; }.pin-two { top: 91px; left: 176px; background: #dea73c; }.pin-three { right: 42px; bottom: 24px; background: #d87871; }
.map-center-label { position: absolute; top: 58px; left: 50%; display: grid; gap: 1px; place-items: center; width: 75px; height: 52px; border: 1px solid rgba(255,255,255,.8); border-radius: 12px; background: rgba(255,255,255,.82); box-shadow: 0 8px 18px rgba(65,128,119,.1); transform: translateX(-50%); }
.map-center-label strong { color: #217f73; font-size: 19px; letter-spacing: -.04em; }.map-center-label span { color: #769792; font-size: 8px; }
.ops-legend { display: flex; justify-content: space-between; gap: 6px; margin: 13px 0 15px; color: #8695a6; font-size: 8px; }
.ops-legend span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }.ops-legend strong { color: #516981; font-size: 9px; }.legend-dot { width: 6px; height: 6px; border-radius: 50%; }.legend-dot.green { background: #33af90; }.legend-dot.amber { background: #dcaa42; }.legend-dot.red { background: #da7a72; }
.verification-summary { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.verification-ring { display: grid; place-items: center; width: 54px; height: 54px; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(#43b99c 0deg 295deg, #e7f2ee 295deg 360deg); }
.verification-ring::before { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #288d79; background: #fff; content: ""; grid-area: 1 / 1; }.verification-ring span { position: relative; z-index: 1; grid-area: 1 / 1; color: #2b907d; font-size: 11px; font-weight: 800; }
.verification-summary > div:last-child { display: grid; gap: 4px; }.verification-summary strong { color: #576b85; font-size: 10px; }.verification-summary span { color: #9aa6b5; font-size: 8px; line-height: 1.4; }
.market-bars { display: grid; gap: 8px; margin: 17px 0; }.market-bars > div { display: grid; grid-template-columns: 21px 1fr 20px; align-items: center; gap: 7px; color: #8292a5; font-size: 8px; }.market-bars i { height: 5px; overflow: hidden; border-radius: 99px; background: #eef3f6; }.market-bars b { display: block; height: 100%; border-radius: inherit; background: #58bda6; }.market-bars strong { color: #5f748e; font-size: 9px; text-align: right; }
.provider-queue-panel .secondary-button { min-height: 34px; font-size: 9px; }
.volume-panel { display: grid; grid-template-columns: 170px 1fr; column-gap: 25px; }
.volume-panel .admin-panel-heading { grid-column: 1 / -1; }.volume-total { display: grid; align-content: center; gap: 4px; padding-top: 12px; }.volume-total strong { color: var(--navy-strong); font-size: 28px; letter-spacing: -.06em; }.volume-total span { color: #8b99ab; font-size: 9px; }.bar-chart { display: flex; align-items: flex-end; gap: 9px; height: 88px; padding: 12px 7px 0; border-bottom: 1px solid #e8edf3; background: repeating-linear-gradient(to bottom, transparent 0, transparent 28px, #f0f3f6 29px); }.bar-chart span { display: block; width: 100%; min-width: 7px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #67bca8, #a6dfcf); }.chart-labels { display: flex; justify-content: space-between; grid-column: 2; padding: 7px 6px 0; color: #a0abb9; font-size: 8px; }
.admin-footer-note { display: flex; align-items: center; gap: 6px; margin-top: 15px; color: #9aa7b5; font-size: 9px; }.admin-footer-note .text-button { margin-left: auto; font-size: 9px; }

@media (max-width: 1100px) {
  .portal-switcher { margin-top: 11px; }
  .patient-top-grid, .patient-content-grid { grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr); }
  .patient-hero-card { padding: 25px; }.patient-orbit { transform: scale(.82); transform-origin: center right; margin-right: -12px; }
  .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .portal-switcher { display: none; }
  .mobile-role-picker { display: block; }
  .portal-intro { align-items: flex-start; flex-direction: column; gap: 19px; }
  .portal-intro > .primary-button, .portal-intro > .secondary-button { width: 100%; }
  .patient-top-grid, .patient-content-grid { grid-template-columns: 1fr; }
  .patient-hero-card { min-height: 225px; }.patient-profile-card { min-height: auto; }
  .marketplace-view .portal-intro { align-items: flex-start; }.marketplace-layout { grid-template-columns: 1fr; }.match-sidebar { position: static; }
  .search-hero-card { grid-template-columns: 1fr 1fr; }.search-submit { grid-column: 1 / -1; width: 100%; }
  .admin-header-actions { width: 100%; }.admin-header-actions > * { flex: 1; }.admin-main-grid { grid-template-columns: 1fr; }.queue-panel, .live-ops-panel, .provider-queue-panel, .volume-panel { grid-column: 1; grid-row: auto; }.volume-panel { grid-template-columns: 1fr; }.chart-labels { grid-column: 1; }
}

@media (max-width: 520px) {
  .patient-hero-card { padding: 23px 20px; }.patient-orbit { display: none; }.patient-hero-time { flex-wrap: wrap; }.patient-hero-time small { width: 100%; margin-left: 0; }.patient-note { align-items: flex-start; flex-wrap: wrap; }.patient-note .text-button { width: 100%; margin-left: 33px; }.patient-support-banner { align-items: flex-start; flex-wrap: wrap; }.patient-support-banner .secondary-button { width: 100%; margin-left: 45px; }
  .search-hero-card { grid-template-columns: 1fr; padding: 15px; }.search-submit { grid-column: auto; }.provider-card { padding: 15px; }.provider-credential-row { align-items: flex-start; flex-wrap: wrap; gap: 7px 12px; }.provider-credential-row strong { width: 100%; margin-left: 0; }.provider-card-actions { justify-content: stretch; }.provider-card-actions button { flex: 1; }
  .admin-kpi-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.admin-kpi { min-height: 92px; padding: 11px; }.admin-kpi-icon { width: 29px; height: 29px; }.admin-kpi-icon svg { width: 15px; height: 15px; }.admin-kpi strong { font-size: 17px; }.admin-kpi small { font-size: 8px; }.admin-kpi .kpi-trend em { display: none; }.admin-panel { padding: 16px; }.queue-row { grid-template-columns: minmax(0, 1fr) 50px 50px; gap: 7px; }.queue-row .queue-owner { display: none; }.queue-row .row-action { grid-column: 3; grid-row: 1; }.queue-header { grid-template-columns: 1fr 50px 50px; }.queue-header span:nth-child(2) { display: none; }.queue-header span:nth-child(3) { grid-column: 2; }.queue-header span:nth-child(4) { grid-column: 3; }.ops-legend { flex-wrap: wrap; }.admin-footer-note { flex-wrap: wrap; }.admin-footer-note .text-button { width: 100%; margin-left: 0; }
}

/* Provider workspace and reusable product sections */
.provider-eyebrow { color: #4b94a4; }
.provider-intro h1 { margin-top: 8px; }
.provider-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 29px; }
.provider-stat { display: flex; align-items: center; gap: 10px; min-height: 91px; padding: 14px; border: 1px solid #e3e9f1; border-radius: 14px; background: #fff; }
.provider-stat-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 auto; border-radius: 10px; }
.provider-stat-icon svg { width: 17px; height: 17px; }
.provider-stat > div { display: grid; gap: 3px; min-width: 0; }
.provider-stat small { color: #8795a7; font-size: 8px; font-weight: 700; }
.provider-stat strong { color: var(--navy-strong); font-size: 19px; letter-spacing: -.04em; }
.provider-stat span { color: #8fa0b0; font-size: 8px; white-space: nowrap; }
.provider-main-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 16px; margin-top: 17px; }
.provider-shift-card { position: relative; min-height: 316px; overflow: hidden; padding: 23px; border-radius: 18px; color: #fff; background: linear-gradient(128deg, #0d2c5a 0%, #174b78 64%, #227d89 100%); box-shadow: 0 15px 35px rgba(20,71,115,.16); }
.provider-shift-card::after { position: absolute; right: -100px; bottom: -175px; width: 370px; height: 370px; border: 1px solid rgba(129,213,206,.2); border-radius: 50%; content: ""; }
.provider-shift-head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.provider-shift-card h2 { margin: 8px 0 5px; color: #fff; font-size: 18px; letter-spacing: -.03em; }.provider-shift-card p:not(.eyebrow) { margin: 0; color: #a7c4df; font-size: 10px; }
.provider-shift-card .status-pill { color: #d0f7e5; background: rgba(68,190,144,.2); }
.provider-shift-body { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 25px; margin-top: 29px; padding: 16px 0; border-top: 1px solid rgba(215,239,255,.16); border-bottom: 1px solid rgba(215,239,255,.16); }
.shift-time { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }.shift-time strong { font-size: 24px; letter-spacing: -.06em; }.shift-time span { color: #a8cae4; font-size: 9px; font-weight: 700; }.shift-time i { color: #6d9ac0; font-style: normal; }
.provider-shift-card .shift-time strong { color: #fff; }
.shift-location { display: flex; align-items: center; gap: 8px; }.provider-shift-card .location-icon { color: #9ddbd4; background: rgba(119,214,204,.14); }.shift-location span:last-child { display: grid; gap: 3px; }.shift-location strong { color: #d9edff; font-size: 10px; }.shift-location small { color: #99b8d3; font-size: 8px; }
.shift-tasks { position: relative; z-index: 1; margin-top: 16px; }.shift-tasks > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }.shift-task { padding: 6px 8px; border: 1px solid rgba(200,230,247,.17); border-radius: 6px; color: #b4cee3; background: rgba(255,255,255,.06); font-size: 8px; }.shift-task.complete { color: #baf0dd; border-color: rgba(118,222,189,.27); background: rgba(81,193,151,.16); }
.provider-shift-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 18px; }.provider-shift-actions .light-button { min-height: 32px; font-size: 9px; }.provider-shift-actions .quiet-light-button { font-size: 9px; }.provider-shift-actions svg { width: 13px; height: 13px; }
.provider-schedule-card { min-height: 316px; }.route-item { position: relative; display: grid; grid-template-columns: 7px 35px 1fr auto; align-items: center; gap: 8px; min-height: 54px; padding: 4px 0; }.route-line { width: 7px; height: 7px; border-radius: 50%; background: #d5dfea; box-shadow: 0 0 0 3px #f4f7fa; }.route-item.current-route .route-line { background: #39af8f; box-shadow: 0 0 0 3px #e7f8f1; }.route-time { color: #8291a6; font-size: 9px; font-weight: 750; }.route-item > div { display: grid; gap: 4px; min-width: 0; }.route-item strong { overflow: hidden; color: #526784; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.route-item small { overflow: hidden; color: #9ca8b5; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.route-status { padding: 4px 5px; border-radius: 4px; color: #94a0ae; background: #f2f5f8; font-size: 8px; font-weight: 750; }.route-status.now { color: #1a9977; background: #e8f8f1; }.provider-schedule-card .secondary-button { margin-top: 14px; min-height: 35px; font-size: 9px; }
.provider-opportunities-card, .provider-wallet-card, .credential-wallet-card { min-height: 236px; }.opportunity-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; align-items: center; gap: 9px; margin-top: 14px; }.opportunity-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #4b87d8; background: #edf4ff; }.opportunity-icon svg { width: 15px; height: 15px; }.opportunity-row > div { display: grid; gap: 4px; min-width: 0; }.opportunity-row strong { overflow: hidden; color: #586c88; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.opportunity-row small { overflow: hidden; color: #9ba6b5; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.opportunity-pay { color: #39806d; font-size: 10px; font-weight: 800; }.provider-opportunities-card .profile-link { margin-top: 18px; }
.wallet-total { display: grid; gap: 4px; margin-top: 20px; }.wallet-total strong { color: var(--navy); font-size: 27px; letter-spacing: -.06em; }.wallet-total span { color: #209a79; font-size: 9px; font-weight: 700; }.wallet-bar { height: 6px; overflow: hidden; margin-top: 18px; border-radius: 99px; background: #edf1f5; }.wallet-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#3eb897,#86d7bd); }.wallet-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; color: #8f9dab; font-size: 8px; }.wallet-meta strong { color: #6e7e95; }.payout-note { display: flex; align-items: center; gap: 7px; margin-top: 20px; color: #8291a5; font-size: 9px; }.payout-note strong { color: #5a6f8b; }
.credential-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; }.credential-row > div { display: grid; gap: 4px; min-width: 0; }.credential-row strong { overflow: hidden; color: #5b6c83; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.credential-row small { color: #9ba6b5; font-size: 8px; }.credential-check { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; border-radius: 6px; color: #fff; background: #32ae8d; font-size: 10px; font-weight: 800; }.credential-row.expiring .credential-check { color: #a37523; background: #fff1c9; }.credential-row .row-action { margin-left: auto; }.credential-wallet-card .status-pill { font-size: 8px; }

.section-view { padding-top: 40px; }.section-intro { align-items: center; }.section-view .portal-intro h1 { margin-top: 8px; }.section-view .portal-intro + #sectionContent { margin-top: 28px; }.section-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }.section-stat-grid > div { display: grid; gap: 4px; min-height: 93px; padding: 16px; border: 1px solid #e3e9f1; border-radius: 14px; background: #fff; }.section-stat-grid small { color: #8794a8; font-size: 9px; font-weight: 700; }.section-stat-grid strong { color: var(--navy-strong); font-size: 22px; letter-spacing: -.05em; }.section-stat-grid span { color: #91a0b0; font-size: 8px; }.section-grid-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); gap: 16px; }.section-card { min-width: 0; padding: 21px; border: 1px solid #e3e9f1; border-radius: 17px; background: #fff; box-shadow: 0 5px 20px rgba(38,57,83,.025); }.section-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.section-card h2 { margin: 5px 0 0; color: var(--navy); font-size: 16px; letter-spacing: -.03em; }.section-muted { color: #8c99a9; font-size: 10px; line-height: 1.5; }.section-card-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 21px; }.section-card-actions button { min-height: 33px; font-size: 9px; }.request-progress { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-top: 24px; }.request-progress span { position: relative; padding-top: 16px; color: #a1adba; font-size: 8px; }.request-progress span::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; border-radius: 99px; background: #e9eef3; content: ""; }.request-progress .is-done { color: #4f7e9a; }.request-progress .is-done::before { background: #53b49d; }.mini-list { display: grid; gap: 7px; margin-top: 18px; }.mini-list > div { display: flex; align-items: center; gap: 10px; min-height: 45px; padding: 6px 0; border-bottom: 1px solid #eef2f6; }.mini-list > div:last-child { border-bottom: 0; }.mini-list > div > span:nth-child(2), .mini-list > div > span:first-child:not(.mini-date) { display: grid; gap: 4px; min-width: 0; }.mini-list strong { color: #5b6d87; font-size: 10px; }.mini-list small { color: #9ba6b4; font-size: 8px; }.mini-list .queue-status { margin-left: auto; }.mini-date { display: grid; place-items: center; min-width: 30px; color: #91a0b1; font-size: 7px; font-weight: 800; text-align: center; }.mini-date strong { color: #416d9f; font-size: 13px; }
.section-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 13px; }.filter-chips { display: flex; flex-wrap: wrap; gap: 5px; }.filter-chip { min-height: 29px; padding: 0 9px; border: 1px solid #e2e8f0; border-radius: 7px; color: #8998aa; background: #fff; font-size: 9px; font-weight: 750; }.filter-chip.active { color: #2e70d0; border-color: #b8d1ef; background: #eff6ff; }.table-card { padding-bottom: 10px; }.booking-table { margin-top: 17px; }.booking-row { display: grid; grid-template-columns: 1.05fr 1.25fr 1.35fr .85fr 45px; align-items: center; gap: 9px; min-height: 58px; border-top: 1px solid #eef2f6; color: #74849a; font-size: 9px; }.booking-header { min-height: 26px; border-top: 0; color: #a2adba; font-size: 8px; font-weight: 800; letter-spacing: .08em; }.booking-row > span { min-width: 0; }.booking-row > span:not(.queue-status) { display: flex; align-items: center; gap: 6px; }.booking-row strong { color: #536a87; }.booking-row .avatar { width: 23px; height: 23px; font-size: 7px; }.booking-row .row-action { justify-self: end; }
.circle-member, .permission-row, .settings-row { display: flex; align-items: center; gap: 10px; min-height: 56px; border-bottom: 1px solid #eef2f6; }.circle-member:first-of-type { margin-top: 15px; }.circle-member > div, .permission-row > span:nth-child(2), .settings-row > div { display: grid; gap: 4px; min-width: 0; }.circle-member strong, .permission-row strong, .settings-row strong { color: #596c86; font-size: 10px; }.circle-member small, .permission-row small, .settings-row small { overflow: hidden; color: #9aa6b5; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.circle-member .avatar { width: 32px; height: 32px; font-size: 8px; }.member-tag, .permission-on, .permission-off { margin-left: auto; padding: 4px 6px; border-radius: 5px; color: #7186a1; background: #f2f5f9; font-size: 8px; font-weight: 750; }.permission-check { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 6px; color: #fff; background: #35ac8e; font-size: 10px; }.permission-off { color: #9aa6b5; }.permission-on { color: #269777; background: #eaf8f2; }
.messaging-panel { display: grid; grid-template-columns: 270px minmax(0,1fr); min-height: 430px; overflow: hidden; border: 1px solid #e3e9f1; border-radius: 17px; background: #fff; }.conversation-list { padding: 19px 11px; border-right: 1px solid #e9edf3; background: #fbfcfe; }.conversation-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 12px; }.conversation-heading h2 { margin: 0; color: var(--navy); font-size: 14px; }.conversation-heading span { color: #2d78d5; font-size: 8px; font-weight: 800; }.conversation { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 55px; padding: 7px 8px; border-radius: 8px; color: var(--ink); background: transparent; text-align: left; }.conversation:hover, .conversation.active { background: #eef5ff; }.conversation > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }.conversation strong { overflow: hidden; color: #536984; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.conversation small { overflow: hidden; color: #98a4b2; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.conversation .avatar { width: 29px; height: 29px; font-size: 7px; }.conversation i { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: #e17d78; }.conversation-detail { display: flex; flex-direction: column; min-width: 0; }.conversation-detail-head { display: flex; align-items: center; gap: 9px; padding: 18px 21px; border-bottom: 1px solid #eef2f6; }.conversation-detail-head > div { display: grid; gap: 4px; }.conversation-detail-head strong { color: #526783; font-size: 10px; }.conversation-detail-head small { color: #96a3b1; font-size: 8px; }.conversation-detail-head .avatar { width: 31px; height: 31px; font-size: 7px; }.conversation-detail-head .more-button { margin-left: auto; }.message-thread { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; background: #fff; }.message { max-width: 68%; padding: 10px 12px; border-radius: 11px 11px 11px 3px; color: #687a91; background: #f2f6fa; font-size: 9px; line-height: 1.5; }.message.mine { align-self: flex-end; border-radius: 11px 11px 3px 11px; color: #4d6a8e; background: #ebf3ff; }.message-time { margin-top: auto; color: #a1acb8; font-size: 8px; }.message-compose { display: flex; gap: 7px; padding: 13px 18px; border-top: 1px solid #eef2f6; }.message-compose input { min-width: 0; flex: 1; padding: 0 11px; border: 1px solid #e0e7ef; border-radius: 8px; outline: 0; color: #566b88; background: #fbfdff; font-size: 9px; }.message-compose .primary-button { min-height: 34px; padding: 0 12px; font-size: 9px; }
.message-workspace .conversation-detail { min-height: 430px; }
.message-workspace .message-compose textarea { min-width: 0; flex: 1; resize: vertical; }
.appointment-request-panel { box-sizing: border-box; width: min(calc(100% - 36px), 820px); margin: 0 auto 16px; padding: 18px; border: 1px solid #dce9e5; border-radius: 14px; background: #f8fcfb; }
.appointment-request-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; max-width: 760px; margin: 0 auto 14px; }
.appointment-request-heading h3 { margin: 4px 0 3px; color: var(--navy); font-size: 14px; }
.appointment-request-form, .appointment-profile-form { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.appointment-request-form select, .appointment-request-form input, .appointment-request-form textarea, .appointment-profile-form input, .appointment-profile-form select { width: 100%; }
.appointment-slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); gap: 8px; }
.appointment-slot-list .button { width: 100%; min-height: 40px; }
.appointment-slot-list .button.active { color: #fff; border-color: var(--brand); background: var(--brand); }
.appointment-request-panel .loading-panel { min-height: 38px; padding: 8px; }
.appointment-request-panel .notice { margin: 0; }
.appointment-tabs { display: flex; gap: 4px; margin: 4px 0 2px; padding: 4px; border: 1px solid #dfe9e6; border-radius: 10px; background: #eef7f4; }
.appointment-tab { flex: 1; min-height: 34px; border: 0; border-radius: 7px; color: #6d8290; background: transparent; font-size: 9px; font-weight: 800; }
.appointment-tab.active { color: var(--navy); background: #fff; box-shadow: 0 2px 7px rgba(39,69,84,.08); }
.appointment-calendar-tab, .appointment-details-tab { box-sizing: border-box; min-width: 0; padding: 16px; border: 1px solid #deebe7; border-radius: 12px; background: #fff; }
.appointment-calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.appointment-calendar-toolbar > div:first-child { display: grid; gap: 4px; }
.appointment-calendar-toolbar strong { color: var(--navy); font-size: 13px; }
.appointment-calendar-nav { display: flex; align-items: center; gap: 4px; }
.appointment-calendar-nav .button { min-width: 30px; }
.appointment-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 740px; margin: 15px auto 0; }
.appointment-calendar-weekday { padding: 4px 2px; color: #9aa8b2; font-size: 8px; font-weight: 800; text-align: center; text-transform: uppercase; }
.appointment-calendar-day { display: grid; align-content: space-between; justify-items: center; gap: 4px; min-height: 43px; padding: 6px 3px; border: 1px solid #e7efed; border-radius: 8px; color: #60758a; background: #fff; font-size: 10px; font-weight: 750; }
.appointment-calendar-day:hover:not(:disabled) { border-color: #a9d8ca; background: #f4fbf8; }
.appointment-calendar-day.today { border-color: #73c6ae; box-shadow: 0 0 0 2px rgba(83,180,157,.12); }
.appointment-calendar-day.selected { color: #fff; border-color: var(--brand); background: var(--brand); }
.appointment-calendar-day.muted { color: #c4ced3; background: #fafcfc; }
.appointment-calendar-day:disabled { cursor: default; opacity: .7; }
.appointment-calendar-day i { min-width: 14px; padding: 1px 3px; border-radius: 99px; color: #2b9a7b; background: #e4f7ef; font-size: 7px; font-style: normal; line-height: 1.2; }
.appointment-calendar-day.selected i { color: var(--brand); background: #fff; }
.appointment-day-slots { display: grid; gap: 10px; max-width: 740px; margin: 16px auto 0; padding-top: 14px; border-top: 1px solid #edf3f1; }
.appointment-day-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.appointment-day-heading strong { color: var(--navy); font-size: 11px; }
.appointment-day-heading span { color: #98a8b1; font-size: 8px; }
.appointment-request-form > .button.button-primary { width: 100%; max-width: 760px; margin: 0 auto; }
.appointment-details-tab { display: grid; gap: 13px; }
.appointment-summary { display: grid; gap: 5px; padding: 12px; border-radius: 9px; background: #f1f8f5; }
.appointment-summary span { color: #89a096; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.appointment-summary strong { color: var(--navy); font-size: 11px; }
.calendar-shell { min-height: 410px; }.calendar-toolbar { display: flex; align-items: center; gap: 8px; }.calendar-toolbar h2 { margin: 0 7px; }.calendar-toolbar .secondary-button { min-height: 31px; margin-left: auto; padding: 0 10px; font-size: 9px; }.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 22px; padding-bottom: 14px; border-bottom: 1px solid #edf1f5; }.week-strip span { display: grid; gap: 6px; place-items: center; padding: 8px 3px; border-radius: 8px; color: #9aa6b5; font-size: 8px; font-weight: 800; }.week-strip strong { color: #5c6f8b; font-size: 14px; }.week-strip .selected { color: #fff; background: #2d72de; }.week-strip .selected strong { color: #fff; }.calendar-timeline { display: grid; grid-template-columns: 51px 1fr; align-items: center; row-gap: 8px; margin-top: 19px; color: #9ca8b6; font-size: 8px; }.calendar-event { display: grid; gap: 4px; padding: 10px 12px; border-left: 3px solid #4e91e6; border-radius: 7px; background: #eef5ff; }.calendar-event strong { color: #4e6e99; font-size: 9px; }.calendar-event small { color: #8c9db2; font-size: 8px; }.teal-event { border-color: #47b99e; background: #effaf6; }.teal-event strong { color: #478a79; }.lilac-event { border-color: #8e7dd2; background: #f4f1ff; }.lilac-event strong { color: #7466ac; }.calendar-empty { padding: 12px; border: 1px dashed #e1e7ee; border-radius: 7px; color: #a3adba; background: #fcfdfe; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }.help-card { position: relative; min-height: 170px; padding: 19px; border: 1px solid #e3eaf2; border-radius: 15px; color: var(--ink); background: #fff; text-align: left; transition: .18s ease; }.help-card:hover { border-color: #adc9ed; background: #f8fbff; transform: translateY(-2px); }.help-card > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #377ad3; background: #edf4ff; font-size: 16px; font-weight: 800; }.help-card strong, .help-card small { display: block; }.help-card strong { margin-top: 18px; color: #526985; font-size: 11px; }.help-card small { max-width: 170px; margin-top: 5px; color: #9aa6b4; font-size: 9px; line-height: 1.45; }.help-card b { position: absolute; right: 18px; bottom: 18px; color: #3b77cf; font-size: 15px; }
.settings-shell { padding: 5px 21px; }.settings-row { min-height: 70px; }.settings-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: #4e81ca; background: #edf4ff; font-size: 15px; }.settings-row .row-action { margin-left: auto; }.profile-settings-hero { display: flex; align-items: center; gap: 11px; min-height: 75px; border-bottom: 1px solid #eef2f6; }.profile-settings-hero > div { display: grid; gap: 4px; }.profile-settings-hero strong { color: #4f6380; font-size: 12px; }.profile-settings-hero small { color: #9aa6b4; font-size: 9px; }.profile-settings-hero .primary-button { margin-left: auto; min-height: 32px; padding: 0 10px; font-size: 9px; }
.empty-section { display: grid; place-items: center; min-height: 250px; padding: 25px; border: 1px dashed #dbe5ee; border-radius: 17px; color: #6f829d; background: #fbfdff; text-align: center; }.empty-section > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #3274d3; background: #eaf2ff; font-size: 18px; }.empty-section h2 { margin: 15px 0 5px; color: var(--navy); font-size: 16px; }.empty-section p { color: #95a1b1; font-size: 10px; }.empty-section .primary-button { min-height: 34px; font-size: 9px; }
.provider-opportunities-card .admin-count { color: #5c7fac; background: #edf4ff; }
.opportunity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.opportunity-card { padding: 17px; border: 1px solid #e1e8f0; border-radius: 14px; background: #fff; }.opportunity-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #4a987e; font-size: 9px; font-weight: 800; }.opportunity-card h2 { margin: 17px 0 6px; color: #526783; font-size: 13px; }.opportunity-card p { margin: 0 0 5px; color: #75869d; font-size: 9px; }.opportunity-card > small { display: block; min-height: 28px; color: #a0a9b7; font-size: 8px; }.opportunity-card > div:last-child { display: flex; gap: 6px; margin-top: 18px; }.opportunity-card .primary-button, .opportunity-card .secondary-button { min-height: 31px; padding: 0 9px; font-size: 8px; }
.big-bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 115px; margin-top: 24px; padding: 12px 8px 0; border-bottom: 1px solid #e8edf3; background: repeating-linear-gradient(to bottom, transparent 0, transparent 33px, #f0f3f6 34px); }.big-bar-chart span { display: block; width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #55baa2, #a7dfd0); }.earnings-chart-card .chart-labels { grid-column: auto; padding: 7px 8px 0; }
.credential-health { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; padding: 17px; border: 1px solid #dcefe8; border-radius: 14px; background: #f4fcf9; }.credential-health > div:nth-child(2) { display: grid; gap: 5px; min-width: 0; }.credential-health strong { color: #3e7e70; font-size: 11px; }.credential-health > div:nth-child(2) span { color: #829d97; font-size: 9px; line-height: 1.4; }.credential-health .primary-button { margin-left: auto; min-height: 33px; white-space: nowrap; font-size: 9px; }
.provider-booking-table .booking-row { grid-template-columns: 1fr 1.3fr 1.2fr .9fr 42px; }.admin-provider-table .booking-row { grid-template-columns: 1.4fr 1fr 1.15fr .6fr 44px; }.admin-booking-table .booking-row { grid-template-columns: 1.3fr 1fr 1fr .8fr 44px; }
.mood-options { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0; }.mood-option { padding: 8px 9px; border: 1px solid #e1e8ef; border-radius: 7px; color: #71849b; background: #fff; font-size: 9px; }.mood-option:hover { border-color: #aac7eb; background: #eff6ff; }
.preference-chip-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 21px 0; }.preference-chip-list span { padding: 7px 8px; border-radius: 6px; color: #5d80ab; background: #eef5ff; font-size: 9px; font-weight: 700; }.permission-row .permission-on, .permission-row .permission-off { margin-left: auto; }
.plan-detail-row { display: flex; align-items: center; gap: 10px; min-height: 58px; border-bottom: 1px solid #eef2f6; }.plan-detail-row > span { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid #cbd5e1; border-radius: 6px; color: transparent; font-size: 10px; }.plan-detail-row.is-complete > span { border-color: #37ad8e; color: #fff; background: #37ad8e; }.plan-detail-row > div { display: grid; gap: 4px; }.plan-detail-row strong { color: #5e718b; font-size: 10px; }.plan-detail-row small { color: #99a5b4; font-size: 8px; }.plan-detail-row em { margin-left: auto; color: #3886d7; font-size: 8px; font-style: normal; font-weight: 800; }
.risk-score { display: flex; align-items: baseline; gap: 3px; margin-top: 21px; }.risk-score strong { color: #1f9b78; font-size: 36px; letter-spacing: -.08em; }.risk-score span { color: #9aa8b6; font-size: 11px; }.risk-track { height: 7px; overflow: hidden; margin-top: 10px; border-radius: 99px; background: #eaf1ee; }.risk-track span { display: block; height: 100%; border-radius: inherit; background: #3ab08f; }.exception-row { display: flex; align-items: center; gap: 9px; min-height: 58px; border-bottom: 1px solid #eef2f6; }.exception-row > div { display: grid; gap: 4px; min-width: 0; }.exception-row strong { overflow: hidden; color: #5b6e88; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.exception-row small { color: #99a6b4; font-size: 8px; }.exception-row .queue-status { margin-left: auto; }.money-row { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid #eef2f6; color: #8291a3; font-size: 10px; }.money-row strong { color: #526984; }.money-row.total { margin-top: 4px; border-bottom: 0; color: #5a6d87; font-weight: 800; }.money-row.total strong { color: #1d9877; font-size: 15px; }.money-negative { color: #d07a70 !important; }.audit-row { display: grid; grid-template-columns: 57px 27px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 65px; border-bottom: 1px solid #eef2f6; }.audit-time { color: #9aa6b3; font-size: 8px; }.audit-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; font-size: 13px; font-weight: 800; }.audit-row > div { display: grid; gap: 4px; min-width: 0; }.audit-row strong { color: #596c87; font-size: 10px; }.audit-row small { overflow: hidden; color: #9aa6b4; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.audit-code { color: #8492a2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; }
.large-ops-map { position: relative; height: 220px; overflow: hidden; margin: 17px 0; border: 1px solid #e4edf2; border-radius: 12px; background: #eff8f6; }.admin-section-grid .command-map-card .map-center-label { top: 77px; }.admin-section-grid .command-map-card .map-pin.pin-two { left: 60%; }

@media (max-width: 1100px) {
  .provider-stats { grid-template-columns: repeat(2, 1fr); }.provider-main-grid { grid-template-columns: minmax(0, 1.1fr) minmax(235px, .9fr); }.opportunity-grid { grid-template-columns: 1fr; }.opportunity-card > div:last-child { justify-content: flex-end; }.section-grid-two { grid-template-columns: minmax(0, 1fr) minmax(240px, .85fr); }
}

@media (max-width: 820px) {
  .provider-stats, .section-stat-grid { grid-template-columns: repeat(2, 1fr); }.provider-main-grid, .section-grid-two { grid-template-columns: 1fr; }.provider-shift-card { min-height: auto; }.section-view { padding-top: 31px; }.section-toolbar { align-items: flex-start; flex-direction: column; }.section-toolbar > * { width: 100%; }.section-toolbar .primary-button, .section-toolbar .secondary-button { width: 100%; }.messaging-panel { grid-template-columns: 1fr; }.conversation-list { border-right: 0; border-bottom: 1px solid #e9edf3; }.conversation { width: 48%; display: inline-flex; }.conversation-detail { min-height: 350px; }.help-grid { grid-template-columns: 1fr; }.help-card { min-height: 135px; }.credential-health { align-items: flex-start; flex-wrap: wrap; }.credential-health .primary-button { width: 100%; margin-left: 0; }.booking-row { grid-template-columns: 1fr 1.3fr .9fr 42px; }.booking-row > span:nth-child(3) { display: none !important; }.booking-header span:nth-child(3) { display: none; }.booking-header { grid-template-columns: 1fr 1.3fr .9fr 42px; }.booking-row .queue-status { justify-self: start; }.audit-row { grid-template-columns: 48px 27px minmax(0,1fr); }.audit-code { display: none; }
}

@media (max-width: 520px) {
  .provider-stats, .section-stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.provider-stat { min-height: 83px; padding: 10px; }.provider-stat-icon { width: 27px; height: 27px; }.provider-stat-icon svg { width: 14px; height: 14px; }.provider-stat strong { font-size: 16px; }.provider-stat small { font-size: 8px; }.provider-stat span { font-size: 7px; }.provider-shift-card { padding: 19px; }.provider-shift-body { grid-template-columns: 1fr; gap: 12px; }.provider-shift-actions { align-items: flex-start; flex-direction: column; gap: 4px; }.section-view .portal-intro > .secondary-button { width: 100%; }.section-card { padding: 16px; }.request-progress { grid-template-columns: repeat(2,1fr); row-gap: 14px; }.request-progress span:nth-child(n+3) { margin-top: 2px; }.section-card-actions { flex-direction: column; }.section-card-actions button { width: 100%; }.booking-row { min-height: 68px; }.booking-row { grid-template-columns: 1fr 1.35fr .85fr 37px; gap: 6px; }.booking-row span { font-size: 8px; }.booking-row .queue-status { padding: 4px; font-size: 7px; }.booking-header { min-height: 27px; font-size: 7px; }.conversation { width: 100%; }.message { max-width: 85%; }.calendar-shell { padding: 14px; overflow: hidden; }.week-strip { gap: 2px; }.week-strip span { font-size: 7px; }.week-strip strong { font-size: 12px; }.calendar-toolbar h2 { font-size: 14px; }.calendar-timeline { grid-template-columns: 42px 1fr; }.settings-shell { padding: 3px 15px; }.settings-row { min-height: 63px; }.profile-settings-hero { flex-wrap: wrap; padding: 8px 0; }.profile-settings-hero .primary-button { width: 100%; margin-left: 0; }.admin-section-grid .command-map-card .map-center-label { left: 50%; }
}

/* Sign-in surface for the clickable product demo */
.auth-screen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); min-height: 100vh; background: #fff; }

/* Final phone layout overrides. Keep these after the desktop auth rules so a
   later desktop declaration cannot reintroduce a fixed-width column. */
@media (max-width: 850px) {
    .auth-screen {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        width: 100%;
        overflow: hidden;
    }
    .auth-screen .auth-panel { order: 1; min-width: 0; }
    .auth-screen .auth-visual { order: 2; min-height: 315px; padding: 28px 24px 30px; }
    .auth-screen .auth-visual-copy { padding-bottom: 25px; }
    .auth-screen .auth-visual-copy h2 { font-size: clamp(26px, 7vw, 33px); }
    .auth-screen .auth-panel.auth-panel-inner { min-width: 0; padding: 38px 24px 48px; }
    .auth-screen .auth-panel-inner > .auth-copy,
    .auth-screen .auth-panel-inner > .login-form,
    .auth-screen .auth-panel-inner > .notice,
    .auth-screen .auth-panel-inner > .auth-switch,
    .auth-screen .auth-panel-inner > .auth-security-note,
    .auth-screen .auth-panel-inner > .auth-footnote { max-width: 430px; width: 100%; }
}

@media (max-width: 700px) {
    .site-nav {
        align-items: center;
        display: grid;
        gap: 10px 12px;
        grid-template-columns: minmax(0, 1fr) auto;
        max-width: none;
        padding: 12px 14px;
        width: 100%;
    }
    .site-nav .brand { min-width: 0; }
    .site-nav .brand-logo { height: 38px; max-width: 112px; width: 112px; }
    .site-nav nav {
        display: grid;
        flex: none;
        gap: 4px;
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
        overflow: visible;
        width: 100%;
    }
    .site-nav nav a { font-size: .72rem; min-width: 0; padding: 8px 5px; text-align: center; white-space: normal; }
    .nav-actions { flex-shrink: 0; gap: 5px; margin-left: auto; }
    .nav-actions .button { min-height: 39px; padding: 8px 10px; width: auto; }
    .site-main { max-width: 100%; min-width: 0; padding: 22px 14px 54px; }
    .site-footer { max-width: 100%; padding: 22px 14px 30px; }
}

@media (max-width: 520px) {
    .auth-screen .auth-panel.auth-panel-inner { padding: 30px 16px 38px; }
    .auth-screen .auth-panel-inner h1 { font-size: clamp(2rem, 10vw, 2.5rem); }
    .auth-screen .auth-visual { min-height: 285px; padding: 22px 18px 25px; }
    .auth-screen .auth-visual-brand { height: 52px; width: 150px; }
    .auth-screen .auth-visual-copy h2 { font-size: 24px; }
    .auth-screen .auth-visual-copy > p { font-size: 11px; }
}

/* Provider management detail workspace: the admin needs the full marketplace
   record in one place, including patient experience and listing readiness. */
.admin-provider-rich-detail { display: grid; gap: 18px; min-width: 0; }
.admin-detail-status-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.admin-online-pill { color: #2d8f75; font-size: 10px; font-weight: 800; }
.admin-provider-rich-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.admin-provider-rich-stats > div { display: grid; gap: 4px; min-width: 0; }
.admin-provider-rich-stats > div > span { color: #91a0b2; font-size: 9px; line-height: 1.4; }
.admin-provider-rich-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-rich-card { min-width: 0; padding: 19px; border: 1px solid #e3ebf4; border-radius: 16px; background: #fff; }
.admin-rich-card h4 { margin: 3px 0 0; color: var(--navy); font-size: 15px; letter-spacing: -.02em; }
.admin-rich-card p:not(.eyebrow) { margin: 0; color: #687c96; font-size: 11px; line-height: 1.65; }
.admin-detail-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.admin-detail-section-heading > span { flex: 0 0 auto; color: #8293aa; font-size: 10px; font-weight: 750; text-align: right; }
.admin-detail-facts { display: grid; gap: 12px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 19px; padding-top: 16px; border-top: 1px solid #edf2f7; }
.admin-detail-facts > div, .admin-provider-identifiers-compact > div { display: grid; gap: 4px; min-width: 0; }
.admin-detail-facts small, .admin-provider-identifiers-compact small { color: #91a0b2; font-size: 9px; font-weight: 700; }
.admin-detail-facts strong, .admin-provider-identifiers-compact strong { overflow-wrap: anywhere; color: #415a79; font-size: 10px; line-height: 1.4; }
.admin-chip-list { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-info-chip { padding: 7px 10px; border: 1px solid #d7e6fa; border-radius: 999px; color: #286bc9; background: #f2f7ff; font-size: 10px; font-weight: 750; }
.admin-empty-copy { color: #91a0b2 !important; }
.admin-provider-services, .admin-provider-experience { overflow: hidden; }
.admin-service-table { display: grid; overflow-x: auto; min-width: 610px; }
.admin-service-table-head, .admin-service-table-row { display: grid; grid-template-columns: minmax(180px, 1.45fr) minmax(120px, 1fr) minmax(80px, .65fr) minmax(130px, 1fr); gap: 14px; align-items: center; }
.admin-service-table-head { padding: 0 0 8px; border-bottom: 1px solid #e9eff5; color: #91a0b2; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.admin-service-table-row { padding: 12px 0; border-bottom: 1px solid #eef3f7; color: #5c718e; font-size: 10px; line-height: 1.4; }
.admin-service-table-row:last-child { border-bottom: 0; }
.admin-service-table-row > span { min-width: 0; }
.admin-service-table-row strong, .admin-service-table-row small { display: block; }
.admin-service-table-row strong { color: var(--navy); font-size: 11px; }
.admin-service-table-row small { margin-top: 3px; color: #91a0b2; font-size: 9px; }
.admin-rating-layout { display: grid; gap: 28px; grid-template-columns: minmax(150px, .4fr) minmax(0, 1fr); align-items: center; padding: 17px; border: 1px solid #e8eff6; border-radius: 13px; background: #fbfdff; }
.admin-rating-hero { display: grid; gap: 4px; text-align: center; }
.admin-rating-hero strong { color: var(--navy); font-size: 42px; letter-spacing: -.08em; line-height: 1; }
.admin-rating-hero small, .admin-rating-hero > span:last-child { color: #8698ae; font-size: 9px; }
.admin-stars { color: #eca83a !important; font-size: 15px !important; letter-spacing: 1px; }
.admin-rating-breakdown { display: grid; gap: 8px; }
.admin-rating-breakdown > div { display: grid; grid-template-columns: 35px minmax(0, 1fr) 24px; gap: 9px; align-items: center; color: #637895; font-size: 9px; }
.admin-rating-breakdown small { color: #8b9bb0; font-size: 9px; text-align: right; }
.admin-rating-bar { height: 7px; overflow: hidden; border-radius: 999px; background: #e9eff5; }
.admin-rating-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #efad46, #f6c766); }
.admin-review-list { display: grid; gap: 10px; margin-top: 15px; }
.admin-review-card { padding: 15px; border: 1px solid #e7edf4; border-radius: 13px; background: #fff; }
.admin-review-card-head { display: flex; justify-content: space-between; gap: 12px; }
.admin-review-card-head > div { display: grid; gap: 4px; }
.admin-review-card-head strong { color: var(--navy); font-size: 11px; }
.admin-review-card-head small { color: #8b9bb0; font-size: 9px; }
.admin-review-score { flex: 0 0 auto; color: #e9a33a; font-size: 12px; letter-spacing: .5px; white-space: nowrap; }
.admin-review-score b { margin-left: 3px; color: var(--navy); font-size: 10px; letter-spacing: 0; }
.admin-review-card p { margin: 11px 0 12px !important; color: #526985 !important; font-size: 11px !important; font-style: italic; }
.admin-review-dimensions { display: flex; flex-wrap: wrap; gap: 6px 12px; color: #8a9aae; font-size: 9px; }
.admin-review-card > .admin-status-chip { display: inline-flex; margin-top: 10px; }
.admin-area-list, .admin-qualification-list { display: grid; gap: 0; }
.admin-area-list > div, .admin-qualification-list > div { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid #edf2f7; }
.admin-area-list > div:first-child, .admin-qualification-list > div:first-child { padding-top: 0; }
.admin-area-list > div:last-child, .admin-qualification-list > div:last-child { border-bottom: 0; }
.admin-area-list strong, .admin-qualification-list strong { color: var(--navy); font-size: 11px; }
.admin-area-list small, .admin-qualification-list small { color: #8a9aae; font-size: 9px; }
.admin-availability-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #edf2f7; }
.admin-availability-list span { padding: 6px 8px; border-radius: 7px; color: #617895; background: #f4f8fc; font-size: 9px; }
.admin-availability-list strong { color: var(--navy); }
.admin-provider-identifiers-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 17px; padding-top: 15px; }
.admin-document-list, .admin-validation-list { display: grid; gap: 0; }
.admin-document-row, .admin-validation-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #edf2f7; }
.admin-document-row:last-child, .admin-validation-row:last-child { border-bottom: 0; }
.admin-document-row > span:nth-child(2), .admin-validation-row > span:first-child { display: grid; gap: 4px; min-width: 0; }
.admin-document-row strong, .admin-validation-row strong { overflow: hidden; color: var(--navy); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-document-row small, .admin-validation-row small { overflow: hidden; color: #8a9aae; font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.admin-document-icon { display: grid; place-items: center; width: 28px; height: 32px; border-radius: 8px; color: #286bd3; background: #edf4ff; font-size: 16px; }
.admin-validation-row { grid-template-columns: minmax(0, 1fr) auto auto; }
.provider-document-summary { margin: 16px 0; padding: 13px 15px; border: 1px solid #e2ebf4; border-radius: 12px; background: #fbfdff; }
.provider-document-summary .builder-section-heading { margin-bottom: 4px; }
.provider-document-summary .builder-section-heading > span { color: #7e91aa; font-size: 11px; font-weight: 800; }
.provider-document-list { display: grid; gap: 0; }
.provider-document-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #edf2f7; }
.provider-document-list > div > span:first-child { display: grid; gap: 3px; min-width: 0; }
.provider-document-list strong { color: var(--navy); font-size: 11px; }
.provider-document-list small { overflow: hidden; color: #8a9aae; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1180px) {
    .admin-provider-rich-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .admin-provider-rich-grid { grid-template-columns: 1fr; }
    .admin-rating-layout { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 720px) {
    .admin-provider-rich-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-detail-facts { grid-template-columns: 1fr; }
    .admin-provider-identifiers-compact { grid-template-columns: 1fr; }
    .admin-service-table { min-width: 560px; }
    .admin-document-row, .admin-validation-row { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
    .admin-document-row > .admin-status-chip, .admin-validation-row > .admin-status-chip { grid-column: 2; justify-self: start; }
    .admin-document-row > .admin-credential-actions, .admin-validation-row > .admin-credential-actions { grid-column: 2; justify-self: start; }
}

/* Super-admin control room: one visual system for overview, people and provider
   operations. These styles intentionally override the older reference panels
   without changing the public marketplace surfaces. */
.admin-control-room {
    width: min(1380px, calc(100% - 76px));
    margin: 0 auto;
    padding: 38px 0 64px;
    color: #162844;
}
.admin-hero-panel {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    padding: 4px 0 25px;
}
.admin-hero-panel h1 {
    max-width: 680px;
    margin: 8px 0 9px;
    color: #102b56;
    font-size: clamp(33px, 4vw, 52px);
    letter-spacing: -.065em;
    line-height: 1;
}
.admin-hero-panel p:not(.eyebrow) { max-width: 650px; margin: 0; color: #74849a; font-size: 13px; line-height: 1.6; }
.admin-hero-actions { display: flex; align-items: center; gap: 14px; padding-bottom: 4px; }
.admin-live-indicator, .admin-health-badge { display: inline-flex; align-items: center; gap: 7px; color: #3c8373; font-size: 10px; font-weight: 800; white-space: nowrap; }
.admin-live-indicator i, .admin-health-badge i { width: 7px; height: 7px; border-radius: 50%; background: #31b18e; box-shadow: 0 0 0 4px #e4f7f0; }
.admin-snapshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.admin-snapshot-card { display: flex; align-items: center; gap: 13px; min-height: 108px; padding: 18px; border: 1px solid #e3eaf2; border-radius: 17px; background: #fff; box-shadow: 0 9px 25px rgba(31, 58, 96, .045); }
.snapshot-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; font-size: 19px; font-weight: 800; }
.snapshot-icon.blue { color: #2b70dc; background: #eaf2ff; }
.snapshot-icon.teal { color: #1e9a7e; background: #e6f7f1; }
.snapshot-icon.amber { color: #bd762a; background: #fff3dd; }
.snapshot-icon.violet { color: #7666bd; background: #f0edff; }
.admin-snapshot-card > div { display: grid; gap: 4px; min-width: 0; }
.admin-snapshot-card small { color: #7b8ba0; font-size: 10px; font-weight: 750; }
.admin-snapshot-card strong { color: #132e59; font-size: 27px; letter-spacing: -.06em; line-height: 1; }
.admin-snapshot-card span:last-child { overflow: hidden; color: #9aa7b7; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-control-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 16px; margin-top: 16px; }
.admin-control-grid-lower { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); }
.admin-panel { min-width: 0; padding: 23px; border: 1px solid #e3eaf2; border-radius: 19px; background: #fff; box-shadow: 0 9px 25px rgba(31, 58, 96, .04); }
.admin-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.admin-panel-heading h2 { margin: 5px 0 4px; color: #17345f; font-size: 18px; letter-spacing: -.04em; }
.admin-panel-heading .section-muted { max-width: 450px; margin: 0; }
.admin-queue-count { display: grid; place-items: center; min-width: 32px; height: 32px; border-radius: 50%; color: #a76520; background: #fff0d4; font-size: 12px; font-weight: 850; }
.admin-attention-list { display: grid; gap: 0; margin-top: 18px; }
.admin-attention-row { display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 14px 0; border-top: 1px solid #edf2f6; color: inherit; text-decoration: none; }
.admin-attention-row:hover { color: #1e61bf; }
.attention-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; font-size: 14px; font-weight: 850; }
.attention-icon.amber { color: #b66d20; background: #fff3df; }
.attention-icon.blue { color: #2e70d5; background: #ebf3ff; }
.attention-icon.teal { color: #268e76; background: #e6f7f1; }
.attention-icon.violet { color: #7661ba; background: #f1edff; }
.admin-attention-row > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.admin-attention-row strong { color: #3d5675; font-size: 12px; }
.admin-attention-row small { color: #8b9aac; font-size: 10px; line-height: 1.45; }
.admin-attention-row b { color: #3f7bce; font-size: 17px; }
.admin-readiness-list { display: grid; gap: 20px; margin-top: 22px; }
.admin-readiness-list > div > div:first-child { display: flex; justify-content: space-between; gap: 12px; color: #596f8c; font-size: 11px; font-weight: 750; }
.admin-readiness-list strong { color: #2c72d9; }
.admin-progress { height: 7px; overflow: hidden; margin-top: 9px; border-radius: 99px; background: #edf2f6; }
.admin-progress span { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: linear-gradient(90deg, #2b71df, #35b496); }
.admin-readiness-list small { display: block; margin-top: 6px; color: #929ead; font-size: 9px; }
.admin-text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 19px; color: #2d6fd2; font-size: 10px; font-weight: 800; text-decoration: none; }
.admin-text-link:hover { color: #1e4e9b; }
.admin-text-link span { font-size: 15px; }
.admin-health-badge { padding: 7px 9px; border-radius: 999px; background: #edf9f4; }
.admin-people-snapshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 21px; }
.admin-people-snapshot-grid > div { display: grid; gap: 5px; padding: 13px; border: 1px solid #edf1f5; border-radius: 12px; background: #fbfdff; }
.admin-people-snapshot-grid strong { color: #1d3d68; font-size: 23px; letter-spacing: -.05em; }
.admin-people-snapshot-grid span { color: #607793; font-size: 10px; font-weight: 750; }
.admin-people-snapshot-grid small { color: #9aa7b6; font-size: 8px; }
.admin-callout { display: flex; align-items: flex-start; gap: 9px; margin-top: 17px; padding: 12px; border: 1px solid #dcefe8; border-radius: 11px; background: #f3fbf8; }
.admin-callout > span { color: #1e9a7e; font-size: 16px; }
.admin-callout > div { display: grid; gap: 4px; }
.admin-callout strong { color: #3e796c; font-size: 10px; }
.admin-callout small { color: #7d9d95; font-size: 9px; line-height: 1.4; }
.admin-period-badge { padding: 6px 8px; border-radius: 6px; color: #8190a4; background: #f3f6f9; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.admin-activity-list { display: grid; gap: 0; margin-top: 14px; }
.admin-activity-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf2f6; color: #72839a; font-size: 10px; }
.admin-activity-list > div:last-child { border-bottom: 0; }
.admin-activity-list strong { color: #234c80; font-size: 15px; }
.admin-quick-actions { display: grid; grid-template-columns: minmax(190px, .9fr) repeat(4, minmax(0, 1fr)); gap: 10px; align-items: stretch; margin-top: 16px; }
.admin-quick-actions > div { display: grid; align-content: center; padding: 10px 3px; }
.admin-quick-actions h2 { margin: 6px 0 0; color: #17345f; font-size: 18px; letter-spacing: -.04em; }
.admin-quick-actions > a { display: grid; gap: 5px; padding: 15px; border: 1px solid #e3eaf2; border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: .18s ease; }
.admin-quick-actions > a:hover { border-color: #b6cff0; box-shadow: 0 8px 18px rgba(31,58,96,.06); transform: translateY(-1px); }
.admin-quick-actions > a > span { color: #2d72d8; font-size: 18px; }
.admin-quick-actions strong { color: #425c7c; font-size: 10px; }
.admin-quick-actions small { color: #9aa8b7; font-size: 8px; }

.admin-section-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.admin-section-toolbar h2 { margin: 6px 0 5px; color: #17345f; font-size: 24px; letter-spacing: -.045em; }
.admin-section-toolbar .section-muted { max-width: 690px; margin: 0; }
.admin-toolbar-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.admin-people-metrics, .admin-provider-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-bottom: 16px; }
.admin-people-metrics > article, .admin-provider-metrics > article { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 9px; min-height: 82px; padding: 14px; border: 1px solid #e3eaf2; border-radius: 14px; background: #fff; }
.admin-metric-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; color: #2c70d7; background: #eaf2ff; font-size: 14px; }
.admin-metric-icon.teal, .admin-metric-icon.active-icon { color: #218e76; background: #e5f7f0; }
.admin-metric-icon.family-icon { color: #7865bb; background: #f1edff; }
.admin-metric-icon.patient-icon { color: #b26c25; background: #fff2dc; }
.admin-people-metrics > article > div, .admin-provider-metrics > article { gap: 3px; }
.admin-people-metrics small, .admin-provider-metrics small { color: #7f90a5; font-size: 9px; font-weight: 750; }
.admin-people-metrics strong, .admin-provider-metrics strong { color: #193861; font-size: 22px; letter-spacing: -.05em; line-height: 1; }
.admin-people-metrics span, .admin-provider-metrics span { color: #9aa7b7; font-size: 8px; }
.admin-people-layout, .admin-provider-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: 15px; }
.admin-people-list-panel, .admin-provider-panel { padding: 18px; }
.admin-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 3px 2px 15px; }
.admin-list-heading h3 { margin: 0 0 4px; color: #233f65; font-size: 14px; }
.admin-list-heading span:not(.inline-spinner) { color: #929eac; font-size: 9px; }
.inline-spinner { width: 15px; height: 15px; border: 2px solid #dbe8fa; border-top-color: #2b70d9; border-radius: 50%; animation: landing-results-spin .8s linear infinite; }
.admin-people-filters, .admin-provider-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 7px; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #edf2f6; }
.admin-search-field { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 37px; padding: 0 10px; border: 1px solid #dce5ee; border-radius: 9px; color: #5b93d2; background: #fbfdff; }
.admin-search-field > span { font-size: 18px; }
.admin-search-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: #4b6380; background: transparent; font: inherit; font-size: 10px; }
.admin-search-field input::placeholder { color: #9ba9b8; }
.admin-people-filters select, .admin-provider-toolbar select { min-height: 37px; max-width: 145px; padding: 0 9px; border: 1px solid #dce5ee; border-radius: 9px; color: #526883; background: #fff; font: inherit; font-size: 10px; }
.admin-people-table, .admin-provider-list { display: grid; }
.admin-people-row { display: grid; grid-template-columns: minmax(190px, 1.5fr) 78px minmax(120px, 1.05fr) 84px 20px; align-items: center; gap: 9px; width: 100%; min-height: 66px; padding: 7px 4px; border: 0; border-bottom: 1px solid #edf2f6; color: #4e6580; background: transparent; text-align: left; }
.admin-people-row:not(.admin-people-header):hover, .admin-people-row.selected { background: #f7fbff; }
.admin-people-header { min-height: 35px; color: #a0adbb; font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.admin-person-account { display: flex; align-items: center; gap: 9px; min-width: 0; }
.admin-person-avatar { display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #397bd9, #62ae9c); font-size: 9px; font-weight: 850; }
.admin-person-avatar.large { flex-basis: 47px; width: 47px; height: 47px; border-radius: 14px; font-size: 13px; }
.admin-person-account > span:last-child, .admin-provider-row-copy { display: grid; gap: 4px; min-width: 0; }
.admin-person-account strong, .admin-provider-row-copy strong { overflow: hidden; color: #415b79; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-person-account small, .admin-provider-row-copy small { overflow: hidden; color: #98a5b3; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.admin-type-chip, .admin-status-chip { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 5px 7px; border-radius: 999px; color: #65809e; background: #f1f5f9; font-size: 8px; font-weight: 800; white-space: nowrap; }
.admin-type-chip.patient { color: #2d70d0; background: #ebf3ff; }
.admin-type-chip.family { color: #7965b9; background: #f1edff; }
.admin-status-chip i { width: 5px; height: 5px; border-radius: 50%; background: #98a7b7; }
.admin-status-chip.active { color: #31846f; background: #e8f7f1; }
.admin-status-chip.active i { background: #33a887; }
.admin-status-chip.pending { color: #ad6e24; background: #fff2db; }
.admin-status-chip.pending i { background: #db9a39; }
.admin-status-chip.inactive { color: #b16a6d; background: #fbecee; }
.admin-status-chip.inactive i { background: #dc8586; }
.admin-activity-summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 5px; }
.admin-activity-summary strong { color: #50709a; font-size: 11px; }
.admin-activity-summary small { color: #a0abb8; font-size: 8px; }
.admin-row-arrow { color: #4c86d2; font-size: 15px; }
.admin-person-detail, .admin-provider-detail { position: sticky; top: 18px; align-self: start; min-height: 500px; }
.admin-detail-empty { display: grid; place-items: center; align-content: center; min-height: 440px; padding: 30px; color: #8798aa; text-align: center; }
.detail-empty-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #3175d4; background: #eaf2ff; font-size: 21px; }
.admin-detail-empty h3 { margin: 17px 0 6px; color: #284866; font-size: 15px; }
.admin-detail-empty p { max-width: 260px; margin: 0; color: #9aa7b7; font-size: 10px; line-height: 1.6; }
.admin-detail-header, .admin-provider-detail-head { display: flex; align-items: center; gap: 11px; }
.admin-detail-header > div { display: grid; gap: 5px; min-width: 0; }
.admin-detail-header h3 { margin: 1px 0 0; color: #1e3b62; font-size: 17px; letter-spacing: -.035em; }
.admin-detail-header small { color: #8b9bad; font-size: 9px; }
.admin-detail-status { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 11px 12px; border-radius: 10px; background: #f4f8fb; font-size: 10px; }
.admin-detail-status > span { display: inline-flex; align-items: center; gap: 6px; color: #4d6683; font-weight: 800; }
.admin-detail-status i { width: 6px; height: 6px; border-radius: 50%; background: #37ad8f; }
.admin-detail-status.is-inactive { background: #fff7f7; }
.admin-detail-status.is-inactive > span { color: #ad6a6f; }
.admin-detail-status.is-inactive i { background: #dd8288; }
.admin-detail-status small { color: #91a0b0; }
.admin-detail-contact, .admin-provider-contact { display: grid; gap: 12px; margin-top: 18px; }
.admin-detail-contact > div, .admin-provider-contact > div, .admin-provider-identifiers > div { display: grid; gap: 4px; min-width: 0; }
.admin-detail-contact small, .admin-provider-contact small, .admin-provider-identifiers small { color: #98a5b4; font-size: 8px; font-weight: 750; text-transform: uppercase; }
.admin-detail-contact strong, .admin-provider-contact strong, .admin-provider-identifiers strong { overflow: hidden; color: #536b88; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-detail-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid #edf2f6; }
.admin-detail-section .eyebrow { margin-bottom: 10px; }
.admin-detail-stat-grid, .admin-provider-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.admin-detail-stat-grid > div, .admin-provider-stat-grid > div { display: grid; gap: 5px; padding: 10px; border: 1px solid #edf2f6; border-radius: 10px; background: #fbfdff; }
.admin-detail-stat-grid strong, .admin-provider-stat-grid strong { color: #315f96; font-size: 17px; line-height: 1; }
.admin-detail-stat-grid small, .admin-provider-stat-grid small { color: #8e9baa; font-size: 8px; line-height: 1.35; }
.admin-detail-actions { display: flex; justify-content: flex-end; margin-top: 13px; }
.admin-provider-metrics > article { display: grid; align-content: center; gap: 4px; }
.admin-provider-metrics > article.warning strong { color: #b37327; }
.admin-provider-metrics > article.success strong { color: #2e947d; }
.admin-provider-metrics > article.restricted strong { color: #aa6b6f; }
.admin-provider-panel { padding: 18px; }
.provider-search-field { min-width: 220px; }
.admin-provider-layout { margin-top: 15px; grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr); }
.admin-provider-list { max-height: 660px; overflow-y: auto; border-right: 1px solid #edf2f6; padding-right: 12px; }
.admin-provider-list-head { display: flex; justify-content: space-between; padding: 0 7px 9px; color: #a0adbb; font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.admin-provider-row { display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; padding: 11px 7px; border: 0; border-top: 1px solid #edf2f6; color: inherit; background: transparent; text-align: left; }
.admin-provider-row:hover, .admin-provider-row.selected { background: #f7fbff; }
.admin-provider-row-status { display: grid; justify-items: end; gap: 5px; }
.admin-provider-row-status small { color: #9aa6b5; font-size: 8px; white-space: nowrap; }
.admin-provider-detail { position: static; min-height: 0; padding: 5px 3px 2px 8px; box-shadow: none; border: 0; }
.admin-provider-detail-head { align-items: flex-start; justify-content: space-between; }
.admin-close-detail { width: 27px; height: 27px; border-radius: 8px; color: #8294a9; background: #f4f7fa; font-size: 20px; line-height: 1; }
.admin-close-detail:hover { color: #2c6fd2; background: #edf4ff; }
.admin-provider-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px 0; border-top: 1px solid #edf2f6; border-bottom: 1px solid #edf2f6; }
.admin-provider-stat-grid { grid-template-columns: repeat(5, 1fr); margin-top: 15px; }
.admin-provider-readiness { margin-top: 19px; padding: 13px; border: 1px solid #dcefe8; border-radius: 11px; background: #f4fbf8; }
.admin-provider-readiness > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: #54776e; font-size: 10px; font-weight: 800; }
.admin-provider-readiness strong { color: #2c917a; }
.admin-provider-readiness small { display: block; margin-top: 7px; color: #819c94; font-size: 8px; }
.admin-provider-identifiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 17px; }
.admin-credential-section, .admin-decision-section { margin-top: 20px; padding-top: 17px; border-top: 1px solid #edf2f6; }
.admin-detail-section-heading { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.admin-detail-section-heading .eyebrow { margin: 0; }
.admin-detail-section-heading > span { color: #9ba7b4; font-size: 8px; }
.admin-credential-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 9px; min-height: 49px; border-bottom: 1px solid #edf2f6; }
.admin-credential-row > span:first-child { display: grid; gap: 4px; min-width: 0; }
.admin-credential-row strong { color: #506a88; font-size: 9px; }
.admin-credential-row small { overflow: hidden; color: #9aa6b5; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.admin-credential-actions { display: flex; gap: 6px; }
.admin-decision-section textarea, .admin-decision-popup textarea { width: 100%; resize: vertical; padding: 10px; border: 1px solid #dce6ee; border-radius: 9px; outline: 0; color: #516981; background: #fbfdff; font: inherit; font-size: 10px; line-height: 1.45; }
.admin-decision-section textarea:focus, .admin-decision-popup textarea:focus { border-color: #8fb5e8; box-shadow: 0 0 0 3px #e9f2ff; }
.admin-decision-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.admin-decision-popup { width: min(520px, 100%); padding: 22px; border: 1px solid #dbe7f2; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(12, 37, 72, .2); }
.admin-decision-popup-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.admin-decision-popup-head h3 { margin: 6px 0 0; color: #17375f; font-size: 18px; letter-spacing: -.03em; }
.admin-decision-popup-copy { margin: 15px 0; color: #7d8fa4; font-size: 10px; line-height: 1.55; }
.admin-decision-popup-field { display: grid; gap: 7px; color: #516981; font-size: 10px; font-weight: 800; }
.admin-decision-popup-field span { display: flex; justify-content: space-between; gap: 10px; }
.admin-decision-popup-field b { color: #c26b62; font-size: 9px; font-weight: 800; }
.admin-decision-popup-error { margin: 9px 0 0; color: #c15651; font-size: 10px; font-weight: 700; }
.admin-decision-popup-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 17px; }

/* Public provider email inquiry: a focused, non-account contact path. */
.provider-contact-backdrop { z-index: 40; overflow-y: auto; }
.provider-contact-dialog { width: min(850px, 100%); max-height: min(92vh, 820px); overflow-y: auto; border: 1px solid #dbe7f2; border-radius: 17px; background: #fff; box-shadow: 0 24px 70px rgba(12, 37, 72, .24); }
.provider-contact-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; border-bottom: 1px solid #e1e7ec; }
.provider-contact-provider { display: flex; align-items: center; gap: 13px; min-width: 0; }
.provider-contact-provider > img, .provider-contact-provider > span { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; overflow: hidden; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #2d79da, #10ae9e); font-size: 17px; font-weight: 800; object-fit: cover; }
.provider-contact-provider p { margin: 0 0 2px; color: #3f4a56; font-size: 12px; }
.provider-contact-provider h2 { margin: 0; overflow: hidden; color: #182c4e; font-size: 20px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.provider-contact-provider small { display: block; margin-top: 4px; color: #7c8792; font-size: 11px; }
.provider-contact-close { width: 30px; height: 30px; border: 0; color: #39414a; background: transparent; font-size: 27px; font-weight: 300; line-height: 1; }
.provider-contact-close:hover { color: #1d66c7; }
.provider-contact-form { padding: 24px 22px 22px; }
.provider-contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .82fr); gap: 22px; }
.provider-contact-fields { display: grid; align-content: start; gap: 8px; }
.provider-contact-fields label:not(.provider-contact-consent) { display: grid; gap: 6px; color: #4b5661; font-size: 12px; }
.provider-contact-fields label span { display: flex; align-items: baseline; gap: 5px; }
.provider-contact-fields label small { color: #8995a0; font-size: 10px; font-weight: 500; }
.provider-contact-fields input:not([type="checkbox"]), .provider-contact-fields textarea { width: 100%; padding: 10px; border: 1px solid #cdd3da; border-radius: 4px; outline: 0; color: #35404d; background: #fff; font: inherit; font-size: 13px; }
.provider-contact-fields input:not([type="checkbox"]):focus, .provider-contact-fields textarea:focus { border-color: #5488df; box-shadow: 0 0 0 3px rgba(74, 129, 220, .13); }
.provider-contact-fields textarea { resize: vertical; min-height: 130px; }
.provider-contact-fields .validation-message { color: #be5d59; font-size: 10px; }
.provider-contact-consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 7px; color: #697887; font-size: 12px; line-height: 1.45; }
.provider-contact-consent input { width: 21px; height: 21px; flex: 0 0 auto; accent-color: #4d80dd; }
.provider-contact-consent a { color: #4676c8; }
.provider-contact-error { padding: 10px 12px; border-radius: 7px; color: #ae514c; background: #fff0ef; font-size: 11px; }
.provider-contact-submit { width: 100%; min-height: 42px; margin-top: 7px; background: #4c7fdd; }
.provider-contact-tips { align-self: start; padding: 0 0 0 0; color: #414b55; }
.provider-contact-tips h3 { margin: 0 0 17px; color: #3e4851; font-size: 17px; font-weight: 500; }
.provider-contact-tips ol { display: grid; gap: 18px; margin: 0; padding-left: 22px; font-size: 15px; line-height: 1.45; }
.provider-contact-notice { margin: 17px 0 0; color: #858f99; font-size: 11px; line-height: 1.65; }
.provider-contact-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.provider-contact-success { display: grid; justify-items: center; gap: 10px; padding: 60px 30px; text-align: center; }
.provider-contact-success-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: #23a786; font-size: 28px; }
.provider-contact-success h3 { margin: 5px 0 0; color: #183866; font-size: 24px; }
.provider-contact-success p { max-width: 430px; margin: 0 0 8px; color: #718096; font-size: 13px; line-height: 1.6; }

@media (max-width: 700px) {
    .provider-contact-backdrop { place-items: start center; padding: 10px; }
    .provider-contact-dialog { max-height: calc(100vh - 20px); border-radius: 13px; }
    .provider-contact-header { padding: 14px 15px; }
    .provider-contact-provider > img, .provider-contact-provider > span { width: 46px; height: 46px; }
    .provider-contact-provider h2 { font-size: 17px; }
    .provider-contact-form { padding: 18px 15px; }
    .provider-contact-layout { grid-template-columns: 1fr; gap: 21px; }
    .provider-contact-tips { padding: 15px; border-radius: 10px; background: #f7f9fb; }
    .provider-contact-tips h3 { font-size: 15px; }
    .provider-contact-tips ol { gap: 10px; font-size: 13px; }
}

@media (max-width: 1120px) {
    .admin-snapshot-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-quick-actions > div { grid-column: 1 / -1; }
    .admin-people-layout, .admin-provider-layout { grid-template-columns: 1fr; }
    .admin-person-detail, .admin-provider-detail { position: static; }
    .admin-provider-list { max-height: 430px; padding-right: 0; border-right: 0; border-bottom: 1px solid #edf2f6; padding-bottom: 12px; }
}
@media (max-width: 820px) {
    .admin-control-room { width: calc(100% - 40px); padding-top: 28px; }
    .admin-hero-panel, .admin-section-toolbar { align-items: flex-start; flex-direction: column; }
    .admin-hero-actions { width: 100%; justify-content: space-between; }
    .admin-control-grid, .admin-control-grid-lower { grid-template-columns: 1fr; }
    .admin-people-metrics, .admin-provider-metrics { grid-template-columns: repeat(2, 1fr); }
    .admin-people-filters, .admin-provider-toolbar { grid-template-columns: 1fr 1fr; }
    .admin-search-field, .provider-search-field { grid-column: 1 / -1; }
    .admin-people-filters select, .admin-provider-toolbar select { max-width: none; }
    .admin-provider-contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .admin-control-room { width: calc(100% - 28px); }
    .admin-snapshot-grid, .admin-people-metrics, .admin-provider-metrics { grid-template-columns: 1fr; }
    .admin-snapshot-card { min-height: 87px; }
    .admin-panel { padding: 17px; }
    .admin-people-snapshot-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-quick-actions { grid-template-columns: 1fr; }
    .admin-quick-actions > div { grid-column: auto; }
    .admin-people-row { grid-template-columns: minmax(0, 1fr) auto 20px; }
    .admin-people-header span:nth-child(2), .admin-people-header span:nth-child(3), .admin-people-row > span:nth-child(2), .admin-people-row > span:nth-child(3) { display: none; }
    .admin-people-row > span:nth-child(4) { grid-column: 2; }
    .admin-provider-toolbar { grid-template-columns: 1fr; }
    .admin-provider-toolbar select, .admin-provider-toolbar .button { width: 100%; max-width: none; }
    .admin-provider-row { grid-template-columns: 31px minmax(0, 1fr); }
    .admin-provider-row-status { display: none; }
    .admin-provider-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-provider-identifiers { grid-template-columns: 1fr; }
    .admin-credential-row { grid-template-columns: minmax(0, 1fr) auto; }
    .admin-credential-actions { grid-column: 1 / -1; padding-bottom: 8px; }
}
.marketplace-emergency-links { display: flex; align-items: center; gap: 9px; width: 100%; margin-top: 8px; color: #7d8ea1; font-size: 10px; }
.marketplace-emergency-links a { color: #b34d4d; font-weight: 800; }
.legal-page { width: min(920px, calc(100% - 56px)); margin: 0 auto; padding: 70px 0 90px; }
.legal-page h1 { max-width: 720px; margin: 8px 0 16px; color: #15304d; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.05em; }
.legal-lead { max-width: 720px; color: #71859b; font-size: 17px; line-height: 1.7; }
.legal-card { display: grid; gap: 8px; margin-top: 34px; padding: 30px; border: 1px solid #e1eaf2; border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(38,73,112,.06); }
.legal-card h2 { margin: 18px 0 0; color: #193650; font-size: 21px; }
.legal-card p { margin: 0; color: #71859b; font-size: 14px; line-height: 1.75; }
.legal-card a { color: #2166c3; font-weight: 800; }
.advanced-filter-search { margin: 8px 0 10px; }
.advanced-filter-search input { width: 100%; min-height: 32px; border: 1px solid #dde8f2; border-radius: 8px; padding: 0 10px; color: #536c86; background: #fbfdff; font-size: 10px; }
.advanced-filter-select { width: 100%; min-height: 34px; padding: 0 10px; border: 1px solid #dde8f2; border-radius: 8px; color: #536c86; background: #fbfdff; font-size: 10px; }
@media (max-width: 720px) { .legal-page { width: calc(100% - 28px); padding: 42px 0 58px; } .legal-card { padding: 21px; } .legal-lead { font-size: 15px; } .marketplace-emergency-links { flex-wrap: wrap; } }

/* Corrections #2: left-side directory filters, A-Z browsing, and six-result pagination. */
.marketplace-public .marketplace-search-form {
    grid-template-columns: minmax(0, 1.15fr) minmax(190px, .9fr) minmax(165px, .72fr) minmax(120px, .55fr) auto;
}
.marketplace-public .marketplace-search-form .marketplace-distance-field input { padding-left: 11px; }
@media (max-width: 1000px) { .marketplace-public .marketplace-search-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .marketplace-public .marketplace-search-form { display: block; } }

.provider-billing-workspace { display: grid; gap: 18px; }
.provider-billing-workspace .section-card-head { align-items: flex-start; gap: 20px; }
.provider-billing-workspace .section-card-head h2 { margin: 5px 0; }
.provider-billing-workspace .section-card-head .section-muted { margin: 5px 0 0; }
.provider-billing-switch { display: flex; flex: 0 0 auto; gap: 6px; padding: 4px; border: 1px solid #e2eaf2; border-radius: 11px; background: #f7faff; }
.provider-billing-switch a { padding: 8px 11px; border-radius: 8px; color: #68809d; font-size: 12px; font-weight: 750; }
.provider-billing-switch a.active { color: #1e5eb7; background: #e8f1ff; }
.provider-billing-status { display: grid; gap: 5px; }
.provider-billing-workspace .primary-button, .provider-billing-workspace .secondary-button { justify-self: start; }
@media (max-width: 640px) { .provider-billing-workspace .section-card-head { display: grid; }.provider-billing-switch { width: 100%; }.provider-billing-switch a { flex: 1; text-align: center; }.provider-billing-workspace .primary-button, .provider-billing-workspace .secondary-button { width: 100%; justify-content: center; } }

.provider-dashboard { display: grid; gap: 18px; margin-top: 18px; }
.provider-dashboard-heading, .provider-dashboard-heading > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.provider-dashboard-heading h2 { margin: 5px 0; color: var(--navy); font-size: 21px; letter-spacing: -.04em; }
.provider-dashboard-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.provider-dashboard-stat { display: grid; gap: 5px; min-height: 142px; padding: 16px; border: 1px solid #e3e9f1; border-radius: 16px; background: #fff; box-shadow: 0 5px 20px rgba(38,57,83,.025); }
.provider-dashboard-stat-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: #2169d2; background: #eaf2ff; font-weight: 800; }
.provider-dashboard-stat strong { color: var(--navy-strong); font-size: 24px; letter-spacing: -.05em; }
.provider-dashboard-stat small { color: #526d8f; font-size: 10px; font-weight: 800; }
.provider-dashboard-stat span:last-child { color: #91a0b0; font-size: 9px; line-height: 1.45; }
.provider-dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr); gap: 18px; }
.provider-analytics-card, .provider-upcoming-card, .provider-connection-history { min-width: 0; }
.provider-analytics-card h3, .provider-upcoming-card h3, .provider-connection-history h3 { margin: 5px 0 0; color: var(--navy); font-size: 16px; }
.provider-visit-chart { display: flex; align-items: flex-end; gap: 9px; min-height: 180px; margin-top: 22px; padding: 18px 7px 0; border-top: 1px solid #edf1f5; }
.provider-visit-column { display: grid; flex: 1; align-items: end; justify-items: center; gap: 6px; min-width: 0; height: 145px; }
.provider-visit-column small, .provider-visit-value { color: #9aa7b7; font-size: 8px; }
.provider-visit-value { min-height: 10px; color: #4d719d; font-weight: 800; }
.provider-visit-bar { width: min(18px, 100%); min-height: 5px; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, #4e91e6, #75c9b0); }
.provider-upcoming-list { display: grid; gap: 5px; margin-top: 16px; }
.provider-upcoming-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid #edf1f5; color: inherit; text-decoration: none; }
.provider-upcoming-item:last-child { border-bottom: 0; }
.provider-upcoming-item > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.provider-upcoming-item strong { overflow: hidden; color: #526d8f; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.provider-upcoming-item small { color: #9aa7b7; font-size: 8px; }
.provider-connection-table { display: grid; gap: 0; margin-top: 16px; overflow-x: auto; }
.provider-connection-row { display: grid; grid-template-columns: 1.2fr 1fr 1.15fr .8fr; align-items: center; gap: 14px; min-width: 640px; padding: 12px 0; border-bottom: 1px solid #edf1f5; color: #657895; font-size: 10px; }
.provider-connection-row > span:first-child { display: grid; gap: 3px; }
.provider-connection-row strong { color: #526d8f; }
.provider-connection-row small { color: #a0acbb; font-size: 8px; }
.provider-connection-header { color: #96a2b1; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.provider-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 22px; }
.provider-calendar-weekday { padding: 7px 8px; color: #93a0af; font-size: 9px; text-align: right; text-transform: uppercase; }
.provider-calendar-day { display: grid; align-content: start; gap: 5px; min-height: 106px; padding: 8px; border: 1px solid #e7edf3; border-radius: 10px; background: #fff; }
.provider-calendar-day.muted { background: #fafbfd; opacity: .55; }
.provider-calendar-day.today { border-color: #6ea2e9; box-shadow: 0 0 0 2px rgba(78,145,230,.12); }
.provider-calendar-date { color: #607997; font-size: 10px; font-weight: 800; text-align: right; }
.provider-calendar-booking { display: grid; gap: 2px; width: 100%; padding: 6px; overflow: hidden; border: 0; border-left: 3px solid #4e91e6; border-radius: 5px; color: #4d719d; background: #eef5ff; cursor: pointer; text-align: left; }
.provider-calendar-booking strong { font-size: 8px; }
.provider-calendar-booking span { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.provider-calendar-more { color: #8d9daf; font-size: 8px; }
.provider-calendar-selection { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; padding: 16px; border: 1px solid #dbe7f3; border-radius: 12px; background: #f7fbff; }
.provider-calendar-selection h3 { margin: 4px 0; color: var(--navy); font-size: 15px; }
.provider-calendar-integration { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 16px; border: 1px solid #dbe7f3; border-radius: 12px; background: linear-gradient(135deg, #f8fbff, #f7fcfb); }
.provider-calendar-integration h3 { margin: 4px 0; color: var(--navy); font-size: 15px; }
.provider-calendar-integration p { max-width: 620px; margin: 0; }
.provider-calendar-integration-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.provider-slot-picker { display: grid; gap: 14px; margin-top: 18px; padding: 18px; border: 1px solid #dbe7f3; border-radius: 14px; background: #f8fbff; }
.provider-slot-picker h3 { margin: 4px 0; color: var(--navy); font-size: 16px; }
.provider-slot-list { display: flex; flex-wrap: wrap; gap: 8px; }
.calendar-visibility-option { margin: 15px 0; padding: 13px; border: 1px solid #dbe7f3; border-radius: 11px; background: #f8fbff; }
.calendar-visibility-option span { display: grid; gap: 3px; }
.calendar-visibility-option small { color: var(--muted); font-size: 11px; font-weight: 500; }
.provider-dashboard-calendar-toolbar { flex-wrap: wrap; justify-content: flex-end; }
.provider-dashboard-calendar-toolbar .secondary-button { min-height: 30px; padding: 0 10px; }
.provider-dashboard-action-grid { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }

@media (max-width: 960px) {
    .provider-dashboard-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .provider-dashboard-columns { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .provider-dashboard-heading, .provider-dashboard-heading > div, .provider-calendar-selection, .provider-calendar-integration { display: grid; }
    .provider-dashboard-heading .secondary-button, .provider-calendar-selection .primary-button { width: 100%; justify-content: center; }
    .provider-dashboard-stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .provider-dashboard-stat { min-height: 126px; padding: 12px; }
    .provider-dashboard-stat strong { font-size: 20px; }
    .provider-visit-chart { gap: 4px; }
    .provider-calendar-grid { gap: 3px; }
    .provider-calendar-day { min-height: 78px; padding: 5px; }
    .provider-calendar-booking { padding: 4px; }
    .provider-calendar-booking span { display: none; }
    .provider-calendar-selection .primary-button { margin-top: 4px; }
    .provider-calendar-integration-actions { justify-content: start; }
    .provider-dashboard-action-grid { display: grid; }
    .provider-dashboard-action-grid a { width: 100%; justify-content: center; }
}

.marketplace-public .marketplace-layout {
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: start;
}

.marketplace-public .marketplace-layout > .advanced-directory-filters {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 100px;
    min-width: 0;
    padding: 18px;
}

.marketplace-public .marketplace-layout > .provider-results {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.advanced-filter-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf1f5;
}

.advanced-filter-heading h2 { margin: 5px 0 0; color: #173661; font-size: 21px; letter-spacing: -.05em; }
.advanced-filter-clear { padding: 4px 0; border: 0; color: #2b6fd2; background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }
.advanced-filter-clear:hover { color: #154c98; text-decoration: underline; }
.advanced-filter-section { padding: 16px 0; border-bottom: 1px solid #edf1f5; }
.advanced-filter-section:last-child { border-bottom: 0; padding-bottom: 0; }
.advanced-filter-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; color: #526b89; font-size: 10px; font-weight: 850; }
.advanced-filter-section-heading small { color: #9aaabd; font-size: 8px; font-weight: 750; }
.advanced-filter-options { display: grid; gap: 4px; max-height: 224px; overflow-y: auto; padding-right: 3px; }
.advanced-filter-option, .advanced-filter-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 32px; padding: 6px 8px; border: 1px solid transparent; border-radius: 8px; color: #6d819b; background: transparent; text-align: left; font-size: 9px; font-weight: 700; cursor: pointer; }
.advanced-filter-option:hover, .advanced-filter-toggle:hover { color: #245da8; background: #f5f9fe; }
.advanced-filter-option b, .advanced-filter-toggle b { display: grid; place-items: center; width: 15px; height: 15px; border: 1px solid #d7e2ed; border-radius: 4px; color: transparent; background: #fff; font-size: 9px; }
.advanced-filter-option.active, .advanced-filter-toggle.active { border-color: #c8ddf4; color: #1f61b7; background: #eef6ff; }
.advanced-filter-option.active b, .advanced-filter-toggle.active b { border-color: #3b80da; color: #fff; background: #3b80da; }
.advanced-filter-category-options .advanced-filter-option { align-items: flex-start; }
.advanced-filter-category-options .advanced-filter-option span { display: grid; gap: 2px; }
.advanced-filter-category-options .advanced-filter-option span small { color: #a1afbf; font-size: 7px; font-weight: 700; }
.advanced-filter-toggle { justify-content: space-between; margin-top: 5px; }
.advanced-filter-toggle span { display: inline-flex; align-items: center; gap: 7px; }
.advanced-filter-toggle i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; color: #4d8bca; background: #edf6ff; font-size: 11px; font-style: normal; }

.directory-alpha-filter {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 15px;
    padding: 12px 14px;
    border: 1px solid #e1eaf2;
    border-radius: 14px;
    background: #fff;
}

.directory-alpha-filter > div:first-child { display: grid; gap: 3px; flex: 0 0 auto; }
.directory-alpha-filter > div:first-child span { color: #526b89; font-size: 10px; font-weight: 850; }
.directory-alpha-filter > div:first-child small { color: #9aaabd; font-size: 8px; }
.directory-alpha-options { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 5px; }
.directory-alpha-options button { display: grid; place-items: center; min-width: 26px; height: 27px; padding: 0 6px; border: 1px solid #dce6f0; border-radius: 7px; color: #66809d; background: #fff; font-size: 8px; font-weight: 850; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.directory-alpha-options button:hover { border-color: #a6c6ea; color: #1f61b7; background: #f2f7fe; transform: translateY(-1px); }
.directory-alpha-options button.active { border-color: #3479d6; color: #fff; background: #3479d6; box-shadow: 0 5px 12px rgba(52,121,214,.18); }
.marketplace-alpha-filter { grid-column: 1 / -1; margin: 0; }
.marketplace-search-form .marketplace-alpha-filter { padding: 8px 4px 0; border: 0; border-top: 1px solid #e4edf4; border-radius: 0; background: transparent; }
.marketplace-format-options { display: flex; align-items: center; flex-wrap: wrap; grid-column: 1 / -1; gap: 6px; padding: 2px 4px 0; }
.marketplace-format-options > span { margin-right: 3px; color: #71849d; font-size: 9px; font-weight: 800; }
.marketplace-format-options button { min-height: 29px; padding: 0 11px; border: 1px solid #dce6f0; border-radius: 999px; color: #66809d; background: #fff; font-size: 9px; font-weight: 800; cursor: pointer; }
.marketplace-format-options button:hover, .marketplace-format-options button.active { border-color: #9ec1ee; color: #1c5caf; background: #eaf3ff; }

.directory-pagination-summary { grid-column: 1 / -1; margin-top: 3px; color: #8798ad; font-size: 9px; }
.directory-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 5px; grid-column: 1 / -1; margin-top: -5px; }
.directory-pagination button { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border: 1px solid #dce6f0; border-radius: 8px; color: #607b9a; background: #fff; font-size: 9px; font-weight: 800; cursor: pointer; }
.directory-pagination button:hover:not(:disabled) { border-color: #a6c6ea; color: #1f61b7; background: #f2f7fe; }
.directory-pagination button.active { border-color: #3479d6; color: #fff; background: #3479d6; }
.directory-pagination button:disabled { cursor: not-allowed; opacity: .42; }

@media (max-width: 1000px) {
    .marketplace-public .marketplace-layout { grid-template-columns: 1fr; }
    .marketplace-public .marketplace-layout > .advanced-directory-filters,
    .marketplace-public .marketplace-layout > .provider-results { grid-column: 1; grid-row: auto; }
    .marketplace-public .marketplace-layout > .advanced-directory-filters { position: static; }
}

@media (max-width: 720px) {
    .marketplace-public .marketplace-search-form { grid-template-columns: 1fr; }
    .directory-alpha-filter { display: block; }
    .directory-alpha-options { justify-content: flex-start; margin-top: 10px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
    .directory-alpha-options button { flex: 0 0 auto; }
    .directory-pagination { justify-content: center; }
    .directory-pagination button { min-width: 28px; }
    .advanced-filter-options { max-height: 260px; }
}

/* Provider directory cards: a compact comparison layout on desktop, with a single readable column on phones. */
.marketplace-public .provider-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.marketplace-public .marketplace-provider-card {
    display: grid;
    gap: 18px;
    min-height: 286px;
    padding: 21px;
    border: 1px solid #dfe8f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(38, 73, 112, .07);
}

.marketplace-public .marketplace-provider-card:hover {
    border-color: #b6cfe8;
    box-shadow: 0 15px 32px rgba(38, 73, 112, .12);
    transform: translateY(-2px);
}

.marketplace-provider-top {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    min-height: 78px;
}

.marketplace-provider-avatar {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 7px;
    width: 66px;
}

.marketplace-provider-avatar .provider-avatar {
    width: 66px;
    height: 66px;
    font-size: 16px;
}

.marketplace-provider-avatar small {
    color: #286bd3;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
    white-space: nowrap;
}

.marketplace-provider-card .provider-card-identity {
    min-width: 0;
    padding-top: 2px;
}

.marketplace-provider-card .provider-card-identity h3 {
    overflow: hidden;
    font-size: 16px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.marketplace-provider-card .provider-card-identity p {
    margin: 5px 0 7px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.marketplace-provider-card .provider-name-row { gap: 7px; }

.marketplace-provider-card .marketplace-availability {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 5px 7px;
    border-radius: 6px;
    color: #1e9376;
    background: #e8f8f1;
    font-size: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.marketplace-provider-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 145px;
    align-items: end;
    gap: 18px;
    min-width: 0;
    padding-top: 16px;
    border-top: 1px solid #eef2f6;
}

.marketplace-provider-info { min-width: 0; }

.marketplace-provider-card .marketplace-provider-details {
    display: grid;
    align-items: start;
    gap: 7px;
    margin-top: 0;
}

.marketplace-provider-card .marketplace-provider-details span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.marketplace-provider-card .marketplace-provider-details strong {
    margin: 3px 0 0;
    font-size: 13px;
}

.marketplace-provider-description {
    margin: 0 0 13px;
    color: #536d8a;
    font-size: 11px;
    line-height: 1.55;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.marketplace-provider-card .provider-credential-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-top: 14px;
    padding: 0;
    border: 0;
    font-size: 8px;
}

.marketplace-provider-card .provider-credential-row span:last-child { margin-left: 0; }
.marketplace-provider-card .provider-tags { margin-top: 9px; }
.marketplace-provider-card .provider-tags span { padding: 5px 7px; font-size: 8px; }

.marketplace-provider-card .provider-card-actions {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.marketplace-provider-card .provider-card-actions a {
    width: 100%;
    min-height: 37px;
    padding: 0 8px;
    font-size: 9px;
}

@media (max-width: 960px) {
    .marketplace-provider-body { grid-template-columns: minmax(0, 1fr) 130px; gap: 12px; }
}

@media (max-width: 720px) {
    .marketplace-public .provider-results { grid-template-columns: 1fr; gap: 12px; }
    .marketplace-public .marketplace-provider-card { min-height: 0; padding: 17px; }
    .marketplace-provider-top { gap: 11px; }
    .marketplace-provider-avatar, .marketplace-provider-avatar .provider-avatar { width: 58px; }
    .marketplace-provider-avatar .provider-avatar { height: 58px; }
    .marketplace-provider-card .provider-card-identity h3 { font-size: 14px; }
    .marketplace-provider-card .marketplace-availability { position: static; grid-column: 2; justify-self: start; margin-top: -1px; }
    .marketplace-provider-body { grid-template-columns: 1fr; gap: 13px; }
    .marketplace-provider-card .provider-card-actions { grid-template-columns: 1fr 1fr; }
}

/* Reference-inspired care discovery flow: what, where, then verified matches. */
.landing-search-hero { display: block; width: 100%; min-height: 0; margin: 0; padding: 76px 36px 68px; color: #fff; background: linear-gradient(120deg, #081f48 0%, #123f78 58%, #087f74 100%); }
.landing-search-hero .landing-hero-copy { width: min(100%, 1020px); max-width: 1020px; margin: 0 auto; padding-left: 0; text-align: center; }
.landing-search-hero .landing-hero-copy > .eyebrow { color: #89e4d6; }
.landing-search-hero h1 { max-width: 820px; margin: 15px auto 18px; color: #fff; font-size: clamp(48px, 6vw, 76px); }
.landing-search-hero h1 span { color: #86e4d1; }
.landing-search-hero .landing-lead { max-width: 650px; margin-right: auto; margin-left: auto; color: rgba(255,255,255,.78); }
.landing-search-hero .landing-directory-search { width: min(100%, 980px); max-width: 980px; margin: 38px auto 0; text-align: left; }
.landing-search-hero .landing-directory-heading { max-width: 680px; margin: 0 auto; text-align: center; }
.landing-search-hero .landing-directory-heading .eyebrow { color: #a9ece1; }
.landing-search-hero .landing-directory-heading h2 { color: #fff; font-size: clamp(22px, 3vw, 31px); }
.landing-search-hero .landing-directory-heading p:not(.eyebrow) { max-width: 640px; margin-right: auto; margin-left: auto; color: rgba(255,255,255,.68); }
.landing-search-hero .landing-directory-form { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(145px, .68fr) auto; margin-top: 26px; border-color: rgba(255,255,255,.7); box-shadow: 0 20px 45px rgba(0,0,0,.2); }
.landing-search-hero .landing-directory-form label { color: #6d819a; }
.landing-search-hero .landing-search-suggestions { justify-content: center; color: rgba(255,255,255,.72); }
.landing-search-hero .landing-search-suggestions button { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(255,255,255,.08); }
.landing-search-hero .landing-search-suggestions button:hover { border-color: #8be5d6; color: #fff; background: rgba(255,255,255,.16); }
.landing-search-hero .landing-actions { justify-content: center; margin-top: 30px; }
.landing-search-hero .landing-secondary-cta { color: rgba(255,255,255,.78) !important; }
.landing-search-hero .landing-trust-row { justify-content: center; margin-top: 25px; color: rgba(255,255,255,.72); }
.landing-search-hero .landing-trust-row i { color: #0e7068; background: #a9ece1; }
.landing-search-hero .landing-preview { display: none; }

@media (max-width: 800px) {
  .landing-search-hero { padding: 58px 18px 52px; }
  .landing-search-hero .landing-hero-copy { width: 100%; text-align: left; }
  .landing-search-hero h1, .landing-search-hero .landing-lead { margin-left: 0; }
  .landing-search-hero .landing-directory-heading { text-align: left; }
  .landing-search-hero .landing-directory-heading p:not(.eyebrow) { margin-left: 0; }
  .landing-search-hero .landing-directory-form { grid-template-columns: 1fr; }
  .landing-search-hero .landing-directory-form label + label { border-top: 1px solid #e4eaf1; border-left: 0; }
  .landing-search-hero .landing-directory-submit { width: 100%; }
  .landing-search-hero .landing-search-suggestions { justify-content: flex-start; padding-left: 0; }
  .landing-search-hero .landing-actions, .landing-search-hero .landing-trust-row { justify-content: flex-start; }
}
.auth-visual { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 48px clamp(30px, 7vw, 100px); color: #fff; background: linear-gradient(145deg, #092650 0%, #123e73 54%, #0d8e8a 150%); }
.auth-visual::before { position: absolute; right: -180px; bottom: -260px; width: 570px; height: 570px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02); content: ""; }
.auth-visual::after { position: absolute; top: 25%; right: 16%; width: 220px; height: 220px; border: 1px solid rgba(67,214,196,.19); border-radius: 50%; content: ""; }
.auth-visual > * { position: relative; z-index: 1; }
.auth-visual-brand { display: inline-flex; align-items: center; width: 218px; height: 76px; padding: 8px 12px; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 13px 35px rgba(0,0,0,.12); }
.auth-visual-brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.auth-visual-copy { max-width: 500px; margin-top: auto; padding: 0 0 70px; }
.auth-visual-eyebrow { margin-bottom: 12px; color: #a8f0e7; font-size: 11px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.auth-visual-copy h2 { margin: 0 0 17px; color: #fff; font-size: clamp(28px, 3vw, 44px); font-weight: 720; letter-spacing: -.055em; line-height: 1.06; }
.auth-visual-copy h2 span { color: #7ee1d2; }
.auth-visual-copy > p { max-width: 410px; margin: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.7; }
.auth-quote { margin-top: 27px; padding: 16px 0 0 18px; border-left: 2px solid rgba(126,225,210,.7); }
.auth-quote > span { display: block; height: 23px; color: #58d3c3; font-family: Georgia, serif; font-size: 45px; line-height: .8; }
.auth-quote p { max-width: 390px; margin: 2px 0 8px; color: #fff; font-size: 15px; font-weight: 650; line-height: 1.45; }
.auth-quote small { color: rgba(255,255,255,.64); font-size: 11px; }
.auth-visual-footer { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.68); font-size: 11px; }
.auth-visual-footer span:first-child::before { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #48d2b2; box-shadow: 0 0 0 3px rgba(72,210,178,.15); content: ""; }
.auth-visual-footer span:last-child { margin-left: auto; }
.auth-panel.auth-panel-inner { display: block; width: 100%; max-width: none; padding: 45px clamp(25px, 7vw, 94px); border: 0; border-radius: 0; box-shadow: none; background: #fff; }
.auth-panel-inner > .auth-copy { width: min(100%, 430px); margin: 0 auto; }
.auth-panel-inner > .auth-copy + .notice,
.auth-panel-inner > .auth-copy + .login-form,
.auth-panel-inner > .auth-copy + .notice + .login-form { width: min(100%, 430px); margin-right: auto; margin-left: auto; }
.auth-panel-inner .auth-form-badge { margin-bottom: 27px; }
.auth-panel-inner h1 { margin: 10px 0 10px; color: var(--navy-strong); font-size: clamp(29px, 3vw, 38px); line-height: .98; }
.auth-panel-inner h1 span { color: #2b70df; }
.auth-panel-inner .auth-lede { color: #78879d; font-size: 13px; line-height: 1.6; }
.auth-panel-inner .login-form { display: grid; gap: 14px; margin-top: 26px; }
.auth-panel-inner .login-form .form-field { margin-bottom: 0; }
.auth-panel-inner .login-form .form-field label { color: #52647d; font-size: 11px; font-weight: 750; }
.auth-panel-inner .login-form .form-field input { width: 100%; min-height: 45px; padding: 0 13px; border: 1px solid #dce5ef; border-radius: 9px; color: #1a3152; background: #fbfdff; font-size: 12px; }
.auth-panel-inner .login-form .form-field input:focus { border-color: #77a9e7; background: #fff; box-shadow: 0 0 0 3px rgba(45,113,220,.1); }
.auth-panel-inner .button-block { min-height: 47px; margin-top: 2px; }
.auth-panel-inner .auth-security-note, .auth-panel-inner .auth-switch, .auth-panel-inner .auth-footnote { width: min(100%, 430px); margin-right: auto; margin-left: auto; }
.auth-panel-inner .auth-footnote { justify-content: center; margin-top: 20px; color: #a0acb9; font-size: 9px; }
.auth-panel-inner .auth-footnote > span { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; color: #fff; background: #4baf91; font-size: 9px; }
.public-provider-actions a { min-height: 33px; padding: 0 7px; font-size: 8px; }
.workspace-shell a { text-decoration: none; }
.marketplace-view { scroll-margin-top: 92px; }

/* Marketplace-first public directory */
.marketplace-home { --marketplace-ink: #102d5b; --marketplace-muted: #7487a2; --marketplace-blue: #2b70e4; --marketplace-teal: #17b5a7; min-height: 100vh; overflow: hidden; color: var(--marketplace-ink); background: #f7fafc; }
.marketplace-home a, .marketplace-view a { text-decoration: none; }
.marketplace-home-nav { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; width: min(1440px, calc(100% - 72px)); min-height: 80px; margin: 0 auto; background: rgba(247,250,252,.92); backdrop-filter: blur(16px); }
.marketplace-home-brand { display: inline-flex; align-items: center; width: 151px; height: 52px; overflow: hidden; border-radius: 10px; background: #fff; }
.marketplace-home-brand img { width: 151px; height: 52px; object-fit: cover; object-position: center; }
.marketplace-home-nav nav, .marketplace-home-footer nav { display: flex; align-items: center; gap: 28px; color: #7588a1; font-size: 12px; font-weight: 750; }
.marketplace-home-nav nav a { padding: 10px 12px; border-radius: 999px; transition: .18s ease; }
.marketplace-home-nav nav a:hover, .marketplace-home-nav nav a.active { color: var(--marketplace-ink); background: #e8f1ff; }
.marketplace-home-actions { display: flex; align-items: center; gap: 17px; }
.marketplace-home-signin { color: var(--marketplace-ink); font-size: 12px; font-weight: 800; }
.marketplace-home-actions .primary-button { min-height: 42px; padding: 0 17px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #2e75e9, #225dc6); box-shadow: 0 10px 22px rgba(35,99,208,.18); font-size: 11px; font-weight: 800; }
.marketplace-public-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(410px, .95fr); align-items: center; gap: 54px; width: min(1440px, calc(100% - 72px)); min-height: 430px; margin: 0 auto; padding: 52px clamp(38px, 6vw, 96px); overflow: hidden; border-radius: 28px; color: #fff; background: linear-gradient(118deg, #0c2b5b 0%, #12457c 55%, #087c80 100%); box-shadow: 0 25px 70px rgba(16,65,117,.18); }
.marketplace-public-hero::before { position: absolute; inset: 0; opacity: .3; background: radial-gradient(circle at 75% 20%, rgba(103,215,203,.35), transparent 26rem), radial-gradient(circle at 12% 100%, rgba(52,119,234,.45), transparent 25rem); content: ""; }
.marketplace-public-hero-copy { position: relative; z-index: 1; max-width: 670px; }
.marketplace-eyebrow { color: #8fe2d4 !important; }
.marketplace-journey-eyebrow { margin-top: -7px; margin-bottom: 4px; }
.marketplace-public-hero h1 { max-width: 650px; margin: 15px 0 17px; color: #fff; font-size: clamp(48px, 6vw, 82px); font-weight: 780; letter-spacing: -.04em; line-height: .96; }
.marketplace-public-hero h1 span { display: block; color: #83e2d3; }
.marketplace-public-hero-copy > p:not(.eyebrow) { max-width: 590px; margin: 0; color: #b7cfe8; font-size: 16px; line-height: 1.65; }
@media (min-width: 1280px) {
    .marketplace-public-hero h1 { max-width: none; }
}
.marketplace-proof-row { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 27px; color: #d8e8f8; font-size: 10px; font-weight: 750; }
.marketplace-proof-row span { display: inline-flex; align-items: center; gap: 7px; }
.marketplace-proof-row i { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: #0e6a61; background: #8ee3d2; font-size: 10px; font-style: normal; }
.marketplace-public-hero-visual { position: relative; z-index: 1; display: grid; place-items: center; min-height: 305px; }
.marketplace-orbit { position: absolute; border: 1px solid rgba(158,237,229,.27); border-radius: 50%; transform: rotate(-17deg); }
.marketplace-orbit-one { width: 445px; height: 255px; }
.marketplace-orbit-two { width: 520px; height: 200px; border-color: rgba(136,193,255,.24); transform: rotate(23deg); }
.marketplace-hero-panel { position: relative; display: grid; gap: 10px; width: min(100%, 320px); min-height: 218px; padding: 21px; border: 1px solid rgba(255,255,255,.34); border-radius: 21px; background: rgba(255,255,255,.14); box-shadow: 0 25px 55px rgba(1,31,72,.24); backdrop-filter: blur(15px); transform: rotate(-3deg); }
.marketplace-hero-panel-top { display: flex; align-items: center; gap: 7px; color: #acd8ed; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.marketplace-hero-panel-top b { margin-left: auto; padding: 4px 6px; border-radius: 5px; color: #d2f5ee; background: rgba(143,227,211,.16); font-size: 8px; }
.marketplace-mini-dot { width: 7px; height: 7px; border-radius: 50%; background: #80ded0; box-shadow: 0 0 0 4px rgba(128,222,208,.13); }
.marketplace-hero-panel-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-top: 10px; border-radius: 13px; color: #124d8a; background: #b9f0e5; font-size: 23px; }
.marketplace-hero-panel strong { color: #fff; font-size: 20px; letter-spacing: -.04em; }
.marketplace-hero-panel > span:not(.marketplace-mini-dot) { max-width: 240px; color: #c5dbea; font-size: 10px; line-height: 1.5; }
.marketplace-hero-panel-lines { display: flex; gap: 7px; margin-top: auto; }
.marketplace-hero-panel-lines i { display: block; height: 5px; border-radius: 999px; background: rgba(183,239,230,.72); }
.marketplace-hero-panel-lines i:first-child { width: 82px; }.marketplace-hero-panel-lines i:nth-child(2) { width: 49px; opacity: .65; }.marketplace-hero-panel-lines i:last-child { width: 28px; opacity: .45; }
.marketplace-floating-badge { position: absolute; right: 2%; bottom: 12px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 12px; background: rgba(255,255,255,.91); box-shadow: 0 14px 25px rgba(1,31,72,.2); transform: rotate(3deg); }
.marketplace-floating-badge > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #117b68; background: #d9f7ed; font-size: 14px; font-weight: 850; }
.marketplace-floating-badge div { display: grid; gap: 3px; }.marketplace-floating-badge strong { color: #1c486e; font-size: 10px; }.marketplace-floating-badge small { color: #8ca1b4; font-size: 8px; }
.marketplace-search-card { position: relative; z-index: 2; width: min(1220px, calc(100% - 72px)); margin: -38px auto 0; padding: 28px 30px 22px; border: 1px solid #dfe8f2; border-radius: 22px; background: #fff; box-shadow: 0 20px 45px rgba(34,76,123,.13); }
.marketplace-search-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.marketplace-search-heading h2 { margin: 6px 0 5px; color: #173661; font-size: 22px; letter-spacing: -.05em; }
.marketplace-search-heading p:not(.eyebrow) { margin: 0; color: #8798ad; font-size: 11px; line-height: 1.5; }
.marketplace-provider-link { flex: 0 0 auto; padding: 10px 13px; border-radius: 9px; color: #2b6fd2; background: #eff6ff; font-size: 10px; font-weight: 700; }
.marketplace-provider-link strong { color: #174d9a; }
.marketplace-search-form { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(180px, .9fr) minmax(180px, .9fr) minmax(155px, .7fr) auto; align-items: end; gap: 10px; padding: 9px; border: 1px solid #dce7f1; border-radius: 14px; background: #f8fbfe; }
.search-field-wrap { display: grid; gap: 6px; min-width: 0; padding: 0 8px; }.search-field-wrap > span:first-child { color: #71849d; font-size: 9px; font-weight: 800; }
.location-autocomplete { position: relative; }.location-suggestions { position: absolute; top: calc(100% + 3px); left: 8px; right: 8px; z-index: 20; display: grid; overflow: hidden; border: 1px solid #d8e5f1; border-radius: 11px; background: #fff; box-shadow: 0 15px 30px rgba(28, 70, 112, .16); }.location-suggestions button { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 8px 11px; border: 0; border-bottom: 1px solid #edf2f7; color: #244b75; background: #fff; text-align: left; font-size: 10px; }.location-suggestions button:last-child { border-bottom: 0; }.location-suggestions button:hover, .location-suggestions button:focus-visible { color: #155caf; background: #f2f7fd; outline: 0; }.location-suggestions button span { color: #8ba0b6; font-size: 9px; font-weight: 750; }
.marketplace-search-form .search-input-wrap, .marketplace-search-form .select-input-wrap { position: relative; display: flex; align-items: center; min-width: 0; }
.marketplace-search-form .search-input-wrap svg { position: absolute; left: 10px; width: 16px; height: 16px; color: #69a0df; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.marketplace-search-form input, .marketplace-search-form select { width: 100%; min-height: 43px; padding: 0 11px 0 34px; border: 1px solid #dce7f1; border-radius: 9px; outline: 0; color: #4d6481; background: #fff; font-size: 11px; }
.marketplace-search-form input:focus, .marketplace-search-form select:focus { border-color: #6ea2e1; box-shadow: 0 0 0 3px rgba(72,132,220,.12); }
.marketplace-search-form .select-input-wrap select { padding-left: 11px; padding-right: 30px; appearance: none; }.marketplace-search-form .select-input-wrap svg { position: absolute; right: 10px; width: 15px; height: 15px; color: #6c8eb9; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; pointer-events: none; }
.marketplace-search-submit { display: inline-flex; align-items: center; gap: 7px; min-height: 43px; padding: 0 17px; border: 0; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #2d73e5, #225cc8); box-shadow: 0 8px 17px rgba(40,101,212,.19); font-size: 10px; font-weight: 800; white-space: nowrap; }.marketplace-search-submit svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.directory-filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.directory-filter-bar > span { flex: 0 0 auto; color: #8b9caf; font-size: 10px; font-weight: 800; letter-spacing: .01em; }
.directory-filter-bar button { appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 12px; border: 1px solid #dce6f0; border-radius: 999px; color: #657b96; background: #fff; box-shadow: 0 3px 10px rgba(38,73,112,.04); cursor: pointer; font-size: 10px; font-weight: 750; line-height: 1; white-space: nowrap; transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.directory-filter-bar button:hover { color: #1c5caf; border-color: #a9c7e9; background: #f6faff; box-shadow: 0 5px 14px rgba(38,73,112,.08); transform: translateY(-1px); }
.directory-filter-bar button:focus-visible { outline: 3px solid rgba(43,112,228,.18); outline-offset: 2px; }
.marketplace-filter-bar { width: min(1220px, calc(100% - 72px)); margin: 21px auto 0; padding: 12px 14px; border: 1px solid #e2ebf3; border-radius: 14px; background: rgba(255,255,255,.76); box-shadow: 0 8px 24px rgba(38,73,112,.05); }.marketplace-filter-bar > span { margin-right: 3px; }.marketplace-filter-bar button.active { color: #1c5caf; border-color: #9ec1ee; background: #eaf3ff; box-shadow: 0 5px 14px rgba(43,112,228,.10); }
.marketplace-public .marketplace-layout { width: min(1220px, calc(100% - 72px)); margin: 28px auto 0; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; }
.marketplace-public .marketplace-results-heading { align-items: flex-start; margin-bottom: 17px; }.marketplace-results-heading h2 { margin-top: 7px; font-size: 23px; }.marketplace-results-heading p:not(.eyebrow) { margin-top: 5px; color: #8798ad; font-size: 11px; }
.marketplace-sort { display: inline-flex; align-items: center; gap: 8px; color: #8092a7; font-size: 10px; font-weight: 750; white-space: nowrap; }.marketplace-sort select { min-height: 34px; padding: 0 9px; border: 1px solid #dbe5ef; border-radius: 8px; color: #526d8d; background: #fff; font-size: 10px; font-weight: 750; }
.marketplace-public .provider-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }.marketplace-public .marketplace-results-heading, .marketplace-public .marketplace-state { grid-column: 1 / -1; }.marketplace-public .marketplace-provider-card { margin: 0; min-height: 248px; padding: 18px; border-radius: 16px; box-shadow: 0 8px 24px rgba(38,73,112,.05); }.marketplace-provider-card:hover { border-color: #b6cfe8; box-shadow: 0 15px 32px rgba(38,73,112,.1); transform: translateY(-2px); }.marketplace-provider-card .provider-card-top { min-height: 48px; }.marketplace-availability { margin-left: auto; padding: 5px 7px; border-radius: 5px; color: #1e9376; background: #e8f8f1; font-size: 8px; font-weight: 800; white-space: nowrap; }.marketplace-provider-details { display: flex; align-items: center; gap: 11px; margin-top: 14px; color: #7d91a8; font-size: 9px; }.marketplace-provider-details strong { margin-left: auto; color: #3f5b7e; font-size: 11px; white-space: nowrap; }.marketplace-provider-card .provider-credential-row { gap: 9px; margin-top: 13px; padding: 9px 0; font-size: 8px; }.marketplace-provider-card .provider-credential-row span:last-child { margin-left: auto; }.marketplace-provider-card .provider-tags { margin-top: 11px; }.marketplace-provider-card .provider-tags span { padding: 5px 7px; border-radius: 5px; color: #67809d; background: #f1f6fb; font-size: 8px; }.marketplace-provider-card .provider-card-actions { margin-top: auto; padding-top: 14px; }.marketplace-provider-card .provider-card-actions .primary-button, .marketplace-provider-card .provider-card-actions .secondary-button { min-height: 33px; padding: 0 10px; font-size: 9px; }
.marketplace-state { display: flex; align-items: flex-start; gap: 13px; min-height: 146px; padding: 25px; border: 1px solid #e1eaf2; border-radius: 16px; color: #8293a7; background: #fff; }.marketplace-state > span:first-child, .marketplace-empty-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; color: #397bd9; background: #eaf3ff; font-size: 19px; font-weight: 800; }.marketplace-state strong { color: #4f6785; font-size: 13px; }.marketplace-state p { max-width: 550px; margin: 5px 0 14px; color: #8a9aae; font-size: 10px; line-height: 1.55; }.marketplace-state .secondary-button, .marketplace-state .primary-button { min-height: 33px; padding: 0 11px; font-size: 9px; }.marketplace-state-error > span:first-child { color: #bb6a64; background: #fff0ef; }.marketplace-spinner { border: 2px solid #d7e6f6; border-top-color: #3a7cda; border-radius: 50%; animation: marketplace-spin .8s linear infinite; }.marketplace-empty-state { align-items: center; min-height: 190px; }.marketplace-empty-state > div:last-child { min-width: 0; }.marketplace-empty-state p { max-width: 700px; }.marketplace-empty-icon { width: 46px; height: 46px; font-size: 24px; }
@keyframes marketplace-spin { to { transform: rotate(360deg); } }
.marketplace-sidebar { top: 100px; padding: 21px; }.marketplace-sidebar > p { line-height: 1.65; }.marketplace-sidebar-step { display: flex; align-items: center; gap: 9px; padding: 11px 0; border-top: 1px solid #edf1f5; }.marketplace-sidebar-step > span { color: #5c9be1; font-size: 9px; font-weight: 850; }.marketplace-sidebar-step div { display: grid; gap: 3px; }.marketplace-sidebar-step strong { color: #5c708a; font-size: 10px; }.marketplace-sidebar-step small { color: #9aa8b8; font-size: 9px; }
.provider-listing-callout { display: flex; align-items: center; justify-content: space-between; gap: 25px; width: min(1220px, calc(100% - 72px)); margin: 50px auto 0; padding: 31px 34px; border-radius: 19px; color: #fff; background: linear-gradient(118deg, #102f61, #16567c 65%, #108c83); box-shadow: 0 18px 38px rgba(19,66,109,.14); }.provider-listing-callout h2 { max-width: 620px; margin: 6px 0 8px; color: #fff; font-size: clamp(21px, 3vw, 31px); letter-spacing: -.05em; }.provider-listing-callout p:not(.eyebrow) { max-width: 665px; margin: 0; color: #c2d9e9; font-size: 11px; line-height: 1.6; }.provider-listing-callout .eyebrow { color: #94e1d5; }.provider-listing-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }.provider-listing-actions .primary-button, .provider-listing-actions .secondary-button { min-height: 40px; padding: 0 13px; font-size: 10px; }.provider-listing-actions .secondary-button { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.08); }
.marketplace-how-it-works { width: min(1220px, calc(100% - 72px)); margin: 76px auto 0; padding-bottom: 20px; }.marketplace-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }.marketplace-section-heading h2 { max-width: 540px; margin: 7px 0 0; color: #143565; font-size: clamp(28px, 4vw, 43px); letter-spacing: -.07em; line-height: 1; }.marketplace-section-heading h2 span { color: #2b73df; }.marketplace-section-heading > p { max-width: 330px; margin: 0; color: #7d8fa4; font-size: 11px; line-height: 1.65; }.marketplace-how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 27px; }.marketplace-how-grid article { position: relative; min-height: 190px; padding: 21px; border: 1px solid #e0e9f2; border-radius: 15px; background: #fff; }.marketplace-how-grid article:nth-child(4) { transform: translateY(-10px); }.marketplace-how-grid article:not(:last-child)::after { position: absolute; top: 50%; right: -19px; z-index: 2; color: #7da4d8; content: "→"; font-size: 16px; font-weight: 850; transform: translateY(-50%); }.marketplace-how-grid article > span { position: absolute; top: 19px; right: 20px; color: #c5d0dc; font-size: 10px; font-weight: 850; }.marketplace-how-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #2b73df; background: #eaf2ff; font-size: 18px; }.marketplace-how-grid article:nth-child(2) .marketplace-how-icon { color: #139580; background: #e5f7f1; }.marketplace-how-grid article:nth-child(3) .marketplace-how-icon { color: #7764bf; background: #f0edff; }.marketplace-how-grid article:nth-child(4) .marketplace-how-icon { color: #2b8b76; background: #e5f7f1; }.marketplace-how-grid h3 { margin: 19px 0 6px; color: #4d6381; font-size: 13px; }.marketplace-how-grid p { margin: 0; color: #8999ab; font-size: 10px; line-height: 1.6; }
@media (max-width: 1100px) {
    .marketplace-how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .marketplace-how-grid article::after { display: none; }
    .marketplace-how-grid article:nth-child(4) { transform: none; }
}
.marketplace-family-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 17px; width: min(1220px, calc(100% - 72px)); margin: 55px auto 0; padding: 22px 25px; border: 1px solid #dfeaf1; border-radius: 17px; background: linear-gradient(100deg, #eff8f6, #f6f9ff); }.marketplace-family-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; color: #1a8d7c; background: #d9f4eb; font-size: 23px; }.marketplace-family-note h2 { margin: 5px 0 5px; color: #1a456b; font-size: 17px; letter-spacing: -.04em; }.marketplace-family-note p:not(.eyebrow) { max-width: 700px; margin: 0; color: #7f92a6; font-size: 10px; line-height: 1.55; }.marketplace-family-note .secondary-button { min-height: 37px; padding: 0 12px; white-space: nowrap; font-size: 9px; }
.marketplace-home-footer { display: grid; grid-template-columns: minmax(155px, .8fr) minmax(0, 2fr) auto; align-items: start; gap: 28px; width: min(1440px, calc(100% - 72px)); min-height: 104px; margin: 65px auto 0; padding: 28px 0; border-top: 1px solid #e2eaf1; color: #8294a8; font-size: 10px; }.marketplace-footer-brand { display: grid; gap: 8px; }.marketplace-home-footer .marketplace-home-brand { width: 123px; height: 42px; }.marketplace-home-footer .marketplace-home-brand img { width: 123px; height: 42px; }.marketplace-footer-brand p { margin: 0; color: #8294a8; font-size: 10px; }.marketplace-home-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: start; gap: 8px 18px; margin: 3px 0 0; font-size: 10px; }.marketplace-home-footer nav a:hover { color: #245da8; }.marketplace-emergency-links { display: grid; justify-items: end; gap: 5px; white-space: nowrap; }.marketplace-emergency-links strong { color: #526b89; font-size: 10px; }.marketplace-emergency-links a { color: #2b6fd2; font-size: 10px; font-weight: 750; }
.public-directory-page { width: 100%; padding: 30px 0 60px; }.public-directory-page .marketplace-public-hero { border-radius: 22px; }

@media (max-width: 1000px) {
    .marketplace-home-nav nav { gap: 8px; }.marketplace-home-nav nav a { padding: 8px 7px; }
    .marketplace-public-hero { grid-template-columns: 1fr .75fr; gap: 20px; padding: 42px; }.marketplace-public-hero h1 { font-size: clamp(43px, 7vw, 70px); }.marketplace-public-hero-visual { min-height: 260px; }.marketplace-orbit-one { width: 360px; }.marketplace-orbit-two { width: 420px; }
    .marketplace-search-form { grid-template-columns: 1fr 1fr; }.marketplace-search-submit { grid-column: 1 / -1; justify-content: center; }
    .marketplace-public .marketplace-layout { grid-template-columns: 1fr; }.marketplace-sidebar { position: static; }.marketplace-public .provider-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .marketplace-home-nav { width: calc(100% - 28px); min-height: 68px; }.marketplace-home-nav nav { display: none; }.marketplace-home-brand, .marketplace-home-brand img { width: 126px; height: 44px; }.marketplace-home-actions { gap: 11px; }.marketplace-home-signin { font-size: 10px; }.marketplace-home-actions .primary-button { min-height: 36px; padding: 0 11px; font-size: 9px; }
    .marketplace-public-hero { display: block; width: calc(100% - 28px); min-height: 0; padding: 38px 25px 26px; border-radius: 19px; }.marketplace-public-hero h1 { margin-top: 12px; font-size: clamp(42px, 13vw, 64px); }.marketplace-public-hero-copy > p:not(.eyebrow) { font-size: 13px; }.marketplace-proof-row { gap: 9px 14px; font-size: 9px; }.marketplace-public-hero-visual { min-height: 205px; margin-top: 17px; }.marketplace-hero-panel { width: min(100%, 280px); min-height: 190px; }.marketplace-orbit-one { width: 340px; height: 205px; }.marketplace-orbit-two { width: 390px; height: 160px; }.marketplace-floating-badge { right: 1%; bottom: 0; }
    .marketplace-search-card, .marketplace-public .marketplace-layout, .marketplace-filter-bar, .marketplace-how-it-works, .provider-listing-callout, .marketplace-family-note { width: calc(100% - 28px); }.marketplace-search-card { margin-top: -19px; padding: 21px 15px 17px; border-radius: 16px; }.marketplace-search-heading { display: block; }.marketplace-search-heading h2 { font-size: 19px; }.marketplace-provider-link { display: inline-flex; margin-top: 13px; }.marketplace-search-form { display: block; padding: 7px; }.search-field-wrap { padding: 7px 5px; }.marketplace-search-submit { width: 100%; margin-top: 7px; }
    .marketplace-filter-bar { align-items: flex-start; gap: 5px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }.marketplace-filter-bar > span { flex: 0 0 auto; }.marketplace-filter-bar button { flex: 0 0 auto; }
    .marketplace-public .marketplace-layout { margin-top: 20px; }.marketplace-public .provider-results { grid-template-columns: 1fr; }.marketplace-results-heading { display: block; }.marketplace-sort { margin-top: 13px; }.marketplace-public .marketplace-provider-card { min-height: 0; }.marketplace-provider-details { flex-wrap: wrap; }.marketplace-provider-details strong { margin-left: auto; }.marketplace-provider-card .provider-credential-row { flex-wrap: wrap; }.marketplace-provider-card .provider-credential-row span:last-child { margin-left: 0; }
    .provider-listing-callout { align-items: flex-start; flex-direction: column; margin-top: 35px; padding: 24px 20px; }.provider-listing-actions { width: 100%; }.provider-listing-actions .primary-button, .provider-listing-actions .secondary-button { flex: 1 1 150px; }
    .marketplace-how-it-works { margin-top: 51px; }.marketplace-section-heading { display: block; }.marketplace-section-heading > p { margin-top: 15px; }.marketplace-how-grid { grid-template-columns: 1fr; }.marketplace-how-grid article { min-height: 150px; }
    .marketplace-family-note { grid-template-columns: auto minmax(0, 1fr); margin-top: 37px; padding: 18px; }.marketplace-family-note .secondary-button { grid-column: 1 / -1; width: 100%; }.marketplace-home-footer { grid-template-columns: 1fr; gap: 18px; width: calc(100% - 28px); min-height: 0; margin-top: 45px; padding: 22px 0; }.marketplace-home-footer nav { justify-content: flex-start; width: 100%; margin: 0; }.marketplace-emergency-links { justify-items: start; }
    .public-directory-page { padding-top: 0; }
}

/* Marketplace hierarchy polish: align sections, prioritize search, and keep long filter catalogues grouped. */
.marketplace-public-hero {
    width: min(1220px, calc(100% - 72px));
    min-height: 360px;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 36px;
    padding: 42px clamp(34px, 5vw, 72px);
}

.marketplace-public-hero h1 { font-size: clamp(46px, 5.3vw, 70px); }
@media (min-width: 1280px) {
    .marketplace-public-hero h1 { font-size: clamp(42px, 4vw, 54px); }
}
.marketplace-public-hero-visual { min-height: 245px; }
.marketplace-search-card { margin-top: -28px; }
.marketplace-public .marketplace-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 20px; }
.marketplace-public .marketplace-layout > .advanced-directory-filters { max-height: calc(100vh - 120px); overflow-y: auto; }

/* Keep marketplace result cards consistent without changing the smaller provider callout cards. */
@media (min-width: 721px) {
    .marketplace-public .marketplace-provider-card {
        min-height: 365px;
        height: auto;
    }
    .marketplace-public .marketplace-provider-card .marketplace-provider-info {
        min-height: 0;
        overflow: visible;
    }
    .marketplace-public .marketplace-provider-card .provider-card-actions {
        align-self: start;
        margin-top: 0;
        padding-top: 0;
    }
}

@media (max-width: 720px) {
    .marketplace-public .marketplace-provider-card {
        height: auto;
        min-height: 0;
    }
}

/* Keep marketplace actions inside the card at every breakpoint. These rules
   are scoped to full directory results so the smaller provider callout cards
   keep their existing layout. */
.marketplace-public .marketplace-provider-body {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 205px);
    align-items: start;
    gap: 16px;
}

.marketplace-public .marketplace-provider-card .provider-card-actions {
    align-self: start;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    padding-top: 0;
    gap: 8px;
}

.marketplace-public .marketplace-provider-card .provider-card-actions > a,
.marketplace-public .marketplace-provider-card .provider-card-actions > button {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 7px 10px;
    overflow-wrap: anywhere;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
}

@media (min-width: 721px) and (max-width: 960px) {
    .marketplace-public .marketplace-provider-body {
        grid-template-columns: 1fr;
    }

    .marketplace-public .marketplace-provider-card .provider-card-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .marketplace-public .marketplace-provider-body {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .marketplace-public .marketplace-provider-card .provider-card-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .app-shell .mobile-nav-item i {
        display: grid;
        place-items: center;
        width: auto;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        font-size: 8px;
        font-style: normal;
        font-weight: 800;
        line-height: 1;
    }
}

.advanced-filter-group { overflow: hidden; border: 1px solid #e6edf4; border-radius: 9px; background: #fff; }
.advanced-filter-group + .advanced-filter-group { margin-top: 5px; }
.advanced-filter-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 34px; padding: 7px 9px; color: #5d7592; font-size: 9px; font-weight: 750; cursor: pointer; list-style: none; }
.advanced-filter-group > summary::-webkit-details-marker { display: none; }
.advanced-filter-group > summary::after { width: 7px; height: 7px; flex: 0 0 auto; border-right: 1.5px solid #7d96b1; border-bottom: 1.5px solid #7d96b1; content: ""; transform: rotate(45deg) translateY(-2px); transition: transform .16s ease; }
.advanced-filter-group[open] > summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.advanced-filter-group > summary:hover { color: #1f61b7; background: #f7faff; }
.advanced-filter-group > summary small { margin-left: auto; color: #9aaabd; font-size: 8px; font-weight: 700; }
.advanced-filter-group-options { display: grid; max-height: 220px; gap: 3px; overflow-y: auto; padding: 0 6px 6px; border-top: 1px solid #edf1f5; }
.advanced-filter-group-options .advanced-filter-option { min-height: 30px; }
.advanced-filter-category-options { max-height: 330px; }
.advanced-filter-category-group > summary { min-height: 36px; }
.advanced-filter-category-group .advanced-filter-group-options { max-height: 185px; }

/* Use the full desktop canvas for the public marketplace while preserving a
   small responsive gutter so the experience still feels intentional on wide screens. */
@media (min-width: 1101px) {
    .marketplace-home-nav,
    .marketplace-public-hero,
    .marketplace-search-card,
    .marketplace-filter-bar,
    .marketplace-public .marketplace-layout,
    .provider-listing-callout,
    .marketplace-how-it-works,
    .marketplace-family-note,
    .marketplace-home-footer {
        width: calc(100% - clamp(32px, 4vw, 96px));
        max-width: none;
    }
}

@media (max-width: 1100px) {
    .marketplace-public .marketplace-layout { grid-template-columns: 1fr; }
    .marketplace-public .marketplace-layout > .advanced-directory-filters { max-height: none; overflow: visible; }
}

@media (max-width: 720px) {
    .marketplace-public-hero {
        width: calc(100% - 28px);
        padding: 27px 21px 23px;
        border-radius: 18px;
    }
    .marketplace-public-hero h1 { max-width: 12ch; margin: 10px 0 11px; font-size: clamp(37px, 11vw, 48px); }
    .marketplace-public-hero-copy > p:not(.eyebrow) { max-width: 39ch; font-size: 12px; line-height: 1.55; }
    .marketplace-proof-row { gap: 8px 12px; margin-top: 16px; font-size: 8px; }
    .marketplace-public-hero-visual { display: none; }
    .marketplace-search-card { margin-top: 14px; }
    .marketplace-search-heading { margin-bottom: 13px; }
    .advanced-directory-filters { padding: 15px; }
    .advanced-filter-section { padding: 12px 0; }
    .marketplace-public .marketplace-layout > .advanced-directory-filters { max-height: 360px; overflow-y: auto; }
}

/* Static reference shell parity: the authenticated monolith uses the same frame as the reference site. */
:root {
    --navy: #102f61;
    --navy-strong: #0a234c;
    --muted-strong: #52637e;
    --blue: #2c6fe8;
    --teal: #13b7ad;
    --green: #1fa77c;
    --radius-lg: 20px;
    --radius-md: 14px;
}

.app-shell button { border: 0; cursor: pointer; }

/* Authenticated care request pages share one content rail. The overview was
   using the older narrow portal rail while the directory used the full canvas,
   which made the heading, action button, cards, and search area look offset. */
.care-account-overview,
.marketplace-workspace {
    width: calc(100% - clamp(32px, 4vw, 96px));
    max-width: none;
}

.care-account-overview {
    padding-top: 38px;
    padding-bottom: 0;
}

.care-account-overview .portal-intro {
    align-items: flex-start;
    gap: 32px;
}

.care-account-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.care-account-overview .portal-intro > .care-account-actions {
    flex: 0 0 auto;
}

.care-account-actions .primary-button,
.care-account-actions .secondary-button {
    white-space: nowrap;
}

.care-account-overview .section-grid-two {
    margin-top: 25px;
}

.marketplace-workspace {
    margin: 36px auto 0;
}

.marketplace-workspace .marketplace-search-card,
.marketplace-workspace .marketplace-layout {
    width: 100%;
}

.marketplace-workspace .marketplace-search-card {
    margin-top: 0;
}

.marketplace-workspace .marketplace-layout {
    margin: 24px 0 0;
}

.content-wrap > .marketplace-workspace {
    width: 100%;
    margin: 0;
}

@media (max-width: 820px) {
    .care-account-overview,
    .marketplace-workspace {
        width: calc(100% - 40px);
    }

    .content-wrap > .marketplace-workspace {
        width: 100%;
    }

    .care-account-overview .portal-intro > .care-account-actions {
        margin-top: 0;
    }

    .care-account-actions {
        width: 100%;
    }

    .care-account-actions .primary-button,
    .care-account-actions .secondary-button {
        flex: 1 1 180px;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .care-account-overview,
    .marketplace-workspace {
        width: calc(100% - 28px);
    }

    .content-wrap > .marketplace-workspace {
        width: 100%;
    }

}

.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; z-index: 5; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: 248px; padding: 24px 16px 18px; border-right: 1px solid #e9edf3; background: rgba(255,255,255,.92); }
.brand-lockup { display: block; width: 182px; height: 62px; overflow: hidden; flex: 0 0 auto; }
.brand-logo { display: block; width: 182px; height: 62px; object-fit: cover; object-position: center; }
.sidebar-scroll { flex: 1; padding-top: 30px; overflow-y: auto; }
.sidebar-label { padding: 0 13px; }
.support-label { margin-top: 34px; }
.sidebar-scroll > .sidebar-label { margin-bottom: 0; color: #9aa6b7; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.main-nav { display: grid; gap: 5px; margin-top: 12px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 13px; border-radius: 10px; color: #6d7b94; background: transparent; text-align: left; font-size: 13px; font-weight: 650; transition: .18s ease; }
.nav-item:hover { color: var(--navy); background: #f3f6fa; }
.nav-item.active { color: var(--navy); background: #eef4ff; box-shadow: inset 3px 0 0 var(--blue); }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; color: currentColor; font-size: 16px; line-height: 1; }
.nav-icon svg { width: 19px; height: 19px; }
.nav-badge { display: grid; place-items: center; min-width: 19px; height: 19px; margin-left: auto; padding: 0 5px; border-radius: 99px; color: #fff; background: #2d72e9; font-size: 10px; font-weight: 800; }
.sidebar-footer { position: relative; padding-top: 18px; }
.safety-card { display: flex; align-items: center; gap: 10px; margin: 0 3px 16px; padding: 11px 10px; border: 1px solid #dcefe9; border-radius: 12px; background: linear-gradient(135deg, #f5fffc, #fbfffe); }
.safety-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: #189d82; background: #ddf7ee; }
.safety-icon svg { width: 17px; height: 17px; }
.safety-card strong, .safety-card span { display: block; }
.safety-card strong { color: #166e61; font-size: 11px; }
.safety-card span { margin-top: 2px; color: #6d968e; font-size: 10px; }
.profile-switcher { position: relative; display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 8px; border-radius: 12px; color: var(--ink); background: transparent; text-align: left; }
.profile-switcher:hover { background: #f5f7fa; }
.profile-copy { display: grid; gap: 2px; min-width: 0; }
.profile-copy strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy small { color: #8c98aa; font-size: 10px; }
.chevron { width: 16px; height: 16px; margin-left: auto; color: #8d99aa; }
.profile-menu { position: absolute; right: 0; bottom: 65px; left: 0; z-index: 10; padding: 5px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 18px 55px rgba(20,42,78,.07); }
.profile-menu button { display: block; width: 100%; padding: 9px 10px; border-radius: 7px; color: var(--muted-strong); background: transparent; text-align: left; font-size: 11px; }
.profile-menu button:hover { background: #f4f7fb; color: var(--navy); }
.avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: -.03em; box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.small-avatar { width: 31px; height: 31px; font-size: 9px; }
.avatar-jennifer { background: linear-gradient(135deg, #263f76, #7c9ed0); }
.avatar-sarah { background: linear-gradient(135deg, #ef9a82, #bb5e62); }
.avatar-maya { background: linear-gradient(135deg, #5fa4a4, #236b80); }
.avatar-james { background: linear-gradient(135deg, #7e83c1, #454a85); }
.main-content { min-width: 0; width: calc(100% - 248px); margin-left: 248px; }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 74px; padding: 0 46px; border-bottom: 1px solid #e9edf3; background: rgba(255,255,255,.68); }
.mobile-brand { display: none; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #9aa6b8; font-size: 12px; }
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb strong { color: var(--navy); font-size: 12px; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.icon-button { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #64758f; background: transparent; }
.icon-button:hover { color: var(--navy); background: #eef3f9; }
.icon-button svg { width: 19px; height: 19px; }
.notification-dot { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border: 1px solid #fff; border-radius: 50%; background: #f27772; }
.topbar-divider { width: 1px; height: 25px; background: var(--line); }
.topbar-time { display: flex; align-items: center; gap: 7px; color: #8290a6; font-size: 11px; }
.status-dot, .online-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #28b985; box-shadow: 0 0 0 3px rgba(40,185,133,.12); }
.content-wrap { width: min(1220px, calc(100% - 92px)); margin: 0 auto; padding: 40px 0 42px; }
.gradient-eyebrow { color: #547cba; }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.welcome-copy { margin-bottom: 0; color: #728099; font-size: 14px; line-height: 1.55; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 0 17px; border-radius: 10px; font-size: 12px; font-weight: 750; transition: .18s ease; text-decoration: none; }
.primary-button { color: #fff; background: linear-gradient(135deg, #2b6fe7, #225fd0); box-shadow: 0 8px 19px rgba(37,103,222,.18); }
.primary-button:hover { color: #fff; background: linear-gradient(135deg, #2465dc, #1c54bd); box-shadow: 0 11px 22px rgba(37,103,222,.25); transform: translateY(-1px); }
.primary-button svg, .secondary-button svg { width: 16px; height: 16px; }
.secondary-button { color: var(--navy); border: 1px solid #dae3f0; background: #fff; }
.secondary-button:hover { color: var(--navy); border-color: #adc4e7; background: #f8fbff; }
.full-width { width: 100%; }
.portal-switcher { margin-top: 17px; padding: 12px 9px 10px; border: 1px solid #e5ebf3; border-radius: 14px; background: #fbfdff; }
.current-workspace { pointer-events: none; }
.workspace-identity { display: flex; align-items: center; gap: 9px; min-height: 39px; margin-top: 5px; padding: 0 5px; }
.workspace-identity .portal-tab-icon { flex: 0 0 auto; }
.workspace-copy { display: grid; gap: 3px; min-width: 0; }
.workspace-copy strong { overflow: hidden; color: #526b8d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.workspace-copy small { color: #9aa8b9; font-size: 8px; }
.session-lock { margin-left: auto; padding: 4px 5px; border: 1px solid #d8eee8; border-radius: 5px; color: #4d9c86; background: #f0faf7; font-size: 7px; font-weight: 850; letter-spacing: .06em; }
.portal-label { padding: 0 4px; font-size: 9px; }
.portal-tab-icon { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 7px; color: #2c6fe8; background: #dceaff; }
.portal-tab-icon svg { width: 15px; height: 15px; }
.mobile-role-picker { display: none; position: relative; }
.mobile-role-button { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 8px; border-radius: 7px; color: #607491; background: #f3f7fb; font-size: 10px; font-weight: 750; }
.mobile-nav { display: none; }

@media (max-width: 1100px) {
    .sidebar { width: 220px; }
    .main-content { width: calc(100% - 220px); margin-left: 220px; }
    .topbar { padding: 0 31px; }
    .content-wrap { width: min(100% - 62px, 980px); }
}

@media (max-width: 820px) {
    .sidebar { display: none; }
    .main-content { width: 100%; margin-left: 0; padding-bottom: 76px; }
    .topbar { height: 65px; padding: 0 20px; }
    .mobile-brand { display: block; width: 116px; height: 41px; }
    .mobile-brand .brand-logo { width: 116px; height: 41px; }
    .breadcrumb { display: none; }
    .topbar-time, .topbar-divider { display: none; }
    .topbar-actions { margin-left: auto; }
    .mobile-role-picker { display: block; }
    .content-wrap { width: calc(100% - 40px); padding-top: 31px; }
    .welcome-row, .portal-intro { align-items: flex-start; flex-direction: column; gap: 20px; }
    .request-button { width: 100%; }
    .mobile-nav { position: fixed; z-index: 5; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); height: 67px; padding: 7px 9px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid #e6ebf2; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
    .mobile-nav-item { position: relative; display: grid; place-items: center; gap: 3px; color: #9ba6b5; background: transparent; font-size: 9px; font-weight: 700; }
    .mobile-nav-item .nav-icon { width: 20px; height: 20px; font-size: 17px; }
    .mobile-nav-item.active { color: #286bd3; }
    .mobile-nav-item i { position: absolute; top: 2px; right: calc(50% - 15px); width: 6px; height: 6px; border: 1px solid #fff; border-radius: 50%; background: #ee7976; }
    .mobile-nav.mobile-nav-admin { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 520px) {
    .content-wrap { width: calc(100% - 28px); padding-top: 24px; }
    .welcome-copy { max-width: 295px; font-size: 13px; }
    .section-view .portal-intro > .secondary-button { width: 100%; }
}

/* 2026-09 marketplace corrections: preserve the full Simbik mark and make
   long directory selectors searchable without losing the scrollable list. */
.brand-logo,
.landing-logo,
.workspace-brand img,
.marketplace-home-brand img,
.auth-aside-brand img,
.brand-lockup .brand-logo { object-fit: contain !important; object-position: center; }
.brand-lockup { overflow: visible; }
.marketplace-home-brand { overflow: visible; background: transparent; }
.marketplace-home-brand-lockup { display: flex; align-items: center; gap: 10px; min-width: 0; }

/* Admin workspace: operational destinations are live, focused screens rather
   than placeholder views embedded in one oversized dashboard. */
.admin-overview { display: grid; gap: 20px; }
.admin-overview-intro { align-items: center; margin-bottom: 0; }
.admin-overview-intro h1 { margin: 8px 0; }
.admin-overview .metric-grid { margin: 0; }
.admin-marketplace-overview { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-marketplace-card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 19px; }
.admin-marketplace-card .section-heading { align-items: flex-start; margin-bottom: 0; }
.admin-marketplace-card h2 { margin: 4px 0 0; font-size: 1.08rem; }
.admin-kpi-list { display: grid; gap: 0; margin-top: 16px; }
.admin-kpi-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; padding: 11px 0; border-top: 1px solid #edf2f6; }
.admin-kpi-list span { color: #556c88; font-size: .73rem; font-weight: 750; }
.admin-kpi-list strong { color: var(--navy); font-size: 1.05rem; line-height: 1; }
.admin-kpi-list small { grid-column: 1 / -1; color: #8a9aae; font-size: .66rem; line-height: 1.4; }
.admin-kpi-warning { color: #c06d28 !important; }
.admin-card-action { align-self: flex-start; margin-top: auto; }
.admin-overview-queues { margin: 0; }
.admin-overview-queues .section-heading { align-items: center; }
.admin-quick-links { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-quick-link, .admin-control-card { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 18px; border: 1px solid #e4ebf4; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 8px 25px rgba(21,48,87,.035); text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.admin-quick-link:hover, .admin-control-card:hover { border-color: #bad0f2; color: var(--navy); box-shadow: 0 12px 28px rgba(21,48,87,.08); transform: translateY(-1px); }
.admin-quick-link > .nav-icon, .admin-control-card > .nav-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; color: #286bd3; background: #edf4ff; }
.admin-quick-link > .nav-icon svg { width: 21px; height: 21px; }
.admin-quick-link > span:nth-child(2), .admin-control-card > span:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.admin-quick-link strong, .admin-control-card strong { color: var(--navy); font-size: 13px; }
.admin-quick-link small, .admin-control-card small { color: #8190a6; font-size: 11px; line-height: 1.5; }
.admin-quick-link > b, .admin-control-card > b { margin-left: auto; color: #3c76d6; font-size: 19px; }
.admin-activity-card { margin: 0; }
.admin-activity-card .section-heading { align-items: center; }
.admin-compliance-only { grid-template-columns: minmax(0, 1fr); }
.admin-technical-panel { margin-top: 0; }
.technical-helper { margin: -5px 0 12px; color: #8190a6; font-size: .72rem; line-height: 1.5; }
.admin-section-view > .section-intro { margin-bottom: 24px; }
.admin-workspace-panel { margin-top: 0; }
.admin-care-operations-stack { display: grid; gap: 18px; }
.admin-panel-heading { align-items: flex-end; gap: 16px; }
.admin-panel-heading .muted { margin: 6px 0 0; }
.admin-panel-actions { display: flex; align-items: center; gap: 8px; }
.admin-panel-actions select { min-height: 37px; padding: 0 10px; border: 1px solid #dce5f0; border-radius: 9px; color: #435570; background: #fff; font: inherit; font-size: 11px; }
.provider-management-search { min-height: 37px; width: min(260px, 28vw); padding: 0 11px; border: 1px solid #dce5f0; border-radius: 9px; color: #435570; background: #fff; font: inherit; font-size: 11px; }
.provider-management-search::placeholder { color: #9aa9bb; }
.provider-management-search:focus { border-color: #2476df; box-shadow: 0 0 0 3px rgba(36,118,223,.12); outline: 0; }
.admin-control-hub { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-control-card { align-items: flex-start; min-height: 150px; }
.admin-control-card > .nav-icon { font-size: 19px; }
.static-pages-layout { display: grid; gap: 18px; grid-template-columns: minmax(190px, .28fr) minmax(0, 1fr); margin-top: 20px; }
.static-page-list { display: grid; align-content: start; gap: 6px; padding: 10px; border: 1px solid #e1eaf2; border-radius: 16px; background: #f8fbfd; }
.static-page-list-label { margin: 4px 9px 7px; color: #8a9aae; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.static-page-list-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 10px; border: 1px solid transparent; border-radius: 11px; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.static-page-list-item:hover, .static-page-list-item.active { border-color: #cfe0f6; color: var(--navy); background: #fff; box-shadow: 0 5px 14px rgba(32,72,125,.06); }
.static-page-list-item > span { display: grid; gap: 4px; min-width: 0; }
.static-page-list-item strong { font-size: 11px; }
.static-page-list-item small { color: #8b9bae; font-size: 9px; }
.static-page-list-item b { margin-left: auto; color: #3777d2; font-size: 15px; }
.static-page-editor-shell { min-width: 0; padding: 20px; border: 1px solid #e1eaf2; border-radius: 16px; background: #fff; }
.static-page-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.static-page-editor-heading h3 { margin: 5px 0 0; color: var(--navy); font-size: 16px; }
.static-page-rich-editor-field { margin-top: 18px; }
.static-page-editor-textarea { display: block; width: 100%; min-height: 320px; padding: 13px; border: 1px solid #dce7f1; border-radius: 9px; color: #344e6f; background: #fbfdff; font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; }
.static-page-editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 15px; border-top: 1px solid #eaf0f5; }
.static-page-editor-actions > span { color: #8a9aae; font-size: 10px; }
.admin-static-pages-panel .note-editor { border-color: #dce7f1; border-radius: 9px; overflow: hidden; }
.admin-static-pages-panel .note-toolbar { border-color: #e5edf4; background: #f8fbfd; }
.admin-static-pages-panel .note-editable { color: #344e6f; background: #fff; }
.admin-static-pages-panel .note-statusbar { border-color: #e5edf4; background: #fbfdff; }
.admin-operations-summary { margin: 0; padding: 16px; border-radius: 18px; }
.admin-operations-summary .operations-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.admin-queue-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-queue-columns .operation-row { grid-template-columns: minmax(0, 1fr) auto auto; }
.admin-case-resolution { margin-top: 16px; }
.admin-case-resolution .section-heading { align-items: flex-start; }
.admin-evv-panel { margin-top: 0; }
.admin-evv-list { display: grid; gap: 0; margin-top: 16px; }
.admin-evv-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid #edf2f7; color: var(--ink); background: transparent; cursor: pointer; text-align: left; }
.admin-evv-row:hover, .admin-evv-row:focus-visible, .admin-evv-row.selected { color: var(--navy); background: #f8fbff; outline: 0; }
.admin-evv-severity { min-width: 58px; text-align: center; }
.admin-evv-copy { display: grid; gap: 3px; min-width: 0; }
.admin-evv-copy strong { color: var(--navy); font-size: .82rem; text-transform: capitalize; }
.admin-evv-copy small { overflow: hidden; color: var(--muted); font-size: .71rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-evv-detail { margin-top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
    .admin-control-hub { grid-template-columns: 1fr; }
    .admin-control-card { min-height: 0; }
    .static-pages-layout { grid-template-columns: 1fr; }
    .static-page-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .static-page-list-label { grid-column: 1 / -1; }
    .admin-operations-summary .operations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-marketplace-overview { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .admin-overview { gap: 15px; }
    .admin-overview-intro { align-items: flex-start; }
    .admin-quick-links { grid-template-columns: 1fr; }
    .admin-queue-columns { grid-template-columns: 1fr; }
    .admin-panel-heading { align-items: flex-start; flex-direction: column; }
    .admin-panel-actions { width: 100%; }
    .admin-panel-actions select { flex: 1; min-width: 0; }
    .static-page-list { grid-template-columns: 1fr; }
    .static-page-editor-shell { padding: 15px; }
    .static-page-editor-heading, .static-page-editor-actions { align-items: stretch; flex-direction: column; }
    .static-page-editor-heading .button, .static-page-editor-actions .button { width: 100%; }
    .provider-management-search { flex: 1; min-width: 0; width: auto; }
    .admin-queue-columns .operation-row { grid-template-columns: minmax(0, 1fr) auto; }
    .admin-queue-columns .operation-row > .button { grid-column: 2; }
    .admin-evv-row { grid-template-columns: auto minmax(0, 1fr); }
    .admin-evv-row > .status-badge:last-child { grid-column: 2; justify-self: start; }
}
@media (max-width: 520px) {
    .admin-operations-summary { padding: 12px; }
    .admin-operations-summary .operations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-overview-queues .section-heading { align-items: flex-start; flex-direction: column; }
    .admin-overview-queues .section-heading > a { width: 100%; justify-content: center; }
    .admin-queue-columns .operation-row { align-items: start; }
    .admin-panel-actions .button { white-space: nowrap; }
}
.marketplace-home-brand-lockup > span { color: #7d91a8; font-size: 9px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.brand-tagline { color: #8a9aae; font-size: .64rem; font-weight: 750; letter-spacing: .03em; white-space: nowrap; }

.filterable-select { position: relative; min-width: 0; }
.filterable-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 43px; padding: 0 11px; border: 1px solid #dce7f1; border-radius: 9px; color: #4d6481; background: #fff; cursor: pointer; font-size: 11px; text-align: left; }
.filterable-trigger:hover, .filterable-trigger:focus-visible { border-color: #6ea2e1; box-shadow: 0 0 0 3px rgba(72,132,220,.12); outline: 0; }
.filterable-trigger > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filterable-trigger svg { width: 15px; height: 15px; flex: 0 0 auto; color: #6c8eb9; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.filterable-menu { position: absolute; top: calc(100% + 5px); right: 0; left: 0; z-index: 40; max-height: 285px; overflow-y: auto; border: 1px solid #d8e5f1; border-radius: 12px; background: #fff; box-shadow: 0 18px 38px rgba(28,70,112,.18); }
.filterable-menu-search { position: sticky; top: 0; z-index: 1; padding: 8px; border-bottom: 1px solid #edf2f7; background: #fff; }
.filterable-menu-search input { min-height: 36px !important; padding: 0 9px 0 31px !important; border-radius: 8px !important; background: #f8fbfe !important; font-size: 10px !important; }
.filterable-menu-search svg { position: absolute; top: 18px; left: 17px; width: 14px; height: 14px; color: #69a0df; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.filterable-option { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; width: 100%; min-height: 42px; padding: 7px 11px; border: 0; border-bottom: 1px solid #f0f4f8; color: #4d6481; background: #fff; cursor: pointer; font-size: 10px; text-align: left; }
.filterable-option:last-of-type { border-bottom: 0; }
.filterable-option:hover, .filterable-option:focus-visible, .filterable-option.selected { color: #155caf; background: #f2f7fd; outline: 0; }
.filterable-option > span { color: #8ba0b6; font-size: 8px; font-weight: 700; }
.filterable-option > strong { color: inherit; font-size: 10px; font-weight: 750; }
.state-search .filterable-option { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
.filterable-empty { margin: 0; padding: 14px 11px; color: #8ba0b6; font-size: 10px; }

.about-page { width: min(1120px, calc(100% - 56px)); margin: 0 auto; padding: 55px 0 80px; color: #4f6785; }
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) 285px; align-items: center; gap: 52px; padding: 45px 48px; border-radius: 24px; color: #fff; background: linear-gradient(118deg, #102f61, #16567c 64%, #108c83); box-shadow: 0 22px 55px rgba(19,66,109,.15); }
.about-hero .eyebrow, .about-principles .eyebrow { color: #93e1d5; }
.about-hero h1 { max-width: 700px; margin: 8px 0 16px; color: #fff; font-size: clamp(38px, 6vw, 70px); letter-spacing: -.075em; line-height: .98; }
.about-lede { max-width: 650px; margin: 0; color: #c7ddeb; font-size: 15px; line-height: 1.7; }
.about-hero-mark { display: grid; gap: 12px; padding: 24px; border: 1px solid rgba(255,255,255,.28); border-radius: 20px; background: rgba(255,255,255,.12); transform: rotate(2deg); }
.about-hero-mark > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #125183; background: #b9f0e5; font-size: 22px; }
.about-hero-mark strong { color: #fff; font-size: 20px; letter-spacing: -.04em; line-height: 1.08; }
.about-hero-mark small { color: #c7ddeb; font-size: 10px; }
.about-content { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 72px; padding: 76px 22px 68px; }
.about-copy h2, .about-principles h2 { max-width: 580px; margin: 7px 0 19px; color: #143565; font-size: clamp(27px, 4vw, 44px); letter-spacing: -.065em; line-height: 1.04; }
.about-copy p:not(.eyebrow), .about-ecosystem > p:not(.eyebrow), .about-principles p, .about-closing p { color: #7186a0; font-size: 13px; line-height: 1.8; }
.about-copy p + p { margin-top: 18px; color: #48698c; font-weight: 700; }
.about-ecosystem { padding: 25px 26px; border: 1px solid #dfe8f2; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(38,73,112,.05); }
.about-ecosystem ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.about-ecosystem li { position: relative; padding-left: 23px; color: #4f6785; font-size: 12px; line-height: 1.5; }
.about-ecosystem li::before { position: absolute; top: .28em; left: 0; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; color: #188c77; background: #dcf7ef; content: "✓"; font-size: 9px; font-weight: 850; }
.about-principles { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 60px; padding: 54px 48px; border-radius: 20px; background: #eef5ff; }
.about-principles h2 { margin-bottom: 0; }
.about-principles p { margin: 0; color: #617b9a; }
.about-principles p + p { margin-top: 15px; }
.about-closing { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; margin-top: 35px; padding: 28px 30px; border: 1px solid #dcefe9; border-radius: 18px; background: linear-gradient(135deg, #f5fffc, #fbfffe); }
.about-closing-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #168c78; background: #dff7ef; font-size: 23px; }
.about-closing p { margin: 0; color: #4f708c; font-weight: 650; }
.about-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.about-actions .primary-button, .about-actions .secondary-button { min-height: 39px; padding: 0 13px; font-size: 10px; }

@media (max-width: 900px) {
    .marketplace-home-brand-lockup > span, .brand-tagline { display: none; }
    .about-hero, .about-content, .about-principles { grid-template-columns: 1fr; }
    .about-hero { gap: 30px; }
    .about-hero-mark { max-width: 285px; }
    .about-content { gap: 30px; }
    .about-principles { gap: 20px; }
}

@media (max-width: 720px) {
    .filterable-menu { max-height: 260px; }
    .about-page { width: calc(100% - 28px); padding-top: 30px; }
    .about-hero { padding: 31px 24px; border-radius: 19px; }
    .about-hero h1 { font-size: clamp(37px, 12vw, 56px); }
    .about-lede { font-size: 13px; }
    .about-content { padding: 51px 0 43px; }
    .about-ecosystem { padding: 21px 19px; }
    .about-principles { padding: 28px 22px; }
    .about-closing { grid-template-columns: auto minmax(0, 1fr); padding: 22px 18px; }
    .about-actions { grid-column: 1 / -1; }
}

@media (max-width: 850px) {
    .auth-screen { grid-template-columns: 1fr; }
    .auth-visual { min-height: 440px; padding: 28px 28px 30px; }
    .auth-visual-copy { padding-bottom: 32px; }
    .auth-visual-copy h2 { font-size: 31px; }
    .auth-panel.auth-panel-inner { min-height: 670px; padding: 40px 28px 55px; }
}

@media (max-width: 520px) {
    .auth-visual { min-height: 390px; padding: 20px 20px 24px; }
    .auth-visual-brand { width: 162px; height: 57px; padding: 6px 8px; border-radius: 12px; }
    .auth-visual-copy { padding-bottom: 23px; }
    .auth-visual-copy h2 { margin-bottom: 11px; font-size: 25px; }
    .auth-visual-copy > p { font-size: 12px; }
    .auth-quote { margin-top: 18px; padding-left: 12px; }
    .auth-quote p { font-size: 12px; }
    .auth-visual-footer { font-size: 9px; }
    .auth-panel.auth-panel-inner { min-height: auto; padding: 33px 20px 42px; }
}
.auth-screen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); min-height: 100vh; background: #fff; }
.insurance-picker { display: grid; gap: 9px; padding: 11px; border: 1px solid #dbe6f0; border-radius: 12px; background: #fbfdff; }
.insurance-picker > input, .insurance-other-field input { width: 100%; min-height: 39px; padding: 0 11px; border: 1px solid #d6e2ee; border-radius: 8px; color: var(--navy); background: #fff; font: inherit; }
.insurance-picker > input:focus, .insurance-other-field input:focus { outline: 2px solid rgba(47,119,220,.18); border-color: #5b98e6; }
.insurance-selected-list { display: flex; flex-wrap: wrap; gap: 6px; }
.insurance-selected-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 27px; padding: 0 9px; border: 1px solid #bed6f5; border-radius: 999px; color: #245b9f; background: #eaf3ff; font-size: 10px; font-weight: 750; }
.insurance-selected-chip span { color: #5580ad; font-size: 14px; line-height: 1; }
.insurance-option-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; max-height: 184px; overflow-y: auto; padding-right: 4px; }
.insurance-option { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 8px; border: 1px solid transparent; border-radius: 8px; color: #506987; background: #fff; font-size: 10px; cursor: pointer; }
.insurance-option:hover { border-color: #d4e3f4; background: #f4f8fd; }
.insurance-option input { width: 15px; height: 15px; accent-color: #2d78dc; }
.insurance-no-results { margin: 5px 2px; color: #8394a8; font-size: 10px; }
.insurance-other-field { display: grid; gap: 6px; }
.insurance-other-field label { color: #496681; font-size: 10px; font-weight: 750; }

/* The desktop auth grid is declared above several feature sections. Keep the
   responsive override at the end so later desktop declarations cannot restore
   a fixed second column on phones. The form remains the first thing users see;
   the supporting visual follows it below. */
@media (max-width: 850px) {
    .auth-screen {
        grid-template-columns: minmax(0, 1fr);
        min-height: 100dvh;
        width: 100%;
        overflow-x: hidden;
    }

    .auth-screen .auth-panel {
        order: 1;
        min-width: 0;
    }

    .auth-screen .auth-visual {
        order: 2;
        min-height: 315px;
        padding: 28px 24px 30px;
    }

    .auth-screen .auth-panel.auth-panel-inner {
        min-width: 0;
        padding: 38px 24px 48px;
    }

    .auth-screen .auth-panel-inner > .auth-copy,
    .auth-screen .auth-panel-inner > .login-form,
    .auth-screen .auth-panel-inner > .notice,
    .auth-screen .auth-panel-inner > .auth-switch,
    .auth-screen .auth-panel-inner > .auth-security-note,
    .auth-screen .auth-panel-inner > .auth-footnote {
        width: 100%;
        max-width: 430px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 520px) {
    .auth-screen .auth-panel.auth-panel-inner {
        padding: 30px 16px 38px;
    }

    .auth-screen .auth-panel-inner h1 {
        font-size: clamp(2rem, 10vw, 2.5rem);
    }

    .auth-screen .auth-visual {
        min-height: 285px;
        padding: 22px 18px 25px;
    }

    .auth-screen .auth-visual-brand {
        width: 150px;
        height: 52px;
    }

    .auth-screen .auth-visual-copy h2 {
        font-size: 24px;
    }

    .auth-screen .auth-visual-copy > p {
        font-size: 11px;
    }
}

/* Keep the sign-in destination obvious on narrow public pages. */
.marketplace-home-actions .marketplace-home-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #b9cfe8;
    border-radius: 10px;
    color: var(--marketplace-ink);
    background: #fff;
    white-space: nowrap;
}
.marketplace-home-actions .marketplace-home-signin:hover { border-color: #7fa9df; color: #245da8; background: #f7fbff; }

@media (max-width: 700px) {
    .site-nav .nav-actions .button-quiet {
        min-height: 36px;
        padding: 7px 10px;
        border: 1px solid #b9cfe8;
        border-radius: 10px;
        background: #fff;
        white-space: nowrap;
    }
}

@media (max-width: 720px) {
    .marketplace-home-actions .marketplace-home-signin { min-height: 36px; padding: 0 10px; font-size: 10px; }
}

@media (max-width: 420px) {
    .marketplace-home-nav { width: calc(100% - 20px); }
    .marketplace-home-brand, .marketplace-home-brand img { width: 108px; height: 40px; }
    .marketplace-home-actions { gap: 6px; }
    .marketplace-home-actions .marketplace-home-signin { padding: 0 8px; font-size: 10px; }
    .marketplace-home-actions .primary-button { min-height: 34px; padding: 0 8px; font-size: 8px; }
}

/* Mobile web shell: compact navigation, safe-area spacing, and touch-sized
   controls. Keep this block at the end because the portal stylesheet includes
   several older responsive layers above it. */
.mobile-nav-toggle,
.mobile-nav-cta { display: none; }

@media (max-width: 700px) {
    html { scroll-padding-top: 74px; }

    body {
        min-width: 320px;
        overflow-x: hidden;
    }

    .site-nav {
        align-items: center;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 8px;
        max-width: none;
        padding: 10px 14px;
    }

    .site-nav .brand { min-width: 0; }
    .site-nav .brand-logo { height: 38px; max-width: 124px; width: 124px; }

    .site-nav nav.site-nav-menu {
        display: none;
        flex-direction: column;
        gap: 3px;
        grid-column: 1 / -1;
        order: 4;
        padding: 10px 0 2px;
        width: 100%;
    }

    .site-nav nav.site-nav-menu.mobile-menu-open { display: flex; }

    .site-nav nav.site-nav-menu a {
        align-items: center;
        display: flex;
        min-height: 44px;
        padding: 10px 12px;
        text-align: left;
        width: 100%;
    }

    .site-nav nav.site-nav-menu .mobile-nav-cta {
        display: flex;
        justify-content: center;
        margin-top: 5px;
        color: #fff;
        background: var(--brand-dark);
    }

    .mobile-nav-toggle {
        align-items: center;
        background: #fff;
        border: 1px solid #d8e5ef;
        border-radius: 11px;
        color: var(--brand-dark);
        display: grid;
        height: 40px;
        justify-items: center;
        order: 3;
        padding: 0;
        width: 40px;
    }

    .mobile-nav-toggle svg { height: 20px; width: 20px; }

    .site-nav .nav-actions {
        gap: 6px;
        margin-left: 0;
        order: 2;
    }

    .site-nav .nav-actions .nav-user { display: none; }
    .site-nav .nav-actions .button { min-height: 40px; padding: 8px 10px; }

    .site-main {
        max-width: none;
        padding: 18px 14px calc(72px + env(safe-area-inset-bottom));
    }

    .site-footer { padding: 22px 14px calc(30px + env(safe-area-inset-bottom)); }

    .page-intro { margin: 10px 0 22px; }
    .page-intro h1 { font-size: clamp(2rem, 10vw, 3rem); line-height: 1.04; }

    .public-search-section,
    .provider-search-section,
    .services-search-bar,
    .provider-search-form,
    .section-card,
    .admin-panel,
    .portal-summary,
    .care-card,
    .onboarding-card,
    .verification-section {
        border-radius: 18px;
        padding: 18px 15px;
    }

    .public-search-section,
    .provider-search-section,
    .services-search-bar,
    .provider-search-form { width: 100%; }

    .form-row,
    .provider-search-form,
    .provider-search-form .search-fields,
    .services-search-bar .search-fields { grid-template-columns: 1fr; }

    .form-actions,
    .section-card-head,
    .card-heading,
    .support-form-intro,
    .stripe-checkout-heading,
    .portal-summary-head {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .form-actions .button,
    .provider-search-form .button,
    .services-search-bar .button,
    .request-button { width: 100%; }

    .button { min-height: 46px; }

    .app-shell .topbar {
        backdrop-filter: blur(16px);
        background: rgba(255, 255, 255, .94);
        height: auto;
        min-height: 64px;
        padding: 9px 14px;
        position: sticky;
        top: 0;
        z-index: 20;
    }

    .app-shell .mobile-brand { height: 38px; width: 110px; }
    .app-shell .mobile-role-picker { margin-left: auto; }
    .app-shell .mobile-role-button { min-height: 36px; padding: 7px 9px; }
    .app-shell .topbar-actions { gap: 8px; margin-left: 0; }
    .app-shell .topbar-actions .icon-button { height: 40px; width: 40px; }

    .app-shell .main-content {
        min-width: 0;
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }

    .app-shell .content-wrap {
        padding-top: 22px;
        width: calc(100% - 28px);
    }

    .app-shell .mobile-nav {
        align-items: stretch;
        background: rgba(255, 255, 255, .96);
        bottom: 0;
        display: grid;
        gap: 2px;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        height: calc(70px + env(safe-area-inset-bottom));
        left: 0;
        overflow: hidden;
        padding: 6px 8px env(safe-area-inset-bottom);
        right: 0;
        z-index: 30;
    }

    .app-shell .mobile-nav.mobile-nav-admin {
        display: flex;
        gap: 2px;
        justify-content: flex-start;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    .app-shell .mobile-nav.mobile-nav-admin::-webkit-scrollbar { display: none; }

    .app-shell .mobile-nav-item {
        flex: 0 0 auto;
        min-height: 54px;
        min-width: 64px;
        padding: 5px 7px;
        white-space: nowrap;
    }

    .app-shell .mobile-nav:not(.mobile-nav-admin) .mobile-nav-item { min-width: 0; }
    .app-shell .mobile-nav-item .nav-icon { height: 21px; width: 21px; }
    .app-shell .mobile-nav-item i { top: 1px; }

    .table-wrap,
    .data-table-wrap,
    .responsive-table { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

    input,
    select,
    textarea { font-size: 16px; }
}

@media (max-width: 380px) {
    .site-nav .brand-logo { max-width: 108px; width: 108px; }
    .site-nav .nav-actions .button-primary { display: none; }
    .site-nav .nav-actions .button { padding-left: 8px; padding-right: 8px; }
}

/* Readable marketplace typography: keep the public directory comfortable to
   scan on large screens while retaining a compact, non-overflowing mobile
   layout. */
.marketplace-public .marketplace-search-heading h2 {
    font-size: clamp(25px, 2.6vw, 34px);
}

.marketplace-public .marketplace-search-heading p:not(.eyebrow),
.marketplace-public .marketplace-results-heading p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.6;
}

.marketplace-public .marketplace-results-heading h2 {
    font-size: clamp(29px, 3.1vw, 38px);
}

.marketplace-public .search-field-wrap > span:first-child,
.marketplace-public .marketplace-format-options > span,
.marketplace-public .directory-filter-bar > span {
    font-size: 11px;
}

.marketplace-public .marketplace-search-form input,
.marketplace-public .marketplace-search-form select {
    font-size: 14px;
}

.marketplace-public .marketplace-search-submit,
.marketplace-public .marketplace-format-options button,
.marketplace-public .directory-filter-bar button,
.marketplace-public .marketplace-sort,
.marketplace-public .marketplace-sort select {
    font-size: 12px;
}

.marketplace-public .marketplace-provider-card .provider-card-identity h3 {
    font-size: 18px;
}

.marketplace-public .marketplace-provider-card .provider-card-identity p {
    margin: 6px 0 8px;
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
}

.marketplace-public .marketplace-provider-card .provider-rating {
    font-size: 12px;
}

.marketplace-public .marketplace-provider-card .marketplace-availability {
    font-size: 10px;
}

.marketplace-public .marketplace-provider-description {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.marketplace-public .marketplace-provider-card .marketplace-provider-details {
    gap: 12px;
    font-size: 12px;
}

.marketplace-public .marketplace-provider-card .marketplace-provider-details strong {
    font-size: 15px;
}

.marketplace-public .marketplace-provider-card .provider-credential-row {
    gap: 10px;
    font-size: 11px;
    line-height: 1.4;
}

.marketplace-public .marketplace-provider-card .provider-tags span {
    padding: 6px 9px;
    font-size: 11px;
}

.marketplace-public .marketplace-provider-card .provider-card-actions > a,
.marketplace-public .marketplace-provider-card .provider-card-actions > button {
    min-height: 42px;
    font-size: 12px;
}

@media (max-width: 720px) {
    .marketplace-public .marketplace-search-heading h2 {
        font-size: 24px;
    }

    .marketplace-public .marketplace-search-heading p:not(.eyebrow),
    .marketplace-public .marketplace-results-heading p:not(.eyebrow) {
        font-size: 14px;
    }

    .marketplace-public .marketplace-results-heading h2 {
        font-size: 29px;
    }

    .marketplace-public .marketplace-provider-card .provider-card-identity h3 {
        font-size: 17px;
    }

    .marketplace-public .marketplace-provider-card .provider-card-identity p {
        font-size: 13px;
    }

    .marketplace-public .marketplace-provider-description {
        font-size: 14px;
    }

    .marketplace-public .marketplace-provider-card .provider-credential-row {
        font-size: 11px;
    }
}

/* The signed-in patient directory uses marketplace-workspace instead of
   marketplace-public. Keep its typography equally readable. */
.marketplace-workspace .marketplace-search-heading h2 {
    font-size: clamp(25px, 2.6vw, 34px);
}

.marketplace-workspace .marketplace-search-heading p:not(.eyebrow),
.marketplace-workspace .marketplace-results-heading p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.6;
}

.marketplace-workspace .marketplace-results-heading h2 {
    font-size: clamp(29px, 3.1vw, 38px);
}

.marketplace-workspace .search-field-wrap > span:first-child,
.marketplace-workspace .marketplace-format-options > span,
.marketplace-workspace .directory-filter-bar > span {
    font-size: 11px;
}

.marketplace-workspace .marketplace-search-form input,
.marketplace-workspace .marketplace-search-form select {
    font-size: 14px;
}

.marketplace-workspace .marketplace-search-submit,
.marketplace-workspace .marketplace-format-options button,
.marketplace-workspace .directory-filter-bar button,
.marketplace-workspace .marketplace-sort,
.marketplace-workspace .marketplace-sort select {
    font-size: 12px;
}

.marketplace-workspace .marketplace-provider-card .provider-card-identity h3 {
    font-size: 18px;
}

.marketplace-workspace .marketplace-provider-card .provider-card-identity p {
    margin: 6px 0 8px;
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
}

.marketplace-workspace .marketplace-provider-card .provider-rating,
.marketplace-workspace .marketplace-provider-card .marketplace-provider-details {
    font-size: 12px;
}

.marketplace-workspace .marketplace-provider-card .marketplace-availability {
    font-size: 10px;
}

.marketplace-workspace .marketplace-provider-description {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.marketplace-workspace .marketplace-provider-card .marketplace-provider-details strong {
    font-size: 15px;
}

.marketplace-workspace .marketplace-provider-card .provider-credential-row {
    gap: 10px;
    font-size: 11px;
    line-height: 1.4;
}

.marketplace-workspace .marketplace-provider-card .provider-tags span {
    padding: 6px 9px;
    font-size: 11px;
}

.marketplace-workspace .marketplace-provider-card .provider-card-actions > a,
.marketplace-workspace .marketplace-provider-card .provider-card-actions > button {
    min-height: 42px;
    font-size: 12px;
}

@media (max-width: 720px) {
    .marketplace-workspace .marketplace-search-heading h2 {
        font-size: 24px;
    }

    .marketplace-workspace .marketplace-results-heading h2 {
        font-size: 29px;
    }

    .marketplace-workspace .marketplace-provider-card .provider-card-identity h3 {
        font-size: 17px;
    }
}

/* Sharper marketplace contrast: keep the calm light surfaces, but give the
   directory text enough navy/blue contrast to remain clear at a glance. */
.marketplace-view .marketplace-search-heading h2,
.marketplace-view .marketplace-results-heading h2,
.marketplace-view .advanced-filter-section-heading {
    color: #12345b;
}

.marketplace-view .marketplace-search-heading p:not(.eyebrow),
.marketplace-view .marketplace-results-heading p:not(.eyebrow) {
    color: #5f7898;
}

.marketplace-view .search-field-wrap > span:first-child,
.marketplace-view .marketplace-format-options > span,
.marketplace-view .directory-filter-bar > span {
    color: #5e7898;
}

.marketplace-view .marketplace-search-form input,
.marketplace-view .marketplace-search-form select,
.marketplace-view .marketplace-sort select,
.marketplace-view .advanced-filter-search input,
.marketplace-view .advanced-filter-select {
    color: #355b83;
}

.marketplace-view .directory-filter-bar button,
.marketplace-view .marketplace-sort {
    color: #4f6d8f;
}

.marketplace-view .marketplace-provider-card .provider-card-identity h3 {
    color: #153c69;
}

.marketplace-view .marketplace-provider-card .provider-card-identity p {
    color: #526f91;
}

.marketplace-view .marketplace-provider-card .provider-rating {
    color: #6d84a0;
}

.marketplace-view .marketplace-provider-description {
    color: #3f5d7f;
}

.marketplace-view .marketplace-provider-details {
    color: #5d7898;
}

.marketplace-view .marketplace-provider-details strong {
    color: #254d78;
}

.marketplace-view .marketplace-provider-card .provider-credential-row {
    color: #5a7391;
}

.marketplace-view .marketplace-provider-card .provider-tags span {
    color: #4f6d8f;
    background: #edf4fb;
}

.marketplace-view .advanced-filter-group > summary {
    color: #4b6787;
}

.marketplace-view .advanced-filter-group > summary small,
.marketplace-view .advanced-filter-section-heading small,
.marketplace-view .advanced-filter-category-options .advanced-filter-option span small {
    color: #7390ad;
}

.marketplace-view .advanced-filter-option,
.marketplace-view .advanced-filter-toggle {
    color: #466886;
}

/* Marketplace type scale: make the information users compare most—provider
   name, description, experience, credentials, and actions—easier to read. */
.marketplace-view .marketplace-search-heading p:not(.eyebrow),
.marketplace-view .marketplace-results-heading p:not(.eyebrow) {
    font-size: 15px;
}

.marketplace-view .marketplace-provider-card .provider-card-identity h3 {
    font-size: 20px;
}

.marketplace-view .marketplace-provider-card .provider-card-identity p {
    font-size: 14px;
    line-height: 1.45;
}

.marketplace-view .marketplace-provider-card .provider-rating {
    font-size: 13px;
}

.marketplace-view .marketplace-provider-description {
    font-size: 16px;
    line-height: 1.55;
}

.marketplace-view .marketplace-provider-card .marketplace-provider-details {
    font-size: 13px;
}

.marketplace-view .marketplace-provider-card .marketplace-provider-details strong {
    font-size: 16px;
}

.marketplace-view .marketplace-provider-card .provider-credential-row {
    font-size: 12px;
}

.marketplace-view .marketplace-provider-card .provider-tags span {
    font-size: 12px;
}

.marketplace-view .marketplace-provider-card .provider-card-actions > a,
.marketplace-view .marketplace-provider-card .provider-card-actions > button {
    min-height: 44px;
    font-size: 13px;
}

@media (max-width: 720px) {
    .marketplace-view .marketplace-search-heading p:not(.eyebrow),
    .marketplace-view .marketplace-results-heading p:not(.eyebrow) {
        font-size: 14px;
    }

    .marketplace-view .marketplace-provider-card .provider-card-identity h3 {
        font-size: 18px;
    }

    .marketplace-view .marketplace-provider-description {
        font-size: 15px;
    }
}

/* Bring the complete directory—including filters—onto the same readable type
   scale as the provider description. */
.marketplace-view .search-field-wrap > span:first-child,
.marketplace-view .marketplace-format-options > span,
.marketplace-view .directory-filter-bar > span {
    font-size: 13px;
}

.marketplace-view .marketplace-search-form input,
.marketplace-view .marketplace-search-form select,
.marketplace-view .marketplace-sort,
.marketplace-view .marketplace-sort select {
    font-size: 15px;
}

.marketplace-view .marketplace-search-submit,
.marketplace-view .marketplace-format-options button,
.marketplace-view .directory-filter-bar button {
    font-size: 14px;
}

.marketplace-view .advanced-filter-section-heading {
    font-size: 14px;
}

.marketplace-view .advanced-filter-section-heading small,
.marketplace-view .advanced-filter-group > summary small {
    font-size: 12px;
}

.marketplace-view .advanced-filter-search input,
.marketplace-view .advanced-filter-select {
    font-size: 14px;
}

.marketplace-view .advanced-filter-option,
.marketplace-view .advanced-filter-toggle,
.marketplace-view .advanced-filter-group > summary {
    font-size: 13px;
}

.marketplace-view .advanced-filter-category-options .advanced-filter-option span small {
    font-size: 11px;
}

.marketplace-view .marketplace-provider-card .provider-card-identity h3 {
    font-size: 22px;
}

.marketplace-view .marketplace-provider-card .provider-card-identity p {
    font-size: 16px;
}

.marketplace-view .marketplace-provider-card .provider-rating {
    font-size: 15px;
}

.marketplace-view .marketplace-provider-description {
    font-size: 17px;
}

.marketplace-view .marketplace-provider-card .marketplace-provider-details {
    font-size: 14px;
}

.marketplace-view .marketplace-provider-card .marketplace-provider-details strong {
    font-size: 17px;
}

.marketplace-view .marketplace-provider-card .provider-credential-row,
.marketplace-view .marketplace-provider-card .provider-tags span {
    font-size: 13px;
}

.marketplace-view .marketplace-provider-card .provider-card-actions > a,
.marketplace-view .marketplace-provider-card .provider-card-actions > button {
    font-size: 14px;
}

@media (max-width: 720px) {
    .marketplace-view .search-field-wrap > span:first-child,
    .marketplace-view .marketplace-format-options > span,
    .marketplace-view .directory-filter-bar > span {
        font-size: 12px;
    }

    .marketplace-view .marketplace-search-form input,
    .marketplace-view .marketplace-search-form select,
    .marketplace-view .marketplace-sort,
    .marketplace-view .marketplace-sort select {
        font-size: 14px;
    }

    .marketplace-view .marketplace-search-submit,
    .marketplace-view .marketplace-format-options button,
    .marketplace-view .directory-filter-bar button {
        font-size: 13px;
    }

    .marketplace-view .advanced-filter-section-heading {
        font-size: 13px;
    }

    .marketplace-view .advanced-filter-search input,
    .marketplace-view .advanced-filter-select,
    .marketplace-view .advanced-filter-option,
    .marketplace-view .advanced-filter-toggle,
    .marketplace-view .advanced-filter-group > summary {
        font-size: 13px;
    }

    .marketplace-view .marketplace-provider-card .provider-card-identity h3 {
        font-size: 19px;
    }

    .marketplace-view .marketplace-provider-card .provider-card-identity p {
        font-size: 14px;
    }

    .marketplace-view .marketplace-provider-card .provider-rating {
        font-size: 13px;
    }

    .marketplace-view .marketplace-provider-description {
        font-size: 15px;
    }

    .marketplace-view .marketplace-provider-card .marketplace-provider-details {
        font-size: 13px;
    }

    .marketplace-view .marketplace-provider-card .provider-credential-row,
    .marketplace-view .marketplace-provider-card .provider-tags span,
    .marketplace-view .marketplace-provider-card .provider-card-actions > a,
    .marketplace-view .marketplace-provider-card .provider-card-actions > button {
        font-size: 12px;
    }
}

/* Sitewide readable type scale. Keep Simbik's compact layout, but give public
   profiles, navigation, forms, and authenticated workspace pages the same
   legibility as the marketplace cards. */
.site-shell .site-nav nav a {
    font-size: 1rem;
}

.site-shell .nav-user {
    font-size: .95rem;
}

.site-shell .site-footer {
    font-size: .88rem;
}

.site-shell .button {
    font-size: .95rem;
}

.site-shell .page-intro > p:last-child,
.site-shell .auth-lede,
.site-shell .form-help,
.site-shell .notice {
    font-size: 1rem;
}

.site-shell .form-field label,
.site-shell .account-choice legend {
    font-size: .95rem;
}

.site-shell .form-field small,
.site-shell .validation-message,
.site-shell .auth-switch {
    font-size: .85rem;
}

.directory-profile-page .profile-back-link {
    font-size: 14px;
}

.directory-profile-page .directory-profile-subtitle {
    font-size: 17px;
}

.directory-profile-page .directory-profile-rating {
    font-size: 14px;
}

.directory-profile-page .directory-profile-rating strong {
    font-size: 16px;
}

.directory-profile-page .directory-profile-card h2 {
    font-size: 23px;
}

.directory-profile-page .directory-profile-card > p:not(.eyebrow):not(.form-help) {
    color: #526f91;
    font-size: 17px;
    line-height: 1.65;
}

.directory-profile-page .directory-service-row h3 {
    font-size: 16px;
}

.directory-profile-page .directory-service-row p {
    font-size: 14px;
}

.directory-profile-page .directory-service-row > strong {
    font-size: 15px;
}

.directory-profile-page .directory-payment-label,
.directory-profile-page .directory-chip-list span,
.directory-profile-page .directory-profile-hero .provider-tags span {
    font-size: 13px;
}

.directory-profile-page .directory-qualification-list strong {
    font-size: 15px;
}

.directory-profile-page .directory-qualification-list small,
.directory-profile-page .directory-fact strong,
.directory-profile-page .directory-fact small {
    font-size: 13px;
}

.directory-profile-page .directory-profile-actions .primary-button,
.directory-profile-page .directory-profile-actions .secondary-button {
    min-height: 48px;
    font-size: 15px;
}

.public-search-section .public-search-form label {
    font-size: 12px;
}

.public-search-section .public-input-wrap input,
.public-search-section .public-search-form select {
    font-size: 14px;
}

.public-search-section .public-search-form > .primary-button {
    font-size: 13px;
}

.public-search-section .public-search-toolbar {
    font-size: 13px;
}

.public-search-section .public-filter {
    font-size: 12px;
}

.public-search-section .public-provider-card h3 {
    font-size: 17px;
}

.public-search-section .provider-specialty,
.public-search-section .public-provider-meta,
.public-search-section .public-provider-meta small {
    font-size: 13px;
}

.public-search-section .provider-tags span,
.public-search-section .public-provider-badges span {
    font-size: 12px;
}

.public-search-section .public-provider-actions button {
    min-height: 42px;
    font-size: 13px;
}

.site-shell .service-card p,
.site-shell .value-card p,
.site-shell .portal-card p {
    font-size: 1rem;
}

.site-shell .services-search-bar label span,
.site-shell .services-search-count {
    font-size: .9rem;
}

.app-shell .sidebar-scroll > .sidebar-label {
    font-size: 11px;
}

.app-shell .nav-item {
    font-size: 15px;
}

.app-shell .profile-copy strong {
    font-size: 13px;
}

.app-shell .profile-copy small {
    font-size: 11px;
}

.app-shell .breadcrumb,
.app-shell .breadcrumb strong,
.app-shell .topbar-time {
    font-size: 13px;
}

.app-shell .primary-button,
.app-shell .secondary-button {
    font-size: 14px;
}

.app-shell .form-field label,
.app-shell .account-choice legend {
    font-size: 14px;
}

.app-shell .form-field small,
.app-shell .form-help,
.app-shell .validation-message {
    font-size: 13px;
}

.workspace-shell .workspace-context-label,
.workspace-shell .workspace-nav-label {
    font-size: 11px;
}

.workspace-shell .workspace-nav a,
.workspace-shell .workspace-help {
    font-size: 14px;
}

.workspace-shell .workspace-identity strong {
    font-size: 14px;
}

.workspace-shell .workspace-identity small,
.workspace-shell .workspace-breadcrumb,
.workspace-shell .workspace-breadcrumb strong,
.workspace-shell .workspace-status {
    font-size: 12px;
}

.workspace-shell .page-intro > p:last-child,
.workspace-shell .form-help,
.workspace-shell .inline-callout span {
    font-size: 1rem;
}

.workspace-shell .role-pill,
.workspace-shell .form-field label,
.workspace-shell .account-choice legend {
    font-size: 14px;
}

.workspace-shell .form-field small,
.workspace-shell .validation-message {
    font-size: 13px;
}

.workspace-shell .inline-callout strong {
    font-size: 16px;
}

.workspace-shell .care-card-heading h2,
.workspace-shell .section-heading h2,
.workspace-shell .board-header h2,
.workspace-shell .verification-header h2 {
    font-size: 24px;
}

@media (max-width: 720px) {
    .directory-profile-page .directory-profile-card > p:not(.eyebrow):not(.form-help) {
        font-size: 16px;
    }

    .directory-profile-page .directory-profile-actions .primary-button,
    .directory-profile-page .directory-profile-actions .secondary-button {
        font-size: 14px;
    }

    .workspace-shell .care-card-heading h2,
    .workspace-shell .section-heading h2,
    .workspace-shell .board-header h2,
    .workspace-shell .verification-header h2 {
        font-size: 21px;
    }
}

/* Provider profile hero: use the available width intentionally, with the
   identity and actions as two balanced visual columns. */
.directory-profile-page {
    width: min(1240px, calc(100% - 56px));
    padding-top: 14px;
}

.site-main:has(.directory-profile-page) {
    padding-top: 24px;
}

.directory-profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    grid-template-areas:
        "back back"
        "identity actions";
    gap: 25px 34px;
    padding: 32px 34px;
}

.directory-profile-hero .profile-back-link {
    grid-area: back;
    margin-bottom: 0;
}

.directory-profile-hero .directory-profile-identity {
    grid-area: identity;
    min-width: 0;
}

.directory-profile-hero .directory-profile-actions {
    display: grid;
    grid-area: actions;
    align-content: center;
    gap: 10px;
    margin-top: 0;
    padding: 0 0 0 30px;
    border-left: 1px solid #dfe8f2;
}

.directory-profile-hero .directory-profile-actions .primary-button,
.directory-profile-hero .directory-profile-actions .secondary-button {
    width: 100%;
    min-height: 48px;
}

.directory-profile-hero .directory-profile-avatar {
    flex-basis: 104px;
    width: 104px;
    height: 104px;
}

.directory-profile-hero .provider-tags {
    gap: 8px;
    margin-top: 20px;
}

.directory-profile-hero .provider-tags span {
    padding: 8px 11px;
}

@media (max-width: 760px) {
    .site-main:has(.directory-profile-page) {
        padding-top: 14px;
    }

    .directory-profile-page {
        width: calc(100% - 28px);
        padding-top: 10px;
    }

    .directory-profile-hero {
        grid-template-columns: 1fr;
        grid-template-areas:
            "back"
            "identity"
            "actions";
        gap: 20px;
        padding: 23px 19px;
    }

    .directory-profile-hero .directory-profile-avatar {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

    .directory-profile-hero .directory-profile-actions {
        display: flex;
        flex-wrap: wrap;
        padding: 20px 0 0;
        border-top: 1px solid #dfe8f2;
        border-left: 0;
    }

    .directory-profile-hero .directory-profile-actions .primary-button,
    .directory-profile-hero .directory-profile-actions .secondary-button {
        width: auto;
        flex: 1 1 180px;
    }
}
