/* Kuantum staff workspace */
:root {
    --sidebar-width: 224px;
}
body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
    background: var(--bg);
}
button,
input,
select,
textarea {
    font: inherit;
}
button {
    border-radius: 7px;
    padding: 8px 12px;
    font-weight: 500;
    transition:
        background 0.15s,
        border-color 0.15s,
        box-shadow 0.15s;
}
button:not(:disabled):hover {
    background: var(--field);
    border-color: var(--line);
}
button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
button.primary {
    background: var(--green);
    color: var(--on-solid);
    border-color: var(--green);
    box-shadow: 0 2px 3px #0a6e4714;
}
button.primary:not(:disabled):hover {
    background: var(--control-accent-hover);
    border-color: var(--line);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}
input,
select,
textarea {
    min-height: 35px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    color: var(--ink);
}
input::placeholder,
textarea::placeholder {
    color: var(--muted);
}
input:focus,
select:focus,
textarea:focus {
    border-color: var(--focus);
}
input[type="checkbox"],
input[type="radio"] {
    min-height: auto;
    accent-color: var(--green);
}
label {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    margin: 12px 0 6px;
}
h1 {
    font-size: 23px;
    line-height: 1.3;
    font-weight: 650;
    letter-spacing: -0.65px;
    margin: 0 0 6px;
}
h2 {
    font-size: 16px;
    letter-spacing: -0.25px;
    font-weight: 650;
}
h3 {
    font-size: 13px;
    font-weight: 650;
}
p {
    font-size: 12px;
    line-height: 1.65;
    color: var(--muted);
}
small {
    font-size: 11px;
}
#workspace {
    min-height: 100vh;
}
#workspace > aside {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 35;
    width: var(--sidebar-width);
    padding: 24px 12px 18px;
    background: var(--surface);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: width 0.2s;
}
aside .caption {
    margin: 0 12px 12px;
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 1.5px;
}
aside nav {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    flex: 1;
    margin: 0;
    scrollbar-width: thin;
}
.nav-label {
    margin: 19px 12px 8px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.3px;
    color: var(--muted);
}
.nav-label:first-child {
    margin-top: 5px;
}
aside nav button {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 9px 12px;
    width: 100%;
    margin: 2px 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    text-align: left;
    border-radius: 7px;
    position: relative;
}
aside nav button.active {
    background: var(--mint-soft);
    color: var(--mint);
    font-weight: 600;
}
aside nav button.active::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 11px;
    bottom: 11px;
    width: 3px;
    background: var(--green);
    border-radius: 0 3px 3px 0;
}
aside nav button:hover:not(:disabled) {
    background: var(--raised);
}
aside nav button.active:hover {
    background: var(--mint-soft);
}
.nav-text {
    white-space: normal;
    line-height: 1.45;
}
.ui-icon,
.ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}
.ui-icon svg,
.ico svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.65;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
aside .bottom {
    margin-top: 16px;
    font-size: 10px;
    padding: 14px 10px 0;
    background: none;
    color: var(--muted);
    line-height: 1.6;
}
#workspace > main {
    margin-left: var(--sidebar-width);
    min-width: 0;
    transition: margin-left 0.2s;
}
header {
    height: 62px;
    padding: 0 26px;
    gap: 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 25;
    backdrop-filter: blur(12px);
}
.header-start {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.icon-button {
    width: 32px;
    height: 32px;
    padding: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background: transparent;
    flex-shrink: 0;
}
.breadcrumb {
    font-size: 11px;
    white-space: nowrap;
}
.breadcrumb strong {
    font-size: 12px;
    font-weight: 550;
    margin-left: 8px;
}
.workspace-search {
    margin-left: auto;
    width: 236px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    background: var(--field);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
}
kbd {
    font: inherit;
    font-size: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 2px 5px;
    margin-left: auto;
    color: var(--muted);
}
.profile {
    font-size: 11px;
    gap: 10px;
    flex-shrink: 0;
}
.profile select {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 11px;
    max-width: 110px;
    background: transparent;
    border-color: transparent;
}
.profile .avatar {
    padding: 0;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: var(--mint-soft);
    color: var(--mint);
    font-size: 10px;
    font-weight: 650;
}
.profile #logout {
    font-size: 10px;
    padding: 5px 8px;
    border-color: transparent;
    color: var(--muted);
}
.workspace-tabs {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    min-height: 45px;
    padding: 8px 25px 0;
    background: var(--raised);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: thin;
}
.workspace-tab {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 36px;
    border-radius: 7px 7px 0 0;
    border: 1px solid transparent;
    border-bottom: 0;
    color: var(--muted);
}
.workspace-tab.selected {
    background: var(--bg);
    border-color: var(--line);
    color: var(--mint);
    position: relative;
}
.workspace-tab.selected::after {
    content: "";
    height: 2px;
    background: var(--bg);
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}
.workspace-tab button {
    display: flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 0;
    padding: 9px 11px;
    white-space: nowrap;
    font-size: 11px;
    color: inherit;
    height: 100%;
}
.workspace-tab.selected button[role="tab"] {
    font-weight: 600;
}
.workspace-tab .ui-icon,
.workspace-tab svg {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
}
.workspace-tab button.tab-close {
    padding: 4px;
    width: 22px;
    height: 22px;
    margin-right: 5px;
    border-radius: 4px;
    color: var(--muted);
}
.connection {
    min-height: 28px;
    padding: 5px 27px;
    border-bottom: 0;
    background: transparent;
    font-size: 10px;
    color: var(--muted);
    gap: 6px;
}
.connection .dot {
    width: 5px;
    height: 5px;
    background: var(--mint);
}
.connection button {
    margin-left: auto;
    font-size: 10px;
    padding: 1px 5px;
    background: none;
    border-color: transparent;
    color: var(--muted);
}
.content {
    padding: 20px 27px 36px;
    max-width: 1740px;
    margin: 0 auto;
}
.heading {
    gap: 14px;
    margin-bottom: 20px;
    align-items: center;
}
.heading > div:first-child {
    min-width: 0;
}
.heading > div:first-child > .badge {
    display: none;
}
.heading p {
    max-width: 74ch;
}
.heading .actions,
.heading > div:last-child {
    flex-wrap: wrap;
}
.heading .actions button,
.heading > button {
    font-size: 11px;
    min-height: 34px;
}
.actions {
    align-items: center;
    gap: 7px;
}
.card {
    border-radius: 11px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 2px 3px #152f4010;
}
.stats {
    gap: 14px;
    margin-bottom: 20px;
}
.stat {
    border-radius: 10px;
    padding: 16px 18px;
    position: relative;
    box-shadow: 0 1px 2px #182d3b05;
    background: linear-gradient(110deg, var(--surface), var(--field));
}
.stat small {
    font-size: 10px;
    color: var(--muted);
}
.stat strong {
    font-size: 24px;
    color: var(--ink);
    letter-spacing: -0.7px;
    margin: 8px 0 6px;
    font-weight: 650;
    line-height: 1.25;
}
#moduleMode {
    font-size: 17px;
    color: var(--green);
    padding-top: 7px;
    padding-bottom: 5px;
}
.toolbar {
    padding: 14px 16px;
    gap: 12px;
    background: var(--surface);
}
.filters {
    gap: 8px;
    align-items: end;
}
.filters input,
.filters select {
    font-size: 11px;
    min-height: 33px;
    max-width: 100%;
}
.filters label {
    margin: 0;
    font-size: 10px;
}
.filters label select,
.filters label input {
    margin-top: 5px;
}
#weekLabel {
    min-width: 150px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
}
#prev,
#next {
    width: 29px;
    height: 29px;
    border-color: var(--line);
    padding: 3px;
    font-size: 19px;
    line-height: 1;
}
#search {
    width: 174px;
    background: var(--field);
}
.calendar-viewbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
}
.segmented {
    display: inline-flex;
    padding: 3px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--field);
    gap: 2px;
}
.segmented button {
    padding: 4px 12px;
    border: 1px solid transparent;
    font-size: 10px;
    background: transparent;
    color: var(--muted);
    border-radius: 4px;
}
.segmented button[aria-pressed="true"] {
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 1px 3px #243a4c15;
    border-color: var(--line);
}
.calendar-key {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 10px;
}
.calendar-key i {
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--mint);
}
.calendar-key > span {
    color: var(--muted);
}
#calendarDay {
    font-size: 11px;
    min-height: 28px;
    padding: 3px 8px;
}
.calendar {
    grid-template-columns: 50px repeat(
            var(--calendar-days, 7),
            minmax(118px, 1fr)
        );
    min-width: 920px;
}
.calendar.day-view {
    min-width: 0;
    grid-template-columns: 50px minmax(180px, 1fr);
}
.cal-day {
    font-size: 10px;
    padding: 11px 6px;
    color: var(--muted);
    background: var(--surface);
    border-color: var(--line);
}
.cal-day strong {
    font-size: 12px;
    font-weight: 550;
    color: var(--muted);
    margin: 5px auto 0;
    width: fit-content;
    padding: 4px 6px;
    border-radius: 5px;
}
.cal-day.is-today {
    color: var(--mint);
}
.cal-day.is-today strong {
    background: var(--mint-soft);
    color: var(--mint);
}
.cal-time {
    border-color: var(--line);
    font-size: 9px;
    background: var(--surface);
}
.cal-time span {
    left: 8px;
}
.cal-column {
    border-color: var(--line);
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 29px,
        var(--field) 29px,
        var(--field) 30px,
        transparent 30px,
        transparent 59px,
        var(--raised) 59px,
        var(--raised) 60px
    );
}
.cal-column.is-today {
    background-color: var(--field);
}
.cal-lesson {
    padding: 7px 8px;
    border-radius: 6px;
    border: 1px solid var(--mint-line);
    border-left: 3px solid var(--mint-line);
    background: var(--mint-soft);
    color: var(--mint);
    font-size: 10px;
    overflow: hidden;
    box-shadow: 0 1px 2px #17364805;
    line-height: 1.4;
}
.cal-lesson strong {
    font-size: 10px;
    margin-bottom: 2px;
    font-weight: 600;
    line-height: 1.4;
}
.cal-lesson > span {
    font-size: 9px;
    opacity: 0.85;
}
.cal-lesson small {
    font-size: 9px;
    line-height: 1.35;
    opacity: 0.8;
    margin-top: 2px;
    color: inherit;
}
.cal-lesson.tone-1 {
    background: var(--blue-soft);
    border-color: var(--blue-line);
    border-left-color: var(--blue-line);
    color: var(--blue);
}
.cal-lesson.tone-2 {
    background: var(--violet-soft);
    border-color: var(--violet-line);
    border-left-color: var(--violet-line);
    color: var(--violet);
}
.cal-lesson.tone-3 {
    background: var(--warning-soft);
    border-color: var(--warning-line);
    border-left-color: var(--warning-line);
    color: var(--warning);
}
.cal-lesson.tone-4 {
    background: var(--cyan-soft);
    border-color: var(--cyan-line);
    border-left-color: var(--cyan-line);
    color: var(--cyan);
}
.cal-lesson.cancelled {
    background: var(--raised);
    color: var(--muted);
    border-color: var(--line);
    border-left-color: var(--line);
    opacity: 0.7;
}
.cal-lesson.compact-lesson {
    padding-top: 3px;
    padding-bottom: 2px;
}
.cal-lesson.compact-lesson small {
    display: none;
}
.cal-lesson.compact-lesson strong {
    margin-bottom: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.cal-lesson:hover:not(:disabled) {
    background: var(--mint-soft);
    box-shadow: 0 2px 8px #1736481c;
    transform: translateY(-1px);
}
.note {
    padding: 10px 16px;
    font-size: 10px;
    background: var(--field);
    border-top: 1px solid var(--line);
}
.scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}
table {
    border-collapse: collapse;
}
th,
td {
    padding: 12px 16px;
    border-color: var(--line);
    font-size: 12px;
    line-height: 1.5;
}
th {
    font-size: 10px;
    letter-spacing: 0.5px;
    color: var(--muted);
    background: var(--field);
    font-weight: 550;
}
tbody tr:hover {
    background: var(--field);
}
td {
    color: var(--muted);
}
td strong {
    font-size: 12px;
    color: var(--ink);
    font-weight: 550;
}
td small {
    font-size: 10px;
    color: var(--muted);
}
td button {
    padding: 6px 9px;
    font-size: 10px;
    border-color: var(--line);
}
.badge {
    font-size: 9px;
    border-radius: 5px;
    padding: 3px 7px;
    font-weight: 550;
    letter-spacing: 0.1px;
}
.badge.gray {
    background: var(--raised);
    color: var(--muted);
}
.module-switch {
    width: 37px;
    height: 22px;
    padding: 2px;
    background: var(--control-off);
    border: 1px solid var(--control-off);
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
}
.module-switch[aria-checked="true"] {
    background: var(--control-accent);
    border-color: var(--line);
}
.module-switch:hover:not(:disabled) {
    background: var(--control-off);
}
.module-switch[aria-checked="true"]:hover:not(:disabled) {
    background: var(--control-accent-hover);
    border-color: var(--line);
}
.switch-knob {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--on-solid);
    box-shadow: 0 1px 3px #26374324;
    transform: translateX(0);
    transition: transform 0.15s;
}
.module-switch[aria-checked="true"] .switch-knob {
    transform: translateX(15px);
}
.policy-choices {
    border: 0;
    padding: 0;
    margin: 18px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}
.policy-choices legend {
    font-size: 11px;
    margin-bottom: 9px;
    color: var(--muted);
}
.policy-choices label {
    margin: 0;
    position: relative;
    cursor: pointer;
}
.policy-choices input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.policy-choices span {
    display: block;
    font-size: 11px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--muted);
}
.policy-choices input:checked + span {
    color: var(--mint);
    background: var(--mint-soft);
    border-color: var(--mint-line);
    box-shadow: 0 0 0 1px #83bfa91a;
}
.policy-choices label:focus-within {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: 7px;
}
.form-grid,
.form-row,
.str-filters,
.hw-toolbar,
.attendance-filters {
    gap: 12px;
}
.form-footer {
    padding: 16px 0 0;
    margin-top: 15px;
    border-top: 1px solid var(--line);
    gap: 10px;
}
.pagination {
    padding: 12px 16px;
    font-size: 10px;
    gap: 8px;
}
.pagination button {
    font-size: 10px;
    padding: 6px 10px;
}
.empty {
    font-size: 12px;
    color: var(--muted);
    padding: 32px 20px;
}
.notice,
.error,
.good,
.warning {
    font-size: 11px;
    line-height: 1.6;
    border-radius: 7px;
    padding: 10px 13px;
}
.error:empty {
    padding: 0;
    margin: 0;
}
.str-tabs,
.person-tabs,
.exam-detail-tabs,
.att-view-tabs {
    padding: 4px;
    border: 1px solid var(--line);
    background: var(--raised);
    border-radius: 8px;
    gap: 3px;
    margin-bottom: 16px;
}
.str-tabs button,
.person-tabs button,
.exam-detail-tabs button {
    border: 0;
    font-size: 11px;
    padding: 7px 13px;
    background: transparent;
    border-radius: 5px;
    color: var(--muted);
}
.str-tabs button.active,
.person-tabs button.active,
.exam-detail-tabs button.active {
    background: var(--surface);
    color: var(--mint);
    box-shadow: 0 1px 4px #20394e12;
}
.str-overview,
.people-summary,
.hw-summary,
.exam-summary {
    gap: 12px;
    margin-bottom: 18px;
}
.people-summary {
    padding: 16px 18px;
    border-radius: 10px;
}
.people-summary strong {
    font-size: 22px;
}
dialog {
    padding: 24px;
    border-radius: 13px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 80px #1630422b;
    max-height: calc(100dvh - 50px);
    max-width: calc(100vw - 36px);
}
dialog::backdrop {
    background: #182d4347;
    backdrop-filter: blur(3px);
}
dialog h2 {
    font-size: 18px;
}
dialog label {
    font-size: 11px;
}
dialog textarea {
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 10px;
    font: inherit;
    width: 100%;
}
.schedule-dialog {
    margin: auto;
    border-radius: 14px;
    padding: 24px;
    width: min(780px, calc(100vw - 40px));
}
.schedule-summary {
    padding: 14px 16px;
    background: var(--field);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px;
}
.schedule-actions {
    gap: 7px;
}
.schedule-fields {
    gap: 12px;
}
.schedule-warning,
.schedule-review {
    padding: 12px 15px;
    font-size: 11px;
    border-radius: 8px;
}
.schedule-event {
    padding: 12px;
    background: var(--field);
    border: 1px solid var(--line);
    margin-bottom: 8px;
    border-radius: 7px;
}
.command-dialog {
    margin: 13vh auto auto;
    width: min(540px, calc(100vw - 32px));
    padding: 0;
    overflow: hidden;
}
.command-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 0;
}
.command-top h2 {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}
.command-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 16px;
    margin: 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}
.command-input input {
    border: 0;
    outline: none;
    width: 100%;
    padding: 8px 0;
    background: transparent;
    font-size: 15px;
    box-shadow: none;
}
.command-results {
    padding: 7px;
    max-height: 360px;
    overflow-y: auto;
    font-size: 12px;
}
.command-results button {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    text-align: left;
    color: var(--muted);
}
.command-results button:hover,
.command-results button:focus-visible {
    background: var(--raised);
    color: var(--mint);
}
.nav-backdrop {
    display: none;
}
#workspace.nav-collapsed {
    --sidebar-width: 68px;
}
#workspace.nav-collapsed > aside {
    padding-left: 10px;
    padding-right: 10px;
}
#workspace.nav-collapsed .nav-text,
#workspace.nav-collapsed aside .caption,
#workspace.nav-collapsed aside .nav-label,
#workspace.nav-collapsed aside .bottom {
    display: none;
}
#workspace.nav-collapsed aside .brand {
    padding-left: 8px;
    padding-bottom: 22px;
}
#workspace.nav-collapsed nav button {
    justify-content: center;
    padding: 11px;
}
#workspace.nav-collapsed nav button.active::before {
    left: -10px;
}
@media (max-width: 1200px) {
    header {
        padding: 0 20px;
        gap: 12px;
    }
    .workspace-search {
        width: 190px;
    }
    .profile #displayName {
        display: none;
    }
    .content {
        padding: 18px 20px 30px;
    }
    .toolbar {
        align-items: flex-start;
    }
    .toolbar .filters {
        flex-wrap: wrap;
    }
}
@media (max-width: 900px) {
    #workspace > aside {
        transform: translateX(-100%);
        width: 224px;
        padding: 24px 12px 18px;
        transition: transform 0.2s;
        box-shadow: 8px 0 30px #182f411f;
    }
    #workspace > main {
        margin-left: 0;
    }
    #workspace.nav-open > aside {
        transform: translateX(0);
    }
    #workspace.nav-open .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 30;
        border: 0;
        border-radius: 0;
        background: #172d4359;
        padding: 0;
    }
    #workspace.nav-collapsed .nav-text,
    #workspace.nav-collapsed aside .caption,
    #workspace.nav-collapsed aside .nav-label,
    #workspace.nav-collapsed aside .bottom {
        display: initial;
    }
    #workspace.nav-collapsed nav button {
        justify-content: flex-start;
    }
    header {
        padding: 0 16px;
    }
    .workspace-tabs {
        padding-left: 16px;
        padding-right: 16px;
    }
    .content {
        padding: 16px;
    }
    .calendar-key {
        font-size: 9px;
    }
    aside .brand {
        padding: 0 12px 25px;
    }
    .connection {
        padding-left: 17px;
        padding-right: 17px;
    }
}
@media (max-width: 600px) {
    header {
        gap: 8px;
        height: 56px;
    }
    .header-start {
        gap: 4px;
    }
    .breadcrumb {
        font-size: 0;
    }
    .breadcrumb strong {
        font-size: 11px;
        margin-left: 3px;
        max-width: 145px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        vertical-align: middle;
    }
    .workspace-search {
        width: 30px;
        height: 30px;
        margin-left: auto;
        padding: 6px;
        border: 0;
        background: transparent;
    }
    .workspace-search > span:not(.ui-icon),
    .workspace-search kbd {
        display: none;
    }
    .profile {
        gap: 4px;
    }
    .profile select {
        width: 78px;
        font-size: 10px;
        padding: 4px;
    }
    .profile .avatar {
        display: none;
    }
    .profile #logout {
        font-size: 9px;
    }
    .workspace-tabs {
        min-height: 40px;
        padding-top: 5px;
    }
    .workspace-tab {
        height: 33px;
    }
    .workspace-tab button {
        font-size: 10px;
        padding: 8px;
    }
    .connection {
        font-size: 9px;
    }
    .connection #sessionState {
        display: none;
    }
    .content {
        padding: 16px 12px;
    }
    .heading {
        align-items: flex-start;
        gap: 12px;
        flex-wrap: wrap;
    }
    h1 {
        font-size: 21px;
    }
    .stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }
    .stat {
        padding: 12px 9px;
    }
    .stat strong {
        font-size: 21px;
    }
    .stat small {
        font-size: 9px;
    }
    #moduleMode {
        font-size: 12px;
    }
    #timezone {
        overflow-wrap: anywhere;
    }
    .calendar-key {
        display: none;
    }
    .toolbar {
        padding: 12px;
    }
    .toolbar .filters {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    #search {
        width: 100%;
    }
    .filters select {
        min-width: 0;
        width: 100%;
    }
    .form-grid,
    .form-row,
    .str-filters,
    .schedule-fields {
        grid-template-columns: minmax(0, 1fr);
    }
    th,
    td {
        padding: 11px 12px;
    }
    .command-dialog {
        margin-top: 8vh;
    }
    .policy-choices {
        grid-template-columns: 1fr 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
.action-with-icon {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}
.action-with-icon .ui-icon,
.action-with-icon svg {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
}
.nav-collapsed .nav-text {
    pointer-events: none;
}
dialog.editor-workspace[open] {
    position: static;
    inset: auto;
    margin: 0;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    padding: 22px;
    border-radius: 11px;
    border: 1px solid var(--line);
    box-shadow: 0 2px 4px #18354a08;
    background: var(--surface);
}
dialog.editor-workspace.hidden {
    display: none;
}
.editor-workspace .drawer-head {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
}
.editor-workspace .drawer-head h2 {
    font-size: 20px;
    margin: 0;
}
.editor-workspace .person-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 0;
    background: var(--field);
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 8px;
}
.editor-workspace .person-facts strong {
    font-size: 12px;
}
.editor-workspace .person-facts small {
    font-size: 10px;
}
.editor-workspace .schedule-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.editor-workspace .person-tabs {
    width: fit-content;
}
@media (max-width: 650px) {
    dialog.editor-workspace[open] {
        padding: 16px;
    }
    .editor-workspace .person-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .editor-workspace .schedule-fields {
        grid-template-columns: minmax(0, 1fr);
    }
}
.cal-lesson strong {
    font-size: 11px;
}
.cal-lesson > span {
    font-size: 10px;
}
.cal-lesson small {
    font-size: 10px;
}
.cal-time {
    font-size: 10px;
}
@media (max-width: 600px) {
    .breadcrumb strong {
        max-width: 25vw;
    }
    .profile {
        min-width: 0;
    }
    .profile select {
        width: 72px;
    }
}
