/* ================================================================
   MSAD #42 — The Central Aroostook Panthers
   School Suite shared stylesheet
   Brand: deep Panther blue, white, accent black, with subtle warm grays.
   ================================================================ */

:root {
    color-scheme: light;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;

    /* Brand */
    --panther-blue:        #0a2a6b;   /* primary */
    --panther-blue-deep:   #061a47;
    --panther-blue-soft:   #1b3f8f;
    --panther-blue-tint:   #e6ecf7;
    --panther-black:       #0c0f17;
    --panther-white:       #ffffff;
    --panther-gold:        #f3b71b;   /* sparingly — emphasis only */

    /* Neutrals */
    --ink:                 #0c1322;
    --ink-soft:            #2b3447;
    --muted:               #5a6478;
    --hairline:            #dfe4ec;
    --surface:             #ffffff;
    --surface-2:           #f5f7fb;
    --surface-3:           #eef1f7;
    --bg:                  #f3f5fa;

    /* States */
    --ok:                  #137a3e;
    --ok-tint:             #e2f4ea;
    --warn:                #a35a00;
    --warn-tint:           #fcecd6;
    --danger:              #b3261e;
    --danger-tint:         #fbe6e4;

    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(12, 19, 34, 0.06), 0 1px 1px rgba(12, 19, 34, 0.04);
    --shadow:    0 6px 16px rgba(10, 42, 107, 0.10), 0 2px 4px rgba(12, 19, 34, 0.06);
    --shadow-lg: 0 18px 40px rgba(10, 42, 107, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { background: var(--bg); color: var(--ink); }
body { margin: 0; min-height: 100vh; line-height: 1.45; }

a { color: var(--panther-blue); text-decoration: none; }
a:hover { color: var(--panther-blue-deep); text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .4em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
.lead { color: var(--muted); font-size: 1.02rem; }
.required { color: var(--danger); }
hr { border: 0; border-top: 1px solid var(--hairline); margin: 1.25rem 0; }

/* -----------------------------------------------------------
   Top suite bar (always visible on every page)
   ----------------------------------------------------------- */
.suite-topbar {
    background: var(--panther-blue-deep);
    color: var(--panther-white);
    padding: .9rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.suite-topbar-brand {
    color: var(--panther-white);
    display: flex; align-items: center; gap: .65rem;
    font-weight: 700; letter-spacing: .01em;
    text-decoration: none;
}
.suite-topbar-brand:hover { color: var(--panther-white); text-decoration: none; }

.suite-brand-mark {
    background: var(--panther-blue);
    color: var(--panther-white);
    border: 2px solid rgba(255,255,255,.18);
    border-radius: var(--radius-sm);
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .9rem; letter-spacing: .02em;
}

.suite-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.suite-brand-text strong { font-size: 1rem; }
.suite-brand-text small { color: rgba(255,255,255,.7); font-weight: 500; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }

.suite-nav { display: flex; gap: .25rem; margin-left: 1.5rem; flex: 1; flex-wrap: wrap; }
.suite-nav a {
    color: rgba(255,255,255,.78);
    padding: .5rem .85rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: background .15s, color .15s;
}
.suite-nav a:hover { background: rgba(255,255,255,.08); color: var(--panther-white); text-decoration: none; }
.suite-nav a.active {
    background: var(--panther-white);
    color: var(--panther-blue-deep);
}

.suite-signin-link {
    margin-left: auto;
    color: var(--panther-white);
    background: var(--panther-blue);
    padding: .45rem .9rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.suite-signin-link:hover { background: var(--panther-blue-soft); color: var(--panther-white); text-decoration: none; }

/* Account menu */
.suite-account-menu { position: relative; margin-left: auto; }
.suite-account-menu > summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: .55rem;
    background: rgba(255,255,255,.08);
    color: var(--panther-white);
    border-radius: var(--radius);
    padding: .4rem .8rem;
    font-weight: 600;
}
.suite-account-menu > summary::-webkit-details-marker { display: none; }
.suite-account-menu > summary::after {
    content: "▾"; font-size: .7rem; opacity: .7;
}
.suite-account-menu > summary small {
    color: rgba(255,255,255,.65); font-weight: 500; font-size: .72rem;
    text-transform: uppercase; letter-spacing: .04em;
}
.suite-account-popout {
    position: absolute; right: 0; top: calc(100% + .35rem); min-width: 240px;
    background: var(--surface); color: var(--ink);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: .35rem; z-index: 50;
    border: 1px solid var(--hairline);
}
.suite-account-popout a {
    display: block; padding: .55rem .75rem;
    border-radius: var(--radius-sm); color: var(--ink);
    font-weight: 500;
}
.suite-account-popout a:hover { background: var(--surface-3); text-decoration: none; }
.suite-account-name {
    padding: .65rem .75rem;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: .25rem;
}
.suite-account-name strong { display: block; font-size: .95rem; }
.suite-account-name span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }

/* -----------------------------------------------------------
   Page layout
   ----------------------------------------------------------- */
.suite-page { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.suite-hero { margin-bottom: 1.75rem; }
.suite-hero h1 { font-size: 2.1rem; }

/* Generic surfaces */
.card-surface {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* Dashboard module grid */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.module-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 1.2rem 1.25rem 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: transform .15s, box-shadow .15s, border-color .15s;
    display: flex; flex-direction: column; gap: .55rem;
    color: var(--ink);
    position: relative;
    overflow: hidden;
}
.module-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: var(--panther-blue);
}
.module-card:hover {
    transform: translateY(-2px); text-decoration: none; color: var(--ink);
    box-shadow: var(--shadow); border-color: var(--panther-blue-tint);
}
.module-card .module-kicker {
    display: inline-block; align-self: flex-start;
    background: var(--panther-blue-tint); color: var(--panther-blue-deep);
    font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    padding: .25rem .55rem; border-radius: 999px;
}
.module-card h3 { margin: 0; font-size: 1.1rem; color: var(--ink); }
.module-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.module-card .module-cta { margin-top: auto; padding-top: .65rem; color: var(--panther-blue); font-weight: 600; font-size: .92rem; }
.module-card .module-cta::after { content: " →"; }

/* ============================================================
   Dashboard v3 — module-led, school-themed
   Modules ARE the dashboard. Status is baked into each tile.
   ============================================================ */
.dashboard-banner {
    background: linear-gradient(135deg, var(--panther-blue) 0%, var(--panther-blue-deep) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem 1.5rem;
    margin-bottom: 1.5rem;
    position: relative; overflow: hidden;
    box-shadow: var(--shadow);
}
.dashboard-banner::before {
    content: "";
    position: absolute; right: -30px; top: -40px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(243, 183, 27, 0.08);
}
.dashboard-banner::after {
    content: "";
    position: absolute; right: 80px; bottom: -60px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}
.dashboard-banner-content { position: relative; z-index: 1; }
.dashboard-banner-eyebrow {
    text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
    color: rgba(255, 255, 255, .7); font-weight: 700;
    margin-bottom: .35rem;
}
.dashboard-banner h1 {
    color: #fff; font-size: 2rem; font-weight: 800; margin: 0 0 .25rem;
    letter-spacing: -.015em;
}
.dashboard-banner .banner-sub { color: rgba(255, 255, 255, .8); font-size: 1rem; margin: 0; }
.dashboard-banner-date {
    position: absolute; right: 2rem; top: 1.75rem;
    color: rgba(255, 255, 255, .8); font-size: .9rem; font-weight: 500;
    z-index: 1;
}

/* Urgent alert above modules */
.urgent-bar {
    background: var(--warn-tint); color: #7a4400;
    border: 1px solid #f0d0a0; border-left: 4px solid var(--warn);
    border-radius: var(--radius);
    padding: .8rem 1.1rem;
    margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: .65rem;
    font-weight: 500;
}
.urgent-bar strong { color: #5c3300; }
.urgent-bar a { color: #5c3300; text-decoration: underline; font-weight: 600; }

/* Big module tiles — 2-3 across, distinct visual weight */
.module-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.1rem;
    margin-bottom: 1.5rem;
}
.module-tile {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem 1.25rem;
    text-decoration: none;
    color: var(--ink);
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform .15s, box-shadow .15s, border-color .15s;
    position: relative; overflow: hidden;
    min-height: 200px;
}
.module-tile::before {
    content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px;
    background: var(--panther-blue);
}
.module-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--panther-blue-tint);
    text-decoration: none; color: var(--ink);
}
.module-tile-head {
    display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem;
}
.module-tile-mark {
    width: 52px; height: 52px;
    background: var(--panther-blue);
    color: #fff;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.35rem; font-weight: 800;
    box-shadow: 0 4px 10px rgba(10, 42, 107, .25);
    flex-shrink: 0;
}
.module-tile-title-block { min-width: 0; flex: 1; }
.module-tile-title { font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.module-tile-kicker {
    font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted);
}
.module-tile-status {
    display: flex; flex-direction: column; gap: .55rem;
    margin-bottom: 1rem;
    flex: 1;
}
.module-tile-stat {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: .5rem;
    font-size: .9rem;
}
.module-tile-stat .label { color: var(--muted); }
.module-tile-stat .value { font-weight: 700; color: var(--ink); font-size: 1rem; }
.module-tile-stat .value.warn { color: #a35a00; }
.module-tile-stat .value.danger { color: #8b1e18; }
.module-tile-stat .value.ok { color: #0a5a2c; }
.module-tile-foot {
    padding-top: .85rem;
    border-top: 1px solid var(--hairline);
    display: flex; align-items: center; justify-content: space-between;
}
.module-tile-meta { color: var(--muted); font-size: .82rem; }
.module-tile-open {
    color: var(--panther-blue); font-weight: 700; font-size: .92rem;
}
.module-tile-open::after { content: " →"; }

/* Quick-launch strip beneath modules */
.quick-strip {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-sm);
}
.quick-strip-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
}
.quick-strip-head h3 {
    margin: 0; font-size: .85rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
}
.quick-strip-head a { font-size: .82rem; font-weight: 600; color: var(--panther-blue); }
.quick-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
}
@media (max-width: 700px) {
    .quick-strip-grid { grid-template-columns: 1fr; }
}
.quick-strip-item {
    --tile-from: var(--panther-blue);
    --tile-to:   var(--panther-blue-soft);
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: stretch;
    border-radius: 14px;
    color: var(--ink);
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--hairline);
    box-shadow: 0 2px 4px rgba(12, 19, 34, .04);
    overflow: hidden;
    transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
    min-height: 76px;
    min-width: 0;
}
.quick-strip-item:hover {
    transform: translateY(-3px);
    border-color: var(--tile-from);
    box-shadow: 0 12px 22px rgba(10, 42, 107, .18);
    text-decoration: none;
    color: var(--ink);
}
.quick-strip-item .emoji {
    background: linear-gradient(135deg, var(--tile-from), var(--tile-to));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    position: relative;
    box-shadow: inset -1px 0 0 rgba(255,255,255,.15);
}
.quick-strip-item .emoji::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(80px 60px at top left, rgba(255,255,255,.18), transparent 70%);
    pointer-events: none;
}
.quick-strip-item:hover .emoji { filter: brightness(1.05); }
.quick-strip-item .label {
    padding: .85rem 1rem;
    display: flex; flex-direction: column; justify-content: center;
    gap: .2rem; min-width: 0;
}
.quick-strip-item .label-title {
    font-size: 1rem; font-weight: 700; color: var(--ink);
    letter-spacing: -.01em;
    line-height: 1.2;
    white-space: nowrap;
}
.quick-strip-item .label small {
    font-size: .68rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--tile-from);
}
.quick-strip-empty { color: var(--muted); font-size: .9rem; padding: .25rem 0; }

/* ============================================================
   Documents library — list/file-browser feel
   ============================================================ */
.docs-hero {
    background: linear-gradient(135deg, var(--panther-blue) 0%, var(--panther-blue-deep) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 1rem;
}
.docs-hero-icon {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.docs-hero h1 { color: #fff; font-size: 1.5rem; margin: 0; }
.docs-hero p  { color: rgba(255, 255, 255, .85); margin: .15rem 0 0; font-size: .95rem; }

.docs-search {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: .65rem;
    box-shadow: var(--shadow-sm);
}
.docs-search input {
    border: 0; flex: 1; font-size: .95rem; outline: none; background: transparent;
}
.docs-search .docs-search-icon { color: var(--muted); font-size: 1.1rem; }
.docs-search .docs-search-meta { color: var(--muted); font-size: .82rem; }

.docs-section { margin-bottom: 1.5rem; }
.docs-section-head {
    display: flex; align-items: baseline; gap: .65rem;
    padding: 0 .25rem .55rem;
    border-bottom: 2px solid var(--hairline);
    margin-bottom: 0;
}
.docs-section-head h2 {
    margin: 0; font-size: 1rem;
    text-transform: uppercase; letter-spacing: .08em;
    font-weight: 800; color: var(--ink-soft);
}
.docs-section-head .docs-count {
    background: var(--surface-3); color: var(--muted);
    font-size: .72rem; font-weight: 700;
    padding: .15rem .55rem; border-radius: 999px;
}

.docs-list {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 0;
    overflow: hidden;
}
.doc-row {
    display: grid;
    grid-template-columns: 56px 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: .85rem 1rem;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--hairline);
    transition: background .12s ease;
}
.doc-row:last-child { border-bottom: 0; }
.doc-row:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }

.doc-filetype {
    width: 44px; height: 44px;
    border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 800; color: #fff;
    letter-spacing: .04em;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
}
.doc-filetype.pdf  { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.doc-filetype.doc  { background: linear-gradient(135deg, #1a4ba6, #3a73d6); }
.doc-filetype.xls  { background: linear-gradient(135deg, #167a3e, #28b366); }
.doc-filetype.ppt  { background: linear-gradient(135deg, #c75418, #ea7c45); }
.doc-filetype.img  { background: linear-gradient(135deg, #6f42c1, #9968d6); }
.doc-filetype.txt  { background: linear-gradient(135deg, #4a5568, #6b7280); }
.doc-filetype.file { background: linear-gradient(135deg, #4a5568, #6b7280); }

.doc-main { min-width: 0; }
.doc-title { font-weight: 700; color: var(--ink); font-size: 1rem; }
.doc-desc  { color: var(--muted); font-size: .85rem; margin-top: .1rem;
             display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.doc-meta  { color: var(--muted); font-size: .8rem; white-space: nowrap; text-align: right; }
.doc-meta strong { color: var(--ink-soft); }
.doc-open  { color: var(--panther-blue); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.doc-open::after { content: " →"; }

.docs-empty {
    text-align: center; padding: 2.5rem 1rem;
    color: var(--muted);
    background: var(--surface);
    border: 1px dashed var(--hairline);
    border-radius: var(--radius);
}
.docs-empty .icon { font-size: 2rem; margin-bottom: .35rem; }

/* ============================================================
   Cards admin — drag-to-sort list
   ============================================================ */
.cards-list {
    display: flex; flex-direction: column;
    gap: .55rem;
}
.card-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1.4fr) minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: .85rem 1rem;
    box-shadow: 0 1px 2px rgba(12, 19, 34, .04);
    transition: box-shadow .15s, border-color .15s;
}
.card-row:hover { border-color: var(--panther-blue-tint); }
.card-row-ghost { opacity: .35; }
.card-row-chosen { box-shadow: 0 6px 16px rgba(10, 42, 107, .18); border-color: var(--panther-blue); }

.card-row-handle {
    cursor: grab; user-select: none;
    color: var(--muted); font-size: 1.2rem;
    width: 22px; text-align: center;
    line-height: 1;
    transition: color .12s;
}
.card-row-handle:hover { color: var(--panther-blue); }
.card-row-handle:active { cursor: grabbing; }

.card-row-main { min-width: 0; }
.card-row-title { font-size: 1rem; }
.card-row-desc  { font-size: .85rem; margin-top: .15rem;
                  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-row-href  { margin-top: .25rem; word-break: break-all; }
.card-row-href a { color: var(--muted); text-decoration: none; }
.card-row-href a:hover { color: var(--panther-blue); text-decoration: underline; }

.card-row-meta {
    display: flex; flex-direction: column; gap: .3rem;
    font-size: .82rem;
    min-width: 0;
}
.card-row-meta-row { display: flex; align-items: center; gap: .55rem; }
.card-row-meta-label {
    font-size: .7rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--muted);
    min-width: 64px;
}

.card-row-actions {
    display: flex; align-items: center; gap: .25rem;
    white-space: nowrap;
}
.card-row-actions form { margin: 0; }

.card-row-saved {
    margin-top: .75rem;
    padding: .5rem .85rem;
    border-radius: var(--radius-sm);
    font-size: .85rem; font-weight: 600;
    display: inline-block;
}
.card-row-saved.pending { background: var(--surface-3); color: var(--muted); }
.card-row-saved.ok      { background: var(--ok-tint);   color: #0a5a2c; }
.card-row-saved.err     { background: var(--danger-tint); color: #8b1e18; }

@media (max-width: 780px) {
    .card-row { grid-template-columns: 24px 1fr; }
    .card-row-meta { grid-column: 2; }
    .card-row-actions { grid-column: 2; justify-content: flex-start; }
}

/* Category color themes — set via data-cat. Defaults to Panther blue. */
.quick-strip-item[data-cat="Training"]      { --tile-from: #1f6fc4; --tile-to: #4a91da; }
.quick-strip-item[data-cat="Policies"]      { --tile-from: #8b1e18; --tile-to: #c44b40; }
.quick-strip-item[data-cat="HR"]            { --tile-from: #5d2b9a; --tile-to: #8b5cd6; }
.quick-strip-item[data-cat="Resources"]     { --tile-from: #0a7a6f; --tile-to: #2db3a3; }
.quick-strip-item[data-cat="Building"]      { --tile-from: #b5840d; --tile-to: #e0b246; }
.quick-strip-item[data-cat="Calendar"]      { --tile-from: #b35a00; --tile-to: #e88a36; }
.quick-strip-item[data-cat="Meeting"]       { --tile-from: #5d2b9a; --tile-to: #8b5cd6; }
.quick-strip-item[data-cat="Documents"]     { --tile-from: #a35a00; --tile-to: #d9893a; }
.quick-strip-item[data-cat="Quick links"]   { --tile-from: var(--panther-blue); --tile-to: var(--panther-blue-soft); }

/* ============================================================
   Old Dashboard v2 (stats strip + 2-col layout) — superseded
   ============================================================ */
.dash-hero {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    margin-bottom: 1rem;
}
.dash-hero h1 { font-size: 2rem; margin-bottom: .15rem; }
.dash-hero .dash-hero-date { color: var(--muted); font-size: .92rem; }

/* Full-width stats strip */
.stats-strip {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.1rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.stat-cell { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.stat-icon {
    width: 52px; height: 52px; flex-shrink: 0;
    background: var(--panther-blue-tint); color: var(--panther-blue-deep);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.stat-body { display: flex; flex-direction: column; min-width: 0; }
.stat-num   { font-size: 1.75rem; font-weight: 800; line-height: 1.05; color: var(--ink); letter-spacing: -.02em; }
.stat-label { font-weight: 600; font-size: .9rem; color: var(--ink-soft); margin-top: .1rem; }
.stat-sub   { font-size: .8rem; color: var(--muted); }

/* Two-column layout */
.dash-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 1.25rem;
}
@media (max-width: 980px) { .dash-grid { grid-template-columns: 1fr; } }

.dash-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.1rem 1.2rem;
    margin-bottom: 1.25rem;
}
.dash-card-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: .75rem; flex-wrap: wrap;
    margin-bottom: .85rem;
}
.dash-card-head h2 {
    margin: 0; font-size: 1.05rem;
    display: flex; align-items: center; gap: .55rem;
}
.dash-card-head h2 .icon { color: var(--panther-blue); font-size: 1.1rem; }
.dash-card-head .head-link { font-size: .85rem; font-weight: 600; color: var(--panther-blue); }
.dash-card-head .head-link:hover { color: var(--panther-blue-deep); }

/* Modules: vertical list rows */
.modules-list { display: flex; flex-direction: column; }
.module-row {
    display: grid;
    grid-template-columns: 48px 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: .85rem .65rem;
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    transition: background .12s;
}
.module-row + .module-row { border-top: 1px solid var(--hairline); }
.module-row:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.module-row-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--panther-blue-tint); color: var(--panther-blue-deep);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
}
.module-row-body { min-width: 0; }
.module-row-title { font-weight: 700; color: var(--ink); font-size: 1rem; }
.module-row-desc  { color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.module-row-kicker {
    background: var(--panther-blue-tint); color: var(--panther-blue-deep);
    font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: .25rem .55rem; border-radius: 999px;
}
.module-row-open {
    color: var(--panther-blue); font-weight: 700; font-size: .9rem; white-space: nowrap;
}
.module-row-open::after { content: " →"; }

/* Quick launch — 2-col compact tiles in the right column */
.qlaunch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
}
.qlaunch-tile {
    display: flex; align-items: center; gap: .65rem;
    padding: .65rem .8rem;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    min-width: 0;
    transition: background .12s, border-color .12s, transform .08s;
}
.qlaunch-tile:hover { background: var(--surface-2); border-color: var(--panther-blue-tint); text-decoration: none; color: var(--ink); }
.qlaunch-tile:active { transform: translateY(1px); }
.qlaunch-tile-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--panther-blue-tint); color: var(--panther-blue-deep);
    border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.qlaunch-tile-label {
    font-weight: 600; font-size: .9rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Activity feed */
.activity-feed { display: flex; flex-direction: column; }
.activity-item {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: .75rem;
    align-items: center;
    padding: .55rem .35rem;
}
.activity-item + .activity-item { border-top: 1px solid var(--hairline); }
.activity-item .activity-dot {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--ok-tint); color: #0a5a2c;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .8rem;
}
.activity-item .activity-text { color: var(--ink-soft); font-size: .88rem; }
.activity-item .activity-text strong { color: var(--ink); }
.activity-item .activity-when { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.activity-empty { color: var(--muted); padding: .75rem 0; font-size: .9rem; }

/* Today's tasks */
.tasks-list { display: flex; flex-direction: column; gap: .35rem; }
.task-row {
    display: flex; align-items: center; gap: .75rem;
    padding: .55rem .25rem;
    border-bottom: 1px dashed var(--hairline);
}
.task-row:last-child { border-bottom: 0; }
.task-row .task-label { flex: 1; font-size: .92rem; color: var(--ink); }
.task-priority {
    font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: .2rem .55rem; border-radius: 999px;
}
.task-priority.high   { background: var(--danger-tint); color: #8b1e18; }
.task-priority.medium { background: var(--warn-tint);   color: #7a4400; }
.task-priority.low    { background: var(--ok-tint);     color: #0a5a2c; }

/* Launchpad — dense, scannable tile grid for shortcuts & documents */
.launchpad-wrap { margin-top: 1rem; }
.launchpad-filters {
    display: flex; flex-wrap: wrap; gap: .35rem;
    margin-bottom: .85rem;
}
.launchpad-filter {
    background: var(--surface); color: var(--ink-soft);
    border: 1px solid var(--hairline);
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .82rem; font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.launchpad-filter:hover { background: var(--panther-blue-tint); color: var(--panther-blue-deep); border-color: var(--panther-blue-tint); }
.launchpad-filter.active {
    background: var(--panther-blue); color: var(--panther-white); border-color: var(--panther-blue);
}
.launchpad-filter .count {
    margin-left: .35rem;
    background: rgba(0,0,0,.07);
    padding: 0 .4rem; border-radius: 999px; font-size: .7rem;
}
.launchpad-filter.active .count { background: rgba(255,255,255,.22); }

.launchpad {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .65rem;
}
.launch-tile {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    padding: 1rem .75rem .85rem;
    text-align: center;
    color: var(--ink);
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform .12s, box-shadow .15s, border-color .15s;
    position: relative;
    min-height: 132px;
}
.launch-tile:hover {
    transform: translateY(-2px);
    border-color: var(--panther-blue-tint);
    box-shadow: var(--shadow);
    text-decoration: none; color: var(--ink);
}
.launch-tile .launch-emoji {
    font-size: 2rem; line-height: 1;
}
.launch-tile .launch-title {
    font-weight: 600; font-size: .92rem; line-height: 1.2;
    color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.launch-tile .launch-chip {
    position: absolute; top: .4rem; right: .4rem;
    background: var(--panther-blue-tint); color: var(--panther-blue-deep);
    font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    padding: .12rem .45rem;
    border-radius: 999px;
}
.launch-tile.is-document .launch-chip { background: #fef3c7; color: #7a4400; }
.launch-tile.is-link     .launch-chip { background: var(--panther-blue-tint); color: var(--panther-blue-deep); }

.launchpad-empty {
    text-align: center; padding: 1.5rem; color: var(--muted);
    border: 1px dashed var(--hairline); border-radius: var(--radius);
}

/* Section blocks */
.section { margin-top: 2rem; }
.section-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 1rem; margin-bottom: .85rem; flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .muted { color: var(--muted); font-size: .9rem; }

/* -----------------------------------------------------------
   Login screen (full-screen branded card)
   ----------------------------------------------------------- */
.suite-auth {
    min-height: calc(100vh - 64px);
    display: flex; align-items: center; justify-content: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(circle at top left, rgba(10, 42, 107, .08), transparent 50%),
        radial-gradient(circle at bottom right, rgba(243, 183, 27, .07), transparent 50%),
        var(--bg);
}
.suite-auth-card {
    width: 100%; max-width: 420px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem 1.85rem;
    border: 1px solid var(--hairline);
}
.suite-auth-brand {
    display: flex; align-items: center; gap: .75rem;
    margin-bottom: 1.4rem;
}
.suite-auth-brand .suite-brand-mark {
    width: 44px; height: 44px; font-size: 1rem;
}
.suite-auth-brand strong { font-size: 1.05rem; }
.suite-auth-brand small { color: var(--muted); display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.suite-auth h1 { font-size: 1.5rem; margin-bottom: .15rem; }
.suite-auth p.lead { margin: 0 0 1.3rem; font-size: .95rem; }

.btn-google {
    width: 100%;
    display: flex; align-items: center; justify-content: center; gap: .65rem;
    background: var(--panther-white);
    border: 1px solid #d0d6e0;
    color: #1f2230;
    font-weight: 600;
    padding: .65rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: box-shadow .15s, border-color .15s, transform .1s;
}
.btn-google:hover { box-shadow: 0 2px 6px rgba(12, 19, 34, .12); border-color: #b8c0cc; }
.btn-google:active { transform: translateY(1px); }

.suite-auth-divider {
    display: flex; align-items: center; gap: .65rem;
    color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
    margin: 1.1rem 0;
}
.suite-auth-divider::before, .suite-auth-divider::after {
    content: ""; flex: 1; height: 1px; background: var(--hairline);
}

/* -----------------------------------------------------------
   Forms
   ----------------------------------------------------------- */
.form-stack { display: flex; flex-direction: column; gap: .85rem; }
.form-field { display: flex; flex-direction: column; gap: .3rem; }
.form-field label { font-weight: 600; font-size: .88rem; color: var(--ink-soft); }
.form-field input:not([type=checkbox]):not([type=radio]):not([type=file]),
.form-field select,
.form-field textarea {
    width: 100%;
    padding: .55rem .7rem;
    background: var(--surface);
    border: 1px solid #cdd4e0;
    border-radius: var(--radius-sm);
    color: var(--ink);
    font: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--panther-blue-soft);
    box-shadow: 0 0 0 3px rgba(27, 63, 143, .18);
}
.form-field .hint { color: var(--muted); font-size: .8rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .85rem; }
.form-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-top: .5rem; }
.checkbox-row { display: flex; align-items: center; gap: .5rem; }

/* -----------------------------------------------------------
   Buttons
   ----------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    padding: .55rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .08s;
    font: inherit;
    line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(27, 63, 143, .25); }

.btn-primary { background: var(--panther-blue); color: var(--panther-white); border-color: var(--panther-blue); }
.btn-primary:hover { background: var(--panther-blue-deep); color: var(--panther-white); text-decoration: none; }

.btn-secondary { background: var(--surface); color: var(--ink); border-color: #cdd4e0; }
.btn-secondary:hover { background: var(--surface-3); color: var(--ink); text-decoration: none; }

.btn-ghost { background: transparent; color: var(--panther-blue); border-color: transparent; }
.btn-ghost:hover { background: var(--panther-blue-tint); text-decoration: none; }

.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #8c1c17; color: #fff; text-decoration: none; }

.btn-block { width: 100%; }
.btn-sm { padding: .35rem .65rem; font-size: .85rem; }

/* -----------------------------------------------------------
   Alerts
   ----------------------------------------------------------- */
.alert {
    padding: .75rem .95rem;
    border-radius: var(--radius-sm);
    border: 1px solid;
    font-size: .92rem;
    margin-bottom: 1rem;
}
.alert-success { background: var(--ok-tint); border-color: #b3dec3; color: #0a5a2c; }
.alert-warning { background: var(--warn-tint); border-color: #f0d0a0; color: #7a4400; }
.alert-danger  { background: var(--danger-tint); border-color: #f4c6c3; color: #8b1e18; }
.alert-info    { background: var(--panther-blue-tint); border-color: #c5d0e9; color: var(--panther-blue-deep); }

/* -----------------------------------------------------------
   Tables
   ----------------------------------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--hairline); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; }
.table thead th {
    text-align: left;
    background: var(--surface-2);
    color: var(--ink-soft);
    font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em;
    padding: .65rem .85rem;
    border-bottom: 1px solid var(--hairline);
}
.table tbody td { padding: .7rem .85rem; border-bottom: 1px solid var(--hairline); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-2); }
.table .muted { color: var(--muted); }

.badge {
    display: inline-block;
    padding: .2rem .55rem;
    background: var(--surface-3);
    color: var(--ink-soft);
    border-radius: 999px;
    font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.badge-blue { background: var(--panther-blue-tint); color: var(--panther-blue-deep); }
.badge-ok { background: var(--ok-tint); color: #0a5a2c; }
.badge-warn { background: var(--warn-tint); color: #7a4400; }
.badge-off { background: var(--surface-3); color: var(--muted); }

/* Role-coded badges */
.badge-role { padding: .25rem .65rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; display: inline-flex; align-items: center; gap: .3rem; }
.badge-role::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-role-admin     { background: #fff1d6; color: #8a5a00; }
.badge-role-principal { background: #ede0ff; color: #5d2b9a; }
.badge-role-secretary { background: #d8f0ff; color: #0b4a7a; }
.badge-role-teacher   { background: #d6f3e3; color: #0a5a2c; }

/* Status badges (active / disabled / pending) — clearer than gray-on-gray */
.badge-status { padding: .25rem .65rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; display: inline-flex; align-items: center; gap: .3rem; }
.badge-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-status-active   { background: var(--ok-tint); color: #0a5a2c; }
.badge-status-disabled { background: #fde8e6; color: #8b1e18; }

/* Permission / feature badges (used for Winter Carnival access/editor) */
.badge-feature { padding: .2rem .55rem; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; }
.badge-feature-on    { background: var(--panther-blue-tint); color: var(--panther-blue-deep); }
.badge-feature-view  { background: #e5e9f1; color: #2b3447; }
.badge-feature-off   { background: var(--surface-3); color: var(--muted); }

/* -----------------------------------------------------------
   Modal
   ----------------------------------------------------------- */
.modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(12, 19, 34, .55);
    display: none;
    align-items: center; justify-content: center;
    z-index: 100;
    padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
    background: var(--surface);
    border-radius: var(--radius-lg);
    max-width: 720px; width: 100%;
    max-height: 90vh; overflow: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--hairline);
}
.modal-header, .modal-body, .modal-footer { padding: 1rem 1.25rem; }
.modal-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hairline); }
.modal-header h2 { margin: 0; font-size: 1.15rem; }
.modal-footer { border-top: 1px solid var(--hairline); display: flex; gap: .5rem; justify-content: flex-end; }
.modal-close {
    background: transparent; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--muted);
    width: 32px; height: 32px; line-height: 1; border-radius: var(--radius-sm);
}
.modal-close:hover { background: var(--surface-3); color: var(--ink); }

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */
.suite-footer {
    text-align: center;
    color: var(--muted);
    font-size: .82rem;
    padding: 1.5rem 1rem 2rem;
}
.suite-footer strong { color: var(--ink-soft); }

/* -----------------------------------------------------------
   Bootstrap 5 brand overlay (modules still use the BS CDN; this
   makes their buttons, alerts and cards match suite branding).
   ----------------------------------------------------------- */
body .btn-primary { background-color: var(--panther-blue); border-color: var(--panther-blue); }
body .btn-primary:hover, body .btn-primary:focus { background-color: var(--panther-blue-deep); border-color: var(--panther-blue-deep); }
body .btn-outline-primary { color: var(--panther-blue); border-color: var(--panther-blue); }
body .btn-outline-primary:hover { background-color: var(--panther-blue); border-color: var(--panther-blue); }
body a { color: var(--panther-blue); }
body .text-primary { color: var(--panther-blue) !important; }
body .bg-primary { background-color: var(--panther-blue) !important; }
body .card { border-color: var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
body .card-header {
    background: var(--surface-2); color: var(--ink);
    font-weight: 600; border-bottom: 1px solid var(--hairline);
}
body .form-control:focus, body .form-select:focus {
    border-color: var(--panther-blue-soft);
    box-shadow: 0 0 0 0.2rem rgba(27, 63, 143, .18);
}
body .alert-info { background: var(--panther-blue-tint); border-color: #c5d0e9; color: var(--panther-blue-deep); }
body .navbar.cap-navbar {
    background: var(--surface); border-bottom: 1px solid var(--hairline); padding: .5rem 1rem;
}
body .module-badge {
    display: inline-block;
    background: var(--panther-blue-tint); color: var(--panther-blue-deep);
    font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    padding: .15rem .55rem; border-radius: 999px; margin-right: .5rem;
}
body .cap-hero {
    background: linear-gradient(135deg, var(--panther-blue) 0%, var(--panther-blue-deep) 100%);
    color: #fff; padding: 1.5rem 1.75rem; border-radius: var(--radius-lg);
    margin-bottom: 1.5rem; box-shadow: var(--shadow);
}
body .cap-hero h1 { color: #fff; }
body .cap-hero p.lead { color: rgba(255,255,255,.85); margin: 0; }
body .cap-footer { display: none; } /* replaced by suite-footer */
body .cap-login-card { display: flex; justify-content: center; padding: 2rem 1rem; }

/* Live ops stats grid (suite dashboard for admin/principal/secretary) */
.ops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .75rem;
}
.ops-stat {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-left: 4px solid var(--panther-blue);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: flex; flex-direction: column; gap: .15rem;
    box-shadow: var(--shadow-sm);
}
.ops-stat-num   { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.ops-stat-label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.ops-stat-sub   { font-size: .8rem; color: var(--muted); }

/* Module subnav (used by Conferences, Winter Carnival) */
.module-subnav {
    display: flex; align-items: center; gap: .35rem; flex-wrap: wrap;
    padding: .65rem 1.5rem;
    background: var(--surface); border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-sm);
}
.module-subnav .module-badge { margin-right: .5rem; }
.module-subnav-link {
    color: var(--ink-soft);
    padding: .35rem .75rem;
    border-radius: var(--radius-sm);
    font-size: .9rem; font-weight: 500;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.module-subnav-link:hover { background: var(--panther-blue-tint); color: var(--panther-blue-deep); text-decoration: none; }
.module-subnav-link.active { background: var(--panther-blue); color: var(--panther-white); }
.module-subnav-spacer { flex: 1; }
.module-subnav-yearpick select {
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--hairline); border-radius: var(--radius-sm);
    padding: .3rem .55rem; font-size: .88rem; font-weight: 600;
    cursor: pointer;
}
.module-subnav-yearpick select:hover { border-color: var(--panther-blue-soft); }

/* Conferences hero (overrides legacy black-on-blue title) */
.conf-hero {
    background: linear-gradient(135deg, var(--panther-blue) 0%, var(--panther-blue-deep) 100%);
    color: #fff;
    padding: 1.8rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.conf-hero-eyebrow {
    margin: 0 0 .5rem; color: rgba(255,255,255,.7);
    font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.conf-hero-title { color: #fff; font-size: 2rem; margin: 0 0 .35rem; }
.conf-hero-sub   { color: rgba(255,255,255,.85); margin: 0; max-width: 56ch; }
.conf-hero-cta {
    background: var(--panther-gold); color: var(--panther-black);
    border: 0; padding: .7rem 1.25rem; border-radius: var(--radius-sm);
    font-weight: 700; text-decoration: none;
    box-shadow: 0 4px 12px rgba(243, 183, 27, .35);
    transition: transform .1s, box-shadow .15s, background .15s;
    white-space: nowrap;
}
.conf-hero-cta:hover {
    background: #f9c533; color: var(--panther-black); text-decoration: none;
    box-shadow: 0 6px 16px rgba(243, 183, 27, .5);
    transform: translateY(-1px);
}

/* School selector toggle (Attendance & Lunch hero) — make active state pop on blue */
body .cap-hero .btn-group .btn { font-weight: 600; }
body .cap-hero .btn-group .btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
body .cap-hero .btn-group .btn-light:hover { background: rgba(255,255,255,.25); color: #fff; }
body .cap-hero .btn-group .btn-light.active,
body .cap-hero .btn-group .btn-light.active:hover {
    background: var(--panther-gold); color: var(--panther-black);
    border-color: var(--panther-gold); box-shadow: 0 2px 8px rgba(243, 183, 27, .4);
}

/* Utility */
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.full-width { width: 100%; }
.hidden { display: none !important; }
