/* ============================================================
   CCI 2026 tool styles.
   ------------------------------------------------------------
   Layout matches the May 2026 State Board agenda graphic.
   Color signal:
     • NAVY  — existing/unchanged CCI measures (also SBCSS brand)
     • GREEN — new or expanded 2026 measures
     • Brand yellow — small accents (badges, focus, diploma border)
   ============================================================ */

:root {
    --blue:        var(--sbcss-blue);
    --blue-dark:   var(--sbcss-blue-dark);
    --yellow:      var(--sbcss-yellow);
    --light-bg:    var(--sbcss-bg);
    --white:       var(--sbcss-white);
    --text-dark:   var(--sbcss-text);
    --text-muted:  var(--sbcss-muted);
    --border:      #d9e2ec;

    /* CCI palette */
    --navy:        #026AB0;   /* SBCSS brand blue — diploma, existing rows, primary UI */
    --sky:         #3a8fd4;
    --ltblue:      #cce3f5;
    --gold:        #FDE047;   /* SBCSS brand yellow — small accents (badges/focus) */
    --amber:       #475569;   /* slate-600 — neutral dark accent (secondary button) */
    --ltgold:      #fef9c3;   /* light brand-yellow tint */
    --new:         #15803d;   /* green-700 — NEW/expanded 2026 measures */
    --new-dark:    #14532d;   /* green-900 — dark green text on light-green bg (8.5:1 on white) */
    --ltnew:       #dcfce7;   /* green-100 — light green tint for NEW/expanded body bg */
    --old:         #64748b;   /* slate-500 — legacy/unused accent */
    --ltold:       #f1f5f9;   /* slate-100 */
    --lgray:       #e4e8ee;
}

/* ============================================================
   Site chrome (header text + intro/callout/quiz/FAQ unchanged)
   ============================================================ */
.header-text { max-width: 760px; }
.header-spacer { display: none; }

main { flex: 1; padding: 24px 0 48px; }
main.container { max-width: 94vw; }

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    color: var(--blue-dark);
    border-bottom-color: var(--gold);
}

.intro {
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 0.5rem;
}
.intro h2 { margin-top: 0; font-size: 1.25rem; }
.intro p { font-size: 0.92rem; margin-top: 0.5rem; line-height: 1.5; }

.callout {
    background-color: #fff8e1;
    border-left: 4px solid var(--yellow);
    padding: 0.6rem 0.85rem;
    margin-top: 0.7rem;
    border-radius: 4px;
    color: var(--text-dark);
}
.callout-new {
    background-color: var(--ltnew);
    border-left-color: var(--new);
}

/* ============================================================
   Page navigation — equal-width menu buttons that hang from the
   header: flush-left, square (flush) tops, lightly rounded
   bottoms, a small gap between them. No arrows, no floating.
   ============================================================ */
.cci-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 0 0 6px;
}
.cci-nav-link {
    width: 7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    background: var(--white);
    color: var(--navy);
    border: 1px solid var(--lgray);
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 11px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.cci-nav-link:hover {
    background: var(--ltblue);
    color: var(--blue-dark);
    text-decoration: none;
}
.cci-nav-link:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: -3px;
}
@media (max-width: 480px) {
    .cci-nav-link { flex: 1 1 0; width: auto; }
}

/* ============================================================
   Action bar — sits directly above the accordion.
   Expand All (outline, left) · Download + Print (solid, right)
   ============================================================ */
.action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 12px 0 8px;
}
.action-bar-exports {
    display: flex;
    gap: 0.5rem;
}
.action-bar-exports button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--navy);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s ease, transform 0.1s ease;
}
.action-bar-exports button:hover {
    background-color: var(--blue-dark);
    transform: translateY(-1px);
}
.action-bar-exports button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}
.action-bar-exports button svg { width: 16px; height: 16px; }

/* ============================================================
   Diploma box + SVG connectors
   ============================================================ */
.diploma-wrap { display: flex; justify-content: center; margin: 1rem 0 0.5rem; }
.diploma-box {
    background: var(--navy);
    color: white;
    border-radius: 7px;
    border-bottom: 3px solid var(--gold);
    padding: 0.6rem 1.75rem;
    text-align: center;
    box-shadow: 0 3px 12px rgba(2, 106, 176, 0.25);
}
.diploma-box .d-title {
    font-size: 1.05rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.diploma-box .d-sub {
    font-size: 0.7rem; font-weight: 700; color: white;
    text-transform: uppercase; letter-spacing: 0.8px; margin-top: 0.15rem;
}

.connector-wrap { position: relative; margin: 0; height: 48px; }
.connector-wrap svg {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; overflow: visible;
}

/* ============================================================
   12-column measures row
   ============================================================ */
.measures-row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 6px;
    align-items: stretch;
}

.col {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    transition: transform 0.12s ease;
}
.col:hover { transform: translateY(-2px); }
.col:hover .col-head { filter: brightness(1.08); }
.col:hover .col-body { box-shadow: 0 0 0 2px var(--sky); }
.col:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 8px;
}

.col-head {
    border-radius: 6px 6px 0 0;
    padding: 8px 6px 7px;
    text-align: center;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.col-head.existing { background: var(--old); color: white; }
.col-head.expanded {
    background: var(--new); color: white;
    border: 2px solid var(--gold); border-bottom: none;
}
.col-head.is-new {
    background: var(--new); color: white;
    border: 2px solid var(--gold); border-bottom: none;
}
.col-head .h-title {
    font-size: 0.78rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.3px;
    line-height: 1.25;
}
.col-head .h-badge {
    display: inline-block;
    background: var(--gold); color: var(--new-dark);
    font-size: 0.6rem; font-weight: 900;
    padding: 1px 5px; border-radius: 3px;
    margin-top: 4px;
    text-transform: uppercase; letter-spacing: 0.3px;
}

.col-body {
    background: white;
    border: 1.5px solid var(--lgray);
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 8px 7px;
    font-size: 0.72rem;
    line-height: 1.5;
    flex: 1;
}
.col-body.exp-body { border-color: var(--new); background: var(--ltnew); }
.col-body.new-body { border-color: var(--new); background: var(--ltnew); }

.crit-lbl {
    font-size: 0.62rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.4px;
    color: var(--blue); margin-bottom: 5px;
}
.exp-body .crit-lbl { color: var(--new); }
.new-body .crit-lbl { color: var(--new); }

ul.crit { list-style: none; padding: 0; margin: 0; }
ul.crit li {
    padding-left: 11px; position: relative;
    margin-bottom: 4px;
}
ul.crit li::before {
    content: '\2022';
    position: absolute; left: 0;
    color: var(--sky); font-weight: 700;
}
.exp-body ul.crit li::before { color: var(--new); }
.new-body ul.crit li::before { color: var(--new); }

li.new-item { color: var(--new); font-weight: 700; }
li.new-item::before { color: var(--new) !important; }

.or-div {
    text-align: center;
    font-size: 0.6rem; font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin: 4px auto;
    background: var(--lgray);
    border-radius: 3px;
    padding: 2px 0;
    width: 40%;
}

.plus-bar {
    background: var(--ltblue);
    color: var(--blue);
    text-align: center;
    font-size: 0.62rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.4px;
    padding: 4px;
    margin: 7px 0 5px;
    border-radius: 3px;
}

ul.plus { list-style: none; padding: 0; margin: 0; }
ul.plus li {
    padding-left: 11px; position: relative;
    margin-bottom: 3px;
    font-size: 0.7rem;
    color: var(--text-dark);
}
ul.plus li::before {
    content: '\203A';
    position: absolute; left: 0;
    color: var(--text-muted); font-weight: 700;
}
ul.plus li.new-item { color: var(--new); font-weight: 700; }
ul.plus li.new-item::before { color: var(--new); }

.col-note {
    margin-top: 6px;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-style: italic;
    border-top: 1px dashed var(--lgray);
    padding-top: 5px;
}

/* ============================================================
   Alternative pathways
   ============================================================ */
.alt-section {
    background: white;
    border: 1.5px solid var(--lgray);
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 14px;
}
.alt-head {
    font-size: 0.95rem; font-weight: 900;
    text-transform: uppercase;
    color: var(--blue-dark);
    border-bottom: 2px solid var(--lgray);
    padding-bottom: 7px;
    margin-bottom: 12px;
}
.alt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.alt-card {
    background: var(--light-bg);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
}
.alt-card .at-title {
    font-weight: 900; font-size: 0.95rem;
    color: var(--blue-dark); margin-bottom: 6px;
}
.alt-card .alt-sub {
    display: inline-block;
    font-size: 0.65rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--blue-dark);
    background: var(--ltblue, #E5F0F8);
    border: 1px solid var(--sky, #2B87C5);
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 8px;
}
.alt-card ul { list-style: none; padding: 0; margin: 0; }
.alt-card ul li {
    margin-bottom: 4px;
}
.alt-card ul li::before {
    display: none;
}
.alt-card .and-div {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 900;
    background: var(--lgray);
    color: var(--navy);
    border-radius: 3px;
    padding: 3px 0;
    margin: 6px auto;
    width: 52px;
}

/* ============================================================
   Legend
   ============================================================ */
.legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.75rem;
    margin-top: 12px;
    padding: 9px 14px;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--lgray);
}
.leg-item { display: flex; align-items: center; gap: 6px; }
.swatch {
    width: 14px; height: 14px;
    border-radius: 3px; flex-shrink: 0;
}
.swatch-existing { background: var(--navy); }
.swatch-new      { background: var(--new); }
.swatch-expanded { background: var(--ltnew); border: 1.5px solid var(--new); }
.leg-star { color: var(--new-dark); font-weight: 700; }
.vl { width: 1px; height: 20px; background: var(--lgray); }

/* ============================================================
   Quiz CTA + FAQ (kept from colleague's theme)
   ============================================================ */
.quiz-cta {
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
    color: white;
    padding: 1.75rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(2, 106, 176, 0.25);
}
.quiz-cta h2 { color: white; margin-top: 0; }
.quiz-cta p { margin: 0.5rem 0; }
.cta-button {
    display: inline-block;
    background-color: var(--yellow);
    color: var(--text-dark);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 0.75rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.3);
}
.cta-button-alt {
    background-color: white;
    color: var(--navy);
}
.cta-button-alt:hover { background-color: var(--ltblue); }

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}
.cta-buttons .cta-button {
    flex: 1 1 280px;
    max-width: 360px;
    margin-top: 0;
    text-align: center;
}

.faq {
    margin-top: 2rem;
    background: var(--white);
    padding: 1.5rem 1.75rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.faq h2 { margin-top: 0; }
.faq dt { font-weight: 600; margin-top: 1rem; color: var(--blue-dark); }
.faq dt:first-of-type { margin-top: 0.75rem; }
.faq dd { margin: 0.35rem 0 0; color: var(--text-muted); }

/* ============================================================
   Modal — focused view of a single pathway
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 45, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    animation: popIn 0.18s ease;
}
@keyframes popIn {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.modal-close {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: flex-end;
    padding: 10px 12px 0;
    background: white;
    z-index: 1;
}
.modal-close button {
    background: var(--lgray);
    border: none;
    border-radius: 50%;
    width: 30px; height: 30px;
    font-size: 18px; font-weight: 900;
    cursor: pointer;
    color: var(--navy);
    line-height: 1;
}
.modal-close button:hover { background: var(--sky); color: white; }
.modal-content { padding: 0 24px 24px; }

/* Modal scales the col styling up for readability */
.modal-content .col-head {
    border-radius: 8px;
    margin-bottom: 0;
    min-height: auto;
    padding: 16px 20px;
}
.modal-content .col-head .h-title { font-size: 1.25rem; line-height: 1.2; }
.modal-content .col-head .h-badge { font-size: 0.75rem; padding: 2px 8px; }
.modal-content .col-body {
    border-radius: 0 0 8px 8px;
    border-top: 1.5px solid var(--lgray);
    padding: 18px;
    font-size: 0.95rem;
    line-height: 1.6;
    cursor: default;
}
.modal-content .col-body.exp-body { border-color: var(--new); border-top-color: var(--new); }
.modal-content .col-body.new-body { border-color: var(--new); border-top-color: var(--new); }
.modal-content .crit-lbl { font-size: 0.8rem; margin-bottom: 8px; }
.modal-content ul.crit li,
.modal-content ul.plus li { font-size: 0.95rem; margin-bottom: 6px; padding-left: 16px; }
.modal-content .or-div { font-size: 0.75rem; margin: 7px auto; }
.modal-content .plus-bar { font-size: 0.8rem; padding: 6px; margin: 12px 0 7px; }
.modal-content .col-note { font-size: 0.85rem; }

/* ============================================================
   Responsive — when the row gets too narrow, the card bodies'
   bullet text starts bleeding into neighboring cards. Instead
   of horizontal scroll (awkward on phones), we collapse each
   card to title-only with a "Tap to view ↗" hint. The whole
   card is already clickable and opens a modal with the full
   content, so no options are hidden — just deferred behind one
   tap.
   ============================================================ */
@media (max-width: 1200px) {
    .measures-row {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 8px;
        overflow-x: visible;
    }
    .col-body { display: none; }
    /* Connector lines were drawn assuming a single row under the diploma
       box — once cards wrap to 2 rows the lines no longer make sense. */
    .connector-wrap { display: none; }
    .col-head {
        border-radius: 6px;
        min-height: 90px;
        padding-bottom: 22px;
        position: relative;
    }
    .col-head.expanded,
    .col-head.is-new {
        border-bottom-width: 2px;
    }
    .col-head::after {
        content: 'Tap to view \2197';
        position: absolute;
        bottom: 5px; left: 0; right: 0;
        text-align: center;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.3px;
        text-transform: uppercase;
        opacity: 0.9;
    }
    .col-head .h-title { font-size: 0.72rem; }
    .col-head .h-badge { font-size: 0.55rem; padding: 1px 4px; }
}
@media (max-width: 900px) {
    h2 { font-size: 1.25rem; }
    .alt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .measures-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .col-head { min-height: 100px; }
    .col-head .h-title { font-size: 0.78rem; }
}
@media (max-width: 380px) {
    .measures-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   Print stylesheet — hides the page chrome and lets the
   print PDF function take over via a clean window.print().
   ============================================================ */
@media print {
    .site-header,
    .site-footer,
    .cci-nav,
    .action-bar,
    .quiz-cta,
    .faq,
    .modal-overlay,
    .connector-wrap,
    .accordion-toggle-wrap { display: none !important; }
    .intro { box-shadow: none; border: 1px solid #ccc; }
    body { background: white !important; }
    .accordion-wrap .acc-detail[hidden] { display: flex !important; }
    .accordion-wrap .acc-row { background: #e8e8e8 !important; }
    .accordion-wrap .acc-title { color: #000 !important; }
    .accordion-wrap .acc-chevron { display: none !important; }
}

/* ============================================================
   Important Notice modal (shown on page load)
   ============================================================ */
#notice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 20, 40, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
#notice-overlay[hidden] { display: none !important; }
#notice-overlay .notice-box {
    background: white;
    border-radius: 12px;
    max-width: 540px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    overflow: hidden;
    animation: noticePopIn .2s ease;
}
@keyframes noticePopIn {
    from { transform: scale(.96); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
#notice-overlay .notice-head {
    background: var(--navy);
    border-bottom: 3px solid var(--gold);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
}
#notice-overlay #notice-title {
    color: white;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.3px;
}
#notice-overlay .notice-body { padding: 22px 24px; }
#notice-overlay .notice-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-dark);
}
#notice-overlay .notice-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
    line-height: 1.6;
}
#notice-overlay .notice-actions { margin-top: 20px; text-align: right; }
#notice-overlay .notice-actions button {
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 9px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.3px;
}
#notice-overlay .notice-actions button:hover { filter: brightness(1.1); }
#notice-overlay .notice-actions button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}
@media print { #notice-overlay { display: none !important; } }

/* ============================================================
   Accordion measure rows (Updated 2026)
   ============================================================ */
.accordion-toggle {
    background: white;
    color: var(--navy);
    border: 1.5px solid var(--navy);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
    letter-spacing: 0.3px;
    transition: background-color 0.15s ease;
}
.accordion-toggle:hover { background: var(--ltblue); }
.accordion-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.accordion-wrap {
    margin: 0 0 14px;
    border: 1.5px solid var(--lgray);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}
.accordion-wrap .acc-item { border-bottom: 1px solid var(--lgray); }
.accordion-wrap .acc-item:last-child { border-bottom: none; }

.accordion-wrap .acc-row {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 13px 16px;
    background: var(--navy);
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    gap: 12px;
    text-align: left;
    font-family: inherit;
    transition: filter .12s, border-color .12s;
}
.accordion-wrap .acc-item:has(.acc-badge.expanded) .acc-row,
.accordion-wrap .acc-item:has(.acc-badge.is-new) .acc-row {
    background: var(--new);
}
.accordion-wrap .acc-row:hover { filter: brightness(1.1); }
.accordion-wrap .acc-row[aria-expanded="true"] {
    border-bottom-color: var(--gold);
    filter: brightness(1.06);
}
.accordion-wrap .acc-row:focus-visible {
    outline: 2px solid rgba(255,255,255,.75);
    outline-offset: -5px;
}

.accordion-wrap .acc-title {
    font-size: 1rem;
    font-weight: 800;
    flex: 1;
    color: white;
    line-height: 1.3;
}

.accordion-wrap .acc-badge {
    font-size: 0.55rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 3px 8px;
    border-radius: 3px;
    white-space: nowrap;
    /* Badges only appear on the green new/expanded rows — a darkened
       overlay keeps the white text above 4.5:1 on that green. */
    background: rgba(0,0,0,.25);
    color: white;
    border: 1px solid rgba(255,255,255,.35);
}

.accordion-wrap .acc-chevron {
    font-size: 1.3rem;
    color: rgba(255,255,255,.85);
    flex-shrink: 0;
    transition: transform .2s;
    line-height: 1;
    font-weight: 300;
}
.accordion-wrap .acc-row[aria-expanded="true"] .acc-chevron {
    transform: rotate(90deg);
}

.accordion-wrap .acc-detail[hidden] { display: none !important; }
.accordion-wrap .acc-detail {
    padding: 14px 18px 18px;
    border-top: 1px solid var(--lgray);
    background: white;
    font-size: 0.88rem;
    line-height: 1.55;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.accordion-wrap .acc-detail.exp-body { background: var(--ltnew); }
.accordion-wrap .acc-detail.new-body { background: var(--ltnew); }

.accordion-wrap .crit-box,
.accordion-wrap .plus-box { display: flex; flex-direction: column; }
.accordion-wrap .plus-box { gap: 6px; }

.accordion-wrap .acc-detail .crit-lbl {
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--blue);
    text-align: center;
    margin-bottom: 8px;
}
.accordion-wrap .acc-detail.exp-body .crit-lbl,
.accordion-wrap .acc-detail.new-body .crit-lbl { color: var(--new-dark); }

.accordion-wrap .plus-lbl {
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 4px;
}

.accordion-wrap ul.crit { list-style: none; padding: 0; margin: 0; }
.accordion-wrap ul.crit li {
    background: white;
    border: 2px solid var(--sky);
    border-radius: 8px;
    padding: 10px 16px;
    margin: 0 0 0 0;
    font-size: 0.92rem;
    color: var(--text-dark);
}
.accordion-wrap ul.crit li::before { content: none; }
.accordion-wrap .acc-detail.exp-body ul.crit li,
.accordion-wrap .acc-detail.new-body ul.crit li { border-color: var(--new); }
.accordion-wrap ul.crit li.new-item { color: var(--new-dark); font-weight: 700; }
.accordion-wrap ul.crit li.new-item::before { content: none; }

.accordion-wrap .or-div {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin: 6px auto;
    background: var(--lgray);
    border-radius: 3px;
    padding: 3px 0;
    width: 52px;
}
.accordion-wrap .and-div {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 900;
    background: var(--lgray);
    color: var(--navy);
    border-radius: 3px;
    padding: 3px 0;
    margin: 6px auto;
    width: 52px;
}

.accordion-wrap ul.plus {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.accordion-wrap ul.plus li {
    background: var(--light-bg);
    border: 1px solid var(--lgray);
    border-radius: 7px;
    padding: 8px 14px;
    font-size: 0.82rem;
    color: var(--text-dark);
}
.accordion-wrap ul.plus li::before { content: none; }
.accordion-wrap ul.plus li.new-item {
    color: var(--new-dark);
    font-weight: 700;
    border-color: rgba(21, 128, 61, .35);  /* tint of --new green */
    background: var(--ltnew);
}
.accordion-wrap ul.plus li.new-item::before { content: none; }

.accordion-wrap .acc-note {
    margin: 2px 0 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    border-top: 1px dashed var(--lgray);
    padding-top: 8px;
}

@media (max-width: 600px) {
    .accordion-wrap .acc-row { padding: 11px 12px; gap: 8px; }
    .accordion-wrap .acc-title { font-size: 0.95rem; }
    .accordion-wrap .acc-detail { padding: 12px 14px 14px; }
    .accordion-wrap ul.crit li { padding: 9px 12px; font-size: 0.88rem; }
    .accordion-wrap ul.plus li { padding: 7px 12px; font-size: 0.78rem; }
}
