:root {
    --org-primary: #0f766e;
    --org-primary-dark: #0b2533;
    --org-primary-deep: #071c27;
    --org-accent: #0ea5e9;
    --org-bg: #f3f7f8;
    --org-surface: #ffffff;
    --org-border: #dfe9eb;
    --org-text: #16313a;
    --org-muted: #687d84;
    --org-shadow: 0 14px 40px rgba(12, 45, 55, .07);
}

* { box-sizing: border-box; }

body.organizer-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Noto Sans Thai", system-ui, sans-serif;
    color: var(--org-text);
    background:
        radial-gradient(circle at 8% 2%, rgba(14,165,233,.07), transparent 25rem),
        radial-gradient(circle at 92% 12%, rgba(15,118,110,.07), transparent 28rem),
        var(--org-bg);
}

.organizer-navbar {
    min-height: 74px;
    padding-block: .65rem;
    background: linear-gradient(115deg, var(--org-primary-deep), var(--org-primary-dark) 58%, #0a3e49);
    border-bottom: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 10px 32px rgba(7,28,39,.18);
}

.organizer-main { width: min(100%, 1540px); }
.navbar-brand { max-width: 70vw; }
.brand-copy { min-width: 0; line-height: 1.1; }
.brand-copy strong,.brand-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-copy strong { font-size: .98rem; font-weight: 800; letter-spacing: -.01em; }
.brand-copy small { margin-top: .23rem; color: rgba(255,255,255,.58); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.brand-icon, .avatar-circle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.brand-icon { flex:0 0 auto;background:linear-gradient(135deg,rgba(255,255,255,.2),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px rgba(255,255,255,.13); }
.avatar-circle { flex:0 0 auto;width:32px;height:32px;background:#dff7f4;color:var(--org-primary); }

.organizer-primary-nav { gap:.2rem; }
.organizer-primary-nav .nav-link { display:flex;align-items:center;gap:.42rem;border-radius:.7rem;padding:.62rem .72rem!important;color:rgba(255,255,255,.7);font-size:.84rem;font-weight:600;transition:.18s ease; }
.organizer-primary-nav .nav-link i { font-size:.95rem; }
.organizer-primary-nav .nav-link.active,.organizer-primary-nav .nav-link:hover { color:#fff;background:rgba(255,255,255,.105);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07); }
.organizer-primary-nav .nav-link.active { background:rgba(45,212,191,.14);color:#bffcf3; }
.organizer-navbar-actions { margin-left:auto; }
.nav-action-btn,.account-menu-btn { min-height:42px;display:flex;align-items:center;gap:.48rem;border:1px solid rgba(255,255,255,.11);border-radius:.8rem;color:rgba(255,255,255,.8);background:rgba(255,255,255,.055);font-size:.82rem;font-weight:600; }
.nav-action-btn:hover,.nav-action-btn:focus,.nav-action-btn.active,.account-menu-btn:hover,.account-menu-btn:focus { color:#fff;background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.18); }
.account-menu-btn { padding:.28rem .65rem .28rem .35rem; }
.account-copy { min-width:0;max-width:150px;line-height:1.15;text-align:left; }
.account-copy strong,.account-copy small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.account-copy strong { color:#fff;font-size:.78rem; }.account-copy small { margin-top:.18rem;color:rgba(255,255,255,.5);font-size:.62rem;text-transform:uppercase;letter-spacing:.06em; }
.organizer-toggler { width:43px;height:43px;padding:0;border:1px solid rgba(255,255,255,.15);border-radius:.8rem;color:#fff;font-size:1.55rem;box-shadow:none!important; }
.organizer-dropdown-menu { min-width:285px;margin-top:.75rem!important;padding:.6rem;border:1px solid #e2ebed!important;border-radius:1rem;box-shadow:0 22px 60px rgba(7,28,39,.18)!important; }
.organizer-dropdown-menu .dropdown-header { padding:.55rem .65rem;color:#8a9aa0;font-size:.66rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase; }
.organizer-dropdown-menu .dropdown-item { display:flex;align-items:center;gap:.72rem;padding:.62rem;border-radius:.72rem;color:var(--org-text);white-space:normal; }
.organizer-dropdown-menu .dropdown-item:hover,.organizer-dropdown-menu .dropdown-item.active { color:var(--org-primary);background:#effaf8; }
.organizer-dropdown-menu .dropdown-item strong,.organizer-dropdown-menu .dropdown-item small { display:block; }.organizer-dropdown-menu .dropdown-item strong { font-size:.82rem; }.organizer-dropdown-menu .dropdown-item small { margin-top:.12rem;color:#819197;font-size:.68rem; }
.dropdown-icon { display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:.65rem;color:var(--org-primary);background:#e7f7f4; }
.account-dropdown-heading { display:flex;align-items:center;gap:.7rem;padding:.55rem .65rem; }.account-dropdown-heading strong,.account-dropdown-heading small { display:block; }.account-dropdown-heading strong { font-size:.84rem; }.account-dropdown-heading small { color:var(--org-muted);font-size:.72rem; }
.avatar-large { width:40px;height:40px; }.role-chip { display:flex;align-items:center;gap:.4rem;margin:.35rem .65rem;padding:.48rem .62rem;border-radius:.65rem;color:#075985;background:#eaf7fd;font-size:.72rem;font-weight:700; }
.logout-item { color:#be123c!important; }.logout-item .dropdown-icon { color:#be123c;background:#fff1f2; }

.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-heading h1 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 0; font-weight: 700; }
.page-heading p { color: var(--org-muted); margin: .25rem 0 0; }

.panel-card, .stat-card {
    border: 1px solid var(--org-border);
    border-radius: 1rem;
    box-shadow: var(--org-shadow);
}

.stat-card { overflow: hidden; position: relative; }
.stat-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    right: -28px;
    top: -28px;
    background: rgba(15,118,110,.08);
}
.stat-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #e7f7f4;
    color: var(--org-primary);
    font-size: 1.35rem;
}
.stat-value { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.stat-label { color: var(--org-muted); font-size: .92rem; }

.table > :not(caption) > * > * { padding: .9rem .75rem; vertical-align: middle; }
.table thead th { color: #475569; background: #f8fafc; font-weight: 600; white-space: nowrap; }
.table-responsive { border-radius: .85rem; }
.event-title-cell { min-width: 230px; }

.btn-primary { background: var(--org-primary); border-color: var(--org-primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--org-primary-dark); border-color: var(--org-primary-dark); }
.btn-outline-primary { color:var(--org-primary);border-color:#8dc8c1; }.btn-outline-primary:hover,.btn-outline-primary:focus { color:#fff;background:var(--org-primary);border-color:var(--org-primary); }

.form-control, .form-select { border-radius: .7rem; border-color: #dbe2ea; min-height: 44px; }
.form-control:focus, .form-select:focus { border-color: #46aaa0; box-shadow: 0 0 0 .2rem rgba(15,118,110,.13); }
textarea.form-control { min-height: 120px; }
.form-label { font-weight: 600; }
.required::after { content: " *"; color: #dc3545; }

.cover-preview {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.event-cover-small {
    width: 72px;
    height: 48px;
    object-fit: cover;
    border-radius: .65rem;
    background: #e2e8f0;
}

.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--org-muted); }
.empty-state i { font-size: 3rem; color: #a5b4fc; }

.detail-label { color: var(--org-muted); font-size: .87rem; margin-bottom: .2rem; }
.detail-value { font-weight: 600; }
.progress { height: 9px; border-radius: 999px; }
.organizer-footer { margin-top: auto; }

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background:
        radial-gradient(circle at top left, rgba(6,182,212,.2), transparent 32%),
        linear-gradient(135deg, #eef2ff, #f8fafc 55%, #ecfeff);
}
.login-card { width: min(100%, 460px); border: 0; border-radius: 1.4rem; box-shadow: 0 24px 70px rgba(49,46,129,.16); }
.login-logo {
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: white;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--org-primary-dark), var(--org-primary));
}

@media (max-width: 767.98px) {
    .table-responsive .btn-group { display: flex; }
    .page-heading .btn { width: 100%; }
    .navbar-brand { font-size: .95rem; }
}

.registration-type-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.registration-type-card:hover {
    border-color: rgba(var(--bs-primary-rgb), .55);
    box-shadow: 0 .5rem 1.25rem rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}
.registration-type-card:has(input:checked) {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .12);
    background: rgba(var(--bs-primary-rgb), .035);
}
.registration-type-card .form-check-input {
    flex: 0 0 auto;
    margin: 0;
}
.registration-type-icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    border-radius: .85rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .1);
    font-size: 1.25rem;
}
.registration-type-card strong,
.registration-type-card small {
    display: block;
}
.registration-type-card small {
    color: var(--bs-secondary-color);
    margin-top: .2rem;
}

/* Main event hierarchy */
.main-event-link-box .form-control { font-size: .84rem; }
.team-capacity-preview { min-height: 80px; }


/* Rich text editor */
.note-editor.note-frame {
    border: 1px solid #dbe2ea;
    border-radius: .85rem;
    overflow: hidden;
    box-shadow: none;
}
.note-editor.note-frame:focus-within {
    border-color: #818cf8;
    box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .12);
}
.note-editor .note-toolbar {
    padding: .65rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.note-editor .note-toolbar .note-btn {
    border-radius: .45rem;
}
.note-editor .note-editing-area .note-editable {
    padding: 1.15rem;
    line-height: 1.85;
    background: #fff;
}
.note-editor .note-statusbar {
    background: #f8fafc;
}
.rich-editor-fallback {
    min-height: 320px;
}
.rich-content {
    line-height: 1.85;
    overflow-wrap: anywhere;
}
.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin-top: 1.5rem;
    margin-bottom: .75rem;
    font-weight: 700;
}
.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content blockquote,
.rich-content pre,
.rich-content table {
    margin-bottom: 1rem;
}
.rich-content blockquote {
    padding: .8rem 1rem;
    border-left: 4px solid #818cf8;
    background: #f8fafc;
    border-radius: 0 .7rem .7rem 0;
}
.rich-content table {
    width: 100%;
}
.rich-content a {
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .note-editor .note-toolbar {
        overflow-x: auto;
        white-space: nowrap;
    }
    .note-editor .note-toolbar > .note-btn-group {
        float: none;
        display: inline-flex;
        margin-bottom: .35rem;
    }
}

/* Approval workflow */
.table .btn-warning,
.page-heading .btn-warning {
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .table td .d-flex.justify-content-end {
        min-width: 190px;
    }
}


/* Activity scope and external applicant fields */
.scope-option {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.scope-option:hover,
.scope-option.is-selected {
    border-color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .05);
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .08);
}
.scope-option .form-check-input { margin-top: .25rem; flex: 0 0 auto; }
.scope-option-icon { font-size: 1.4rem; color: var(--bs-primary); }
.scope-option strong,
.scope-option small { display: block; }
.scope-option small { color: var(--bs-secondary-color); margin-top: .2rem; line-height: 1.45; }
.external-contact-card {
    border: 1px solid rgba(var(--bs-info-rgb), .28);
    background: rgba(var(--bs-info-rgb), .06);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
}
.recent-team-members { min-width: 260px; }
.recent-team-members .member-line { padding: .25rem 0; border-bottom: 1px dashed var(--bs-border-color); }
.recent-team-members .member-line:last-child { border-bottom: 0; }

/* User guide */
.guide-section { scroll-margin-top: 92px; }
.guide-step-badge {
    display: inline-flex;
    align-items: center;
    padding: .36rem .7rem;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--org-primary);
    font-size: .8rem;
    font-weight: 700;
}
.guide-nav .nav-link { color: #475569; padding: .65rem .75rem; border-radius: .7rem; }
.guide-nav .nav-link:hover { background: #eef2ff; color: var(--org-primary); }
.guide-hierarchy { padding: 1.25rem; border-radius: 1rem; background: linear-gradient(135deg,#f8fafc,#eef2ff); }
.guide-node { height: 100%; display: flex; align-items: center; gap: .85rem; padding: 1rem; background: #fff; border: 1px solid #e2e8f0; border-radius: .9rem; }
.guide-node.main { max-width: 520px; margin-inline: auto; border-color: #c7d2fe; box-shadow: 0 .5rem 1.5rem rgba(67,56,202,.08); }
.guide-node > i { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: .8rem; background: #eef2ff; color: var(--org-primary); font-size: 1.2rem; }
.guide-node small { display: block; color: var(--org-muted); margin-top: .2rem; }
.guide-arrow { text-align: center; color: #818cf8; font-size: 1.5rem; padding: .5rem; }
.guide-timeline { position: relative; }
.guide-timeline-item { display: flex; gap: 1rem; padding: 0 0 1.25rem; }
.guide-timeline-item:last-child { padding-bottom: 0; }
.guide-timeline-number { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 50%; background: var(--org-primary); color: #fff; font-weight: 700; box-shadow: 0 0 0 5px #eef2ff; }
.guide-info-card, .guide-report-card { height: 100%; display: flex; gap: .85rem; padding: 1rem; border: 1px solid #e2e8f0; border-radius: .9rem; background: #fff; }
.guide-info-card > i, .guide-report-card > i { font-size: 1.35rem; color: var(--org-primary); }
.guide-info-card p, .guide-report-card p { margin: .25rem 0 0; color: var(--org-muted); font-size: .92rem; }
.guide-checklist { list-style: none; padding: 0; margin-bottom: 0; }
.guide-checklist li { position: relative; padding: .45rem 0 .45rem 1.8rem; }
.guide-checklist li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .45rem; color: #16a34a; }
.guide-numbered { padding-left: 1.25rem; }
.guide-numbered li { padding: .35rem 0 .35rem .3rem; }
.guide-mobile-step { height: 100%; text-align: center; position: relative; padding: 1.25rem 1rem; border-radius: 1rem; background: #f8fafc; border: 1px solid #e2e8f0; }
.guide-mobile-step > span { position: absolute; top: .7rem; left: .7rem; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--org-primary); color: #fff; font-size: .75rem; font-weight: 700; }
.guide-mobile-step > i { display: block; font-size: 2rem; color: var(--org-primary); margin-bottom: .5rem; }
.guide-mobile-step strong, .guide-mobile-step small { display: block; }
.guide-mobile-step small { color: var(--org-muted); margin-top: .2rem; }
.guide-table th { background: #f8fafc; }

@media print {
    .organizer-navbar, .organizer-footer, .guide-toc, .page-heading .btn, .guide-section .btn { display: none !important; }
    body.organizer-body { background: #fff; }
    main.container-fluid { padding: 0 !important; }
    .col-xl-9 { width: 100% !important; }
    .guide-section { box-shadow: none !important; border: 1px solid #ddd !important; break-inside: avoid; }
}

/* Premium organizer header */
.organizer-alert {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 12px 34px rgba(12,45,55,.09);
}
@media (max-width: 1199.98px) {
    .organizer-navbar { min-height: 68px; }
    .organizer-navbar .navbar-collapse { margin: .7rem -.25rem 0; padding: .7rem; border: 1px solid rgba(255,255,255,.09); border-radius: 1rem; background: rgba(255,255,255,.045); }
    .organizer-primary-nav { gap:.22rem; }
    .organizer-primary-nav .nav-link { padding:.68rem .75rem!important; }
    .organizer-navbar-actions { display:grid!important;grid-template-columns:1fr 1fr;margin-top:.65rem;padding-top:.65rem;border-top:1px solid rgba(255,255,255,.09); }
    .nav-action-btn,.account-menu-btn { width:100%;justify-content:center; }
    .account-copy { max-width:180px; }
    .organizer-dropdown-menu { width:min(330px,calc(100vw - 2.5rem)); }
}
@media (max-width: 575.98px) {
    .organizer-main { padding-top:1.25rem!important; }
    .brand-copy strong { max-width:210px; }
    .organizer-navbar-actions { grid-template-columns:1fr; }
    .nav-action-btn,.account-menu-btn { justify-content:flex-start; }
    .account-copy { max-width:220px; }
}

/* Premium dashboard */
.premium-dashboard { color:var(--org-text); }
.dashboard-hero {
    position:relative;
    min-height:290px;
    display:flex;
    align-items:stretch;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    border-radius:1.65rem;
    color:#fff;
    background:
        radial-gradient(circle at 82% 8%,rgba(56,189,248,.22),transparent 21rem),
        radial-gradient(circle at 58% 105%,rgba(45,212,191,.18),transparent 20rem),
        linear-gradient(115deg,#071c27,#0b3440 58%,#0d5660);
    box-shadow:0 24px 65px rgba(7,28,39,.18);
}
.dashboard-hero::before { content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(90deg,#000,transparent 78%); }
.dashboard-hero-content { position:relative;z-index:2;width:67%;padding:clamp(1.5rem,4vw,3.1rem); }
.hero-chip,.hero-date { display:inline-flex;align-items:center;gap:.42rem;padding:.42rem .7rem;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.75);font-size:.72rem;font-weight:650;backdrop-filter:blur(8px); }
.hero-chip { color:#baf7ef;background:rgba(45,212,191,.1);border-color:rgba(94,234,212,.16); }
.dashboard-hero h1 { max-width:790px;margin:0;font-size:clamp(1.75rem,4vw,3rem);font-weight:800;line-height:1.25;letter-spacing:-.035em; }
.dashboard-hero h1 span { color:#6ee7d8; }
.dashboard-hero p { max-width:720px;margin:.75rem 0 0;color:rgba(255,255,255,.68);font-size:clamp(.88rem,1.4vw,1.02rem);line-height:1.7; }
.hero-btn-primary,.hero-btn-secondary { min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;padding:.66rem 1rem;border-radius:.8rem;font-size:.85rem;font-weight:750; }
.hero-btn-primary { color:#07312f;background:#8ef3e5;border-color:#8ef3e5;box-shadow:0 10px 24px rgba(45,212,191,.18); }.hero-btn-primary:hover { color:#061f1e;background:#b9faf1;border-color:#b9faf1;transform:translateY(-1px); }
.hero-btn-secondary { color:#fff;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14); }.hero-btn-secondary:hover { color:#fff;background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.22); }
.hero-btn-count { display:grid;place-items:center;min-width:22px;height:22px;padding:0 .35rem;border-radius:999px;color:#7f1d1d;background:#fca5a5;font-size:.68rem; }
.dashboard-hero-visual { position:relative;flex:1;min-width:270px; }
.hero-orbit { position:absolute;border:1px solid rgba(255,255,255,.09);border-radius:50%; }.orbit-one { width:300px;height:300px;right:-30px;top:-38px; }.orbit-two { width:210px;height:210px;right:28px;top:8px;border-color:rgba(94,234,212,.15); }
.hero-visual-card { position:absolute;z-index:2;right:clamp(1.5rem,4vw,3.5rem);top:50%;width:178px;padding:1.25rem;transform:translateY(-50%);border:1px solid rgba(255,255,255,.13);border-radius:1.3rem;background:rgba(255,255,255,.09);box-shadow:0 18px 42px rgba(3,18,26,.2);backdrop-filter:blur(12px); }
.hero-visual-card span { display:grid;place-items:center;width:40px;height:40px;margin-bottom:1rem;border-radius:.8rem;color:#8ef3e5;background:rgba(45,212,191,.12);font-size:1.2rem; }.hero-visual-card strong,.hero-visual-card small { display:block; }.hero-visual-card strong { font-size:2.2rem;font-weight:800;line-height:1; }.hero-visual-card small { margin-top:.45rem;color:rgba(255,255,255,.58);font-size:.72rem; }

.dashboard-stat-link { display:block;height:100%;color:inherit;text-decoration:none; }
.dashboard-stat-card { position:relative;height:100%;min-height:182px;padding:1.25rem;overflow:hidden;border:1px solid var(--org-border);border-radius:1.25rem;background:#fff;box-shadow:var(--org-shadow);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.dashboard-stat-card::after { content:"";position:absolute;width:115px;height:115px;right:-45px;bottom:-55px;border-radius:50%;background:var(--card-soft); }
.dashboard-stat-link:hover .dashboard-stat-card { transform:translateY(-4px);border-color:var(--card-line);box-shadow:0 18px 46px rgba(12,45,55,.11); }
.dashboard-stat-top { display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem; }.dashboard-stat-icon { display:grid;place-items:center;width:43px;height:43px;border-radius:.85rem;color:var(--card-color);background:var(--card-soft);font-size:1.15rem; }.dashboard-stat-arrow { color:#a9b7bb;font-size:.9rem;transition:.2s ease; }.dashboard-stat-link:hover .dashboard-stat-arrow { color:var(--card-color);transform:translate(2px,-2px); }
.dashboard-stat-value { color:#122f38;font-size:2rem;font-weight:800;line-height:1;letter-spacing:-.035em; }.dashboard-stat-card h2 { margin:.55rem 0 .2rem;font-size:.88rem;font-weight:750; }.dashboard-stat-card p { position:relative;z-index:1;margin:0;color:var(--org-muted);font-size:.7rem;line-height:1.45; }
.dashboard-stat-card.tone-teal,.quick-action-icon.tone-teal { --card-color:#0f766e;--card-soft:#e4f7f3;--card-line:#95d5cd; }.dashboard-stat-card.tone-blue,.quick-action-icon.tone-blue { --card-color:#0369a1;--card-soft:#e8f5fc;--card-line:#9dcfea; }.dashboard-stat-card.tone-amber,.quick-action-icon.tone-amber { --card-color:#b45309;--card-soft:#fff6df;--card-line:#f2ce83; }.dashboard-stat-card.tone-rose { --card-color:#be123c;--card-soft:#fff0f3;--card-line:#f2a9ba; }.quick-action-icon.tone-cyan { --card-color:#0e7490;--card-soft:#e5f8fb;--card-line:#9ed8e2; }

.premium-panel { border:1px solid var(--org-border);border-radius:1.25rem;background:#fff;box-shadow:var(--org-shadow);overflow:hidden; }
.premium-panel>.card-header { display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.35rem 1.4rem 1.1rem;border:0;background:#fff; }.premium-panel>.card-header h2 { margin:.15rem 0 .2rem;color:#16313a;font-size:1.08rem;font-weight:800; }.premium-panel>.card-header p { margin:0;color:var(--org-muted);font-size:.75rem; }.section-eyebrow { color:var(--org-primary);font-size:.6rem;font-weight:800;letter-spacing:.13em; }
.premium-outline-btn { display:inline-flex;align-items:center;gap:.4rem;flex:0 0 auto;padding:.48rem .72rem;border:1px solid #b7d6d2;border-radius:.7rem;color:var(--org-primary);font-size:.75rem;font-weight:700; }.premium-outline-btn:hover { color:#fff;background:var(--org-primary);border-color:var(--org-primary); }
.dashboard-recent-table thead th { padding:.72rem 1.1rem;border:0;color:#829399;background:#f7fafb;font-size:.68rem;font-weight:750;letter-spacing:.02em; }.dashboard-recent-table tbody td { padding:1rem 1.1rem;border-color:#edf2f3; }.dashboard-recent-table tbody tr { transition:background .18s ease; }.dashboard-recent-table tbody tr:hover { background:#f8fcfb; }
.event-cell { display:flex;align-items:flex-start;gap:.72rem;min-width:290px; }.event-cell-icon { display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:.75rem;color:var(--org-primary);background:#e7f7f4; }.event-cell-title { color:#17343c;font-size:.82rem;font-weight:750;line-height:1.4; }.event-cell-meta,.event-cell-owner { margin-top:.18rem;color:#849399;font-size:.66rem;line-height:1.35; }.event-cell-owner { color:#318179; }.capacity-cell { min-width:145px; }.capacity-cell>div:first-child { display:flex;justify-content:space-between;gap:.5rem;margin-bottom:.38rem;color:#687d84;font-size:.68rem; }.capacity-cell strong { color:#23434b; }.capacity-cell .progress,.premium-progress { height:7px;background:#e8f0f1; }.capacity-cell .progress-bar,.premium-progress .progress-bar { border-radius:999px;background:linear-gradient(90deg,#0f766e,#0ea5e9); }.registration-period strong,.registration-period small { display:block;white-space:nowrap; }.registration-period strong { color:#455f66;font-size:.7rem;font-weight:650; }.registration-period small { margin-top:.2rem;color:#93a1a6;font-size:.65rem; }.table-action-btn { display:grid;place-items:center;width:34px;height:34px;margin-left:auto;border:1px solid #dce7e9;border-radius:.7rem;color:#668087;background:#fff; }.table-action-btn:hover { color:#fff;background:var(--org-primary);border-color:var(--org-primary); }
.premium-empty { padding:4rem 1rem;text-align:center; }.premium-empty>span { display:grid;place-items:center;width:62px;height:62px;margin:0 auto 1rem;border-radius:1.1rem;color:var(--org-primary);background:#e7f7f4;font-size:1.65rem; }.premium-empty h3 { font-size:1rem;font-weight:800; }.premium-empty p { color:var(--org-muted);font-size:.8rem; }

.quick-actions-panel .card-body { padding-inline:1rem; }.quick-action-item { display:flex;align-items:center;gap:.72rem;padding:.72rem;border-radius:.9rem;color:inherit;text-decoration:none;transition:.18s ease; }.quick-action-item:hover { color:inherit;background:#f4faf9;transform:translateX(2px); }.quick-action-icon { display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:.8rem;color:var(--card-color);background:var(--card-soft); }.quick-action-item>span:nth-child(2) { min-width:0;flex:1; }.quick-action-item strong,.quick-action-item small { display:block; }.quick-action-item strong { color:#244149;font-size:.78rem;font-weight:750; }.quick-action-item small { margin-top:.18rem;color:#839298;font-size:.66rem; }.quick-action-item>i { color:#a0afb3;font-size:.75rem; }
.system-status-panel .card-body { padding-inline:1.4rem;padding-bottom:1.25rem; }.status-progress-head,.status-row { display:flex;align-items:center;justify-content:space-between;gap:1rem; }.status-progress-head { margin-bottom:.45rem;color:#637980;font-size:.72rem; }.status-progress-head strong { color:#214149; }.status-row { padding:.72rem 0;border-top:1px solid #edf2f3;color:#687d84;font-size:.72rem; }.status-row span { display:flex;align-items:center;gap:.5rem; }.status-row i { color:var(--org-primary); }.status-row strong { color:#23434b;font-size:.82rem; }

@media (max-width: 991.98px) {
    .dashboard-hero-content { width:100%;padding-right:2rem; }
    .dashboard-hero-visual { display:none; }
}
@media (max-width: 767.98px) {
    .dashboard-hero { min-height:0;border-radius:1.25rem; }.dashboard-hero-content { padding:1.45rem; }.dashboard-hero h1 { font-size:1.65rem;letter-spacing:-.02em; }.dashboard-hero p { font-size:.82rem; }
    .hero-btn-primary,.hero-btn-secondary { flex:1 1 190px; }
    .dashboard-stat-card { min-height:164px;padding:1rem; }.dashboard-stat-value { font-size:1.65rem; }.dashboard-stat-card p { font-size:.64rem; }.dashboard-stat-icon { width:38px;height:38px; }
    .premium-panel>.card-header { padding:1.15rem; }.premium-panel>.card-header p { display:none; }
    .dashboard-recent-table thead { display:none; }.dashboard-recent-table,.dashboard-recent-table tbody,.dashboard-recent-table tr,.dashboard-recent-table td { display:block;width:100%; }.dashboard-recent-table tbody { padding:.7rem; }.dashboard-recent-table tbody tr { position:relative;margin-bottom:.7rem;padding:.85rem;border:1px solid #e4edef;border-radius:1rem;background:#fff; }.dashboard-recent-table tbody tr:last-child { margin-bottom:0; }.dashboard-recent-table tbody td { display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.42rem 0;border:0; }.dashboard-recent-table tbody td:first-child { display:block;padding-top:0;padding-right:2.5rem; }.dashboard-recent-table tbody td::before { content:attr(data-label);color:#8a999e;font-size:.66rem; }.dashboard-recent-table tbody td:first-child::before,.dashboard-recent-table tbody td:last-child::before { display:none; }.dashboard-recent-table tbody td:last-child { position:absolute;right:.75rem;top:.8rem;width:auto;padding:0; }.event-cell { min-width:0; }.capacity-cell { width:160px; }.registration-period { text-align:right; }.registration-period strong { font-size:.67rem; }
}
@media (max-width: 420px) {
    .brand-copy strong { max-width:165px; }
    .hero-chip,.hero-date { font-size:.64rem; }.dashboard-hero h1 { font-size:1.45rem; }
    .dashboard-stat-card { min-height:155px;padding:.85rem; }.dashboard-stat-value { font-size:1.5rem; }.dashboard-stat-card h2 { font-size:.78rem; }.dashboard-stat-card p { display:none; }
}
@media (prefers-reduced-motion: reduce) {
    .dashboard-stat-card,.dashboard-stat-arrow,.quick-action-item,.hero-btn-primary { transition:none!important; }
}
