:root {
  --navy: #17365d;
  --navy-2: #244b78;
  --maroon: #762e45;
  --gold: #d39a35;
  --cream: #f7f3ea;
  --paper: #fffdf9;
  --ink: #172538;
  --muted: #687485;
  --line: #e4e6e8;
  --pale-blue: #eaf1f8;
  --pale-gold: #f7ecd7;
  --green: #3e806a;
  --shadow: 0 10px 30px rgba(24, 43, 67, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f6f7f8; color: var(--ink); font-family: "DM Sans", Arial, sans-serif; }
.auth-gate { position: fixed; inset: 0; z-index: 1000; background: linear-gradient(135deg, var(--navy), #244e7b); display: grid; place-items: center; padding: 20px; }.auth-gate[hidden] { display: none; }.auth-gate::before { content: "A"; position: absolute; font: 600 min(70vw, 700px) Fraunces, serif; color: rgba(255,255,255,.025); }.auth-card { width: min(420px, 100%); position: relative; background: white; border-radius: 16px; padding: 34px; box-shadow: 0 30px 90px rgba(0,0,0,.3); }.auth-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 30px; color: var(--navy); }.auth-brand .brand-mark { border-color: #cad5df; }.auth-brand strong, .auth-brand small { display: block; letter-spacing: .15em; }.auth-brand strong { font: 600 18px Fraunces, serif; }.auth-brand small { font-size: 8px; }.auth-card h1 { font: 600 30px Fraunces, serif; margin: 7px 0; color: var(--navy); }.auth-card > p:not(.eyebrow):not(.auth-error) { color: var(--muted); font-size: 11px; margin-bottom: 22px; }.auth-card form { display: grid; gap: 14px; }.auth-card label { font-size: 10px; font-weight: 700; }.auth-card input:not([type="checkbox"]) { display: block; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px; margin-top: 6px; outline: none; }.auth-card input:focus { border-color: var(--navy-2); }.auth-card form > button { margin-top: 4px; padding: 12px; }.hourly-check { display: flex; align-items: center; gap: 8px; }.auth-error { min-height: 18px; color: #a13749; font-size: 10px; }.auth-switch { width: 100%; border: 0; background: none; color: var(--navy); font-size: 10px; font-weight: 700; cursor: pointer; }.account-menu { position: fixed; right: 25px; top: 66px; z-index: 100; width: 190px; background: white; border: 1px solid var(--line); border-radius: 9px; padding: 14px; box-shadow: var(--shadow); }.account-menu strong, .account-menu small { display: block; }.account-menu strong { font-size: 11px; }.account-menu small { color: var(--muted); font-size: 9px; margin-top: 3px; }.account-menu button { width: 100%; border: 0; border-top: 1px solid var(--line); background: none; color: var(--maroon); margin-top: 12px; padding: 10px 0 0; text-align: left; font-size: 10px; font-weight: 700; cursor: pointer; }
.application-page { background: var(--cream); }.application-header { height: 72px; background: var(--navy); color: white; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 940px) / 2)); }.application-header a { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; }.application-header a strong, .application-header a small { display: block; }.application-header a strong { font: 600 17px Fraunces, serif; }.application-header a small { font-size: 7px; letter-spacing: .12em; }.application-header > span { font-size: 10px; color: #c7d5e3; }.application-main { width: min(940px, calc(100% - 28px)); margin: 42px auto 80px; }.application-intro { max-width: 660px; }.application-intro h1 { font: 600 37px Fraunces, serif; color: var(--navy); margin: 8px 0; }.application-intro > p:last-child { color: var(--muted); font-size: 12px; line-height: 1.6; }.live-application { margin-top: 28px; display: grid; gap: 17px; }.live-application section { background: white; border: 1px solid var(--line); border-radius: 11px; padding: 24px; }.live-application h2 { font: 600 20px Fraunces, serif; color: var(--navy); margin: 0 0 19px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }.live-application h3 { font-size: 11px; margin: 5px 0 14px; }.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }.form-grid .full { grid-column: 1 / -1; }.live-application label, .live-application legend { color: #465363; font-size: 10px; font-weight: 700; }.live-application input:not([type="radio"]):not([type="checkbox"]), .live-application select, .live-application textarea { display: block; width: 100%; border: 1px solid #d7dce1; border-radius: 7px; padding: 10px; margin-top: 6px; outline: none; background: white; }.live-application input:focus, .live-application select:focus, .live-application textarea:focus { border-color: var(--navy-2); }.question-list { display: grid; gap: 14px; }.live-application fieldset { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 0 0 14px; }.live-application fieldset label { display: inline-flex; gap: 5px; margin: 9px 18px 0 0; }.employer-block + .employer-block { border-top: 2px solid var(--pale-blue); margin-top: 22px; padding-top: 18px; }.certification { color: var(--muted); font-size: 10px; line-height: 1.7; }.signature-check { display: flex; gap: 7px; margin: 15px 0; }.application-actions { display: flex; justify-content: flex-end; gap: 9px; }.application-actions button { padding: 13px 18px; }.application-actions + p { text-align: right; color: var(--green); font-size: 11px; font-weight: 700; }.compact { padding: 30px 10px; }.job-card-actions { margin-left: auto; display: flex; gap: 6px; }.job-card-actions a { text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 248px; z-index: 20;
  background: var(--navy); color: white; padding: 28px 18px 20px;
  display: flex; flex-direction: column;
}
.brand { color: white; text-decoration: none; display: flex; gap: 12px; align-items: center; padding: 0 10px 34px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-family: Fraunces, serif; font-size: 25px; color: var(--gold); }
.brand strong, .brand small { display: block; letter-spacing: .16em; }
.brand strong { font-family: Fraunces, serif; font-size: 20px; }
.brand small { color: #b9c9da; font-size: 8px; margin-top: 3px; }
nav { display: grid; gap: 6px; }
.nav-link { color: #c6d3df; text-decoration: none; padding: 12px 14px; border-radius: 8px; display: flex; align-items: center; gap: 13px; font-weight: 600; font-size: 14px; }
.nav-link span { width: 20px; text-align: center; font-size: 17px; }
.nav-link:hover, .nav-link.active { color: white; background: rgba(255,255,255,.1); }
.nav-link.active { box-shadow: inset 3px 0 var(--gold); }
.sidebar-note { margin-top: auto; padding: 14px; border-top: 1px solid rgba(255,255,255,.15); display: flex; gap: 10px; align-items: center; }
.sidebar-note strong, .sidebar-note small { display: block; }
.sidebar-note strong { font-size: 12px; }.sidebar-note small { font-size: 10px; color: #aebed0; margin-top: 2px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #75c7a5; box-shadow: 0 0 0 4px rgba(117,199,165,.14); }

main { margin-left: 248px; min-height: 100vh; }
.topbar { height: 74px; background: white; border-bottom: 1px solid var(--line); padding: 0 38px; display: flex; align-items: center; gap: 24px; position: sticky; top: 0; z-index: 15; }
.topbar-title { min-width: 230px; }.topbar-title span, .topbar-title strong { display: block; }.topbar-title span { font-size: 11px; color: var(--muted); }.topbar-title strong { font-size: 14px; margin-top: 2px; }
.global-search { margin-left: auto; width: min(360px, 40vw); height: 40px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; gap: 9px; padding: 0 10px; color: var(--muted); background: #fafafa; }
.global-search input, .playbook-search input { border: 0; outline: 0; flex: 1; min-width: 0; background: transparent; color: var(--ink); }
kbd { font-size: 10px; border: 1px solid #d6d9dc; border-radius: 4px; padding: 3px 5px; background: white; color: #8a929a; }
.avatar { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: white; font-size: 12px; font-weight: 700; }
.time-clock-button { border: 1px solid #d6e1eb; background: var(--pale-blue); color: var(--navy); border-radius: 8px; min-width: 126px; height: 42px; padding: 0 10px; align-items: center; gap: 8px; text-align: left; cursor: pointer; }.time-clock-button:not([hidden]) { display: flex; }.time-clock-button.running { color: white; background: var(--green); border-color: var(--green); }.time-clock-button small, .time-clock-button strong { display: block; }.time-clock-button small { font-size: 7px; letter-spacing: .08em; }.time-clock-button strong { font-size: 11px; margin-top: 2px; }.clock-face { font-size: 19px; }
.menu-button { display: none; background: none; border: 0; font-size: 20px; }
.page-section { display: none; padding: 44px 44px 70px; max-width: 1500px; margin: 0 auto; }
.page-section.active { display: block; }

.hero { background: linear-gradient(115deg, var(--navy), #244e7b); color: white; border-radius: 15px; padding: 36px 40px; display: flex; justify-content: space-between; align-items: end; position: relative; overflow: hidden; }
.hero::after { content: "A"; position: absolute; right: 23%; top: -70px; font-family: Fraunces, serif; font-size: 250px; color: rgba(255,255,255,.035); }
.hero h1, .page-intro h1 { font: 600 36px/1.12 Fraunces, Georgia, serif; margin: 7px 0 8px; }
.hero p:not(.eyebrow) { color: #d7e2ed; margin: 0; }
.eyebrow { color: var(--gold); letter-spacing: .14em; font-size: 10px; font-weight: 700; margin: 0; }
.day-progress { width: 220px; position: relative; z-index: 1; font-size: 12px; color: #dbe5ef; }
.progress-track { height: 5px; background: rgba(255,255,255,.2); border-radius: 8px; overflow: hidden; margin-top: 10px; }
#progressFill { width: 0; height: 100%; background: var(--gold); transition: width .3s ease; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .75fr); gap: 34px; margin-top: 34px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.section-heading h2, .panel h2 { margin: 5px 0 0; font: 600 22px Fraunces, serif; }
.section-heading.spaced { margin-top: 34px; }
.text-button { background: none; border: 0; color: var(--navy-2); font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.task-list { display: grid; gap: 9px; }
.task { background: white; border: 1px solid var(--line); border-radius: 10px; min-height: 74px; padding: 13px 16px; display: grid; grid-template-columns: 28px 62px 1fr auto; align-items: center; gap: 14px; box-shadow: 0 3px 10px rgba(24,43,67,.025); }
.task.done { opacity: .58; }.task.done h3 { text-decoration: line-through; }
.task-check { appearance: none; width: 20px; height: 20px; border: 2px solid #b9c1c9; border-radius: 5px; cursor: pointer; display: grid; place-items: center; }
.task-check:checked { background: var(--green); border-color: var(--green); }
.task-check:checked::after { content: "✓"; color: white; font-size: 13px; }
.task-time { font-size: 11px; color: var(--muted); font-weight: 700; }
.task h3 { font-size: 14px; margin: 0 0 3px; }.task p { font-size: 11px; color: var(--muted); margin: 0; }
.task-tag { border-radius: 99px; padding: 5px 8px; font-size: 9px; font-weight: 700; background: var(--pale-blue); color: var(--navy); }
.task-tag.urgent { background: #f8e5e6; color: #983b4b; }
.week-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.week-day { background: white; border: 1px solid var(--line); border-radius: 9px; padding: 13px; min-height: 92px; }
.week-day.today { border-top: 3px solid var(--gold); padding-top: 11px; }
.week-day strong, .week-day small { display: block; }.week-day strong { font-size: 11px; }.week-day small { color: var(--muted); font-size: 10px; margin-top: 7px; line-height: 1.4; }
.panel { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: var(--shadow); }
.right-column { display: grid; align-content: start; gap: 17px; }
.quick-panel h2 { margin-bottom: 18px; }
.action-card { width: 100%; border: 0; border-top: 1px solid var(--line); background: white; padding: 13px 0; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; color: var(--ink); }
.action-card:hover strong { color: var(--maroon); }.action-card b { margin-left: auto; color: #aab1b8; }
.action-card strong, .action-card small { display: block; }.action-card strong { font-size: 12px; }.action-card small { font-size: 10px; color: var(--muted); margin-top: 3px; }
.action-icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 8px; display: grid; place-items: center; color: white; }.action-icon.navy { background: var(--navy); }.action-icon.maroon { background: var(--maroon); }.action-icon.gold { background: var(--gold); }
.action-icon.green { background: var(--green); }
.deadline-top { display: flex; gap: 15px; align-items: center; }.deadline-top h3 { margin: 4px 0 0; font-size: 15px; }
.calendar-page { width: 50px; height: 54px; border: 1px solid var(--line); border-top: 5px solid var(--maroon); border-radius: 6px; display: grid; place-items: center; padding: 5px; }.calendar-page b { font-size: 19px; }.calendar-page small { font-size: 8px; color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }.chip { background: var(--pale-blue); border-radius: 99px; font-size: 9px; padding: 6px 9px; font-weight: 700; }
.deadline-panel a { color: var(--navy); font-size: 11px; font-weight: 700; text-decoration: none; }
.source-note { background: var(--cream); box-shadow: none; display: flex; gap: 11px; align-items: flex-start; }.source-note > span { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: var(--gold); color: white; display: grid; place-items: center; font: 700 12px Georgia; }.source-note p { font-size: 10px; line-height: 1.55; margin: 0; color: #5e6570; }

.page-intro { max-width: 760px; margin-bottom: 34px; }.page-intro h1 { color: var(--navy); }.page-intro > p:last-child { color: var(--muted); line-height: 1.6; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-grid article { background: var(--navy); color: white; padding: 25px; border-radius: 12px; }.stat-grid h3 { margin: 14px 0 5px; font-size: 14px; }.stat-grid p { margin: 0; color: #c8d5e2; font-size: 11px; line-height: 1.5; }
.stat-icon { color: var(--gold); font: 600 25px Fraunces, serif; }
.content-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.code-list { margin-top: 18px; }.code-list > div { display: flex; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line); }.code-list b { width: 38px; height: 32px; display: grid; place-items: center; border-radius: 6px; background: var(--pale-blue); color: var(--navy); }.code-list strong, .code-list small { display: block; }.code-list strong { font-size: 12px; }.code-list small { font-size: 10px; color: var(--muted); margin-top: 3px; }
.sequence-panel ol { list-style: none; padding: 0; margin: 18px 0 0; }.sequence-panel li { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding: 14px 0; font-size: 12px; }.sequence-panel li span { display: grid; place-items: center; flex: 0 0 27px; height: 27px; border-radius: 50%; background: var(--cream); color: var(--maroon); font-weight: 700; }

.tabs, .filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab, .filter-button { border: 1px solid var(--line); background: white; color: var(--muted); border-radius: 99px; padding: 9px 15px; font-size: 11px; font-weight: 700; cursor: pointer; }
.tab.active, .filter-button.active { background: var(--navy); color: white; border-color: var(--navy); }
.rhythm-board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.rhythm-column { background: white; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }.rhythm-column header { padding: 18px; background: var(--navy); color: white; }.rhythm-column header small, .rhythm-column header strong { display: block; }.rhythm-column header small { color: #b9cadb; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }.rhythm-column header strong { margin-top: 4px; }
.rhythm-column ul { list-style: none; padding: 8px 16px 16px; margin: 0; }.rhythm-column li { font-size: 11px; line-height: 1.45; padding: 10px 0 10px 18px; border-bottom: 1px solid var(--line); position: relative; }.rhythm-column li:last-child { border: 0; }.rhythm-column li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.legend { display: flex; gap: 16px; margin: -17px 0 20px; color: var(--muted); font-size: 10px; }.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; }.assigned-dot { background: var(--maroon); }.open-dot { border: 1px solid #c7ccd1; }
.event-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }.event-card { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 18px; border-top: 4px solid var(--navy); }.event-card.past { opacity: .6; }.event-card time { color: var(--maroon); font-size: 10px; font-weight: 700; }.event-card h3 { margin: 8px 0 13px; font-size: 13px; min-height: 32px; }.event-card .avatars { display: flex; }.mini-avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-right: -5px; border: 2px solid white; background: var(--pale-blue); color: var(--navy); font-size: 8px; font-weight: 700; }
.staffing-panel { padding: 0; overflow: hidden; }.staffing-panel .section-heading { padding: 22px 24px 12px; }.small-note { color: var(--muted); font-size: 10px; }.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 950px; font-size: 10px; }th { background: var(--navy); color: white; padding: 12px 8px; text-align: center; font-weight: 600; }th:first-child, td:first-child { position: sticky; left: 0; text-align: left; z-index: 1; }th:first-child { z-index: 2; }td { padding: 12px 9px; border-bottom: 1px solid var(--line); text-align: center; background: white; }td:first-child { font-weight: 700; min-width: 145px; }.assignment { width: 20px; height: 20px; margin: auto; border-radius: 50%; display: grid; place-items: center; }.assignment.yes { color: white; background: var(--maroon); }.assignment.no { border: 1px solid #d7dbdf; color: transparent; }

.playbook-search { max-width: 680px; height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 17px; border: 1px solid var(--line); background: white; border-radius: 10px; box-shadow: var(--shadow); margin-bottom: 18px; }.playbook-search input { font-size: 13px; }
.procedure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }.procedure-card { background: white; border: 1px solid var(--line); border-radius: 11px; padding: 21px; cursor: pointer; transition: transform .18s, box-shadow .18s; }.procedure-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }.procedure-card .category { color: var(--maroon); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }.procedure-card h3 { margin: 9px 0 8px; font: 600 17px Fraunces, serif; color: var(--navy); }.procedure-card p { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 0; }.procedure-source { display: block; color: #929aa3; font-size: 9px; margin-top: 11px; }.procedure-card button { margin-top: 15px; background: none; padding: 0; border: 0; color: var(--navy); font-size: 10px; font-weight: 700; }
.empty-state { text-align: center; padding: 60px; color: var(--muted); }.empty-state span { font-size: 34px; }
#toast { position: fixed; right: 24px; bottom: 24px; background: var(--ink); color: white; border-radius: 8px; padding: 12px 17px; font-size: 11px; transform: translateY(90px); opacity: 0; transition: .25s; z-index: 50; box-shadow: var(--shadow); }#toast.show { transform: translateY(0); opacity: 1; }

.library-toolbar { display: flex; align-items: start; gap: 12px; margin-bottom: 25px; }.library-toolbar .playbook-search { flex: 1; margin: 0; }
.primary-button, .secondary-button { border-radius: 8px; padding: 11px 16px; font-size: 11px; font-weight: 700; cursor: pointer; }
.primary-button { border: 1px solid var(--navy); background: var(--navy); color: white; }.primary-button:hover { background: var(--navy-2); }
.secondary-button { border: 1px solid var(--line); background: white; color: var(--navy); }
.library-layout { display: grid; grid-template-columns: 205px 1fr; gap: 24px; }.collection-list { display: grid; align-content: start; gap: 5px; }
.collection-button { border: 0; background: transparent; color: var(--muted); padding: 10px 12px; border-radius: 7px; display: flex; justify-content: space-between; text-align: left; font-size: 11px; cursor: pointer; }.collection-button.active { color: var(--navy); background: var(--pale-blue); font-weight: 700; }.collection-button b { font-size: 9px; background: white; border-radius: 99px; padding: 2px 6px; }
.library-summary { height: 37px; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }.library-summary button { border: 0; background: none; color: var(--navy); font-size: 10px; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }.document-card { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 17px; min-height: 150px; display: flex; flex-direction: column; cursor: pointer; }.document-card:hover { border-color: #aab9c8; box-shadow: var(--shadow); }.file-icon { width: 38px; height: 44px; border-radius: 5px; display: grid; place-items: center; background: var(--pale-blue); color: var(--navy); font-size: 9px; font-weight: 700; position: relative; }.file-icon::after { content: ""; position: absolute; right: 0; top: 0; border-left: 9px solid transparent; border-top: 9px solid white; }
.document-card h3 { margin: 15px 0 5px; font-size: 12px; }.document-card p { margin: 0; color: var(--muted); font-size: 10px; }.document-meta { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; color: #929aa3; font-size: 9px; }
.printable-banner { background: var(--pale-blue); border: 1px solid #d8e4ef; border-radius: 11px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }.printable-banner > div { display: grid; grid-template-columns: 30px auto; }.printable-banner span { grid-row: 1 / 3; color: var(--gold); font-size: 19px; }.printable-banner strong { font-size: 12px; }.printable-banner p { margin: 3px 0 0; font-size: 10px; color: var(--muted); }
.printable-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }.printable-card { background: white; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }.printable-preview { height: 155px; background: #eaedf0; display: grid; place-items: center; padding: 20px; }.mini-paper { width: 94px; height: 120px; background: white; box-shadow: 0 4px 12px rgba(0,0,0,.1); padding: 9px; color: var(--navy); }.mini-paper b { font: 600 9px Fraunces, serif; border-bottom: 2px solid var(--gold); display: block; padding-bottom: 4px; }.mini-paper i { display: block; height: 1px; background: #dadddf; margin-top: 12px; }.printable-info { padding: 17px; }.printable-info .category { color: var(--maroon); font-size: 8px; font-weight: 700; letter-spacing: .12em; }.printable-info h3 { margin: 7px 0 5px; font: 600 16px Fraunces, serif; }.printable-info p { color: var(--muted); font-size: 10px; line-height: 1.5; min-height: 30px; }.printable-info button { width: 100%; margin-top: 8px; }
dialog { border: 0; padding: 0; width: min(1080px, 94vw); max-height: 92vh; border-radius: 13px; box-shadow: 0 30px 90px rgba(0,0,0,.3); }dialog::backdrop { background: rgba(13,29,48,.72); }.dialog-shell { display: flex; flex-direction: column; max-height: 92vh; }.dialog-header, .dialog-footer { padding: 17px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.dialog-header h2 { margin: 3px 0 0; font: 600 20px Fraunces, serif; }.dialog-header button { border: 0; background: none; font-size: 28px; color: var(--muted); cursor: pointer; }.dialog-body { display: grid; grid-template-columns: 260px 1fr; min-height: 560px; overflow: auto; }.print-fields { padding: 22px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 14px; }.print-fields label { font-size: 10px; font-weight: 700; }.print-fields input, .print-fields textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 9px; margin-top: 5px; outline: none; resize: vertical; }.print-fields input:focus, .print-fields textarea:focus { border-color: var(--navy-2); }.paper-stage { background: #e5e7e9; padding: 28px; overflow: auto; }.print-page { background: white; width: min(100%, 612px); aspect-ratio: 8.5 / 11; margin: auto; box-shadow: 0 5px 20px rgba(0,0,0,.14); padding: 48px; color: #111; }.print-brand { color: var(--navy); border-bottom: 4px solid var(--gold); padding-bottom: 12px; margin-bottom: 25px; }.print-brand small { display: block; letter-spacing: .14em; font-size: 8px; }.print-brand h1 { font: 600 28px Fraunces, serif; margin: 5px 0 0; }.print-content h2 { font-size: 17px; margin-top: 25px; }.print-line { border-bottom: 1px solid #777; min-height: 28px; padding: 6px 2px; font-size: 12px; }.print-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.print-box { min-height: 90px; border: 1px solid #888; padding: 10px; font-size: 11px; white-space: pre-wrap; }.dialog-footer { border: 0; border-top: 1px solid var(--line); }.dialog-footer > span { color: var(--muted); font-size: 10px; }.dialog-footer div { display: flex; gap: 8px; }
.sop-dialog { width: min(900px, 94vw); }.sop-body { padding: 0 32px 32px; overflow: auto; }.sop-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; margin: 4px 0 28px; }.sop-meta > div { background: var(--pale-blue); padding: 15px; }.sop-meta small, .sop-meta strong { display: block; }.sop-meta small { color: var(--muted); font-size: 8px; letter-spacing: .12em; }.sop-meta strong { font-size: 11px; margin-top: 5px; }.sop-meta i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 4px; }.sop-body section { margin-top: 25px; }.sop-body section > p:not(.eyebrow) { font-size: 12px; line-height: 1.65; color: #495667; }.sop-steps { list-style: none; padding: 0; margin: 12px 0 0; }.sop-steps li { display: grid; grid-template-columns: 31px 1fr; gap: 13px; align-items: start; border-bottom: 1px solid var(--line); padding: 12px 0; }.sop-steps li > span { width: 27px; height: 27px; border-radius: 50%; background: var(--navy); color: white; display: grid; place-items: center; font-size: 10px; font-weight: 700; }.sop-steps p { margin: 4px 0 0; font-size: 12px; line-height: 1.5; }.completion-standard { background: var(--cream); border-left: 4px solid var(--gold); padding: 17px 19px; border-radius: 5px; }
.people-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 25px; }.people-tab { border: 1px solid var(--line); background: white; border-radius: 11px; padding: 16px; display: grid; grid-template-columns: 32px 1fr; text-align: left; cursor: pointer; }.people-tab > span { grid-row: 1 / 3; width: 25px; height: 25px; border-radius: 50%; background: var(--pale-blue); color: var(--navy); display: grid; place-items: center; font-size: 10px; font-weight: 700; }.people-tab strong { font-size: 12px; }.people-tab small { color: var(--muted); font-size: 9px; margin-top: 3px; }.people-tab.active { background: var(--navy); color: white; border-color: var(--navy); }.people-tab.active > span { background: var(--gold); color: white; }.people-tab.active small { color: #bfd0e0; }
.people-hero { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }.people-hero h2 { margin: 5px 0; font: 600 23px Fraunces, serif; }.people-hero p:last-child { margin: 0; color: var(--muted); font-size: 11px; }.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }.people-panel { background: white; border: 1px solid var(--line); border-radius: 11px; padding: 21px; }.people-panel.full { grid-column: 1 / -1; }.people-panel h3 { margin: 5px 0 15px; font: 600 18px Fraunces, serif; }.workflow-list { display: grid; gap: 8px; }.workflow-item { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }.workflow-item:first-child { border-top: 0; }.workflow-item > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--pale-blue); color: var(--navy); font-size: 9px; font-weight: 700; }.workflow-item strong, .workflow-item small { display: block; }.workflow-item strong { font-size: 11px; }.workflow-item small { color: var(--muted); font-size: 9px; margin-top: 3px; }.status-pill { font-size: 8px; font-weight: 700; border-radius: 99px; padding: 5px 7px; background: var(--cream); color: var(--maroon); }
.role-card { border: 1px solid var(--line); border-radius: 9px; padding: 15px; display: flex; gap: 12px; align-items: center; margin-top: 9px; }.role-card .role-icon { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; background: var(--maroon); color: white; }.role-card strong, .role-card small { display: block; }.role-card strong { font-size: 12px; }.role-card small { color: var(--muted); font-size: 9px; margin-top: 4px; }.role-card button { margin-left: auto; }
.onboarding-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }.onboarding-phase { border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 9px; padding: 16px; }.onboarding-phase > span { color: var(--maroon); font-size: 9px; font-weight: 700; }.onboarding-phase h3 { margin: 6px 0 11px; font-size: 13px; }.onboarding-phase ul { margin: 0; padding-left: 15px; color: var(--muted); font-size: 9px; line-height: 1.7; }
.training-summary { display: grid; grid-template-columns: 1.4fr repeat(3, .6fr); gap: 10px; margin-bottom: 20px; }.training-summary > div { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }.training-summary .track-progress { background: var(--navy); color: white; }.training-summary strong, .training-summary small { display: block; }.training-summary strong { font: 600 20px Fraunces, serif; }.training-summary small { font-size: 9px; color: var(--muted); margin-top: 4px; }.training-summary .track-progress small { color: #c1d1df; }.course-section { margin-top: 26px; }.course-section-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 12px; }.course-section-header h2 { margin: 5px 0 0; font: 600 21px Fraunces, serif; }.course-section-header span { color: var(--muted); font-size: 9px; }.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.course-card { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 17px; cursor: pointer; min-height: 158px; display: flex; flex-direction: column; }.course-card:hover { box-shadow: var(--shadow); }.course-card.complete { border-top: 4px solid var(--green); }.course-top { display: flex; justify-content: space-between; }.course-number { color: var(--maroon); font-size: 9px; font-weight: 700; }.course-duration { color: var(--muted); font-size: 8px; }.course-card h3 { font: 600 16px Fraunces, serif; color: var(--navy); margin: 12px 0 7px; }.course-card p { color: var(--muted); font-size: 9px; line-height: 1.5; margin: 0; }.course-footer { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 8px; color: var(--muted); }.course-footer b { color: var(--green); }.verification-callout { background: #fff6e5; border: 1px solid #eed8aa; padding: 14px 16px; border-radius: 8px; color: #705a2d; font-size: 10px; line-height: 1.55; margin: 17px 0; }

.calendar-actions { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }.calendar-actions > span { color: var(--muted); font-size: 10px; }.calendar-actions i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; }.calendar-actions > div { display: flex; gap: 8px; }.calendar-actions a { text-decoration: none; display: inline-block; }.calendar-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .6fr); gap: 18px; align-items: start; }.calendar-frame { background: #dfe3e6; border: 1px solid var(--line); border-radius: 12px; padding: 12px; height: 680px; }.calendar-frame iframe { width: 100%; height: 100%; border: 0; background: white; border-radius: 6px; }.calendar-event-list { margin: 16px 0; }.calendar-event-item { display: grid; grid-template-columns: 43px 1fr; gap: 11px; padding: 12px 0; border-top: 1px solid var(--line); }.calendar-event-item time { color: var(--maroon); font-size: 9px; font-weight: 700; }.calendar-event-item strong, .calendar-event-item small { display: block; }.calendar-event-item strong { font-size: 11px; }.calendar-event-item small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.calendar-shell { background: white; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; box-shadow: var(--shadow); }.interactive-calendar-toolbar { min-height: 78px; padding: 17px 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }.interactive-calendar-toolbar h2 { font: 600 23px Fraunces, serif; margin: 0; color: var(--navy); }.calendar-nav, .calendar-view-buttons { display: flex; gap: 6px; }.calendar-view-buttons { justify-content: flex-end; }.calendar-view { border: 1px solid var(--line); background: white; color: var(--muted); padding: 8px 12px; font-size: 10px; font-weight: 700; cursor: pointer; }.calendar-view:first-child { border-radius: 7px 0 0 7px; }.calendar-view:last-child { border-radius: 0 7px 7px 0; margin-left: -7px; }.calendar-view.active { background: var(--navy); border-color: var(--navy); color: white; z-index: 1; }.calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--pale-blue); border-bottom: 1px solid var(--line); }.calendar-weekdays span { padding: 10px 12px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: minmax(118px, 1fr); }.calendar-day { min-width: 0; padding: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }.calendar-day:nth-child(7n) { border-right: 0; }.calendar-day.outside { background: #f8f9fa; color: #a8afb6; }.calendar-day.today { box-shadow: inset 0 0 0 2px var(--gold); }.calendar-day-number { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; font-size: 10px; font-weight: 700; }.calendar-day.today .calendar-day-number { background: var(--gold); color: white; }.calendar-event-pill { display: block; width: 100%; margin-top: 6px; padding: 6px 7px; border: 0; border-left: 3px solid var(--maroon); border-radius: 4px; background: #f7eaf0; color: var(--maroon); text-align: left; font-size: 8px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }.calendar-event-pill:hover { background: #eed5e0; }.calendar-agenda { margin-top: 26px; }.agenda-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }.agenda-item { background: white; border: 1px solid var(--line); border-radius: 9px; padding: 14px 17px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; }.agenda-date { text-align: center; color: var(--maroon); }.agenda-date strong, .agenda-date small { display: block; }.agenda-date strong { font: 600 20px Fraunces, serif; }.agenda-date small { font-size: 8px; font-weight: 700; }.agenda-item h3 { margin: 0 0 4px; font-size: 12px; }.agenda-item p { margin: 0; color: var(--muted); font-size: 9px; }.agenda-item button { border: 0; background: none; color: var(--navy); font-size: 10px; cursor: pointer; }
.inventory-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }.inventory-area { background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }.inventory-area-top { padding: 21px; border-top: 5px solid var(--navy); }.inventory-area:nth-child(2) .inventory-area-top { border-color: var(--maroon); }.inventory-area:nth-child(3) .inventory-area-top { border-color: var(--green); }.inventory-area-icon { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--pale-blue); color: var(--navy); font-size: 18px; }.inventory-area h3 { margin: 14px 0 5px; font: 600 19px Fraunces, serif; }.inventory-area p { margin: 0; min-height: 31px; color: var(--muted); font-size: 10px; line-height: 1.5; }.inventory-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.inventory-stats > div { padding: 12px 20px; }.inventory-stats > div + div { border-left: 1px solid var(--line); }.inventory-stats strong, .inventory-stats small { display: block; }.inventory-stats strong { font-size: 15px; }.inventory-stats small { color: var(--muted); font-size: 8px; margin-top: 3px; }.inventory-area footer { padding: 14px 20px; }.inventory-area footer button { width: 100%; }
.inventory-history { padding: 0; overflow: hidden; box-shadow: none; }.history-row { display: grid; grid-template-columns: 150px 1fr 90px 30px; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }.history-row:last-child { border-bottom: 0; }.history-row strong, .history-row small { display: block; }.history-row strong { font-size: 11px; }.history-row small { color: var(--muted); font-size: 9px; margin-top: 3px; }.history-items { color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.history-total { text-align: right; font-size: 10px; font-weight: 700; }.history-delete { border: 0; background: none; color: #a0a6ad; cursor: pointer; }.inventory-empty { padding: 38px; text-align: center; color: var(--muted); font-size: 11px; }
.inventory-dialog { border: 0; padding: 0; width: min(680px, 94vw); max-height: 92vh; border-radius: 13px; }.inventory-form { padding: 20px 24px; overflow: auto; }.count-header, .count-row { display: grid; grid-template-columns: 1fr 150px; gap: 14px; align-items: center; }.count-header { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 0 0 8px; }.count-row { border-top: 1px solid var(--line); padding: 10px 0; }.count-row input { border: 1px solid var(--line); border-radius: 7px; padding: 9px; width: 100%; outline: none; }.count-row input[type="number"] { text-align: center; font-weight: 700; }.count-row input:focus { border-color: var(--navy); }.inventory-form > button { margin-top: 12px; }.inventory-notes { display: block; font-size: 10px; font-weight: 700; margin-top: 18px; }.inventory-notes textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 7px; padding: 9px; resize: vertical; }
.timesheet-dialog { border: 0; padding: 0; width: min(1080px, 95vw); max-height: 92vh; border-radius: 13px; }.timesheet-body { display: grid; grid-template-columns: 245px 1fr; min-height: 520px; overflow: auto; }.clock-panel { background: var(--navy); color: white; padding: 33px 24px; text-align: center; }.clock-panel p { margin: 0; color: #b9cad9; font-size: 11px; }.clock-panel > strong { display: block; font: 600 34px Fraunces, serif; margin: 11px 0 6px; }.clock-panel > span { display: block; color: #c7d6e3; font-size: 9px; min-height: 30px; }.clock-action { width: 100%; border: 0; border-radius: 9px; background: var(--gold); color: white; padding: 13px; font-weight: 700; margin-top: 20px; cursor: pointer; }.clock-action.clocked { background: var(--maroon); }.break-action { width: 100%; border: 1px solid rgba(255,255,255,.35); border-radius: 9px; background: transparent; color: white; padding: 10px; margin-top: 9px; cursor: pointer; }.timesheet-workspace { padding: 25px; min-width: 0; }.timesheet-toolbar { display: flex; justify-content: space-between; align-items: end; margin-bottom: 17px; }.timesheet-toolbar h3 { margin: 4px 0 0; font: 600 19px Fraunces, serif; }.timesheet-toolbar > div:last-child { display: flex; gap: 5px; }.timesheet-table-wrap { overflow-x: auto; }.timesheet-table { min-width: 650px; }.timesheet-table th { background: var(--pale-blue); color: var(--navy); }.timesheet-table td { padding: 9px 7px; }.timesheet-table input { width: 100%; min-width: 95px; border: 1px solid var(--line); border-radius: 6px; padding: 7px; font-size: 10px; }.timesheet-table .entry-hours { font-weight: 700; color: var(--navy); }.delete-entry { border: 0; background: none; color: #a0a6ad; cursor: pointer; }.timesheet-workspace > button { margin-top: 13px; }.timesheet-total { margin-top: 20px; padding: 15px; background: var(--cream); display: flex; gap: 50px; border-radius: 8px; }.timesheet-total small, .timesheet-total strong { display: block; }.timesheet-total small { color: var(--muted); font-size: 8px; letter-spacing: .1em; }.timesheet-total strong { margin-top: 5px; font-size: 13px; }
.attendance-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }.attendance-heading h1 { font: 600 36px/1.12 Fraunces, serif; color: var(--navy); margin: 7px 0 8px; }.attendance-heading p:last-child { color: var(--muted); margin: 0; }.facts-drop-zone { min-height: 112px; border: 2px dashed #b7c8d8; background: var(--pale-blue); border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; gap: 15px; cursor: pointer; transition: .2s; }.facts-drop-zone.dragging { border-color: var(--gold); background: #fff8e8; }.facts-drop-zone .drop-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--navy); color: white; display: grid; place-items: center; font-size: 22px; }.facts-drop-zone strong, .facts-drop-zone small { display: block; }.facts-drop-zone strong { font-size: 14px; color: var(--navy); }.facts-drop-zone small { color: var(--muted); font-size: 10px; margin-top: 5px; }.facts-drop-zone button { margin-left: auto; }.attendance-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 17px 0; }.attendance-filters { display: flex; gap: 7px; flex-wrap: wrap; }.attendance-filters select, .attendance-filters label { border: 1px solid var(--line); background: white; border-radius: 7px; padding: 8px 10px; color: var(--muted); font-size: 10px; }.attendance-filters input { border: 0; outline: 0; width: 130px; }.attendance-toolbar > span { color: var(--muted); font-size: 9px; }.attendance-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 11px; }.attendance-kpi { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 17px; }.attendance-kpi small, .attendance-kpi strong, .attendance-kpi span { display: block; }.attendance-kpi small { color: var(--muted); font-size: 8px; letter-spacing: .08em; }.attendance-kpi strong { font: 600 25px Fraunces, serif; color: var(--navy); margin-top: 7px; }.attendance-kpi span { color: var(--muted); font-size: 8px; margin-top: 4px; }.attendance-dashboard-grid { display: grid; grid-template-columns: 1.7fr .7fr; gap: 15px; margin-top: 15px; }.attendance-trend-panel, .risk-panel { min-height: 300px; }.trend-chart { height: 210px; display: flex; align-items: end; gap: 7px; padding: 15px 5px 0; border-bottom: 1px solid var(--line); }.trend-column { flex: 1; min-width: 15px; height: 100%; display: flex; align-items: end; justify-content: center; position: relative; }.trend-bar { width: min(28px, 80%); min-height: 2px; border-radius: 4px 4px 0 0; background: linear-gradient(var(--maroon), #a4576d); cursor: pointer; }.trend-bar:hover { background: var(--gold); }.trend-column small { position: absolute; bottom: -23px; font-size: 7px; color: var(--muted); transform: rotate(-35deg); white-space: nowrap; }.risk-distribution { height: 25px; display: flex; overflow: hidden; border-radius: 99px; margin: 36px 0 20px; background: #e7eaed; }.risk-segment.red { background: #c94555; }.risk-segment.orange { background: #ed8638; }.risk-segment.yellow { background: #e9be39; }.risk-segment.green { background: #4a967b; }.risk-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; color: var(--muted); font-size: 9px; }.risk-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }.risk-legend .red { background:#c94555 }.risk-legend .orange { background:#ed8638 }.risk-legend .yellow { background:#e9be39 }.risk-legend .green { background:#4a967b }.student-monitor-panel { margin-top: 15px; padding: 0; overflow: hidden; }.student-monitor-panel .section-heading { padding: 20px 22px 10px; }.attendance-student-table { min-width: 900px; }.attendance-student-table th { background: var(--navy); }.attendance-student-table tbody tr { cursor: pointer; }.attendance-student-table tbody tr:hover td { background: var(--pale-blue); }.risk-badge { display: inline-block; border-radius: 99px; padding: 5px 8px; color: white; font-size: 8px; font-weight: 700; }.risk-badge.RED { background:#c94555 }.risk-badge.ORANGE { background:#ed8638 }.risk-badge.YELLOW { background:#d3a620 }.risk-badge.GREEN { background:#4a967b }.facts-upload-body { padding: 22px; min-height: 280px; overflow: auto; }.upload-state { background: var(--pale-blue); border-radius: 9px; padding: 17px; }.upload-state strong, .upload-state small { display: block; }.upload-state small { color: var(--muted); margin-top: 5px; }.validation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }.validation-item { border: 1px solid var(--line); border-radius: 7px; padding: 10px; font-size: 9px; }.validation-item.good { color: var(--green); }.validation-item.bad { color: #a13749; }

@media (max-width: 1080px) {
  .sidebar { width: 210px; } main { margin-left: 210px; }
  .dashboard-grid, .content-grid { grid-template-columns: 1fr; }
  .right-column { grid-template-columns: repeat(2, 1fr); }.source-note { grid-column: 1 / -1; }
  .rhythm-board { grid-template-columns: repeat(2, 1fr); }.event-cards { grid-template-columns: repeat(3, 1fr); }.procedure-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s; width: 248px; }.sidebar.open { transform: translateX(0); }
  main { margin-left: 0; }.topbar { padding: 0 18px; }.menu-button { display: block; }.topbar-title { display: none; }.global-search { width: auto; flex: 1; }kbd { display: none; }
  .page-section { padding: 25px 17px 50px; }.hero { padding: 27px 24px; display: block; }.hero h1, .page-intro h1 { font-size: 28px; }.day-progress { margin-top: 25px; width: 100%; }
  .dashboard-grid { gap: 24px; }.week-strip { grid-template-columns: 1fr; }.week-day { min-height: auto; }
  .right-column, .stat-grid { grid-template-columns: 1fr; }.source-note { grid-column: auto; }
  .task { grid-template-columns: 25px 52px 1fr; }.task-tag { display: none; }
  .rhythm-board, .event-cards, .procedure-grid { grid-template-columns: 1fr; }
  .library-layout { grid-template-columns: 1fr; }.collection-list { display: flex; overflow-x: auto; }.document-grid, .printable-grid { grid-template-columns: 1fr; }.library-toolbar { flex-direction: column; }.library-toolbar .playbook-search, .library-toolbar .primary-button { width: 100%; }
  .dialog-body { grid-template-columns: 1fr; }.print-fields { border-right: 0; border-bottom: 1px solid var(--line); }.paper-stage { padding: 12px; }.print-page { padding: 27px; }.printable-banner { align-items: start; gap: 15px; }
  .sop-meta { grid-template-columns: 1fr; }.sop-body { padding: 0 20px 24px; }
  .people-tabs, .people-grid, .training-summary, .course-grid, .onboarding-timeline { grid-template-columns: 1fr; }.people-panel.full { grid-column: auto; }.people-hero { align-items: flex-start; gap: 15px; }
  .calendar-layout { grid-template-columns: 1fr; }.calendar-frame { height: 500px; }.calendar-actions { align-items: flex-start; gap: 12px; }.calendar-actions > div { flex-direction: column; }.interactive-calendar-toolbar { grid-template-columns: 1fr auto; gap: 12px; }.interactive-calendar-toolbar h2 { grid-row: 1; grid-column: 1 / -1; text-align: center; }.calendar-nav { grid-row: 2; }.calendar-view-buttons { grid-row: 2; }.calendar-weekdays span { font-size: 0; padding: 8px 4px; text-align: center; }.calendar-weekdays span::first-letter { font-size: 8px; }.calendar-grid { grid-auto-rows: minmax(76px, 1fr); }.calendar-day { padding: 5px; }.calendar-event-pill { padding: 4px; font-size: 0; height: 9px; border-left-width: 2px; }.agenda-list { grid-template-columns: 1fr; }
  .inventory-overview { grid-template-columns: 1fr; }.history-row { grid-template-columns: 1fr auto 24px; }.history-items { grid-column: 1 / -1; grid-row: 2; }.count-header, .count-row { grid-template-columns: 1fr 105px; }
  .time-clock-button { min-width: 43px; width: 43px; }.time-clock-button > span:last-child { display: none; }.timesheet-body { grid-template-columns: 1fr; }.clock-panel { padding: 22px; }.timesheet-toolbar { align-items: flex-start; gap: 12px; }.timesheet-total { gap: 20px; }
  .attendance-heading { align-items: flex-start; flex-direction: column; }.facts-drop-zone { align-items: flex-start; flex-wrap: wrap; }.facts-drop-zone button { margin-left: auto; }.attendance-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }.attendance-kpis { grid-template-columns: 1fr 1fr; }.attendance-dashboard-grid { grid-template-columns: 1fr; }.validation-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }.form-grid .full { grid-column: auto; }.application-header { padding: 0 16px; }
}

.attendance-student-table td strong,
.attendance-student-table td small { display: block; }
.attendance-student-table td small { color: var(--muted); margin-top: 3px; }
.facts-upload-action { margin-left: auto; text-align: center; }
.facts-upload-action button { margin-left: 0; }
.facts-upload-action small { margin-top: 7px; }
.risk-key { display: grid; gap: 9px; }
.risk-key > div { display: flex; gap: 8px; align-items: flex-start; }
.risk-key i { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; margin-top: 3px; }
.risk-key span, .risk-key strong, .risk-key small { display: block; }
.risk-key strong { color: var(--navy); font-size: 9px; }
.risk-key small { color: var(--muted); font-size: 8px; margin-top: 2px; line-height: 1.35; }
.risk-key .red { background:#c94555 }.risk-key .orange { background:#ed8638 }.risk-key .yellow { background:#e9be39 }.risk-key .green { background:#4a967b }.risk-key .trend { background:#397da8 }
.trend-badge { display: inline-block; padding: 5px 8px; border-radius: 99px; background: #e3f1f8; color: #22688e; font-size: 8px; font-weight: 700; white-space: nowrap; }
.trend-badge.negative { background: #e3f1f8; color: #22688e; }
.trend-badge.positive { background: #e1f3e9; color: #277657; }
.risk-policy-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; line-height: 1.5; }

@media print {
  body * { visibility: hidden !important; }
  #printPage, #printPage * { visibility: visible !important; }
  #printPage { position: fixed; inset: 0; width: 8.5in; height: 11in; padding: .65in; box-shadow: none; }
  @page { size: letter; margin: 0; }
  body:has(#sopDialog[open]) #printPage { display: none; }
  body:has(#sopDialog[open]) #sopDialog, body:has(#sopDialog[open]) #sopDialog * { visibility: visible !important; }
  body:has(#sopDialog[open]) #sopDialog { position: absolute; inset: 0; width: 100%; max-height: none; box-shadow: none; }
  body:has(#sopDialog[open]) .dialog-header button, body:has(#sopDialog[open]) .dialog-footer { display: none; }
  .application-page * { visibility: visible !important; }.application-page .application-header, .application-page .application-actions, .application-page #applicationMessage { display: none !important; }.application-page .application-main { margin: 0; width: 100%; }.application-page .live-application { gap: 8px; }.application-page .live-application section { break-inside: avoid; padding: 14px; }.application-page .live-application input, .application-page .live-application textarea, .application-page .live-application select { border: 0 !important; border-bottom: 1px solid #777 !important; border-radius: 0 !important; }
}
