/* ─── NHFOA Apprentice Program CRM ────────────────────────── *
 *  Theme: Navy / Orange (#ffad46) matching nhfoa.net         *
 * ───────────────────────────────────────────────────────────*/

:root {
    --navy: #1a2744;
    --navy-light: #2a3f66;
    --navy-dark: #0f1a2e;
    --orange: #ffad46;
    --orange-light: #ffc470;
    --orange-dark: #e8942a;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f0f2f5;
    --gray-200: #e2e5ea;
    --gray-300: #c4c9d2;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --red: #dc2626;
    --red-light: #fee2e2;
    --green: #16a34a;
    --green-light: #dcfce7;
    --teal: #0d9488;
    --teal-light: #ccfbf1;
    --purple: #7c3aed;
    --purple-light: #ede9fe;
    --blue: #2563eb;
    --blue-light: #dbeafe;
    --gold: #d97706;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.06);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font);
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.5;
    min-height: 100vh;
}
a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--orange); text-decoration: underline; }

/* ─── Navigation ──────────────────────────────────────────── */
.nav-header {
    background: var(--navy);
    color: var(--white);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 56px;
    gap: 8px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    margin-right: 24px;
    flex-shrink: 0;
}
.nav-brand:hover { text-decoration: none; color: var(--orange); }
.nav-logo {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--orange);
}
.nav-divider { color: var(--gray-500); font-weight: 300; }
.nav-subtitle { font-size: 0.9rem; font-weight: 500; color: var(--gray-300); }
.nav-links {
    display: flex;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
}
.nav-link {
    color: var(--gray-300);
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.15s;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); text-decoration: none; }
.nav-link.active { color: var(--white); background: var(--orange); color: var(--navy-dark); }
.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}
.nav-user-name { font-size: 0.8rem; color: var(--gray-400); }
.nav-logout { font-size: 0.8rem; color: var(--gray-400); }
.nav-logout:hover { color: var(--red); background: none; }

/* ─── Main Content ────────────────────────────────────────── */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

/* ─── Page Header ─────────────────────────────────────────── */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}
.page-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}
.page-header .page-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
    text-decoration: none;
    line-height: 1.4;
}
.btn:hover { text-decoration: none; }
.btn-primary {
    background: var(--orange);
    color: var(--navy-dark);
}
.btn-primary:hover { background: var(--orange-dark); color: var(--navy-dark); }
.btn-outline {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange-dark); background: var(--gray-50); }
.btn-sm { padding: 4px 10px; font-size: 0.8rem; }
.btn-block { width: 100%; justify-content: center; }

/* ─── Cards ───────────────────────────────────────────────── */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    gap: 12px;
    flex-wrap: wrap;
}
.card-header h2 { font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.card-body { padding: 20px; }
.card-body.p-0 { padding: 0; }
.card-form { max-width: 700px; }

/* ─── Stats Grid ──────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.stats-grid.stats-sm { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 20px;
    text-align: center;
    border-top: 3px solid transparent;
}
.stat-number { font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.stat-label { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-blue { border-top-color: var(--blue); }
.stat-blue .stat-number { color: var(--blue); }
.stat-gold { border-top-color: var(--orange); }
.stat-gold .stat-number { color: var(--orange-dark); }
.stat-teal { border-top-color: var(--teal); }
.stat-teal .stat-number { color: var(--teal); }
.stat-green { border-top-color: var(--green); }
.stat-green .stat-number { color: var(--green); }
.stat-purple { border-top-color: var(--purple); }
.stat-purple .stat-number { color: var(--purple); }

/* ─── Dashboard Grid ──────────────────────────────────────── */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 900px) { .dashboard-grid { grid-template-columns: 1fr; } }

/* ─── Detail Grid ─────────────────────────────────────────── */
.detail-grid { max-width: 900px; }
.detail-main { display: flex; flex-direction: column; gap: 20px; }

/* ─── Tables ──────────────────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; }
.table th {
    text-align: left;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.table td {
    padding: 10px 16px;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--gray-100);
}
.table tr:hover td { background: var(--gray-50); }
.table .text-nowrap { white-space: nowrap; }
.table-members td { vertical-align: middle; }
.table-members .td-center { text-align: center; }
.table-members .row-inactive td { opacity: 0.5; }
.table-members .row-inactive td:first-child { opacity: 0.7; }

/* Sort links */
.sort-link { color: var(--gray-700); text-decoration: none; white-space: nowrap; }
.sort-link:hover { color: var(--orange-dark); text-decoration: none; }
.sort-arrow { color: var(--orange); font-size: 0.7rem; }

/* Status dropdown */
.status-select {
    padding: 2px 4px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: var(--font);
    background: transparent;
    cursor: pointer;
    transition: all 0.15s;
    color: var(--gray-700);
    font-weight: 500;
}
.status-select:hover { border-color: var(--gray-300); background: var(--white); }
.status-select:focus { outline: none; border-color: var(--orange); }

/* Dues checkbox */
.dues-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.dues-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkmark.checked {
    background: var(--green);
    border-color: var(--green);
}
.checkmark.checked::after {
    content: "✓";
    color: white;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}
.dues-checkbox:hover .checkmark { border-color: var(--orange); }

/* Icon button (active toggle) */
.btn-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    color: var(--green);
}
.btn-icon:hover { border-color: var(--gray-300); background: var(--gray-50); }
.btn-icon-off { color: var(--gray-400); }

/* ─── Status Badges ───────────────────────────────────────── */
.status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.status-apprentice { background: var(--blue-light); color: var(--blue); }
.status-provisional { background: var(--teal-light); color: var(--teal); }
.status-full { background: var(--green-light); color: var(--green); }
.status-transfer { background: var(--purple-light); color: var(--purple); }
.status-present { background: var(--green-light); color: var(--green); }
.status-absent { background: var(--red-light); color: var(--red); }
.status-excused { background: var(--gray-100); color: var(--gray-600); }
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
}
.badge-active { background: var(--green-light); color: var(--green); }
.badge-outline { border: 1px solid var(--gray-300); color: var(--gray-600); }
.badge-master { background: var(--blue-light); color: var(--blue); }
.badge-apprentice { background: var(--orange-light); color: var(--orange-dark); }
.badge-meetings { background: var(--purple-light); color: var(--purple); font-size: 0.8rem; min-width: 24px; text-align: center; }

/* ─── Member List ─────────────────────────────────────────── */
.member-link { display: flex; align-items: center; gap: 8px; color: var(--gray-800); font-weight: 500; }
.member-link:hover { color: var(--orange-dark); }
.member-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--orange);
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}
.member-badges { display: flex; gap: 8px; margin-top: 4px; }

/* ─── Member List Compact (Dashboard) ─────────────────────── */
.member-list-compact { display: flex; flex-direction: column; }
.member-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    text-decoration: none;
}
.member-row:hover { text-decoration: none; background: var(--gray-50); margin: 0 -20px; padding: 10px 20px; }
.member-row:last-child { border-bottom: none; }
.member-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.member-info { flex: 1; min-width: 0; }
.member-name { font-weight: 600; color: var(--gray-800); font-size: 0.9rem; }
.member-meta { display: flex; gap: 8px; align-items: center; margin-top: 2px; }

/* ─── Events ──────────────────────────────────────────────── */
.event-list { display: flex; flex-direction: column; gap: 0; }
.event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}
.event-item:last-child { border-bottom: none; }
.event-date-badge {
    text-align: center;
    min-width: 48px;
    flex-shrink: 0;
}
.event-month {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--orange-dark);
}
.event-day {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}
.event-info { flex: 1; min-width: 0; }
.event-title { font-weight: 600; font-size: 0.9rem; color: var(--gray-800); }
.event-location { font-size: 0.8rem; color: var(--gray-500); }
.event-time { font-size: 0.75rem; color: var(--gray-400); }
.event-source {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}
.event-source.master { background: var(--blue-light); color: var(--blue); }
.event-source.apprentice { background: var(--orange-light); color: var(--orange-dark); }

/* ─── Filters ─────────────────────────────────────────────── */
.filters-bar {
    margin-bottom: 20px;
}
.filters-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.search-box { flex: 1; min-width: 200px; }
.search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-family: var(--font);
}
.search-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,173,70,0.15); }
.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.875rem;
    background: var(--white);
    font-family: var(--font);
}
.filter-select:focus { outline: none; border-color: var(--orange); }

/* ─── Info Grid ───────────────────────────────────────────── */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.info-item { }
.info-label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.info-value { font-size: 0.95rem; color: var(--gray-800); }

/* ─── Forms ───────────────────────────────────────────────── */
.standard-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--gray-700); }
.form-input {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-family: var(--font);
    transition: border-color 0.15s;
}
.form-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,173,70,0.15); }
.form-input[type="file"] { padding: 6px; }
textarea.form-input { resize: vertical; min-height: 80px; }
.form-actions { padding-top: 8px; }
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; }

/* ─── Inline Forms ────────────────────────────────────────── */
.inline-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inline-details { position: relative; }
.details-panel {
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow-md);
    z-index: 50;
    min-width: 300px;
    margin-top: 4px;
}
.inline-details summary { cursor: pointer; list-style: none; }
.inline-details summary::-webkit-details-marker { display: none; }
details.inline-details[open] .details-panel { display: flex; }
details.inline-details:not([open]) .details-panel { display: none; }

/* ─── Notes ───────────────────────────────────────────────── */
.notes-list { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.note-item {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 12px 16px;
    border-left: 3px solid var(--orange);
}
.note-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.note-author { font-weight: 600; font-size: 0.85rem; color: var(--gray-700); }
.note-date { font-size: 0.75rem; }
.note-content { font-size: 0.875rem; color: var(--gray-700); white-space: pre-wrap; }
.notes-form textarea { width: 100%; }

/* ─── Login Page (Modern) ─────────────────────────────────── */
.login-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1428 0%, #1a2744 40%, #2a3f66 100%);
    padding: 24px;
    overflow: hidden;
}
.login-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(255,173,70,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255,173,70,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}
.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
}
.login-card-modern {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 48px 40px 40px;
    box-shadow:
        0 24px 80px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform 0.2s;
}

/* Brand */
.login-brand { text-align: center; margin-bottom: 36px; }
.login-shield {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.login-shield-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,173,70,0.15), rgba(255,173,70,0.05));
    border: 1px solid rgba(255,173,70,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 6px;
    margin: 0 0 4px;
}
.login-sub {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-weight: 400;
    margin: 0;
}

/* Alert */
.login-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(220,38,38,0.1);
    border: 1px solid rgba(220,38,38,0.2);
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

/* Form Fields */
.login-form-modern { display: flex; flex-direction: column; gap: 20px; }
.login-field {
    position: relative;
}
.login-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 0.9rem;
    font-family: var(--font);
    transition: all 0.2s;
    outline: none;
}
.login-input:focus {
    border-color: var(--orange);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(255,173,70,0.15);
}
.login-input::placeholder { color: rgba(255,255,255,0.25); }
.login-input:-webkit-autofill,
.login-input:-webkit-autofill:hover,
.login-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--white);
    -webkit-box-shadow: 0 0 0px 1000px #1a2744 inset;
    transition: background-color 5000s ease-in-out 0s;
}
.login-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.3);
    pointer-events: none;
    transition: color 0.2s;
}
.login-input:focus ~ .login-input-icon { color: var(--orange); }
.login-label {
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--navy);
    padding: 0 6px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.login-input:focus ~ .login-label { opacity: 1; }

/* Button */
.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border: none;
    border-radius: 12px;
    color: var(--navy-dark);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 4px;
}
.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255,173,70,0.3);
}
.login-btn:active {
    transform: translateY(0);
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 28px;
    color: rgba(255,255,255,0.25);
    font-size: 0.75rem;
}
.login-footer p { margin: 2px 0; }
.login-footer-sub {
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* ─── Old login styles replaced ─────────────────────────── */

/* ─── Alerts ──────────────────────────────────────────────── */
.alert {
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 16px;
}
.alert-error { background: var(--red-light); color: var(--red); border: 1px solid var(--red); }

/* ─── Utilities ───────────────────────────────────────────── */
.text-muted { color: var(--gray-500); font-size: 0.875rem; }
.text-muted-sm { color: var(--gray-400); font-size: 0.8rem; }
.text-center { text-align: center; }
code { background: var(--gray-100); padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; }
.error-list { margin-top: 8px; padding-left: 20px; }
.error-list li { font-size: 0.85rem; color: var(--red); }

/* ─── Test Cards ──────────────────────────────────────────── */
.test-card { margin-bottom: 28px; }
.test-card .card-header h2 { font-size: 1.15rem; }

/* ─── Score Entry ─────────────────────────────────────────── */
.row-filled { background: var(--green-light) !important; }
.member-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-filled { background: var(--green); }
.dot-empty { background: var(--gray-300); }
.table-wrap { overflow-x: auto; }
.score-input { width: 90px; }
#score-form .table th { white-space: nowrap; }
#score-form .table td { vertical-align: middle; }

/* per-member attendance page */
.status-none { background: var(--gray-100); color: var(--gray-500); }
