@charset "UTF-8";

:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #17233a;
  background: #f6f8fc;
  font-synthesis: none;
  --navy: #182536;
  --blue: #0876ff;
  --muted: #78849a;
  --border: #e5eaf2;
  --green: #07866a;
  --red: #b7384a;
  --shadow: none;
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; min-width: 320px; font-size: 13px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { outline-offset: 3px; }
button { cursor: pointer; border: 1px solid #dde4ef; border-radius: 7px; background: #fff; color: #263650; padding: 8px 13px; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
button:hover { background: #f5f8fe; border-color: #cbd9ed; }
button:disabled { cursor: not-allowed; opacity: .48; }
button:focus-visible, a:focus-visible { outline: 3px solid #9bc9ff; }
button.primary { background: var(--blue); border-color: var(--blue); color: white; }
button.primary:hover { background: #0066ea; border-color: #0066ea; }
button.danger { color: var(--red); background: #fff4f5; border-color: #f3d5dc; }
button.small { padding: 4px 9px; font-size: 11px; }
button.link { border: 0; padding: 4px 5px; background: transparent; color: var(--blue); }
button.link:hover { background: #eff6ff; }
a { color: var(--blue); text-decoration: none; }
svg { width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 27px; line-height: 1.4; margin-bottom: 7px; font-weight: 700; letter-spacing: -.8px; color: #111a2d; }
h2 { font-size: 16px; line-height: 1.5; }
h3 { font-size: 14px; }
small, .muted { color: var(--muted); }
.boot { min-height: 100vh; display: flex; gap: 12px; align-items: center; justify-content: center; }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid #d9e8fb; border-top-color: var(--blue); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Top navigation keeps every module accessible above the full-width workspace. */
.layout { min-height: 100vh; }
.main { min-width: 0; }
.topbar { min-height: 64px; height: 64px; background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: stretch; gap: 0; padding: 0 23px; }
.top-brand { display: flex; align-items: center; white-space: nowrap; color: #121b2e; font-size: 19px; font-weight: 750; letter-spacing: -.5px; margin-right: 16px; }
.top-brand img { width: 30px; height: 30px; object-fit: contain; margin-right: 8px; }
.term-select { border: 0; border-left: 1px solid var(--border); border-radius: 0; background: transparent; padding: 0 16px; margin: 19px 14px 19px 0; font-size: 12px; color: #46516a; min-width: 110px; max-width: 140px; }
.module-tabs { display: flex; align-items: stretch; gap: 23px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.module-tabs::-webkit-scrollbar { display: none; }
.module-tab { position: relative; display: inline-flex; justify-content: center; align-items: center; background: transparent; border: 0; border-radius: 0; color: #3b475e; font-size: 12px; padding: 0 1px; white-space: nowrap; }
.module-tab:hover { background: transparent; color: var(--blue); }
.module-tab.active { color: var(--blue); font-weight: 650; }
.module-tab.active::after { content: ""; position: absolute; height: 3px; border-radius: 3px 3px 0 0; bottom: 0; left: 0; right: 0; background: var(--blue); }
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 13px; padding-left: 24px; flex-shrink: 0; }
.global-search { display: flex; align-items: center; gap: 7px; background: #f8faff; border: 1px solid var(--border); border-radius: 7px; height: 34px; padding: 0 9px; color: #8997ac; width: 188px; font-size: 11px; font-weight: 400; text-align: left; }
.global-search svg { color: #53627c; width: 16px; height: 16px; }
.global-search kbd { margin-left: auto; border: 1px solid #dce3ee; border-radius: 4px; padding: 0 4px; font-family: inherit; font-size: 10px; line-height: 20px; color: #8a96aa; white-space: nowrap; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 34px; padding: 0; border: 0; background: transparent; color: #52627b; position: relative; }
.icon-button svg { width: 20px; height: 20px; }
.inbox-bell i { position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border: 2px solid #fff; box-sizing: content-box; background: #ff8a32; border-radius: 50%; }
.avatar { width: 32px; height: 32px; background: #edf2fc; color: #476b9e; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 600; flex: 0 0 auto; }
.user-menu { position: relative; }
.user-menu summary { display: flex; cursor: pointer; list-style: none; border-radius: 50%; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary:focus-visible { outline: 3px solid #9bc9ff; outline-offset: 3px; }
.user-menu-panel { position: absolute; z-index: 30; right: 0; top: 43px; background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 13px; width: 180px; box-shadow: 0 8px 24px #18324a14; }
.user-menu-panel strong, .user-menu-panel small { display: block; }
.user-menu-panel strong { font-size: 12px; margin-bottom: 3px; overflow-wrap: anywhere; }
.user-menu-panel small { font-size: 10px; margin-bottom: 13px; color: #98a3b5; }
.user-menu-panel button { width: 100%; text-align: left; border: 0; background: #f8faff; font-size: 11px; padding: 7px 9px; }
.user-menu-panel svg { width: 14px; height: 14px; margin-right: 8px; }
.content { padding: 21px 24px 26px; margin: 0 auto; max-width: 2060px; min-width: 0; }
.section-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; padding: 12px 24px; border-bottom: 1px solid var(--border); background: #fff; }
.section-nav button { border: 0; background: transparent; padding: 5px 12px; color: #66758d; font-size: 12px; }
.section-nav button.active { color: var(--blue); background: #e9f2ff; font-weight: 600; }

/* Overview: a compact summary, then the two tools used throughout the day. */
.workspace-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 12px; }
.workspace-heading h1 { margin: 1px 0 0; font-size: 29px; letter-spacing: -.9px; }
.workspace-eyebrow { font-size: 9px; color: #8a96ab; font-weight: 500; letter-spacing: 1.1px; margin-bottom: 4px; }
.workspace-date { font-size: 12px; white-space: nowrap; color: #536079; margin-right: 8px; }
.workspace-heading .actions { gap: 10px; }
.workspace-heading .actions button:not(.icon-button) { height: 39px; padding: 7px 17px; font-size: 12px; }
.workspace-heading .actions .icon-button { width: 30px; }
.workspace-heading .actions svg { margin-right: 4px; width: 16px; height: 16px; }
.workspace-metrics { display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin-bottom: 19px; }
.metric { display: flex; align-items: baseline; gap: 10px; padding: 0 24px; border-right: 1px solid #dde5f0; line-height: 1.1; }
.metric:first-child { padding-left: 0; }
.metric:nth-child(4) { border-right: 0; }
.metric strong { color: #141a27; font-size: 25px; line-height: 1.4; letter-spacing: -.6px; font-weight: 650; }
.metric span { font-size: 12px; color: #6c7891; white-space: nowrap; }
.pending-metric i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff8b34; align-self: center; }
.metric-scope { font-size: 9px; color: #9aa6b8; margin-left: auto; padding-left: 15px; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 2.55fr) minmax(285px, 1fr); gap: 16px; align-items: start; min-width: 0; }
.calendar-panel, .work-inbox { background: #fff; border: 1px solid var(--border); border-radius: 6px; min-width: 0; overflow: hidden; }
.work-inbox { padding: 17px 17px 0; }
.inbox-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.inbox-heading h2 { font-size: 17px; margin: 0; color: #142139; }
.inbox-count { border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 23px; background: #ffebdd; color: #f2822f; font-size: 11px; padding: 0 6px; }
.inbox-tabs { display: flex; gap: 19px; border-bottom: 1px solid var(--border); padding: 0 2px; margin-bottom: 10px; }
.inbox-tab { position: relative; border: 0; background: transparent; padding: 9px 2px 12px; color: #4b5971; border-radius: 0; font-size: 12px; }
.inbox-tab:hover { background: transparent; color: var(--blue); }
.inbox-tab.active { color: var(--blue); font-weight: 600; }
.inbox-tab.active::after { position: absolute; content: ""; left: -2px; right: -2px; bottom: -1px; height: 3px; background: var(--blue); border-radius: 3px 3px 0 0; }
.inbox-tab > span { border-radius: 12px; color: #73809a; background: #eef1f6; font-size: 10px; margin-left: 5px; padding: 2px 5px; line-height: 1.4; }
.inbox-tab.active > span { color: var(--blue); background: #e8f2ff; }
.inbox-list { display: flex; flex-direction: column; gap: 3px; }
.inbox-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 9px; border-radius: 7px; border: 1px solid transparent; background: transparent; text-align: left; min-height: 58px; }
.inbox-item:hover { background: #f6f9ff; border-color: transparent; }
.inbox-item.selected { background: #edf5ff; border-color: transparent; }
.request-avatar { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #e6edff; color: #6282cc; font-size: 15px; font-weight: 500; }
.inbox-item:nth-child(3n) .request-avatar { color: #966f60; background: #f6e7df; }
.inbox-item:nth-child(4n) .request-avatar { color: #428b80; background: #e6f5ef; }
.request-copy { min-width: 0; }
.request-copy strong { display: block; font-size: 12px; line-height: 1.6; color: #1e2b43; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.request-copy small { display: block; font-size: 10px; color: #8a96ab; font-weight: 400; line-height: 1.5; margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.request-time { color: #8a96aa; font-size: 10px; align-self: start; padding-top: 4px; white-space: nowrap; font-weight: 400; }
.inbox-all { display: inline-flex; align-items: center; gap: 6px; margin: 9px 0 13px; font-size: 11px; }
.inbox-all svg { width: 13px; height: 13px; }
.inbox-detail { border-top: 1px solid var(--border); padding: 15px 1px; margin-top: 2px; }
.inbox-status { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #eb8c3b; margin-bottom: 8px; }
.inbox-status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fb933d; }
.inbox-detail h3 { font-size: 16px; color: #182740; margin: 0 0 12px; line-height: 1.6; overflow-wrap: anywhere; }
.inbox-detail dl { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 6px 10px; margin: 0 0 11px; font-size: 11px; }
.inbox-detail dt { color: #8b96aa; }
.inbox-detail dd { color: #485c79; margin: 0; overflow-wrap: anywhere; }
.inbox-detail p { font-size: 11px; color: #8994a7; line-height: 1.8; margin: 8px 0 12px; overflow-wrap: anywhere; }
.inbox-detail .inbox-message { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }
.inbox-detail .primary { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 37px; border-radius: 5px; font-size: 12px; }
.inbox-detail .primary svg { width: 15px; height: 15px; }
.inbox-empty { text-align: center; color: #8b98ac; padding: 25px 8px; font-size: 12px; }
.inbox-empty > svg { display: block; width: 30px; height: 30px; color: #b7c6d9; margin: 0 auto 9px; }
.inbox-empty h3 { color: #52667e; margin-bottom: 5px; }
.inbox-empty p { margin: 0; font-size: 11px; line-height: 1.9; }
.inbox-empty .link { font-size: 11px; margin-top: 9px; }
.inbox-shortcuts { border-top: 1px solid var(--border); padding: 12px 0 14px; }
.inbox-shortcuts h3 { font-size: 11px; margin: 0 0 7px; }
.inbox-shortcuts > div { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.inbox-shortcuts button { display: flex; align-items: center; justify-content: space-between; gap: 5px; color: var(--blue); background: transparent; border: 0; text-align: left; font-size: 11px; padding: 3px 0; border-radius: 3px; }
.inbox-shortcuts button:hover { background: #eff6ff; }
.inbox-shortcuts svg { width: 13px; height: 13px; }

/* Timetable uses real schedule times and an internally scrollable canvas. */
.calendar-panel { padding: 15px 14px 0; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.calendar-head > div:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.calendar-head h2 { font-size: 17px; margin: 0; color: #142139; }
.calendar-controls, .calendar-date-controls, .calendar-mode { display: flex; align-items: center; gap: 4px; }
.calendar-controls { gap: 6px; flex-shrink: 0; }
.calendar-controls button { height: 30px; padding: 3px 10px; font-size: 10px; border-radius: 5px; }
.calendar-date-controls button { padding: 3px 9px; }
.calendar-date-controls button:first-child, .calendar-date-controls button:last-child { font-size: 18px; line-height: 18px; }
.calendar-week-label { display: inline-flex; align-items: center; margin: 0; font-size: 10px; white-space: nowrap; color: #7f8da4; }
.calendar-mode { border: 1px solid var(--border); border-radius: 5px; background: #f9fbfe; padding: 2px; gap: 0; }
.calendar-mode button { border: 0; background: transparent; color: #8b97ac; height: 25px; min-width: 36px; }
.calendar-mode button.active { background: var(--blue); color: white; }
.calendar-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.calendar-filter { display: inline-flex; align-items: center; min-width: 0; }
.calendar-filter select { height: 31px; padding: 4px 8px; background: #fff; min-width: 108px; max-width: 160px; font-size: 10px; color: #6b7890; border-color: var(--border); border-radius: 5px; }
.calendar-weekend { height: 29px; font-size: 9px; color: #8c99ac; border-color: transparent; padding: 3px 7px; }
.calendar-weekend.active { background: #eff6ff; color: var(--blue); border-color: #cfe3ff; }
.calendar-summary { font-size: 10px; color: #8b97ad; font-weight: 400; margin-left: auto; }
.calendar-scroll { overflow: auto; width: 100%; max-height: max(300px, calc(100vh - 335px)); border: 1px solid var(--border); border-radius: 5px; background: #fff; scrollbar-color: #cad9ed #f6f8fc; scrollbar-width: thin; }
.calendar-grid { display: grid; grid-template-columns: 55px repeat(var(--calendar-days, 5), minmax(var(--calendar-day-min, 150px), 1fr)); min-width: max-content; width: 100%; }
.calendar-corner { position: sticky; top: 0; z-index: 5; min-height: 42px; border-bottom: 1px solid var(--border); background: #fbfcfe; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #9aa7bb; }
.calendar-day-heading { position: sticky; top: 0; z-index: 5; min-height: 42px; border: 0; border-radius: 0; border-left: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 11px; color: #3d4b65; padding: 4px 7px; }
.calendar-day-heading strong, .calendar-day-heading span { font-weight: 500; }
.calendar-day-heading small { font-size: 8px; }
.calendar-day-heading.is-today { background: #f0f7ff; }
.calendar-day-heading.is-today strong { background: var(--blue); border-radius: 50%; color: #fff; min-width: 27px; height: 27px; display: inline-flex; align-items: center; justify-content: center; }
.calendar-time-axis { position: relative; height: var(--calendar-height, 560px); min-width: 55px; background: #fdfefe; }
.calendar-time { position: absolute; left: 9px; transform: translateY(-50%); color: #8390a7; font-size: 9px; line-height: 1; white-space: nowrap; }
.calendar-time:first-child { transform: translateY(4px); }
.calendar-day { position: relative; height: var(--calendar-height, 560px); min-width: 0; border-left: 1px solid var(--border); background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--calendar-slot-height, 32px) - 1px), #edf1f7 calc(var(--calendar-slot-height, 32px) - 1px), #edf1f7 var(--calendar-slot-height, 32px)); }
.calendar-day.is-today { background-color: #f0f7ff; }
.calendar-event { position: absolute; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; gap: 1px; min-height: 44px; border: 1px solid transparent; border-left: 4px solid #1687ff; border-radius: 5px; background: #e6f3ff; color: #1e3b60; text-align: left; padding: 7px 7px 6px; overflow: hidden; transition: border-color .15s, filter .15s; box-shadow: none; line-height: 1.5; }
.calendar-event:hover { background: #dceeff; filter: brightness(.99); border-color: #83baff; border-left-color: #1687ff; z-index: 2; }
.calendar-event.tone-teal { background: #e3f7ef; border-left-color: #24c28e; color: #28594e; }
.calendar-event.tone-teal:hover { border-color: #87d8ba; border-left-color: #24c28e; background: #dbf3e9; }
.calendar-event.tone-coral { background: #ffecdd; border-left-color: #ff984a; color: #75513e; }
.calendar-event.tone-coral:hover { border-color: #ffc391; border-left-color: #ff984a; background: #ffe6d2; }
.calendar-event.tone-violet { background: #efeafa; border-left-color: #9e86de; color: #5c4c82; }
.calendar-event.tone-violet:hover { border-color: #c4b5ea; border-left-color: #9e86de; background: #e8e0f7; }
.calendar-event.is-selected { border-color: #65b0ff; border-left-color: var(--blue); box-shadow: 0 0 0 2px #fff; }
.calendar-event strong { font-size: 12px; font-weight: 650; width: 100%; color: #20304c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event span, .calendar-event small, .calendar-event time { font-size: 10px; font-weight: 400; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6c839a; }
.calendar-event time { font-size: 11px; color: #65819b; }
.calendar-event .calendar-status { position: absolute; top: 5px; right: 5px; border-radius: 3px; font-size: 8px; line-height: 1.4; padding: 1px 3px; width: auto; color: #fff; background: #0d8dff; }
.calendar-event:has(.calendar-status) time { padding-right: 28px; }
.calendar-event.is-cancelled { opacity: .6; background: #f0f2f6; border-left-color: #b9c2d0; }
.calendar-event.is-cancelled strong { text-decoration: line-through; }
.calendar-event.is-completed { opacity: .83; }
.calendar-event.is-compact { padding-top: 6px; padding-bottom: 6px; gap: 1px; }
.calendar-event.is-compact > span:not(.calendar-status) { display: none; }
.calendar-now { position: absolute; z-index: 4; left: 0; right: 0; height: 1px; border-top: 1px dashed #1682ff; pointer-events: none; }
.calendar-now::before { content: ""; position: absolute; left: -4px; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: #1682ff; }
.calendar-now > span { position: absolute; top: -15px; right: 3px; color: #1682ff; font-size: 8px; background: #f0f7ff; line-height: 1.5; padding: 0 3px; border-radius: 3px; }
.calendar-empty { min-height: 420px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 32px; border: 1px solid var(--border); border-radius: 5px; background: #fcfdff; text-align: center; }
.calendar-empty > span { font-size: 35px; color: #b5cce7; margin-bottom: 10px; }
.calendar-empty h3 { font-size: 14px; color: #607594; margin: 0 0 6px; }
.calendar-empty p { font-size: 11px; color: #95a2b6; margin: 0 0 19px; line-height: 1.9; }
.calendar-empty .primary { font-size: 11px; padding: 7px 13px; }
.calendar-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 17px; color: #9aa6b9; font-size: 9px; padding: 12px 0; }
.calendar-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.calendar-legend > span:last-child { margin-left: auto; }
.calendar-legend .calendar-full-link { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 0; font-size: 9px; }
.calendar-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: #a2ceff; }
.calendar-legend i.is-cancelled { background: #d7dee8; }
.calendar-unscheduled { margin: 12px 0 0; background: #fafcff; border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; }
.calendar-unscheduled-head h3 { font-size: 11px; color: #60718c; margin: 0 0 5px; }
.calendar-unscheduled-head h3 span { font-size: 9px; margin-left: 5px; background: #eaf2ff; color: #638cc8; border-radius: 8px; padding: 1px 5px; }
.calendar-unscheduled-head p { font-size: 9px; color: #9aa6b9; margin: 0 0 9px; }
.calendar-unscheduled-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 7px; }
.calendar-unscheduled-item { display: flex; align-items: flex-start; flex-direction: column; gap: 2px; font-size: 10px; padding: 8px 10px; border-radius: 5px; border-left: 3px solid #9cbeed; background: #fff; color: #60718c; text-align: left; min-width: 0; }
.calendar-unscheduled-item strong { font-size: 11px; color: #344968; }
.calendar-unscheduled-item span, .calendar-unscheduled-item small, .calendar-unscheduled-item time { font-size: 9px; color: #929eb0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-unscheduled-item.is-selected { border-color: #83baff; background: #f1f7ff; }
.calendar-unscheduled-item.is-cancelled { opacity: .6; }

/* Shared management forms and tables keep all existing workflows available. */
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.page-heading p { margin: 0; color: var(--muted); font-size: 12px; max-width: 720px; line-height: 1.8; }
.eyebrow { color: #8997af; font-weight: 500; letter-spacing: 1.5px; font-size: 9px; margin-bottom: 6px; }
.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 18px; }
.card-head { padding: 17px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.card-head h2 { margin: 0; font-size: 15px; }
.card-body { padding: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 18px; position: relative; }
.stat .label { font-size: 11px; color: var(--muted); }
.stat .value { display: block; font-size: 29px; font-weight: 650; color: #213953; line-height: 1.6; }
.stat .hint { font-size: 10px; color: #8b98ad; }
.stat-icon { position: absolute; right: 17px; top: 18px; background: #edf5ff; border-radius: 8px; color: var(--blue); padding: 4px 9px; font-size: 18px; }
.dashboard-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.toolbar { padding: 15px 19px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.search-wrap { position: relative; flex: 1; min-width: min(200px, 100%); max-width: 390px; }
.search-wrap input { width: 100%; padding-left: 33px; }
.search-wrap span { position: absolute; left: 11px; top: 5px; font-size: 17px; color: #91a0b6; }
input, select, textarea { border: 1px solid #dfe5ee; border-radius: 6px; padding: 8px 10px; background: #fff; color: #2b3b53; min-width: 0; font-size: 12px; }
input::placeholder, textarea::placeholder { color: #a0aabd; }
input:focus, select:focus, textarea:focus { border-color: #80b2fc; outline: 2px solid #e8f1ff; }
input[type=checkbox] { accent-color: var(--blue); width: 15px; height: 15px; margin: 0; flex: 0 0 auto; }
input[type=file] { max-width: 100%; background: #f7faff; }
textarea { resize: vertical; min-height: 94px; }
.table-wrap { overflow: auto; max-width: 100%; }
table { border-collapse: collapse; width: 100%; white-space: nowrap; text-align: left; }
th { font-size: 10px; color: #8897ad; background: #fafbfe; font-weight: 500; letter-spacing: .3px; }
td, th { padding: 13px 19px; border-bottom: 1px solid #eef1f6; }
tbody tr:last-child td { border: 0; }
tbody tr:hover { background: #fbfdff; }
td { font-size: 12px; color: #485b76; }
td .secondary { font-size: 10px; color: #94a0b3; display: block; margin-top: 3px; }
.name-cell { font-weight: 550; color: #2d415e; }
.long-cell { max-width: 320px; white-space: normal; overflow-wrap: anywhere; }
.long-text-button { display: block; width: min(280px, 100%); padding: 0; border: 0; background: transparent; color: #5f718b; text-align: left; font: inherit; box-shadow: none; }
.long-text-button:hover { color: var(--blue); background: transparent; }
.long-text-button span { display: -webkit-box; overflow: hidden; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.55; max-height: 3.1em; }
.long-text-button small { display: block; margin-top: 3px; color: var(--blue); font-size: 10px; }
.expanded-text { white-space: pre-wrap; overflow-wrap: anywhere; color: #344b69; line-height: 1.85; font-size: 14px; }
.badge { display: inline-block; padding: 2px 7px; line-height: 1.6; background: #f0f3f8; color: #7b8ba2; border-radius: 4px; font-size: 10px; font-weight: 500; white-space: nowrap; }
.badge.green { background: #eaf7f2; color: #268f75; }
.badge.orange { background: #fff2e5; color: #d38839; }
.badge.red { background: #fff0f3; color: var(--red); }
.badge.blue { background: #eaf3ff; color: #2883e8; }
.tags { display: flex; gap: 5px; flex-wrap: wrap; max-width: 300px; white-space: normal; }
.empty { text-align: center; padding: 50px 20px; color: #8d9bb0; }
.empty .empty-icon { font-size: 28px; color: #bdcadd; margin-bottom: 10px; }
.empty h3 { color: #62758e; margin: 0 0 5px; }
.empty p { margin: 0; font-size: 11px; }
.table-footer { padding: 12px 19px; background: #fcfdff; color: #94a0b2; font-size: 10px; border-top: 1px solid #edf0f5; }
.notice { padding: 11px 14px; border: 1px solid #e0eafa; border-radius: 6px; background: #f4f8ff; color: #7286a3; font-size: 11px; margin-bottom: 18px; line-height: 1.9; }
.notice.warning { background: #fffbf3; color: #a1844f; border-color: #f2e8d1; }
.notice.error { background: #fff5f7; color: #ad4558; border-color: #f3d8df; }
.notice p:last-child { margin-bottom: 0; }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #edf0f5; }
.list-item:last-child { border: 0; }
.list-item p { margin: 0; }
.list-item small { display: block; font-size: 10px; margin-top: 3px; }
.activity-dot { width: 7px; height: 7px; background: #75c7af; border-radius: 50%; margin-right: 10px; display: inline-block; }
.policy-list { display: grid; gap: 16px; }
.policy-list div { display: flex; align-items: flex-start; gap: 12px; }
.policy-list .index { color: #7294c2; background: #edf3fc; padding: 2px 7px; border-radius: 5px; font-size: 11px; }
.policy-list p { margin: 0; color: #71829b; font-size: 11px; }
.policy-list strong { display: block; color: #4d6380; margin-bottom: 3px; font-size: 12px; }
.error-panel { text-align: center; padding: 60px 20px; }
.error-panel p { color: var(--muted); }
.toasts { position: fixed; right: 24px; top: 19px; z-index: 100; display: grid; gap: 10px; max-width: 440px; }
.toast { padding: 12px 17px; border: 1px solid #cfe7dc; border-radius: 7px; background: #f3fff9; color: #247a5a; box-shadow: 0 4px 18px #152c3c0d; font-size: 12px; overflow-wrap: anywhere; }
.toast.error { background: #fff7f8; border-color: #f3d5de; color: var(--red); }
dialog { border: 1px solid #e3e9f2; border-radius: 12px; padding: 0; box-shadow: 0 18px 65px #14283f20; width: min(680px, calc(100vw - 30px)); max-height: 90vh; color: inherit; }
dialog.wide { width: min(960px, calc(100vw - 30px)); }
dialog::backdrop { background: #13233b55; backdrop-filter: blur(2px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 23px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 2; }
.dialog-head h2 { margin: 0; font-size: 16px; }
.close { border: 0; background: transparent; padding: 0 7px; font-size: 21px; line-height: 1.5; color: #8592a6; }
.dialog-body { padding: 22px 23px; }
.dialog-footer { display: flex; justify-content: flex-end; gap: 9px; padding: 15px 23px; border-top: 1px solid var(--border); background: #fcfdff; position: sticky; bottom: 0; z-index: 2; flex-wrap: wrap; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 17px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label { font-size: 11px; font-weight: 550; color: #586d88; }
.field small { font-size: 10px; line-height: 1.8; overflow-wrap: anywhere; }
.required { color: #c86a78; margin-left: 3px; }
.checks { border: 1px solid var(--border); border-radius: 6px; padding: 11px 13px; display: flex; gap: 12px 20px; flex-wrap: wrap; max-height: 170px; overflow: auto; }
.check { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.check[hidden] { display: none; }
.selection-summary { margin-top: -8px; color: var(--muted); line-height: 1.7; }
.form-error { display: none; }
.form-error.visible { display: block; margin: 0 0 17px; }
.import-zone { border: 1px dashed #c6d6ed; border-radius: 7px; background: #f9fbff; padding: 18px; margin: 17px 0; }
.import-zone p { font-size: 11px; color: #8493ab; margin: 10px 0 0; }
.import-summary { padding: 11px 14px; background: #eff6ff; border-radius: 6px; margin: 17px 0; display: flex; gap: 20px; font-size: 12px; flex-wrap: wrap; }
.import-table { max-height: 320px; overflow: auto; border: 1px solid var(--border); border-radius: 6px; }
.import-errors { max-height: 200px; overflow: auto; font-size: 11px; background: #fff5f6; color: #b05767; border-radius: 6px; padding: 11px 15px; margin-bottom: 17px; }
.import-errors p { margin: 4px 0; }
.conversation { max-height: 340px; overflow: auto; display: grid; gap: 12px; margin: 15px 0 20px; }
.message { background: #f5f8fc; padding: 13px 15px; border-radius: 7px; }
.message.admin { background: #edf5ff; margin-left: 24px; }
.message p { margin: 5px 0 0; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.message small { font-size: 10px; }
.text-block { white-space: pre-wrap; overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.inline-detail { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 9px; font-size: 12px; margin: 15px 0; }
.inline-detail dt { color: #8999af; }
.inline-detail dd { margin: 0; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.refreshing { opacity: .55; pointer-events: none; }
.search-dialog-input { position: relative; }
.search-dialog-input input { width: 100%; padding: 11px 14px; font-size: 13px; }
.search-results { display: flex; flex-direction: column; gap: 4px; max-height: min(470px, 52vh); overflow-y: auto; margin-top: 15px; }
.search-result { display: flex; align-items: center; gap: 11px; text-align: left; width: 100%; padding: 10px 11px; border-color: transparent; border-radius: 6px; background: #fff; }
.search-result > svg:first-child { color: #8aa7cd; }
.search-result > svg:last-child { margin-left: auto; width: 14px; height: 14px; color: #9dafc6; }
.search-result-copy { display: flex; flex-direction: column; min-width: 0; }
.search-result-copy strong { color: #435a77; font-size: 12px; font-weight: 550; }
.search-result-copy small { color: #98a5b8; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Login uses the same restrained brand and form controls. */
.login-layout { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.login-art { background: var(--navy); color: #fff; padding: 47px 10%; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 650; font-size: 19px; }
.brand-mark { height: 37px; width: 37px; display: grid; place-items: center; background: #fff; color: #1685ed; border-radius: 8px; font-size: 22px; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand img { width: 42px; height: 42px; border-radius: 8px; background: #fff; object-fit: contain; padding: 3px; }
.brand small { display: block; font-size: 8px; letter-spacing: 1.5px; font-weight: 400; color: #8eabc9; margin-top: 3px; }
.login-art h1 { color: #fff; font-size: 36px; line-height: 1.65; letter-spacing: -.4px; position: relative; z-index: 1; }
.login-art .lead { font-size: 13px; color: #94abc5; line-height: 2; max-width: 330px; }
.login-art .eyebrow { color: #7b9cc0 !important; }
.login-foot { font-size: 9px; color: #7b96b3; letter-spacing: 1px; }
.login-panel { display: flex; justify-content: center; align-items: center; padding: 40px 26px; }
.login-card { width: 342px; max-width: 100%; }
.login-card h2 { font-size: 24px; margin-bottom: 7px; font-weight: 650; letter-spacing: -.5px; }
.login-card > p { color: #91a0b5; font-size: 11px; margin-bottom: 29px; }
.login-card .field { margin: 18px 0; }
.login-card input { padding: 11px 12px; }
.login-card .primary { width: 100%; padding: 11px; margin: 5px 0 20px; }
.demo-note { font-size: 10px; color: #8c9cb1; line-height: 1.9; padding: 13px; border-radius: 6px; background: #f7faff; }
.demo-note code { font-family: inherit; color: #5e7da6; }
.auth-error { font-size: 11px; color: var(--red); margin-bottom: 11px; min-height: 18px; }
.mobile-title { display: none; }

@media (min-width: 1700px) {
  .content { padding: 27px 31px 32px; }
  .workspace-grid { gap: 20px; }
  .work-inbox { padding: 20px 21px 0; }
  .calendar-panel { padding: 18px 18px 0; }
}
@media (max-width: 1360px) {
  .topbar { padding: 0 19px; }
  .top-brand { font-size: 17px; margin-right: 13px; }
  .term-select { padding: 0 12px; margin-right: 10px; min-width: 100px; }
  .module-tabs { gap: 19px; }
  .top-tools { padding-left: 18px; gap: 9px; }
  .global-search { width: 150px; }
  .global-search kbd { display: none; }
  .content { padding: 20px 20px 24px; }
  .section-nav { padding: 10px 20px; }
  .calendar-head { align-items: flex-start; }
  .calendar-head > div:first-child { gap: 4px 8px; }
  .calendar-controls { gap: 4px; }
  .calendar-controls button { padding-left: 7px; padding-right: 7px; }
  .calendar-head h2 { font-size: 16px; white-space: nowrap; }
  .calendar-filter select { min-width: 102px; max-width: 120px; }
  .calendar-summary { font-size: 9px; }
  .work-inbox { padding: 15px 13px 0; }
  .inbox-heading h2 { font-size: 16px; }
}
@media (max-width: 1180px) {
  .topbar { padding: 0 16px; }
  .top-brand { font-size: 16px; }
  .module-tabs { gap: 14px; }
  .module-tab { font-size: 11px; }
  .top-tools { padding-left: 13px; }
  .global-search { width: 115px; }
  .term-select { min-width: 88px; padding: 0 9px; margin-right: 8px; font-size: 11px; }
  .workspace-grid { grid-template-columns: minmax(0, 1fr) 277px; gap: 13px; }
  .calendar-head { flex-wrap: wrap; gap: 8px; }
  .calendar-head > div:first-child { flex: 1; }
  .calendar-controls { flex: 0 1 auto; }
  .calendar-filters { gap: 6px; }
  .workspace-heading h1 { font-size: 26px; }
  .workspace-heading .actions button:not(.icon-button) { padding: 6px 12px; }
  .workspace-date { font-size: 11px; margin-right: 2px; }
  .metric { padding: 0 18px; }
  .metric strong { font-size: 23px; }
  .metric-scope { flex-basis: 100%; padding: 8px 0 0; }
}
@media (max-width: 960px) {
  .top-brand { margin-right: 10px; }
  .top-tools { padding-left: 10px; gap: 5px; }
  .global-search { width: 30px; padding: 6px; background: #fff; border-color: transparent; }
  .global-search span { display: none; }
  .module-tabs { gap: 13px; }
  .term-select { max-width: 94px; }
  .content { padding: 18px 16px 22px; }
  .workspace-heading { align-items: flex-start; }
  .workspace-heading .actions { justify-content: flex-end; }
  .workspace-date { width: 100%; text-align: right; }
  .workspace-grid { grid-template-columns: minmax(0, 1fr); }
  .work-inbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 23px; }
  .inbox-heading, .inbox-tabs, .inbox-list, .inbox-all, .inbox-empty { grid-column: 1; }
  .inbox-detail { grid-column: 2; grid-row: 1 / span 5; border-top: 0; border-left: 1px solid var(--border); padding: 2px 0 15px 20px; margin: 0; }
  .inbox-shortcuts { grid-column: 1 / -1; }
  .inbox-shortcuts > div { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .topbar { min-height: 59px; height: auto; align-items: center; flex-wrap: wrap; padding: 12px 14px 0; column-gap: 10px; }
  .top-brand { font-size: 16px; }
  .term-select { border: 0; padding: 0; margin: 0; width: 88px; height: 28px; }
  .module-tabs { order: 4; width: 100%; flex: 0 0 100%; gap: 19px; margin-top: 8px; height: 36px; }
  .module-tab { font-size: 11px; padding-bottom: 4px; }
  .top-tools { padding-left: 0; gap: 4px; margin-left: auto; }
  .global-search { display: flex; }
  .user-menu .avatar { width: 27px; height: 27px; font-size: 10px; }
  .icon-button { width: 25px; height: 28px; }
  .icon-button svg { width: 18px; height: 18px; }
  .content { padding: 16px 13px 22px; }
  .workspace-heading { display: block; margin-bottom: 13px; }
  .workspace-heading h1 { font-size: 25px; }
  .workspace-heading .actions { justify-content: flex-start; gap: 7px; margin-top: 13px; }
  .workspace-heading .actions button:not(.icon-button) { height: 33px; font-size: 10px; padding: 5px 10px; }
  .workspace-date { text-align: left; width: auto; order: 3; margin-left: auto; font-size: 9px; }
  .workspace-eyebrow { font-size: 8px; letter-spacing: 1px; }
  .workspace-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 12px; margin-bottom: 17px; }
  .metric { padding: 0; border: 0; gap: 7px; }
  .metric strong { font-size: 22px; }
  .metric span { font-size: 10px; }
  .pending-metric i { width: 6px; height: 6px; }
  .metric-scope { grid-column: 1 / -1; padding: 0; font-size: 8px; margin: 0; }
  .calendar-panel { padding: 12px 10px 0; }
  .calendar-head { display: block; }
  .calendar-head > div:first-child { justify-content: space-between; margin-bottom: 10px; }
  .calendar-head h2 { font-size: 15px; }
  .calendar-controls { justify-content: flex-start; }
  .calendar-controls button { font-size: 9px; }
  .calendar-week-label { font-size: 9px; }
  .calendar-mode button { min-width: 30px; }
  .calendar-filters { gap: 7px; }
  .calendar-filter select { min-width: 98px; max-width: 130px; font-size: 9px; }
  .calendar-weekend { font-size: 9px; }
  .calendar-summary { margin-left: 0; font-size: 9px; }
  .calendar-scroll { max-height: 470px; }
  .calendar-legend { font-size: 8px; gap: 5px 10px; }
  .calendar-legend > span:last-child { margin-left: 0; }
  .calendar-empty { min-height: 330px; padding: 25px 15px; }
  .work-inbox { display: block; padding: 14px 13px 0; }
  .inbox-detail { border-left: 0; border-top: 1px solid var(--border); margin-top: 10px; padding: 14px 1px; }
  .inbox-shortcuts > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-nav { gap: 3px; padding: 9px 13px; }
  .section-nav button { font-size: 11px; padding: 5px 8px; }
  .page-heading { flex-direction: column; gap: 14px; margin-bottom: 18px; }
  .page-heading h1 { font-size: 23px; }
  .page-heading p { font-size: 11px; }
  .page-heading .actions button { font-size: 11px; padding: 7px 10px; }
  .stats { gap: 10px; }
  .stat { padding: 14px; }
  .stat-icon { right: 11px; top: 15px; padding: 3px 6px; font-size: 15px; }
  .stat .value { font-size: 25px; }
  .toolbar { padding: 12px; gap: 8px; }
  .search-wrap { max-width: none; flex-basis: 100%; }
  .toolbar > select { max-width: 100%; flex: 1; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .field.full { grid-column: auto; }
  .login-layout { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .login-panel { padding: 35px 24px; min-height: 100vh; }
  .toasts { right: 12px; left: 12px; top: 12px; max-width: none; }
  .dialog-body { padding: 18px; }
  .dialog-head, .dialog-footer { padding: 16px 18px; }
  .card-head { padding: 14px 15px; }
  .card-body { padding: 16px; }
  .table-footer { padding: 11px 13px; }
  td, th { padding: 12px 15px; }
  .notice { font-size: 10px; padding: 10px 12px; }
  .inline-detail { grid-template-columns: 85px minmax(0, 1fr); font-size: 11px; }
}
@media (max-width: 420px) {
  .top-brand { font-size: 14px; margin-right: 0; }
  .term-select { min-width: 75px; width: 75px; font-size: 10px; }
  .top-tools { gap: 0; }
  .top-tools > .icon-button { display: none; }
  .workspace-date { width: 100%; margin: 0; order: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Each class has a semester sequence, with one lesson projected each week. */
.plan-panel { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.plan-heading { padding: 19px 20px 15px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.plan-heading h2 { margin: 3px 0 5px; font-size: 20px; }
.plan-heading p { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 0; }
.plan-heading .actions { flex-shrink: 0; }
.plan-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 0 20px 16px; }
.plan-filters label { display: grid; gap: 5px; color: #7a8ba4; font-size: 10px; min-width: 130px; flex: 1; }
.plan-filters select { width: 100%; height: 35px; border: 1px solid var(--border); border-radius: 6px; padding: 5px 9px; background: #fff; color: #34445f; font-size: 12px; min-width: 0; }
.plan-term { display: grid; gap: 4px; align-self: center; min-width: 100px; }
.plan-term small { font-size: 10px; }.plan-term strong { font-size: 12px; font-weight: 600; }
.plan-rule-summary { padding: 9px 20px; background: #f2f7ff; color: #4672a3; font-size: 11px; border-top: 1px solid #e7effa; border-bottom: 1px solid #e7effa; }
.plan-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; padding: 15px 20px 10px; font-size: 11px; color: #7c8ba3; }
.plan-summary > div { display: grid; gap: 2px; }.plan-summary strong { color: #23324b; font-size: 14px; }.plan-summary > div > span { font-size: 10px; }
.plan-scroll { position: relative; max-height: max(330px,calc(100vh - 365px)); min-height: 290px; overflow: auto; scrollbar-width: thin; scrollbar-color: #cbd8e8 #fafcff; padding: 0 12px 12px; }
.plan-row { width: 100%; display: grid; grid-template-columns: 44px minmax(0,1fr) auto 10px; align-items: center; gap: 13px; text-align: left; border: 1px solid transparent; border-bottom-color: #edf1f7; border-radius: 6px; background: #fff; padding: 14px 9px; min-height: 105px; }
.plan-row:hover, .plan-row.selected { background: #f6faff; border-color: #dceafd; }.plan-number { display: grid; grid-template-columns: 1fr; place-items: center; width: 40px; background: #eef5ff; border-radius: 8px; padding: 5px 0; color: #3279cd; line-height: 1.25; }.plan-number small { font-size: 9px; color: inherit; }.plan-number strong { font-size: 21px; font-weight: 650; }
.plan-copy { display: grid; min-width: 0; gap: 3px; }.plan-copy > strong { color: #20344f; font-size: 14px; }.plan-copy > span { font-size: 11px; color: #71839a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.7; overflow-wrap: anywhere; }.plan-copy > small { color: #93a0b2; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.plan-copy em { display: block; font-style: normal; color: #7a8da4; margin-top: 3px; }
.plan-status { font-size: 10px; padding: 3px 8px; border-radius: 5px; background: #eef5ff; color: #4b83c7; white-space: nowrap; }.plan-row.pending .plan-status { background: #fff5e8; color: #be8237; }.plan-row.published .plan-status { background: #e8f8f1; color: #2f9a77; }.plan-row.cancelled { opacity: .65; }.plan-arrow { color: #9babc0; font-size: 21px; }
.plan-empty { padding: 60px 18px; text-align: center; color: #8a9ab0; }.plan-empty h3 { color: #58718d; font-size: 15px; }.plan-empty p { font-size: 11px; }
.plan-footer { padding: 11px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; }.plan-footer small { font-size: 10px; }.plan-footer button { font-size: 11px; }
.course-preview { background: #f8fbff; border: 1px solid #e2ecf9; border-radius: 8px; padding: 15px 17px; min-width: 0; }.course-preview h3 { font-size: 13px; color: #416a9c; margin-bottom: 8px; }.course-preview strong { font-size: 14px; }.course-preview dl { margin: 12px 0; }.course-preview dt { color: #8193aa; font-size: 11px; margin-top: 10px; }.course-preview dd { margin: 4px 0 0; white-space: pre-wrap; color: #40546f; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }.course-preview p, .course-preview small { font-size: 11px; line-height: 1.8; }.course-preview p { margin: 0 0 9px; }
.plan-date-details { border: 1px solid var(--border); border-radius: 7px; padding: 10px 12px; }.plan-date-details summary { cursor: pointer; font-size: 12px; color: #7185a1; }.plan-date-details .form-grid { margin-top: 12px; }.plan-date-details > small { font-size: 10px; display: block; margin-top: 8px; }
@media(max-width:760px) { .plan-heading { display: block; padding: 15px; }.plan-heading h2 { font-size: 18px; }.plan-heading .actions { margin-top: 12px; }.plan-filters { padding: 0 15px 13px; gap: 9px; }.plan-filters label { min-width: 110px; }.plan-term { width: 100%; }.plan-rule-summary { padding: 9px 15px; }.plan-summary { padding: 13px 15px 9px; }.plan-scroll { padding: 0 7px 8px; max-height: 490px; }.plan-row { grid-template-columns: 33px minmax(0,1fr) auto; gap: 9px; padding: 12px 7px; }.plan-number { width: 31px; }.plan-number strong { font-size: 19px; }.plan-copy > strong { font-size: 12px; }.plan-status { font-size: 9px; padding: 3px 5px; }.plan-arrow { display: none; }.plan-footer { padding: 10px 15px; } }
.school-calendar-card{padding:24px;margin-bottom:20px}.school-calendar-card h2{margin-top:0}.school-calendar-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.school-calendar-fields input,.school-calendar-fields select{width:100%;min-width:0;box-sizing:border-box}.school-calendar-card table{width:100%}.school-calendar-card .actions{flex-wrap:wrap}
.class-settings-weekly,.class-settings-people{border-top:1px solid var(--border);padding-top:18px;margin-top:20px}.class-settings-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.class-settings-section-head h3{margin:0}.class-settings-section-head input{width:220px;max-width:50%;padding:7px 10px;border:1px solid var(--border);border-radius:6px}.class-settings-matrix{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:300px;overflow:auto;gap:8px;padding:2px}.class-settings-person{align-items:flex-start;padding:10px;border:1px solid var(--border);border-radius:6px;min-width:0}.class-settings-person span{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}.class-settings-person strong{font-size:12px}.class-settings-person small{font-size:10px;line-height:1.5}.class-settings-person:has(input:checked){border-color:#8bbffd;background:#f0f7ff}.class-settings-person[hidden],[data-class-settings-weekly][hidden]{display:none}.class-settings-weekly>.muted{font-size:11px;margin:7px 0 12px}fieldset[data-class-settings-fields]{margin:0;padding:0;border:0;min-width:0}fieldset[data-class-settings-fields]:disabled{opacity:.75}[data-form="class-settings"] .dialog-footer{flex-wrap:wrap}
@media(max-width:760px){.class-settings-matrix{grid-template-columns:repeat(2,minmax(0,1fr))}.class-settings-section-head{align-items:flex-start}.class-settings-section-head h3 small{display:block}.class-settings-section-head input{max-width:48%}}
@media(max-width:700px){.school-calendar-fields{grid-template-columns:minmax(0,1fr)}.school-calendar-card{padding:18px}.school-calendar-card .table-scroll{overflow-x:auto}}
.plan-unit-list{padding:18px 22px;border-top:1px solid var(--border)}.plan-unit-list h3{font-size:13px;margin:0 0 12px}.plan-unit-list details{padding:12px;border:1px solid var(--border);border-radius:8px;margin-top:8px;background:#f7fbff}.plan-unit-list summary{cursor:pointer;font-size:12px;overflow-wrap:anywhere}.plan-unit-list summary span{color:var(--muted);margin-left:12px;font-size:11px}.plan-unit-list details p{font-size:12px;margin:12px 0 0;color:#54749b;overflow-wrap:anywhere}.plan-unit-list details p small{display:block;color:var(--muted);font-size:10px;margin-top:4px}

.flower-editor-fields{border:0;padding:0;margin:20px 0}.admin-flower-row{display:grid;grid-template-columns:minmax(110px,1fr) 130px 80px;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid #e4ebf1}.admin-flower-row label{font-weight:600}.admin-flower-row small{grid-column:1/-1;color:#64768c}.admin-flower-row button{color:#9f4745;background:#fff0e8;border-color:#e4b8a9}@media(max-width:520px){.admin-flower-row{grid-template-columns:1fr 110px}.admin-flower-row label{grid-column:1/-1}}
