.boot-screen { display: none; min-height: 100vh; place-items: center; padding: 24px; background: var(--paper); }
html.auth-pending #lockScreen { display: none; }
html.auth-pending .boot-screen { display: grid; }
.boot-panel { display: grid; justify-items: center; gap: 8px; color: var(--muted); text-align: center; }
.boot-panel .brand-mark { animation: boot-breathe 1.4s ease-in-out infinite; }
.boot-message { margin: 0; font-size: 14px; font-weight: 800; }
@keyframes boot-breathe {
  0%, 100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.04); opacity: 1; }
}
.lock-screen { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(circle at 20% 10%, #fffaf0 0, transparent 32%), linear-gradient(135deg, var(--paper), #e7dfcd); }
.lock-card { width: min(420px, 100%); padding: 42px; border: 1px solid rgba(200, 189, 169, .8); border-radius: 28px; background: rgba(255, 253, 247, .94); box-shadow: var(--shadow); }
.lock-card h1 { margin-bottom: 8px; font-size: 27px; }
.lock-footnote { margin: 22px 0 0; color: var(--muted); font-size: 11px; }
.app-shell { min-height: 100vh; }
.app-header { position: sticky; z-index: 30; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; padding: 10px 24px; border-bottom: 1px solid var(--line); background: rgba(245, 240, 229, .92); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand h1 { margin: 0; font-size: 19px; }
.brand .eyebrow { margin: 0; font-size: 8px; }
.header-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-left: auto; min-width: 0; flex: 1 1 auto; }
.header-admin-actions,
.header-common-actions { display: flex; align-items: center; min-width: 0; gap: 10px; }
.header-admin-actions { justify-content: flex-start; }
.header-common-actions { justify-content: flex-end; justify-self: end; }
.workspace { display: grid; grid-template-columns: minmax(700px, 1fr) clamp(340px, 23vw, 500px); gap: 18px; max-width: min(1900px, calc(100vw - 28px)); margin: 0 auto; padding: 18px; }
.calendar-pane, .notes-drawer { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--sheet); box-shadow: var(--shadow-soft); }
.calendar-pane { min-width: 0; overflow: hidden; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.month-navigation { display: flex; align-items: center; gap: 13px; }
.month-navigation h2 { min-width: 150px; margin: 0; text-align: center; font-size: 20px; }
.desktop-board { padding-bottom: 12px; }
.weekday-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line-strong); background: #f8f4ea; }
.weekday-row span { padding: 9px; border-right: 1px solid var(--line); text-align: center; font-size: 11px; font-weight: 800; }
.weekday-row span:last-child { border-right: 0; }
.month-board { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.notes-drawer { position: sticky; top: 92px; align-self: start; height: calc(100vh - 110px); padding: 17px; overflow: hidden; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; }
.drawer-header h2 { margin: 0; font-size: 18px; }
.note-cards { height: calc(100% - 132px); padding: 4px 2px 20px; overflow: auto; }
.mobile-agenda, .mobile-nav, .mobile-fab { display: none; }
