/* tvls-notebook.css — Sổ Tay, Điểm Số, Admin & Privacy Styles */
/* ===============================================================
   TVLS ENHANCED MODULES: GRADES, ADMISSION, ADMIN, PRIVACY & CONNECT
   =============================================================== */

/* 1. IMPERSONATION BANNER */
.impersonation-banner {
    background: #fef3c7;
    border-bottom: 2px solid #f59e0b;
    color: #92400e;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 9999;
}
.btn-exit-impersonate {
    background: #b45309;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* 2. SỔ ĐIỂM THÔNG TƯ 22 */
.grades-header-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.grades-select-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.grades-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.summary-stat-card {
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.summary-stat-card .stat-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.summary-stat-card .stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.summary-stat-card .stat-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
}

/* SMART TARGET SOLVER TOOLBAR */
.smart-solver-bar {
    background: #f8fafc;
    border: 1.5px solid #dbe2ea;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.solver-target-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* GRADES TABLE */
.grades-table-wrap {
    overflow-x: auto;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #dbe2ea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.grades-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.grades-table th {
    background: #f1f5f9;
    color: #1f4e79;
    font-weight: 700;
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1.5px solid #dbe2ea;
    white-space: nowrap;
}
.grades-table td {
    padding: 8px 6px;
    border-bottom: 1px solid #edf2f7;
    text-align: center;
}
.grades-table td.subject-name-col {
    text-align: left;
    font-weight: 700;
    color: #0f172a;
    padding-left: 14px;
}
.score-cell-input {
    width: 48px;
    height: 32px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #0f172a;
    transition: all 0.15s ease;
}
.score-cell-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.15);
}
.score-cell-input.predicted {
    background: #fef9c3;
    border-color: #f59e0b;
    color: #b45309;
    font-style: italic;
}
.score-avg-badge {
    display: inline-block;
    min-width: 42px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 13px;
    background: #e8f1fa;
    color: #1f4e79;
}

/* SWITCH & TOGGLE CHO MÔN ĐÁNH GIÁ ĐẠT / CHƯA ĐẠT (ĐIỂM CHỮ) */
.eval-toggle-btn {
    width: 48px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    border-radius: 6px;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}
.eval-toggle-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}
.eval-toggle-btn.pass {
    background: #dcfce7;
    border-color: #86efac;
    color: #15803d;
}
.eval-toggle-btn.fail {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}
.eval-toggle-btn.empty {
    background: #ffffff;
    border-style: dashed;
    color: #94a3b8;
}
.eval-toggle-btn:disabled {
    cursor: default;
    opacity: 0.85;
}

.eval-switch-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}
.eval-switch-control {
    position: relative;
    width: 44px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 12px;
    transition: background 0.2s ease;
    display: inline-block;
}
.eval-switch-control.active {
    background: #2eb85c;
}
.eval-switch-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.eval-switch-control.active .eval-switch-knob {
    transform: translateX(20px);
}
.eval-switch-text {
    font-size: 13px;
    font-weight: 800;
}
.eval-switch-text.pass {
    color: #15803d;
}
.eval-switch-text.fail {
    color: #b91c1c;
}

html.dark-mode .eval-toggle-btn {
    background: #1e293b;
    border-color: #334155;
    color: #64748b;
}
html.dark-mode .eval-toggle-btn.pass {
    background: #064e3b;
    border-color: #059669;
    color: #6ee7b7;
}
html.dark-mode .eval-toggle-btn.fail {
    background: #7f1d1d;
    border-color: #dc2626;
    color: #fca5a5;
}
html.dark-mode .eval-switch-control {
    background: #334155;
}
html.dark-mode .eval-switch-control.active {
    background: #059669;
}
html.dark-mode .eval-switch-knob {
    background: #f8fafc;
}

/* 3. MÔ PHỎNG XÉT TUYỂN LỚP 10 */
.admission-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 20px;
}
@media (max-width: 900px) {
    .admission-grid {
        grid-template-columns: 1fr;
    }
}
.admission-input-card {
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.benchmark-card {
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}
.benchmark-card:hover {
    border-color: #2e75b6;
    box-shadow: 0 4px 12px rgba(31, 78, 121, 0.08);
}
.benchmark-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.benchmark-school-name {
    font-size: 15px;
    font-weight: 700;
    color: #1f4e79;
}
.benchmark-score-tag {
    font-size: 13px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}
.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #edf2f7;
    border-radius: 4px;
    overflow: hidden;
    margin: 6px 0;
}
.progress-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* 4. CÀI ĐẶT & KẾT NỐI PHỤ HUYNH */
.settings-section-card {
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.settings-title {
    font-size: 16px;
    font-weight: 800;
    color: #1f4e79;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.avatar-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 10px;
    margin-top: 10px;
}
.avatar-choice-btn {
    width: 50px;
    height: 50px;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 50%;
    background: #f1f5f9;
    cursor: pointer;
    transition: all 0.15s ease;
}
.avatar-choice-btn.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(31, 78, 121, 0.2);
}
.theme-picker-grid {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.theme-choice-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.theme-choice-btn:hover {
    transform: scale(1.12);
}
.theme-choice-btn.selected {
    transform: scale(1.18);
    box-shadow: 0 0 0 3px var(--primary), 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Dark mode adjustments cho bảng điểm & thẻ */
html.dark-mode .summary-stat-card,
html.dark-mode .settings-section-card,
html.dark-mode .admission-input-card,
html.dark-mode .smart-solver-bar,
html.dark-mode .connect-code-box {
    background: var(--bg-card) !important;
    border-color: var(--border-card) !important;
    color: var(--text-main) !important;
}
html.dark-mode .form-control,
html.dark-mode .score-cell-input {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #475569 !important;
}
html.dark-mode .table thead th,
html.dark-mode .grades-table thead th {
    background: #1e293b !important;
    color: #93c5fd !important;
    border-color: #334155 !important;
}
html.dark-mode .grades-table td,
html.dark-mode .table td {
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}
html.dark-mode .score-cell-input.predicted {
    background: #451a03 !important;
    border-color: #b45309 !important;
    color: #fde68a !important;
}
html.dark-mode .score-avg-badge {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}
html.dark-mode .modal-content {
    background: #0f172a !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}
html.dark-mode .modal-header {
    border-color: #334155 !important;
}
html.dark-mode .btn-outline {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #475569 !important;
}
html.dark-mode .top-icon-btn {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #f1f5f9 !important;
}
.connect-code-box {
    background: #f8fafc;
    border: 2px dashed #2e75b6;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin: 12px 0;
}
.connect-code-digits {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #1f4e79;
    font-family: var(--font-title);
}

/* 5. ADMIN WORKSPACE */
.admin-card-header {
    background: linear-gradient(135deg, #1f4e79 0%, #2e75b6 100%);
    color: #ffffff;
    padding: 16px 22px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.admin-card-header h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}
.admin-subnav {
    display: flex;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.admin-subnav-btn {
    padding: 7px 14px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}
.admin-subnav-btn.active {
    background: #ffffff;
    color: #1f4e79;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* 6. PRIVACY POLICY MODAL */
.policy-modal-body {
    max-height: 65vh;
    overflow-y: auto;
    font-size: 13.5px;
    line-height: 1.55;
    color: #334155;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}
.policy-modal-body::-webkit-scrollbar {
    width: 6px;
}
.policy-modal-body::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
}
.policy-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.policy-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.policy-commitment-item {
    background: #f8fafc;
    border-left: 3.5px solid #1f4e79;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    margin-bottom: 10px;
    transition: background 0.15s ease;
}
.policy-commitment-item:hover {
    background: #f1f5f9;
}
.policy-commitment-item h4 {
    margin: 0 0 3px;
    color: #1f4e79;
    font-size: 13.5px;
    font-weight: 800;
}
.policy-commitment-item p {
    font-size: 12.5px;
    line-height: 1.5;
}

/* ===============================================================
   TỐI ƯU TOÀN DIỆN CHO LAPTOP 14 - 15 INCH (1280px - 1536px, TỶ LỆ 16:9 / 16:10)
   =============================================================== */
@media screen and (min-width: 1025px) and (max-width: 1536px) {
    .app-topbar {
        height: 52px;
        min-height: 52px;
        padding: 0 14px;
        gap: 12px;
    }
    .main-container {
        height: calc(100vh - 52px);
        padding: 8px 12px 16px;
    }
    .card {
        padding: 8px 12px;
        margin-bottom: 6px;
    }
    .tkb-table td {
        height: 34px;
        padding: 2px 3px;
    }
    .tkb-badge-card {
        height: 28px;
        font-size: 11.5px;
    }
    .seat-card {
        height: 54px;
        min-height: 54px;
        padding: 4px 6px;
    }
    .seat-name {
        font-size: 13.5px;
    }
    .classroom-wrapper {
        padding: 6px 8px;
    }
    .podium-box {
        height: 30px;
        min-height: 30px;
        font-size: 12px;
    }
}

/* ===============================================================
   TỐI ƯU TOPBAR & GIAO DIỆN DI ĐỘNG KHI PHỤ HUYNH TRUY CẬP (<= 768px)
   =============================================================== */
@media (max-width: 768px) {
    /* Topbar chuẩn App Mobile */
    .app-topbar {
        height: auto !important;
        min-height: auto !important;
        padding: 8px 10px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    .topbar-left {
        justify-content: space-between !important;
        width: 100% !important;
    }
    .topbar-left .brand-logo-img {
        width: 32px !important;
        height: 32px !important;
    }
    .brand-info h1 {
        font-size: 13.5px !important;
    }
    .brand-info p {
        display: none !important;
    }
    
    /* Navigation vuốt ngang mượt mà trên mobile */
    .topbar-nav {
        display: flex !important;
        overflow-x: auto !important;
        width: 100% !important;
        padding: 2px 0 4px !important;
        gap: 6px !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .topbar-nav::-webkit-scrollbar {
        display: none !important;
    }
    .topbar-nav .tab-btn {
        padding: 6px 12px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
        border-radius: 20px !important;
    }

    .topbar-right {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 6px !important;
    }
    .cloud-badge {
        font-size: 9.5px !important;
        padding: 2px 6px !important;
    }
    .btn-topbar-action, .btn-print-topbar {
        font-size: 11px !important;
        padding: 4px 8px !important;
        height: 30px !important;
    }
    .btn-print-topbar {
        display: none !important; /* Mobile không cần nút in trực tiếp trên thanh */
    }

    /* Modal trên Mobile */
    .modal-content {
        margin: 10px !important;
        max-height: 85vh !important;
        border-radius: 14px !important;
    }
    .policy-modal-body {
        max-height: 60vh !important;
        font-size: 12.5px !important;
    }
    .policy-commitment-item {
        padding: 8px 10px !important;
    }

    /* Màn hình khóa Auth Gate trên mobile */
    #auth-gate-screen > div {
        padding: 24px 18px 20px !important;
        margin: 12px !important;
    }
    .welcome-logo-img {
        width: 260px !important;
        height: auto !important;
        max-height: 190px !important;
        margin-bottom: 20px !important;
    }
    #auth-gate-screen h1 {
        font-size: 17px !important;
    }
    #btn-gate-google-login {
        font-size: 13.5px !important;
        padding: 11px 14px !important;
    }
}

/* ĐIỂM CỘNG THEO MÔN (cột trước điểm thường xuyên) */
.grades-table td.diem-cong-col {
    min-width: 96px;
    vertical-align: middle;
}
.tx-wrap {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: flex-end;
}
.tx-item-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.tx-item-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 1px 4px;
    border-radius: 4px;
    line-height: 1.1;
    white-space: nowrap;
}
.exam-split-hint {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-sub);
    margin-top: 2px;
    line-height: 1;
}
.diem-cong-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 2px 0;
}
.diem-cong-item + .diem-cong-item {
    border-top: 1px dashed var(--border-color);
    margin-top: 3px;
    padding-top: 4px;
}
.diem-cong-ten {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-sub);
}
.diem-cong-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.diem-cong-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: var(--primary);
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}
.diem-cong-btn:disabled {
    opacity: 0.4;
    cursor: default;
}
.diem-cong-so {
    min-width: 30px;
    text-align: center;
    font-weight: 800;
    font-size: 13.5px;
    color: #15803d;
}
.diem-cong-ngay {
    font-size: 10.5px;
    color: var(--text-sub);
}
.solver-note {
    display: none;
    flex-basis: 100%;
    font-size: 12.5px;
    color: #334155;
    line-height: 1.5;
    border-top: 1px dashed #dbe2ea;
    padding-top: 8px;
}
html.dark-mode .diem-cong-btn {
    background: #1e293b;
    border-color: #475569;
    color: #93c5fd;
}
html.dark-mode .diem-cong-so { color: #86efac; }
html.dark-mode .solver-note { color: var(--text-main); border-color: #334155; }

/* TRANG QUẢN TRỊ: DANH MỤC MÔN HỌC */
.dm-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}
.dm-toolbar label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
}
.dm-toolbar .form-control { width: auto; min-width: 110px; }
.dm-trangthai {
    font-size: 12.5px;
    margin-bottom: 10px;
}
.dm-table td { vertical-align: middle; }
.dm-table .dm-sotx { width: 64px; margin: 0 auto; }
.dm-phan {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 3px 12px 3px 0;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.dm-phan .dm-pct { width: 64px; padding: 4px 6px; }
.dm-tong {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    margin-left: 4px;
}
/* Chế độ Tối: khung bảng điểm và nhãn có màu viết cứng trong HTML (#1f4e79) bị chìm trên nền tối */
html.dark-mode .grades-table-wrap {
    background: var(--bg-card);
    border-color: var(--border-card);
}
html.dark-mode .grades-select-group label,
html.dark-mode .solver-target-box strong,
html.dark-mode .stat-label {
    color: var(--primary) !important;
}

/* LỚP THEO NĂM HỌC (Cài đặt) + nhãn lớp ở Sổ điểm */
.lop-theo-nam { display: flex; flex-direction: column; gap: 8px; }
.lop-theo-nam-dong {
    display: grid;
    grid-template-columns: 170px 110px 1fr;
    align-items: center;
    gap: 10px;
}
.lop-theo-nam-dong label { font-weight: 700; font-size: 13.5px; color: var(--text-main); }
.lop-theo-nam-dong.hien-hanh label { color: var(--primary); }
.lop-theo-nam-dong .form-control { font-weight: 800; text-transform: uppercase; }
.lop-theo-nam-loi { font-size: 12px; color: #b91c1c; }
@media (max-width: 520px) {
    .lop-theo-nam-dong { grid-template-columns: 1fr 90px; }
    .lop-theo-nam-loi { grid-column: 1 / -1; }
}
.grades-lop-hien-thi {
    font-weight: 800;
    color: var(--primary);
    font-size: 14px;
    margin: 0 6px;
}
.grades-lop-hien-thi.chua-dat { color: #b45309; }
.grades-table td.chua-dat-lop {
    text-align: center;
    padding: 24px 12px;
    color: var(--text-sub);
    font-weight: 700;
}
.grades-table td.chua-dat-lop .btn { margin-left: 8px; }
.dm-namhoc-khung {
    border: 1.5px solid #dbe2ea;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.dm-namhoc-khung h4 { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: #1f4e79; }
.dm-namhoc-ds { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.dm-namhoc-muc { font-weight: 700; font-size: 13.5px; cursor: pointer; }
.dm-namhoc-ghichu { font-size: 12px; color: #64748b; }
.dm-namhoc-them { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dm-namhoc-them .form-control { width: 140px; }

/* KÍCH HOẠT: chọn Học sinh / Phụ huynh */
.onboard-vai { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.onboard-vai-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px 10px;
    border: 2px solid var(--border-card);
    border-radius: 14px;
    background: #ffffff;
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    cursor: pointer;
    font-family: inherit;
}
.onboard-vai-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.onboard-vai-icon { width: 46px; height: 46px; color: var(--primary); }
.onboard-loi { color: #b91c1c; font-size: 13px; font-weight: 700; padding: 0 20px 6px; }
.onboard-loi:empty { display: none; }
html.dark-mode .onboard-vai-btn { background: var(--bg-card); }

/* Phụ huynh: chỉ xem, ẩn các phần sửa hồ sơ của con */
html:not(.la-phu-huynh) .chi-phu-huynh { display: none !important; }
html.la-phu-huynh .chi-chu-so { display: none !important; }
