/* Original academy design scoped to its theme. */
body.theme-academy{
    --ink: #123c35;
    --ink-2: #254e47;
    --teal: #0d8b78;
    --teal-dark: #0b6659;
    --mint: #dff5ed;
    --mint-strong: #86d6bf;
    --yellow: #fff0b9;
    --yellow-strong: #f4c94c;
    --coral: #ffe0d7;
    --coral-strong: #ef8c70;
    --blue: #dcecff;
    --blue-strong: #73aef2;
    --cream: #fbfaf5;
    --white: #fff;
    --line: #e7ebe6;
    --muted: #70827d;
    --danger: #a94646;
    --success: #16755f;
}
body.theme-academy *{ box-sizing: border-box; }
body.theme-academy,body.theme-academy{ margin: 0; min-height: 100%; }
body.theme-academy{
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    background: var(--cream);
}
body.theme-academy button,body.theme-academy input{ font: inherit; }
body.theme-academy .app-shell{ min-height: 100vh; display: flex; }
body.theme-academy .sidebar{
    width: 245px;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    background: #f5fbf8;
    border-right: 1px solid #dfeae5;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
}
body.theme-academy .brand{ display: flex; gap: 12px; align-items: center; padding: 0 8px 25px; }
body.theme-academy .brand-mark{
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--teal); color: white; font-weight: 800;
}
body.theme-academy .brand strong{ display: block; font-size: 15px; }
body.theme-academy .brand span{ display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
body.theme-academy .nav{ display: grid; gap: 6px; }
body.theme-academy .nav a,body.theme-academy .sidebar-footer a{
    text-decoration: none;
    color: #46635d;
    padding: 12px 13px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}
body.theme-academy .nav a span{ display: inline-block; width: 27px; color: var(--teal); }
body.theme-academy .nav a:hover,body.theme-academy .nav a.active{ background: #dff3eb; color: var(--teal-dark); }
body.theme-academy .sidebar-footer{ margin-top: auto; border-top: 1px solid #dfeae5; padding-top: 12px; }
body.theme-academy .sidebar-footer a{ display: block; }
body.theme-academy .main-area{ width: calc(100% - 245px); margin-left: 245px; min-height: 100vh; }
body.theme-academy .topbar{
    height: 74px;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 0 4%;
    position: sticky;
    top: 0;
    z-index: 25;
    backdrop-filter: blur(12px);
}
body.theme-academy .topbar-copy{ text-align: right; }
body.theme-academy .topbar-copy span{ display: block; color: var(--muted); font-size: 11px; }
body.theme-academy .topbar-copy strong{ font-size: 14px; }
body.theme-academy .avatar{
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--yellow); color: var(--ink); font-weight: 800;
}
body.theme-academy .menu-button{
    display: none;
    margin-right: auto;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    color: var(--ink);
}
body.theme-academy .content{ width: min(1180px, 92%); margin: 38px auto 60px; }
body.theme-academy .hero-card{
    min-height: 230px;
    border-radius: 24px;
    padding: clamp(28px, 5vw, 52px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background:
        radial-gradient(circle at 92% 10%, rgba(255,218,111,.7), transparent 18%),
        radial-gradient(circle at 82% 80%, rgba(101,211,180,.45), transparent 23%),
        linear-gradient(135deg, #e7f8f1, #fffaf0);
    border: 1px solid #dcece5;
    overflow: hidden;
    position: relative;
}
body.theme-academy .hero-card::after{
    content: "";
    width: 170px; height: 170px;
    position: absolute; right: -55px; bottom: -80px;
    border-radius: 48% 52% 50% 50%;
    background: rgba(13,139,120,.1);
    transform: rotate(25deg);
}
body.theme-academy .kicker{ font-size: 11px; letter-spacing: .15em; font-weight: 800; color: var(--teal); }
body.theme-academy .hero-card h1,body.theme-academy .page-heading h1{
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    margin: 10px 0 12px;
    letter-spacing: -.04em;
}
body.theme-academy .hero-card p,body.theme-academy .page-heading p{ margin: 0; color: var(--muted); max-width: 630px; line-height: 1.6; }
body.theme-academy .primary-action{
    position: relative;
    z-index: 2;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 0;
    background: var(--teal);
    color: white;
    font-weight: 700;
    padding: 13px 19px;
    border-radius: 11px;
    cursor: pointer;
    white-space: nowrap;
}
body.theme-academy .primary-action:hover{ background: var(--teal-dark); }
body.theme-academy .stats-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 22px 0;
}
body.theme-academy .stat-card{
    border-radius: 17px;
    padding: 21px;
    min-height: 132px;
    border: 1px solid rgba(0,0,0,.035);
}
body.theme-academy .stat-card.mint{ background: var(--mint); }
body.theme-academy .stat-card.yellow{ background: var(--yellow); }
body.theme-academy .stat-card.coral{ background: var(--coral); }
body.theme-academy .stat-card.blue{ background: var(--blue); }
body.theme-academy .stat-card span{ display: block; font-size: 13px; font-weight: 700; }
body.theme-academy .stat-card strong{ display: block; font-size: clamp(24px, 3vw, 34px); margin: 14px 0 4px; word-break: break-word; }
body.theme-academy .stat-card small{ color: #61746f; }
body.theme-academy .panel-card,body.theme-academy .form-card{
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: clamp(22px, 4vw, 34px);
    box-shadow: 0 12px 35px rgba(26,74,64,.035);
}
body.theme-academy .section-heading,body.theme-academy .page-heading.split{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}
body.theme-academy .section-heading h2{ margin: 7px 0 0; }
body.theme-academy .section-heading a{ color: var(--teal); text-decoration: none; font-size: 13px; font-weight: 700; }
body.theme-academy .user-list{ margin-top: 18px; }
body.theme-academy .user-row{
    display: flex; align-items: center; gap: 14px;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}
body.theme-academy .user-icon{
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--mint); font-weight: 800;
}
body.theme-academy .user-info{ min-width: 0; flex: 1; }
body.theme-academy .user-info strong,body.theme-academy .user-info span{ display: block; }
body.theme-academy .user-info span{ color: var(--muted); font-size: 12px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; }
body.theme-academy .status{ display: inline-block; padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
body.theme-academy .status.on{ color: #16755f; background: #def5ea; }
body.theme-academy .status.off{ color: #995252; background: #f8e2e2; }
body.theme-academy .page-heading{ margin: 0 0 24px; }
body.theme-academy .page-heading h1{ margin-bottom: 9px; }
body.theme-academy .form-card{ max-width: 850px; }
body.theme-academy .form-grid{ display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
body.theme-academy .field.full{ grid-column: 1 / -1; }
body.theme-academy .field label{ display: block; font-size: 13px; font-weight: 700; margin: 0 0 8px; }
body.theme-academy .field input{
    width: 100%;
    min-height: 48px;
    border: 1px solid #dce5e1;
    border-radius: 10px;
    padding: 0 13px;
    outline: 0;
    color: var(--ink);
    background: #fcfdfc;
}
body.theme-academy .field input:focus{ border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,139,120,.08); }
body.theme-academy .form-actions{ display: flex; justify-content: flex-end; margin-top: 24px; }
body.theme-academy .notice{ margin-bottom: 20px; padding: 13px 15px; border-radius: 10px; font-size: 13px; }
body.theme-academy .notice.success{ background: #e2f5ec; color: var(--success); }
body.theme-academy .notice.error{ background: #fbe6e6; color: var(--danger); }
body.theme-academy .password-box{
    margin-top: 28px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}
body.theme-academy .password-box h3{ margin: 0 0 5px; }
body.theme-academy .password-box p{ color: var(--muted); font-size: 13px; margin: 0 0 18px; }
body.theme-academy .table-wrap{ overflow-x: auto; }
body.theme-academy table{ width: 100%; border-collapse: collapse; min-width: 680px; }
body.theme-academy th,body.theme-academy td{ padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13px; }
body.theme-academy th{ color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
body.theme-academy .text-button{ border: 0; background: transparent; color: var(--teal); font-weight: 700; cursor: pointer; }
body.theme-academy .two-column{ display: grid; grid-template-columns: 1.4fr .8fr; gap: 20px; }
body.theme-academy .activity-list{ margin-top: 18px; }
body.theme-academy .activity-list > div{ display: flex; align-items: center; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line); }
body.theme-academy .activity-icon{ width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; }
body.theme-academy .activity-icon.mint{ background: var(--mint); }
body.theme-academy .activity-icon.yellow{ background: var(--yellow); }
body.theme-academy .activity-icon.coral{ background: var(--coral); }
body.theme-academy .activity-list p{ margin: 0; }
body.theme-academy .activity-list strong,body.theme-academy .activity-list small{ display: block; }
body.theme-academy .activity-list small{ color: var(--muted); margin-top: 3px; }
body.theme-academy .community-card{
    border-radius: 20px;
    padding: 32px;
    background:
        radial-gradient(circle at 90% 20%, rgba(255,216,94,.8), transparent 24%),
        linear-gradient(145deg, #dff5ed, #f7f3c9);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
body.theme-academy .community-card > span{ font-size: 11px; font-weight: 800; letter-spacing: .15em; color: var(--teal); }
body.theme-academy .community-card h2{ font-size: 28px; line-height: 1.05; margin: 10px 0; }
body.theme-academy .community-card p{ margin: 0; color: var(--muted); }
body.theme-academy .empty-state{ padding: 28px; text-align: center; color: var(--muted); }
body.theme-academy .overlay{ display: none; }
@media (max-width: 1050px){body.theme-academy .stats-grid{ grid-template-columns: repeat(2,1fr); }
body.theme-academy .two-column{ grid-template-columns: 1fr; }
}
@media (max-width: 900px){body.theme-academy .sidebar{
        transform: translateX(-105%);
        transition: transform .25s ease;
        box-shadow: 18px 0 45px rgba(20,60,52,.12);
    }
body.theme-academy .sidebar.open{ transform: translateX(0); }
body.theme-academy .main-area{ width: 100%; margin-left: 0; }
body.theme-academy .menu-button{ display: block; }
body.theme-academy .overlay{
        position: fixed; inset: 0; z-index: 35;
        background: rgba(14,45,39,.28);
        backdrop-filter: blur(2px);
    }
body.theme-academy .overlay.show{ display: block; }
}
@media (max-width: 700px){body.theme-academy .content{ width: min(94%, 1180px); margin-top: 22px; }
body.theme-academy .hero-card{ align-items: flex-start; flex-direction: column; min-height: auto; }
body.theme-academy .stats-grid{ grid-template-columns: 1fr 1fr; }
body.theme-academy .form-grid{ grid-template-columns: 1fr; }
body.theme-academy .field.full{ grid-column: auto; }
body.theme-academy .page-heading.split,body.theme-academy .section-heading{ align-items: flex-start; flex-direction: column; }
body.theme-academy .topbar-copy span{ display: none; }
}
@media (max-width: 460px){body.theme-academy .stats-grid{ grid-template-columns: 1fr; }
body.theme-academy .topbar{ padding: 0 18px; }
body.theme-academy .content{ width: 92%; }
body.theme-academy .hero-card,body.theme-academy .panel-card,body.theme-academy .form-card{ border-radius: 16px; }
}
body.theme-academy .top-gap{margin-top:22px}
body.theme-academy .field select,body.theme-academy .month-input{width:100%;min-height:48px;border:1px solid #dce5e1;border-radius:10px;padding:0 13px;background:#fcfdfc;color:var(--ink);font:inherit}
body.theme-academy .inline-form{display:flex;gap:6px;margin-top:7px}
body.theme-academy .inline-form select{min-height:34px}
body.theme-academy .mini-button{border:0;border-radius:8px;background:var(--mint);color:var(--teal-dark);font-weight:800}
body.theme-academy .actions-cell{display:flex;gap:8px}
body.theme-academy .link-button{text-decoration:none}
body.theme-academy .filter-row{display:flex;align-items:end;gap:14px;flex-wrap:wrap}
body.theme-academy .filter-row .field{min-width:210px}
body.theme-academy .attendance-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 0;border-bottom:1px solid var(--line)}
body.theme-academy .attendance-row strong,body.theme-academy .attendance-row small{display:block}
body.theme-academy .attendance-row small{color:var(--muted);margin-top:4px}
body.theme-academy .attendance-options{display:flex;gap:7px;flex-wrap:wrap}
body.theme-academy .attendance-options input{position:absolute;opacity:0}
body.theme-academy .attendance-options span{display:block;padding:8px 11px;border:1px solid var(--line);border-radius:999px;font-size:12px;font-weight:700;cursor:pointer}
body.theme-academy .attendance-options input:checked+span{background:var(--teal);border-color:var(--teal);color:white}
body.theme-academy .month-input{min-width:180px}
@media(max-width:700px){body.theme-academy .attendance-row{align-items:flex-start;flex-direction:column}
body.theme-academy .filter-row .field,body.theme-academy .filter-row .primary-action{width:100%;min-width:0}
}
body.theme-academy .attendance-filter{
    display: flex;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}
body.theme-academy .attendance-filter .field{
    min-width: 260px;
}
body.theme-academy .month-navigation{
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    margin: 28px 0 20px;
}
body.theme-academy .month-arrow{
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    border: 1px solid var(--line);

    color: var(--ink);

    text-decoration: none;

    font-size: 30px;

    transition:
        transform .2s ease,
        background .2s ease;
}
body.theme-academy .month-arrow:hover{
    background: var(--mint);

    transform: scale(1.05);
}
body.theme-academy .month-title{
    min-width: 220px;

    text-align: center;
}
body.theme-academy .month-title span{
    display: block;

    margin-bottom: 3px;

    color: var(--muted);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .18em;
}
body.theme-academy .month-title strong{
    color: var(--ink);

    font-size: 20px;

    letter-spacing: .04em;
}
body.theme-academy .attendance-summary{
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 12px;

    margin-bottom: 20px;
}
body.theme-academy .attendance-summary article{
    padding: 15px;

    border: 1px solid var(--line);

    border-radius: 14px;

    background: #ffffff;
}
body.theme-academy .attendance-summary strong{
    display: block;

    color: var(--ink);

    font-size: 24px;
}
body.theme-academy .attendance-summary span{
    color: var(--muted);

    font-size: 12px;
}
body.theme-academy .summary-present{
    background: #e8f7ef !important;
}
body.theme-academy .summary-absent{
    background: #ffe9e6 !important;
}
body.theme-academy .summary-justified{
    background: #fff5cf !important;
}
body.theme-academy .add-class-card{
    margin-bottom: 20px;

    border: 1px solid var(--line);

    border-radius: 14px;

    background: #ffffff;

    overflow: hidden;
}
body.theme-academy .add-class-card summary{
    padding: 16px 20px;

    cursor: pointer;

    color: var(--teal);

    font-size: 13px;

    font-weight: 800;

    user-select: none;
}
body.theme-academy .add-class-form{
    display: flex;

    align-items: flex-end;

    gap: 15px;

    flex-wrap: wrap;

    padding: 0 20px 20px;
}
body.theme-academy .add-class-form .field{
    min-width: 200px;
}
body.theme-academy .attendance-sheet-card{
    position: relative;

    background: #ffffff;

    border: 1px solid var(--line);

    border-radius: 16px;

    overflow: hidden;
}
body.theme-academy .attendance-table-scroll{
    width: 100%;

    overflow-x: auto;

    overflow-y: visible;

    -webkit-overflow-scrolling: touch;
}
body.theme-academy .monthly-attendance-table{
    width: max-content;

    min-width: 100%;

    border-collapse: separate;

    border-spacing: 0;
}
body.theme-academy .monthly-attendance-table th,body.theme-academy .monthly-attendance-table td{
    border-right: 1px solid #edf0ef;

    border-bottom: 1px solid #edf0ef;
}
body.theme-academy .student-column{
    position: sticky;

    left: 0;

    z-index: 4;

    width: 220px;
    min-width: 220px;
    max-width: 220px;

    padding: 14px 16px;

    background: #ffffff;

    text-align: left;
}
body.theme-academy thead .student-column{
    z-index: 6;

    background: #f7faf9;

    color: var(--muted);

    font-size: 10px;

    letter-spacing: .12em;
}
body.theme-academy .student-column strong{
    display: block;

    color: var(--ink);

    font-size: 13px;
}
body.theme-academy .student-plan{
    display: block;

    margin-top: 5px;

    color: var(--teal);

    font-size: 10px;

    font-weight: 700;
}
body.theme-academy .student-plan.no-package{
    color: #c45d51;
}
body.theme-academy .class-column{
    width: 76px;
    min-width: 76px;

    padding: 10px 5px;

    background: #f7faf9;

    text-align: center;
}
body.theme-academy .class-day{
    display: block;

    color: var(--ink);

    font-size: 18px;

    font-weight: 800;
}
body.theme-academy .class-weekday{
    display: block;

    margin-top: 1px;

    color: var(--muted);

    font-size: 10px;

    font-weight: 700;
}
body.theme-academy .mark-all-present{
    margin-top: 7px;

    padding: 3px 5px;

    border: none;

    border-radius: 5px;

    background: transparent;

    color: var(--teal);

    font-size: 8px;

    font-weight: 800;

    cursor: pointer;
}
body.theme-academy .mark-all-present:hover{
    background: var(--mint);
}
body.theme-academy .attendance-cell{
    padding: 7px;

    text-align: center;

    background: #ffffff;
}
body.theme-academy .attendance-toggle{
    width: 42px;
    height: 42px;

    padding: 0;

    border: none;

    border-radius: 10px;

    cursor: pointer;

    font-weight: 900;

    transition:
        transform .12s ease,
        background .15s ease;
}
body.theme-academy .attendance-toggle:hover{
    transform: scale(1.06);
}
body.theme-academy .state-empty{
    background: #f2f4f3;

    color: #a3aaa7;
}
body.theme-academy .state-presente{
    background: #dff5e9;

    color: #168454;
}
body.theme-academy .state-ausente{
    background: #ffe4df;

    color: #c45246;
}
body.theme-academy .state-justificado{
    background: #fff0b9;

    color: #9a7415;
}
body.theme-academy .attendance-symbol{
    font-size: 15px;
}
body.theme-academy .attendance-legend{
    display: flex;

    align-items: center;

    gap: 18px;

    flex-wrap: wrap;

    padding: 15px 20px;

    border-top: 1px solid var(--line);

    color: var(--muted);

    font-size: 11px;
}
body.theme-academy .attendance-legend span{
    display: flex;

    align-items: center;

    gap: 6px;
}
body.theme-academy .attendance-legend i{
    width: 10px;
    height: 10px;

    display: block;

    border-radius: 3px;
}
body.theme-academy .legend-present{
    background: #8fd6b0;
}
body.theme-academy .legend-absent{
    background: #f2a69d;
}
body.theme-academy .legend-justified{
    background: #e9cb63;
}
body.theme-academy .legend-empty{
    background: #d8dddb;
}
body.theme-academy .attendance-save{
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 16px 20px;

    background: #fafcfb;

    border-top: 1px solid var(--line);
}
body.theme-academy #attendanceChanges{
    color: var(--muted);

    font-size: 12px;

    font-weight: 600;
}
body.theme-academy #attendanceChanges.has-changes{
    color: var(--teal);

    font-weight: 800;
}
body.theme-academy .empty-attendance{
    padding: 50px 20px;

    text-align: center;
}
body.theme-academy .empty-attendance strong{
    display: block;

    color: var(--ink);

    font-size: 17px;
}
body.theme-academy .empty-attendance p{
    margin-top: 7px;

    color: var(--muted);
}
@media (max-width: 900px){body.theme-academy .attendance-summary{
        grid-template-columns:
            repeat(3, 1fr);
    }
body.theme-academy .student-column{
        width: 190px;
        min-width: 190px;
        max-width: 190px;
    }
}
@media (max-width: 600px){body.theme-academy .attendance-filter{
        display: block;
    }
body.theme-academy .attendance-filter .field{
        width: 100%;

        min-width: 0;

        margin-bottom: 12px;
    }
body.theme-academy .attendance-filter .primary-action{
        width: 100%;
    }
body.theme-academy .month-navigation{
        gap: 15px;

        margin-top: 22px;
    }
body.theme-academy .month-title{
        min-width: 170px;
    }
body.theme-academy .month-title strong{
        font-size: 16px;
    }
body.theme-academy .attendance-summary{
        grid-template-columns:
            repeat(2, 1fr);

        gap: 8px;
    }
body.theme-academy .attendance-summary article{
        padding: 12px;
    }
body.theme-academy .attendance-summary strong{
        font-size: 20px;
    }
body.theme-academy .add-class-form{
        display: block;
    }
body.theme-academy .add-class-form .field{
        width: 100%;

        min-width: 0;

        margin-bottom: 12px;
    }
body.theme-academy .add-class-form .primary-action{
        width: 100%;
    }
body.theme-academy .student-column{
        width: 145px;
        min-width: 145px;
        max-width: 145px;

        padding: 10px;
    }
body.theme-academy .student-column strong{
        font-size: 11px;
    }
body.theme-academy .student-plan{
        font-size: 9px;
    }
body.theme-academy .class-column{
        width: 62px;
        min-width: 62px;
    }
body.theme-academy .class-day{
        font-size: 16px;
    }
body.theme-academy .attendance-cell{
        padding: 5px;
    }
body.theme-academy .attendance-toggle{
        width: 38px;
        height: 38px;

        border-radius: 8px;
    }
body.theme-academy .attendance-save{
        position: sticky;

        bottom: 0;

        z-index: 10;

        flex-direction: column;

        align-items: stretch;

        gap: 10px;
    }
body.theme-academy .attendance-save .primary-action{
        width: 100%;
    }
}
@media (max-width: 400px){body.theme-academy .student-column{
        width: 125px;
        min-width: 125px;
        max-width: 125px;
    }
body.theme-academy .class-column{
        width: 56px;
        min-width: 56px;
    }
body.theme-academy .attendance-toggle{
        width: 35px;
        height: 35px;
    }
}
body.theme-academy .info-admin-form,body.theme-academy .schedule-admin-form{
    margin-top: 20px;
}
body.theme-academy .info-admin-form{
    display: grid;
    gap: 16px;
}
body.theme-academy .schedule-admin-form{
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 15px;
}
body.theme-academy .schedule-observation{
    grid-column: span 2;
}
body.theme-academy .form-actions{
    display: flex;
    align-items: center;
    gap: 10px;
}
body.theme-academy .schedule-admin-form .form-actions{
    grid-column: 1 / -1;
}
body.theme-academy .secondary-action{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 18px;

    border: 1px solid var(--line);
    border-radius: 10px;

    color: var(--ink);
    background: white;

    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}
body.theme-academy .admin-info-list{
    display: grid;
    gap: 12px;

    margin-top: 28px;
}
body.theme-academy .admin-notice-card{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 25px;

    padding: 18px;

    border: 1px solid var(--line);
    border-radius: 13px;

    background: #fffdf8;
}
body.theme-academy .admin-notice-card h3{
    margin: 7px 0 5px;

    color: var(--ink);
}
body.theme-academy .admin-notice-card p{
    margin: 0;

    color: var(--muted);

    line-height: 1.6;
}
body.theme-academy .notice-status{
    color: var(--teal);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .14em;
}
body.theme-academy .is-disabled{
    opacity: .5;
}
body.theme-academy .notice-actions{
    display: flex;
    align-items: center;

    gap: 7px;

    flex-shrink: 0;
}
body.theme-academy .notice-actions form{
    margin: 0;
}
body.theme-academy .schedule-list{
    display: grid;

    gap: 9px;

    margin-top: 28px;
}
body.theme-academy .schedule-admin-row{
    display: flex;
    align-items: center;

    gap: 16px;

    padding: 13px;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: white;
}
body.theme-academy .schedule-day{
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 11px;

    background: var(--mint);

    color: var(--teal);

    font-size: 11px;
    font-weight: 900;
}
body.theme-academy .schedule-info{
    display: flex;
    flex-direction: column;

    flex: 1;
}
body.theme-academy .schedule-info strong{
    color: var(--ink);
}
body.theme-academy .schedule-info span{
    margin-top: 3px;

    color: var(--teal);

    font-size: 13px;
    font-weight: 800;
}
body.theme-academy .schedule-info small{
    margin-top: 3px;

    color: var(--muted);
}
body.theme-academy .student-welcome{
    margin-bottom: 30px;
}
body.theme-academy .student-welcome h1{
    margin:
        4px 0 5px;

    color: var(--ink);

    font-size: clamp(
        28px,
        4vw,
        42px
    );
}
body.theme-academy .student-welcome p{
    margin: 0;

    color: var(--muted);
}
body.theme-academy .student-section{
    margin-bottom: 34px;
}
body.theme-academy .student-section-title{
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 15px;
}
body.theme-academy .student-section-title h2{
    margin: 2px 0 0;

    color: var(--ink);

    font-size: 20px;
}
body.theme-academy .section-icon{
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--yellow);

    color: var(--ink);

    font-weight: 900;
}
body.theme-academy .student-notices{
    display: grid;

    gap: 10px;
}
body.theme-academy .student-notice{
    padding: 18px 20px;

    border-left: 4px solid #e4b950;
    border-radius: 0 13px 13px 0;

    background: #fff8dd;
}
body.theme-academy .student-notice h3{
    margin: 0 0 5px;

    color: var(--ink);

    font-size: 15px;
}
body.theme-academy .student-notice p{
    margin: 0;

    color: #6c654d;

    line-height: 1.6;

    font-size: 13px;
}
body.theme-academy .weekly-classes{
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(190px, 1fr)
        );

    gap: 12px;
}
body.theme-academy .weekly-class-card{
    display: flex;

    min-height: 130px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 14px;

    background: white;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}
body.theme-academy .weekly-class-card:hover{
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px
        rgba(18, 60, 53, .07);
}
body.theme-academy .weekly-class-card.is-today{
    border-color: var(--teal);
}
body.theme-academy .class-date{
    width: 64px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--mint);
}
body.theme-academy .class-date span{
    color: var(--teal);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .08em;
}
body.theme-academy .class-date strong{
    margin-top: 3px;

    color: var(--ink);

    font-size: 26px;
}
body.theme-academy .class-details{
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 15px;

    flex: 1;
}
body.theme-academy .class-details h3{
    margin: 0 0 5px;

    color: var(--ink);

    font-size: 15px;
}
body.theme-academy .class-time{
    color: var(--teal);

    font-size: 13px;
}
body.theme-academy .class-place{
    margin-top: 5px;

    color: var(--muted);

    font-size: 11px;
}
body.theme-academy .class-details small{
    margin-top: 5px;

    color: var(--muted);

    font-size: 10px;
}
body.theme-academy .today-badge{
    position: absolute;

    top: 8px;
    right: 8px;

    padding: 3px 6px;

    border-radius: 5px;

    background: var(--teal);

    color: white;

    font-size: 8px;
    font-weight: 900;
}
body.theme-academy .student-packages{
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

    gap: 12px;
}
body.theme-academy .package-card{
    padding: 18px;

    border: 1px solid var(--line);
    border-radius: 14px;

    background: white;
}
body.theme-academy .package-heading{
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}
body.theme-academy .package-heading span{
    color: var(--muted);

    font-size: 10px;
    font-weight: 700;
}
body.theme-academy .package-heading h3{
    margin: 3px 0 0;

    color: var(--ink);

    font-size: 15px;
}
body.theme-academy .package-heading > strong{
    color: var(--teal);

    font-size: 29px;
}
body.theme-academy .package-progress{
    height: 7px;

    margin: 15px 0 8px;

    overflow: hidden;

    border-radius: 999px;

    background: #edf2f0;
}
body.theme-academy .package-progress span{
    display: block;

    height: 100%;

    border-radius: inherit;

    background: var(--teal);
}
body.theme-academy .package-card small{
    color: var(--muted);

    font-size: 10px;
}
body.theme-academy .empty-student-section{
    padding: 30px;

    border: 1px dashed var(--line);
    border-radius: 14px;

    background: white;

    text-align: center;
}
body.theme-academy .empty-student-section strong{
    color: var(--ink);
}
body.theme-academy .empty-student-section p{
    margin:
        5px 0 0;

    color: var(--muted);

    font-size: 12px;
}
body.theme-academy .no-package-message{
    background: #fff8f5;
}
@media (max-width: 800px){body.theme-academy .schedule-admin-form{
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
body.theme-academy .schedule-observation{
        grid-column: span 2;
    }
}
@media (max-width: 600px){body.theme-academy .schedule-admin-form{
        display: block;
    }
body.theme-academy .schedule-admin-form .field{
        margin-bottom: 13px;
    }
body.theme-academy .admin-notice-card{
        flex-direction: column;
    }
body.theme-academy .notice-actions{
        width: 100%;
    }
body.theme-academy .schedule-admin-row{
        align-items: flex-start;

        flex-wrap: wrap;
    }
body.theme-academy .schedule-admin-row .notice-actions{
        padding-left: 70px;
    }
body.theme-academy .weekly-classes{
        grid-template-columns: 1fr;
    }
body.theme-academy .student-packages{
        grid-template-columns: 1fr;
    }
}
body.theme-academy .next-class-card{
    display: flex;
    align-items: stretch;

    max-width: 520px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 25px
        rgba(18, 60, 53, .06);
}
body.theme-academy .next-class-date{
    width: 90px;
    min-width: 90px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 18px 10px;

    background: var(--mint);
}
body.theme-academy .next-class-date span{
    color: var(--teal);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .1em;
}
body.theme-academy .next-class-date strong{
    margin-top: 2px;

    color: var(--ink);

    font-size: 34px;
    line-height: 1;
}
body.theme-academy .next-class-info{
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 18px 20px;
}
body.theme-academy .next-class-label{
    margin-bottom: 5px;

    color: var(--teal);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .12em;
}
body.theme-academy .next-class-info h3{
    margin: 0 0 5px;

    color: var(--ink);

    font-size: 19px;
}
body.theme-academy .next-class-info > strong{
    color: var(--teal);

    font-size: 14px;
}
body.theme-academy .next-class-place{
    margin-top: 6px;

    color: var(--muted);

    font-size: 12px;
}
body.theme-academy .next-class-info small{
    margin-top: 5px;

    color: var(--muted);
}
body.theme-academy .weekly-class-card.is-past{
    opacity: .55;
}
@media (max-width: 600px){body.theme-academy .next-class-card{
        max-width: none;
        width: 100%;
    }
body.theme-academy .next-class-date{
        width: 75px;
        min-width: 75px;
    }
body.theme-academy .next-class-date strong{
        font-size: 29px;
    }
}
body.theme-academy .class-time-small{
    display: block;

    margin-top: 4px;

    color: var(--teal);

    font-size: 9px;

    font-weight: 800;
}
/* Gestidaddy structure adapter: shared menus, profiles, tables and dialogs. */
body.theme-academy{--bg:#fbfaf5;--ink:#123c35;--muted:#70827d;--line:#dfeae5;--red:#0b7867;--navy:#123c35;--surface:#fff;--soft:#dff5ed;--field:#fff;--radius:20px;background:var(--bg);color:var(--ink);font-family:'DM Sans','Segoe UI',Arial,sans-serif;color-scheme:light}
body.theme-academy .sidebar{width:258px;height:100dvh;overflow-y:auto;background:#f5fbf8;z-index:20}
body.theme-academy .main-shell{margin-left:258px}
body.theme-academy .content{width:100%;max-width:1400px;padding:30px 4%;margin:0 auto}
body.theme-academy .topbar{position:static;height:78px;justify-content:space-between;padding:0 4%;z-index:auto}
body.theme-academy .brand{display:block;padding-bottom:20px}
body.theme-academy .brand img{content:url('academy/logo-bestias.png');width:190px;height:90px;object-fit:contain;background:#0b6659;border-radius:14px;padding:9px}
body.theme-academy :is(.workspace,.avatar,.date-chip){background:#dff5ed;color:#123c35;border-color:#dfeae5}
body.theme-academy .workspace strong{max-width:150px}
body.theme-academy .sidebar nav a{color:#46635d;padding:12px 13px;font-weight:600}
body.theme-academy .sidebar nav a:not([data-concept]):is(.selected,:hover){background:#dff3eb;color:#0b6659;box-shadow:none}
body.theme-academy .sidebar-bottom>a,body.theme-academy .logout button{color:#46635d}
body.theme-academy .sidebar-bottom{margin-top:auto}
body.theme-academy :is(.panel,.metric,dialog,.portal-shortcuts a){background:#fff;color:#123c35;border:1px solid #dfeae5;box-shadow:none;border-radius:20px}
body.theme-academy :is(h1,h2,h3,.metric>strong,.empty h3,.topbar strong){color:#123c35}
body.theme-academy .metric:nth-child(4n+1){background:#dff5ed;border-color:#dff5ed}
body.theme-academy .metric:nth-child(4n+2){background:#fff0b9;border-color:#fff0b9}
body.theme-academy .metric:nth-child(4n+3){background:#ffe0d7;border-color:#ffe0d7}
body.theme-academy .metric:nth-child(4n){background:#dcecff;border-color:#dcecff}
body.theme-academy :is(.muted,.metric-head,.metric>small,label,.page-footer,.announcement p){color:#526f67}
body.theme-academy :is(input,select,textarea){background:#fff;color:#123c35;border:1px solid #cbdcd3;border-radius:10px;padding:11px 12px}
body.theme-academy input[type=checkbox]{width:auto}
body.theme-academy .btn{background:#0b7867;color:#fff;border:1px solid #0b7867;border-radius:11px}
body.theme-academy .btn.secondary{background:#e8f4ee;color:#0b6659;border-color:#cbdcd3}
body.theme-academy .btn.danger{background:#a94646;color:#fff;border-color:#a94646}
body.theme-academy .welcome{background:radial-gradient(circle at 92% 10%,#ffda6fb3,transparent 18%),radial-gradient(circle at 82% 80%,#65d3b473,transparent 23%),linear-gradient(135deg,#e7f8f1,#fffaf0);border:1px solid #dcece5;color:#123c35;border-radius:24px;box-shadow:none}
body.theme-academy .welcome :is(h2,p,.eyebrow){color:#123c35}
body.theme-academy .welcome img{background:#0b6659;border-radius:20px;transform:none;box-shadow:none}
body.theme-academy .chart-bar{fill:#0d8b78}body.theme-academy .chart-grid{stroke:#dfeae5}body.theme-academy .chart-label{fill:#526f67}body.theme-academy .chart-value{fill:#123c35}
body.theme-academy th{background:#edf7f1;color:#123c35}body.theme-academy td{border-color:#dfeae5}
body.theme-academy .schedule{background:#e8f4ee;border-color:#cbdcd3}
.academy-student{padding:16px 0;border-bottom:1px solid var(--line)}
.academy-attendance-form{display:grid;grid-template-columns:minmax(140px,1fr) minmax(160px,2fr) auto;gap:12px;align-items:end;margin-top:10px}
.academy-attendance-form label{display:grid;gap:6px}.academy-class summary{cursor:pointer;padding:6px 0}.academy-login-link{overflow-wrap:anywhere}
@media(max-width:1000px){body.theme-academy .sidebar{transform:translateX(-100%)}body.theme-academy.menu-open .sidebar{transform:translateX(0)}body.theme-academy .main-shell{margin-left:0}}
@media(max-width:640px){body.theme-academy .content{padding:24px 16px}body.theme-academy .topbar{padding:0 16px}.academy-attendance-form{grid-template-columns:1fr}body.theme-academy .welcome{padding:24px}body.theme-academy .welcome img{width:68px;height:68px}}
@media(max-width:1000px){body.theme-academy .menu-toggle{display:block;border:0;background:none;color:var(--ink);font-size:24px}body.theme-academy.menu-open .scrim{display:block;position:fixed;inset:0;border:0;background:#0d173f77;z-index:19}}
body.theme-academy .brand{display:flex;align-items:center;gap:12px}
body.theme-academy .brand img{display:none}
body.theme-academy .brand::before{content:'BA';display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#0d8b78;color:#fff;font-weight:800;flex-shrink:0}
body.theme-academy .brand::after{content:'Bestias Aéreas';font-size:15px;font-weight:700;color:#123c35}
body.theme-academy .welcome img{transform:rotate(90deg)}
