/* ===== SiteModern - light shell for Site.master and SiteModern.master =====
   The sidebar menu itself is styled by SiteNav.css. */

* { box-sizing: border-box; }

html, body.om {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #f4f6f8;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #2b2f33;
}

/* ---------- header ---------- */

.om-header {
    display: flex;
    align-items: center;
    height: 52px;
    background: #ffffff;
    border-bottom: 1px solid #e2e6ea;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 14px;
}

.om-logo img {
    max-height: 38px;
    max-width: 140px;
    display: block;
}

.om-titleblock {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
    min-width: 0;
}

.om-systitle {
    font-weight: 600;
    font-size: 15px;
    color: #1c2b36;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.om-breadcrumb {
    font-size: 12px;
    color: #7a8691;
    white-space: nowrap;
}

/* page actions (e.g. "Use classic version"); its auto margin pushes it and the user chip to the right */
.om-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.om-userarea {
    position: relative;
}

/* "Use classic version" on a rewritten page (OD-100) */
.om-classic-link {
    color: #5f6b75;
    text-decoration: underline;
}

    .om-classic-link:hover {
        color: #007F97;
    }

/* banner on the classic copy of a rewritten page; explicit size so legacy content scaling does not shrink it */
.om-classic-banner {
    background: #fff8e5;
    border: 1px solid #f3dfa8;
    border-radius: 8px;
    color: #6b5310;
    font-size: 13px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

    .om-classic-banner a {
        color: #007F97;
        font-weight: 600;
    }

/* shown instead of the user chip when nobody is signed in */
.om-signin {
    color: #007F97;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

    .om-signin:hover {
        text-decoration: underline;
    }

.om-userchip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #d8dee4;
    border-radius: 999px;
    padding: 3px 12px 3px 4px;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

    .om-userchip:hover {
        background: #f0f3f6;
    }

.om-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #007F97;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.om-chev {
    color: #8a949e;
    font-size: 11px;
}

.om-usermenu {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background: #fff;
    border: 1px solid #d8dee4;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(20, 30, 40, 0.12);
    min-width: 180px;
    padding: 6px 0;
    z-index: 200;
}

    .om-usermenu.open {
        display: block;
    }

    .om-usermenu a {
        display: block;
        padding: 8px 16px;
        color: #2b2f33;
        text-decoration: none;
        font-size: 13px;
    }

        .om-usermenu a:hover {
            background: #f0f3f6;
        }

/* ---------- layout ---------- */

.om-body {
    display: flex;
    min-height: calc(100% - 52px);
    align-items: stretch;
}

.om-sidebar {
    width: 235px;
    flex-shrink: 0;
    background: #ffffff;
    border-right: 1px solid #e2e6ea;
    padding: 10px 8px 30px 8px;
    overflow-y: auto;
    position: sticky;
    top: 52px;
    height: calc(100vh - 52px);
}

.om-main {
    flex-grow: 1;
    min-width: 0;
    padding: 18px 22px 40px 22px;
}

/* ---------- sidebar hide / show (OD-132, Scripts/om.sidebar.js) ---------- */

/* header button; shown only when the page has a sidebar (the script adds om-has-nav) */
.om-navtoggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    margin-left: -6px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: none;
    color: #56606a;
    cursor: pointer;
    padding: 0;
}

    .om-navtoggle:hover {
        background: #f0f3f6;
        border-color: #e2e6ea;
    }

    .om-navtoggle:focus-visible {
        outline: 2px solid #007F97;
        outline-offset: 1px;
    }

body.om-has-nav .om-navtoggle {
    display: flex;
}

/* hidden: out of the layout, so the content takes the full width; visibility keeps it out of the tab order */
body.om-nav-hidden .om-sidebar {
    position: fixed;
    left: 0;
    top: 52px;
    bottom: 0;
    height: auto;
    z-index: 150;
    transform: translateX(-100%);
    visibility: hidden;
    box-shadow: 4px 0 18px rgba(20, 30, 40, 0.18);
    transition: transform 0.2s ease, visibility 0s linear 0.2s;
}

/* revealed by hovering the left edge (or the button on narrow screens): slides out over the content */
body.om-nav-hidden.om-nav-peek .om-sidebar {
    transform: none;
    visibility: visible;
    transition: transform 0.2s ease, visibility 0s;
}

/* invisible strip on the left edge that reveals the hidden sidebar */
.om-nav-edge {
    display: none;
    position: fixed;
    left: 0;
    top: 52px;
    bottom: 0;
    width: 10px;
    z-index: 140;
}

body.om-nav-hidden .om-nav-edge {
    display: block;
}

@media print {
    .om-navtoggle,
    .om-nav-edge {
        display: none !important;
    }
}

/* ---------- sidebar nav ---------- */

/* the menu inside the sidebar is styled by SiteNav.css (Controls/SiteNav.ascx) */

/* ---------- page building blocks ---------- */

.om-page-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 14px 0;
}

    .om-page-head h1 {
        font-size: 20px;
        font-weight: 600;
        margin: 0;
        color: #1c2b36;
    }

.om-badge-beta {
    background: #fff3cd;
    color: #7a5d00;
    border: 1px solid #ffe69c;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
}

.om-card {
    background: #ffffff;
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

/* filters bar */

.om-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.om-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .om-field label {
        font-size: 11px;
        font-weight: 600;
        color: #7a8691;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

    .om-field select,
    .om-field input[type="date"],
    .om-field input[type="text"] {
        border: 1px solid #d8dee4;
        border-radius: 8px;
        padding: 7px 10px;
        font-size: 13px;
        font-family: inherit;
        background: #fff;
        min-width: 160px;
        outline: none;
    }

        .om-field select:focus,
        .om-field input:focus {
            border-color: #007F97;
        }

.om-btn {
    border: 1px solid #d8dee4;
    background: #ffffff;
    color: #2b2f33;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
}

    .om-btn:hover {
        background: #f0f3f6;
    }

.om-btn-primary {
    background: #007F97;
    border-color: #007F97;
    color: #ffffff;
}

    .om-btn-primary:hover {
        background: #006a7e;
    }

.om-link-btn {
    background: none;
    border: none;
    color: #007F97;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 8px 4px;
}

/* ---------- data table ---------- */

.om-table-wrap {
    overflow-x: auto;
}

.om-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

    .om-table th {
        text-align: left;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        color: #7a8691;
        border-bottom: 2px solid #e2e6ea;
        padding: 8px 10px;
        cursor: pointer;
        user-select: none;
        white-space: nowrap;
    }

        .om-table th .sort-ind {
            color: #007F97;
            font-size: 10px;
            margin-left: 3px;
        }

    .om-table td {
        border-bottom: 1px solid #eef1f4;
        padding: 7px 10px;
        vertical-align: middle;
    }

    .om-table tbody tr:hover td {
        background: #f7fafb;
    }

    /* a row painted from the data (status colours) keeps its colour while hovered */
    .om-table tbody tr[style]:hover td {
        background: transparent;
    }

    .om-table a {
        color: #007F97;
        font-weight: 600;
        text-decoration: none;
    }

        .om-table a:hover {
            text-decoration: underline;
        }

/* row / cell states (same meanings as V1 legend) */

tr.row-unopened td {
    background: #fdecea !important;
}

tr.row-future td {
    background: #e8f5e9 !important;
}

td.c-bad {
    background: #fdecea;
    color: #a32d2d;
    font-weight: 600;
}

td.c-exc {
    background: #e8f5e9;
}

td.c-cov {
    background: #fff3cd;
}

td.c-started {
    background: #e8f5e9;
}

/* attendance percentage bar */

.om-bar {
    background: #eef1f4;
    border-radius: 999px;
    height: 16px;
    min-width: 90px;
    position: relative;
    overflow: hidden;
}

.om-bar-fill {
    height: 100%;
    border-radius: 999px;
}

    .om-bar-fill.p0 { background: #d9534f; }
    .om-bar-fill.p25 { background: #f0ad4e; }
    .om-bar-fill.p50 { background: #9bcf8f; }
    .om-bar-fill.p75 { background: #4aa02c; }

.om-bar span {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #1c2b36;
}

/* status + legend */

.om-status {
    font-size: 12px;
    color: #7a8691;
    padding: 4px 0 10px 0;
}

    .om-status.error {
        color: #a32d2d;
        font-weight: 600;
    }

.om-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
    color: #56606a;
    padding-top: 12px;
}

    .om-legend span i {
        display: inline-block;
        width: 10px;
        height: 10px;
        border-radius: 2px;
        margin-right: 5px;
    }

.lg-unopened i { background: #fdecea; border: 1px solid #d9534f; }
.lg-future i { background: #e8f5e9; border: 1px solid #4aa02c; }
.lg-covered i { background: #fff3cd; border: 1px solid #f0ad4e; }

/* print */

@media print {
    .NoPrint { display: none !important; }
    .om-main { padding: 0; }
    .om-card { border: none; }
}


/* ---------- grid loading overlay ---------- */

.om-grid-host {
    position: relative;
    min-height: 140px;
}

.om-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.65);
    z-index: 10;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #00606f;
}

    .om-loading.show {
        display: flex;
    }

.om-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #cfe6ea;
    border-top-color: #007F97;
    border-radius: 50%;
    animation: omspin 0.7s linear infinite;
}

@keyframes omspin {
    to { transform: rotate(360deg); }
}

.om-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

/* ---------- flatpickr range picker, brand accent ---------- */

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus {
    background: #007F97;
    border-color: #007F97;
}

.flatpickr-day.inRange {
    background: #e0f0f3;
    border-color: #e0f0f3;
    box-shadow: -5px 0 0 #e0f0f3, 5px 0 0 #e0f0f3;
}

/* ---------- searchable select (Scripts/om.searchableselect.js) ---------- */

.om-ss {
    position: relative;
    min-width: 180px;
}

.om-ss-input {
    width: 100%;
    box-sizing: border-box;
}

.om-ss-menu {
    display: none;
    position: absolute;
    z-index: 50;
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    background: #fff;
    border: 1px solid #d8dee4;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    max-height: 240px;
    overflow-y: auto;
}

    .om-ss-menu.open {
        display: block;
    }

.om-ss-item {
    padding: 7px 10px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

    .om-ss-item:hover,
    .om-ss-item.sel {
        background: #eef6f8;
    }

.om-ss-empty {
    padding: 7px 10px;
    font-size: 13px;
    color: #9aa6b1;
}

/* date-range field: wider than the standard 160px field */
.om-field-range input[type="text"] {
    min-width: 225px;
    width: 225px;
}

/* ---------- card title, empty state ---------- */

.om-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1c2b36;
    margin: 0 0 10px 0;
}

.om-count {
    font-size: 12px;
    font-weight: 400;
    color: #7a8691;
    margin-left: 6px;
}

.om-empty {
    font-size: 13px;
    color: #7a8691;
}

/* ---------- file list (StudentResources, OD-120) ---------- */

.om-filelist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.om-file {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 4px;
    border-bottom: 1px solid #eef1f4;
    font-size: 13px;
}

    .om-file:last-child {
        border-bottom: none;
    }

    .om-file a {
        color: #007F97;
        font-weight: 600;
        text-decoration: none;
        flex-grow: 1;
        min-width: 0;
        overflow-wrap: anywhere;
    }

        .om-file a:hover {
            text-decoration: underline;
        }

.om-file-ext {
    flex-shrink: 0;
    min-width: 44px;
    text-align: center;
    background: #e0f0f3;
    color: #00606f;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
}

.om-file-size {
    flex-shrink: 0;
    color: #7a8691;
    font-size: 12px;
}

/* ---------- session header, chips and notices (SessionAttendance, OD-104) ---------- */

.om-sess-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.om-sess-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-grow: 1;
    min-width: 0;
}

.om-sess-links {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
}

    .om-sess-links a {
        color: #007F97;
        font-weight: 600;
        text-decoration: none;
    }

        .om-sess-links a:hover {
            text-decoration: underline;
        }

.om-chip {
    background: #f0f3f6;
    border-radius: 999px;
    font-size: 12px;
    padding: 4px 12px;
    color: #2b2f33;
}

    .om-chip b {
        color: #7a8691;
        font-weight: 600;
    }

    .om-chip.ok {
        background: #e8f5e9;
    }

    .om-chip.warn {
        background: #fff8e5;
    }

    .om-chip.bad {
        background: #fdecea;
    }

.om-notice {
    font-size: 13px;
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 10px;
}

    .om-notice.warn {
        background: #fff8e5;
        border: 1px solid #f3dfa8;
        color: #6b5310;
    }

    .om-notice.info {
        background: #eef6f8;
        border: 1px solid #cfe6ea;
        color: #00606f;
    }

/* ---------- tabs (om.grid.js omTabs) ---------- */

.om-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #e2e6ea;
    margin: -4px 0 12px 0;
}

.om-tab {
    border: none;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #7a8691;
    padding: 8px 14px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

    .om-tab:hover {
        color: #2b2f33;
    }

    .om-tab.on {
        color: #007F97;
        border-bottom-color: #007F97;
    }

/* checkbox group inside a filters bar */

.om-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    padding: 7px 0;
}

    .om-checks label {
        display: flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
        cursor: pointer;
    }

/* right-aligned numeric columns */

.om-table th.num,
.om-table td.num {
    text-align: right;
}

/* ---------- attendance rows ---------- */

.om-att-table td {
    white-space: nowrap;
}

.om-seg {
    display: inline-flex;
    border: 1px solid #d8dee4;
    border-radius: 8px;
    overflow: hidden;
}

.om-seg-btn {
    border: none;
    border-left: 1px solid #d8dee4;
    background: #fff;
    color: #56606a;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
}

    .om-seg-btn:first-child {
        border-left: none;
    }

    .om-seg-btn:hover:not(:disabled) {
        background: #f0f3f6;
    }

    .om-seg-btn:disabled {
        color: #b3bcc4;
        cursor: default;
    }

    .om-seg-btn.on.present {
        background: #4aa02c;
        color: #fff;
    }

    .om-seg-btn.on.late {
        background: #f0ad4e;
        color: #3d2c06;
    }

    .om-seg-btn.on.absent {
        background: #d9534f;
        color: #fff;
    }

    .om-seg-btn.on:disabled {
        opacity: 0.65;
    }

.om-check {
    width: 17px;
    height: 17px;
}

/* row states: same meanings as the classic page's colours */
tr.row-excused td { background: #dff0d8 !important; }
tr.row-approved td { background: #eef7e6 !important; }
tr.row-pending td { background: #fff8e1 !important; }
tr.row-rejected td { background: #f6e3da !important; }

.lg-excused i { background: #dff0d8; border: 1px solid #4aa02c; }
.lg-approved i { background: #eef7e6; border: 1px solid #9bcf8f; }
.lg-pending i { background: #fff8e1; border: 1px solid #f0ad4e; }
.lg-rejected i { background: #f6e3da; border: 1px solid #a5694f; }

.om-counts {
    font-size: 12px;
    color: #56606a;
    font-weight: 600;
    padding: 10px 2px 0 2px;
}

/* ---------- save bar ---------- */

.om-savebar {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 14px;
    box-shadow: 0 -2px 10px rgba(20, 30, 40, 0.06);
    font-size: 13px;
    color: #56606a;
}

/* ---------- modal (change request window) ---------- */

.om-modal {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 30, 40, 0.45);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.om-modal-box {
    background: #fff;
    border-radius: 12px;
    width: 960px;
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(20, 30, 40, 0.3);
}

.om-modal-head {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2e6ea;
    padding: 12px 16px;
}

    .om-modal-head h2 {
        font-size: 16px;
        font-weight: 600;
        margin: 0;
        flex-grow: 1;
        color: #1c2b36;
    }

.om-modal-close {
    border: none;
    background: none;
    font-size: 22px;
    line-height: 1;
    color: #7a8691;
    cursor: pointer;
}

.om-modal-body {
    padding: 14px 16px;
    overflow-y: auto;
}

.om-modal-intro {
    font-size: 13px;
    color: #56606a;
    margin: 0 0 10px 0;
}

.om-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #e2e6ea;
    padding: 12px 16px;
}

/* ---------- expandable detail rows (om.grid.js "detail" option) ---------- */

.om-table th.om-exp-h,
.om-table td.om-exp-cell {
    width: 26px;
    padding-left: 6px;
    padding-right: 0;
}

.om-exp {
    width: 18px;
    height: 18px;
    line-height: 1;
    border: 1px solid #d8dee4;
    border-radius: 4px;
    background: #fff;
    color: #56606a;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

    .om-exp:hover {
        background: #eef6f8;
        border-color: #007F97;
        color: #007F97;
    }

tr.om-detailrow > td {
    background: #f7fafb;
    padding: 0 12px 12px 34px;
}

.om-table tbody tr.om-detailrow:hover > td {
    background: #f7fafb;
}

.om-subtable {
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
}

    .om-subtable th {
        cursor: default;
        padding: 6px 10px;
    }

    .om-subtable td {
        padding: 5px 10px;
    }

    .om-subtable tbody tr:last-child td {
        border-bottom: none;
    }

/* summary under a detail table (e.g. total enrolled hours) */
.om-detail-foot {
    font-size: 12px;
    font-weight: 600;
    color: #56606a;
    padding: 6px 2px 0 2px;
    text-align: right;
}

/* ---------- per-row actions menu (SearchTool, OD-117) ---------- */

.om-rowbtn {
    border: 1px solid #d8dee4;
    border-radius: 6px;
    background: #fff;
    color: #56606a;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 7px;
    cursor: pointer;
}

    .om-rowbtn:hover {
        background: #eef6f8;
        border-color: #007F97;
        color: #007F97;
    }

.om-rowmenu {
    display: none;
    position: absolute;
    z-index: 400;
    background: #fff;
    border: 1px solid #d8dee4;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(20, 30, 40, 0.18);
    min-width: 220px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 6px 0;
}

    .om-rowmenu.open {
        display: block;
    }

.om-rowmenu-head {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #9aa6b1;
    padding: 6px 14px 3px 14px;
}

.om-rowmenu a {
    display: block;
    padding: 6px 14px;
    font-size: 13px;
    color: #2b2f33;
    text-decoration: none;
    white-space: nowrap;
}

    .om-rowmenu a:hover {
        background: #eef6f8;
        color: #007F97;
    }

.om-rowmenu-title {
    font-size: 12px;
    font-weight: 600;
    color: #1c2b36;
    border-bottom: 1px solid #eef1f4;
    padding: 4px 14px 8px 14px;
    margin-bottom: 4px;
    white-space: nowrap;
}

/* legend swatch whose colour comes from the data (status colours) */
.om-legend span i.om-swatch {
    border: 1px solid rgba(0, 0, 0, 0.25);
}

.om-modal .om-table select,
.om-modal .om-table input[type="text"] {
    border: 1px solid #d8dee4;
    border-radius: 6px;
    padding: 5px 8px;
    font: inherit;
    font-size: 13px;
    width: 100%;
}


/* ---------- student dashboard (OD-105) ---------- */

.om-notice.bad {
    background: #fdecea;
    border: 1px solid #f5c2c0;
    color: #a32d2d;
    font-weight: 600;
}

.om-sd-top {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

    .om-sd-top .om-card {
        margin-bottom: 0;
    }

.om-sd-attendance {
    flex: 2 1 320px;
}

.om-sd-score {
    flex: 1 1 200px;
}

.om-sd-stars {
    position: relative;
    display: inline-block;
    font-size: 34px;
    line-height: 1;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.om-sd-stars-back {
    color: #dfe3e7;
}

.om-sd-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #f0ad4e;
}

.om-sd-bar {
    position: relative;
    height: 28px;
    background: #eef1f4;
    border-radius: 999px;
    overflow: hidden;
}

.om-sd-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
}

.om-sd-bar span {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #1c2b36;
}

.om-sd-bignum {
    font-size: 24px;
    font-weight: 700;
    color: #1c2b36;
    margin-bottom: 6px;
}

    .om-sd-bignum a {
        color: #007F97;
    }

.om-sd-neg,
.om-sd-bignum a.om-sd-neg {
    color: #a32d2d;
}

.om-sd-top {
    margin-bottom: 14px;
}

    .om-sd-top + .om-notice {
        margin: 0 0 14px 0;
    }

.om-sd-chart {
    position: relative;
    height: 320px;
}

/* ---------- timetable grid (GlobalGridSchedule, OD-112) ---------- */

.om-tt th,
.om-tt td {
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
    line-height: 1.35;
}

.om-tt td.om-tt-time {
    white-space: nowrap;
    font-weight: 600;
    color: #56606a;
}

.om-tt tr.om-tt-week td {
    background: #dfe7ec;
    color: #1c2b36;
    font-weight: 700;
    white-space: nowrap;
}

.om-tt tr.om-tt-break td {
    background: #e8f5e9;
    color: #3c6e2f;
    font-size: 11px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.om-tt tr.om-tt-none td {
    background: #c8e6c0;
    color: #2e5e22;
    font-weight: 600;
}

.om-tt-cov {
    color: #1e7b1e;
    font-weight: 700;
}

.om-legend span i.om-tt-cov-swatch {
    background: #1e7b1e;
    border: 1px solid #1e7b1e;
}

.om-tt-refresh {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #7a8691;
}

/* ---------- ILP report (OD-119) ---------- */

.om-ilp-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px 18px;
    margin: 0;
}

    .om-ilp-info dt {
        font-size: 11px;
        font-weight: 600;
        color: #7a8691;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

    .om-ilp-info dd {
        margin: 2px 0 0 0;
        font-size: 13px;
        color: #1c2b36;
    }

.om-ilp-diff {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 12px;
    font-size: 13px;
}

    .om-ilp-diff label {
        display: flex;
        align-items: center;
        gap: 6px;
    }

.om-ilp-texts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px 18px;
}

    .om-ilp-texts input[type="text"] {
        width: 100%;
        box-sizing: border-box;
    }

    .om-ilp-texts input[readonly] {
        background: #f5f7f9;
        color: #56606a;
    }

.om-ilp-save {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

    .om-ilp-save .om-status {
        padding: 0;
    }

.om-ilp-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 14px;
}

    .om-ilp-head .om-card-title {
        margin-right: auto;
    }

    .om-ilp-head a {
        font-size: 13px;
        color: #007F97;
    }
