body.guest-body,
body.dashboard-body {
    font-family: "Parkinsans", sans-serif;
    color: #17203a;
    background: linear-gradient(180deg, #f6f8fd 0%, #eef4ff 100%);
}

.guest-page-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.guest-header {
    padding: 24px 0 0;
}

.guest-header-bar,
.guest-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.guest-brand,
.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #17203a;
    text-decoration: none;
}

.guest-brand img,
.brand-link img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 14px;
    background: #fff;
}

.guest-brand span,
.brand-link span {
    display: block;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5c6b8a;
}

.guest-brand strong,
.brand-link strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
}

.guest-hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 0 70px;
    background:
        radial-gradient(circle at top right, rgba(36, 88, 204, .18), transparent 30%),
        radial-gradient(circle at bottom left, rgba(29, 191, 115, .14), transparent 26%);
}

.hero-chip,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(36, 88, 204, .10);
    color: #2458cc;
    font-size: 13px;
    font-weight: 600;
}

.status-pill.is-live {
    background: rgba(29, 191, 115, .14);
    color: #18794f;
}

/* Comutatorul de limba din antetul paginilor publice de autentificare.
   Ecranele acestea nu incarca CSS-ul paginii de prezentare, deci stilul se
   scrie aici pe de-a intregul, in paleta de admin. */

.guest-header-note {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lang-switch--guest {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(36, 88, 204, .16);
    border-radius: 999px;
}

.lang-switch--guest .lang-switch-item {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #5c6b8a;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}

.lang-switch--guest .lang-switch-item:hover {
    color: #2458cc;
    background: rgba(36, 88, 204, .10);
}

.lang-switch--guest .lang-switch-item.is-current {
    color: #fff;
    background: #2458cc;
}

.guest-hero-copy h1 {
    font-size: 56px;
    line-height: 1.05;
    margin: 20px 0 18px;
    max-width: 11ch;
}

.guest-hero-copy p,
.login-helper-copy,
.dashboard-hero-copy p,
.dashboard-module-copy p,
.dashboard-sidebar-copy p,
.guest-footer-inner p {
    color: #62708f;
}

.guest-feature-list {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.guest-feature-item,
.dashboard-checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 18px 45px rgba(27, 39, 94, .06);
}

.guest-feature-item i,
.dashboard-checklist-item i {
    color: #1dbf73;
}

.login {
    padding: 42px;
    border-radius: 28px;
    border: 1px solid rgba(36, 88, 204, .08);
    box-shadow: 0 28px 70px rgba(27, 39, 94, .12);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
}

.login_register_title {
    margin-bottom: 14px;
}

.dashboard-alert {
    padding: 14px 18px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-weight: 500;
    border: 1px solid transparent;
    display: grid;
    gap: 6px;
}

.dashboard-alert-success {
    background: rgba(29, 191, 115, .12);
    color: #18794f;
    border-color: rgba(29, 191, 115, .20);
}

.dashboard-alert-error {
    background: rgba(225, 72, 87, .12);
    color: #b42318;
    border-color: rgba(225, 72, 87, .20);
}

.dashboard-alert-info {
    background: rgba(36, 88, 204, .10);
    color: #2458cc;
    border-color: rgba(36, 88, 204, .18);
}

.dashboard-tab-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-tab-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(36, 88, 204, .12);
    color: #5f6f90;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 16px 32px rgba(27, 39, 94, .05);
}

.dashboard-tab-chip.is-active {
    background: linear-gradient(135deg, #2458cc 0%, #1a3f91 100%);
    border-color: transparent;
    color: #fff;
}

.dashboard-trend-list {
    display: grid;
    gap: 16px;
}

.dashboard-trend-item {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(247, 250, 255, .92);
    border: 1px solid rgba(36, 88, 204, .08);
}

.dashboard-trend-head,
.dashboard-trend-metrics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dashboard-trend-head strong {
    font-size: 15px;
}

.dashboard-trend-head span,
.dashboard-trend-metrics span {
    color: #62708f;
    font-size: 13px;
}

.dashboard-trend-bar-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(36, 88, 204, .08);
    overflow: hidden;
}

.dashboard-trend-bar {
    height: 100%;
    border-radius: inherit;
}

.dashboard-trend-bar.is-results {
    background: linear-gradient(90deg, #2458cc 0%, #4d9bff 100%);
}

.dashboard-trend-bar.is-measurements {
    background: linear-gradient(90deg, #1dbf73 0%, #70d6a0 100%);
}

.demo-credentials {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #f4f7ff;
    display: grid;
    gap: 6px;
}

.info-hero-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    margin-bottom: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, .18), transparent 30%),
        linear-gradient(135deg, #111827 0%, #17203a 58%, #2458cc 100%);
    color: #fff;
    box-shadow: 0 28px 70px rgba(27, 39, 94, .16);
}

.info-hero-panel h2 {
    max-width: 760px;
    margin: 10px 0 12px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.info-hero-panel p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
}

.info-hero-panel .dashboard-section-label {
    color: rgba(255, 255, 255, .62);
}

.info-hero-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 180px;
}

.info-hero-meta span {
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 700;
}

.info-anchor-nav {
    position: sticky;
    top: 16px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    margin-bottom: 22px;
    border: 1px solid rgba(36, 88, 204, .10);
    border-radius: 20px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 42px rgba(27, 39, 94, .07);
    backdrop-filter: blur(10px);
}

.info-anchor-nav a {
    padding: 9px 14px;
    border-radius: 999px;
    background: #f4f7ff;
    color: #2458cc;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.info-section-card {
    padding: 26px;
    margin-bottom: 20px;
    border: 1px solid rgba(36, 88, 204, .09);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 22px 55px rgba(27, 39, 94, .07);
    scroll-margin-top: 96px;
}

.info-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.info-section-heading h3 {
    margin: 2px 0 0;
    font-size: 24px;
}

.info-section-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(36, 88, 204, .12);
    color: #2458cc;
    font-size: 20px;
}

.info-section-icon.is-warm {
    background: rgba(245, 158, 11, .15);
    color: #b45309;
}

.info-section-icon.is-blue {
    background: rgba(77, 155, 255, .15);
    color: #1d4ed8;
}

.info-section-icon.is-green {
    background: rgba(29, 191, 115, .15);
    color: #18794f;
}

.info-section-icon.is-danger {
    background: rgba(225, 72, 87, .14);
    color: #b42318;
}

.info-grid,
.info-data-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.info-grid article,
.info-data-grid div {
    padding: 18px;
    border-radius: 18px;
    background: #f7faff;
    border: 1px solid rgba(36, 88, 204, .08);
}

.info-grid strong,
.info-data-grid strong {
    display: block;
    color: #17203a;
}

.info-grid p {
    margin: 8px 0 0;
    color: #62708f;
}

.info-check-list {
    display: grid;
    gap: 12px;
}

.info-check-list div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f7faff;
    color: #42506e;
}

.info-check-list i {
    margin-top: 3px;
    color: #1dbf73;
}

.info-protocol-list {
    display: grid;
    gap: 14px;
}

.info-protocol-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(36, 88, 204, .08);
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.info-protocol-number {
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
    color: rgba(36, 88, 204, .34);
}

.info-protocol-item h4 {
    margin: 0 0 8px;
    font-size: 18px;
}

.info-protocol-item p {
    margin: 0 0 10px;
    color: #62708f;
}

.info-note {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .12);
    color: #92400e;
    font-size: 12px;
    font-weight: 800;
}

.info-callout {
    padding: 16px 18px;
    margin-bottom: 16px;
    border-radius: 18px;
    font-weight: 600;
}

.info-callout.is-ok {
    background: rgba(29, 191, 115, .12);
    color: #18794f;
}

.info-callout.is-warning {
    background: rgba(245, 158, 11, .14);
    color: #92400e;
}

.info-data-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-data-grid span {
    display: block;
    margin-bottom: 6px;
    color: #62708f;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.info-table {
    width: 100%;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(36, 88, 204, .10);
    border-radius: 18px;
}

.info-table th,
.info-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(36, 88, 204, .08);
    color: #42506e;
    vertical-align: top;
}

.info-table th {
    background: #f4f7ff;
    color: #17203a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.info-table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 991px) {
    .info-hero-panel,
    .info-hero-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .info-grid,
    .info-data-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .info-hero-panel,
    .info-section-card {
        padding: 22px;
        border-radius: 22px;
    }

    .info-protocol-item {
        grid-template-columns: 1fr;
    }

    .info-anchor-nav {
        position: static;
    }
}

.protocol-source {
    --protocol-ink: #1A1A18;
    --protocol-muted: #4A4A46;
    --protocol-soft: #8A8A84;
    --protocol-line: #E8E5DF;
    --protocol-bg: #FAFAF8;
    color: var(--protocol-ink);
    font-size: 12px;
    line-height: 1.55;
}

.protocol-source-nav {
    position: sticky;
    top: 16px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px;
    margin-bottom: 22px;
    border: 1px solid rgba(232, 229, 223, .92);
    border-radius: 18px;
    background: rgba(242, 240, 236, .92);
    box-shadow: 0 18px 42px rgba(27, 39, 94, .07);
    backdrop-filter: blur(10px);
}

.protocol-source-nav a {
    padding: 5px 11px;
    border: 1px solid #E8E5DF;
    border-radius: 999px;
    background: #fff;
    color: #4A4A46;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.protocol-source-main {
    display: grid;
    gap: 14px;
}

.protocol-source .shd {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 22px 16px;
    margin-top: 18px;
    border: 1px solid rgba(232, 229, 223, .9);
    border-bottom: 3px solid #E8E5DF;
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    scroll-margin-top: 96px;
}

.protocol-source .shd-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    font-size: 18px;
}

.protocol-source .shd-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .03em;
    line-height: 1.15;
    text-transform: uppercase;
}

.protocol-source .shd-sub {
    margin-top: 4px;
    color: var(--protocol-soft);
    font-size: 12px;
}

.protocol-source .pcard {
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid var(--protocol-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(27, 39, 94, .06);
}

.protocol-source .pcard-hd {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #1A1A18;
    color: #E6EDF3;
}

.protocol-source .pcard-hd .pnum {
    min-width: 34px;
    flex-shrink: 0;
    color: #9CA3AF;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
}

.protocol-source .pcard-hd .pname {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .03em;
    line-height: 1.25;
    text-transform: uppercase;
}

.protocol-source .pcard-hd .punit {
    margin-left: 6px;
    font-size: 11px;
    font-weight: 500;
    opacity: .58;
    text-transform: none;
}

.protocol-source .pcard-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: #fff;
}

.protocol-source .pcard-col,
.protocol-source .pcard-full {
    padding: 16px 18px;
}

.protocol-source .pcard-col {
    border-right: 1px solid #F2F0EC;
}

.protocol-source .pcard-col:last-child {
    border-right: 0;
}

.protocol-source .lbl {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: var(--protocol-soft);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.protocol-source .lbl-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
}

.protocol-source .step {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 7px;
    color: var(--protocol-muted);
    font-size: 12px;
}

.protocol-source .step-n {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 999px;
    background: #F2F0EC;
    color: var(--protocol-muted);
    font-size: 10px;
    font-weight: 900;
}

.protocol-source .say-box {
    padding: 9px 12px;
    margin: 6px 0 10px;
    border-left: 4px solid #1D9E75;
    border-radius: 10px;
    background: #EBF5F3;
    color: #085041;
    font-size: 12px;
    font-style: italic;
}

.protocol-source .say-box::before,
.protocol-source .say-box::after {
    font-size: 15px;
    font-weight: 900;
}

.protocol-source .say-box::before {
    content: '"';
    margin-right: 2px;
}

.protocol-source .say-box::after {
    content: '"';
    margin-left: 2px;
}

.protocol-source .do-dont,
.protocol-source .info-grid,
.protocol-source .sig-grid {
    display: grid;
    gap: 10px;
}

.protocol-source .do-dont {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: 6px;
}

.protocol-source .info-grid,
.protocol-source .sig-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 10px 0;
}

.protocol-source .do-box,
.protocol-source .dont-box,
.protocol-source .invalid-box,
.protocol-source .record-box,
.protocol-source .icard {
    padding: 10px 12px;
    border-radius: 13px;
}

.protocol-source .do-box,
.protocol-source .record-box {
    background: #EBF5F3;
}

.protocol-source .dont-box {
    background: #FEF2F2;
}

.protocol-source .invalid-box {
    margin-top: 8px;
    background: #FAEEDA;
}

.protocol-source .record-box {
    margin-top: 8px;
    background: #EBF1FA;
}

.protocol-source .icard,
.protocol-source .sig-box {
    border: 1px solid var(--protocol-line);
    background: #fff;
}

.protocol-source .do-box strong,
.protocol-source .dont-box strong,
.protocol-source .invalid-box strong,
.protocol-source .record-box strong {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.protocol-source .do-box strong {
    color: #085041;
}

.protocol-source .dont-box strong {
    color: #991B1B;
}

.protocol-source .invalid-box strong {
    color: #854F0B;
}

.protocol-source .record-box strong {
    color: #0C447C;
}

.protocol-source .item,
.protocol-source .eq-item {
    position: relative;
    margin-bottom: 3px;
    padding-left: 13px;
    color: var(--protocol-muted);
    font-size: 11.5px;
}

.protocol-source .item::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--protocol-soft);
}

.protocol-source .item.do-item::before {
    content: '+';
    color: #1D9E75;
    font-weight: 900;
}

.protocol-source .item.dont-item::before {
    content: 'x';
    color: #E24B4A;
    font-weight: 900;
}

.protocol-source .eq-item::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--protocol-soft);
    font-size: 9px;
    font-weight: 900;
}

.protocol-source .warn-strip,
.protocol-source .err-strip,
.protocol-source .ok-strip {
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 0 13px 13px 0;
    font-size: 12px;
    font-weight: 600;
}

.protocol-source .warn-strip {
    border-left: 5px solid #F59E0B;
    background: #FAEEDA;
    color: #854F0B;
}

.protocol-source .err-strip {
    border-left: 5px solid #E24B4A;
    background: #FEF2F2;
    color: #991B1B;
}

.protocol-source .ok-strip {
    border-left: 5px solid #1D9E75;
    background: #EBF5F3;
    color: #085041;
}

.protocol-source .ctbl,
.protocol-source table {
    width: 100%;
    overflow: hidden;
    border-collapse: collapse;
    border-radius: 14px;
    font-size: 12px;
}

.protocol-source .ctbl th,
.protocol-source .ctbl td,
.protocol-source table th,
.protocol-source table td {
    padding: 8px 10px;
    border: 1px solid var(--protocol-line);
    color: var(--protocol-muted);
    vertical-align: top;
}

.protocol-source .ctbl th,
.protocol-source table th {
    background: #F2F0EC;
    color: var(--protocol-soft);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    text-align: left;
    text-transform: uppercase;
}

.protocol-source .field-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
    color: var(--protocol-muted);
    font-size: 12px;
}

.protocol-source .field-key {
    padding: 2px 7px;
    border-radius: 6px;
    background: #F2F0EC;
    color: var(--protocol-ink);
    font-family: monospace;
    font-size: 11px;
}

.protocol-source .sig-box {
    padding: 14px;
    border-radius: 14px;
    text-align: center;
}

.protocol-source .sig-line {
    height: 42px;
    margin: 9px 0 5px;
    border-bottom: 1px solid var(--protocol-line);
}

.protocol-source .sig-lbl {
    color: var(--protocol-soft);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.onss-score-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 18px 20px;
    margin-top: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #17203a 0%, #2458cc 100%);
    color: #fff;
}

.onss-form {
    background:
        radial-gradient(circle at top right, rgba(200, 168, 75, .10), transparent 28%),
        rgba(255, 255, 255, .94);
}

.onss-section-strip {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    margin: 18px -18px 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.onss-section-strip strong {
    min-width: 16px;
}

.onss-section-strip small {
    margin-left: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
}

.onss-section-strip.is-green {
    background: linear-gradient(90deg, #177538 0%, #228347 100%);
}

.onss-section-strip.is-orange {
    background: linear-gradient(90deg, #ce6500 0%, #dd770c 100%);
}

.onss-participant-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.onss-results-table {
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid rgba(30, 58, 95, .10);
    border-radius: 0 0 16px 16px;
    background: #fff;
}

.onss-results-header,
.onss-results-row {
    display: grid;
    grid-template-columns: minmax(190px, .95fr) minmax(180px, 1.25fr) minmax(150px, .9fr);
}

.onss-results-header {
    background: #1E3A5F;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.onss-results-header span {
    padding: 12px 16px;
}

.onss-results-header span:last-child,
.onss-results-row strong {
    background: #e8c569;
    color: #4e4121;
    text-align: center;
}

.onss-results-row {
    min-height: 68px;
    border-bottom: 1px solid rgba(30, 58, 95, .08);
}

.onss-results-row:last-child {
    border-bottom: 0;
}

.onss-results-row label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin: 0;
    background: #dcecf7;
    color: #22304a;
    font-size: 13px;
    font-weight: 900;
}

.onss-results-row:nth-child(odd) label {
    background: #f7f9fb;
}

.onss-results-row label i {
    color: #177538;
}

.onss-result-input {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px;
    background: #fff;
}

.onss-result-input .dashboard-input {
    height: 46px;
    text-align: center;
}

.onss-results-row strong {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #273042;
    font-size: 16px;
}

.onss-extra-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.onss-toggle-panel {
    padding: 14px;
    border: 1px solid rgba(200, 168, 75, .24);
    border-radius: 16px;
    background: #fffdf6;
}

.onss-toggle-panel > span {
    display: block;
    margin-bottom: 10px;
    color: #1E3A5F;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.onss-choice-block {
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(200, 168, 75, .22);
    border-radius: 20px;
    background: #fdfbf4;
}

.onss-choice-block.has-error {
    border-color: rgba(180, 35, 24, .45);
    background: #fff7f7;
}

.onss-choice-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.onss-choice-head span,
.onss-choice-label {
    color: #1E3A5F;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.onss-choice-head small {
    color: #7d8492;
    font-size: 12px;
}

.onss-choice-group {
    margin-bottom: 16px;
}

.onss-choice-label {
    padding-bottom: 6px;
    margin-bottom: 9px;
    border-bottom: 1px solid rgba(200, 168, 75, .25);
    color: #8a7330;
    font-size: 10px;
}

.onss-chip-grid,
.onss-chip-row,
.onss-phase-grid,
.onss-custom-row {
    display: grid;
    gap: 9px;
}

.onss-chip-grid {
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
}

.onss-chip-row {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.onss-phase-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.onss-custom-row {
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-top: 8px;
}

.onss-chip,
.onss-phase-card {
    border: 1.5px solid rgba(30, 58, 95, .14);
    border-radius: 13px;
    background: #fff;
    color: #42506e;
    cursor: pointer;
    font-weight: 700;
    transition: transform .12s ease, border-color .12s ease, background .12s ease, color .12s ease;
}

.onss-chip {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-height: 48px;
    padding: 10px 12px;
    text-align: left;
}

.onss-chip.compact {
    justify-content: center;
    min-height: 44px;
}

.onss-chip i {
    width: 20px;
    color: #C8A84B;
    text-align: center;
}

.onss-phase-card {
    display: flex;
    min-height: 92px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    text-align: center;
}

.onss-phase-card i {
    color: #C8A84B;
    font-size: 22px;
}

.onss-phase-card strong {
    color: #1E3A5F;
    font-size: 13px;
}

.onss-phase-card span {
    color: #7d8492;
    font-size: 11px;
}

.onss-chip:hover,
.onss-phase-card:hover {
    transform: translateY(-1px);
    border-color: rgba(200, 168, 75, .7);
}

.onss-chip.is-active,
.onss-phase-card.is-active {
    border-color: #1E3A5F;
    background: #D6E4F0;
    color: #1E3A5F;
    box-shadow: 0 12px 28px rgba(30, 58, 95, .10);
}

.onss-chip.is-active i,
.onss-phase-card.is-active i {
    color: #1E3A5F;
}

.onss-score-preview span {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.onss-score-preview strong {
    color: #f8d36a;
    font-size: 30px;
    line-height: 1;
}

.onss-score-preview small {
    flex-basis: 100%;
    color: rgba(255, 255, 255, .68);
}

@media (max-width: 991px) {
    .onss-participant-grid,
    .onss-extra-grid {
        grid-template-columns: 1fr;
    }

    .onss-results-header {
        display: none;
    }

    .onss-results-row {
        grid-template-columns: 1fr;
    }

    .onss-results-row label,
    .onss-result-input,
    .onss-results-row strong {
        min-height: 54px;
    }

    .onss-results-row strong::before {
        margin-right: 8px;
        color: #725a19;
        content: "Puncte:";
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
    }

    .onss-section-strip {
        margin-right: 0;
        margin-left: 0;
    }
}

.dashboard-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-detail-grid div {
    padding: 14px 16px;
    border: 1px solid rgba(36, 88, 204, .08);
    border-radius: 16px;
    background: #f7faff;
}

.dashboard-detail-grid span {
    display: block;
    margin-bottom: 5px;
    color: #62708f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dashboard-detail-grid strong {
    color: #17203a;
}

@media (max-width: 991px) {
    .protocol-source .pcard-body,
    .protocol-source .do-dont,
    .protocol-source .info-grid,
    .protocol-source .sig-grid {
        grid-template-columns: 1fr;
    }

    .protocol-source .pcard-col {
        border-right: 0;
        border-bottom: 1px solid #F2F0EC;
    }

    .protocol-source [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    .dashboard-detail-grid {
        grid-template-columns: 1fr;
    }

    .onss-phase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .onss-custom-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .protocol-source-nav {
        position: static;
    }

    .protocol-source .shd,
    .protocol-source .pcard-hd {
        align-items: flex-start;
    }

    .onss-choice-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .onss-chip-grid,
    .onss-chip-row,
    .onss-phase-grid {
        grid-template-columns: 1fr;
    }
}

.demo-credentials strong,
.dashboard-panel-header h3,
.dashboard-module-topline h4 {
    color: #17203a;
}

.guest-footer {
    padding: 0 0 28px;
}

.dashboard-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 320px 1fr;
}

.dashboard-sidebar {
    padding: 26px;
    background: linear-gradient(180deg, #0f1830 0%, #17203a 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-sidebar .brand-link {
    color: #fff;
}

.dashboard-sidebar .brand-link span,
.dashboard-sidebar-copy p,
.dashboard-user-card span {
    color: rgba(255, 255, 255, .70);
}

/* Selectorul de an scolar din bara laterala. */
.dashboard-sidebar-year p {
    color: rgba(255, 255, 255, .70);
}

.dashboard-sidebar-year label {
    display: block;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 6px;
}

.dashboard-sidebar-year select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 14px;
    appearance: none;
}

.dashboard-sidebar-year select:focus {
    outline: 2px solid rgba(255, 255, 255, .35);
    outline-offset: 1px;
}

.dashboard-sidebar-year select option {
    color: #17203a;
    background: #fff;
}

.dashboard-sidebar-year-note {
    margin: 8px 0 0;
    font-size: 12px;
    color: #ffd27a;
}

.dashboard-nav {
    display: grid;
    gap: 18px;
}

.dashboard-nav-group {
    display: grid;
    gap: 10px;
}

.dashboard-nav-heading {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .48);
    padding: 0 6px;
}

.dashboard-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    background: rgba(255, 255, 255, .03);
    transition: all .2s ease;
}

.dashboard-nav-link.is-active,
.dashboard-nav-link:hover {
    background: linear-gradient(135deg, #2458cc, #1dbf73);
    color: #fff;
}

.dashboard-nav-link.is-disabled {
    opacity: .6;
    cursor: default;
}

/* Meniu acordeon: doar titlurile, submeniul coboara la click */
.dashboard-nav-caret {
    display: none;
}

.js-accordion .dashboard-nav-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background .2s ease, color .2s ease;
}

.js-accordion .dashboard-nav-heading:hover {
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .7);
}

.js-accordion .dashboard-nav-caret {
    display: inline-block;
    font-size: 10px;
    opacity: .55;
    transition: transform .2s ease;
}

.js-accordion .dashboard-nav-group.is-open > .dashboard-nav-heading .dashboard-nav-caret {
    transform: rotate(180deg);
}

.js-accordion .dashboard-nav-group:not(.is-open) .dashboard-nav-link {
    display: none;
}

.dashboard-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
}

.dashboard-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: linear-gradient(135deg, #2458cc, #1dbf73);
}

.dashboard-logout {
    width: 100%;
    justify-content: center;
}

/* Comutatorul de limba din bara laterala. Bara are fundal inchis, deci nu poate
   folosi paleta comutatorului public. Butoanele sunt de tip submit: alegerea se
   salveaza pe cont, nu se tine in adresa. */

/* Eticheta comutatorului de limba: aceeasi forma ca a selectorului de an de
   dedesubt, ca cele doua alegeri de context sa se citeasca drept o pereche. */

.dashboard-sidebar-locale-label {
    display: block;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 6px;
}

.lang-switch--app {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
}

.lang-switch--app .lang-switch-item {
    flex: 1;
    padding: 7px 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}

.lang-switch--app .lang-switch-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, .10);
}

.lang-switch--app .lang-switch-item.is-current {
    color: #0f1830;
    background: #fff;
}

.dashboard-main {
    padding: 28px;
}

.dashboard-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-kicker,
.dashboard-section-label {
    display: block;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5c6b8a;
    margin-bottom: 10px;
}

.dashboard-topbar h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1.08;
}

.dashboard-topbar p {
    margin: 10px 0 0;
    color: #62708f;
}

.dashboard-hero-panel,
.dashboard-panel,
.dashboard-stat-card {
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(36, 88, 204, .08);
    box-shadow: 0 24px 60px rgba(27, 39, 94, .08);
}

.dashboard-hero-panel {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 32px;
    margin-bottom: 26px;
    background:
        radial-gradient(circle at top right, rgba(36, 88, 204, .16), transparent 28%),
        rgba(255, 255, 255, .96);
}

.dashboard-hero-copy h2 {
    margin: 16px 0 14px;
    font-size: 34px;
    line-height: 1.12;
}

.dashboard-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.dashboard-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    height: 100%;
}

.dashboard-stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.dashboard-stat-copy span {
    display: block;
    color: #62708f;
    margin-bottom: 6px;
}

.dashboard-stat-copy strong {
    font-size: 24px;
    color: #17203a;
}

.accent-rose .dashboard-stat-icon {
    background: rgba(225, 72, 87, .12);
    color: #d92d20;
}

.accent-emerald .dashboard-stat-icon {
    background: rgba(29, 191, 115, .14);
    color: #18794f;
}

.accent-blue .dashboard-stat-icon {
    background: rgba(36, 88, 204, .12);
    color: #2458cc;
}

.accent-amber .dashboard-stat-icon {
    background: rgba(245, 158, 11, .12);
    color: #b45309;
}

.dashboard-panel {
    padding: 28px;
}

.dashboard-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.dashboard-toolbar-copy h3,
.dashboard-empty-state h3,
.dashboard-form-section h3,
.dashboard-period-card h3,
.dashboard-import-preview h3 {
    margin: 0 0 10px;
    font-size: 26px;
    color: #17203a;
}

.dashboard-toolbar-copy p,
.dashboard-empty-state p,
.dashboard-form-section p,
.dashboard-period-card p,
.dashboard-import-preview p,
.dashboard-muted {
    color: #62708f;
}

.dashboard-toolbar-actions,
.dashboard-filter-form,
.dashboard-inline-actions,
.dashboard-topbar-status {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.dashboard-button,
.dashboard-button-secondary,
.dashboard-button-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.dashboard-button {
    color: #fff;
    background: linear-gradient(135deg, #2458cc, #1dbf73);
    box-shadow: 0 18px 35px rgba(36, 88, 204, .18);
}

.dashboard-button-large {
    min-width: 220px;
    padding-inline: 24px;
}

.dashboard-button-secondary {
    color: #17203a;
    background: #f4f7ff;
    border: 1px solid rgba(36, 88, 204, .10);
}

.dashboard-button-danger {
    color: #fff;
    background: linear-gradient(135deg, #d92d20, #f97066);
}

.dashboard-button:hover,
.dashboard-button-secondary:hover,
.dashboard-button-danger:hover {
    transform: translateY(-1px);
}

.dashboard-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #f4f7ff;
    border: 1px solid rgba(36, 88, 204, .10);
    color: #17203a;
    text-decoration: none;
    font-size: 18px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.dashboard-icon-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(36, 88, 204, .10);
}

.dashboard-filter-shell,
.dashboard-table-shell,
.dashboard-form-shell,
.dashboard-import-preview,
.dashboard-summary-shell {
    display: grid;
    gap: 18px;
}

.dashboard-filter-form {
    width: 100%;
}

.dashboard-upload-card {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(36, 88, 204, .05);
    border: 1px solid rgba(36, 88, 204, .10);
    color: #17203a;
}

.dashboard-help-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: #475569;
}

.dashboard-help-list li + li {
    margin-top: 6px;
}

.informari-version-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    color: #334155;
    font-size: 14px;
}

.informari-managed-content {
    display: grid;
    gap: 24px;
}

.informari-library-hero {
    background:
        radial-gradient(circle at top left, rgba(29, 191, 115, 0.10), transparent 32%),
        linear-gradient(180deg, #f8f4ec 0%, #f5f1e8 100%);
    border: 1px solid rgba(18, 102, 79, 0.12);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(31, 41, 51, 0.08);
    padding: 28px;
    margin-bottom: 28px;
}

.informari-library-eyebrow {
    display: inline-block;
    background: #dcefe8;
    color: #12664f;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.informari-library-hero h2 {
    margin: 16px 0 10px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.informari-library-hero p {
    margin: 0;
    max-width: 760px;
    color: #62708f;
    font-size: 18px;
    line-height: 1.6;
}

.informari-folder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.informari-folder-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, #fff9ef 0%, #fff 100%);
    border: 1px solid #e6dfd1;
    border-radius: 22px;
    padding: 18px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.informari-folder-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(18, 102, 79, 0.12);
    border-color: rgba(18, 102, 79, 0.28);
}

.informari-folder-icon {
    width: 48px;
    height: 36px;
    border-radius: 12px 12px 8px 8px;
    background: linear-gradient(180deg, #f4cb62 0%, #e8b447 100%);
    position: relative;
    margin-bottom: 14px;
}

.informari-folder-icon::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 6px;
    width: 22px;
    height: 12px;
    border-radius: 8px 8px 0 0;
    background: #f7d57c;
}

.informari-folder-card h3 {
    margin: 0 0 6px;
    font-size: 22px;
}

.informari-folder-card p {
    margin: 0;
    color: #62708f;
    font-size: 14px;
}

.informari-resource-section {
    margin-top: 26px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(230, 223, 209, 0.9);
    border-radius: 24px;
    padding: 22px;
    backdrop-filter: blur(4px);
}

.informari-resource-list {
    display: grid;
    gap: 12px;
}

.informari-resource-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fffdf8;
    border: 1px solid #e6dfd1;
}

.informari-resource-copy h4 {
    margin: 0 0 6px;
    font-size: 18px;
}

.informari-resource-copy p {
    margin: 0;
    color: #62708f;
    font-size: 14px;
}

@media (max-width: 720px) {
    .informari-library-hero,
    .informari-resource-section {
        padding: 18px;
    }

    .informari-resource-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .informari-resource-card .dashboard-button {
        width: 100%;
    }
}

.dashboard-filter-field,
.dashboard-form-field {
    display: grid;
    gap: 8px;
}

.dashboard-filter-field {
    min-width: 180px;
    flex: 1 1 220px;
}

.dashboard-form-field label,
.dashboard-filter-field label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.dashboard-input,
.dashboard-select,
.dashboard-textarea {
    width: 100%;
    min-height: 54px;
    border-radius: 16px;
    border: 1px solid rgba(36, 88, 204, .14);
    background: #fff;
    color: #17203a;
    padding: 14px 16px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.dashboard-input::file-selector-button {
    margin-right: 14px;
    padding: 10px 14px;
    border: 0;
    border-radius: 12px;
    background: #eef4ff;
    color: #2458cc;
    font-weight: 700;
}

.dashboard-textarea {
    min-height: 120px;
    resize: vertical;
}

.dashboard-code-textarea {
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.55;
    min-height: 260px;
    white-space: pre;
}

.efs-editor {
    display: grid;
    gap: 18px;
}

.efs-editor-dimension {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(36, 88, 204, .12);
    background: #f8fbff;
}

.efs-editor-dimension-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px auto;
    gap: 14px;
    align-items: end;
}

.efs-editor-dimension-header .dashboard-section-label {
    display: block;
    margin-bottom: 8px;
}

.efs-editor-dimension-header label {
    margin-bottom: 8px;
}

.efs-editor-dimension-actions {
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
}

.efs-editor-toggle,
.efs-editor-add-criterion {
    min-height: 52px;
    white-space: nowrap;
}

.efs-editor-criteria {
    display: grid;
    gap: 14px;
}

.efs-editor-criteria.is-collapsed {
    display: none;
}

.efs-editor-criterion {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(23, 32, 58, .08);
    background: #fff;
}

.efs-editor-criterion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.efs-editor-criterion-title {
    color: #17203a;
    font-weight: 800;
}

.efs-editor-delete-criterion {
    min-height: 42px;
    padding: 10px 14px;
    white-space: nowrap;
}

.efs-editor-delete-criterion.is-disabled {
    cursor: not-allowed;
    opacity: .55;
}

.efs-editor-levels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.efs-editor-levels .dashboard-textarea {
    min-height: 112px;
    font-size: 14px;
    line-height: 1.45;
}

.efs-rubric-toggle {
    border: 0;
    background: rgba(36, 88, 204, .10);
    color: #2458cc;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.efs-rubric-row {
    display: none;
}

.efs-rubric-row.is-open {
    display: table-row;
}

.efs-rubric-panel {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    background: #f7faff;
    border: 1px solid rgba(36, 88, 204, .12);
}

.efs-rubric-grid {
    display: grid;
    gap: 14px;
}

.efs-rubric-dimension {
    background: #fff;
    border: 1px solid rgba(36, 88, 204, .10);
    border-radius: 14px;
    padding: 14px;
}

.efs-rubric-dimension-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.efs-rubric-dimension-header strong {
    color: #17203a;
}

.efs-rubric-criteria {
    display: grid;
    gap: 12px;
}

.efs-rubric-criterion {
    display: grid;
    gap: 8px;
}

.efs-rubric-levels {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 8px;
}

.efs-rubric-level {
    position: relative;
    min-height: 92px;
}

.efs-rubric-level input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.efs-rubric-level span {
    display: grid;
    gap: 4px;
    height: 100%;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(36, 88, 204, .16);
    background: #f9fbff;
    cursor: pointer;
    transition: .15s ease;
}

.efs-rubric-level input:checked + span {
    border-color: #2458cc;
    background: rgba(36, 88, 204, .10);
    box-shadow: 0 12px 26px rgba(36, 88, 204, .10);
}

.efs-rubric-level b {
    color: #2458cc;
}

.efs-rubric-level small {
    color: #62708f;
    line-height: 1.35;
}

.dashboard-select-multiple {
    min-height: 132px;
    padding: 10px;
}

.dashboard-select-multiple option {
    border-radius: 10px;
    padding: 10px 12px;
}

.dashboard-select-multiple option:checked {
    color: #17203a;
    background: linear-gradient(135deg, rgba(36, 88, 204, .16), rgba(29, 191, 115, .12));
}

.dashboard-input:focus,
.dashboard-select:focus,
.dashboard-textarea:focus {
    border-color: rgba(36, 88, 204, .45);
    box-shadow: 0 0 0 4px rgba(36, 88, 204, .10);
    outline: none;
}

.dashboard-autocomplete {
    position: relative;
}

.dashboard-autocomplete-results {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    max-height: 280px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid rgba(36, 88, 204, .14);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 54px rgba(15, 23, 42, .16);
    backdrop-filter: blur(10px);
}

.dashboard-autocomplete-results[hidden] {
    display: none !important;
}

.dashboard-autocomplete-option,
.dashboard-autocomplete-empty {
    box-sizing: border-box;
    width: 100%;
    display: block;
    min-height: 44px;
    padding: 12px 14px;
    border: 0 !important;
    border-radius: 14px;
    background: transparent !important;
    color: #24304f;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
}

.dashboard-autocomplete-option {
    cursor: pointer;
}

.dashboard-autocomplete-option:hover,
.dashboard-autocomplete-option:focus-visible {
    background: linear-gradient(135deg, rgba(36, 88, 204, .10), rgba(30, 194, 139, .10)) !important;
    color: #17203a;
    outline: none;
}

.dashboard-autocomplete-empty {
    color: #62708f;
}

.dashboard-form-field.has-error label,
.dashboard-filter-field.has-error label {
    color: #b42318;
}

.dashboard-input.is-invalid,
.dashboard-select.is-invalid,
.dashboard-textarea.is-invalid,
.form-control.is-invalid {
    border-color: rgba(225, 72, 87, .56) !important;
    box-shadow: 0 0 0 4px rgba(225, 72, 87, .10);
    background: #fffafb;
}

.dashboard-input.is-invalid:focus,
.dashboard-select.is-invalid:focus,
.dashboard-textarea.is-invalid:focus,
.form-control.is-invalid:focus {
    border-color: rgba(225, 72, 87, .72) !important;
    box-shadow: 0 0 0 4px rgba(225, 72, 87, .12);
}

.dashboard-field-error,
.dashboard-field-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.dashboard-field-error {
    color: #b42318;
}

.dashboard-field-error i {
    margin-top: 3px;
}

.dashboard-field-hint {
    color: #62708f;
}

.dashboard-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 600;
    color: #17203a;
    cursor: pointer;
}

.dashboard-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #d92d20;
    flex: 0 0 auto;
}

.dashboard-checkbox-compact {
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
}

.dashboard-link-inline {
    color: #2458cc;
    font-weight: 700;
    text-decoration: none;
}

.dashboard-link-inline:hover {
    text-decoration: underline;
}

.dashboard-form-grid,
.dashboard-summary-grid,
.dashboard-cards-grid {
    display: grid;
    gap: 18px;
}

.dashboard-form-grid.two-columns,
.dashboard-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-form-grid.three-columns,
.dashboard-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-class-indicator-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-class-indicator-controls .dashboard-select,
.dashboard-class-indicator-controls .dashboard-input {
    min-width: 0;
    flex: 1 1 0;
}

.dashboard-student-summary-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.dashboard-form-section {
    padding: 24px;
    border-radius: 24px;
    background: #f7f9fe;
    display: grid;
    gap: 18px;
}

.efs-grid-thresholds {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.efs-grid-threshold-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(36, 88, 204, .10);
    border-radius: 16px;
    background: #fff;
}

.dashboard-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.dashboard-meta-list {
    display: grid;
    gap: 10px;
}

.dashboard-meta-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff;
}

.dashboard-table-wrap {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.dashboard-table th,
.dashboard-table td {
    padding: 16px 14px;
    vertical-align: top;
    border-bottom: 1px solid rgba(36, 88, 204, .08);
}

.dashboard-table th {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
}

.dashboard-table td strong {
    color: #17203a;
}

.dashboard-table tbody tr:hover {
    background: rgba(36, 88, 204, .03);
}

.dashboard-table tbody tr:last-child td {
    border-bottom: 0;
}

.dashboard-team-groups {
    display: grid;
    gap: 14px;
}

.dashboard-team-export-panel .dashboard-filter-form {
    align-items: end;
}

.dashboard-team-selection-summary {
    display: grid;
    gap: 4px;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px dashed rgba(36, 88, 204, .22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(36, 88, 204, .05), rgba(30, 194, 139, .08));
}

.dashboard-team-selection-summary strong {
    color: #17203a;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.dashboard-team-selection-summary span {
    color: #62708f;
    font-size: 13px;
    font-weight: 600;
}

.dashboard-team-select-col {
    width: 92px;
    text-align: center;
}

.dashboard-team-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #62708f;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dashboard-team-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #2458cc;
    cursor: pointer;
}

.dashboard-team-checkbox span {
    display: none;
}

.dashboard-team-sport-card {
    overflow: hidden;
    border: 1px solid rgba(36, 88, 204, .10);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(36, 88, 204, .06), rgba(30, 194, 139, .08)),
        #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.dashboard-team-sport-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
}

.dashboard-team-sport-title {
    display: grid;
    gap: 6px;
}

.dashboard-team-sport-title h4 {
    margin: 0;
    color: #17203a;
    font-size: 22px;
    font-weight: 800;
}

.dashboard-team-sport-title p {
    margin: 0;
    color: #62708f;
    font-size: 14px;
}

.dashboard-team-sport-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 150px;
    padding: 13px 16px;
    border: 1px solid rgba(36, 88, 204, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    color: #17203a;
    font: inherit;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.dashboard-team-sport-toggle:hover,
.dashboard-team-sport-toggle:focus-visible {
    background: #fff;
    border-color: rgba(36, 88, 204, .26);
    outline: none;
}

.dashboard-team-sport-toggle i {
    color: #2458cc;
    transition: transform .18s ease;
}

.dashboard-team-sport-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.dashboard-team-sport-body {
    padding: 0 18px 18px;
}

.dashboard-team-sport-body[hidden] {
    display: none !important;
}

.dashboard-team-sport-body .dashboard-table-wrap {
    border: 1px solid rgba(36, 88, 204, .08);
    border-radius: 20px;
    background: #fff;
}

@media (max-width: 767.98px) {
    .dashboard-team-sport-header {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-team-sport-toggle {
        width: 100%;
    }
}

.dashboard-table-group-row td {
    display: table-cell;
    background: #f7f9fe;
    border-top: 1px solid rgba(36, 88, 204, .08);
    border-bottom: 1px solid rgba(36, 88, 204, .08);
}

.dashboard-table-group-row span {
    display: inline-flex;
    margin-right: 10px;
    font-weight: 800;
    color: #17203a;
}

.dashboard-table-group-row strong {
    color: #62708f;
    font-size: 13px;
}

.dashboard-row-title {
    display: grid;
    gap: 4px;
}

.dashboard-row-title small,
.dashboard-row-meta,
.dashboard-table td p,
.dashboard-validation-list li {
    color: #62708f;
}

.dashboard-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #f4f7ff;
    color: #2458cc;
    border: 1px solid rgba(36, 88, 204, .08);
}

.dashboard-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dashboard-chip.is-success {
    background: rgba(29, 191, 115, .12);
    color: #18794f;
}

.dashboard-chip.is-warning {
    background: rgba(245, 158, 11, .14);
    color: #b45309;
}

.dashboard-chip.is-danger {
    background: rgba(225, 72, 87, .12);
    color: #b42318;
}

.dashboard-chip.is-muted {
    background: rgba(100, 116, 139, .10);
    color: #475569;
}

.dashboard-inline-actions form {
    display: inline-flex;
}

.dashboard-empty-state {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 18px;
    padding: 34px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(36, 88, 204, .14), transparent 30%),
        #f7f9fe;
}

.dashboard-empty-state-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(36, 88, 204, .14), rgba(29, 191, 115, .12));
    color: #2458cc;
    font-size: 24px;
}

.dashboard-empty-state-copy {
    display: grid;
    gap: 14px;
}

.dashboard-empty-state-actions {
    grid-column: 2;
}

.dashboard-empty-state-note {
    margin-top: 8px;
    font-size: 14px;
}

.dashboard-validation {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(225, 72, 87, .10);
    color: #b42318;
    margin-bottom: 18px;
    border: 1px solid rgba(225, 72, 87, .16);
}

.dashboard-validation-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dashboard-validation-icon {
    font-size: 18px;
    line-height: 1;
    margin-top: 2px;
}

.dashboard-validation-copy {
    margin-top: 4px;
    font-size: 14px;
    color: #7a271a;
}

.dashboard-validation-list {
    margin: 10px 0 0;
    padding-left: 18px;
}

.dashboard-summary-card,
.dashboard-period-card,
.dashboard-import-row {
    padding: 22px;
    border-radius: 22px;
    background: #f7f9fe;
}

.dashboard-summary-card strong {
    display: block;
    font-size: 30px;
    color: #17203a;
}

.dashboard-summary-link {
    display: inline-block;
    text-decoration: none;
}

.dashboard-summary-link strong {
    color: #2458cc;
    transition: color .2s ease;
}

.dashboard-summary-link:hover strong,
.dashboard-summary-link:focus-visible strong {
    color: #1b47a6;
    text-decoration: underline;
}

.dashboard-summary-card span {
    color: #62708f;
}

.dashboard-student-summary-grid .dashboard-summary-card {
    padding: 20px 18px;
}

.dashboard-student-summary-grid .dashboard-summary-card strong {
    font-size: 28px;
}

.dashboard-student-summary-grid .dashboard-summary-card span {
    font-size: 13px;
}

@media (max-width: 1599.98px) {
    .dashboard-student-summary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .dashboard-student-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .dashboard-student-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Patru carduri pe un rand; pe ecrane inguste revin la doua, apoi la unul. */
.dashboard-summary-grid.is-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 991.98px) {
    .dashboard-summary-grid.is-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .dashboard-summary-grid.is-four {
        grid-template-columns: 1fr;
    }
}

.dashboard-import-callout {
    border: 1px solid rgba(36, 88, 204, .10);
    background: linear-gradient(135deg, rgba(36, 88, 204, .05), rgba(29, 191, 115, .05));
}

.dashboard-table-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dashboard-import-callout-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dashboard-advanced-shell {
    overflow: hidden;
}

.dashboard-advanced-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
}

.dashboard-advanced-summary::-webkit-details-marker {
    display: none;
}

.dashboard-advanced-summary p {
    margin-bottom: 0;
}

.dashboard-advanced-shell[open] .dashboard-advanced-summary {
    border-bottom: 1px solid rgba(23, 32, 58, .08);
}

.dashboard-period-grid,
.dashboard-import-grid {
    display: grid;
    gap: 16px;
}

.dashboard-period-card form,
.dashboard-import-row {
    display: grid;
    gap: 14px;
}

.dashboard-period-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-import-sample {
    display: grid;
    gap: 10px;
}

.dashboard-sample-table {
    width: 100%;
    font-size: 14px;
}

.dashboard-sample-table th,
.dashboard-sample-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(36, 88, 204, .08);
}

.dashboard-code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 10px;
    background: #eef4ff;
    color: #2458cc;
}

.dashboard-file-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.dashboard-panel-header h3 {
    margin: 0;
    font-size: 26px;
}

.dashboard-module-grid {
    display: grid;
    gap: 16px;
}

.dashboard-module-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 22px;
    background: #f7f9fe;
}

.dashboard-module-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2458cc, #1dbf73);
    color: #fff;
    font-size: 22px;
}

.dashboard-module-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.dashboard-checklist {
    display: grid;
    gap: 12px;
}

.demo-credentials-dashboard {
    margin-top: 0;
}

.dashboard-analytics-split {
    display: grid;
    gap: 6px;
}

.dashboard-chip.is-soft-pink {
    background: #fff0f5;
    color: #c34f7c;
}

.dashboard-chip.is-soft-blue {
    background: #eef5ff;
    color: #2f67cf;
}

.dashboard-analytics-chart {
    display: grid;
    gap: 16px;
}

.dashboard-analytics-chart-row {
    display: grid;
    grid-template-columns: minmax(180px, 220px) 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fbfcff 0%, #f4f7ff 100%);
    border: 1px solid rgba(36, 88, 204, 0.08);
}

.dashboard-analytics-chart-label {
    display: grid;
    gap: 6px;
}

.dashboard-analytics-chart-label strong {
    font-size: 15px;
    color: #14213d;
}

.dashboard-analytics-chart-label small {
    color: #6c7486;
}

.dashboard-analytics-chart-bars {
    display: grid;
    gap: 12px;
}

.dashboard-analytics-bar-group {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
    align-items: center;
}

.dashboard-analytics-bar-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7b8498;
}

.dashboard-analytics-bar-track {
    position: relative;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(20, 33, 61, 0.08);
}

.dashboard-analytics-bar {
    height: 100%;
    min-width: 0;
    border-radius: inherit;
}

.dashboard-analytics-bar.is-girls {
    background: linear-gradient(90deg, #ff8bb1 0%, #ff5e8f 100%);
}

.dashboard-analytics-bar.is-boys {
    background: linear-gradient(90deg, #64a8ff 0%, #2458cc 100%);
}

.dashboard-analytics-histogram {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 14px;
    align-items: end;
    min-height: 280px;
}

.dashboard-analytics-histogram-column {
    display: grid;
    gap: 10px;
    align-items: end;
    justify-items: center;
    padding: 16px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfcff 0%, #f5f8ff 100%);
    border: 1px solid rgba(20, 33, 61, 0.08);
}

.dashboard-analytics-histogram-value {
    font-size: 18px;
    line-height: 1;
    color: #14213d;
}

.dashboard-analytics-histogram-label {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    color: #4a5368;
}

.dashboard-analytics-histogram-track {
    position: relative;
    width: 100%;
    height: 18px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(20, 33, 61, 0.08);
}

.dashboard-analytics-histogram-track.is-vertical {
    width: 100%;
    max-width: 52px;
    height: 150px;
    display: flex;
    align-items: end;
    justify-content: center;
    border-radius: 18px;
}

.dashboard-analytics-histogram-bar {
    height: 100%;
    min-width: 0;
    border-radius: inherit;
}

.dashboard-analytics-histogram-bar.is-vertical {
    width: 100%;
    height: 0;
    border-radius: 18px 18px 10px 10px;
}

.dashboard-analytics-histogram-bar.is-girls {
    background: linear-gradient(90deg, #ff8bb1 0%, #ff5e8f 100%);
}

.dashboard-analytics-histogram-bar.is-boys {
    background: linear-gradient(90deg, #64a8ff 0%, #2458cc 100%);
}

.dashboard-analytics-histogram-bar.is-girls.is-vertical {
    background: linear-gradient(180deg, #ff8bb1 0%, #ff5e8f 100%);
}

.dashboard-analytics-histogram-bar.is-boys.is-vertical {
    background: linear-gradient(180deg, #64a8ff 0%, #2458cc 100%);
}

.dashboard-map-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px 18px;
}

.dashboard-map-toolbar-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.dashboard-map-toolbar-select {
    max-width: 280px;
}

.dashboard-ro-map-shell {
    padding: 0 20px 20px;
}

.dashboard-ro-map-stage {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, #fbfcff 0%, #f5f8ff 100%);
    border: 1px solid rgba(20, 33, 61, 0.08);
}

.dashboard-ro-map-svg {
    display: block;
    width: 100%;
    height: auto;
}

.dashboard-ro-map-svg path {
    transition: transform 160ms ease, fill 160ms ease, opacity 160ms ease;
    cursor: pointer;
}

.dashboard-ro-map-svg path:hover,
.dashboard-ro-map-svg path:focus {
    transform: translateY(-1px);
    opacity: 0.92;
    outline: none;
}

.dashboard-ro-map-tooltip {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 4px;
    min-width: 170px;
    max-width: 240px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(20, 33, 61, 0.94);
    color: #ffffff;
    font-size: 12px;
    pointer-events: none;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
}

.dashboard-ro-map-tooltip strong {
    font-size: 13px;
}

.dashboard-ro-map-legend {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.dashboard-ro-map-legend-scale {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
}

.dashboard-ro-map-legend-gradient {
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgb(226, 232, 240) 0%, rgb(96, 165, 250) 50%, rgb(22, 84, 201) 100%);
}

.dashboard-ro-map-legend-start,
.dashboard-ro-map-legend-end,
.dashboard-ro-map-legend-copy {
    font-size: 12px;
    color: #6b7280;
}

.dashboard-survey-sticky {
    position: sticky;
    top: 24px;
}

.dashboard-survey-progress-shell {
    display: grid;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fbfcff 0%, #f4f8ff 100%);
    border: 1px solid rgba(36, 88, 204, 0.10);
    margin-bottom: 18px;
}

.dashboard-survey-progress-copy {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-survey-progress-copy strong {
    font-size: 36px;
    line-height: 1;
    color: #17203a;
}

.dashboard-survey-progress-copy span,
.dashboard-survey-progress-shell small {
    color: #62708f;
}

.dashboard-survey-progress-bar {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(20, 33, 61, 0.08);
}

.dashboard-survey-progress-bar div {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #2458cc 0%, #1dbf73 100%);
    transition: width 0.2s ease;
}

.dashboard-survey-section-list {
    display: grid;
    gap: 12px;
}

.dashboard-survey-section-link {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    text-decoration: none;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(20, 33, 61, 0.08);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.dashboard-survey-section-link:hover,
.dashboard-survey-section-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(36, 88, 204, 0.22);
    box-shadow: 0 12px 24px rgba(20, 33, 61, 0.08);
}

.dashboard-survey-section-badge {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
}

.dashboard-survey-section-copy {
    display: grid;
    gap: 4px;
}

.dashboard-survey-section-copy strong {
    color: #17203a;
}

.dashboard-survey-section-copy small {
    color: #62708f;
}

.dashboard-survey-question-list {
    display: grid;
    gap: 18px;
}

.dashboard-survey-question {
    padding: 20px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid rgba(20, 33, 61, 0.08);
}

.dashboard-survey-question-header {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.dashboard-survey-question-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
}

.dashboard-survey-question-copy {
    display: grid;
    gap: 8px;
}

.dashboard-survey-question-copy h4 {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
}

.dashboard-survey-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dashboard-survey-options {
    display: grid;
    gap: 10px;
}

.dashboard-survey-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(20, 33, 61, 0.10);
    cursor: pointer;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.dashboard-survey-option.is-active,
.dashboard-survey-option:hover,
.dashboard-survey-option:focus-within {
    border-color: rgba(36, 88, 204, 0.28);
    background: #eef5ff;
    box-shadow: 0 10px 20px rgba(36, 88, 204, 0.08);
}

.dashboard-survey-option input {
    margin-top: 3px;
    accent-color: #2458cc;
}

.dashboard-survey-scale {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.dashboard-survey-scale-option {
    position: relative;
    display: grid;
    gap: 6px;
    justify-items: center;
    text-align: center;
    padding: 18px 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(20, 33, 61, 0.10);
    cursor: pointer;
    transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.dashboard-survey-scale-option:hover,
.dashboard-survey-scale-option:focus-within,
.dashboard-survey-scale-option.is-active {
    transform: translateY(-1px);
    border-color: rgba(36, 88, 204, 0.28);
    box-shadow: 0 10px 20px rgba(20, 33, 61, 0.08);
}

.dashboard-survey-scale-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dashboard-survey-scale-option strong {
    font-size: 28px;
    color: #17203a;
    line-height: 1;
}

.dashboard-survey-scale-option span {
    font-size: 12px;
    color: #62708f;
}

.dashboard-survey-rank-grid {
    display: grid;
    gap: 12px;
}

.dashboard-survey-rank-row {
    display: grid;
    grid-template-columns: 1fr minmax(180px, 220px);
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(20, 33, 61, 0.10);
}

.dashboard-survey-rank-copy strong {
    color: #17203a;
}

.dashboard-survey-textarea {
    min-height: 120px;
}

.dashboard-survey-review-list {
    display: grid;
    gap: 12px;
}

.dashboard-survey-review-item {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(20, 33, 61, 0.08);
}

.dashboard-survey-review-item strong {
    color: #17203a;
}

.dashboard-survey-review-item span {
    color: #62708f;
    white-space: pre-wrap;
}

.dashboard-survey-admin-card {
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fbfcff 0%, #f7f9fe 100%);
    border: 1px solid rgba(20, 33, 61, 0.08);
}

.dashboard-survey-admin-card.is-create,
.dashboard-survey-question-admin.is-create {
    border-style: dashed;
}

.dashboard-survey-question-admin {
    padding: 20px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(20, 33, 61, 0.08);
}

.dashboard-survey-toggle-field {
    display: grid;
    gap: 8px;
    align-content: start;
}

.dashboard-survey-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(20, 33, 61, 0.10);
    color: #374151;
}

.dashboard-survey-toggle input {
    accent-color: #2458cc;
}

@media (max-width: 1199.98px) {
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        border-radius: 0 0 28px 28px;
    }
}

@media (max-width: 767.98px) {
    .dashboard-analytics-chart-row,
    .dashboard-analytics-bar-group {
        grid-template-columns: 1fr;
    }

    .dashboard-survey-sticky {
        position: static;
    }

    .dashboard-map-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-map-toolbar-select {
        max-width: 100%;
        width: 100%;
    }

    .dashboard-survey-question-header,
    .dashboard-survey-rank-row {
        grid-template-columns: 1fr;
    }

    .dashboard-survey-scale {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-analytics-histogram {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guest-header-bar,
    .guest-footer-inner,
    .dashboard-topbar,
    .dashboard-hero-panel,
    .dashboard-module-topline,
    .dashboard-toolbar,
    .dashboard-table-filter {
        flex-direction: column;
        align-items: flex-start;
    }

    .guest-hero-copy h1,
    .dashboard-topbar h1,
    .dashboard-hero-copy h2 {
        font-size: 32px;
    }

    .login,
    .dashboard-panel,
    .dashboard-hero-panel,
    .dashboard-stat-card {
        padding: 22px;
    }

    .dashboard-module-card {
        grid-template-columns: 1fr;
    }

    .dashboard-form-grid.two-columns,
    .dashboard-form-grid.three-columns,
    .dashboard-summary-grid,
    .dashboard-cards-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-class-indicator-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .efs-editor-dimension-header,
    .efs-editor-levels {
        grid-template-columns: 1fr;
    }

    .efs-rubric-levels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .efs-grid-thresholds {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-import-callout-body,
    .dashboard-advanced-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-empty-state {
        grid-template-columns: 1fr;
    }

    .dashboard-empty-state-actions {
        grid-column: auto;
    }
}

/* ==========================================================================
   Autentificare in doi pasi (2FA)
   ========================================================================== */

.dashboard-user-card-link {
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: background .2s ease;
}

.dashboard-user-card-link:hover,
.dashboard-user-card-link.is-active {
    background: rgba(255, 255, 255, .12);
}

.dashboard-user-card-badge {
    margin-left: auto;
    color: #1dbf73;
    font-size: 16px;
}

.two-factor-setup {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.two-factor-qr {
    flex: 0 0 auto;
    width: 200px;
    height: 200px;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f5;
}

.two-factor-qr svg {
    width: 100%;
    height: 100%;
    display: block;
}

.two-factor-setup-copy {
    flex: 1 1 260px;
}

.two-factor-steps {
    margin: 0 0 18px;
    padding-left: 20px;
    color: #62708f;
    line-height: 1.7;
}

.two-factor-secret code {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #f2f5fb;
    border: 1px solid #e2e8f5;
    font-size: 18px;
    letter-spacing: .16em;
    color: #17203a;
}

.two-factor-recovery-codes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.two-factor-recovery-codes code {
    padding: 10px 14px;
    border-radius: 10px;
    background: #f2f5fb;
    border: 1px solid #e2e8f5;
    font-size: 16px;
    letter-spacing: .12em;
    text-align: center;
    color: #17203a;
}

.two-factor-recovery-toggle summary {
    cursor: pointer;
    color: #2458cc;
    font-weight: 500;
}

.two-factor-recovery-toggle summary:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .two-factor-recovery-codes {
        grid-template-columns: 1fr;
    }

    .two-factor-qr {
        margin: 0 auto;
    }
}

/* Ajutorul ecranului curent: buton in bara de sus si panou lateral. */
.dashboard-help-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(36, 88, 204, 0.18);
    background: #fff;
    color: #2458cc;
    font-size: 17px;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.dashboard-help-trigger:hover {
    background: rgba(36, 88, 204, 0.06);
    border-color: rgba(36, 88, 204, 0.35);
}

.dashboard-help-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 33, 61, 0.35);
    z-index: 1040;
}

.dashboard-help-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100%);
    background: #fff;
    box-shadow: -18px 0 45px rgba(20, 33, 61, 0.18);
    z-index: 1050;
    display: flex;
    flex-direction: column;
}

.dashboard-help-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(20, 33, 61, 0.08);
}

.dashboard-help-header h3 {
    margin: 0;
    font-size: 20px;
    color: #17203a;
}

.dashboard-help-close {
    border: 0;
    background: transparent;
    color: #62708f;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

.dashboard-help-body {
    padding: 20px 24px 28px;
    overflow-y: auto;
    display: grid;
    gap: 22px;
}

.dashboard-help-article-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
    color: #17203a;
}

.dashboard-help-article p {
    margin: 0;
    color: #62708f;
    font-size: 14px;
    line-height: 1.65;
    white-space: pre-line;
}

body.has-help-open {
    overflow: hidden;
}

/* Actiunile de pe un rand de tabel raman pe aceeasi linie. */
.dashboard-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
}

.dashboard-row-actions form {
    margin: 0;
}

/* Valoare afisata in locul unui camp pe care utilizatorul nu are voie sa-l vada. */
.dashboard-static-value {
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(20, 33, 61, 0.04);
    border: 1px dashed rgba(20, 33, 61, 0.14);
    color: #62708f;
    font-size: 14px;
}

/* Pasii unei cereri de acces: scoala, apoi contul celui care a cerut. */
.dashboard-steps {
    border-top: 1px solid var(--dashboard-border, #e4e7ec);
}

.dashboard-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--dashboard-border, #e4e7ec);
}

.dashboard-step-index {
    flex: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #9aa4b2;
    padding-top: 3px;
}

.dashboard-step-body {
    flex: 1 1 auto;
    min-width: 0;
}

.dashboard-step-body strong {
    display: block;
    margin-bottom: 4px;
}

.dashboard-step-body .dashboard-field-hint {
    margin: 0;
}

.dashboard-step-action {
    flex: none;
}

@media (max-width: 640px) {
    .dashboard-step {
        flex-wrap: wrap;
    }

    .dashboard-step-action {
        width: 100%;
        padding-left: 32px;
    }
}

/* Numarul de cereri necitite, langa intrarea din meniu si pe titlul grupului,
   ca semnalul sa se vada si cand grupul este strans. */
.dashboard-nav-heading-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dashboard-nav-badge {
    margin-left: auto;
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #d92d20;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.dashboard-nav-heading-label .dashboard-nav-badge {
    margin-left: 0;
}

/* Alegerea scolii pentru o cerere: eticheta, lista si butonul pe acelasi rand. */
.dashboard-inline-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.dashboard-inline-form label {
    margin: 0;
}

.dashboard-inline-form .dashboard-select {
    width: auto;
    min-width: 220px;
    max-width: 100%;
}

/* Cardul motric din pasaport: desenul este SVG scris de mana, deci are nevoie
   doar de o latime maxima si de centrare - restul geometriei sta in viewBox. */
.dashboard-motor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.dashboard-motor-card svg {
    width: 100%;
    max-width: 420px;
    height: auto;
}

/* Comutatorul spre contul didactic. Butonul de baza are inaltime fixa, o linie
   si `overflow: hidden`, potrivite pentru „Deconectare", dar nu si pentru o
   eticheta mai lunga, care ramanea taiata la jumatate. Il lasam sa curga pe doua
   randuri, pastrandu-i forma. */

.dashboard-account-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto;
    min-height: 50px;
    line-height: 1.3;
    padding: 12px 22px;
    white-space: normal;
    text-wrap: balance;
}

/* Anuntul ciornei refacute: mesajul si butonul de renuntare pe acelasi rand,
   ca alerta sa nu imparta formularul in doua. */

.dashboard-draft-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0 0 18px;
}

/* Prezenta la ora de sport: patru stari ca butoane alaturate, una aleasa. */
.attendance-status {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
}

.attendance-status input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.attendance-status label {
    min-width: 42px;
    padding: 6px 10px;
    border: 1px solid rgba(100, 116, 139, .25);
    border-radius: 10px;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.attendance-status input:focus-visible + label {
    outline: 2px solid #2458cc;
    outline-offset: 2px;
}

.attendance-status input:disabled + label {
    cursor: not-allowed;
    opacity: .45;
}

.attendance-status input[value="present"]:checked + label {
    border-color: rgba(29, 191, 115, .5);
    background: rgba(29, 191, 115, .12);
    color: #18794f;
}

.attendance-status input[value="absent"]:checked + label {
    border-color: rgba(225, 72, 87, .5);
    background: rgba(225, 72, 87, .12);
    color: #b42318;
}

.attendance-status input[value="absent_excused"]:checked + label {
    border-color: rgba(36, 88, 204, .45);
    background: rgba(36, 88, 204, .10);
    color: #1b47a6;
}

.attendance-status input[value="no_equipment"]:checked + label {
    border-color: rgba(245, 158, 11, .5);
    background: rgba(245, 158, 11, .14);
    color: #b45309;
}

/* Nivelurile pe competente folosesc aceleasi butoane. Nivelul nu e o nota,
   deci culorile nu spun „bine” sau „rau”: doar ce s-a ales. */
.attendance-status input[value="basic"]:checked + label,
.attendance-status input[value="consolidated"]:checked + label,
.attendance-status input[value="advanced"]:checked + label {
    border-color: rgba(36, 88, 204, .45);
    background: rgba(36, 88, 204, .10);
    color: #1b47a6;
}

.attendance-status input[value="none"]:checked + label {
    border-color: rgba(100, 116, 139, .45);
    background: rgba(100, 116, 139, .12);
    color: #334155;
}

.attendance-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0 0 12px;
    color: #62708f;
    font-size: 13px;
}
