:root {
    --blue-900: #00467a;
    --blue-800: #004c81;
    --blue-700: #0c638f;
    --blue-100: #e8f2f7;
    --navbar-background: #353647;
    --green-700: #27694d;
    --green-100: #e8f3ec;
    --ink: #1d2b32;
    --muted: #64737a;
    --canvas: #f3f6f5;
    --paper: #fff;
    --line: #d7e0e1;
    --warning: #8c6114;
    --warning-bg: #fff5dc;
    --danger: #a33832;
    --radius: 8px;
    --shadow: 0 1px 3px rgb(22 46 58 / 8%);
    --shadow-hover: 0 6px 14px rgb(22 46 58 / 16%);
}

* { box-sizing: border-box; }
html { scroll-padding-bottom: var(--footer-height, 64px); }
body { margin: 0; padding-bottom: var(--footer-height, 64px); color: var(--ink); background: var(--canvas); font: 14px/1.55 "Segoe UI", Arial, sans-serif; }
body.app-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.topbar, .site-footer { flex-shrink: 0; }
.school-flag-icon { display: inline-block; margin: 0 2px; vertical-align: middle; }
#pupil-flags .school-flag-icon { margin-bottom: 2px; }
img.school-flag-icon { width: 16px; height: 16px; object-fit: contain; }
.labs-navbar .topbar-actions .app-navbar-action { display: inline-flex; align-items: center; gap: 6px; min-height: 50px; border: 0; padding: 15px; background: transparent; color: rgb(255 255 255 / 88%); font-family: inherit; font-size: 14px; line-height: 20px; white-space: nowrap; }
.labs-navbar .topbar-actions .module-settings-action { display: flex; align-items: center; gap: 5px; min-height: 50px; padding: 15px; color: rgb(255 255 255 / 88%); white-space: nowrap; }
.labs-navbar .topbar-actions .module-settings-action:hover, .labs-navbar .topbar-actions .module-settings-action:focus-visible { background: rgb(255 255 255 / 16%); color: #fff; text-decoration: none; }
.labs-navbar .module-admin-dropdown > .dropdown-menu { border-width: 0 0 1px; background: var(--paper); }
.labs-navbar .module-admin-item > .module-admin-dropdown { position: relative; }
.labs-navbar .app-navbar-action .glyphicon { top: 0; font-size: 16px; }
.labs-navbar .app-navbar-action-danger .glyphicon { color: #ff6b6b; }
.labs-navbar .app-navbar-action-warning .glyphicon { color: #ffb347; }
.labs-navbar .app-navbar-action-info .glyphicon { color: #9ddfff; }
.labs-navbar .app-navbar-action-success .glyphicon { color: #92d192; }
.labs-navbar .topbar-actions .app-navbar-action:hover, .labs-navbar .topbar-actions .app-navbar-action:focus { background: rgba(255,255,255,.16); text-decoration: none; }
.labs-navbar .app-navbar-action:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.topbar { position: sticky; top: 0; z-index: 1030; }
.impersonation-bar { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 38px; padding: 7px 15px; background: #b42318; color: #fff; font-size: 14px; line-height: 20px; text-align: center; }
.impersonation-bar > span { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: center; }
.impersonation-bar form { margin: 0; flex: none; }
.impersonation-bar button { border: 1px solid rgb(255 255 255 / 75%); border-radius: 4px; padding: 3px 10px; background: transparent; color: #fff; font-weight: 600; }
.impersonation-bar button:hover, .impersonation-bar button:focus-visible { background: rgb(255 255 255 / 18%); }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #e6b943; outline-offset: 3px; }

.labs-navbar.navbar { margin-bottom: 0; border: 0; border-radius: 0; background: var(--navbar-background); color: #fff; z-index: 10; box-shadow: var(--shadow-hover); }
.labs-navbar .navbar-brand { display: flex; align-items: center; gap: 7px; height: 50px; padding: 7px 15px; color: #fff; font-size: 18px; font-weight: 600; white-space: nowrap; }
.labs-navbar .navbar-brand:hover, .labs-navbar .navbar-brand:focus { color: #fff; }
.labs-navbar .navbar-header > .current-app-link { margin-left: 0; color: rgb(255 255 255 / 88%); }
.labs-navbar .navbar-header > .current-app-link:hover, .labs-navbar .navbar-header > .current-app-link:focus-visible { color: #fff; background: rgb(255 255 255 / 16%); }
.labs-navbar .current-app-link > .glyphicon { width: 20px; flex: none; }
.labs-navbar .current-app-link > span:last-child { min-width: 0; }
.brand-logo { flex: none; width: 78px; height: 22px; display: block; object-fit: contain; }
.labs-navbar .glyphicon { top: 0; }
.labs-navbar .brand-content { display: inline-flex; align-items: center; gap: 7px; transition: filter .5s ease; }
.labs-navbar .navbar-brand:is(:hover, :focus-visible) > .brand-content { filter: drop-shadow(0 0 4px rgb(255 255 255 / 45%)); }
.brand-drawer { float: left; position: static; }
.labs-navbar .brand-drawer > .dropdown-menu, .labs-navbar .navbar-nav > li.dropdown > .dropdown-menu { margin-top: 0; }
.labs-navbar .navbar-nav > li > a { display: flex; align-items: center; gap: 6px; min-height: 50px; padding: 15px; color: rgb(255 255 255 / 88%); font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.labs-navbar .navbar-nav > li > a:focus { color: rgb(255 255 255 / 88%); }
.labs-navbar .navbar-nav > .user-menu > a { padding-top: 9px; padding-bottom: 9px; }
.labs-navbar.navbar-hide-user-name .user-menu .user-name { display: none; }
.labs-navbar.navbar-icons-only .module-navigation .module-nav-label { display: none; }
.labs-navbar .module-nav-secondary {
    display: inline-block;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid currentColor;
    font-size: 13px;
    opacity: .75;
}
.labs-navbar .dropdown-menu .module-nav-secondary { font-size: 13px; }
.labs-navbar.navbar-icons-only .module-navigation .module-nav-secondary { display: none; }
.labs-navbar.navbar-icons-only .module-navigation > li > a > .glyphicon { width: auto; }
.labs-navbar .navbar-nav > li > .navbar-brand { float: none; margin-left: 0; height: auto; font-size: 18px; font-weight: 600; }
.labs-navbar .navbar-nav > li > a:hover, .labs-navbar .navbar-nav > li > a:focus-visible, .labs-navbar .navbar-nav > .open > a, .labs-navbar .navbar-nav > .open > a:hover, .labs-navbar .navbar-nav > .open > a:focus, .labs-navbar .navbar-nav > .active > a, .labs-navbar .navbar-nav > .active > a:hover, .labs-navbar .navbar-nav > .active > a:focus { color: #fff; background: rgb(255 255 255 / 16%); }
.labs-navbar .navbar-nav > li > a > .glyphicon { width: 20px; }
.labs-navbar .caret { flex-shrink: 0; }
.labs-navbar .brand-drawer > .dropdown-menu { width: 275px; max-width: calc(100vw - 30px); border-width: 0 0 1px; background: var(--paper); }
.labs-navbar .brand-drawer.launcher-pinned > .navbar-brand { padding-left: 15px; padding-right: 181px; border-right: solid 1px #5d5d5d; }
.labs-navbar .navbar-nav > li.dropdown > .dropdown-menu { min-width: 240px; max-width: calc(100vw - 30px); max-height: calc(100vh - 110px - var(--footer-height, 64px)); overflow-y: auto; border-width: 0 0 1px; background: var(--paper); }
.labs-navbar .brand-drawer.launcher-pinned > .dropdown-menu { position: fixed; top: var(--launcher-top, 50px); right: auto; bottom: var(--footer-height, 64px); left: 0; max-width: calc(100vw - 30px); max-height: none; margin: 0; overflow-y: auto; overscroll-behavior: contain; border-radius: 0; border-bottom: 0; border-right: 1px solid var(--line); box-shadow: none; z-index: -1; }
.labs-navbar .launcher-pin-item { position: absolute; top: 4px; right: 6px; z-index: 1; }
.labs-navbar .launcher-pin-status { position: absolute; top: 50%; right: 38px; max-width: min(220px, calc(100vw - 80px)); padding: 3px 6px; transform: translateY(-50%); border-radius: 4px; background: var(--paper); color: var(--danger); font-size: 12px; }
.labs-navbar .launcher-pin-status:empty { display: none; }
.labs-navbar .launcher-pin-toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-left: auto; border: 0; border-radius: 4px; background: transparent; color: #555; }
.labs-navbar .launcher-pin-toggle:hover { color: var(--blue-800); background: #f5f5f5; }
.labs-navbar .brand-drawer > .dropdown-menu > li > a, .labs-navbar .navbar-nav > li.dropdown > .dropdown-menu > li > a { display: flex; align-items: center; gap: 8px; white-space: normal; overflow-wrap: anywhere; }
.labs-navbar .dropdown-menu > .module-nav-item-with-actions { display: flex; align-items: center; }
.labs-navbar .dropdown-menu > .module-nav-item-with-actions > .module-nav-item-link { flex: 1 1 auto; min-width: 0; padding-right: 20px; }
.labs-navbar .dropdown-menu > .module-nav-item-with-actions .module-nav-item-copy { min-width: 0; }
.labs-navbar .dropdown-menu > .module-nav-item-with-actions .module-nav-item-copy > span { display: inline; }
.labs-navbar .dropdown-menu > .module-nav-item-with-actions:hover,
.labs-navbar .dropdown-menu > .module-nav-item-with-actions:focus-within,
.labs-navbar .dropdown-menu > .module-nav-item-with-actions.active { background: #f5f5f5; }
.labs-navbar .dropdown-menu > .module-nav-item-with-actions > .module-nav-item-link,
.labs-navbar .dropdown-menu > .module-nav-item-with-actions > .module-nav-item-link:hover,
.labs-navbar .dropdown-menu > .module-nav-item-with-actions > .module-nav-item-link:focus { background: transparent; }
.labs-navbar .module-nav-item-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 2px; padding-right: 10px; }
.labs-navbar .module-nav-item-action { display: inline-block; margin: 0; padding: 4px 6px; border: 0; border-radius: 4px; color: #6b7a89; font-size: 14px; line-height: 1; white-space: nowrap; }
.labs-navbar .navbar-nav > li.dropdown > .dropdown-menu .module-nav-item-action .glyphicon { display: inline-block; width: 14px; margin: 0; flex: 0 0 14px; top: 0; font-size: inherit; line-height: 1; }
.labs-navbar .module-nav-item-action:hover, .labs-navbar .module-nav-item-action:focus-visible { background: #e8edf2; color: #24516d; text-decoration: none; }
.labs-navbar .module-nav-item-action-danger:hover, .labs-navbar .module-nav-item-action-danger:focus-visible { color: #a32d2a; }
.labs-navbar .brand-drawer > .dropdown-menu .glyphicon, .labs-navbar .navbar-nav > li.dropdown > .dropdown-menu .glyphicon { flex: 0 0 20px; width: 20px; color: #6b7a89; }
.labs-navbar .brand-drawer > .dropdown-menu > .active > a, .labs-navbar .brand-drawer > .dropdown-menu > .active > a:hover, .labs-navbar .brand-drawer > .dropdown-menu > .active > a:focus, .labs-navbar .navbar-nav > li.dropdown > .dropdown-menu > .active > a, .labs-navbar .navbar-nav > li.dropdown > .dropdown-menu > .active > a:hover, .labs-navbar .navbar-nav > li.dropdown > .dropdown-menu > .active > a:focus { color: #333; background: #f5f5f5; }
.labs-navbar .brand-drawer > .dropdown-menu form, .labs-navbar .navbar-nav > li.dropdown > .dropdown-menu form { margin: 0; }
.labs-navbar .dropdown-action { display: block; width: 100%; padding: 3px 20px; border: 0; background: transparent; color: #333; font-size: 14px; line-height: 20px; text-align: left; }
.labs-navbar .dropdown-action:hover, .labs-navbar .dropdown-action:focus { background: #f5f5f5; }
.labs-navbar .navbar-toggle { border-color: rgb(255 255 255 / 45%); }
.labs-navbar .navbar-toggle:hover, .labs-navbar .navbar-toggle:focus { background: rgb(255 255 255 / 16%); }
.labs-navbar .navbar-toggle .icon-bar { background-color: #fff; }
.labs-navbar .navbar-collapse { border-color: rgb(255 255 255 / 20%); }
.labs-navbar .navbar-nav > li.dropdown.open > .dropdown-menu > li > a { color: #333; }
.labs-navbar .navbar-nav > li.dropdown.open > .dropdown-menu > li > a:hover, .labs-navbar .navbar-nav > li.dropdown.open > .dropdown-menu > li > a:focus { background: #f5f5f5; }
.module-glyph { width: 48px; height: 48px; flex: 0 0 48px; display: inline-grid; place-items: center; border-radius: 6px; color: #6b7a89; }
.module-glyph .glyphicon { font-size: 30px; }
.module-glyph.module-picture { border: 0; border-radius: 0; background: transparent; }
#apps .module-glyph { width: 48px; height: 48px; flex: 0 0 48px; }
#apps .module-glyph .glyphicon { font-size: 30px; }
#apps .module-glyph .module-icon-image, #apps .module-glyph .module-icon-image-svg { width: 30px; height: 30px; }
.module-icon-colored { background-color: var(--module-icon-background); color: #fff; }
.module-icon-colored .module-icon-image { filter: brightness(0) invert(1); }
.module-glyph.module-icon-colored.module-picture { border-radius: 6px; background-color: var(--module-icon-background); color: #fff; }
.module-drawer-icon { width: 32px; height: 32px; flex: 0 0 32px; display: inline-grid; place-items: center; }
.module-drawer-icon .module-icon-image:not(.module-icon-image-svg) { width: 28px; height: 28px; }
.module-drawer-icon .module-icon-image-svg { width: 20px; height: 20px; }
.module-drawer-icon .glyphicon { font-size: 20px; }
.labs-navbar .brand-drawer > .dropdown-menu > li > a > .module-drawer-icon { text-align: center; justify-content: center; }
.module-drawer-icon.module-icon-colored { border-radius: 4px; }
.labs-navbar .brand-drawer > .dropdown-menu > li > a > .module-drawer-icon.module-icon-colored .glyphicon { width: auto; flex: none; color: #fff; }
.module-navbar-icon { width: 32px; height: 32px; flex: 0 0 32px; display: inline-grid; place-items: center; }
.module-navbar-icon.module-icon-colored { border-radius: 4px; }
.module-navbar-icon .module-icon-image:not(.module-icon-image-svg) { width: 28px; height: 28px; }
.module-navbar-icon .module-icon-image-svg { width: 20px; height: 20px; }
.module-navbar-icon .glyphicon { font-size: 20px; }
.module-icon-image { display: inline-block; flex: none; width: 20px; height: 20px; border: 0; object-fit: contain; vertical-align: -.15em; }
.module-glyph .module-icon-image { width: 48px; height: 48px; }
h1 > .module-icon-image { width: 1em; height: 1em; }
.module-icon-image-svg { width: 1em; height: 1em; }
.module-glyph .module-icon-image-svg { width: 30px; height: 30px; }
.user-email { overflow-wrap: anywhere; }

.page-wrap { --page-gutter: 24px; flex: 1; width: min(1168px, 100%); min-height: 0; margin: 0 auto; padding: 38px var(--page-gutter) 24px; }
body.launcher-pinned-page .page-wrap { width: min(1120px, calc(100% - 353px)); margin-left: max(315px, calc((100% - 840px) / 2)); margin-right: auto; }
.page-wrap-full-width { width: 100%; }
body.launcher-pinned-page .page-wrap-full-width { width: calc(100% - 275px); margin-left: 275px; margin-right: 0; }
.home-intro { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 10px 0 30px; }
.home-intro > div { min-width: 0; width: 100%; }
.form-settings .form-group { display: grid; grid-template-columns: min(200px, 35%) minmax(0, 1fr); gap: 8px 16px; }
.form-settings .form-group > label { grid-column: 1; margin: 0; padding-top: 7px; text-align: right; overflow-wrap: anywhere; }
.form-settings .form-group > :not(label) { grid-column: 2; min-width: 0; }
.form-settings .form-group > .help-block { margin: 0; }
.form-settings .form-group > .checkbox { margin: 7px 0 0; }
.page-save-actions { display: flex; justify-content: flex-end; min-height: 34px; margin-top: 16px; }
.page-save-actions > .btn { max-width: 100%; white-space: nowrap; }
.page-save-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: calc(100vw - 32px); }
.page-save-actions.is-docked > .btn, .page-save-actions.is-docked > .page-save-buttons { position: fixed; right: var(--save-right, 24px); bottom: calc(var(--footer-height, 64px) + 10px); z-index: 1031; box-shadow: var(--shadow-hover); }
.home-intro h1 > .page-health { display: inline-block; height: 32px; margin-left: 8px; padding: 0 .6em; font-size: 22px; line-height: 32px; vertical-align: .15em; white-space: nowrap; }
.table-toolbar h2 { margin: 0; }
.role-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.role-toggle { margin: 0; }
.role-toggle:has(input:focus-visible) { outline: 3px solid #337ab7; outline-offset: 2px; }
.role-actions { display: inline-flex; gap: 8px; vertical-align: top; }
.role-action-form { display: inline-block; margin: 0; vertical-align: top; }
.membership-heading, .membership-cell-content { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.membership-heading form, .membership-refresh { flex: none; margin: 0; }
.membership-cell-content > div { min-width: 0; }
.role-icon-action { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 20px; padding: 0; border: 0; background: transparent; color: #337ab7; font-size: 14px; line-height: 20px; vertical-align: top; }
.role-icon-action:hover:not(:disabled) { color: #23527c; }
.role-icon-action:disabled { opacity: .4; cursor: not-allowed; }
.role-save-status { display: block; margin-top: 4px; }
.role-save-status:empty { display: none; }
.integration-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.integration-heading h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.integration-test { display: flex; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; min-width: 0; align-items: center; gap: 12px; }
.integration-test > span { min-width: 0; text-align: right; }
.integration-test > .btn { flex-shrink: 0; }
.permission-levels { display: inline-flex; vertical-align: top; white-space: nowrap; }
.permission-levels > .btn { flex: 0 0 60px; width: 60px; height: 20px; padding: 0 5px; font-size: 14px; line-height: 18px; }
.permission-levels > .btn:not(:has(input:checked)) { color: #333; background: #fff; border-color: #ccc; box-shadow: none; }
.permission-levels > .btn:has(input:focus-visible) { outline: 3px solid var(--blue-800); outline-offset: 2px; z-index: 2; }
fieldset[disabled] .permission-levels > .btn { cursor: not-allowed; opacity: .65; }
.flag-visibility-levels { display: inline-flex; vertical-align: top; white-space: nowrap; }
.flag-visibility-levels > .btn { flex: 0 0 72px; width: 72px; padding: 3px 6px; font-size: 12px; }
.flag-visibility-levels > .btn:not(:has(input:checked)) { color: #333; background: #fff; border-color: #ccc; box-shadow: none; }
.flag-visibility-levels > .btn:has(input:focus-visible) { outline: 3px solid var(--blue-800); outline-offset: 2px; z-index: 2; }
fieldset[disabled] .flag-visibility-levels > .btn { cursor: not-allowed; opacity: .65; }
.sync-counts > div { flex: 1; min-width: 140px; }
.page-back-link { position: absolute; bottom: calc(100% - 4px); right: 0; max-width: 100%; font-size: 13px; line-height: 20px; text-align: right; overflow-wrap: anywhere; }
.eyebrow { margin: 0 0 7px; color: var(--green-700); font-size: 12px; font-weight: 700; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: 34px; line-height: 1.18; }
h1 > .glyphicon { top: 0; vertical-align: -.12em; }
.lead { margin: 7px 0 0; color: var(--muted); font-size: 16px; }
.text-link { margin-bottom: 6px; font-size: 13px; }
.launcher-section { padding-top: 0; }
.whats-new-section { padding-top: 25px; border-top: 1px solid var(--line); }
.whats-new-section { margin-top: 38px; }
.launcher-section + .launcher-section { margin-top: 32px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: 19px; }
.section-heading > span, .section-heading > a { color: var(--muted); font-size: 13px; }
.module-card { position: relative; min-height: 148px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
a.module-card[href], a.panel[href], button.panel:not(:disabled) { box-shadow: var(--shadow); text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease; }
a.module-card[href]:is(:hover, :focus-visible), a.panel[href]:is(:hover, :focus-visible), button.panel:not(:disabled):is(:hover, :focus-visible) { border-color: #82b0c6; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-hover); }
.module-card-heading { display: flex; align-items: center; gap: 14px; }
.module-card-heading h3 { min-width: 0; overflow-wrap: anywhere; }
.module-version { position: absolute; right: 20px; bottom: 20px; color: var(--muted); font-size: 12px; line-height: 1.35; white-space: nowrap; }
.module-card-has-version p { padding-right: 42px; }
.module-health { margin-left: auto; align-self: flex-start; flex-shrink: 0; }
.module-card h3 { margin: 0; color: var(--ink); font-size: 20px; font-weight: 600; }
.module-card p { margin: 0; color: var(--muted); font-size: 14px; }
.empty-state { min-height: 210px; display: grid; justify-items: center; align-content: center; padding: 24px; border: 1px dashed #b9c9cb; border-radius: var(--radius); background: var(--paper); text-align: center; }
.empty-state h3 { margin: 14px 0 4px; font-size: 16px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 14px; }
.empty-mark { color: #83aabc; font-size: 32px; }
.release-list { margin: 0; padding: 0; list-style: none; }
.release-list ul { margin: 8px 0; padding-left: 20px; }
.release-list ul li { padding: 2px 0; }
.release-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.release-title { min-width: 0; display: flex; align-items: center; gap: 8px; }
.release-title .panel-title { min-width: 0; }
.release-labs-title { display: flex; align-items: center; gap: 8px; }
.release-labs-logo { width: 78px; height: 22px; flex: none; display: block; object-fit: contain; }
.release-meta time { margin-left: auto; color: var(--muted); white-space: nowrap; }
.release-list p, .quiet-empty { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.site-footer { position: fixed; bottom: 0; left: 0; right: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 6px 15px; border-top: 1px solid var(--line); color: var(--muted); background: var(--canvas); font-size: 12px; line-height: 1.35; }
body.launcher-pinned-page .site-footer { z-index: 1031; }
.site-footer-credit { margin-left: auto; text-align: right; }
.site-footer a { color: var(--muted); }

.signin-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: #fff; background-color: #14548b; background-image: url("/assets/signin-school-background.jpg"); background-size: cover; background-position: 65% bottom; background-repeat: no-repeat; background-attachment: fixed; font-family: "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; }
.signin-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 40px; background: rgb(0 43 69 / 85%); color: #edf4fc; }
.signin-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; }
.signin-brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 72%); border-radius: 50%; font: 700 17px Georgia, serif; }
.signin-school { color: #edf4fc; font-size: 14px; font-weight: 600; }
.signin-main { flex: 1; display: grid; place-items: center; padding: 36px 24px 64px; }
.signin-content { width: min(100%, 420px); text-align: center; animation: enter .45s ease-out both; }
.signin-logo { display: block; width: 250px; max-width: 100%; height: auto; aspect-ratio: 1; margin: 0 auto 24px; object-fit: contain; }
.signin-content h1 { font-size: 40px; }
.signin-content h1 { margin: 0; font-size: 38px; font-weight: 650; line-height: 1.2; }
.signin-content .signin-lockup { position: relative; width: 250px; max-width: calc(100% - 32px); aspect-ratio: 1; margin: 0 auto 24px; line-height: 1; }
.signin-lockup .signin-logo { width: 100%; margin: 0; }
.signin-button { display: flex; align-items: center; justify-content: center; gap: 12px; white-space: normal; color: var(--blue-800); }
.signin-button[aria-disabled="true"] { opacity: .7; cursor: wait; }
.signin-microsoft { width: 20px; height: 20px; display: block; flex: 0 0 20px; object-fit: contain; }
.signin-note, .signin-footnote { color: #edf4fc; font-size: 13px; overflow-wrap: anywhere; }
.signin-note { margin: 13px 0 0; }.signin-footnote { margin-top: 30px; }
.signin-local-panel { margin: 16px 0 0; color: var(--ink); text-align: left; }
.signin-local-toggle { margin: 0; border: 0; }
.signin-local-form { margin: 0; }
.dev-admin-form { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / 28%); }
.dev-login-link { padding: 5px 0; border: 0; background: transparent; color: #edf4fc; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dev-login-link:hover { color: #fff; }
.signin-error { margin: 16px 0; text-align: left; overflow-wrap: anywhere; }
.signin-error[hidden] { display: none; }
.message-page { position: relative; max-width: 680px; margin: 30px auto; }
.message-page > p:not(.eyebrow) { color: var(--muted); }
.metric { min-height: 96px; display: grid; align-content: space-between; color: var(--muted); font-size: 13px; text-decoration: none; }
.sync-summary { display: flex; flex-wrap: wrap; }
.sync-summary > div { display: flex; }
.sync-summary .panel { width: 100%; }
.sync-status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.sync-status-line > .label { flex-shrink: 0; }
.stat-panel { display: flex; flex-direction: column; justify-content: center; padding: 15px; color: var(--ink); font-size: 14px; line-height: 1.42857143; text-align: center; text-decoration: none; }
.stat-number { font-size: 32px; font-weight: 700; }
.metric strong { color: var(--ink); font-size: 25px; }
.role-form { min-width: 220px; display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: center; }
.role-panel { display: inline-block; min-width: min(100%, 300px); margin-right: 12px; vertical-align: top; }
.role-panel ul { padding-left: 20px; color: var(--muted); font-size: 13px; }
.settings-field { margin-bottom: 20px; }
.settings-field .form-control { max-width: 420px; }
.settings-field .help-block { max-width: 50ch; }
.panel { background-color: var(--paper); border-radius: var(--radius); }
.panel > .panel-heading { border-radius: var(--radius) var(--radius) 0 0; }
.panel h2 { margin-top: 0; font-size: 18px; }
table, .table { border: 1px solid var(--line); background-color: var(--paper); border-collapse: separate; border-spacing: 0; border-radius: var(--radius); overflow: hidden; }
.table-condensed { font-size: 12px; }
.table-responsive { border: 0; border-radius: var(--radius); }
.panel-body.panel-table-flush { padding: 0; }
.panel-body.panel-table-flush > .table-responsive { margin-bottom: 0; border: 0; border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px); overflow: auto; }
.panel-body.panel-table-flush .table { margin-bottom: 0; border: 0; border-radius: 0; }
.table > thead + tbody > tr:first-child > td, .table > thead + tbody > tr:first-child > th { border-top: 0; }
.table td { overflow-wrap: anywhere; }
.table > thead > tr > .table-section-heading { padding: 10px 15px; color: #333; background-color: #f5f5f5; border-bottom: 1px solid #ddd; }
.table-section-heading > h2 { margin-top: 0; font-size: 18px; }
.permission-matrix { table-layout: fixed; min-width: 560px; }
.permission-matrix .permission-owner { width: 32%; }
.permission-matrix .permission-value { width: 196px; }
.permission-matrix > tbody > tr > td:first-child { white-space: normal; }
.permission-description { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.table-actions-last > thead > tr > th:last-child:not([colspan]), .table-actions-last > tbody > tr > td:last-child:not([colspan]) { text-align: right; }
.table-actions-last > tbody > tr > td:last-child .btn-group { justify-content: flex-end; }
.form-inline { margin: 15px 0; }
.form-inline .form-group { margin-right: 8px; max-width: 100%; }
.table-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 15px 0; }
.table-toolbar > .form-inline, .table-toolbar .pagination { margin: 0; }
.table-toolbar > .form-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.table-toolbar .form-group { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.table-toolbar .form-group > span { white-space: nowrap; }
.table-toolbar > nav { display: flex; margin-left: auto; }
.table-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-left: auto; }
.table-toolbar-actions > nav { display: flex; }
.log-toolbar { align-items: flex-start; flex-wrap: nowrap; }
.log-toolbar > .form-inline { flex: 1; min-width: 0; }
.log-toolbar > nav { flex-shrink: 0; }
.log-toolbar .form-group, .log-toolbar .form-control { max-width: 100%; }
.bootstrap-select.form-control { margin-bottom: 0; }
.labs-loading-modal .modal-dialog { margin-top: 60px; }
.labs-loading-body { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; min-height: 155px; }
.labs-loading-spinner { width: 120px; height: 120px; flex: 0 0 120px; border: 16px solid #f3f3f3; border-top-color: #3498db; border-radius: 50%; animation: labs-loading-spin 2s linear infinite; }
.labs-loading-copy { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.labs-inline-loading { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 210px; text-align: center; }
.labs-inline-loading-spinner { width: 28px; height: 28px; flex: 0 0 28px; border: 4px solid #f3f3f3;
  border-top-color: #3498db; border-radius: 50%; animation: labs-inline-loading-spin .8s linear infinite; }
.labs-inline-loading-copy { color: #333; }
@keyframes labs-inline-loading-spin { to { transform: rotate(360deg); } }
@keyframes labs-loading-spin { to { transform: rotate(360deg); } }
@media (min-width: 768px) { .labs-loading-modal .modal-dialog { margin-top: 80px; } }
.btn { white-space: normal; }
.data-status { padding: 12px 0 0; color: var(--muted); font-size: 12px; }
.admin-data .table { min-width: 680px; background: #fff; }
.admin-data .table td { max-width: 45ch; }
.photo-cell { width: 64px; }
.data-photo { display: block; width: 40px; height: 40px; object-fit: cover; object-position: center center; background: #e8eef0; border-radius: 50%; }
.user-photo { width: 32px; height: 32px; flex-shrink: 0; }
.person-photo { width: 160px; height: 192px; max-width: 100%; object-fit: contain; object-position: center center; border-radius: 3px; }
.photo-missing { display: grid; place-items: center; color: #85959d; font-size: 22px; top: 0; }
.flag-settings { margin-top: 18px; }
.flag-table { min-width: 800px; background: var(--paper); }
.flag-order-cell { width: 40px; min-width: 40px; max-width: 40px; }
.flag-table > tbody > tr > td, .flag-table > thead > tr > th { vertical-align: middle; }
table .label, .sync-status-line > .label, .task-status-label, .module-health { display: inline-block; height: 20px; padding: 0 .6em; line-height: 20px; vertical-align: top; }
.table[data-registered-jobs] .btn-group { display: flex; }
.table[data-registered-jobs] .btn { height: 20px; padding: 0 5px; line-height: 18px; }
table .btn[title="Run now"] { font-size: 12px; }
.task-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.task-controls .btn, .table[data-registered-jobs] .btn { white-space: nowrap; }
.task-controls form { display: flex; margin: 0; }
.task-controls > form { margin-left: auto; }
.table[data-registered-jobs] .task-schedule-edit { width: 20px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; line-height: 20px; }
.task-schedule-edit-cell { width: 40px; min-width: 40px; max-width: 40px; text-align: center; }
.table-responsive > .table > thead > tr > .text-wrap,
.table-responsive > .table > tbody > tr > .text-wrap { white-space: normal; overflow-wrap: anywhere; }
.task-schedule-edit:focus-visible, .schedule-mode .bootstrap-switch:focus-visible { outline: 2px solid var(--blue-800); outline-offset: 2px; }
.schedule-mode > label { display: block; }
.schedule-interval { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px; }
.task-schedule-options[disabled] { opacity: .5; }
.task-schedule-options > .row:last-child > .form-group { margin-bottom: 0; }
.task-panel-heading { display: flex; align-items: center; gap: 10px; }
.task-panel-heading > .task-enabled-control { margin-left: auto; flex-shrink: 0; }
.task-status-label { margin-left: auto; flex-shrink: 0; }
.task-detail-values > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.task-detail-values dd { min-width: 0; overflow-wrap: anywhere; }
.task-enabled-control { display: flex; margin: 0; }
.task-enabled-control .bootstrap-switch { height: 20px; }
.task-enabled-control .bootstrap-switch .bootstrap-switch-container { display: flex; height: 100%; }
.task-enabled-control .bootstrap-switch:focus-visible { outline: 2px solid var(--blue-800); outline-offset: 2px; }
.task-enabled-control .bootstrap-switch .bootstrap-switch-handle-on,
.task-enabled-control .bootstrap-switch .bootstrap-switch-handle-off,
.task-enabled-control .bootstrap-switch .bootstrap-switch-label { display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0 5px; line-height: 18px; }
.flag-drag-handle { cursor: grab; height: 20px; padding: 0 3px; line-height: 18px; touch-action: none; user-select: none; }
.flag-dragging { opacity: .45; }
.flag-settings > fieldset > button { margin-top: 18px; }

@media (min-width: 768px) {
    .labs-navbar .navbar-nav > li > a { white-space: nowrap; }
}

@media (max-width: 767px) {
    .labs-navbar .navbar-header { display: flex; flex-wrap: wrap; align-items: center; }
    .labs-navbar .navbar-header::before, .labs-navbar .navbar-header::after { display: none; }
    .labs-navbar .navbar-header > .navbar-toggle { order: 3; flex: 0 0 auto; margin: 8px 15px 8px auto; }
    .labs-navbar .brand-drawer { order: 1; flex: 0 0 auto; }
    .labs-navbar .navbar-header > .current-app-link { order: 2; flex: 0 0 auto; float: none; height: 50px; margin-left: 0; padding: 7px 15px; white-space: nowrap; }
    .labs-navbar .brand-drawer.launcher-pinned > .dropdown-menu { max-width: min(275px, 42vw); min-width: 0; }
    body.launcher-pinned-page .page-wrap { width: calc(100% - min(275px, 42vw)); margin-left: min(275px, 42vw); margin-right: 0; }
    .labs-navbar .module-settings-label { display: none; }
    .labs-navbar .module-settings-action .glyphicon { width: 20px; }
    .labs-navbar .module-admin-label { display: none; }
}

@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 620px) {
    .signin-header { padding: 18px 20px; }
    .signin-header { min-height: 64px; }
    .signin-school { max-width: 170px; text-align: right; }
    .signin-main { padding: 28px 20px 40px; }
    .signin-content h1 { font-size: 32px; }
    .page-wrap { --page-gutter: 16px; padding-top: 27px; }
    .home-intro { align-items: start; flex-direction: column; gap: 13px; padding-bottom: 24px; }
    h1 { font-size: 30px; }
    .module-card { min-height: 162px; }
    .site-footer { padding: 6px 15px; }
    .site-footer-credit { margin-left: 0; text-align: left; }
}

.labs-navbar .app-navbar-select-form { width: 260px; margin: 0; padding: 8px 10px; }
.labs-navbar .app-navbar-select-form .bootstrap-select { width: 100% !important; }
@media (max-width: 767px) {
    .labs-navbar .app-navbar-select-form { width: auto; padding: 8px 15px; }
    .labs-navbar .app-navbar-select-form .bootstrap-select { width: 100% !important; }
}
