@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* IB Escola: approved design, based on plataformaead.net. */
html[data-visual-preview='blue'] [data-slot='select-content'],
html[data-visual-preview='blue'] [data-slot='select-item'] {
    font: 400 var(--ref-small)/1.4 var(--ref-font);
}
html[data-visual-preview='blue'] [data-slot='select-item'] {
    min-height: 44px;
}
html[data-visual-preview='blue'] {
    --ref-font: 'Manrope', sans-serif;
    --ref-ink: #22283a;
    --ref-muted: #626473;
    --ref-blue: #006eb9;
    --ref-accent: #c7db65;
    --ref-canvas: #f7f4ed;
    --ref-line: #d6e0e6;
    --ref-title: 52px;
    --ref-hero: var(--ref-title);
    --ref-card: 32px;
    --ref-body: 18px;
    --ref-small: 16px;
    --ref-number: 56px;
    background: var(--ref-canvas);
}
html[data-visual-preview='blue'] :is(.school-site, .admin-system) {
    color: var(--ref-ink);
    background: var(--ref-canvas);
    font-family: var(--ref-font);
    --school-ink: var(--ref-ink);
    --school-blue: var(--ref-blue);
    --school-canvas: var(--ref-canvas);
    --school-muted: var(--ref-muted);
}
html[data-visual-preview='blue']
    :is(.school-site, .admin-system)
    :is(
        h1,
        h2,
        h3,
        h4,
        p,
        a,
        button,
        input,
        textarea,
        select,
        small,
        strong,
        span,
        td,
        th,
        label
    ) {
    font-family: var(--ref-font);
}
html[data-visual-preview='blue'] :is(a, button, input, textarea):focus-visible {
    outline: 3px solid #54aada;
    outline-offset: 4px;
}
html[data-visual-preview='blue'] :is(.school-shell, .ref-container) {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}
html[data-visual-preview='blue'] .school-header {
    background: rgb(243 247 249 / 97%);
    border: 0;
    border-bottom: 1px solid var(--ref-line);
    box-shadow: none;
}
html[data-visual-preview='blue'] .header-inner {
    min-height: 86px;
    gap: 28px;
}
html[data-visual-preview='blue'] .school-brand img {
    width: 166px;
    max-height: 64px;
    object-fit: contain;
}
html[data-visual-preview='blue'] .main-nav {
    margin-left: auto;
    gap: 28px;
}
html[data-visual-preview='blue'] .main-nav a {
    font-size: var(--ref-small);
    font-weight: 700;
    line-height: 1.4;
    color: var(--ref-ink);
}
html[data-visual-preview='blue'] .main-nav a::after {
    top: auto;
    bottom: 2px;
    height: 2px;
    background: var(--ref-blue);
}
html[data-visual-preview='blue'] .header-actions {
    gap: 16px;
}
html[data-visual-preview='blue']
    :is(.account-link, .logout-link, .account-link small) {
    font-size: var(--ref-small);
    line-height: 1.4;
}
html[data-visual-preview='blue'] .account-avatar {
    background: var(--ref-accent);
    color: var(--ref-ink);
}
html[data-visual-preview='blue'] :is(.school-button, .ref-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: white;
    background: var(--ref-blue);
    font: 700 var(--ref-small)/1.4 var(--ref-font);
    text-decoration: none;
    box-shadow: none;
    transition:
        background 200ms,
        transform 200ms;
}
html[data-visual-preview='blue'] :is(.school-button, .ref-button):hover {
    background: #065d92;
    transform: translateY(-2px);
}
html[data-visual-preview='blue']
    :is(.school-button, .ref-button, .ref-link)
    svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}
html[data-visual-preview='blue'] .button-light {
    border-color: var(--ref-line);
    color: var(--ref-ink);
    background: white;
}
html[data-visual-preview='blue'] .button-light:hover {
    background: #e2f0f7;
}
html[data-visual-preview='blue'] .menu-button {
    border: 1px solid var(--ref-line);
    border-radius: 12px;
    width: 46px;
    height: 46px;
    color: var(--ref-ink);
    background: transparent;
}

.ref-home {
    background: var(--ref-canvas);
}
.ref-home :is(h1, h2, h3, p) {
    margin: 0;
    padding: 0;
}
.ref-home :is(h1, h2) {
    color: var(--ref-ink);
    font: 700 var(--ref-title)/1.08 var(--ref-font);
    letter-spacing: -0.04em;
}
.ref-home h1 {
    font-size: var(--ref-hero);
}
.ref-home h3 {
    color: var(--ref-ink);
    font: 700 var(--ref-card)/1.25 var(--ref-font);
    letter-spacing: -0.025em;
}
.ref-home a {
    text-decoration: none;
}
.ref-intro {
    padding: 94px 0 100px;
}
.ref-section {
    padding: 86px 0;
}
.ref-section + .ref-section {
    border-top: 1px solid var(--ref-line);
}
.ref-section-head {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
    gap: 70px;
}
.ref-section-support {
    display: grid;
    gap: 24px;
    justify-items: start;
}
.ref-section-support p {
    color: var(--ref-muted);
    font: 400 var(--ref-body)/1.6 var(--ref-font);
}
.ref-home .ref-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #07659d;
    font: 700 var(--ref-small)/1.5 var(--ref-font);
    text-decoration: none;
    padding: 0;
    background: none;
    border: 0;
    transition: color 200ms;
}
.ref-home .ref-link:hover {
    color: var(--ref-ink);
}
.ref-label {
    display: block;
    margin-bottom: 18px;
    color: #08669a;
    font: 700 var(--ref-small)/1.4 var(--ref-font);
}
.ref-course-grid,
.ref-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 50px;
}
.ref-course {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--ref-line);
    border-radius: 22px;
    background: white;
}
.ref-course-top {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 26px;
}
.ref-course:first-child {
    background: var(--ref-accent);
    border-color: #90c9e8;
}
.ref-course:first-child :is(.ref-course-caption time, .ref-course-meta span) {
    color: #244c63;
}
.ref-course-cover {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 86px;
    height: 122px;
}
.ref-course-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
}
.ref-course-cover > svg {
    width: 40px;
    height: 40px;
    margin-top: 10px;
    color: var(--ref-blue);
}
.ref-course-caption {
    display: grid;
    gap: 12px;
}
.ref-course-caption span {
    color: #07659d;
    font: 700 var(--ref-small)/1.4 var(--ref-font);
}
.ref-course-caption time {
    color: var(--ref-muted);
    font: 400 var(--ref-small)/1.5 var(--ref-font);
}
.ref-course h3 a {
    color: inherit;
}
.ref-course-bottom {
    display: grid;
    gap: 24px;
    margin-top: auto;
    padding-top: 28px;
}
.ref-course-meta {
    display: grid;
    gap: 12px;
}
.ref-course-meta span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ref-muted);
    font: 400 var(--ref-small)/1.5 var(--ref-font);
    overflow-wrap: anywhere;
}
.ref-course-meta svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: var(--ref-blue);
}
html[data-visual-preview='blue'] .ref-news-grid .news-card {
    margin: 0;
    padding: 26px;
    border: 1px solid var(--ref-line);
    border-radius: 22px;
    background: white;
    box-shadow: none;
}
html[data-visual-preview='blue'] .ref-news-grid h3 {
    font-size: var(--ref-card);
}
html[data-visual-preview='blue'] .ref-news-grid p {
    font-size: var(--ref-body);
}
html[data-visual-preview='blue'] .ref-news-grid :is(time, small, .text-link) {
    font-size: var(--ref-small);
}
html[data-visual-preview='blue'] .school-footer {
    background: #22283a;
    color: white;
    border: 0;
    padding-top: 50px;
}
html[data-visual-preview='blue'] .school-footer :is(p, a, span, strong) {
    font-size: var(--ref-small);
    line-height: 1.6;
}
html[data-visual-preview='blue'] .school-footer img {
    width: 170px;
    background: none;
}

/* The student heading and metrics use the same authority composition. */
html[data-visual-preview='blue'] .dashboard-heading {
    padding: 80px 0 0;
    background: transparent;
    border: 0;
}
html[data-visual-preview='blue'] .dashboard-welcome {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
    gap: 24px 70px;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
}
html[data-visual-preview='blue'] .dashboard-welcome > div {
    display: contents;
}
html[data-visual-preview='blue'] .dashboard-welcome h1 {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
    max-width: none;
    color: var(--ref-ink);
    font: 700 var(--ref-title)/1.08 var(--ref-font);
    letter-spacing: -0.04em;
}
html[data-visual-preview='blue'] .dashboard-welcome p {
    grid-column: 2;
    margin: 0;
    color: var(--ref-muted);
    font: 400 var(--ref-body)/1.6 var(--ref-font);
}
html[data-visual-preview='blue'] .dashboard-welcome > a {
    grid-column: 2;
    justify-self: start;
}
html[data-visual-preview='blue'] .dashboard-stats {
    display: grid;
    background: none;
    box-shadow: none;
    border-radius: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 50px 0 0;
    padding: 0;
    border: 0;
}
html[data-visual-preview='blue'] .dashboard-stats article {
    position: relative;
    display: block;
    min-height: 190px;
    margin: 0;
    padding: 26px;
    background: white;
    border: 1px solid var(--ref-line);
    border-radius: 22px;
    box-shadow: none;
}
html[data-visual-preview='blue'] .dashboard-stats article:first-child {
    background: var(--ref-accent);
}
html[data-visual-preview='blue'] .dashboard-stats article > span {
    position: absolute;
    right: 26px;
    top: 28px;
    padding: 0;
    width: 24px;
    height: 24px;
    color: var(--ref-blue);
    background: none;
    border-radius: 0;
}
html[data-visual-preview='blue'] .dashboard-stats strong {
    display: block;
    margin: 0 0 14px;
    color: var(--ref-ink);
    font: 700 var(--ref-number)/1 var(--ref-font);
    letter-spacing: -0.05em;
}
html[data-visual-preview='blue'] .dashboard-stats small {
    color: var(--ref-ink);
    font: 500 var(--ref-small)/1.5 var(--ref-font);
}
html[data-visual-preview='blue'] .dashboard-content {
    padding: 70px 0 86px;
    background: transparent;
}
html[data-visual-preview='blue'] .dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
}
html[data-visual-preview='blue'] .dashboard-section-heading {
    margin: 0 0 26px;
    padding: 0;
}
html[data-visual-preview='blue'] .dashboard-section-heading h2 {
    margin: 0;
    font: 700 var(--ref-card)/1.25 var(--ref-font);
    letter-spacing: -0.025em;
}
html[data-visual-preview='blue'] .dashboard-main .compact-empty {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 22px;
    text-align: left;
    justify-items: start;
    padding: 32px;
    border: 1px solid var(--ref-line);
    border-radius: 22px;
    background: white;
    min-height: 260px;
}
html[data-visual-preview='blue'] .compact-empty > svg {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 36px;
    height: 36px;
    margin: 4px 0 0;
    color: var(--ref-blue);
}
html[data-visual-preview='blue'] .dashboard-main .compact-empty h2 {
    grid-column: 2;
    margin: 0;
    font: 700 var(--ref-card)/1.25 var(--ref-font);
    letter-spacing: -0.025em;
}
html[data-visual-preview='blue'] .dashboard-main .compact-empty p {
    grid-column: 2;
    margin: 14px 0 22px;
    font: 400 var(--ref-body)/1.6 var(--ref-font);
    color: var(--ref-muted);
}
html[data-visual-preview='blue'] .compact-empty > a {
    grid-column: 2;
}
html[data-visual-preview='blue'] .dashboard-aside {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}
html[data-visual-preview='blue'] .dashboard-aside .aside-card {
    gap: 0;
    margin: 0 0 20px;
    padding: 26px;
    border: 1px solid var(--ref-line);
    border-radius: 22px;
    background: white;
    box-shadow: none;
}
html[data-visual-preview='blue'] .dashboard-aside h3 {
    margin: 0;
    font: 700 var(--ref-card)/1.25 var(--ref-font);
    letter-spacing: -0.025em;
}
html[data-visual-preview='blue'] .dashboard-aside p {
    margin: 20px 0 0;
    color: var(--ref-muted);
    font: 400 var(--ref-body)/1.6 var(--ref-font);
}
html[data-visual-preview='blue'] .notification-count {
    background: none;
    color: var(--ref-blue);
    font-size: var(--ref-small);
}

/* Administrative navigation and list: no inherited table composition. */
html[data-visual-preview='blue'] .admin-system {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    min-height: 100vh;
}
html[data-visual-preview='blue'] .admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 26px 16px 18px;
    display: flex;
    flex-direction: column;
    background: #22283a;
    border: 0;
    color: #c8dce6;
    box-shadow: none;
}
html[data-visual-preview='blue'] .admin-sidebar-head {
    display: block;
    padding: 0;
    margin: 0 0 26px;
    background: none;
    border: 0;
}
html[data-visual-preview='blue'] .admin-sidebar .admin-brand {
    display: block;
    margin: 0;
    padding: 0 10px;
    border: 0;
    background: none;
}
html[data-visual-preview='blue'] .admin-sidebar .admin-brand img {
    content: url('brand/logo-ib-escola-claro.png');
    width: 170px;
    max-width: 100%;
    height: auto;
}
html[data-visual-preview='blue'] .admin-sidebar nav {
    display: grid;
    flex: 1;
    align-content: start;
    gap: 4px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
}
html[data-visual-preview='blue'] .admin-sidebar .admin-nav-title {
    margin: 0 0 12px;
    padding: 0 12px;
    border: 0;
    color: #94b2c2;
    font: 500 var(--ref-small)/1.5 var(--ref-font);
    letter-spacing: 0;
    text-transform: none;
}
html[data-visual-preview='blue']
    .admin-sidebar
    :is(
        nav a,
        .admin-nav-group-trigger,
        .admin-sidebar-bottom a,
        .admin-sidebar-bottom button
    ) {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    margin: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #c8dce6;
    font: 500 var(--ref-small)/1.4 var(--ref-font);
    text-decoration: none;
}
html[data-visual-preview='blue']
    .admin-sidebar
    :is(nav a, .admin-nav-group-trigger):hover {
    background: #133d52;
}
html[data-visual-preview='blue'] .admin-sidebar nav a.is-active {
    background: #185474;
    color: #c4eaff;
}
html[data-visual-preview='blue'] .admin-sidebar :is(a, button) > svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}
html[data-visual-preview='blue'] .admin-nav-label {
    display: inline;
}
html[data-visual-preview='blue'] .admin-sidebar-bottom {
    margin-top: 20px;
    padding: 14px 0 0;
    border: 0;
    border-top: 1px solid #254655;
}
html[data-visual-preview='blue'] .admin-topbar {
    display: flex;
    justify-content: flex-end;
    height: 86px;
    padding: 0 48px;
    background: transparent;
    border: 0;
}
html[data-visual-preview='blue'] .admin-topbar-brand {
    display: none;
}
html[data-visual-preview='blue'] .admin-topbar .admin-session {
    padding: 0;
    border: 0;
    background: none;
    text-align: right;
}
html[data-visual-preview='blue'] .admin-session :is(span, strong) {
    font: 500 var(--ref-small)/1.4 var(--ref-font);
    color: var(--ref-muted);
}
html[data-visual-preview='blue'] .admin-session strong {
    font-weight: 700;
    color: var(--ref-ink);
}
html[data-visual-preview='blue'] .admin-main {
    width: min(1180px, calc(100% - 96px));
    margin: 0 auto;
    padding: 28px 0 70px;
}
html[data-visual-preview='blue'] .admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin: 0 0 44px;
    padding: 0;
    border: 0;
    background: none;
}
html[data-visual-preview='blue'] .admin-heading h1 {
    margin: 0 0 20px;
    color: var(--ref-ink);
    font: 700 var(--ref-title)/1.08 var(--ref-font);
    letter-spacing: -0.04em;
}
html[data-visual-preview='blue'] .admin-heading p {
    margin: 0;
    color: var(--ref-muted);
    font: 400 var(--ref-body)/1.6 var(--ref-font);
}
html[data-visual-preview='blue']
    :is(
        .admin-primary-button,
        #admin-content .admin-filters > button[type='submit']
    ) {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--ref-blue);
    color: white;
    font: 700 var(--ref-small)/1.4 var(--ref-font);
    box-shadow: none;
}
html[data-visual-preview='blue'] .admin-heading-actions {
    flex: 0 0 auto;
}
html[data-visual-preview='blue'] #admin-content.ref-admin-courses {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 32px;
}
html[data-visual-preview='blue'] .ref-admin-courses .admin-heading {
    grid-column: 1 / -1;
    margin-bottom: 12px;
}
html[data-visual-preview='blue'] #admin-content .admin-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--ref-line);
    border-radius: 22px;
    background: white;
}
html[data-visual-preview='blue'] .ref-admin-courses .admin-filters {
    grid-column: 2;
    grid-row: 2;
}
html[data-visual-preview='blue'] .ref-admin-courses .admin-filter-field {
    grid-column: 1 / -1;
}
html[data-visual-preview='blue']
    #admin-content
    :is(.admin-filter-field, .admin-filter-dropdown) {
    min-width: 0;
    gap: 8px;
}
html[data-visual-preview='blue']
    #admin-content
    :is(
        .admin-filter-field > span:first-child,
        .admin-filter-label,
        .editor-field > span
    ) {
    display: block;
    margin: 0 0 8px;
    color: var(--ref-ink);
    font: 600 var(--ref-small)/1.4 var(--ref-font);
}
html[data-visual-preview='blue']
    #admin-content
    :is(
        .admin-search input,
        .admin-filter-trigger,
        .editor-field input,
        .editor-field textarea,
        .editor-field [role='combobox']
    ) {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--ref-line);
    border-radius: 10px;
    box-shadow: none;
    background: white;
    color: var(--ref-ink);
    font: 400 var(--ref-small)/1.4 var(--ref-font);
    text-align: left;
}
html[data-visual-preview='blue']
    #admin-content
    .admin-search
    input[type='search'] {
    padding-left: 42px;
}
html[data-visual-preview='blue'] #admin-content .admin-search > svg {
    left: 14px;
    width: 18px;
    height: 18px;
    color: #7f939d;
}
html[data-visual-preview='blue'] #admin-content .admin-filter-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
html[data-visual-preview='blue'] #admin-content .admin-filter-trigger svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}
html[data-visual-preview='blue'] #admin-content .admin-dropdown-menu {
    padding: 6px;
    border: 1px solid var(--ref-line);
    border-radius: 12px;
    background: white;
}
html[data-visual-preview='blue'] #admin-content .admin-dropdown-menu button {
    min-height: 44px;
    padding: 10px;
    font: 500 var(--ref-small)/1.4 var(--ref-font);
    color: var(--ref-ink);
    background: white;
    border-radius: 6px;
    text-align: left;
}
html[data-visual-preview='blue']
    #admin-content
    .admin-dropdown-menu
    button[aria-selected='true'] {
    background: #e5f3fb;
    color: #086ba4;
}
html[data-visual-preview='blue'] .ref-admin-courses .admin-result-summary {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    padding: 26px;
    border: 1px solid #90c9e8;
    border-radius: 22px;
    background: var(--ref-accent);
    color: var(--ref-ink);
    font: 500 var(--ref-small)/1.5 var(--ref-font);
}
html[data-visual-preview='blue']
    .ref-admin-courses
    .admin-result-summary
    strong {
    display: block;
    margin-bottom: 16px;
    font: 700 var(--ref-number)/1 var(--ref-font);
    letter-spacing: -0.05em;
}
html[data-visual-preview='blue'] .ref-admin-courses .admin-table-wrap {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    overflow: visible;
    padding: 0;
    border: 1px solid var(--ref-line);
    border-radius: 22px;
    background: white;
    box-shadow: none;
}
.ref-admin-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.ref-admin-table :is(th, td) {
    padding: 20px 14px;
    color: var(--ref-ink);
    text-align: left;
    vertical-align: top;
    font: 400 var(--ref-small)/1.5 var(--ref-font);
    overflow-wrap: anywhere;
}
.ref-admin-table th {
    padding-block: 18px;
    font-weight: 600;
    color: var(--ref-muted);
    border-bottom: 1px solid var(--ref-line);
}
.ref-admin-table th:nth-child(1) {
    width: 31%;
}
.ref-admin-table th:nth-child(2) {
    width: 15%;
}
.ref-admin-table th:nth-child(3) {
    width: 12%;
}
.ref-admin-table th:nth-child(4) {
    width: 12%;
}
.ref-admin-table th:nth-child(5) {
    width: 15%;
}
.ref-admin-table th:nth-child(6) {
    width: 15%;
}
.ref-admin-table td {
    border-bottom: 1px solid #e5ebef;
}
.ref-admin-table tr:last-child td {
    border: 0;
}
.ref-admin-table td :is(strong, small, span) {
    font: inherit;
}
.ref-admin-table td strong {
    display: block;
    font-weight: 700;
}
.ref-admin-table td small {
    display: block;
    margin-top: 6px;
    color: var(--ref-muted);
}
html[data-visual-preview='blue']
    .ref-admin-table
    :is(.origin-chip, .admin-status) {
    display: inline;
    white-space: normal;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--ref-muted);
    font-size: var(--ref-small);
}
html[data-visual-preview='blue'] .ref-admin-table .status-published {
    color: #247956;
}
html[data-visual-preview='blue'] .ref-admin-table .admin-row-action {
    display: inline-flex;
    gap: 6px;
    font: 600 var(--ref-small)/1.4 var(--ref-font);
    text-decoration: none;
    color: #0870aa;
}
.ref-admin-table .admin-row-action svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}
.ref-admin-table .admin-row-action svg:last-child {
    display: none;
}
html[data-visual-preview='blue'] .ref-admin-courses .admin-pagination {
    grid-column: 1 / -1;
    margin: 0;
}
html[data-visual-preview='blue'] .admin-pagination :is(a, span) {
    font: 500 var(--ref-small)/1.4 var(--ref-font);
    border-radius: 8px;
}
html[data-visual-preview='blue'] #admin-content .editor-card {
    padding: 26px;
    background: white;
    border: 1px solid var(--ref-line);
    border-radius: 22px;
}
html[data-visual-preview='blue'] #admin-content .editor-card h2 {
    font: 700 var(--ref-card)/1.25 var(--ref-font);
}
html[data-visual-preview='blue'] #admin-content .editor-card p {
    font: 400 var(--ref-body)/1.6 var(--ref-font);
}

@media (max-width: 1200px) {
    html[data-visual-preview='blue'] .ref-admin-courses .admin-table-wrap {
        border: 0;
        background: none;
    }
    .ref-admin-table,
    .ref-admin-table tbody {
        display: block;
    }
    .ref-admin-table thead {
        display: none;
    }
    .ref-admin-table tr {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
        margin-bottom: 18px;
        padding: 24px;
        border: 1px solid var(--ref-line);
        border-radius: 22px;
        background: white;
    }
    .ref-admin-table td {
        display: block;
        min-width: 0;
        padding: 0;
        border: 0;
    }
    .ref-admin-table td::before {
        display: block;
        margin-bottom: 10px;
        content: attr(data-label);
        color: var(--ref-muted);
    }
    .ref-admin-table td:first-child {
        grid-column: 1 / -1;
    }
    .ref-admin-table td:first-child::before {
        display: none;
    }
    .ref-admin-table td:first-child strong {
        font-size: var(--ref-card);
        line-height: 1.25;
    }
    html[data-visual-preview='blue'] .ref-admin-table .admin-row-action {
        white-space: normal;
    }
    html[data-visual-preview='blue'] .main-nav {
        gap: 18px;
    }
    html[data-visual-preview='blue'] .account-link > span:last-child {
        display: none;
    }
    html[data-visual-preview='blue'] .admin-main {
        width: calc(100% - 48px);
    }
    html[data-visual-preview='blue'] .admin-heading {
        flex-wrap: wrap;
    }
    html[data-visual-preview='blue'] #admin-content.ref-admin-courses {
        grid-template-columns: 160px minmax(0, 1fr);
    }
    html[data-visual-preview='blue'] #admin-content .admin-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    html[data-visual-preview='blue']
        #admin-content
        .admin-filters
        > button[type='submit'] {
        grid-column: 1 / -1;
    }
}
@media (max-width: 980px) {
    .ref-section-head {
        gap: 36px;
    }
    .ref-course-grid,
    .ref-news-grid {
        grid-template-columns: 1fr;
    }
    .ref-course {
        display: grid;
        grid-template-columns: 180px minmax(0, 1fr);
        column-gap: 26px;
    }
    .ref-course-top {
        grid-column: 1;
        grid-row: 1 / 3;
        display: flex;
        flex-direction: column;
        margin: 0;
    }
    .ref-course h3,
    .ref-course-bottom {
        grid-column: 2;
    }
    .ref-course-bottom {
        margin: 0;
    }
    html[data-visual-preview='blue'] .admin-system {
        display: block;
    }
    html[data-visual-preview='blue'] .admin-sidebar {
        display: block;
        height: auto;
        padding: 0 24px;
        z-index: 50;
    }
    html[data-visual-preview='blue'] .admin-sidebar-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 80px;
        margin: 0;
    }
    html[data-visual-preview='blue'] .admin-sidebar .admin-brand {
        padding: 0;
    }
    html[data-visual-preview='blue'] .admin-sidebar .admin-brand img {
        width: 150px;
    }
    html[data-visual-preview='blue'] .admin-menu-toggle {
        display: grid;
        width: 46px;
        height: 46px;
        border: 1px solid #557282;
        border-radius: 10px;
        background: none;
        color: white;
    }
    html[data-visual-preview='blue'] .admin-sidebar nav {
        padding: 0;
        max-height: 0;
        visibility: hidden;
        opacity: 0;
        overflow: hidden;
    }
    html[data-visual-preview='blue'] .admin-sidebar nav.is-open {
        padding: 18px 0;
        max-height: 60vh;
        visibility: visible;
        opacity: 1;
        overflow-y: auto;
    }
    html[data-visual-preview='blue'] .admin-sidebar-bottom {
        padding: 0;
        margin: 0;
        border: 0;
    }
    html[data-visual-preview='blue'] .admin-sidebar-bottom.is-open {
        padding: 12px 0;
    }
    html[data-visual-preview='blue'] .admin-topbar {
        height: 68px;
        padding: 0 24px;
    }
    html[data-visual-preview='blue'] .admin-heading {
        flex-wrap: nowrap;
    }
    html[data-visual-preview='blue'] .dashboard-layout {
        grid-template-columns: 1fr;
    }
    html[data-visual-preview='blue'] .dashboard-welcome {
        gap: 24px 36px;
    }
}
@media (max-width: 840px) {
    html[data-visual-preview='blue'] {
        --ref-title: 36px;
    }
    .ref-section-head {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .ref-intro {
        padding: 52px 0 58px;
    }
    html[data-visual-preview='blue'] .dashboard-welcome {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    html[data-visual-preview='blue'] .dashboard-welcome :is(h1, p),
    html[data-visual-preview='blue'] .dashboard-welcome > a {
        grid-column: 1;
        grid-row: auto;
    }
    html[data-visual-preview='blue'] .header-inner {
        min-height: 78px;
    }
    html[data-visual-preview='blue'] .main-nav {
        margin: 0;
        background: var(--ref-canvas);
    }
    html[data-visual-preview='blue'] .main-nav a {
        padding: 12px 24px;
    }
    html[data-visual-preview='blue'] .dashboard-stats article {
        padding: 24px;
    }
}
@media (max-width: 720px) {
    html[data-visual-preview='blue'] {
        --ref-title: 36px;
        --ref-hero: 36px;
    }
    html[data-visual-preview='blue'] :is(.school-shell, .ref-container) {
        width: calc(100% - 40px);
    }
    .ref-intro {
        padding: 52px 0 58px;
    }
    .ref-section {
        padding: 58px 0;
    }
    .ref-section-head {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .ref-course-grid,
    .ref-news-grid {
        margin-top: 32px;
    }
    .ref-course {
        display: flex;
        padding: 24px;
    }
    .ref-course-top {
        display: grid;
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 24px;
    }
    .ref-course-cover {
        width: 80px;
        height: 112px;
    }
    html[data-visual-preview='blue'] .dashboard-heading {
        padding-top: 52px;
    }
    html[data-visual-preview='blue'] .dashboard-welcome {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    html[data-visual-preview='blue'] .dashboard-welcome :is(h1, p),
    html[data-visual-preview='blue'] .dashboard-welcome > a {
        grid-column: 1;
        grid-row: auto;
    }
    html[data-visual-preview='blue'] .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 32px;
    }
    html[data-visual-preview='blue'] .dashboard-stats article:first-child {
        grid-column: 1 / -1;
    }
    html[data-visual-preview='blue'] .dashboard-stats article {
        min-height: 160px;
        padding: 20px;
    }
    html[data-visual-preview='blue'] .dashboard-content {
        padding-top: 42px;
    }
    html[data-visual-preview='blue'] .dashboard-main .compact-empty {
        display: block;
        padding: 24px;
    }
    html[data-visual-preview='blue'] .compact-empty > svg {
        margin-bottom: 24px;
    }
    html[data-visual-preview='blue'] .admin-heading {
        flex-direction: column;
        align-items: start;
    }
    html[data-visual-preview='blue'] #admin-content.ref-admin-courses {
        display: flex;
        flex-direction: column;
        gap: 26px;
    }
    html[data-visual-preview='blue'] .ref-admin-courses .admin-result-summary {
        order: 1;
        display: block;
        padding: 24px;
    }
    html[data-visual-preview='blue'] .ref-admin-courses .admin-filters {
        order: 2;
    }
    html[data-visual-preview='blue'] .ref-admin-courses .admin-table-wrap {
        order: 3;
        background: none;
        border: 0;
    }
    html[data-visual-preview='blue'] .ref-admin-courses .admin-pagination {
        order: 4;
    }
    html[data-visual-preview='blue'] #admin-content .admin-filters {
        padding: 20px;
        grid-template-columns: 1fr;
    }
    .ref-admin-table,
    .ref-admin-table tbody {
        display: block;
    }
    .ref-admin-table thead {
        display: none;
    }
    .ref-admin-table tr {
        display: block;
        margin-bottom: 18px;
        padding: 22px;
        border: 1px solid var(--ref-line);
        border-radius: 22px;
        background: white;
    }
    .ref-admin-table td {
        display: grid;
        grid-template-columns: 94px minmax(0, 1fr);
        gap: 12px;
        padding: 12px 0;
        border: 0;
    }
    .ref-admin-table td::before {
        content: attr(data-label);
        color: var(--ref-muted);
    }
    .ref-admin-table td:first-child {
        display: block;
        padding-top: 0;
        padding-bottom: 22px;
    }
    .ref-admin-table td:first-child::before {
        display: none;
    }
    .ref-admin-table td:first-child strong {
        font-size: var(--ref-card);
        line-height: 1.25;
    }
    .ref-admin-table td small {
        grid-column: 2;
        margin: 0;
    }
    .ref-admin-table td:first-child small {
        margin-top: 14px;
    }
    html[data-visual-preview='blue'] .ref-admin-table .admin-row-action {
        flex-wrap: nowrap;
    }
}
@media (max-width: 400px) {
    html[data-visual-preview='blue'] .school-brand img {
        width: 140px;
    }
    html[data-visual-preview='blue'] .header-inner {
        gap: 12px;
    }
    html[data-visual-preview='blue'] .header-actions {
        gap: 8px;
    }
    html[data-visual-preview='blue'] .header-actions .school-button {
        padding-inline: 16px;
    }
    .ref-course-top {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 14px;
    }
    .ref-course-cover {
        width: 70px;
        height: 100px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html[data-visual-preview='blue'] * {
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
    }
    html[data-visual-preview='blue'] :is(.school-button, .ref-button):hover {
        transform: none;
    }
}
/* Approved palette and invariant vertical formation card, September 2026. */
html[data-visual-preview='blue'] {
    --ref-ink: #22283a;
    --ref-muted: #626473;
    --ref-blue: #006eb9;
    --ref-canvas: #f7f4ed;
    --ref-line: #e1dfd9;
    --card-title: 32px;
    --card-category: 12px;
    --card-meta: 14px;
    --control-text: 16px;
    --coral: #ed765e;
    --violet: #7464c7;
    --lime: #c7db65;
}
html[data-visual-preview='blue'] .school-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}
html[data-visual-preview='blue'] .header-inner {
    min-height: 100px;
    gap: 32px;
}
html[data-visual-preview='blue'] .school-brand img {
    width: 184px;
    height: auto;
}
html[data-visual-preview='blue'] .main-nav {
    gap: 4px;
}
html[data-visual-preview='blue'] .main-nav > a {
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #626473;
    transition:
        color 220ms,
        background 220ms;
}
html[data-visual-preview='blue'] .main-nav > a::after {
    display: none;
}
html[data-visual-preview='blue'] .main-nav > a:is(:hover, .is-active) {
    color: #006eb9;
    background: #edf5fb;
}
html[data-visual-preview='blue']
    :is(.school-button, .ref-button, .formation-action) {
    border-radius: 12px;
    box-shadow: none;
    font-size: var(--control-text);
}
html[data-visual-preview='blue'] .account-avatar {
    background: #c7db65;
    color: #22283a;
    box-shadow: none;
    border-radius: 12px;
}
html[data-visual-preview='blue'] .account-link small {
    color: #626473;
}
html[data-visual-preview='blue'] .logout-link {
    font-size: 14px;
}
html[data-visual-preview='blue'] .ref-intro {
    padding: 76px 0 80px;
    background: #f7f4ed;
    border: 0;
}
html[data-visual-preview='blue'] .ref-intro h1 {
    font-weight: 800;
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: -0.035em;
}
html[data-visual-preview='blue'] .ref-intro .ref-section-head {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
}
html[data-visual-preview='blue'] .ref-section {
    padding: 72px 0;
    background: #fff;
    border: 0;
}
html[data-visual-preview='blue'] .ref-section:nth-of-type(odd) {
    background: #f7f4ed;
}
html[data-visual-preview='blue'] .ref-section-head {
    margin-bottom: 36px;
}
html[data-visual-preview='blue'] .ref-section-head h2 {
    font-weight: 800;
}
html[data-visual-preview='blue'] :is(.ref-course-grid, .catalog-grid) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}
html[data-visual-preview='blue'] .formation-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1dfd9;
    border-radius: 22px;
    box-shadow: 0 8px 24px #22283a06;
    color: #22283a;
}
html[data-visual-preview='blue'] .formation-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 280px;
    min-height: 280px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #ed765e;
    color: #22283a;
}
html[data-visual-preview='blue'] .formation-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
}
html[data-visual-preview='blue'] .formation-media > svg {
    width: 72px;
    height: 72px;
    stroke-width: 1.25;
}
html[data-visual-preview='blue'] .formation-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding: 30px;
    gap: 18px;
}
html[data-visual-preview='blue'] .formation-category {
    display: block;
    color: #a63c2c;
    font-size: var(--card-category);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}
html[data-visual-preview='blue'] .formation-title {
    margin: 0;
    padding: 0;
    font-size: var(--card-title);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}
html[data-visual-preview='blue'] .formation-title a {
    color: inherit;
    font: inherit;
    text-decoration: none;
}
html[data-visual-preview='blue'] .formation-title a:hover {
    color: #006eb9;
}
html[data-visual-preview='blue'] .formation-summary {
    font-size: 18px;
    line-height: 1.6;
    color: #626473;
    margin: 0;
}
html[data-visual-preview='blue'] .formation-details {
    display: grid;
    gap: 18px;
    width: 100%;
    margin-top: auto;
    padding-top: 8px;
}
html[data-visual-preview='blue'] .formation-date {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--card-meta);
    line-height: 1.6;
    color: #626473;
}
html[data-visual-preview='blue'] .formation-date svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #7464c7;
    margin-top: 1px;
}
html[data-visual-preview='blue'] .formation-facts {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-top: 1px solid #ebe8e1;
    padding-top: 16px;
}
html[data-visual-preview='blue'] .formation-facts > span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--card-meta);
    line-height: 1.6;
    color: #626473;
}
html[data-visual-preview='blue'] .formation-facts > span:first-child {
    flex-shrink: 0;
}
html[data-visual-preview='blue'] .formation-facts svg {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 5px;
    background: #efecf8;
    border-radius: 8px;
    color: #6553ae;
}
html[data-visual-preview='blue'] .formation-facts .lucide-clock3 {
    background: #eaf1c9;
    color: #4f6020;
}
html[data-visual-preview='blue'] .formation-action {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 13px 20px;
    background: #006eb9;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 220ms,
        box-shadow 220ms;
}
html[data-visual-preview='blue'] .formation-action svg {
    width: 18px;
    height: 18px;
}
html[data-visual-preview='blue'] .formation-action:hover {
    background: #005c9b;
    box-shadow: 0 4px 12px #006eb922;
}
html[data-visual-preview='blue']
    :is(.formation-live_online, .formation-asynchronous)
    .formation-category {
    color: #6553ae;
}
html[data-visual-preview='blue']
    :is(.formation-live_online, .formation-asynchronous)
    .formation-media {
    background: #c7bfea;
}
html[data-visual-preview='blue'] .catalog-index-header {
    background: #f7f4ed;
}
html[data-visual-preview='blue'] .catalog-filter-form {
    background: #fff;
    padding: 24px;
    border: 1px solid #e1dfd9;
    border-radius: 16px;
}
html[data-visual-preview='blue'] .school-footer {
    background: #263746;
    border: 0;
}
html[data-visual-preview='blue'] .school-footer :is(p, a, span) {
    color: #e5ebef;
}
html[data-visual-preview='blue'] .school-footer strong {
    color: #c7db65;
}
html[data-visual-preview='blue'] .dashboard-heading {
    background: #f7f4ed;
    padding: 64px 0 40px;
}
html[data-visual-preview='blue'] .dashboard-welcome h1 {
    color: #22283a;
    font-weight: 800;
}
html[data-visual-preview='blue'] .dashboard-stats {
    gap: 20px;
}
html[data-visual-preview='blue'] .dashboard-stats article {
    min-height: 168px;
    border: 0;
    border-radius: 18px;
    padding: 26px;
    background: #c7db65;
}
html[data-visual-preview='blue'] .dashboard-stats article:nth-child(2) {
    background: #e4ddf4;
}
html[data-visual-preview='blue'] .dashboard-stats article:nth-child(3) {
    background: #f9d6cb;
}
html[data-visual-preview='blue']
    .dashboard-stats
    article
    :is(strong, small, svg) {
    color: #22283a;
}
html[data-visual-preview='blue'] .dashboard-stats article > span {
    background: #ffffff80;
    border-radius: 12px;
}
html[data-visual-preview='blue'] .dashboard-stats strong {
    font-size: 52px;
    font-weight: 800;
}
html[data-visual-preview='blue'] .dashboard-content {
    background: #fff;
}
html[data-visual-preview='blue'] .admin-system {
    background: #f7f4ed;
}
html[data-visual-preview='blue'] .admin-sidebar {
    background: #fff;
    border-right: 1px solid #e1dfd9;
}
html[data-visual-preview='blue'] .admin-brand {
    background: none;
    padding: 0;
    border: 0;
    border-radius: 0;
}
html[data-visual-preview='blue'] .admin-sidebar :is(a, button) {
    color: #626473;
}
html[data-visual-preview='blue'] .admin-sidebar nav > a {
    margin: 3px 0;
    padding: 13px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
}
html[data-visual-preview='blue']
    .admin-sidebar
    nav
    > a:nth-of-type(3n + 1)
    svg {
    color: #006eb9;
}
html[data-visual-preview='blue']
    .admin-sidebar
    nav
    > a:nth-of-type(3n + 2)
    svg {
    color: #7464c7;
}
html[data-visual-preview='blue'] .admin-sidebar nav > a:nth-of-type(3n) svg {
    color: #ad4c3a;
}
html[data-visual-preview='blue'] .admin-sidebar nav > a:is(.is-active, :hover) {
    background: #edf5fb;
    color: #006eb9;
    box-shadow: none;
}
html[data-visual-preview='blue'] .admin-nav-title {
    color: #8a8791;
    font-size: 12px;
    letter-spacing: 0.08em;
}
html[data-visual-preview='blue'] .admin-topbar {
    background: #fff;
}
html[data-visual-preview='blue'] .admin-page-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #22283a;
}
html[data-visual-preview='blue'] .admin-button {
    border-radius: 10px;
}
html[data-visual-preview='blue'] .ref-admin-table {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e1dfd9;
    background: #fff;
}
html[data-visual-preview='blue'] .ref-admin-table th {
    background: #f2f0eb;
    color: #626473;
}
html[data-visual-preview='blue'] .ref-admin-table td {
    border-color: #ebe8e1;
}
html[data-visual-preview='blue'] .ref-admin-courses .admin-results-count {
    background: #c7db65;
    color: #22283a;
}
@media (max-width: 1100px) {
    html[data-visual-preview='blue'] .header-inner {
        gap: 16px;
    }
    html[data-visual-preview='blue'] .main-nav > a {
        padding: 12px 9px;
    }
    html[data-visual-preview='blue'] .school-brand img {
        width: 160px;
    }
}
@media (max-width: 840px) {
    html[data-visual-preview='blue'] .header-inner {
        min-height: 80px;
    }
    html[data-visual-preview='blue'] .main-nav {
        background: #fff;
        padding: 14px 24px;
    }
    html[data-visual-preview='blue'] .main-nav > a {
        padding: 14px 16px;
        font-size: 16px;
    }
    html[data-visual-preview='blue'] .ref-intro {
        padding: 48px 0;
    }
    html[data-visual-preview='blue'] .ref-intro .ref-section-head {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    html[data-visual-preview='blue'] .ref-intro h1 {
        font-size: 36px;
    }
    html[data-visual-preview='blue'] .ref-section {
        padding: 48px 0;
    }
    html[data-visual-preview='blue'] :is(.ref-course-grid, .catalog-grid) {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 480px) {
    html[data-visual-preview='blue'] :is(.school-shell, .ref-container) {
        width: calc(100% - 32px);
    }
    html[data-visual-preview='blue'] .formation-body {
        padding: 24px;
    }
    html[data-visual-preview='blue'] .formation-media {
        height: 230px;
        min-height: 230px;
    }
    html[data-visual-preview='blue'] .formation-facts {
        flex-direction: column;
        gap: 12px;
    }
    html[data-visual-preview='blue'] .catalog-filter-form {
        padding: 18px;
    }
    html[data-visual-preview='blue'] .admin-page-header h1 {
        font-size: 36px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html[data-visual-preview='blue'] * {
        transition-duration: 1ms !important;
    }
}
html[data-visual-preview='blue'] .admin-sidebar .admin-brand img {
    content: normal;
}
html[data-visual-preview='blue']
    .admin-sidebar
    :is(
        nav a,
        .admin-nav-group-trigger,
        .admin-sidebar-bottom a,
        .admin-sidebar-bottom button
    ) {
    color: #626473;
}
html[data-visual-preview='blue']
    .admin-sidebar
    :is(nav a, .admin-nav-group-trigger):hover {
    background: #edf5fb;
}
html[data-visual-preview='blue'] .admin-sidebar nav a.is-active {
    color: #006eb9;
    background: #edf5fb;
}
html[data-visual-preview='blue'] .admin-sidebar .admin-nav-title {
    color: #88838c;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 14px;
}
html[data-visual-preview='blue'] .admin-sidebar-bottom {
    border-color: #e1dfd9;
}
html[data-visual-preview='blue'] .admin-main {
    width: calc(100% - 64px);
    padding-top: 36px;
}
html[data-visual-preview='blue'] .admin-heading h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}
html[data-visual-preview='blue'] #admin-content.ref-admin-courses {
    display: flex;
    flex-direction: column;
    gap: 26px;
}
html[data-visual-preview='blue'] .ref-admin-courses .admin-heading {
    margin: 0 0 8px;
}
html[data-visual-preview='blue']
    #admin-content.ref-admin-courses
    .admin-filters {
    grid-template-columns:
        minmax(180px, 1.6fr) minmax(150px, 1fr) minmax(150px, 1fr)
        auto;
    gap: 16px;
    border-radius: 16px;
    padding: 22px;
}
html[data-visual-preview='blue'] .ref-admin-courses .admin-filter-field {
    grid-column: auto;
}
html[data-visual-preview='blue'] .ref-admin-courses .admin-result-summary {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #626473;
    font-size: 14px;
}
html[data-visual-preview='blue']
    .ref-admin-courses
    .admin-result-summary
    strong {
    font-size: 20px;
    font-weight: 800;
    color: #22283a;
}
html[data-visual-preview='blue']
    :is(
        .admin-primary-button,
        #admin-content .admin-filters > button[type='submit']
    ) {
    border-radius: 10px;
}
html[data-visual-preview='blue'] .ref-admin-table td strong {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}
html[data-visual-preview='blue'] .ref-admin-table td small {
    font-size: 12px;
    line-height: 1.6;
}
html[data-visual-preview='blue'] .ref-admin-table :is(th, td) {
    padding: 18px 16px;
    font-size: 14px;
}
html[data-visual-preview='blue'] .ref-admin-table .status-published {
    border: 0;
    background: #eaf1c9;
    color: #45551e;
    border-radius: 7px;
    font-size: 12px;
    padding: 5px 9px;
}
html[data-visual-preview='blue'] .auth-site {
    background: #f7f4ed;
    font-family: 'Manrope', sans-serif;
    color: #22283a;
}
html[data-visual-preview='blue'] .auth-panel {
    background: #fff;
    border: 1px solid #e1dfd9;
    border-radius: 22px;
    padding: 40px;
    width: 100%;
    max-width: 510px;
    box-shadow: 0 12px 48px #22283a08;
}
html[data-visual-preview='blue'] .auth-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}
html[data-visual-preview='blue'] .auth-heading p {
    font-size: 16px;
    line-height: 1.6;
}
html[data-visual-preview='blue'] .auth-site :is(input, button) {
    min-height: 48px;
    border-radius: 10px;
    font-size: 16px;
}
html[data-visual-preview='blue'] .auth-site button[type='submit'] {
    background: #006eb9;
    color: #fff;
}
html[data-visual-preview='blue'] .auth-site [role='checkbox'] {
    min-height: 18px;
    border-radius: 4px;
}
@media (max-width: 1200px) {
    html[data-visual-preview='blue']
        #admin-content.ref-admin-courses
        .admin-filters {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    }
    html[data-visual-preview='blue'] .ref-admin-courses .admin-filter-field {
        grid-column: 1 / -1;
    }
}
@media (max-width: 840px) {
    html[data-visual-preview='blue'] .admin-main {
        width: calc(100% - 32px);
        padding-top: 28px;
    }
    html[data-visual-preview='blue'] .admin-heading h1 {
        font-size: 36px;
    }
    html[data-visual-preview='blue'] .admin-sidebar-head {
        background: #fff;
    }
    html[data-visual-preview='blue'] .admin-menu-toggle {
        color: #006eb9;
        background: #edf5fb;
        border-color: #dae6ee;
    }
}
@media (max-width: 480px) {
    html[data-visual-preview='blue']
        #admin-content.ref-admin-courses
        .admin-filters {
        grid-template-columns: minmax(0, 1fr);
        padding: 18px;
    }
    html[data-visual-preview='blue'] .auth-panel {
        padding: 26px 20px;
    }
}
html[data-visual-preview='blue'] .ref-admin-courses .admin-result-summary {
    justify-content: flex-start;
    text-align: left;
}
html[data-visual-preview='blue'] .admin-topbar {
    height: 72px;
}
html[data-visual-preview='blue'] {
    --panel-title: 24px;
    --field-label: 14px;
}
html[data-visual-preview='blue'] :is(.editor-card, .admin-panel) {
    background: #fff;
    border: 1px solid #e1dfd9;
    border-radius: 16px;
    box-shadow: none;
}
html[data-visual-preview='blue'] .editor-card-heading {
    background: none;
    border: 0;
    padding: 0;
    margin-bottom: 26px;
}
html[data-visual-preview='blue'] .editor-card-heading > span {
    background: #eaf1c9;
    color: #4f6020;
    border-radius: 8px;
    padding: 6px 9px;
    font-size: 12px;
}
html[data-visual-preview='blue'] :is(.editor-card, .admin-panel) h2 {
    font-size: var(--panel-title);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
}
html[data-visual-preview='blue']
    :is(.editor-card-heading, .course-cover-heading)
    p {
    font-size: 16px;
    line-height: 1.6;
    color: #626473;
}
html[data-visual-preview='blue'] .editor-field > span {
    font-size: var(--field-label);
    font-weight: 600;
}
html[data-visual-preview='blue']
    .editor-field
    :is(input, textarea, [role='combobox']) {
    font:
        400 16px/1.5 'Manrope',
        sans-serif;
    border: 1px solid #dedee2;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    min-height: 48px;
}
html[data-visual-preview='blue']
    .editor-field
    :is(input, textarea, [role='combobox']):disabled {
    background: #f3f2ef;
    color: #777480;
}
html[data-visual-preview='blue'] .admin-legacy-warning {
    border: 1px solid #e8dab3;
    border-radius: 10px;
    background: #fbf7eb;
    font-size: 14px;
    line-height: 1.6;
}
html[data-visual-preview='blue'] .editor-check {
    border-radius: 10px;
}
html[data-visual-preview='blue'] .editor-check.is-checked {
    border-color: #c4dced;
    background: #edf5fb;
}
html[data-visual-preview='blue'] .editor-check strong {
    font-size: 14px;
}
html[data-visual-preview='blue'] :is(.safe-edit-note, .editor-check small) {
    font-size: 14px;
    line-height: 1.6;
}
html[data-visual-preview='blue'] .course-detail-hero {
    background: #f7f4ed;
    color: #22283a;
    padding: 44px 0 64px;
}
html[data-visual-preview='blue'] .course-detail-copy h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: #22283a;
}
html[data-visual-preview='blue'] .course-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #626473;
}
html[data-visual-preview='blue'] .course-facts {
    gap: 16px;
}
html[data-visual-preview='blue'] .course-facts > span {
    background: #fff;
    border: 1px solid #e1dfd9;
    border-radius: 12px;
    padding: 18px;
}
html[data-visual-preview='blue'] .course-facts small {
    font-size: 12px;
    color: #626473;
}
html[data-visual-preview='blue'] .course-facts strong {
    font-size: 16px;
    color: #22283a;
}
html[data-visual-preview='blue'] .course-facts svg {
    color: #7464c7;
}
html[data-visual-preview='blue'] .course-facts > span:nth-child(2) {
    background: #eaf1c9;
}
html[data-visual-preview='blue'] .enrollment-card {
    background: #fff;
    color: #22283a;
    border: 1px solid #e1dfd9;
    border-radius: 18px;
    box-shadow: none;
}
html[data-visual-preview='blue']
    :is(.enrollment-card h2, .course-description h2, .curriculum-heading h2) {
    font-size: var(--panel-title);
    font-weight: 800;
}
html[data-visual-preview='blue'] .enrollment-card :is(p, span) {
    font-size: 16px;
    line-height: 1.6;
}
html[data-visual-preview='blue'] .course-content-section {
    background: #fff;
}
html[data-visual-preview='blue'] .audience-box {
    background: #f1edf8;
    border: 0;
    border-radius: 16px;
}
html[data-visual-preview='blue'] .learning-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
html[data-visual-preview='blue'] .learning-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    border: 1px solid #e1dfd9;
    padding: 28px;
    border-radius: 18px;
}
html[data-visual-preview='blue'] .learning-copy h3 {
    font-size: var(--card-title);
    line-height: 1.18;
    font-weight: 800;
}
html[data-visual-preview='blue'] .learning-copy small {
    font-size: var(--card-category);
    font-weight: 700;
    color: #6553ae;
}
html[data-visual-preview='blue'] .learning-actions {
    margin-top: auto;
}
@media (max-width: 840px) {
    html[data-visual-preview='blue'] .course-detail-copy h1 {
        font-size: 36px;
    }
    html[data-visual-preview='blue'] .learning-list {
        grid-template-columns: minmax(0, 1fr);
    }
}
html[data-visual-preview='blue'] .course-detail-hero .back-link {
    color: #006eb9 !important;
    opacity: 1;
}
html[data-visual-preview='blue'] .enrollment-card .button-disabled {
    background: #eae8e1;
    color: #626473;
    border: 1px solid #dfddd5;
    cursor: default;
}
html[data-visual-preview='blue'] .course-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
html[data-visual-preview='blue'] .course-facts > span {
    min-height: 110px;
}
html[data-visual-preview='blue'] .enrollment-card .schedule-line svg {
    color: #7464c7;
}
html[data-visual-preview='blue'] .curriculum-card {
    border-radius: 16px;
    overflow: hidden;
    border-color: #e1dfd9;
}
@media (max-width: 840px) {
    html[data-visual-preview='blue'] .main-nav {
        top: 80px;
        bottom: auto;
        height: auto;
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        padding: 14px 16px 20px;
        border-bottom: 1px solid #e1dfd9;
        box-shadow: 0 14px 20px #22283a0a;
    }
    html[data-visual-preview='blue'] .main-nav > a {
        border: 0;
        box-shadow: none;
    }
}
html[data-visual-preview='blue']
    :is(.public-index-header, .news-detail-header) {
    background: #f7f4ed;
    border: 0;
    color: #22283a;
}
html[data-visual-preview='blue']
    :is(.public-index-header, .news-detail-header)
    h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: #22283a;
}
html[data-visual-preview='blue']
    :is(.public-index-header, .news-detail-header)
    p {
    color: #626473;
    font-size: 18px;
    line-height: 1.6;
}
html[data-visual-preview='blue'] :is(.news-grid, .ref-news-grid) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
html[data-visual-preview='blue'] .news-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e1dfd9;
    border-radius: 22px;
    padding: 0;
    background: #fff;
    overflow: hidden;
    box-shadow: none;
}
html[data-visual-preview='blue'] .news-card-image {
    display: block;
    width: 100%;
    height: 280px;
    flex: 0 0 280px;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
}
html[data-visual-preview='blue'] .news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
html[data-visual-preview='blue'] .news-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}
html[data-visual-preview='blue'] .news-card-body h3 {
    font-size: var(--card-title);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.035em;
    margin: 0;
}
html[data-visual-preview='blue'] .news-card-body p {
    font-size: 18px;
    line-height: 1.6;
    color: #626473;
    margin: 0;
}
html[data-visual-preview='blue'] .news-card-date {
    font-size: 14px;
    color: #6553ae;
}
html[data-visual-preview='blue'] .news-card-body .text-link {
    margin-top: auto;
    padding: 12px 0 0;
    color: #006eb9;
}
html[data-visual-preview='blue'] .news-back-link {
    color: #006eb9;
}
html[data-visual-preview='blue'] .about-section h2 {
    font-size: 32px;
    font-weight: 800;
}
html[data-visual-preview='blue'] .news-article-copy {
    color: #22283a;
}
html[data-visual-preview='blue'] .news-article-copy :is(p, li) {
    font-size: 18px;
    line-height: 1.7;
}
@media (max-width: 840px) {
    html[data-visual-preview='blue']
        :is(.public-index-header, .news-detail-header)
        h1 {
        font-size: 36px;
    }
    html[data-visual-preview='blue'] :is(.news-grid, .ref-news-grid) {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 480px) {
    html[data-visual-preview='blue'] .news-card-body {
        padding: 24px;
    }
    html[data-visual-preview='blue'] .news-card-image {
        height: 230px;
        flex-basis: 230px;
    }
}
/* User correction: quiet navigation and compact account disclosure. */
html[data-visual-preview='blue'] .school-header .header-inner {
    min-height: 84px;
}
html[data-visual-preview='blue'] .school-header .school-brand img {
    width: 170px;
}
html[data-visual-preview='blue'] .school-header .main-nav > a,
html[data-visual-preview='blue']
    .school-header
    .main-nav
    > a:is(:hover, :focus-visible, .is-active) {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}
html[data-visual-preview='blue'] .school-header .main-nav > a {
    color: #626473;
    padding: 12px;
}
html[data-visual-preview='blue']
    .school-header
    .main-nav
    > a:is(:hover, .is-active) {
    color: #006eb9;
}
html[data-visual-preview='blue'] .school-account-menu {
    position: relative;
    flex: 0 0 auto;
}
html[data-visual-preview='blue'] .school-account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0;
    color: #22283a;
    background: transparent;
    border: 0;
    box-shadow: none;
    font:
        600 14px/1.4 'Manrope',
        sans-serif;
    cursor: pointer;
}
html[data-visual-preview='blue'] .school-account-trigger > svg {
    width: 14px;
    height: 14px;
    color: #626473;
    transition: transform 220ms;
}
html[data-visual-preview='blue']
    .school-account-trigger[aria-expanded='true']
    > svg {
    transform: rotate(180deg);
}
html[data-visual-preview='blue'] .school-account-avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #c7db65;
    color: #35421b;
    font-size: 13px;
    font-weight: 700;
}
html[data-visual-preview='blue'] .school-account-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 256px;
    padding: 10px;
    border: 1px solid #e1dfd9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 36px #22283a14;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
        opacity 220ms,
        transform 220ms,
        visibility 220ms;
    z-index: 70;
}
html[data-visual-preview='blue'] .school-account-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
html[data-visual-preview='blue'] .school-account-panel .school-account-name {
    margin: 0 0 6px;
    padding: 10px 10px 14px;
    border-bottom: 1px solid #ebe8e1;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
html[data-visual-preview='blue'] .school-account-panel :is(a, button) {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #626473;
    transition:
        background 220ms,
        color 220ms;
    cursor: pointer;
}
html[data-visual-preview='blue'] .school-account-panel :is(a, button):hover {
    background: #f7f4ed;
    color: #006eb9;
}
html[data-visual-preview='blue'] .school-account-panel :is(a, button) svg {
    width: 18px;
    height: 18px;
}
html[data-visual-preview='blue'] .ref-intro {
    background: #f7f4ed url('brand/hero-texture-2026.png') center / cover
        no-repeat;
}
html[data-visual-preview='blue'] .school-site .public-index-heading h1,
html[data-visual-preview='blue'] .school-site .news-detail-heading h1 {
    font-weight: 800;
}
html[data-visual-preview='blue']
    .admin-system
    .editor-card
    .editor-card-heading
    h2 {
    font-size: var(--panel-title);
}
html[data-visual-preview='blue'] .news-index-content {
    background: transparent;
    padding-top: 32px;
}
html[data-visual-preview='blue'] .news-index-site .news-search {
    max-width: none;
    padding: 22px;
    border: 1px solid #e1dfd9;
    background: #fff;
    border-radius: 16px;
}
html[data-visual-preview='blue'] .news-search > div {
    gap: 12px;
    box-shadow: none;
}
html[data-visual-preview='blue'] .news-search input {
    border-radius: 10px;
    border: 1px solid #dedee2;
    font-size: 16px;
    min-height: 48px;
}
html[data-visual-preview='blue'] .news-search button {
    border-radius: 10px;
    min-height: 48px;
    box-shadow: none;
}
@media (max-width: 840px) {
    html[data-visual-preview='blue'] .school-header .header-inner {
        min-height: 72px;
    }
    html[data-visual-preview='blue'] .school-header .school-brand img {
        width: 150px;
    }
    html[data-visual-preview='blue'] .school-header .main-nav {
        top: 72px;
    }
    html[data-visual-preview='blue'] .school-account-label {
        display: none;
    }
    html[data-visual-preview='blue'] .school-account-trigger {
        gap: 4px;
    }
    html[data-visual-preview='blue'] .school-account-panel {
        right: -50px;
        max-width: calc(100vw - 32px);
    }
    html[data-visual-preview='blue'] .ref-intro {
        background-size: auto 100%;
    }
}
html[data-visual-preview='blue'] .news-card-body :is(h3, p) {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
}
html[data-visual-preview='blue'] .news-search > div {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: visible;
    background: none;
    border: 0;
}
html[data-visual-preview='blue'] .news-search > div > svg {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 20px;
    height: 20px;
}
html[data-visual-preview='blue'] .news-search input {
    padding-left: 44px;
}
@media (max-width: 590px) {
    html[data-visual-preview='blue'] .news-search > div {
        grid-template-columns: minmax(0, 1fr);
    }
}
html[data-visual-preview='blue']
    .school-site
    .news-detail-header
    .news-back-link {
    color: #006eb9;
    opacity: 1;
}
html[data-visual-preview='blue']
    .school-site
    .news-detail-header
    .news-detail-meta {
    color: #6553ae;
}
html[data-visual-preview='blue'] .school-site {
    --school-blue: #006eb9;
    --school-blue-dark: #005c9b;
    --school-blue-deep: #263746;
    --school-orange: #ed765e;
    --school-orange-dark: #a63c2c;
    --school-green: #60742b;
    --school-canvas-blue: #f7f4ed;
    --school-blue-soft: #edf5fb;
    --school-orange-soft: #fae8e2;
    --school-green-soft: #eaf1c9;
}
html[data-visual-preview='blue'] .news-detail-page {
    background: #fff;
}
html[data-visual-preview='blue'] :is(.about-content, .news-detail-content) {
    background: transparent;
}
/* Override the legacy important declaration on the news back link. */
html[data-visual-preview='blue']
    .school-site
    .news-detail-header
    .news-back-link {
    color: #006eb9 !important;
}
