/*--------------------------------------------------------------
MIC Portal — custom stylesheet
Loaded after krs-tokens.css and mic-styles.css.
--------------------------------------------------------------*/

/* ============================================================
   GLOBAL FONT OVERRIDE
   Apply Poppins (loaded via krs-tokens.css → Google Fonts)
   across all BuddyBoss elements.
   ============================================================ */

body,
h1, h2, h3, h4, h5, h6,
.bb-grid, .bb-content-area,
.site-title, .site-description,
.entry-title, .entry-content,
.widget-title, .widget,
input, button, select, textarea,
.bp-navs li a, .bp-subnavs li a,
#buddypress, #buddypress * {
    font-family: var(--font-sans) !important;
}

/* ============================================================
   BUDDYBOSS ACCENT COLOR OVERRIDES
   Mirror the buddyboss_theme_options values set via WP-CLI
   as CSS fallbacks for any hardcoded BuddyBoss selectors.
   ============================================================ */

:root {
    /* Override BuddyBoss CSS variables where they exist */
    --bb-primary-color: var(--krs-navy-800);
    --bb-link-color:    var(--krs-gold-600);
}

/* BuddyBoss global link/hover colour */
a:not([class*="krs-"]):not([class*="mic-"]):hover {
    color: var(--krs-gold-600);
}

/* BuddyBoss header background */
#masthead,
.site-header,
.bb-header {
    background-color: var(--krs-white) !important;
    border-bottom: 1px solid var(--border-default) !important;
}

/* BuddyBoss nav link hover */
.main-navigation a:hover,
.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a {
    color: var(--krs-gold-600) !important;
}

/* BuddyBoss primary buttons */
.bb-primary-btn,
.button.bb-primary-btn,
a.bb-primary-btn {
    background: var(--krs-navy-800) !important;
    border-color: var(--krs-navy-800) !important;
    color: var(--krs-white) !important;
    font-family: var(--font-sans) !important;
    border-radius: var(--radius-pill) !important;
}
.bb-primary-btn:hover,
.button.bb-primary-btn:hover {
    background: var(--krs-navy-700) !important;
    border-color: var(--krs-navy-700) !important;
}

/* BuddyBoss page background */
body.logged-in #page,
body.logged-in .site {
    background-color: var(--bg-page) !important;
}

/* ============================================================
   WRAPPER
   ============================================================ */
.krs-dashboard-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

/* ============================================================
   1. TOP BANNER
   ============================================================ */
.krs-top-banner {
    background: #1a2744;
    color: #fff;
    text-align: center;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.015em;
    margin: 0 -16px 24px;          /* bleed to edges */
}

.krs-top-banner__icon {
    margin-left: 6px;
    font-style: normal;
    opacity: .8;
}

/* ============================================================
   2. TOP CARD: Greeting+Coverage (left) | Agent (right)
   ============================================================ */
.krs-dashboard-top-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

/* ── Left panel (greeting + coverage) ── */
.krs-dashboard-top-card__main {
    flex: 2 1 360px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    padding: 28px 28px 24px;
}

.krs-top-card-intro__title {
    font-size: 26px;
    font-weight: 800;
    color: #1a2744;
    margin: 0 0 6px;
    line-height: 1.2;
}

.krs-top-card-intro__subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 22px;
    line-height: 1.5;
}

/* ── Coverage section ── */
.krs-coverage-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.krs-coverage-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.krs-coverage-group__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #374151;
    margin-bottom: 2px;
}

.krs-coverage-chips {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Each chip: full-width pill */
.krs-coverage-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 14px;
}

.krs-coverage-chip--covered {
    background: #ede9ff;
    border: 1.5px solid #c4b5fd;
    color: #3b1fa8;
}

.krs-coverage-chip--explore {
    background: #fff8ec;
    border: 1.5px solid #fcd34d;
    color: #92400e;
}

.krs-coverage-chip__name {
    font-weight: 600;
    flex: 1;
}

.krs-coverage-chip__meta {
    font-size: 12px;
    opacity: .75;
    white-space: nowrap;
}

.krs-coverage-chip__portal {
    font-size: 12px;
    font-weight: 600;
    color: #5b3fd4;
    text-decoration: none;
    white-space: nowrap;
}

.krs-coverage-chip__portal:hover {
    text-decoration: underline;
}

/* Pending state for new members */
.krs-coverage-pending {
    font-size: 14px;
    color: #9ca3af;
    font-style: italic;
    margin: 8px 0 0;
}

/* ── Right panel (agent card) ── */
.krs-dashboard-top-card__agent {
    flex: 1 1 240px;
    max-width: 300px;
}

.krs-agent-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.krs-agent-card__heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
}

.krs-agent-card__profile {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.krs-agent-card__photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #ede9ff;
}

.krs-agent-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.krs-agent-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #1a2744;
    line-height: 1.3;
}

.krs-agent-card__contact {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    word-break: break-all;
}

.krs-agent-card__contact:hover {
    color: #5b3fd4;
    text-decoration: underline;
}

.krs-agent-card__quote {
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

.krs-agent-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Paid consultation block inside agent actions */
.krs-paid-consult {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.krs-paid-consult__label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 2px;
}

/* ============================================================
   SHARED BUTTONS
   ============================================================ */
.krs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
}

.krs-btn--block {
    display: flex;
    width: 100%;
}

.krs-btn--primary {
    background: #1a2744;
    color: #fff;
    border-color: #1a2744;
}

.krs-btn--primary:hover {
    background: #243360;
    border-color: #243360;
    color: #fff;
    text-decoration: none;
}

.krs-btn--secondary {
    background: transparent;
    color: #5b3fd4;
    border-color: #5b3fd4;
}

.krs-btn--secondary:hover {
    background: #ede9ff;
    color: #5b3fd4;
    text-decoration: none;
}

/* ============================================================
   3. DASHBOARD GRID (left 1fr | center 2fr | right 1fr)
   ============================================================ */
.krs-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: start;
}

.krs-dashboard-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ============================================================
   SHARED BLOCK CARD
   ============================================================ */
.krs-block {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

.krs-block__title {
    font-size: 14px;
    font-weight: 700;
    color: #1a2744;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #f3f4f6;
    text-transform: none;
    letter-spacing: normal;
}

.krs-block__empty {
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
    margin: 0;
}

.krs-see-all {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: #5b3fd4;
    font-weight: 600;
    text-decoration: none;
}

.krs-see-all:hover {
    text-decoration: underline;
}

/* ============================================================
   PERK LIST (left column)
   ============================================================ */
.krs-perk-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.krs-perk-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.krs-perk-item__thumb-link {
    flex-shrink: 0;
}

.krs-perk-item__img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    background: #f3f4f6;
}

.krs-perk-item__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.krs-perk-item__name {
    font-size: 13px;
    font-weight: 600;
    color: #1a2744;
    text-decoration: none;
    line-height: 1.4;
}

.krs-perk-item__name:hover {
    color: #5b3fd4;
    text-decoration: underline;
}

.krs-perk-item__discount {
    font-size: 12px;
    color: #6b7280;
}

/* ============================================================
   BLOG LIST (left column)
   ============================================================ */
.krs-blog-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.krs-blog-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.krs-blog-item__thumb-link {
    flex-shrink: 0;
}

.krs-blog-item__img {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    object-fit: cover;
    display: block;
    background: #f3f4f6;
}

.krs-blog-item__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.krs-blog-item__title {
    font-size: 13px;
    font-weight: 600;
    color: #1a2744;
    text-decoration: none;
    line-height: 1.4;
}

.krs-blog-item__title:hover {
    color: #5b3fd4;
    text-decoration: underline;
}

.krs-blog-item__date {
    font-size: 11px;
    color: #9ca3af;
}

/* ============================================================
   MOTIVATOR IMAGE (center column)
   ============================================================ */
.krs-motivator {
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.krs-motivator__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

/* ============================================================
   MEMBER UPDATES (center column)
   ============================================================ */
.krs-update-item {
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1.5px solid #f3f4f6;
}

.krs-update-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.krs-update-item__meta {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 5px;
}

.krs-update-item__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a2744;
    margin: 0 0 10px;
    line-height: 1.3;
}

.krs-update-item__title a {
    color: inherit;
    text-decoration: none;
}

.krs-update-item__title a:hover {
    color: #5b3fd4;
}

.krs-update-item__thumb-link {
    display: block;
    margin-bottom: 10px;
    line-height: 0;
}

.krs-update-item__img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}

.krs-update-item__excerpt {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 10px;
}

.krs-update-item__cta {
    font-size: 13px;
    font-weight: 600;
    color: #5b3fd4;
    text-decoration: none;
}

.krs-update-item__cta:hover {
    text-decoration: underline;
}

/* ============================================================
   HELP BUTTON (right column — gold/yellow per design)
   ============================================================ */
.krs-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: #f5a623;
    color: #1a2744;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background .15s;
    border: none;
}

.krs-help-btn:hover {
    background: #e09510;
    color: #1a2744;
    text-decoration: none;
}

.krs-help-btn__icon {
    font-size: 16px;
    line-height: 1;
}

/* ============================================================
   ICON LIST (products / benefits — right column)
   ============================================================ */
.krs-icon-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.krs-icon-list__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.krs-icon-list__icon {
    font-size: 18px;
    color: #5b3fd4;
    flex-shrink: 0;
}

.krs-icon-list__label {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
}

a.krs-icon-list__label:hover {
    color: #5b3fd4;
    text-decoration: underline;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .krs-dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Center column spans full width, floats to top */
    .krs-dashboard-col--center {
        grid-column: 1 / -1;
        order: -1;
    }

    /* Agent card can go full width next to coverage */
    .krs-dashboard-top-card__agent {
        max-width: none;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
    .krs-top-banner {
        margin: 0 -16px 20px;
        padding: 10px 16px;
    }

    .krs-dashboard-top-card {
        flex-direction: column;
        gap: 16px;
    }

    .krs-dashboard-top-card__main,
    .krs-dashboard-top-card__agent {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .krs-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .krs-dashboard-col--center {
        order: 0;
    }

    .krs-top-card-intro__title {
        font-size: 22px;
    }

    .krs-coverage-chip {
        /* On narrow screens, stack meta below name */
        flex-wrap: wrap;
    }
}

/* ============================================================
   MY COVERAGE — LIST & DETAIL VIEWS
   ============================================================ */

.mic-policy-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 56px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ── Breadcrumb ── */
.mic-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #767A8E;
    flex-wrap: wrap;
}

.mic-breadcrumb__link {
    color: #767A8E;
    text-decoration: none;
}

.mic-breadcrumb__link:hover {
    color: #1A2356;
    text-decoration: underline;
}

.mic-breadcrumb__sep {
    color: #C2C5D2;
    flex-shrink: 0;
}

.mic-breadcrumb__current {
    color: #0A1340;
    font-weight: 500;
}

/* ── Page header ── */
.mic-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.mic-page-header__title {
    font-size: 36px;
    font-weight: 700;
    color: #0A1340;
    margin: 0 0 8px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.mic-page-header__subtitle {
    font-size: 16px;
    color: #5F6478;
    margin: 0;
    line-height: 1.6;
    max-width: 560px;
}

.mic-page-header__actions {
    flex-shrink: 0;
    padding-top: 4px;
}

/* ── Stats row ── */
.mic-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.mic-stat-card {
    background: #fff;
    border: 1px solid #DCDEE6;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mic-stat-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #767A8E;
}

.mic-stat-card__value {
    font-size: 26px;
    font-weight: 700;
    color: #0A1340;
    line-height: 1.1;
}

.mic-stat-card__sub {
    font-size: 13px;
    color: #767A8E;
}

/* ── Eyebrow label ── */
.mic-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #767A8E;
    margin-bottom: 6px;
}

/* ── Section heading ── */
.mic-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.mic-section-heading__title {
    font-size: 22px;
    font-weight: 700;
    color: #0A1340;
    margin: 0;
    line-height: 1.2;
}

.mic-section-heading__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #6E5FAE;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.mic-section-heading__link:hover {
    text-decoration: underline;
    color: #6E5FAE;
}

/* ── Policy list ── */
.mic-list-section {
    display: flex;
    flex-direction: column;
}

.mic-policy-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid #DCDEE6;
    border-radius: 14px;
    overflow: hidden;
}

.mic-policy-row {
    display: grid;
    grid-template-columns: 48px 1fr auto auto 120px;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #ECEDF2;
    transition: background 0.15s;
}

.mic-policy-row:last-child {
    border-bottom: none;
}

.mic-policy-row:hover {
    background: #F5F5F8;
    text-decoration: none;
}

.mic-policy-row__icon {
    width: 44px;
    height: 44px;
    background: #ECE8F6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6E5FAE;
    flex-shrink: 0;
}

.mic-policy-row--pending .mic-policy-row__icon {
    background: #F5F5F8;
    color: #9CA0B2;
}

.mic-policy-row__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.mic-policy-row__name {
    font-size: 15px;
    font-weight: 600;
    color: #0A1340;
    line-height: 1.3;
}

.mic-policy-row__desc {
    font-size: 13px;
    color: #767A8E;
    line-height: 1.4;
}

.mic-policy-row__pending-note {
    font-size: 12px;
    color: #C9881F;
    font-style: italic;
    margin-top: 2px;
}

.mic-policy-row__renewal {
    text-align: right;
    min-width: 110px;
}

.mic-policy-row__renewal-date {
    font-size: 12px;
    color: #767A8E;
    white-space: nowrap;
}

/* ── Status badges ── */
.mic-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.mic-status--active {
    background: #E5F3EB;
    color: #2F8F5A;
}

.mic-status--active .mic-status__dot {
    background: #2F8F5A;
}

.mic-status--pending {
    background: #FBF1DC;
    color: #C9881F;
}

.mic-status--pending .mic-status__dot {
    background: #C9881F;
}

.mic-status__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mic-policy-row__action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #767A8E;
    justify-content: flex-end;
    white-space: nowrap;
}

.mic-policy-row:hover .mic-policy-row__action {
    color: #6E5FAE;
}

/* ── Detail layout ── */
.mic-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.mic-detail-layout__main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mic-detail-layout__sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Hero card ── */
.mic-hero-card {
    background: #fff;
    border: 1px solid #DCDEE6;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.mic-hero-card__illustration {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.mic-hero-card__illustration svg {
    width: 80px;
    height: auto;
}

.mic-hero-card__body {
    flex: 1;
    min-width: 0;
}

.mic-hero-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.mic-hero-card__meta .mic-eyebrow {
    margin-bottom: 0;
}

.mic-hero-card__title {
    font-size: 30px;
    font-weight: 700;
    color: #0A1340;
    margin: 0 0 12px;
    line-height: 1.15;
}

.mic-hero-card__desc {
    font-size: 15px;
    color: #5F6478;
    line-height: 1.65;
    margin: 0 0 16px;
}

.mic-carrier-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #ECE8F6;
    color: #6E5FAE;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.mic-carrier-chip:hover {
    background: #D6CFEC;
    color: #6E5FAE;
    text-decoration: none;
}

/* ── Section card ── */
.mic-section-card {
    background: #fff;
    border: 1px solid #DCDEE6;
    border-radius: 14px;
    padding: 24px;
}

.mic-section-card--accent {
    background: #F4F2FB;
    border-color: #D6CFEC;
}

.mic-section-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #0A1340;
    margin: 0 0 16px;
}

.mic-section-card__desc {
    font-size: 14px;
    color: #5F6478;
    line-height: 1.55;
    margin: 0 0 16px;
}

/* ── What this covers list ── */
.mic-covers-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mic-covers-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 13px 0;
    border-bottom: 1px solid #ECEDF2;
}

.mic-covers-item:last-child {
    border-bottom: none;
}

.mic-covers-item__check {
    width: 22px;
    height: 22px;
    background: #E5F3EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2F8F5A;
    margin-top: 1px;
}

.mic-covers-item__text {
    flex: 1;
    min-width: 0;
}

.mic-covers-item__title {
    font-size: 14px;
    font-weight: 600;
    color: #0A1340;
    line-height: 1.3;
}

.mic-covers-item__sub {
    font-size: 13px;
    color: #767A8E;
    line-height: 1.4;
    margin-top: 2px;
}

/* ── Not sure block ── */
.mic-not-sure-block {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    background: #F4F2FB;
    border-radius: 10px;
    border: 1px solid #D6CFEC;
}

.mic-not-sure-block__icon {
    color: #6E5FAE;
    flex-shrink: 0;
    margin-top: 2px;
}

.mic-not-sure-block__text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0A1340;
    margin-bottom: 4px;
}

.mic-not-sure-block__text p {
    margin: 0;
    font-size: 13px;
    color: #5F6478;
    line-height: 1.5;
}

/* ── Carrier block ── */
.mic-carrier-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mic-carrier-block__label {
    font-size: 13px;
    font-weight: 600;
    color: #767A8E;
}

.mic-carrier-block__link {
    font-size: 14px;
    font-weight: 600;
    color: #6E5FAE;
    text-decoration: none;
}

.mic-carrier-block__link:hover {
    text-decoration: underline;
}

.mic-carrier-block__empty {
    font-size: 13px;
    color: #9CA0B2;
    font-style: italic;
    margin: 0;
}

/* ── Agent actions ── */
.mic-agent-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── Other policies strip ── */
.mic-other-policies {
    display: flex;
    flex-direction: column;
}

.mic-other-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.mic-mini-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #DCDEE6;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, border-color 0.15s;
}

.mic-mini-card:hover {
    background: #F4F2FB;
    border-color: #D6CFEC;
    text-decoration: none;
}

.mic-mini-card__icon {
    width: 40px;
    height: 40px;
    background: #ECE8F6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6E5FAE;
    flex-shrink: 0;
}

.mic-mini-card__body {
    flex: 1;
    min-width: 0;
}

.mic-mini-card__name {
    font-size: 14px;
    font-weight: 600;
    color: #0A1340;
    line-height: 1.3;
}

.mic-mini-card__desc {
    font-size: 12px;
    color: #767A8E;
    line-height: 1.4;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mic-mini-card__chevron {
    color: #C2C5D2;
    flex-shrink: 0;
}

/* ── Empty state ── */
.mic-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px solid #DCDEE6;
    border-radius: 16px;
    gap: 16px;
}

.mic-empty-state__illustration {
    width: 80px;
    opacity: 0.6;
}

.mic-empty-state__illustration svg {
    width: 100%;
    height: auto;
}

.mic-empty-state__title {
    font-size: 20px;
    font-weight: 700;
    color: #0A1340;
    margin: 0;
}

.mic-empty-state__desc {
    font-size: 15px;
    color: #767A8E;
    margin: 0;
    line-height: 1.55;
}

/* ── Recommended / upsell block ── */
.mic-recommended {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 32px;
    background: #FBF1DC;
    border: 1px solid #E5C77B;
    border-radius: 16px;
}

.mic-recommended__illustration {
    flex-shrink: 0;
    width: 80px;
    opacity: 0.85;
}

.mic-recommended__illustration svg {
    width: 100%;
    height: auto;
}

.mic-recommended__body {
    flex: 1;
}

.mic-recommended__title {
    font-size: 20px;
    font-weight: 700;
    color: #0A1340;
    margin: 0 0 10px;
    line-height: 1.3;
}

.mic-recommended__desc {
    font-size: 14px;
    color: #5F6478;
    margin: 0 0 18px;
    line-height: 1.6;
}

.mic-recommended__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ── Responsive — tablet ── */
@media (max-width: 1024px) {
    .mic-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .mic-detail-layout {
        grid-template-columns: 1fr;
    }

    .mic-detail-layout__sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Responsive — mobile ── */
@media (max-width: 767px) {
    .mic-policy-page {
        padding-bottom: 40px;
        gap: 24px;
    }

    .mic-page-header {
        flex-direction: column;
    }

    .mic-page-header__title {
        font-size: 28px;
    }

    .mic-stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .mic-policy-row {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto auto;
        gap: 10px 12px;
    }

    .mic-policy-row__icon {
        grid-row: 1 / 3;
    }

    .mic-policy-row__body {
        grid-column: 2;
    }

    .mic-policy-row__renewal {
        grid-column: 1 / -1;
        text-align: left;
        min-width: 0;
        display: none;
    }

    .mic-policy-row__status {
        grid-column: 2;
    }

    .mic-policy-row__action {
        display: none;
    }

    .mic-hero-card {
        flex-direction: column;
        padding: 20px;
    }

    .mic-hero-card__illustration {
        display: none;
    }

    .mic-hero-card__title {
        font-size: 24px;
    }

    .mic-detail-layout__sidebar {
        grid-template-columns: 1fr;
    }

    .mic-other-grid {
        grid-template-columns: 1fr;
    }

    .mic-recommended {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .mic-recommended__illustration {
        display: none;
    }

    .mic-recommended__actions {
        justify-content: center;
    }

    .mic-section-heading__title {
        font-size: 18px;
    }
}

/* ============================================================
   AGENT MESSAGE MODAL
   ============================================================ */

/* Prevent body scroll while modal is open */
body.krs-modal-open {
    overflow: hidden;
}

/* Full-screen overlay — clicking it does NOT close the modal */
.krs-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.krs-modal[hidden] {
    display: none;
}

/* Modal box */
.krs-modal__box {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Header */
.krs-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 16px;
    border-bottom: 1.5px solid #f3f4f6;
    position: sticky;
    top: 0;
    background: #fff;
    border-radius: 14px 14px 0 0;
    z-index: 1;
}

.krs-modal__title {
    font-size: 17px;
    font-weight: 700;
    color: #1a2744;
    margin: 0;
}

.krs-modal__close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    transition: background .15s, color .15s;
}

.krs-modal__close:hover {
    background: #e5e7eb;
    color: #1a2744;
}

/* Form body */
.krs-modal__form {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.krs-modal__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.krs-modal__label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.krs-modal__label-hint {
    font-weight: 400;
    color: #9ca3af;
    margin-left: 4px;
}

.krs-modal__input,
.krs-modal__textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #1a2744;
    background: #fff;
    transition: border-color .15s;
    font-family: inherit;
    box-sizing: border-box;
}

.krs-modal__input:focus,
.krs-modal__textarea:focus {
    outline: none;
    border-color: #5b3fd4;
    box-shadow: 0 0 0 3px rgba(91,63,212,.12);
}

.krs-modal__textarea {
    resize: vertical;
    min-height: 120px;
}

/* Status message */
.krs-modal__status {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.krs-modal__status[hidden] {
    display: none;
}

.krs-modal__status--success {
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    color: #166534;
}

.krs-modal__status--error {
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    color: #991b1b;
}

/* Actions row */
.krs-modal__actions {
    display: flex;
    justify-content: flex-end;
}

/* Mobile: full-width button */
@media (max-width: 520px) {
    .krs-modal__box {
        max-height: 100vh;
        border-radius: 14px 14px 0 0;
        align-self: flex-end;
    }

    .krs-modal {
        align-items: flex-end;
        padding: 0;
    }

    .krs-modal__actions .krs-btn {
        width: 100%;
    }
}

/* ============================================================
   MIC DASHBOARD — Layout (v2, mic-* classes)
   ============================================================ */

/* Hero card 2-col grid */
.mic-dash-hero__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}

.mic-dash-hero__main {
    padding: 36px 40px;
}

.mic-dash-hero__title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--krs-navy-900);
    letter-spacing: -0.015em;
    margin: 0 0 8px;
    line-height: 1.1;
}

.mic-dash-hero__subtitle {
    font-size: 16px;
    color: var(--krs-gray-600);
    margin: 0 0 22px;
    line-height: 1.5;
    max-width: 480px;
}

.mic-dash-hero__pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

/* Coverage table */
.mic-dash-coverage {
    background: var(--krs-paper);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    max-width: 560px;
}

.mic-dash-coverage__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mic-dash-coverage__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--krs-navy-900);
    margin: 0;
}

.mic-dash-coverage__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--krs-gray-100);
}

.mic-dash-coverage__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.mic-dash-coverage__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--krs-navy-900);
}

.mic-dash-coverage__carrier {
    font-size: 12.5px;
    color: var(--krs-gray-500);
    margin-top: 2px;
}

/* Lower 3-column grid */
.mic-dash-grid {
    display: grid;
    grid-template-columns: 1fr 1.45fr 0.85fr;
    gap: 20px;
    align-items: start;
}

.mic-dash-col {
    display: flex;
    flex-direction: column;
    gap: 0;  /* individual items control their own spacing */
}

/* 2-column promo card row inside col 2 */
.mic-dash-promo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Responsive — tablet */
@media (max-width: 1100px) {
    .mic-dash-hero__grid {
        grid-template-columns: 1fr;
    }

    .mic-dash-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mic-dash-col--right {
        grid-column: 1 / -1;
    }

    .mic-dash-hero__title {
        font-size: 32px;
    }
}

/* Responsive — mobile */
@media (max-width: 767px) {
    .mic-dash-hero__main {
        padding: 24px 20px;
    }

    .mic-dash-hero__title {
        font-size: 28px;
    }

    .mic-dash-coverage {
        max-width: 100%;
    }

    .mic-dash-grid {
        grid-template-columns: 1fr;
    }

    .mic-dash-promo-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   AGENT PROFILE PAGE  (page-templates/agent-profile.php)
   ============================================================ */

/* Breadcrumb */
.mic-breadcrumb {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.mic-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}
.mic-breadcrumb a:hover {
    color: var(--krs-gold-600);
}
.mic-breadcrumb__sep {
    margin: 0 6px;
    opacity: 0.5;
}

/* ── Agent hero card ── */
.mic-agent-hero {
    margin-bottom: 24px;
}

/* Navy banner — contains all headline copy, auto height from content */
.mic-agent-hero__banner {
    background: linear-gradient(135deg, #0A1340 0%, #1A2356 100%);
    padding: 32px 36px 28px;
}

.mic-agent-hero__headline {
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 8px 0 12px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    max-width: 640px;
}

.mic-agent-hero__sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
    max-width: 560px;
}

/* White profile row — photo + name sit in the card below the banner */
.mic-agent-hero__profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 36px 24px;
    background: #fff;
    border-top: 1px solid #ECEDF2;
}

.mic-agent-hero__photo-wrap {
    flex-shrink: 0;
}

.mic-agent-hero__photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #ECEDF2;
    object-fit: cover;
    background: #ECEDF2;
    display: block;
}

.mic-agent-hero__photo--placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #ECEDF2;
    background: linear-gradient(135deg, #0E1A47, #1A2356);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.mic-agent-hero__namerow {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mic-agent-hero__name {
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0A1340;
    margin: 0;
    line-height: 1.2;
}

.mic-agent-hero__role {
    font-size: 14px;
    color: #5F6478;
    margin: 0;
}

/* ── Two-column body ── */
.mic-agent-body {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
    align-items: start;
}

/* Bio blockquote */
.mic-agent-bio__quote {
    border-left: 3px solid var(--krs-gold-500);
    padding: 12px 0 12px 20px;
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
}

/* "What {name} can help with" */
.mic-agent-helps__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--krs-navy-900);
    margin: 0 0 14px;
}
.mic-agent-helps__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.mic-agent-helps__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--krs-paper);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.4;
}
.mic-agent-helps__icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

/* Reach out contacts */
.mic-agent-contacts__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--krs-navy-900);
    margin: 0 0 12px;
}
.mic-agent-contacts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.mic-agent-contact-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: var(--krs-paper);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--krs-navy-900);
    font-size: 12px;
    font-weight: 500;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.mic-agent-contact-tile:hover {
    border-color: var(--krs-gold-500);
    box-shadow: var(--shadow-sm);
    color: var(--krs-navy-900);
}
.mic-agent-contact-tile__icon {
    font-size: 20px;
}
.mic-agent-response {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 16px;
}
.mic-agent-contacts__msg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--krs-navy-800);
    color: var(--krs-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.mic-agent-contacts__msg-btn:hover {
    background: var(--krs-navy-900);
}

/* Schedule card */
.mic-agent-schedule {
    background: var(--krs-navy-900);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 16px;
    color: var(--krs-white);
}
.mic-agent-schedule__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--krs-white);
    margin: 0 0 6px;
}
.mic-agent-schedule__sub {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin: 0 0 18px;
}
.mic-agent-schedule-opts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mic-agent-schedule-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--krs-white);
    transition: background 0.15s, border-color 0.15s;
}
.mic-agent-schedule-opt:hover {
    background: rgba(255,255,255,0.14);
    border-color: var(--krs-gold-500);
    color: var(--krs-white);
}
.mic-agent-schedule-opt__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mic-agent-schedule-opt__label {
    font-size: 13px;
    font-weight: 600;
}
.mic-agent-schedule-opt__price {
    font-size: 12px;
    color: var(--krs-gold-400);
}
.mic-agent-schedule-opt__arrow {
    font-size: 16px;
    opacity: 0.6;
}
.mic-agent-schedule__embed iframe {
    width: 100%;
    min-height: 480px;
    border: none;
    border-radius: var(--radius-md);
}
.mic-agent-schedule__cta {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--krs-gold-500);
    color: var(--krs-navy-900);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}
.mic-agent-schedule__cta:hover {
    background: var(--krs-gold-600);
    color: var(--krs-navy-900);
}

/* Specializations stat strip */
.mic-agent-specs {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.mic-agent-spec {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mic-agent-spec__value {
    font-size: 20px;
    font-weight: 700;
    color: var(--krs-navy-900);
    line-height: 1;
}
.mic-agent-spec__label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Responsive — tablet */

/* ── Bio blockquote ── */
.mic-agent-bio__quote {
    border-left: 3px solid #C39935;
    padding: 12px 0 12px 20px;
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: #0A1340;
    font-style: italic;
}

/* ── Bio stats ── */
.mic-agent-bio__stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #DCDEE6;
}

.mic-agent-bio__stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mic-agent-bio__stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #767A8E;
}

.mic-agent-bio__stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #0A1340;
}

/* ── What {name} can help with ── */
.mic-agent-helps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mic-agent-help-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #0A1340;
    line-height: 1.4;
}

.mic-agent-help-item__icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

/* ── Reach out contact rows ── */
.mic-agent-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.mic-agent-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #DCDEE6;
    border-radius: 12px;
    text-decoration: none;
    color: #0A1340;
    transition: border-color .15s, box-shadow .15s;
}

.mic-agent-contact:hover {
    border-color: #C39935;
    box-shadow: 0 2px 6px rgba(14,26,71,.06);
    color: #0A1340;
    text-decoration: none;
}

.mic-agent-contact--primary {
    background: #FBFAFD;
}

.mic-agent-contact__icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

.mic-agent-contact__icon--gold {
    color: #BE9A30;
}

.mic-agent-contact__body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}

.mic-agent-contact__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #767A8E;
}

.mic-agent-contact__value {
    font-size: 14px;
    font-weight: 500;
    color: #0A1340;
}

/* ── Response time ── */
.mic-agent-response-time {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #5F6478;
    margin: 0 0 16px;
    line-height: 1.5;
}

.mic-agent-response-time strong {
    color: #0A1340;
}

/* ── Buttons ── */
.mic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, box-shadow .15s;
    white-space: nowrap;
    line-height: 1;
}

.mic-btn--primary {
    background: #0E1A47;
    color: #fff;
}

.mic-btn--primary:hover {
    background: #1A2356;
    box-shadow: 0 6px 18px rgba(14,26,71,.15);
    color: #fff;
    text-decoration: none;
}

.mic-btn--block {
    width: 100%;
    display: flex;
}

/* ── Schedule card (dark navy override) ── */
.mic-agent-schedule {
    background: #0A1340;
    border-color: transparent;
}

/* ── Schedule options ── */
.mic-agent-schedule-opt {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: background .15s, border-color .15s;
}

.mic-agent-schedule-opt:hover {
    background: rgba(255,255,255,.13);
    border-color: #C39935;
    color: #fff;
    text-decoration: none;
}

.mic-agent-schedule-opt__icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
}

.mic-agent-schedule-opt__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.mic-agent-schedule-opt__title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.mic-agent-schedule-opt__sub {
    font-size: 12.5px;
    color: rgba(255,255,255,.65);
    line-height: 1.4;
}

.mic-agent-schedule-opt__price {
    font-size: 14px;
    font-weight: 700;
    color: #D9B45A;
    white-space: nowrap;
    flex-shrink: 0;
}

.mic-agent-schedule-opt__price--free {
    color: #6ee7a0;
}

/* ── Responsive — tablet ── */
@media (max-width: 1000px) {
    .mic-agent-body {
        grid-template-columns: 1fr;
    }
    .mic-agent-helps__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Responsive — mobile */
@media (max-width: 600px) {
    .mic-agent-hero__banner {
        padding: 24px 20px 20px;
    }
    .mic-agent-hero__headline {
        font-size: 24px;
    }
    .mic-agent-hero__profile {
        padding: 16px 20px 20px;
    }
    .mic-agent-hero__name {
        font-size: 16px;
    }
}

/* ============================================================
   PRODUCTS PAGE  (page-templates/products.php)
   ============================================================ */

/* Hero card */
.mic-products-hero {
    margin-bottom: 24px;
    overflow: hidden;
}
.mic-products-hero--gold {
    background: linear-gradient(135deg, var(--krs-gold-100, #fdf5dc), var(--krs-lavender-50, #f4f3ff)) !important;
    border-color: var(--krs-lavender-200, #dbd7f7) !important;
}
.mic-products-hero--lavender {
    background: linear-gradient(135deg, var(--krs-lavender-50, #f4f3ff), var(--krs-paper)) !important;
    border-color: var(--krs-lavender-200, #dbd7f7) !important;
}
.mic-products-hero__inner {
    padding: 48px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 36px;
    align-items: center;
    position: relative;
}
.mic-products-hero__text {
    position: relative;
    z-index: 1;
}
.mic-products-hero__title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--krs-navy-900);
    letter-spacing: -0.015em;
    margin: 10px 0 14px;
    line-height: 1.1;
}
.mic-products-hero__sub {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    max-width: 540px;
}
.mic-products-hero__emblem {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.mic-products-hero__emblem-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--krs-gold-100, #fdf5dc), var(--krs-gold-300, #e5c56b));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    box-shadow: 0 16px 40px rgba(195,153,53,0.25);
}

/* Tab panel show/hide */
.mic-products-section { display: none; }
.mic-products-section--active { display: block; }

/* Per-tab category intro block */
.mic-products-section__intro { margin-bottom: 32px; }
.mic-products-section__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--krs-navy-900);
    letter-spacing: -0.015em;
    margin: 6px 0 12px;
    line-height: 1.15;
}
.mic-products-section__desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 620px;
    margin: 0;
}

/* Category tabs */
.mic-products-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}
.mic-products-tabs__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-tertiary, var(--text-secondary));
}
.mic-products-tabs__buttons {
    display: flex;
    gap: 4px;
    background: var(--krs-paper);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 4px;
    width: fit-content;
}
.mic-products-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 20px;
    border-radius: calc(var(--radius-md) - 2px);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.mic-products-tab__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}
.mic-products-tab__sub {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-tertiary, var(--text-secondary));
    opacity: 0.75;
}
.mic-products-tab:hover .mic-products-tab__name {
    color: var(--krs-navy-900);
}
.mic-products-tab--active {
    background: var(--krs-white);
    box-shadow: var(--shadow-xs);
}
.mic-products-tab--active .mic-products-tab__name {
    color: var(--krs-navy-900);
}
.mic-products-tab--active .mic-products-tab__sub {
    opacity: 1;
}

/* Medicare sub-type pills */
.mic-product-card__sub-types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 12px;
}
.mic-product-card__sub-type {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--krs-gold-100);
    color: var(--krs-gold-700);
    border: 1px solid var(--krs-gold-200, var(--krs-gold-100));
}

/* Product card grid */
.mic-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}
.mic-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.mic-product-card__body {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 14px;
    padding: 24px;
}
.mic-product-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.mic-product-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.mic-product-card__name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--krs-navy-900);
    letter-spacing: -0.01em;
    margin: 0;
}
.mic-product-card__lede {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.mic-product-card__bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mic-product-card__bullet {
    display: flex;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    align-items: flex-start;
}
.mic-product-card__bullet-dot {
    margin-top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--krs-gold-500);
    flex-shrink: 0;
}
.mic-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border-default);
    margin-top: auto;
}
.mic-product-card__learn-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--krs-gold-600);
    text-decoration: none;
}
.mic-product-card__learn-link:hover {
    color: var(--krs-gold-700);
}
.mic-product-card__learn-link--btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-sans);
}

/* Agent CTA */
.mic-products-agent-cta {
    background: var(--krs-navy-800) !important;
    border: none !important;
    overflow: hidden;
    position: relative;
}
.mic-products-agent-cta__inner {
    padding: 36px 40px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.mic-products-agent-cta__photo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
    object-fit: cover;
    flex-shrink: 0;
}
.mic-products-agent-cta__photo-placeholder {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    color: var(--krs-white);
    flex-shrink: 0;
}
.mic-products-agent-cta__title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--krs-white);
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}
.mic-products-agent-cta__sub {
    font-size: 14.5px;
    color: rgba(255,255,255,0.78);
    margin: 0;
    line-height: 1.55;
    max-width: 560px;
}
.mic-products-agent-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1000px) {
    .mic-products-hero__inner {
        grid-template-columns: 1fr;
        padding: 36px 32px;
    }
    .mic-products-hero__emblem {
        display: none;
    }
    .mic-products-agent-cta__inner {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }
    .mic-products-agent-cta__actions {
        grid-column: 1 / -1;
        flex-direction: row;
    }
}
@media (max-width: 700px) {
    .mic-products-grid {
        grid-template-columns: 1fr;
    }
    .mic-products-hero__title {
        font-size: 32px;
    }
    .mic-products-agent-cta__inner {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }
    .mic-products-agent-cta__photo,
    .mic-products-agent-cta__photo-placeholder {
        display: none;
    }
    .mic-products-tabs__buttons {
        width: 100%;
    }
    .mic-products-tab {
        flex: 1;
        align-items: center;
        text-align: center;
    }
}

/* ============================================================
   MY COVERAGE PAGE  (page-templates/my-coverage.php)
   ============================================================ */

/* Page header */
.mic-coverage-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.mic-coverage-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--krs-navy-900);
    letter-spacing: -0.015em;
    margin: 0 0 8px;
    line-height: 1.1;
}
.mic-coverage-sub {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    max-width: 540px;
    line-height: 1.55;
}
.mic-coverage-header__actions {
    flex-shrink: 0;
}

/* Stats row */
.mic-coverage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.mic-coverage-stat {
    padding: 20px !important;
}
.mic-coverage-stat__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.mic-coverage-stat__value {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--krs-navy-900);
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.mic-coverage-stat__value--success {
    color: var(--krs-success);
}
.mic-coverage-stat__sub {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Section header */
.mic-section-header {
    margin-bottom: 16px;
}
.mic-section-header__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--krs-navy-900);
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.mic-section-header__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--krs-gold-600);
    text-decoration: none;
    margin-left: auto;
}
.mic-section-header__link:hover {
    color: var(--krs-gold-700);
}

/* Policy row list */
.mic-coverage-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}
.mic-policy-row {
    display: grid;
    grid-template-columns: 54px 1fr auto 110px 80px;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--krs-white);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.mic-policy-row:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--krs-gold-300);
}
.mic-policy-row__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
}
.mic-policy-row__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--krs-navy-900);
}
.mic-policy-row__short {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 3px;
    line-height: 1.45;
}
.mic-policy-row__dates {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mic-policy-row__date-chip {
    font-size: 11.5px;
    color: var(--text-secondary);
    white-space: nowrap;
}
.mic-policy-row__date-chip--renewal {
    color: var(--krs-gold-600);
}
.mic-policy-row__status {
    /* status badge from mic-styles.css */
}
.mic-policy-row__cta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--krs-navy-700);
    white-space: nowrap;
}
.mic-policy-row__chevron {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Empty state */
.mic-empty-state {
    text-align: center;
    padding: 60px 24px;
    background: var(--krs-paper);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}
.mic-empty-state__icon {
    font-size: 40px;
    margin-bottom: 16px;
}
.mic-empty-state__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--krs-navy-900);
    margin: 0 0 8px;
}
.mic-empty-state__sub {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto 20px;
    line-height: 1.55;
}

/* Cross-sell nudge */
.mic-coverage-nudge {
    margin-top: 8px;
    padding: 28px 32px;
    background: var(--krs-navy-800);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}
.mic-coverage-nudge__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--krs-white);
    margin: 0 0 6px;
}
.mic-coverage-nudge__sub {
    font-size: 14px;
    color: rgba(255,255,255,0.78);
    margin: 0;
    max-width: 560px;
    line-height: 1.55;
}
.mic-coverage-nudge__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.mic-btn--ghost-white {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.35);
    color: var(--krs-white);
}
.mic-btn--ghost-white:hover {
    background: rgba(255,255,255,0.08);
    color: var(--krs-white);
}

/* Agent footer strip (sticky bottom bar) */
.mic-agent-footer-strip {
    position: sticky;
    bottom: 0;
    z-index: 40;
    background: var(--krs-navy-900);
    color: var(--krs-white);
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--krs-gold-500);
    margin-top: 0;
}
.mic-agent-footer-strip__left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.mic-agent-footer-strip__photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--krs-gold-500);
    object-fit: cover;
    flex-shrink: 0;
}
.mic-agent-footer-strip__eyebrow {
    font-size: 11px;
    color: var(--krs-gold-300);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}
.mic-agent-footer-strip__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--krs-white);
}
.mic-agent-footer-strip__actions {
    display: flex;
    gap: 10px;
}

/* ============================================================
   POLICY DETAIL PAGE  (page-templates/policy-detail.php)
   ============================================================ */

/* Hero card */
.mic-policy-hero {
    overflow: hidden;
    margin-bottom: 28px;
}
.mic-policy-hero__banner {
    background: linear-gradient(135deg, var(--krs-navy-800) 0%, var(--krs-navy-700) 100%);
    padding: 32px 36px;
    color: var(--krs-white);
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.mic-policy-hero__arc {
    position: absolute;
    right: -60px;
    top: -60px;
    width: 260px;
    height: 260px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}
.mic-policy-hero__banner-inner {
    position: relative;
    z-index: 1;
    flex: 1;
}
.mic-policy-hero__plan-card {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg, 12px);
    padding: 20px 24px;
    min-width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.mic-policy-hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.mic-policy-hero__title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--krs-white);
    letter-spacing: -0.015em;
    margin: 0 0 12px;
    line-height: 1.1;
}
.mic-policy-hero__desc {
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    margin: 0;
    max-width: 580px;
    line-height: 1.55;
}

/* Body 2-col grid */
.mic-policy-body {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}
.mic-policy-body__left {
    padding: 28px 32px;
    border-right: 1px solid var(--border-default);
}
.mic-policy-body__right {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mic-policy-body__section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--krs-navy-900);
    margin: 0 0 16px;
}

/* Bullets */
.mic-policy-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.mic-policy-bullet {
    display: flex;
    gap: 10px;
    padding: 14px;
    background: var(--krs-paper);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
}
.mic-policy-bullet__check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--krs-success-bg, #dcf7e3);
    color: var(--krs-success, #19a251);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}
.mic-policy-bullet__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--krs-navy-900);
}
.mic-policy-bullet__desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
    line-height: 1.45;
}

/* Help note */
.mic-policy-help-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: rgba(var(--krs-navy-rgb, 24,48,82), 0.04);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
}
.mic-policy-help-note__icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
}
.mic-policy-help-note__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--krs-navy-900);
    margin-bottom: 3px;
}
.mic-policy-help-note__body {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Plan dates */
.mic-policy-dates {
    display: flex;
    gap: 24px;
}
.mic-policy-date-item__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.mic-policy-date-item__value {
    font-size: 15px;
    font-weight: 600;
    color: var(--krs-navy-900);
}

/* Carrier contact */
.mic-policy-divider {
    height: 1px;
    background: var(--border-default);
}
.mic-policy-carrier__sub {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.mic-policy-carrier__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    font-weight: 700;
    color: var(--krs-navy-900);
    text-decoration: none;
}
.mic-policy-carrier__phone:hover {
    color: var(--krs-gold-600);
}
.mic-policy-carrier__phone--na {
    font-size: 13px;
    font-style: italic;
    color: var(--text-secondary);
}
.mic-policy-carrier__hours {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Agent CTA */
.mic-policy-agent-cta__sub {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 14px;
    line-height: 1.5;
}
.mic-policy-agent-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mic-btn--block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

/* Related policies grid */
.mic-related-policies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.mic-related-policy {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.mic-related-policy:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--krs-gold-300);
}
.mic-related-policy__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 8px;
}
.mic-related-policy__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}
.mic-related-policy__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--krs-navy-900);
    margin-bottom: 4px;
}
.mic-related-policy__short {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}
.mic-related-policy__cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--krs-navy-700);
}

/* Responsive — tablet */
@media (max-width: 1100px) {
    .mic-coverage-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .mic-policy-row {
        grid-template-columns: 54px 1fr 110px 80px;
    }
    .mic-policy-row__dates {
        display: none;
    }
    .mic-policy-body {
        grid-template-columns: 1fr;
    }
    .mic-policy-body__left {
        border-right: none;
        border-bottom: 1px solid var(--border-default);
    }
}

/* Responsive — mobile */
@media (max-width: 700px) {
    .mic-coverage-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .mic-coverage-title {
        font-size: 30px;
    }
    .mic-coverage-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .mic-policy-row {
        grid-template-columns: 44px 1fr 80px;
    }
    .mic-policy-row__status {
        display: none;
    }
    .mic-policy-row__icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .mic-policy-hero__title {
        font-size: 28px;
    }
    .mic-policy-bullets {
        grid-template-columns: 1fr;
    }
    .mic-related-policies {
        grid-template-columns: 1fr;
    }
    .mic-coverage-nudge {
        grid-template-columns: 1fr;
    }
    .mic-agent-footer-strip {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 16px 20px;
    }
    .mic-policy-hero__banner {
        padding: 24px 20px;
        flex-direction: column;
        gap: 20px;
    }
    .mic-policy-hero__plan-card {
        min-width: 0;
        width: 100%;
    }
    .mic-policy-body__left,
    .mic-policy-body__right {
        padding: 20px;
    }
}

/* ============================================================
   ONBOARDING FLOW  (page-templates/onboarding.php)
   ============================================================ */

/* Full-page shell */
.mic-onboarding-page {
    margin: 0;
    padding: 0;
}
.mic-ob-shell {
    position: relative;
    min-height: 100vh;
    background: var(--krs-lavender-50, #f4f3ff);
    display: flex;
    flex-direction: column;
}
.mic-ob-wash {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 80% -10%, rgba(195,153,53,0.10), transparent 60%),
        radial-gradient(ellipse at 0% 100%, rgba(110,95,174,0.10), transparent 55%);
}

/* Top nav bar */
.mic-ob-topnav {
    position: relative;
    z-index: 10;
    background: var(--krs-navy-900);
    color: var(--krs-white);
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--krs-gold-500);
}
.mic-ob-topnav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mic-ob-topnav__key {
    font-size: 22px;
    line-height: 1;
}
.mic-ob-topnav__name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--krs-white);
}
.mic-ob-topnav__sub {
    font-size: 9.5px;
    font-weight: 500;
    color: var(--krs-gold-300);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mic-ob-skip {
    font-size: 12.5px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 1px;
}
.mic-ob-skip:hover {
    color: var(--krs-white);
    border-color: rgba(255,255,255,0.6);
}

/* Centered card */
.mic-ob-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    position: relative;
    z-index: 1;
}
.mic-ob-card {
    width: 100%;
    max-width: 720px;
    background: var(--krs-white);
    border-radius: var(--radius-xl, 20px);
    box-shadow: 0 24px 60px rgba(14,26,71,0.10), 0 6px 16px rgba(14,26,71,0.06);
    border: 1px solid var(--krs-lavender-200, #dbd7f7);
    overflow: hidden;
    position: relative;
}

/* Step panels */
.mic-ob-step__inner {
    padding: 56px 56px 32px;
}
.mic-ob-step__inner--center {
    text-align: center;
}

/* Eyebrow in onboarding context (overrides from mic-styles if needed) */
.mic-ob-step .mic-eyebrow {
    color: var(--krs-gold-600);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* Onboarding header */
.mic-ob-header {
    text-align: center;
    margin-bottom: 32px;
}
.mic-ob-header__title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--krs-navy-900);
    letter-spacing: -0.015em;
    margin: 10px 0 12px;
    line-height: 1.15;
}
.mic-ob-header__name {
    color: var(--krs-gold-600);
}
.mic-ob-header__sub {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0 auto;
    line-height: 1.55;
    max-width: 460px;
}

/* Step 1 emblem */
.mic-ob-emblem {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.mic-ob-emblem__icon {
    display: inline-flex;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--krs-gold-100, #fdf5dc), var(--krs-gold-300, #e5c56b));
    box-shadow: 0 8px 24px rgba(195,153,53,0.30);
    align-items: center;
    justify-content: center;
    font-size: 44px;
}

/* Feature cards (step 1) */
.mic-ob-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.mic-ob-feature {
    background: var(--krs-paper);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
}
.mic-ob-feature__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--krs-lavender-100, #ebe8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px;
}
.mic-ob-feature__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--krs-navy-900);
    margin: 0 0 6px;
}
.mic-ob-feature__body {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Actions row */
.mic-ob-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-default);
}
.mic-ob-actions--center {
    justify-content: center;
    border-top: none;
}

/* Step 2 location */
.mic-ob-location-wrap {
    max-width: 480px;
    margin: 0 auto 20px;
}
.mic-ob-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--krs-navy-800);
    margin-bottom: 8px;
}
.mic-ob-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--krs-white);
    border: 1.5px solid var(--krs-gold-500);
    border-radius: var(--radius-md);
    padding: 0 18px;
    box-shadow: 0 0 0 3px rgba(195,153,53,0.12);
    transition: box-shadow 0.15s;
}
.mic-ob-select-wrap__icon {
    font-size: 16px;
    flex-shrink: 0;
    pointer-events: none;
}
.mic-ob-select {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--krs-navy-900);
    font-family: var(--font-sans);
    padding: 14px 8px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.mic-ob-select--error {
    animation: mic-ob-shake 0.4s ease;
}
@keyframes mic-ob-shake {
    0%,100%  { transform: translateX(0); }
    20%,60%  { transform: translateX(-6px); }
    40%,80%  { transform: translateX(6px); }
}
.mic-ob-select-wrap__chevron {
    font-size: 14px;
    color: var(--text-secondary);
    pointer-events: none;
    flex-shrink: 0;
}
.mic-ob-location-note {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin: 8px 0 0;
}

/* Perk count hint (step 2) */
.mic-ob-perks-hint {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    background: var(--krs-lavender-50, #f4f3ff);
    border: 1px solid var(--krs-lavender-200, #dbd7f7);
    border-radius: var(--radius-md);
    max-width: 480px;
    margin: 0 auto;
}
.mic-ob-perks-hint__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--krs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.mic-ob-perks-hint__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--krs-navy-900);
    margin-bottom: 2px;
}
.mic-ob-perks-hint__body {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Step 3 agent card */
.mic-ob-agent-card {
    max-width: 480px;
    margin: 0 auto 8px;
    background: var(--krs-paper);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.mic-ob-agent-card__banner {
    height: 72px;
    background: linear-gradient(135deg, var(--krs-navy-800), var(--krs-navy-700));
}
.mic-ob-agent-card__body {
    padding: 0 24px 22px;
    margin-top: -48px;
    position: relative;
}
.mic-ob-agent-card__photo-wrap {
    margin-bottom: 0;
}
.mic-ob-agent-card__photo,
.mic-ob-agent-card__photo-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 4px solid var(--krs-white);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}
.mic-ob-agent-card__photo-placeholder {
    background: linear-gradient(135deg, var(--krs-navy-800), var(--krs-navy-600));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--krs-white);
}
.mic-ob-agent-card__info {
    margin: 14px 0 16px;
}
.mic-ob-agent-card__name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--krs-navy-900);
    margin: 4px 0;
}
.mic-ob-agent-card__meta {
    font-size: 13px;
    color: var(--text-secondary);
}
.mic-ob-agent-card__contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.mic-ob-agent-card__contact-btn {
    justify-content: flex-start;
    gap: 8px;
}

/* No-agent placeholder */
.mic-ob-no-agent {
    max-width: 480px;
    margin: 0 auto 8px;
    text-align: center;
    padding: 32px;
    background: var(--krs-paper);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
}
.mic-ob-no-agent__icon {
    font-size: 36px;
    margin-bottom: 12px;
}

/* Step 4 shield icon */
.mic-ob-shield-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
}
.mic-ob-shield-icon__inner {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--krs-lavender-100, #ebe8ff), var(--krs-lavender-300, #b8b0f5));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 8px 24px rgba(110,95,174,0.20);
    position: relative;
    z-index: 1;
}
.mic-ob-shield-icon__ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--krs-lavender-300, #b8b0f5);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: mic-ob-pulse 2s ease-out infinite;
}
.mic-ob-shield-icon__ring--1 {
    width: 120px; height: 120px;
    opacity: 0.5;
    animation-delay: 0.3s;
}
.mic-ob-shield-icon__ring--2 {
    width: 148px; height: 148px;
    opacity: 0.3;
    animation-delay: 0.7s;
}
@keyframes mic-ob-pulse {
    0%   { transform: translate(-50%, -50%) scale(0.85); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0; }
}

/* Sync card (step 4) */
.mic-ob-sync-card {
    max-width: 480px;
    margin: 0 auto 16px;
    background: var(--krs-paper);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.mic-ob-sync-card__header {
    padding: 14px 20px;
    background: var(--krs-lavender-50, #f4f3ff);
    border-bottom: 1px solid var(--krs-lavender-200, #dbd7f7);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mic-ob-sync-card__count {
    font-size: 12px;
    color: var(--text-secondary);
}
.mic-ob-sync-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
}
.mic-ob-sync-item--divider {
    border-bottom: 1px solid var(--border-default);
}
.mic-ob-sync-item__check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--krs-success-bg, #dcf7e3);
    color: var(--krs-success, #19a251);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.mic-ob-sync-item__spinner {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--krs-lavender-200, #dbd7f7);
    border-top-color: var(--krs-gold-500);
    flex-shrink: 0;
    animation: mic-spin 1s linear infinite;
}
.mic-ob-sync-item__dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--border-default);
    flex-shrink: 0;
}
@keyframes mic-spin { to { transform: rotate(360deg); } }
.mic-ob-sync-item__info {
    flex: 1;
    min-width: 0;
}
.mic-ob-sync-item__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--krs-navy-900);
}
.mic-ob-sync-item__state {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.mic-ob-sync-item__state--done    { color: var(--krs-success, #19a251); }
.mic-ob-sync-item__state--pulling { color: var(--krs-gold-700); }
.mic-ob-sync-item__state--waiting { color: var(--text-secondary); }

/* Info note (step 4) */
.mic-ob-info-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    max-width: 480px;
    margin: 0 auto;
    background: var(--krs-lavender-50, #f4f3ff);
    border: 1px solid var(--krs-lavender-200, #dbd7f7);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--krs-navy-800);
    line-height: 1.55;
}
.mic-ob-info-note__icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

/* Step 5 success icon */
.mic-ob-success-icon {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: var(--krs-success-bg, #dcf7e3);
    color: var(--krs-success, #19a251);
    font-size: 48px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(47,143,90,0.18);
}

/* "What's waiting" list (step 5) */
.mic-ob-whats-next {
    background: var(--krs-lavender-50, #f4f3ff);
    border: 1px solid var(--krs-lavender-200, #dbd7f7);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    max-width: 460px;
    margin: 0 auto 32px;
    text-align: left;
}
.mic-ob-whats-next__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mic-ob-whats-next__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--krs-navy-800);
}
.mic-ob-whats-next__check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--krs-white);
    color: var(--krs-success, #19a251);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xs);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Progress dots */
.mic-ob-dots {
    padding: 24px 56px 32px;
    display: flex;
    justify-content: center;
    gap: 8px;
    background: var(--krs-paper);
}
.mic-ob-dot {
    height: 8px;
    border-radius: 999px;
    background: var(--krs-lavender-200, #dbd7f7);
    transition: width 0.3s, background 0.3s;
    width: 8px;
    display: inline-block;
}
.mic-ob-dot--active {
    width: 28px;
    background: var(--krs-gold-500);
}
.mic-ob-dot--done {
    background: var(--krs-navy-700);
}

/* Responsive */
@media (max-width: 640px) {
    .mic-ob-center {
        padding: 24px 16px;
    }
    .mic-ob-step__inner {
        padding: 36px 28px 24px;
    }
    .mic-ob-header__title {
        font-size: 28px;
    }
    .mic-ob-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .mic-ob-agent-card__contacts {
        grid-template-columns: 1fr;
    }
    .mic-ob-topnav {
        padding: 12px 16px;
    }
    .mic-ob-dots {
        padding: 20px 24px 28px;
    }
}

}

/* ── Responsive — mobile ── */
@media (max-width: 640px) {
    .mic-agent-hero__banner {
        padding: 24px 20px;
    }
    .mic-agent-hero__headline {
        font-size: 26px;
    }
    .mic-agent-hero__profile {
        padding: 0 20px 24px;
    }
    .mic-agent-hero__photo {
        width: 84px;
        height: 84px;
    }
    .mic-agent-hero__namerow {
        padding-top: 42px;
    }
    .mic-agent-hero__name {
        font-size: 20px;
    }
    .mic-card__body {
        padding: 20px;
    }
}

/* ── GHL embed modals ───────────────────────────────────────────────────────── */

/* GHL form embed — taller, scrollable */
.krs-modal__box--ghl,
.krs-modal__box--calendar {
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
}

.krs-modal__ghl-embed {
    padding: 16px;
}

.krs-modal__ghl-embed iframe {
    width: 100%;
    min-height: 500px;
    border: none;
    display: block;
}

.krs-modal__box--calendar .krs-modal__ghl-embed iframe {
    min-height: 600px;
}

/* "Coming soon" modal state */
.krs-modal__coming-soon {
    padding: 28px 24px;
    color: var(--krs-gray-600);
    font-size: 14px;
    line-height: 1.7;
}

.krs-modal__coming-soon p {
    margin: 0 0 10px;
}

/* ── Inline calendar embed on agent profile ─────────────────────────────────── */

.krs-calendar-embed {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.krs-calendar-embed iframe {
    display: block;
    width: 100%;
    min-height: 580px;
    border: none;
}

/* "Coming soon" inside the dark schedule card */
.krs-agent-schedule__coming-soon {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 16px;
}

/* Disabled "coming soon" button state */
.mic-btn--disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}
