/* Home Page*/
.cllr-landing-hero {
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(25,118,210,.10), rgba(0,0,0,0));
}

.cllr-landing-sub {
    max-width: 800px;
}

.cllr-feature {
    border-radius: 16px;
    height: 100%;
}

/* Legal Footer */
/* Force readable text in footer + modal, regardless of inherited color */
.cw-footer {
    color: var(--mud-palette-text-primary, rgba(0,0,0,.87));
}

    .cw-footer .cw-footer-link,
    .cw-footer a {
        color: inherit;
    }

.cw-footer-left {
    color: #fff !important;
}

.cw-legal-modal {
    color: var(--mud-palette-text-primary, rgba(0,0,0,.87));
}

    .cw-legal-modal h2,
    .cw-legal-modal h3,
    .cw-legal-modal p,
    .cw-legal-modal li {
        color: inherit;
    }







/*.cw-footer {
    padding: 10px 16px;
    border-top: 1px solid rgba(0,0,0,.08);
    background: var(--mud-palette-surface, #fff);
    font-size: 13px;
}*/

.cw-footer-inner {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.cw-footer-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cw-footer-link {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    font-size: 13px;
    opacity: .9;
}

.cw-footer .cw-footer-links .cw-footer-link {
    color: #fff !important;
}

.cw-footer-link-strong {
    font-weight: 600;
}

.cw-legal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1400;
}

.cw-legal-modal {
    width: min(920px, 100%);
    max-height: min(84vh, 900px);
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
    display: flex;
    flex-direction: column;
}

.cw-legal-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    padding: 16px 16px 8px 16px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.cw-legal-title {
    font-size: 18px;
    font-weight: 700;
}

.cw-legal-sub {
    font-size: 12px;
    opacity: .75;
    margin-top: 2px;
}

.cw-legal-close {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    opacity: .7;
}

.cw-legal-body {
    padding: 12px 16px;
    overflow: auto;
}

.cw-legal-actions {
    padding: 12px 16px;
    border-top: 1px solid rgba(0,0,0,.08);
    display: flex;
    justify-content: flex-end;
}

.cw-legal-btn {
    border: 1px solid rgba(0,0,0,.18);
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

.cw-legal-muted {
    opacity: .7;
    font-size: 12px;
}


/* Residents Page*/
/* Residents Page MudGrid */
.professional-grid .mud-table-container {
    border-radius: 12px;
    overflow: hidden;
}

.professional-grid .mud-table-head {
    position: sticky;
    top: 0;
    z-index: 2;
}

    .professional-grid .mud-table-head th {
        font-weight: 600;
        letter-spacing: .2px;
        white-space: nowrap;
    }

.professional-grid .mud-table-body td {
    vertical-align: middle;
}

.professional-grid .mud-table-body .mud-table-row:hover > td {
    background-color: #dbeafe !important; /* light blue */
    /*color: white !important;*/
}

.professional-grid .mud-table-body .mud-table-row:hover > td:first-child {
    border-left: 2px solid #2563eb;
}

.col-id {
    width: 70px;
    min-width: 80px;
    max-width: 80px;
}

.col-address {
    width: 200px;
    min-width: 200px;
    max-width: 600px;
}

.col-postcode {
    width: 110px;
    min-width: 110px;
    max-width: 110px;

}

.col-district {
    width: 90px;
    min-width: 80px;
    max-width: 80px;
}

.col-pledge {
    width: 40px;
    text-align: center;
    min-width: 40px;
    max-width: 40px;
}

/* Header: show full title */
.col-pledge-header {
    min-width: 40px;
    white-space: nowrap;
}

.col-flag {
    width: 70px;
    text-align: center;
}

/* First column: open icon */
.col-actions {
    width: 1%;
    white-space: nowrap;
    text-align: center;
    padding-left: 6px !important;
    padding-right: 6px !important;
}

/*.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}*/

/* Cells: stay compact */
.col-pledge {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    text-align: center;
}

/* Boolean icon columns */
.col-flag {
    width: 1%;
    white-space: nowrap;
    text-align: center;
    padding-left: 6px !important;
    padding-right: 6px !important;
}

.flag-icon {
    font-size: 18px;
    line-height: 1;
}

.row-clickable .mud-table-row {
    cursor: pointer;
}


/* ResidentDetails Page*/
/* Scroll only the issues list area; keep header + Add Issue visible */
.resident-issues-scroll {
    overflow: auto;
    min-height: 0;
    /* viewport height minus:
       - your fixed app bar
       - your footer
       - and the resident header section height (approx)
       Adjust as needed once visually verified.
    */
    max-height: calc(100vh - 420px);
}



/* Insights Search Page */
.rb-page {
    max-width: 920px;
    margin: 48px auto;
    padding: 0 16px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.rb-logo {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 8px 0 18px;
}

.rb-input {
    width: 100%; 
    padding: 14px 40px 14px 16px;
    border: 1px solid #dadce0;
    border-radius: 999px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box; 
}
    .rb-input:focus {
        border-color: #1a73e8;
        box-shadow: 0 1px 6px rgba(32,33,36,.28);
    }

.rb-latest-link {
    margin-top: 1px;
    font-size: 13px;
    padding: 9px;
}
    .rb-latest-link a {
        color: #1a73e8;
        text-decoration: underline;
        cursor: pointer;
    }
        .rb-latest-link a:hover {
            opacity: .85;
        }

.rb-search {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

.rb-input {
    padding-right: 40px; /* make room for the clear button */
}

.rb-input-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0; 
}

.rb-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: #5f6368;
    cursor: pointer;
    padding: 4px;
}

    .rb-clear:hover {
        color: #202124;
    }

.rb-btn {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #dadce0;
    background: #fff;
    cursor: pointer;
}

    .rb-btn:disabled {
        opacity: 0.6;
        cursor: default;
    }

.rb-empty {
    color: #5f6368;
    margin-top: 12px;
}

.rb-results {
    margin-top: 12px;
    display: grid;
    gap: 12px;
}

.rb-result {
    padding: 14px 14px;
    border: 1px solid #eee;
    border-radius: 14px;
    cursor: pointer;
    background: #fff;
    color: #202124;
}

.rb-title {
    font-size: 18px;
    font-weight: 650;
    margin-bottom: 4px;
}

.rb-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: #5f6368;
    margin-bottom: 8px;
}

.rb-pill {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #003b44; /* dark teal */
    color: #ffffff;
    border: none;
    font-weight: 600;
}

.rb-snippet {
    color: #202124;
    line-height: 1.35;
}

.rb-topbar {
    margin-bottom: 14px;
}

.rb-link {
    border: none;
    background: transparent;
    color: #1a73e8;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.rb-feedback {
    margin: 10px 0 14px;
    padding: 10px 12px;
    border: 1px solid #dadce0;
    border-radius: 12px;
    background: #f8f9fa;
    color: #202124;
    font-size: 14px;
}

.rb-actions {
    display: flex;
    gap: 10px;
    margin: 10px 0 12px;
    flex-wrap: wrap;
}

.rb-toggle {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    color: #5f6368;
    user-select: none;
}

.rb-card {
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 14px;
    background: #fff;
}

.rb-card-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* Top row: title left, pill right  */
.rb-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

    /* Ensure title wraps nicely */
    .rb-card-top .rb-h1 {
        margin: 0;
    }

/* Date on its own line, left aligned */
.rb-card-header .rb-date {
    font-size: 12px;
    opacity: 0.85;
}

.rb-date {
    font-size: 13px;
    color: #5f6368;
    min-width: 92px;
    padding: 1px 1px;
    margin-bottom: 6px;
}

.rb-h1 {
    font-size: 26px;
    margin: 10px 0 14px;
    color: #202124;
}

.rb-h2 {
    font-size: 16px;
    margin: 18px 0 10px;
    color: #5f6368;
}

.rb-desc {
    white-space: pre-wrap;
}

.rb-list {
    display: grid;
    gap: 10px;
}

.rb-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fff;
}

.rb-same {
    color: #5f6368;
    font-style: italic;
}

.rb-mark {
    padding: 0 2px;
    border-radius: 4px;
}

.rb-diff {
    background: #cfe3ff; /* slightly stronger Google-ish blue */
    border: 1px solid #9cc2ff;
    border-radius: 4px;
    padding: 0 2px;
}

.rb-add {
    background: #d7f5dd;
    border: 1px solid #8bd39b;
    border-radius: 4px;
    padding: 0 2px;
}

.rb-unchanged {
    color: #5f6368;
    font-style: italic;
    padding: 4px 0;
}


/* Home Page */
.dw-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

/* Each chart wrapper should be allowed to fill its grid cell */
.dw-card {
    max-width: 100%;
    margin: 0;
}

    .dw-card iframe {
        display: block;
        width: 100%;
    }

/* Stack on small screens */
@media (max-width: 900px) {
    .dw-row {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════════════════════
   Rolodex – Council Staff Directory
   ═══════════════════════════════════════════════════════ */

/* ── Page Layout ── */
.rdx-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.rdx-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* ── Header ── */
.rdx-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.rdx-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rdx-header-title h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a2233;
    margin: 0;
    letter-spacing: -0.5px;
}

.rdx-icon {
    color: #0F74BC;
}

.rdx-header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Search Bar ── */
.rdx-search-bar {
    margin-bottom: 16px;
}

.rdx-search-field {
    background: #ffffff;
    border-radius: 16px;
}

/* ── Alphabetical Strip ── */
.rdx-alpha-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 20px;
    padding: 6px 0;
    border-bottom: 2px solid #e0e6ed;
}

.rdx-alpha-btn {
    width: 34px;
    height: 28px;
    border: none;
    background: transparent;
    color: #5a6a7f;
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rdx-alpha-btn:hover:not(.disabled):not(.active) {
    background: #e3f0fc;
    color: #0F74BC;
}

.rdx-alpha-btn.active {
    background: #0F74BC;
    color: #fff;
    box-shadow: 0 2px 8px rgba(15,116,188,0.3);
}

.rdx-alpha-btn.disabled {
    opacity: 0.3;
    cursor: default;
}

/* ── Empty State ── */
.rdx-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 64px 24px;
    text-align: center;
}

/* ── Card Stack Container ── */
.rdx-roller-container {
    -webkit-perspective: 1200px;
    perspective: 1200px;
}

.rdx-card-stack {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

/* ── Individual Card ── */
.rdx-card {
    position: relative;
    height: 230px;
    cursor: pointer;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.rdx-card.flipped {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.rdx-card:hover {
    z-index: 2;
}

/* ── Card Faces (shared) ── */
.rdx-card-front,
.rdx-card-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 20px 20px 20px 28px;
    box-shadow: 0 2px 16px rgba(15,116,188,0.08);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.rdx-card:hover .rdx-card-front,
.rdx-card:hover .rdx-card-back {
    box-shadow: 0 8px 32px rgba(15,116,188,0.16);
}

/* ── Front ── */
.rdx-card-front {
    background: #ffffff;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-left: 5px solid #0F74BC;
}

/* Rolodex tab at top-right corner */
.rdx-card-tab {
    position: absolute;
    top: 0;
    right: 20px;
    background: #0F74BC;
    color: #fff;
    width: 32px;
    height: 26px;
    border-radius: 0 0 8px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(15,116,188,0.3);
}

/* Avatar circle */
.rdx-card-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F74BC, #0A6F7C);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Info block */
.rdx-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rdx-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2233;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rdx-card-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.rdx-chip {
    font-size: 0.72rem !important;
}

.rdx-card-dept {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: #5a6a7f;
}

.rdx-badge {
    align-self: flex-start;
    font-size: 0.7rem !important;
}

.rdx-card-hint {
    position: absolute;
    bottom: 8px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
    color: #b0bec5;
    opacity: 0;
    transition: opacity 0.3s;
}

.rdx-card:hover .rdx-card-hint {
    opacity: 1;
}

/* ── Back ── */
.rdx-card-back {
    background: #f0f4ff;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    border-left: 5px solid #0A6F7C;
}

.rdx-card-back-header {
    margin-bottom: 12px;
}

.rdx-card-back-header .rdx-card-name {
    font-size: 1rem;
    color: #0A6F7C;
}

.rdx-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
}

.rdx-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.88rem;
    color: #1a2233;
    word-break: break-word;
}

.rdx-detail-row a {
    color: #0F74BC;
    text-decoration: none;
}

.rdx-detail-row a:hover {
    text-decoration: underline;
}

.rdx-card-back-actions {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e0e6ed;
}

/* ── Count Footer ── */
.rdx-count {
    text-align: center;
    margin-top: 16px;
    color: #b0bec5;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .rdx-card-stack {
        grid-template-columns: 1fr;
    }

    .rdx-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rdx-alpha-btn {
        width: 28px;
        font-size: 0.75rem;
    }
}


/* ═══════════════════════════════════════════════════════
   Canvassing & Literature Delivery
   ═══════════════════════════════════════════════════════ */

/* ── Page Layout ── */
.cvs-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.cvs-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* ── Header ── */
.cvs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.cvs-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cvs-header-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2233;
    margin: 0;
    letter-spacing: -0.5px;
}

.cvs-header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Controls bar ── */
.cvs-controls {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
}

.cvs-controls-left,
.cvs-controls-right {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

/* ── Empty State ── */
.cvs-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 64px 24px;
    text-align: center;
}

/* ── Route Grid (Index page) ── */
.cvs-route-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cvs-route-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.cvs-route-card:hover {
    border-color: #0F74BC;
    box-shadow: 0 4px 16px rgba(15,116,188,0.12);
    transform: translateY(-1px);
}

.cvs-route-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0F74BC15, #0F74BC08);
    color: #0F74BC;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvs-route-card-info {
    flex: 1;
    min-width: 0;
}

.cvs-route-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a2233;
    margin-bottom: 4px;
}

.cvs-route-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #5a6a7f;
    flex-wrap: wrap;
}

.cvs-route-date {
    font-size: 0.78rem;
    color: #b0bec5;
    margin-top: 2px;
}

.cvs-route-card-action {
    display: flex;
    align-items: center;
}

/* ── Segment List ── */
.cvs-segment-list {
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.cvs-segment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f0f4f8;
    font-weight: 600;
    font-size: 0.82rem;
    color: #5a6a7f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e0e6ed;
}

.cvs-segment-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f4f8;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.cvs-segment-row:last-child {
    border-bottom: none;
}

.cvs-segment-row:hover {
    background: #f8fafc;
}

.cvs-seg-order {
    width: 36px;
    min-width: 36px;
    text-align: center;
    font-weight: 700;
    color: #0F74BC;
}

.cvs-seg-road {
    flex: 2;
    min-width: 0;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cvs-seg-detail {
    flex: 1;
    min-width: 0;
    font-size: 0.82rem;
    color: #5a6a7f;
}

.cvs-seg-count {
    width: 60px;
    min-width: 60px;
    text-align: center;
    font-weight: 600;
}

.cvs-seg-batch {
    width: 56px;
    min-width: 56px;
    text-align: center;
}

.cvs-batch-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 22px;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
}

.cvs-seg-actions {
    width: 100px;
    min-width: 100px;
    display: flex;
    justify-content: flex-end;
    gap: 2px;
}

/* ── Summary ── */
.cvs-summary {
    text-align: center;
    padding: 8px;
    color: #5a6a7f;
}

/* ── Map ── */
.cvs-map-section {
    margin: 20px 0;
}

.cvs-map-container {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
    overflow: hidden;
}

/* ── Print section ── */
.cvs-print-section {
    margin: 16px 0;
}

.cvs-print-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .cvs-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cvs-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .cvs-segment-header,
    .cvs-segment-row {
        font-size: 0.78rem;
    }

    .cvs-seg-detail {
        display: none;
    }

    .cvs-seg-actions {
        width: 80px;
        min-width: 80px;
    }

    .cvs-map-container {
        height: 260px;
    }
}

/* ── Processing card ── */
.cvs-process-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 64px 24px;
    margin: 48px auto;
    max-width: 600px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e0e6ed;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.cvs-process-summary {
    padding: 8px 16px;
    background: #f0f4f8;
    border-radius: 8px;
    margin-bottom: 16px;
    text-align: center;
    color: #5a6a7f;
}