/* ============================================================
   BMT interface refinement — 2026-07
   A calmer, flatter visual layer over the established components.
   Remove this stylesheet link to return to the previous appearance.
   ============================================================ */

:root {
    --ui-canvas: #f6f8fb;
    --ui-surface: #ffffff;
    --ui-surface-muted: #f1f4f8;
    --ui-text: #172033;
    --ui-muted: #667085;
    --ui-line: #dfe5ed;
    --ui-line-strong: #cbd4e1;
    --ui-navy: #263b59;
    --ui-red: #c92b32;
    --ui-radius: 8px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, .06);
    --shadow-lg: 0 12px 28px rgba(15, 23, 42, .10);
    --radius: 8px;
}

body.dark-mode {
    --ui-canvas: #0f1722;
    --ui-surface: #172231;
    --ui-surface-muted: #1d2a3b;
    --ui-text: #edf2f8;
    --ui-muted: #aab7c8;
    --ui-line: #334155;
    --ui-line-strong: #46566d;
    --ui-navy: #9ab7dd;
    --ui-red: #f07b80;
    --bg-body: var(--ui-canvas);
    --bg-white: var(--ui-surface);
    --bg-light: var(--ui-surface-muted);
    --text-main: var(--ui-text);
    --text-secondary: var(--ui-muted);
    --border-color: var(--ui-line);
}

body:not(.accessible) {
    background: var(--ui-canvas);
    color: var(--ui-text);
}

body:not(.accessible) main {
    background: var(--ui-canvas);
}

body:not(.accessible) h1,
body:not(.accessible) h2,
body:not(.accessible) h3,
body:not(.accessible) .section-title,
body:not(.accessible) .page-detail-title,
body:not(.accessible) .abitur-title,
body:not(.accessible) .events-page-title,
body:not(.accessible) .news-detail-title {
    letter-spacing: 0 !important;
}

/* Compact site header */
body:not(.accessible) .top-bar {
    padding: 5px 0;
    background: #202b38;
}

body:not(.accessible) .btn-accessible {
    min-height: 32px;
    padding: 5px 12px;
}

body:not(.accessible) .top-theme-toggle,
body:not(.accessible) .top-notify-toggle {
    width: 32px;
    height: 32px;
}

body:not(.accessible) .user-menu-toggle {
    min-height: 34px;
}

body:not(.accessible) > header {
    border-bottom: 1px solid var(--ui-line);
    box-shadow: none;
}

body:not(.accessible) .header-main {
    min-height: 62px;
    padding: 8px 0;
}

body:not(.accessible) .logo-group { gap: 11px; }
body:not(.accessible) .logo-img {
    width: 44px;
    height: 44px;
    border-radius: var(--ui-radius);
    box-shadow: none;
}
body:not(.accessible) .logo-img.logo-img-has-image { border-radius: var(--ui-radius); box-shadow: none; }
body:not(.accessible) .brand-title { font-size: 1rem; letter-spacing: 0; }
body:not(.accessible) .brand-subtitle { font-size: .76rem; }
body:not(.accessible) .admission-badge { margin-bottom: 2px; }

body:not(.accessible) .header-search-form { width: 220px; }
body:not(.accessible) .header-search-input {
    min-height: 38px;
    border-radius: var(--ui-radius);
    background: var(--ui-surface-muted);
    border-color: var(--ui-line);
}

body:not(.accessible) .nav-wrap { border-color: var(--ui-line); }
body:not(.accessible) .main-menu { gap: 2px; }
body:not(.accessible) .menu-link {
    padding: 10px 14px;
    font-size: .9rem;
    border-bottom-width: 2px;
}
body:not(.accessible) .menu-item-has-children > .menu-link { padding-right: 29px; }
body:not(.accessible) .menu-link.active,
body:not(.accessible) .menu-link:hover,
body:not(.accessible) .menu-item:focus-within .menu-link {
    background: transparent;
}
body:not(.accessible) .dropdown {
    margin-top: 1px;
    border: 1px solid var(--ui-line);
    border-top: 2px solid var(--primary);
    border-radius: 0 0 var(--ui-radius) var(--ui-radius);
    box-shadow: var(--shadow-lg);
}
body:not(.accessible) .dropdown a { padding: 10px 15px; }
body:not(.accessible) .dropdown a:hover { padding-left: 15px; padding-right: 15px; }

/* Shared page rhythm and headings */
body:not(.accessible) .page-section,
body:not(.accessible) .news-page,
body:not(.accessible) .news-detail-page,
body:not(.accessible) .specialties-page,
body:not(.accessible) .teachers-page,
body:not(.accessible) .events-page,
body:not(.accessible) .abitur-page,
body:not(.accessible) .schedule-page {
    background: var(--ui-canvas);
}

body:not(.accessible) .page-section,
body:not(.accessible) .news-detail-page,
body:not(.accessible) .specialty-detail-section,
body:not(.accessible) .abitur-page,
body:not(.accessible) .events-page,
body:not(.accessible) .teachers-page {
    padding-top: 32px;
    padding-bottom: 56px;
}

body:not(.accessible) .breadcrumb,
body:not(.accessible) .sveden-breadcrumb,
body:not(.accessible) .news-detail-breadcrumb {
    margin-bottom: 14px;
    color: var(--ui-muted);
}

body:not(.accessible) .page-detail-hero,
body:not(.accessible) .specialty-header,
body:not(.accessible) .abitur-head,
body:not(.accessible) .events-page-head,
body:not(.accessible) .news-page-hero,
body:not(.accessible) .teachers-page-head,
body:not(.accessible) .specialties-page-head {
    text-align: center;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}

body:not(.accessible) .page-detail-kicker,
body:not(.accessible) .specialties-page-kicker,
body:not(.accessible) .events-page-eyebrow,
body:not(.accessible) .abitur-eyebrow,
body:not(.accessible) .news-detail-kicker,
body:not(.accessible) .hp-section-kicker {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ui-red);
    letter-spacing: 0;
}

body:not(.accessible) .page-detail-title::after,
body:not(.accessible) .section-title::after,
body:not(.accessible) .specialties-page .section-title::after,
body:not(.accessible) .news-page .section-title::after {
    display: none;
}

body:not(.accessible) .page-detail-title,
body:not(.accessible) .specialty-header h1,
body:not(.accessible) .abitur-title,
body:not(.accessible) .events-page-title,
body:not(.accessible) .news-page .section-title {
    color: var(--ui-text);
    font-size: clamp(1.7rem, 2.5vw, 2.25rem);
    line-height: 1.2;
}

/* CMS pages: content reads like a document, not a floating card. */
body:not(.accessible) .page-content-wrapper {
    max-width: 1080px;
    padding: 24px 0 0;
    border-top: 1px solid var(--ui-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    line-height: 1.72;
}
body:not(.accessible) .page-content-wrapper h2 { margin-top: 26px; }
body:not(.accessible) .page-content-wrapper h3 {
    padding-left: 12px;
    border-left-width: 3px;
}
body:not(.accessible) .page-content-wrapper table {
    border-radius: var(--ui-radius);
    border-color: var(--ui-line);
}
body:not(.accessible) .page-content-wrapper [style*="box-shadow"] { box-shadow: none !important; }
body:not(.accessible) .page-content-wrapper [style*="border-radius: 20px"],
body:not(.accessible) .page-content-wrapper [style*="border-radius:20px"],
body:not(.accessible) .page-content-wrapper [style*="border-radius: 18px"],
body:not(.accessible) .page-content-wrapper [style*="border-radius:18px"] { border-radius: var(--ui-radius) !important; }

/* Lists retain cards only for repeated content, with quiet borders. */
body:not(.accessible) .specialty-card,
body:not(.accessible) .news-page-card,
body:not(.accessible) .teacher-card,
body:not(.accessible) .album-card,
body:not(.accessible) .event-block,
body:not(.accessible) .hp-news-card,
body:not(.accessible) .hp-program-card,
body:not(.accessible) .hp-event-card {
    border-radius: var(--ui-radius);
    border: 1px solid var(--ui-line);
    box-shadow: none;
}
body:not(.accessible) .specialty-card:hover,
body:not(.accessible) .news-page-card:hover,
body:not(.accessible) .teacher-card:hover,
body:not(.accessible) .album-card:hover,
body:not(.accessible) .hp-news-card:hover,
body:not(.accessible) .hp-program-card:hover {
    transform: translateY(-2px);
    border-color: var(--ui-line-strong);
    box-shadow: var(--shadow-md);
}

body:not(.accessible) .specialties-page,
body:not(.accessible) .news-page,
body:not(.accessible) .news-detail-page {
    background-image: none;
}
body:not(.accessible) .specialties-page::before,
body:not(.accessible) .specialties-page::after,
body:not(.accessible) .news-page::before,
body:not(.accessible) .news-page::after,
body:not(.accessible) .news-detail-page::before,
body:not(.accessible) .news-detail-page::after { display: none; }

/* Specialty detail */
body:not(.accessible) .specialty-header { text-align: center; }
body:not(.accessible) .specialty-code-large {
    margin-bottom: 9px;
    padding: 4px 9px;
    background: var(--ui-surface-muted);
    border: 1px solid var(--ui-line);
    border-radius: 5px;
}
body:not(.accessible) .specialty-grid { grid-template-columns: minmax(0, 1fr) 310px; gap: 32px; }
body:not(.accessible) .specialty-image-large { margin-bottom: 24px; border-radius: var(--ui-radius); }
body:not(.accessible) .specialty-rich-description { gap: 12px; }
body:not(.accessible) .specialty-rich-description h2 {
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid var(--ui-line);
    border-radius: 0;
    background: transparent;
}
body:not(.accessible) .specialty-rich-description > p {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
body:not(.accessible) .specialty-rich-description ul { gap: 0 24px; }
body:not(.accessible) .specialty-rich-description li {
    min-height: 0;
    padding: 10px 8px 10px 24px;
    border: 0;
    border-bottom: 1px solid var(--ui-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body:not(.accessible) .specialty-rich-description li::before { left: 5px; top: 17px; box-shadow: none; }
body:not(.accessible) .specialty-sidebar .info-card {
    margin-bottom: 12px;
    padding: 18px;
    border-radius: var(--ui-radius);
    box-shadow: none;
}

/* News article */
body:not(.accessible) .news-detail-card {
    max-width: 900px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body:not(.accessible) .news-detail-head { padding-bottom: 18px; }
body:not(.accessible) .news-detail-head .news-detail-title {
    color: var(--ui-text);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}
body:not(.accessible) .news-detail-meta-item {
    min-height: 30px;
    padding: 0 9px;
    border-radius: 5px;
    background: var(--ui-surface-muted);
}
body:not(.accessible) .news-detail-slider,
body:not(.accessible) .news-detail-image-wrap,
body:not(.accessible) .news-detail-video { border-radius: var(--ui-radius); box-shadow: none; }
body:not(.accessible) .news-reactions,
body:not(.accessible) .news-comments { border-radius: var(--ui-radius); box-shadow: none; }

/* Applicant rating */
body:not(.accessible) .abitur-controls { max-width: 1100px; margin-bottom: 18px; }
body:not(.accessible) .abitur-list { max-width: 1100px; }
body:not(.accessible) .abitur-table-wrap {
    border-radius: var(--ui-radius);
    box-shadow: none;
}
body:not(.accessible) .abitur-table thead th { background: var(--ui-surface-muted); }
body:not(.accessible) .abitur-select,
body:not(.accessible) .abitur-search-input { border-radius: var(--ui-radius); }
body:not(.accessible) .abitur-notify-state.is-claimed {
    background: #eef2f6;
    color: #596579;
}
body.dark-mode:not(.accessible) .abitur-notify-state.is-claimed {
    background: #263448;
    color: #c3cfdd;
}

/* Profile surfaces */
body:not(.accessible) .profile-shell,
body:not(.accessible) .profile-content,
body:not(.accessible) .profile-page { background: var(--ui-canvas); }
body:not(.accessible) .profile-card,
body:not(.accessible) .profile-panel,
body:not(.accessible) .profile-action-card,
body:not(.accessible) .profile-dashboard-card,
body:not(.accessible) .settings-card {
    border-radius: var(--ui-radius);
    box-shadow: none;
    border-color: var(--ui-line);
}
body:not(.accessible) .profile-layout-wrapper { gap: 22px; }
body:not(.accessible) .profile-sidebar {
    border-radius: var(--ui-radius);
    border-color: var(--ui-line);
    box-shadow: none;
}
body:not(.accessible) .profile-sidebar-link,
body:not(.accessible) .profile-sidebar-logout,
body:not(.accessible) .profile-field input,
body:not(.accessible) .profile-field select,
body:not(.accessible) .profile-field textarea,
body:not(.accessible) .profile-btn { border-radius: var(--ui-radius); }
body:not(.accessible) .profile-sidebar-link.is-active { box-shadow: none; }
body:not(.accessible) .profile-hero,
body:not(.accessible) .profile-progress-card,
body:not(.accessible) .profile-quick-action,
body:not(.accessible) .profile-feed-item,
body:not(.accessible) .profile-pref-table,
body:not(.accessible) .profile-group-summary,
body:not(.accessible) .profile-member {
    border-radius: var(--ui-radius);
    box-shadow: none;
}
body:not(.accessible) .profile-quick-actions { gap: 12px; }
body:not(.accessible) .profile-quick-action { padding: 16px; }
body:not(.accessible) .profile-quick-action:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
body:not(.accessible) .profile-quick-action-icon { border-radius: 6px; }
body:not(.accessible) .profile-progress-card,
body:not(.accessible) .profile-card { padding: 20px; }

/* Sveden: stable sidebar on desktop, compact disclosure on mobile. */
html body:not(.accessible) .sveden-page { background: var(--ui-canvas) !important; }
body:not(.accessible) .sveden-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 30px; }
body:not(.accessible) .sveden-nav {
    padding: 0 20px 0 0;
    border: 0;
    border-right: 1px solid var(--ui-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body:not(.accessible) .sveden-nav-list { display: grid; gap: 1px; }
body:not(.accessible) .sveden-nav-item,
body:not(.accessible) .sveden-nav-item + .sveden-nav-item {
    margin: 0;
    padding: 8px 10px;
    border-radius: 5px;
}
body:not(.accessible) .sveden-nav-item.active {
    background: var(--ui-surface-muted);
    color: var(--ui-red);
}
html body:not(.accessible) .sveden-content {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
}
body:not(.accessible) .sveden-content-header { margin-bottom: 18px; padding-bottom: 15px; }
body:not(.accessible) .sveden-nav-toggle { display: none; }
body:not(.accessible) .sveden-content .content-block > div:not(.cms-table-wrap):not(.cms-callout):not(.cms-grid):not(.cms-documents) {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body:not(.accessible) .sveden-content [style*="box-shadow"] { box-shadow: none !important; }
body:not(.accessible) .sveden-content [style*="border-left: 4px solid"] {
    margin-bottom: 0 !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ui-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
}
body:not(.accessible) .sveden-content [style*="border-radius: 16px"] {
    padding: 20px 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--ui-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* Homepage bands stay distinct without decorative orbs. */
body:not(.accessible) .homepage-v2 .hp-news-section,
body:not(.accessible) .homepage-v2 .hp-events-section,
body:not(.accessible) .homepage-v2 .hp-programs-section,
body:not(.accessible) .homepage-v2 .hp-feedback-section {
    background-image: none;
}
body:not(.accessible) .homepage-v2 .hp-programs-section {
    border-top: 1px solid var(--ui-line);
    border-bottom: 1px solid var(--ui-line);
}

@media (max-width: 1050px) {
    body:not(.accessible) .sveden-layout { grid-template-columns: 1fr; gap: 18px; }
    body:not(.accessible) .sveden-nav {
        display: block;
        padding: 0;
        border: 1px solid var(--ui-line);
        border-radius: var(--ui-radius);
        background: var(--ui-surface);
    }
    body:not(.accessible) .sveden-nav > h3,
    body:not(.accessible) .sveden-nav-text { display: none; }
    body:not(.accessible) .sveden-nav-toggle {
        width: 100%;
        min-height: 58px;
        padding: 10px 14px;
        border: 0;
        border-radius: var(--ui-radius);
        background: transparent;
        color: var(--ui-text);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        text-align: left;
        cursor: pointer;
    }
    body:not(.accessible) .sveden-nav-toggle span:first-child { display: grid; gap: 2px; min-width: 0; }
    body:not(.accessible) .sveden-nav-toggle small { color: var(--ui-muted); font-size: .72rem; }
    body:not(.accessible) .sveden-nav-toggle strong { overflow-wrap: anywhere; }
    body:not(.accessible) .sveden-nav-chevron {
        width: 9px;
        height: 9px;
        flex: none;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform .2s ease;
    }
    body:not(.accessible) .sveden-nav-list {
        display: none;
        max-height: min(58vh, 440px);
        overflow-y: auto;
        padding: 6px;
        border-top: 1px solid var(--ui-line);
    }
    body:not(.accessible) .sveden-nav.is-open .sveden-nav-list { display: grid; }
    body:not(.accessible) .sveden-nav.is-open .sveden-nav-chevron { transform: rotate(-135deg); }
    body:not(.accessible) .sveden-nav-item {
        display: block;
        max-width: none;
        border: 0;
        background: transparent;
        font-size: .9rem;
    }
}

@media (max-width: 900px) {
    body:not(.accessible) .specialty-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
    body:not(.accessible) .top-bar { padding: 4px 0; }
    body:not(.accessible) .header-main { min-height: 56px; padding: 6px 0; }
    body:not(.accessible) .logo-img { width: 42px; height: 42px; }
    body:not(.accessible) .nav-burger { margin-left: 4px; border-radius: var(--ui-radius); }
    body:not(.accessible) .nav-wrap.open { max-height: calc(100dvh - 112px); }
    body:not(.accessible) .nav-wrap.open .main-menu .menu-link { padding-top: 11px; padding-bottom: 11px; }

    body:not(.accessible) .page-section,
    body:not(.accessible) .news-detail-page,
    body:not(.accessible) .specialty-detail-section,
    body:not(.accessible) .abitur-page,
    body:not(.accessible) .events-page,
    body:not(.accessible) .teachers-page { padding-top: 22px; padding-bottom: 42px; }

    body:not(.accessible) .page-content-wrapper { padding: 18px 0 0; }
    body:not(.accessible) .news-detail-card { padding: 0 !important; border-radius: 0; }
    body:not(.accessible) .news-detail-content { font-size: 1rem; }
    body:not(.accessible) .specialty-image-large img { height: auto; }
    body:not(.accessible) .profile-layout-wrapper { gap: 14px; }
    body:not(.accessible) .profile-sidebar { border-radius: var(--ui-radius); }
    body:not(.accessible) .profile-mobile-nav-toggle { min-height: 50px; border-radius: var(--ui-radius); }
    body:not(.accessible) .profile-sidebar-nav { gap: 4px; }
    body:not(.accessible) .profile-sidebar-link,
    body:not(.accessible) .profile-sidebar-logout { min-height: 44px; padding: 10px; }
}

@media (max-width: 560px) {
    body:not(.accessible) .top-bar .container { min-height: 36px; }
    body:not(.accessible) .top-links { gap: 7px; }
    body:not(.accessible) .top-bar .container {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 8px;
    }
    body:not(.accessible) .btn-accessible {
        display: inline-flex !important;
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        padding: 0;
        overflow: hidden;
        font-size: 0 !important;
        justify-content: center;
    }
    body:not(.accessible) .btn-accessible .icon { width: 20px; height: 20px; margin: 0; }
    body:not(.accessible) .top-links { flex-wrap: nowrap; }
    body:not(.accessible) .page-detail-hero,
    body:not(.accessible) .specialty-header,
    body:not(.accessible) .abitur-head,
    body:not(.accessible) .events-page-head,
    body:not(.accessible) .news-page-hero,
    body:not(.accessible) .teachers-page-head,
    body:not(.accessible) .specialties-page-head { margin-bottom: 18px; }
    body:not(.accessible) .specialty-sidebar .info-card { padding: 15px; }
    body:not(.accessible) .abitur-table tbody td,
    body:not(.accessible) .abitur-table thead th { padding-left: 11px; padding-right: 11px; }
}

/* Mobile notification center and applicant rating cards */
@media (max-width: 768px) {
    body:not(.accessible) .top-notify { position: static; }
    body:not(.accessible) .top-notify-dropdown {
        position: fixed;
        top: calc(52px + env(safe-area-inset-top, 0px));
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        max-height: calc(100dvh - 64px - env(safe-area-inset-top, 0px));
        margin: 0;
        padding: 10px;
        overflow: hidden;
        border-radius: 10px;
        transform: translateY(-6px) scale(.985);
        transform-origin: top center;
        box-shadow: 0 22px 54px rgba(8, 15, 28, .3);
    }
    body:not(.accessible) .top-notify.is-open .top-notify-dropdown {
        transform: translateY(0) scale(1);
    }
    body:not(.accessible) .top-notify-head { padding: 8px 8px 10px; }
    body:not(.accessible) .top-notify-tabs { overflow-x: auto; scrollbar-width: none; }
    body:not(.accessible) .top-notify-tabs::-webkit-scrollbar { display: none; }
    body:not(.accessible) .top-notify-tab { flex: 0 0 auto; min-height: 36px; }
    body:not(.accessible) .top-notify-list {
        max-height: calc(100dvh - 205px - env(safe-area-inset-top, 0px));
        overscroll-behavior: contain;
        padding-right: 3px;
    }
    body:not(.accessible) .top-notify-item { min-width: 0; padding: 11px; }
    body:not(.accessible) .top-notify-title,
    body:not(.accessible) .top-notify-text { overflow-wrap: anywhere; }
    body:not(.accessible) .top-notify-all { min-height: 42px; display: flex; align-items: center; justify-content: center; }
}

@media (max-width: 720px) {
    body:not(.accessible) .abitur-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    body:not(.accessible) .abitur-table {
        display: block;
        width: 100%;
        min-width: 0;
        border-collapse: separate;
    }
    body:not(.accessible) .abitur-table thead { display: none; }
    body:not(.accessible) .abitur-table tbody {
        display: grid;
        gap: 10px;
        width: 100%;
    }
    body:not(.accessible) .abitur-table tbody tr {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        width: 100%;
        padding: 14px;
        overflow: hidden;
        border: 1px solid var(--ui-line);
        border-radius: 9px;
        background: var(--ui-surface);
        box-shadow: var(--ui-shadow-sm);
    }
    body:not(.accessible) .abitur-table tbody tr:hover { background: var(--ui-surface); }
    body:not(.accessible) .abitur-table tbody td {
        display: block;
        min-width: 0;
        padding: 10px !important;
        border: 0;
        border-radius: 7px;
        background: var(--ui-surface-muted);
        font-size: .88rem;
    }
    body:not(.accessible) .abitur-table tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--ui-muted);
        font-size: .64rem;
        font-weight: 800;
        line-height: 1.2;
        text-transform: uppercase;
    }
    body:not(.accessible) .abitur-table tbody .abitur-num {
        position: absolute;
        top: 14px;
        left: 14px;
        z-index: 1;
        display: grid;
        place-items: center;
        width: 30px;
        height: 30px;
        padding: 0 !important;
        border-radius: 50%;
        background: #263b59;
        color: #fff;
        font-size: .78rem;
    }
    body:not(.accessible) .abitur-table tbody .abitur-num::before { display: none; }
    body:not(.accessible) .abitur-table tbody .abitur-fio {
        grid-column: 1 / -1;
        min-height: 32px;
        padding: 4px 0 7px 42px !important;
        background: transparent;
        font-size: .94rem;
        line-height: 1.4;
    }
    body:not(.accessible) .abitur-fio > span { display: block; overflow-wrap: anywhere; }
    body:not(.accessible) .abitur-linked-profile { margin: 6px 0 0; }
    body:not(.accessible) .abitur-benefit-cell,
    body:not(.accessible) .abitur-document-cell { min-height: 64px; }
    body:not(.accessible) .abitur-notify-cell {
        grid-column: 1 / -1;
        padding: 12px 0 0 !important;
        border-top: 1px solid var(--ui-line);
        border-radius: 0;
        background: transparent;
        white-space: normal;
    }
    body:not(.accessible) .abitur-notify-cell::before { margin-bottom: 7px; }
    body:not(.accessible) .abitur-notify-cell form { width: 100%; margin: 0; }
    body:not(.accessible) .abitur-notify-button,
    body:not(.accessible) .abitur-notify-state {
        width: 100%;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 7px;
    }
    body:not(.accessible) .abitur-notify-button {
        border-color: #263b59;
        background: #263b59;
        color: #fff;
        font-size: .84rem;
    }
    body:not(.accessible) .abitur-notify-button:hover { border-color: #172a45; background: #172a45; color: #fff; }
    body:not(.accessible) .abitur-notify-unavailable { display: block; padding: 9px; text-align: center; }
    body.dark-mode:not(.accessible) .abitur-table tbody tr { background: #172234; border-color: #334155; }
    body.dark-mode:not(.accessible) .abitur-table tbody tr:hover { background: #172234; }
    body.dark-mode:not(.accessible) .abitur-table tbody td { background: #101a29; }
    body.dark-mode:not(.accessible) .abitur-table tbody .abitur-fio,
    body.dark-mode:not(.accessible) .abitur-table tbody .abitur-notify-cell { background: transparent; }
    body.dark-mode:not(.accessible) .abitur-table tbody .abitur-num { background: #48688f; color: #fff; }
    body.dark-mode:not(.accessible) .abitur-notify-button { border-color: #6c8db6; background: #29486d; color: #fff; }
}
