/* ── Group Leader Dashboard ─────────────────────────────────────────
   Design: Clean utilitarian LMS dashboard. Compact hierarchy,
   warm neutrals, intentional spacing. Feels like a daily-use tool.
   ──────────────────────────────────────────────────────────────── */

/* Suppress the host theme's page title when the dashboard owns the heading.
   Targets the title elements themselves — not their surrounding site header —
   across Astra (.entry-header/.entry-title), Twenty-* core themes, block
   themes (.wp-block-post-title), and Beaver Builder page title rows
   (.fl-page-header-title). Mirrors the .scorm-my-profile-hides-title pattern. */
body.scorm-leader-dashboard-hides-title .entry-header,
body.scorm-leader-dashboard-hides-title .entry-title,
body.scorm-leader-dashboard-hides-title .page-title,
body.scorm-leader-dashboard-hides-title .wp-block-post-title,
body.scorm-leader-dashboard-hides-title .fl-page-header-title {
    display: none !important;
}

.scorm-leader-dashboard {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 32px 72px;
    color: var(--scorm-text-color, #3f3f46);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* ── Hero / greeting ── */
.gld-hero {
    margin: 0 0 56px;
}
.gld-greeting {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--scorm-muted-text-color, #64748b);
    letter-spacing: 0.01em;
}
.gld-title {
    margin: 0;
    font-family: Merriweather, Georgia, serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--scorm-heading-color, #1e293b);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* ── Summary stats row ── */
.gld-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 36px;
}
.gld-summary-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--scorm-surface-color, #fff);
    border: 1px solid var(--scorm-border-color, #e4e4e7);
    border-radius: 12px;
}
.gld-summary-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gld-si-blue   { background: #dbeafe; color: #2563eb; }
.gld-si-indigo { background: #e0e7ff; color: #4f46e5; }
.gld-si-green  { background: #d1fae5; color: #059669; }
.gld-si-amber  { background: #fef3c7; color: #d97706; }

.gld-summary-value {
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--scorm-heading-color, #18181b);
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.gld-summary-label {
    display: block;
    font-size: 0.78em;
    color: var(--scorm-muted-text-color, #71717a);
    margin-top: 1px;
    font-weight: 500;
}

/* ── Section titles ── */
.gld-section-title {
    font-size: 0.82em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--scorm-muted-text-color, #a1a1aa);
    margin: 0 0 14px;
    padding: 0;
}

/* ── Card grid ── */
.gld-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.gld-card {
    background: var(--scorm-surface-color, #fff);
    border: 1px solid var(--scorm-border-color, #e4e4e7);
    border-radius: 12px;
    padding: 0;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    overflow: hidden;
}
.gld-card:hover {
    border-color: var(--scorm-primary-color, #3b82f6);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 0 0 1px var(--scorm-primary-color, #3b82f6);
    transform: translateY(-1px);
}

/* Card header */
.gld-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 20px 0;
}
.gld-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--scorm-primary-color, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gld-card-title-block {
    flex: 1;
    min-width: 0;
}
.gld-card-header h3 {
    margin: 0;
    font-size: 1.05em;
    font-weight: 600;
    color: var(--scorm-heading-color, #18181b);
    line-height: 1.3;
}
.gld-card-meta {
    font-size: 0.82em;
    color: var(--scorm-muted-text-color, #a1a1aa);
}
.gld-card-arrow {
    color: var(--scorm-muted-text-color, #d4d4d8);
    transition: color 0.15s, transform 0.15s;
    flex-shrink: 0;
}
.gld-card:hover .gld-card-arrow {
    color: var(--scorm-primary-color, #3b82f6);
    transform: translateX(2px);
}

/* Card body */
.gld-card-body {
    padding: 16px 20px 20px;
    flex: 1;
}
.gld-card-stats {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}
.gld-mini-stat {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    background: var(--scorm-surface-muted-color, #fafafa);
    border-radius: 8px;
    border: 1px solid var(--scorm-border-color, #f4f4f5);
}
.gld-mini-stat-accent {
    background: #eff6ff;
    border-color: #dbeafe;
}
.gld-mini-value {
    display: block;
    font-size: 1.15em;
    font-weight: 700;
    color: var(--scorm-heading-color, #18181b);
    line-height: 1.2;
}
.gld-mini-label {
    display: block;
    font-size: 0.68em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--scorm-muted-text-color, #a1a1aa);
    margin-top: 2px;
    font-weight: 500;
}

/* Card footer — removed, replaced by arrow in header */
.gld-card-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--scorm-border-color, #f4f4f5);
    font-size: 0.85em;
    color: var(--scorm-primary-color, #3b82f6);
    font-weight: 500;
}

/* ── Progress bars ── */
.gld-bar {
    height: 5px;
    background: var(--scorm-border-color, #e4e4e7);
    border-radius: 3px;
    overflow: hidden;
}
.gld-bar-sm { height: 4px; width: 80px; display: inline-block; vertical-align: middle; }
.gld-bar-fill {
    height: 100%;
    background: var(--scorm-primary-color, #3b82f6);
    border-radius: 3px;
    transition: width 0.4s ease;
}
.gld-bar-green { background: #10b981; }
.gld-progress-cell { display: flex; align-items: center; gap: 8px; }
.gld-progress-pct { font-size: 0.85em; color: var(--scorm-muted-text-color, #71717a); font-weight: 500; min-width: 32px; }

/* ── Detail page ── */
.gld-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    color: var(--scorm-primary-color, #3b82f6);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: opacity 0.15s;
}
.gld-back:hover { opacity: 0.7; }
.gld-detail-header { margin-bottom: 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.gld-detail-header h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--scorm-heading-color, #18181b);
    letter-spacing: -0.02em;
}
.gld-subtitle {
    margin: 4px 0 0;
    color: var(--scorm-muted-text-color, #71717a);
}

/* ── Stats row ── */
.gld-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.gld-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--scorm-surface-color, #fff);
    border: 1px solid var(--scorm-border-color, #e4e4e7);
    border-radius: 10px;
}
.gld-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gld-stat-icon .dashicons { font-size: 18px; width: 18px; height: 18px; }
.gld-stat-blue { background: #dbeafe; color: #2563eb; }
.gld-stat-green { background: #d1fae5; color: #059669; }
.gld-stat-orange { background: #fef3c7; color: #d97706; }
.gld-stat-gray { background: #f4f4f5; color: #71717a; }
.gld-stat-value {
    display: block;
    font-size: 1.3em;
    font-weight: 700;
    color: var(--scorm-heading-color, #18181b);
    line-height: 1.1;
}
.gld-stat-label {
    display: block;
    font-size: 0.78em;
    color: var(--scorm-muted-text-color, #71717a);
}

/* ── Tabs ── */
.gld-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--scorm-border-color, #e4e4e7);
    margin-bottom: 0;
}
.gld-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--scorm-muted-text-color, #71717a);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}
.gld-tab .dashicons { font-size: 16px; width: 16px; height: 16px; }
.gld-tab:hover { color: var(--scorm-heading-color, #18181b); }
.gld-tab.gld-tab-active {
    color: var(--scorm-heading-color, #18181b);
    border-bottom-color: var(--scorm-heading-color, #18181b);
    font-weight: 600;
}
.gld-tab-content {
    display: none;
    padding-top: 20px;
}
.gld-tab-content.gld-tab-active { display: block; }

/* ── Add learner bar ── */
.gld-add-learner {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

/* ── Expandable participant rows ── */
.gld-participants-list {
    background: var(--scorm-surface-color, #fff);
    border: 1px solid var(--scorm-border-color, #e4e4e7);
    border-radius: 10px;
    overflow: hidden;
}
.gld-participants-header {
    display: grid;
    grid-template-columns: 1fr 100px 70px 70px 70px 110px;
    gap: 4px;
    padding: 10px 14px;
    background: var(--scorm-surface-muted-color, #fafafa);
    border-bottom: 1px solid var(--scorm-border-color, #e4e4e7);
    font-size: 0.72em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--scorm-muted-text-color, #71717a);
    font-weight: 600;
    white-space: nowrap;
}
.gld-ph-stat { text-align: center; }
.gld-ph-actions { text-align: right; }

.gld-participant-row {
    border-bottom: 1px solid var(--scorm-border-color, #f4f4f5);
}
.gld-participant-row:last-child { border-bottom: none; }

.gld-participant-summary {
    display: grid;
    grid-template-columns: 1fr 100px 70px 70px 70px 110px;
    gap: 4px;
    padding: 10px 14px;
    align-items: center;
    cursor: pointer;
    transition: background 0.1s;
}
.gld-participant-summary:hover {
    background: var(--scorm-surface-muted-color, #fafafa);
}

.gld-stat-num {
    font-size: 0.92em;
    font-weight: 600;
}
.gld-stat-green { color: #10b981; }
.gld-stat-orange { color: #f59e0b; }
.gld-stat-gray { color: #a1a1aa; }

.gld-chevron {
    color: #d4d4d8;
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    transition: transform 0.2s;
    margin-left: 4px;
    vertical-align: middle;
}
.gld-expanded .gld-chevron {
    transform: rotate(180deg);
}

/* Expanded course detail */
.gld-participant-detail {
    display: none;
    padding: 0 14px 12px;
}
.gld-expanded .gld-participant-detail {
    display: block;
}
.gld-course-detail-list {
    margin-left: 38px;
    border-left: 2px solid var(--scorm-border-color, #e4e4e7);
    padding-left: 14px;
}
.gld-course-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    font-size: 0.88em;
    color: var(--scorm-text-color, #3f3f46);
    border-radius: 4px;
}
.gld-course-detail-row:nth-child(even) {
    background: var(--scorm-surface-muted-color, #fafafa);
}
.gld-course-detail-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gld-course-detail-empty {
    padding: 8px 10px;
    font-size: 0.88em;
    color: var(--scorm-muted-text-color, #a1a1aa);
}
.gld-legend {
    display: flex;
    gap: 16px;
    padding: 10px 14px;
    border-top: 1px solid var(--scorm-border-color, #e4e4e7);
    font-size: 0.78em;
    color: var(--scorm-muted-text-color, #71717a);
}
.gld-legend .gld-dot {
    margin-right: 4px;
    vertical-align: middle;
}

@media (max-width: 640px) {
    .gld-participants-header { display: none; }
    .gld-participant-summary {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }
    .gld-ph-learner { grid-column: 1; }
    .gld-ph-actions { grid-column: 2; grid-row: 1; }
    .gld-ph-progress { grid-column: 1 / -1; grid-row: 2; }
    .gld-ph-stat { display: none; }
    .gld-course-detail-list { margin-left: 0; }
}

/* ── Legacy table (kept for other contexts) ── */
.gld-table-wrap { overflow-x: auto; }
.gld-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--scorm-surface-color, #fff);
    border: 1px solid var(--scorm-border-color, #e4e4e7);
    border-radius: 10px;
    overflow: hidden;
}
.gld-table th {
    text-align: left;
    padding: 10px 14px;
    font-size: 0.72em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--scorm-muted-text-color, #71717a);
    background: var(--scorm-surface-muted-color, #fafafa);
    border-bottom: 1px solid var(--scorm-border-color, #e4e4e7);
    font-weight: 600;
    white-space: nowrap;
}
.gld-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--scorm-border-color, #f4f4f5);
    font-size: 0.92em;
    vertical-align: middle;
}
.gld-table tbody tr:last-child td { border-bottom: none; }
.gld-table tbody tr:hover { background: var(--scorm-surface-muted-color, #fafafa); }
.gld-course-col { text-align: center; width: 60px; }

/* User cell */
.gld-user { display: flex; align-items: center; gap: 10px; }
.gld-user img { border-radius: 50%; width: 28px; height: 28px; flex-shrink: 0; }
.gld-user-name { display: block; font-weight: 500; color: var(--scorm-heading-color, #18181b); line-height: 1.3; }
.gld-user-email { display: block; font-size: 0.82em; color: var(--scorm-muted-text-color, #a1a1aa); }

/* Status dots */
.gld-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.gld-dot-gray { background: #d4d4d8; }
.gld-dot-orange { background: #f59e0b; }
.gld-dot-green { background: #10b981; }
.gld-dot-na { color: #d4d4d8; font-weight: bold; font-size: 14px; }
.gld-role-badge { color: #f59e0b; font-size: 10px; margin-left: 2px; vertical-align: super; }
.gld-role-tag { display: inline-block; font-size: 10px; font-weight: 600; padding: 1px 6px; margin-left: 6px; border-radius: 3px; background: #e0e7ff; color: #4338ca; vertical-align: middle; text-transform: uppercase; letter-spacing: 0.3px; }

/* Action buttons */
.gld-actions { white-space: nowrap; }
.gld-icon-btn {
    background: none;
    border: 1px solid var(--scorm-border-color, #e4e4e7);
    border-radius: 6px;
    padding: 4px;
    cursor: pointer;
    color: var(--scorm-muted-text-color, #a1a1aa);
    transition: all 0.15s;
    margin-left: 4px;
    line-height: 1;
}
.gld-icon-btn .dashicons { font-size: 16px; width: 16px; height: 16px; }
.gld-icon-btn:hover { color: var(--scorm-primary-color, #3b82f6); border-color: var(--scorm-primary-color, #3b82f6); background: #eff6ff; }
.gld-icon-btn-danger:hover { color: #ef4444; border-color: #fca5a5; background: #fef2f2; }

/* ── Courses list ── */
.gld-courses-list { display: flex; flex-direction: column; gap: 12px; }
.gld-course-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    background: var(--scorm-surface-color, #fff);
    border: 1px solid var(--scorm-border-color, #e4e4e7);
    border-radius: 10px;
}
.gld-course-info { flex: 1; min-width: 0; }
.gld-course-info h4 {
    margin: 0 0 8px;
    font-size: 1em;
    font-weight: 600;
    color: var(--scorm-heading-color, #18181b);
}
.gld-course-link { color: inherit; text-decoration: none; }
.gld-course-link:hover { color: var(--scorm-primary-color, #3b82f6); }
.gld-course-link .dashicons { font-size: 12px; width: 12px; height: 12px; vertical-align: middle; opacity: 0.4; }
.gld-subtle-link { color: var(--scorm-primary-color, #3b82f6); text-decoration: none; }
.gld-subtle-link:hover { text-decoration: underline; }
.gld-course-breakdown { display: flex; gap: 8px; flex-shrink: 0; }
.gld-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78em;
    font-weight: 500;
    white-space: nowrap;
}
.gld-badge-green { background: #d1fae5; color: #065f46; }
.gld-badge-orange { background: #fef3c7; color: #92400e; }
.gld-badge-gray { background: #f4f4f5; color: #52525b; }

/* ── Invite form grid ── */
.gld-invite-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}
.gld-invite-form-grid .gld-form-row:first-child {
    grid-column: 1 / -1;
}
@media (max-width: 480px) {
    .gld-invite-form-grid { grid-template-columns: 1fr; }
}

/* ── Email form ── */
.gld-email-form {
    background: var(--scorm-surface-color, #fff);
    border: 1px solid var(--scorm-border-color, #e4e4e7);
    border-radius: 10px;
    padding: 24px;
}
.gld-form-row { margin-bottom: 16px; }
.gld-form-row label {
    display: block;
    font-size: 0.82em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--scorm-muted-text-color, #71717a);
    margin-bottom: 6px;
}
.gld-select, .gld-input, .gld-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--scorm-border-color, #d4d4d8);
    border-radius: 8px;
    font-size: 0.95em;
    background: var(--scorm-surface-color, #fff);
    color: var(--scorm-text-color, #3f3f46);
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.gld-select:focus, .gld-input:focus, .gld-textarea:focus {
    outline: none;
    border-color: var(--scorm-primary-color, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.gld-textarea { resize: vertical; min-height: 100px; }
.gld-form-footer { display: flex; justify-content: space-between; align-items: center; }
.gld-email-hint { font-size: 0.82em; color: var(--scorm-muted-text-color, #a1a1aa); }
.gld-email-stats { font-size: 0.82em; color: var(--scorm-muted-text-color, #a1a1aa); margin: 12px 0 0; text-align: right; }

/* ── Buttons ── */
.gld-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: all 0.15s;
}
.gld-btn .dashicons { font-size: 16px; width: 16px; height: 16px; }
.gld-btn-primary {
    background: var(--scorm-primary-color, #3b82f6);
    color: #fff;
}
.gld-btn-primary:hover { background: #2563eb; }
.gld-btn-outline {
    background: var(--scorm-surface-color, #fff);
    color: var(--scorm-text-color, #3f3f46);
    border: 1px solid var(--scorm-border-color, #d4d4d8);
    text-decoration: none;
}
.gld-btn-outline:hover {
    border-color: var(--scorm-primary-color, #3b82f6);
    color: var(--scorm-primary-color, #3b82f6);
    background: #eff6ff;
}
.gld-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Empty state ── */
.gld-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--scorm-muted-text-color, #a1a1aa);
}
.gld-empty-state .dashicons { font-size: 40px; width: 40px; height: 40px; margin-bottom: 12px; opacity: 0.3; }
.gld-empty-state h3 { margin: 0 0 4px; color: var(--scorm-heading-color, #71717a); font-size: 1.1em; }
.gld-empty-state p { margin: 0; font-size: 0.9em; }

/* ── Toast ── */
.gld-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #18181b;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9em;
    z-index: 99999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    animation: gld-toast-in 0.25s ease;
    max-width: 340px;
}
.gld-toast-error { background: #dc2626; }
.gld-toast-success { background: #059669; }
@keyframes gld-toast-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Email modal ── */
.gld-email-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gld-toast-in 0.2s ease;
}
.gld-email-modal-body {
    background: var(--scorm-surface-color, #fff);
    border-radius: 14px;
    padding: 28px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.gld-email-modal-body h3 { margin: 0 0 16px; font-size: 1.1em; }
.gld-email-modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.gld-btn-ghost {
    background: none;
    border: 1px solid var(--scorm-border-color, #d4d4d8);
    color: var(--scorm-text-color, #3f3f46);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.9em;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.gld-btn-ghost:hover { background: #fafafa; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .gld-summary { grid-template-columns: repeat(2, 1fr); }
    .gld-stats-row { grid-template-columns: repeat(2, 1fr); }
    .gld-course-row { flex-direction: column; align-items: flex-start; }
    .gld-course-breakdown { flex-wrap: wrap; }
    .gld-add-learner { flex-direction: column; }
    .gld-add-learner .gld-select { width: 100%; }
    .gld-form-footer { flex-direction: column; gap: 10px; align-items: flex-start; }
    .scorm-leader-dashboard { padding: 24px 20px 56px; }
    .gld-hero { margin: 0 0 32px; }
    .gld-title { font-size: 26px; }
}
@media (max-width: 480px) {
    .gld-summary { grid-template-columns: 1fr 1fr; }
    .gld-stats-row { grid-template-columns: 1fr 1fr; }
    .gld-tabs { overflow-x: auto; }
    .gld-card-stats { flex-wrap: wrap; }
}
