/* =========================================================
   Ponderosa FBLA theme (2026-10)
   Loaded after styles.css on every page. Flat, white, and
   squared-off, using the official FBLA logo colors.
   ========================================================= */

:root {
    --navy: #323b7a;
    --navy-deep: #252c5e;
    --blue: #4259a5;
    --blue-soft: #eef1f9;
    --gold: #e3b036;
    --gold-soft: #fdf6e4;
    --gold-ink: #7a5a00;
    --ink: #1b2033;
    --muted: #5d6577;
    --line: #e3e6ee;
    --line-strong: #cfd4df;
    --surface: #ffffff;
    --surface-alt: #f7f8fb;
    --success: #1d7a4c;
    --success-soft: #e9f6ef;
    --danger: #b42318;
    --danger-soft: #fdeceb;

    /* Re-point the original tokens so every existing page picks up the new look. */
    --fbla-blue: var(--navy);
    --fbla-blue-deep: var(--navy-deep);
    --fbla-blue-soft: var(--blue-soft);
    --fbla-gold: var(--gold);
    --fbla-gold-soft: var(--gold-soft);
    --phs-cardinal: var(--blue);
    --phs-cardinal-soft: var(--blue-soft);
    --shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    --radius-lg: 10px;
    --radius-md: 8px;
    --radius-sm: 6px;
    --max-width: 1180px;
}

/* ---------- Base ---------- */
html,
body {
    background: #fff;
}

body {
    color: var(--ink);
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    color: var(--navy-deep);
    letter-spacing: -0.01em;
}

h1 { font-size: 1.35rem; font-weight: 700; }
h2 { font-size: 1.45rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 650; }

.eyebrow {
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

code {
    border-radius: 4px;
}

.page-shell {
    width: min(var(--max-width), calc(100% - 32px));
}

/* ---------- Header ---------- */
.site-header {
    padding: 18px 0;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
}

.brand-block {
    gap: 18px;
}

.brand-mark {
    display: none;
}

.brand-logo {
    display: block;
    height: 52px;
    width: auto;
    padding-right: 18px;
    border-right: 1px solid var(--line);
}

.site-header h1 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

.site-header .eyebrow {
    margin-bottom: 2px;
}

.site-header .subtitle {
    font-size: 0.88rem;
}

.header-actions {
    gap: 10px;
}

.header-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.header-user img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

/* ---------- Surfaces ---------- */
.hero-card,
.content-card,
.welcome-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: none;
}

.welcome-card,
.hero-logo-card,
.fee-reference-grid article,
.role-reference-grid article,
.payment-callout,
.application-list-item.selected {
    background: #fff;
    border-radius: var(--radius-md);
}

.payment-callout {
    border: 1px solid var(--gold);
    border-left: 4px solid var(--gold);
    background: var(--gold-soft);
}

.hero-logo-panel {
    border-radius: var(--radius-md);
    box-shadow: none;
}

.application-list-item.selected {
    border-color: var(--navy);
    box-shadow: inset 3px 0 0 var(--navy);
}

.fbla-discord-banner {
    background: var(--navy);
    border-radius: var(--radius-md);
}

.calendar-hero {
    background: var(--navy);
    border-radius: var(--radius-md);
}

.calendar-month-heading > span {
    background: var(--navy);
    border-radius: var(--radius-sm);
}

.calendar-month-nav {
    box-shadow: none;
}

.calendar-month-nav a,
.admin-menu-badge,
.admin-menu-number,
.compact-hours-input,
.registration-deadline-controls input {
    border-radius: var(--radius-sm);
}

/* ---------- Buttons ---------- */
.button {
    min-height: 40px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    font-weight: 650;
    font-size: 0.92rem;
    box-shadow: none;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.button:hover,
.button:focus-visible {
    transform: none;
    box-shadow: none;
}

.button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.button-primary {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.button-primary:hover {
    background: var(--navy-deep);
    border-color: var(--navy-deep);
}

.button-secondary,
.button-ghost {
    color: var(--navy);
    background: #fff;
    border-color: var(--line-strong);
}

.button-secondary:hover,
.button-ghost:hover {
    background: var(--surface-alt);
    border-color: var(--navy);
}

.button-gold {
    color: var(--navy-deep);
    background: var(--gold);
    border-color: var(--gold);
}

.button-gold:hover {
    background: #d6a22a;
}

.button-small {
    min-height: 32px;
    padding: 0 12px;
    font-size: 0.84rem;
}

.fbla-discord-button {
    border-radius: var(--radius-sm);
}

/* ---------- Status pills (used across admin + forms) ---------- */
.status-pill {
    min-width: 0;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ---------- Forms ---------- */
input,
textarea,
select {
    border-color: var(--line-strong);
    border-radius: var(--radius-sm);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(66, 89, 165, 0.15);
}

/* ---------- Admin workspace: tab bar + flat overview cards ---------- */
.admin-welcome-card,
.admin-control-card {
    padding: 20px 24px;
}

.admin-control-card .small-copy {
    margin-bottom: 0;
}

.admin-sidebar {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.admin-sidebar-heading {
    display: none;
}

.admin-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid var(--line);
}

.admin-menu-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    min-height: 0;
    margin-bottom: -1px;
    padding: 12px 12px;
    color: var(--muted);
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: none;
    font-weight: 600;
}

.admin-menu-item:hover,
.admin-menu-item:focus-visible {
    color: var(--navy);
    background: var(--surface-alt);
    border-color: transparent;
    border-bottom-color: var(--line-strong);
    transform: none;
}

.admin-menu-item.active {
    color: var(--navy);
    background: none;
    border-color: transparent;
    border-bottom-color: var(--navy);
    box-shadow: none;
}

.admin-menu-item strong {
    font-size: 0.88rem;
    font-weight: 650;
}

.admin-menu-item small,
.admin-menu-number {
    display: none;
}

.admin-menu-badge {
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 4px;
    background: var(--surface-alt);
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-menu-item.active .admin-menu-badge {
    color: #fff;
    border-color: var(--navy);
    background: var(--navy);
}

.admin-overview-card {
    min-height: 0;
    padding: 20px 22px;
    gap: 6px;
    box-shadow: none;
    border-radius: var(--radius-md);
}

.admin-overview-card::after {
    display: none;
}

.admin-overview-card > strong {
    font-size: 1.1rem;
}

.admin-card-link {
    margin-top: 8px;
    color: var(--blue);
    font-weight: 650;
    font-size: 0.9rem;
}

.admin-overview-card:hover,
.admin-overview-card:focus-visible,
.application-list-item:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.85rem;
}

/* =========================================================
   Student dashboard
   ========================================================= */

.signin-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    align-items: center;
    padding: 40px 0 24px;
}

.signin-panel h2 {
    margin-bottom: 12px;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.15;
}

.signin-panel .lead {
    max-width: 520px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 1.05rem;
}

.signin-features {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.signin-features li {
    display: grid;
    gap: 2px;
    padding: 16px 20px;
    border-top: 1px solid var(--line);
}

.signin-features li:first-child {
    border-top: 0;
}

.signin-features strong {
    color: var(--navy-deep);
}

.signin-features span {
    color: var(--muted);
    font-size: 0.9rem;
}

.dash {
    display: grid;
    gap: 20px;
}

.meeting-pass-notice {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid #f0dca6;
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    background: var(--gold-soft);
    color: var(--ink);
}

.meeting-pass-notice p {
    margin: 0;
}

.meeting-pass-notice .eyebrow {
    flex: none;
    margin: 0;
    color: var(--gold-ink);
}

.dash-welcome {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.dash-welcome h2 {
    margin: 0 0 2px;
    font-size: 1.6rem;
}

.dash-welcome p {
    margin: 0;
    color: var(--muted);
}

.dash-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Summary stats */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.stat {
    padding: 16px 20px;
    border-left: 1px solid var(--line);
    background: #fff;
}

.stat:first-child {
    border-left: 0;
}

.stat-label {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stat-value {
    margin: 0;
    color: var(--navy-deep);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.stat-value.is-due { color: var(--danger); }
.stat-value.is-good { color: var(--success); }

.stat-sub {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.stat-meter {
    height: 4px;
    margin-top: 10px;
    border-radius: 2px;
    background: var(--line);
    overflow: hidden;
}

.stat-meter span {
    display: block;
    height: 100%;
    background: var(--blue);
}

/* Cards */
.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
}

.card-head h3 {
    margin: 0;
    font-size: 1rem;
}

.card-body {
    padding: 16px 20px;
}

.card-foot {
    padding: 12px 20px;
    border-top: 1px solid var(--line);
    background: var(--surface-alt);
    color: var(--muted);
    font-size: 0.85rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.dash-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
    gap: 20px;
    align-items: start;
}

.dash-col {
    display: grid;
    gap: 20px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 650;
    line-height: 1.5;
    white-space: nowrap;
}

.badge-success { color: var(--success); background: var(--success-soft); border-color: #cbe8d8; }
.badge-danger { color: var(--danger); background: var(--danger-soft); border-color: #f6cfcb; }
.badge-warning { color: var(--gold-ink); background: var(--gold-soft); border-color: #f0dca6; }
.badge-info { color: var(--blue); background: var(--blue-soft); border-color: #d6dcef; }
.badge-neutral { color: var(--muted); background: var(--surface-alt); border-color: var(--line); }

/* To-do list */
.todo-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.todo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    border-top: 1px solid var(--line);
}

.todo-item:first-child {
    border-top: 0;
}

.todo-item strong {
    display: block;
    color: var(--ink);
}

.todo-item span {
    color: var(--muted);
    font-size: 0.88rem;
}

.todo-item.is-urgent {
    box-shadow: inset 3px 0 0 var(--danger);
}

.todo-item.is-live {
    box-shadow: inset 3px 0 0 var(--success);
}

.todo-empty {
    padding: 14px 20px;
    color: var(--success);
    font-weight: 600;
}

/* Key/value rows */
.kv {
    margin: 0;
}

.kv > div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 20px;
    border-top: 1px solid var(--line);
}

.kv > div:first-child {
    border-top: 0;
}

.kv dt {
    color: var(--muted);
    font-size: 0.88rem;
}

.kv dd {
    margin: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* Tables */
.data {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.data th {
    padding: 9px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-alt);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
}

.data td {
    padding: 11px 20px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.data tbody tr:last-child td {
    border-bottom: 0;
}

.data .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.data .sub {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 400;
}

.data-empty {
    padding: 16px 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

.table-scroll {
    overflow-x: auto;
}

/* Calendar */
.cal-month {
    margin: 0;
    padding: 10px 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface-alt);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cal-month:first-child {
    border-top: 0;
}

.cal-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cal-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 20px;
    border-top: 1px solid var(--line);
}

.cal-item:first-child {
    border-top: 0;
}

.cal-date {
    align-self: start;
    display: grid;
    justify-items: center;
    align-content: start;
    padding: 6px 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    line-height: 1.1;
}

.cal-date .dow {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cal-date .day {
    color: var(--navy-deep);
    font-size: 1.3rem;
    font-weight: 700;
}

.cal-item.is-chapter .cal-date {
    border-color: var(--navy);
    background: var(--navy);
}

.cal-item.is-chapter .cal-date .dow,
.cal-item.is-chapter .cal-date .day {
    color: #fff;
}

.cal-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.cal-title h4 {
    margin: 0;
    font-size: 0.98rem;
}

.cal-meta {
    margin: 2px 0 0;
    color: var(--ink);
    font-size: 0.88rem;
}

.cal-notes {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.cal-checkin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cal-checkin small {
    color: var(--muted);
    font-size: 0.8rem;
}

.cal-item.is-past {
    opacity: 0.7;
}

.cal-past {
    border-top: 1px solid var(--line);
}

.cal-past summary {
    padding: 12px 20px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.cal-past[open] summary {
    border-bottom: 1px solid var(--line);
}

.participation-grid > section + section {
    border-top: 1px solid var(--line);
}

.participation-grid h4,
.subhead {
    margin: 0;
    padding: 10px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-alt);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.leader-log {
    border-top: 1px solid var(--line);
}

.hidden {
    display: none !important;
}

/* =========================================================
   Meeting agendas & minutes
   ========================================================= */

.minutes-admin {
    display: grid;
    gap: 20px;
    align-content: start;
}

.minutes-role {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
}

.minutes-role + .minutes-role {
    border-top: 1px solid var(--line);
}

.minutes-role-copy {
    display: grid;
    gap: 4px;
    justify-items: start;
}

.minutes-role-copy > span:not(.badge) {
    color: var(--muted);
    font-size: 0.88rem;
}

.minutes-role-tools {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.minutes-note-taker .small-copy {
    margin-bottom: 12px;
}

.minutes-inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.minutes-inline-form select {
    flex: 1 1 320px;
    min-height: 40px;
    padding: 0 12px;
    background: #fff;
}

.minutes-admin-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
    gap: 20px;
    align-items: start;
}

.minutes-meeting-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.minutes-meeting-list li + li {
    border-top: 1px solid var(--line);
}

.minutes-meeting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    border: 0;
    background: #fff;
    color: var(--ink);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.minutes-meeting:hover {
    background: var(--surface-alt);
}

.minutes-meeting.is-selected {
    background: var(--blue-soft);
    box-shadow: inset 3px 0 0 var(--navy);
}

.minutes-meeting strong,
.minutes-meeting small {
    display: block;
}

.minutes-meeting small {
    color: var(--muted);
    font-size: 0.84rem;
}

.minutes-editor-meta {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.minutes-section-title {
    margin: 4px 0 4px;
    color: var(--navy);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.minutes-section-title + .small-copy {
    margin-bottom: 12px;
}

#minutesEditorBody .button-row {
    margin-bottom: 24px;
}

.agenda-editor {
    display: grid;
    gap: 10px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    counter-reset: agenda;
}

.agenda-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    counter-increment: agenda;
}

.agenda-row::before {
    content: counter(agenda);
    display: grid;
    place-items: center;
    width: 28px;
    height: 40px;
    color: var(--navy);
    font-weight: 700;
}

.agenda-fields {
    display: grid;
    gap: 6px;
}

.agenda-fields input,
.agenda-fields textarea {
    padding: 9px 12px;
}

.agenda-fields textarea {
    min-height: 0;
    font-size: 0.9rem;
}

.agenda-tools {
    display: flex;
    gap: 4px;
}

.agenda-tools .button {
    min-width: 32px;
    padding: 0 8px;
}

.minutes-doc {
    padding: 4px 0;
}

.minutes-items {
    margin: 0;
    padding-left: 22px;
}

.minutes-items li {
    padding: 8px 0;
}

.minutes-items li + li {
    border-top: 1px solid var(--line);
}

.minutes-note {
    margin: 4px 0 0;
    white-space: pre-wrap;
}

.minutes-note.is-empty {
    color: var(--muted);
    font-style: italic;
}

.minutes-time {
    margin: 6px 0;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.minutes-subhead {
    display: block;
    margin-top: 12px;
}

/* Student dashboard entries */
.minutes-entry {
    border-top: 1px solid var(--line);
}

.cal-month + .minutes-entry {
    border-top: 0;
}

.minutes-entry summary {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    list-style: none;
}

.minutes-entry summary::-webkit-details-marker {
    display: none;
}

.minutes-entry summary:hover {
    background: var(--surface-alt);
}

.minutes-entry-copy strong,
.minutes-entry-copy small {
    display: block;
}

.minutes-entry-copy small {
    color: var(--muted);
    font-size: 0.85rem;
}

.minutes-entry-body {
    padding: 0 20px 16px 20px;
}

.minutes-entry-body > .button {
    margin: 4px 0 8px;
}

/* Note-taking page */
.save-indicator {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.save-indicator.is-saved { color: var(--success); }
.save-indicator.is-error { color: var(--danger); }

.notes-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.notes-title h2 {
    margin: 0 0 2px;
}

.notes-title p {
    margin: 0;
}

.notes-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.notes-steps ol {
    margin: 0;
    padding: 6px 0;
    list-style: none;
}

.notes-step {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 16px;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 0.92rem;
    text-align: left;
    cursor: pointer;
}

.notes-step:hover {
    background: var(--surface-alt);
}

.notes-step.is-current {
    background: var(--blue-soft);
    box-shadow: inset 3px 0 0 var(--navy);
    font-weight: 650;
}

.notes-step-num {
    display: grid;
    flex: none;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.notes-step.is-done .notes-step-num {
    border-color: var(--success);
    background: var(--success-soft);
    color: var(--success);
}

.notes-step-count {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.notes-step-title {
    margin: 0 0 6px;
    font-size: 1.3rem;
}

.notes-guidance {
    margin: 0 0 10px;
    padding: 10px 14px;
    border-left: 3px solid var(--gold);
    background: var(--gold-soft);
    font-size: 0.92rem;
}

.notes-textarea {
    min-height: 260px;
    font-size: 1rem;
    line-height: 1.55;
}

.notes-time-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.notes-time-row input {
    width: 180px;
}

.notes-nav {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid var(--line);
    background: var(--surface-alt);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.notes-warning {
    padding: 10px 14px;
    border-left: 3px solid var(--danger);
    background: var(--danger-soft);
    font-size: 0.92rem;
}

/* =========================================================
   Admin: Members & Fees roster
   ========================================================= */

.members-admin {
    display: grid;
    gap: 20px;
}

.members-head-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.members-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-alt);
}

.members-toolbar input[type="search"] {
    flex: 1 1 260px;
    width: auto;
    padding: 8px 12px;
}

.members-toolbar select {
    flex: 0 1 220px;
    min-height: 38px;
    padding: 0 10px;
    background: #fff;
}

.members-table {
    min-width: 860px;
}

.members-table td strong {
    display: block;
}

.members-table .fee-col {
    width: 110px;
    text-align: center;
}

.members-table th.fee-col span {
    display: block;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.members-table tbody tr:hover {
    background: var(--surface-alt);
}

.muted-cell {
    color: var(--muted);
}

.fee-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
    min-width: 72px;
    padding: 4px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: #fff;
    color: var(--muted);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 650;
    cursor: pointer;
}

.fee-toggle:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.fee-toggle.is-paid {
    border-color: #cbe8d8;
    background: var(--success-soft);
    color: var(--success);
}

.fee-toggle.is-paid::before {
    content: '✓';
}

.fee-toggle:disabled {
    opacity: 0.5;
    cursor: progress;
}

.actions-col {
    width: 80px;
    text-align: right;
}

.link-danger {
    padding: 4px 6px;
    border: 0;
    background: none;
    color: var(--danger);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.link-danger:hover {
    text-decoration: underline;
}

.members-email-list {
    border-top: 1px solid var(--line);
}

.members-email-list summary {
    padding: 12px 20px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.members-email-list textarea {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px;
    min-height: 0;
    font-size: 0.88rem;
}

.members-email-list p {
    margin: 8px 20px 14px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* =========================================================
   Full FBLA calendar page: chapter events highlighted
   ========================================================= */

.full-calendar-list li {
    background: #fff;
}

.full-calendar-list li.chapter-event {
    background: var(--blue-soft);
    box-shadow: inset 3px 0 0 var(--navy);
}

.full-calendar-list li.chapter-event > div {
    color: var(--navy-deep);
    font-weight: 650;
}

.full-calendar-list li.chapter-event .badge {
    margin-left: 6px;
    vertical-align: 1px;
}

.full-calendar-list li.chapter-event small {
    font-weight: 400;
}

.calendar-legend {
    margin-top: 10px;
    font-size: 0.88rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .dash-grid,
    .minutes-admin-grid,
    .minutes-role,
    .notes-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Fees and membership before the long calendar on small screens */
    .dash-grid > .dash-col {
        order: -1;
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat:nth-child(3) {
        border-left: 0;
    }

    .stat:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .signin-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .header-user {
        display: none;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-logo {
        height: 40px;
        padding-right: 12px;
    }

    .brand-block {
        gap: 12px;
    }

    .site-header h1 {
        font-size: 1.05rem;
    }

    .meeting-pass-notice {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .kv > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .minutes-entry-body {
        padding-left: 16px;
    }

    .todo-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .card-head,
    .card-body,
    .todo-item,
    .cal-item,
    .cal-month,
    .data th,
    .data td,
    .kv > div {
        padding-left: 16px;
        padding-right: 16px;
    }
}
