/* Local variable fonts used by the launch demo. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy-950: #071a2c;
  --navy-900: #0a2138;
  --navy-800: #102b46;
  --navy-700: #1d4969;
  --teal-700: #05635d;
  --teal-600: #087b73;
  --teal-500: #0a9b91;
  --teal-100: #d7f5ea;
  --teal-50: #eefaf6;
  --coral-600: #b83f36;
  --coral-500: #ec6d61;
  --coral-100: #fde6e3;
  --amber-700: #8d4a02;
  --amber-100: #fff0cf;
  --blue-100: #e5f1fb;
  --ink-900: #17263a;
  --ink-700: #3d4d61;
  --ink-600: #536477;
  --ink-500: #5d6f82;
  --line: #d7e0e3;
  --line-dark: #bcc9cf;
  --paper: #ffffff;
  --canvas: #f5f7f6;
  --warm: #f7f8f5;
  --shadow-sm: 0 5px 16px rgba(7, 26, 44, .07);
  --shadow-md: 0 18px 46px rgba(7, 26, 44, .12);
  --radius-sm: 10px;
  --radius: 15px;
  --radius-lg: 24px;
  --sidebar: 270px;
  --topbar: 76px;
  color-scheme: light;
  font-synthesis: none;
  --font-sans: "Geist", Arial, Helvetica, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
img { height: auto; }
svg { display: block; flex: 0 0 auto; }
.prn-icon { display: block; flex: 0 0 auto; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #05635d; outline-offset: 2px; box-shadow: 0 0 0 5px white; }
::selection { background: var(--teal-100); color: var(--navy-950); }
code, kbd, pre, samp, .code-input { font-family: var(--font-mono); }
:where(h1, h2, h3, p, li, dt, dd, strong, small) { overflow-wrap: anywhere; }
:where(.hero-grid, .step-grid, .two-column, .feature-layout, .feature-grid, .access-story, .pricing-grid, .pricing-details, .contact-grid, .form-grid, .app-content, .metric-grid, .dashboard-grid, .calendar-layout, .staff-grid, .clearance-grid, .hours-layout, .preference-grid, .shift-card-grid, .settings-grid, .usage-grid, .footer-grid) > * { min-width: 0; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  border-radius: 9px;
  background: var(--navy-950);
  color: white;
  padding: 10px 14px;
  font-weight: 750;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
.noscript-warning { position: relative; z-index: 10000; border: 2px solid var(--coral-600); background: var(--coral-100); color: #7c251f; padding: 12px 16px; font-weight: 750; text-align: center; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--canvas); }
.section-warm { background: var(--warm); }
.section-dark { background: var(--navy-900); color: white; }
.section-heading { max-width: 760px; margin: 0 0 48px; text-align: left; }
.section-heading.align-left { margin-left: 0; text-align: left; }
.section-heading h2, .public-copy h2 { margin: 8px 0 14px; color: var(--navy-900); font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.07; letter-spacing: -.04em; }
.section-dark .section-heading h2, .section-dark .public-copy h2 { color: white; }
.section-heading > p:last-child, .public-copy > p { color: var(--ink-600); font-size: 1.08rem; }
.section-dark .section-heading > p:last-child, .section-dark .public-copy > p { color: #bfd0db; }
.kicker { margin: 0; color: var(--teal-700); font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.section-dark .kicker { color: #79ded2; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #bfe7df; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--teal-700); padding: 8px 12px; font-size: .76rem; font-weight: 800; letter-spacing: .02em; }
.eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); content: ""; box-shadow: 0 0 0 4px rgba(10,155,145,.12); }

/* Shared controls */
.button {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  height: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 9px 17px;
  font-size: .875rem;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  white-space: normal;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button-primary { background: var(--teal-600); color: white; box-shadow: 0 8px 18px rgba(11,143,133,.2); }
.button-primary:hover { background: var(--teal-700); box-shadow: 0 12px 24px rgba(11,143,133,.25); }
.button-secondary { border-color: var(--line-dark); background: white; color: var(--navy-900); }
.button-secondary:hover { border-color: #aabac4; box-shadow: var(--shadow-sm); }
.button-ghost { background: transparent; color: var(--navy-900); }
.button-ghost:hover { background: var(--canvas); }
.button-danger { background: var(--coral-600); color: white; }
.button-danger-soft { background: var(--coral-100); color: #a5362d; }
.button-mint { background: var(--teal-100); color: var(--teal-700); }
.button-lg { min-height: 52px; border-radius: 13px; padding: 11px 22px; font-size: .95rem; }
.button-sm { min-height: 36px; border-radius: 9px; padding: 7px 12px; font-size: .79rem; }
.button-full { width: 100%; }
.text-button { display: inline-flex; min-width: 0; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--teal-700); padding: 4px; font-size: .83rem; font-weight: 780; line-height: 1.3; overflow-wrap: anywhere; cursor: pointer; }
.icon-button { display: inline-grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--navy-900); cursor: pointer; }
.status-pill { display: inline-flex; width: max-content; max-width: 100%; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; padding: 5px 9px; background: #edf1f3; color: var(--ink-700); font-size: .7rem; font-weight: 820; line-height: 1.2; text-align: center; text-transform: capitalize; overflow-wrap: anywhere; white-space: normal; }
.status-pill.good { background: var(--teal-100); color: var(--teal-700); }
.status-pill.warn { background: var(--amber-100); color: var(--amber-700); }
.status-pill.danger { background: var(--coral-100); color: #a93b32; }
.status-pill.navy { background: #e1ecf3; color: var(--navy-700); }
.tag { display: inline-flex; min-width: 0; max-width: 100%; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 999px; background: white; padding: 5px 9px; color: var(--ink-600); font-size: .72rem; font-weight: 700; text-align: center; overflow-wrap: anywhere; }

/* Marketing navigation */
.site-header { position: relative; z-index: 100; border-bottom: 1px solid rgba(220,228,233,.85); background: rgba(255,255,255,.94); backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 76px; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; color: var(--navy-900); font-size: 1.05rem; font-weight: 560; letter-spacing: -.025em; text-decoration: none; }
.brand { min-height: 44px; max-width: 100%; }
.brand-logo { display: block; width: 232px; max-width: 100%; height: auto; aspect-ratio: 1628 / 288; object-fit: contain; }
.brand:focus-visible, .auth-brand:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 5px; border-radius: 4px; }
.auth-brand { display: inline-flex; min-height: 44px; max-width: 100%; align-items: center; }
.auth-brand .brand-logo { width: 246px; }
.brand strong { font-weight: 850; }
.brand-mark { display: inline-grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; background: var(--teal-600); color: white; box-shadow: 0 8px 18px rgba(11,143,133,.21); }
.brand-inverse { color: white; }
.desktop-nav { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.desktop-nav a { border-radius: 9px; padding: 9px 11px; color: var(--ink-600); font-size: .84rem; font-weight: 680; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: var(--canvas); color: var(--navy-900); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.menu-button { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--navy-900); }
.mobile-menu { position: absolute; top: 100%; right: 0; left: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; box-shadow: var(--shadow-md); }
.mobile-menu .container { display: grid; gap: 2px; padding: 12px 0 18px; }
.mobile-menu a:not(.button) { border-radius: 9px; padding: 10px 5px; color: var(--ink-700); font-weight: 680; text-decoration: none; }

/* Home */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #f3fbf8 0%, #fff 50%, #eff6fa 100%); padding: clamp(74px, 10vw, 132px) 0; }
.hero::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(11,143,133,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,143,133,.035) 1px, transparent 1px); background-size: 46px 46px; content: ""; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.hero::after { position: absolute; width: 440px; height: 440px; right: -170px; bottom: -260px; border-radius: 50%; background: var(--coral-100); content: ""; filter: blur(10px); opacity: .65; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr); align-items: center; gap: clamp(50px, 7vw, 92px); }
.hero-copy h1 { max-width: 650px; margin: 22px 0 20px; color: var(--navy-900); font-size: clamp(42px, 6vw, 72px); line-height: .98; letter-spacing: -.055em; }
.hero-copy > p { max-width: 630px; margin: 0; color: var(--ink-600); font-size: clamp(1.05rem, 1.8vw, 1.23rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 24px; color: var(--ink-600); font-size: .77rem; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: 5px; }
.trust-row svg { color: var(--teal-600); }
.product-window { position: relative; overflow: hidden; border: 1px solid #d5e2e4; border-radius: 24px; background: white; box-shadow: 0 30px 80px rgba(10,33,56,.16); transform: none; }
.product-window::before { display: none; }
.window-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 17px 19px; }
.window-title { display: flex; align-items: center; gap: 9px; color: var(--navy-900); font-size: .83rem; }
.window-title .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
.window-top > span { border-radius: 999px; background: var(--canvas); padding: 5px 8px; color: var(--ink-500); font-size: .66rem; font-weight: 760; }
.window-body { padding: 18px; }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.preview-stat { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 11px 12px; }
.preview-stat span { display: block; color: var(--ink-500); font-size: .64rem; font-weight: 770; text-transform: uppercase; }
.preview-stat strong { display: block; margin-top: 3px; color: var(--navy-900); font-size: 1.45rem; }
.preview-date { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; border-radius: 16px; background: #f4f8f7; margin: 18px 0 10px; padding: 14px; }
.date-tile { display: grid; min-width: 52px; place-items: center; border-radius: 0; background: transparent; color: var(--navy-900); padding: 0; }
.date-tile small { font-size: .58rem; letter-spacing: .12em; }
.date-tile strong { font-size: 1.35rem; line-height: 1.1; }
.preview-date h3 { margin: 0; color: var(--navy-900); font-size: .86rem; }
.preview-date p { margin: 2px 0 0; color: var(--ink-500); font-size: .68rem; }
.candidate-list { display: grid; gap: 7px; margin-top: 8px; }
.candidate { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 13px; padding: 10px 12px; }
.candidate:hover { background: var(--teal-50); }
.avatar { display: inline-grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); font-size: .68rem; font-weight: 850; }
.candidate strong, .candidate small { display: block; }
.candidate strong { color: var(--navy-900); font-size: .74rem; }
.candidate small { color: var(--ink-500); font-size: .63rem; }
.candidate em { color: #725000; font-size: .58rem; font-style: normal; font-weight: 800; }
.candidate > svg { color: var(--teal-500); }
.preview-action { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; background: var(--teal-600); color: white; margin-top: 14px; padding: 10px 13px; font-size: .72rem; font-weight: 800; text-align: center; }
.role-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.role-strip .container { display: flex; min-height: 76px; align-items: center; justify-content: flex-start; gap: 22px; color: var(--navy-900); }
.role-strip span { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 780; }
.role-strip i { width: 1px; height: 24px; background: var(--line); }
.role-strip p { margin: 0 0 0 auto; color: var(--ink-500); font-size: .82rem; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.step-card { position: relative; min-height: 250px; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 24px; box-shadow: var(--shadow-sm); }
.step-card > span { display: inline-grid; width: 45px; height: 45px; place-items: center; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); }
.step-card small { position: static; display: block; margin-top: 22px; color: var(--teal-700); font-size: .75rem; font-weight: 850; letter-spacing: .1em; }
.step-card h3 { margin: 9px 0; color: var(--navy-900); font-size: 1.05rem; line-height: 1.25; }
.step-card p { margin: 0; color: var(--ink-600); font-size: .86rem; }
.two-column { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 26px 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-700); font-size: .9rem; }
.section-dark .check-list li { color: #d2dfe6; }
.check-list svg { flex: 0 0 auto; color: var(--teal-500); margin-top: 2px; }
.phone-preview { width: min(100%, 390px); justify-self: center; border: 8px solid #152f48; border-radius: 36px; background: white; color: var(--ink-900); box-shadow: 0 30px 80px rgba(0,0,0,.24); overflow: hidden; }
.phone-bar { display: flex; align-items: center; justify-content: space-between; background: #f5f8f7; color: var(--navy-900); padding: 13px 18px; font-size: .65rem; }
.phone-content { padding: 22px; }
.phone-content > small { color: var(--teal-700); font-weight: 850; letter-spacing: .12em; }
.phone-content h3 { margin: 4px 0 0; color: var(--navy-900); font-size: 1.35rem; }
.phone-content > p { margin: 2px 0 18px; color: var(--ink-500); font-size: .78rem; }
.mini-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mini-calendar > span { min-width: 0; color: var(--ink-600); font-size: .69rem; font-weight: 700; text-align: center; }
.mini-calendar > span:nth-child(n + 8) { position: relative; display: grid; min-height: 0; aspect-ratio: 1; place-items: center; border: 0; border-radius: 9px; background: #f4f6f6; color: var(--ink-900); font-weight: 700; }
.mini-calendar > span:nth-child(n + 8) i { position: absolute; right: 3px; bottom: 2px; font-size: 7px; font-style: normal; font-weight: 850; line-height: 1; }
.mini-calendar > span:nth-child(n + 8).day { background: #dff5e9; }
.mini-calendar > span:nth-child(n + 8).night { background: #e4e7f8; }
.mini-calendar > span:nth-child(n + 8).either { background: #fff0cb; }
.mini-legend { display: flex; justify-content: space-between; margin: 15px 0; color: var(--ink-600); font-size: .68rem; }
.mini-legend span { display: flex; align-items: center; gap: 4px; }
.mini-save { border-radius: 10px; background: var(--teal-600); color: white; padding: 11px; text-align: center; font-size: .72rem; font-weight: 800; }
.feature-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 65px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 22px; }
.feature-card > span, .public-icon { display: inline-grid; width: 43px; height: 43px; place-items: center; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); }
.feature-card:nth-child(2) > span { background: var(--teal-50); color: var(--teal-700); }
.feature-card h3 { margin: 16px 0 7px; color: var(--navy-900); font-size: 1rem; }
.feature-card p { margin: 0; color: var(--ink-600); font-size: .83rem; }
.access-story { display: grid; grid-template-columns: 1fr 1.08fr; gap: 75px; align-items: start; }
.access-steps { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.access-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 13px; border: 1px solid var(--line); border-radius: 13px; padding: 17px; }
.access-steps > li > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--navy-900); color: white; font-size: .75rem; font-weight: 850; }
.access-steps strong { color: var(--navy-900); font-size: .9rem; }
.access-steps p { margin: 2px 0 0; color: var(--ink-600); font-size: .8rem; }
.launch-cta { background: linear-gradient(125deg, var(--navy-950), var(--navy-800)); color: white; padding: 65px 0; }
.launch-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.launch-cta h2 { max-width: 750px; margin: 5px 0 0; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
.cta-actions { display: flex; flex-shrink: 0; gap: 9px; }
.button-on-dark { border-color: rgba(255,255,255,.35); color: white; }

/* Public subpages */
.subpage-hero { border-bottom: 1px solid var(--line); background: linear-gradient(140deg, var(--teal-50), white 58%, #edf3f6); padding: 80px 0 72px; text-align: center; }
.subpage-hero h1 { max-width: 850px; margin: 11px auto 15px; color: var(--navy-900); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.05em; }
.subpage-hero > .container > p:not(.kicker) { max-width: 720px; margin: 0 auto; color: var(--ink-600); font-size: 1.08rem; }
.subpage-hero .hero-actions { justify-content: center; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; gap: 14px; }
.plan-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; padding: 25px; }
.plan-card.featured { border-color: var(--teal-500); box-shadow: 0 18px 45px rgba(11,143,133,.13); }
.plan-ribbon { position: absolute; top: 0; right: 22px; transform: translateY(-50%); border-radius: 999px; background: var(--coral-500); color: white; padding: 5px 9px; font-size: .67rem; font-weight: 850; }
.plan-card .kicker { margin-top: 14px; }
.plan-card h2 { margin: 8px 0 0; color: var(--navy-900); font-size: 1.65rem; letter-spacing: -.03em; }
.plan-card > strong { margin-top: 3px; color: var(--ink-700); font-size: .82rem; }
.plan-card > p:not(.kicker) { color: var(--ink-600); font-size: .81rem; }
.plan-card ul { display: grid; gap: 9px; padding: 0; margin: 16px 0 24px; list-style: none; }
.plan-card li { display: flex; align-items: flex-start; gap: 7px; color: var(--ink-700); font-size: .78rem; }
.plan-card li svg { flex: 0 0 auto; color: var(--teal-600); }
.plan-card .button { margin-top: auto; }
.pricing-note { max-width: 980px; margin: 25px auto 0; color: var(--ink-500); font-size: .76rem; text-align: center; }
.pricing-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.public-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; padding: 28px; }
.public-card h2 { margin: 15px 0 8px; color: var(--navy-900); font-size: 1.35rem; }
.public-card > p { color: var(--ink-600); }
.number-list { display: grid; gap: 12px; padding: 0; margin: 20px 0 0; list-style: none; }
.number-list li { display: grid; grid-template-columns: 31px 1fr; gap: 10px; align-items: start; }
.number-list span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--navy-900); color: white; font-size: .7rem; font-weight: 850; }
.number-list p { margin: 3px 0 0; color: var(--ink-700); font-size: .85rem; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; }
.contact-points { display: grid; gap: 14px; margin-top: 28px; }
.contact-point { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.contact-point > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); }
.contact-point strong { display: block; color: var(--navy-900); }
.contact-point p { margin: 2px 0 0; color: var(--ink-600); font-size: .84rem; }
.legal-shell { display: grid; grid-template-columns: 220px minmax(0, 760px); align-items: start; gap: 60px; }
.legal-nav { position: sticky; top: 100px; display: grid; gap: 5px; }
.legal-nav a { border-radius: 9px; padding: 8px 10px; color: var(--ink-600); font-size: .82rem; font-weight: 680; text-decoration: none; }
.legal-nav a:hover { background: var(--canvas); color: var(--navy-900); }
.legal-content h1 { margin: 0 0 8px; color: var(--navy-900); font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; }
.legal-content > p:first-of-type { color: var(--ink-500); }
.legal-content h2 { scroll-margin-top: 110px; margin: 42px 0 10px; color: var(--navy-900); font-size: 1.35rem; }
.legal-content h3 { margin: 25px 0 6px; color: var(--navy-900); font-size: 1rem; }
.legal-content p, .legal-content li { color: var(--ink-700); font-size: .9rem; }
.legal-content li + li { margin-top: 7px; }

/* Forms */
.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; padding: 29px; box-shadow: var(--shadow-sm); }
.form-card h1, .form-card h2 { margin-top: 0; color: var(--navy-900); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-stack { display: grid; gap: 17px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field > span, fieldset > legend { color: var(--navy-900); font-size: .78rem; font-weight: 790; }
.field small { color: var(--ink-500); font-size: .71rem; font-weight: 520; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="date"], input[type="month"], input[type="time"], select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: white;
  color: var(--ink-900);
  padding: 10px 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal-600); outline: 0; box-shadow: 0 0 0 3px rgba(11,143,133,.13); }
input:disabled, select:disabled, textarea:disabled { background: #eef1f2; color: var(--ink-500); cursor: not-allowed; }
.checkbox { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-700); font-size: .82rem; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--teal-600); margin-top: 1px; }
.radio-cards, .choice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.radio-card { position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span { display: grid; min-height: 82px; place-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink-700); padding: 10px; font-size: .77rem; font-weight: 760; text-align: center; }
.radio-card input:checked + span { border-color: var(--teal-600); background: var(--teal-50); color: var(--teal-700); box-shadow: inset 0 0 0 1px var(--teal-600); }
.radio-card input:focus-visible + span { outline: 3px solid var(--coral-500); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 5px; }
.form-note { display: flex; gap: 10px; border-radius: 11px; background: var(--teal-50); color: var(--teal-700); padding: 13px; font-size: .78rem; }
.form-note svg { flex: 0 0 auto; margin-top: 1px; }
.field-error, .form-error { color: #a5362d; font-size: .76rem; font-weight: 690; }

/* Join */
.join-page { display: grid; min-height: 100vh; grid-template-columns: 1fr 1fr; background: var(--canvas); }
.join-side { position: relative; display: grid; align-content: center; overflow: hidden; background: linear-gradient(145deg, var(--navy-950), var(--navy-700)); color: white; padding: 8vw; }
.join-side::after { position: absolute; width: 420px; height: 420px; right: -230px; bottom: -210px; border: 60px solid rgba(121,222,210,.12); border-radius: 50%; content: ""; }
.join-side .brand { position: absolute; top: 34px; left: 8vw; }
.join-side h1 { max-width: 540px; margin: 20px 0 12px; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.02; letter-spacing: -.05em; }
.join-side > p { max-width: 520px; color: #c9d8e1; }
.join-main { display: grid; align-content: center; padding: 7vw; }
.join-card { width: min(100%, 520px); margin: auto; }
.join-card .back-link { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 24px; color: var(--ink-600); font-size: .8rem; font-weight: 700; text-decoration: none; }
.join-card h2 { margin: 0 0 8px; color: var(--navy-900); font-size: 2rem; letter-spacing: -.04em; }
.join-card > p { margin: 0 0 25px; color: var(--ink-600); }
.code-input { font-size: 1.15rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Application shell */
.layout-app, .layout-blank { background: var(--canvas); }
.app-shell { width: 100%; min-width: 0; max-width: 100%; min-height: 100vh; min-height: 100dvh; }
.app-sidebar { position: fixed; z-index: 130; inset: 0 auto 0 0; display: flex; width: var(--sidebar); flex-direction: column; overflow-y: auto; background: var(--navy-950); color: white; }
.sidebar-backdrop { display: none; }
.app-sidebar-head { display: flex; min-height: var(--topbar); align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); padding: 0 20px; }
.app-sidebar .brand { min-width: 0; color: white; }
.app-sidebar .brand-logo { width: 208px; }
.sidebar-close { display: none; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 10px; background: transparent; color: white; cursor: pointer; }
.workspace-identity { display: grid; gap: 3px; margin: 17px 14px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(255,255,255,.06); padding: 12px; }
.workspace-identity small { display: block; color: #86a4b8; font-size: .63rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.workspace-identity strong { display: block; margin-top: 4px; font-size: .89rem; }
.workspace-identity span { display: block; margin-top: 2px; color: #a9bfcc; font-size: .7rem; }
.workspace-switcher { border-bottom: 1px solid rgba(255,255,255,.1); padding: 12px 16px; }
.workspace-switcher label { display: block; margin-bottom: 6px; color: #a9bfcc; font-size: .65rem; font-weight: 700; }
.workspace-switcher div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; }
.workspace-switcher select, .workspace-switcher button { min-height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; font: inherit; }
.workspace-switcher select { min-width: 0; background: #102f49; color: white; padding: 0 8px; font-size: .7rem; }
.workspace-switcher button { background: #d6fff9; color: #07354b; cursor: pointer; padding: 0 9px; font-size: .68rem; font-weight: 800; }
.workspace-switcher select:focus-visible, .workspace-switcher button:focus-visible { outline: 3px solid #8be1d7; outline-offset: 2px; }
.app-nav { display: grid; gap: 3px; padding: 14px 11px; }
.app-nav button, .app-nav a { position: relative; display: flex; min-width: 0; min-height: 45px; height: auto; align-items: center; gap: 11px; border: 0; border-radius: 10px; background: transparent; color: #c5d2dd; padding: 9px 11px; font-size: .79rem; font-weight: 690; line-height: 1.25; text-align: left; text-decoration: none; cursor: pointer; }
.app-nav button > span:not(.nav-count), .app-nav a > span:not(.nav-count) { min-width: 0; overflow-wrap: anywhere; }
.app-nav button:hover, .app-nav a:hover { background: rgba(255,255,255,.07); color: white; }
.app-nav button[aria-current="page"], .app-nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: white; box-shadow: inset 3px 0 var(--teal-600); }
.nav-count { display: inline-grid; min-width: 20px; height: 20px; place-items: center; margin-left: auto; border-radius: 999px; background: var(--coral-500); color: white; padding: 0 5px; font-size: .62rem; font-weight: 850; }
.app-nav button[aria-current="page"] .nav-count { background: var(--teal-100); color: var(--teal-700); }
.sidebar-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding: 13px 11px; }
.sidebar-user { display: grid; grid-template-columns: 37px 1fr auto; align-items: center; gap: 9px; border-radius: 10px; padding: 8px; }
.sidebar-user .avatar { width: 37px; height: 37px; background: rgba(121,222,210,.16); color: #8be1d7; }
.sidebar-user strong, .sidebar-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-demo-exit { color: #c5d2dd; background: transparent; border-color: rgba(255,255,255,.18); }
.sidebar-user strong { font-size: .74rem; }
.sidebar-user small { color: #88a2b2; font-size: .61rem; }
.sidebar-user a, .sidebar-logout button { display: grid; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #9db3c0; cursor: pointer; }
.sidebar-user a:hover, .sidebar-logout button:hover { background: rgba(255,255,255,.08); color: white; }
.sidebar-logout { margin: 0; }
.app-frame { width: 100%; min-width: 0; max-width: 100%; min-height: 100vh; min-height: 100dvh; padding-left: var(--sidebar); }
.app-topbar { position: sticky; z-index: 80; top: 0; display: flex; height: var(--topbar); align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); padding: 0 28px; backdrop-filter: blur(15px); }
.app-topbar-left { display: flex; min-width: 0; align-items: center; gap: 12px; }
.app-topbar-left > div { min-width: 0; }
.sidebar-open { display: none; }
.app-topbar h1 { overflow: hidden; margin: 0; color: var(--navy-900); font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.app-topbar p { overflow: hidden; margin: 1px 0 0; color: var(--ink-500); font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.app-topbar-actions { display: flex; min-width: 0; flex: 0 0 auto; align-items: center; gap: 8px; }
.workspace-switcher { max-width: 240px; min-height: 38px; font-size: .75rem; }
.notification-button { position: relative; }
.notification-button .nav-count { position: absolute; top: -5px; right: -5px; border: 2px solid white; }
.app-main { width: 100%; min-width: 0; max-width: 100%; padding: 30px; }
.app-content { width: min(100%, 1500px); min-width: 0; max-width: 100%; margin-inline: auto; }
.demo-banner { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 16px; border-radius: 11px; background: #fff6d9; color: #7a4a00; margin-bottom: 18px; padding: 12px 15px; font-size: .78rem; }
.demo-banner > * { min-width: 0; }
.demo-banner strong { display: block; }
.demo-banner p { margin: 1px 0 0; }
.demo-banner a { font-weight: 800; }
.system-banner { display: flex; align-items: flex-start; gap: 11px; border: 1px solid #f2bd65; border-radius: 12px; background: #fff7e8; color: #7d4a05; margin-bottom: 18px; padding: 14px; }
.system-banner.danger { border-color: #f1aaa4; background: var(--coral-100); color: #92342d; }
.system-banner svg { flex: 0 0 auto; margin-top: 2px; }
.system-banner strong { display: block; }
.system-banner p { margin: 1px 0 0; font-size: .8rem; }
.app-panel { display: none; width: 100%; min-width: 0; max-width: 100%; }
.app-panel.is-active { display: block; animation: panel-in .18s ease; }
@keyframes panel-in { from { opacity: .5; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.page-stack { display: grid; width: 100%; min-width: 0; max-width: 100%; grid-template-columns: minmax(0, 1fr); gap: 19px; }
.page-stack > * { min-width: 0; max-width: 100%; }
.page-heading { display: flex; min-width: 0; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 3px; }
.page-heading > div:first-child { min-width: 0; flex: 1 1 320px; }
.page-heading .kicker { font-size: .66rem; }
.page-heading h2 { margin: 5px 0 4px; color: var(--navy-900); font-size: clamp(1.65rem, 2.7vw, 2.35rem); line-height: 1.1; letter-spacing: -.04em; }
.page-heading > div > p:last-child { max-width: 720px; margin: 0; color: var(--ink-600); font-size: .84rem; }
.heading-actions { display: flex; min-width: 0; max-width: 100%; flex-wrap: wrap; gap: 8px; }
.heading-actions > * { min-width: 0; }
.app-card { min-width: 0; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 2px 5px rgba(7,26,44,.025); }
.app-card-pad { padding: 20px; }
.card-header { display: flex; min-width: 0; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding: 17px 20px; }
.card-header > * { min-width: 0; max-width: 100%; }
.card-header h3 { margin: 0; color: var(--navy-900); font-size: .98rem; }
.card-header p { margin: 2px 0 0; color: var(--ink-500); font-size: .72rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric { display: grid; min-width: 0; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 17px; }
.metric > span { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 11px; background: var(--teal-50); color: var(--teal-700); }
.metric.coral > span { background: var(--coral-100); color: var(--coral-600); }
.metric.amber > span { background: var(--amber-100); color: var(--amber-700); }
.metric.navy > span { background: var(--blue-100); color: var(--navy-700); }
.metric small { display: block; color: var(--ink-500); font-size: .67rem; font-weight: 730; }
.metric strong { display: block; color: var(--navy-900); font-size: 1.65rem; line-height: 1.15; letter-spacing: -.035em; }
.metric p { margin: 2px 0 0; color: var(--ink-500); font-size: .65rem; }
.dashboard-grid { display: grid; grid-template-columns: 1.5fr .75fr; gap: 14px; }
.list { display: grid; }
.list-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(130px, .65fr) auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); padding: 14px 20px; }
.list-row:last-child { border-bottom: 0; }
.list-row strong, .list-row small { display: block; }
.list-row > * { min-width: 0; }
.list-row strong { color: var(--navy-900); font-size: .82rem; }
.list-row small { color: var(--ink-500); font-size: .68rem; }
.action-list { display: grid; padding: 8px; }
.action-list button { display: grid; min-width: 0; min-height: 44px; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-700); padding: 10px; font-size: .75rem; line-height: 1.3; text-align: left; cursor: pointer; }
.action-list button:hover { background: var(--canvas); }
.action-list b { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; background: var(--coral-100); color: var(--coral-600); font-size: .75rem; }
.action-list svg { color: var(--ink-500); }
.empty-state { display: grid; place-items: center; min-height: 180px; color: var(--ink-500); padding: 30px; text-align: center; }
.empty-state svg { color: var(--teal-600); }
.empty-state h3 { margin: 10px 0 4px; color: var(--navy-900); font-size: .95rem; }
.empty-state p { max-width: 400px; margin: 0; font-size: .78rem; }

/* App calendar */
.calendar-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); gap: 14px; align-items: start; }
.calendar-toolbar { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 15px 18px; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 12px; color: var(--ink-600); font-size: .67rem; font-weight: 700; }
.calendar-legend span { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-600); }
.legend-dot.day { background: #dba528; }
.legend-dot.night { background: var(--navy-700); }
.legend-dot.either { background: var(--teal-600); }
.legend-dot.unavailable { background: var(--coral-500); }
.month-control { display: flex; min-width: 0; align-items: center; gap: 5px; }
.month-control input { min-height: 38px; width: min(155px, 100%); min-width: 0; padding: 7px 9px; font-size: .75rem; }
.month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0 12px 12px; }
.weekday { color: var(--ink-500); padding: 10px 5px; font-size: .61rem; font-weight: 820; text-align: center; text-transform: uppercase; }
.calendar-blank { min-height: 95px; border-top: 1px solid var(--line); background: #fafbfb; }
.calendar-day { position: relative; min-height: 95px; border: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: white; color: var(--ink-700); padding: 9px; text-align: left; cursor: pointer; }
.calendar-day:nth-child(7n) { border-right: 1px solid var(--line); }
.calendar-day:hover { z-index: 1; background: var(--teal-50); box-shadow: inset 0 0 0 2px var(--teal-500); }
.calendar-day[aria-pressed="true"] { z-index: 2; background: var(--teal-50); box-shadow: inset 0 0 0 2px var(--teal-600); }
.calendar-day > strong { display: inline-grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; color: var(--navy-900); font-size: .72rem; }
.calendar-day.today > strong { background: var(--navy-900); color: white; }
.calendar-counts { display: grid; gap: 3px; margin-top: 7px; }
.calendar-counts span { display: block; overflow: hidden; border-radius: 4px; padding: 3px 5px; font-size: .56rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.calendar-counts .day { background: #fff1cf; color: #7d5200; }
.calendar-counts .night { background: #e5edf5; color: var(--navy-700); }
.calendar-counts .either { background: var(--teal-100); color: var(--teal-700); }
.calendar-counts .none { background: #f0f2f3; color: var(--ink-500); font-weight: 650; }
.date-panel { position: sticky; top: 96px; overflow: hidden; }
.candidate-group { padding: 15px 18px; }
.candidate-group + .candidate-group { border-top: 1px solid var(--line); }
.candidate-group h4 { margin: 0 0 8px; color: var(--navy-900); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.candidate-chip { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 8px; border-radius: 9px; padding: 7px; }
.candidate-chip + .candidate-chip { margin-top: 3px; }
.candidate-chip .avatar { width: 31px; height: 31px; font-size: .6rem; }
.candidate-chip strong, .candidate-chip small { display: block; }
.candidate-chip strong { color: var(--navy-900); font-size: .7rem; }
.candidate-chip small { color: var(--ink-500); font-size: .58rem; }
.gap-callout { display: flex; gap: 9px; border-radius: 10px; background: var(--coral-100); color: #92372f; margin: 12px 16px; padding: 12px; }
.gap-callout svg { flex: 0 0 auto; }
.gap-callout strong { display: block; font-size: .75rem; }
.gap-callout p { margin: 2px 0 0; font-size: .67rem; }

/* Tables */
.responsive-table { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; overflow-y: hidden; border-radius: inherit; overscroll-behavior-inline: contain; scrollbar-gutter: stable; -webkit-overflow-scrolling: touch; }
.responsive-table:focus-visible { outline: 3px solid var(--teal-600); outline-offset: -3px; box-shadow: none; }
table { width: 100%; border-collapse: collapse; }
th { background: #f8faf9; color: var(--ink-500); padding: 11px 14px; font-size: .62rem; font-weight: 830; letter-spacing: .045em; text-align: left; text-transform: uppercase; white-space: nowrap; }
td { border-top: 1px solid var(--line); color: var(--ink-700); padding: 13px 14px; font-size: .73rem; vertical-align: middle; }
td strong, td small { display: block; }
td strong { color: var(--navy-900); font-size: .78rem; }
td small { color: var(--ink-500); font-size: .63rem; }
td.actions { white-space: nowrap; text-align: right; }
td.actions .button { margin-left: 4px; }

/* Staff, badges, hours, notifications */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.staff-card { min-width: 0; padding: 17px; }
.staff-card-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.staff-card-head > * { min-width: 0; }
.staff-card-head .avatar { width: 42px; height: 42px; }
.staff-card h3 { margin: 0; color: var(--navy-900); font-size: .84rem; }
.staff-card-head p { margin: 1px 0 0; color: var(--ink-500); font-size: .65rem; }
.staff-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 15px 0; }
.staff-meta div { border-radius: 8px; background: var(--canvas); padding: 8px; }
.staff-meta small, .staff-meta strong { display: block; }
.staff-meta small { color: var(--ink-500); font-size: .57rem; text-transform: uppercase; }
.staff-meta strong { color: var(--navy-900); font-size: .7rem; }
.staff-actions { display: flex; min-width: 0; flex-wrap: wrap; gap: 6px; }
.staff-actions > * { min-width: 0; }
.staff-actions > .button { flex: 1 1 auto; }
.clearance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.clearance-card { min-width: 0; padding: 19px; }
.clearance-card-head { display: flex; align-items: center; justify-content: space-between; }
.clearance-card h3 { margin: 14px 0 2px; color: var(--navy-900); font-size: .95rem; }
.clearance-card > p { margin: 0; color: var(--ink-500); font-size: .71rem; }
.clearance-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid var(--line); margin: 15px 0 0; padding-top: 14px; }
.clearance-card dt { color: var(--ink-500); font-size: .58rem; text-transform: uppercase; }
.clearance-card dd { margin: 1px 0 0; color: var(--navy-900); font-size: .69rem; font-weight: 700; overflow-wrap: anywhere; }
.hours-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.hours-progress { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 24px; padding: 25px; }
.hours-progress--compact { grid-template-columns: 110px minmax(0, 1fr); padding: 18px; }
.hours-progress--compact .progress-ring { width: 105px; height: 105px; }
.hours-progress--compact .progress-ring::before { width: 79px; height: 79px; }
.progress-ring { --value: 75; display: grid; width: 140px; height: 140px; place-items: center; border-radius: 50%; background: conic-gradient(var(--teal-600) calc(var(--value) * 1%), #e8edef 0); }
.progress-ring::before { grid-area: 1/1; width: 106px; height: 106px; border-radius: 50%; background: white; content: ""; }
.progress-ring > span { z-index: 1; grid-area: 1/1; text-align: center; }
.progress-ring strong, .progress-ring small { display: block; }
.progress-ring strong { color: var(--navy-900); font-size: 1.55rem; }
.progress-ring small { color: var(--ink-500); font-size: .64rem; }
.hours-copy .kicker { font-size: .63rem; }
.hours-copy h3 { margin: 5px 0 3px; color: var(--navy-900); font-size: 1.35rem; }
.hours-copy > p { margin: 0 0 12px; color: var(--ink-600); font-size: .77rem; }
.notification-list { display: grid; }
.notification-item { display: grid; min-width: 0; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: start; gap: 12px; border-bottom: 1px solid var(--line); padding: 15px 18px; }
.notification-item > * { min-width: 0; }
.notification-item:last-child { border-bottom: 0; }
.notification-item.unread { background: var(--teal-50); }
.notification-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 11px; background: var(--teal-100); color: var(--teal-700); }
.notification-item h3 { margin: 0; color: var(--navy-900); font-size: .8rem; }
.notification-item p { margin: 2px 0 4px; color: var(--ink-600); font-size: .7rem; }
.notification-item small { color: var(--ink-500); font-size: .61rem; }
.notification-actions { display: flex; min-width: 0; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.notification-actions:empty { display: none; }
.preference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.preference-section { border: 0; border-bottom: 1px solid var(--line); padding: 0 0 18px; margin: 0 0 18px; }
.preference-section:last-of-type { border-bottom: 0; }
.preference-section legend { margin-bottom: 10px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.checkbox-tile { display: flex; align-items: flex-start; gap: 9px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; }
.checkbox-tile:has(input:checked) { border-color: var(--teal-500); background: var(--teal-50); }
.checkbox-tile input { width: 17px; height: 17px; accent-color: var(--teal-600); margin-top: 2px; }
.checkbox-tile strong, .checkbox-tile small { display: block; }
.checkbox-tile strong { color: var(--navy-900); font-size: .72rem; }
.checkbox-tile small { color: var(--ink-500); font-size: .62rem; }

/* Availability editor */
.availability-instructions { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding: 13px 18px; }
.availability-instructions p { margin: 0; color: var(--ink-600); font-size: .7rem; }
.availability-cycle { display: none; }
.availability-day { position: relative; min-height: 91px; border: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: white; padding: 8px; text-align: left; cursor: pointer; }
.availability-day:nth-child(7n) { border-right: 1px solid var(--line); }
.availability-day:hover { z-index: 1; box-shadow: inset 0 0 0 2px var(--teal-500); }
.availability-day .day-number { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; color: var(--navy-900); font-size: .72rem; font-weight: 800; }
.availability-day .availability-label { position: absolute; right: 7px; bottom: 7px; left: 7px; overflow: hidden; border-radius: 5px; background: #edf1f2; color: var(--ink-500); padding: 4px 5px; font-size: .54rem; font-weight: 850; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.availability-day[data-status="day"] { background: #fffaf0; }
.availability-day[data-status="day"] .availability-label { background: #ffeab8; color: #7c5100; }
.availability-day[data-status="night"] { background: #f5f8fc; }
.availability-day[data-status="night"] .availability-label { background: #dfeaf5; color: var(--navy-700); }
.availability-day[data-status="either"] { background: var(--teal-50); }
.availability-day[data-status="either"] .availability-label { background: var(--teal-100); color: var(--teal-700); }
.availability-day[data-status="unavailable"] { background: #fff8f7; }
.availability-day[data-status="unavailable"] .availability-label { background: var(--coral-100); color: #a5362d; }
.availability-popover { position: fixed; z-index: 300; width: min(225px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; border: 1px solid var(--line); border-radius: 13px; background: white; padding: 8px; box-shadow: var(--shadow-md); }
.availability-popover strong { display: block; padding: 6px 8px 8px; color: var(--navy-900); font-size: .72rem; }
.availability-popover button { display: flex; width: 100%; min-height: 38px; align-items: center; gap: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-700); padding: 7px 8px; font-size: .72rem; font-weight: 700; cursor: pointer; }
.availability-popover button:hover { background: var(--canvas); }
.availability-popover i { width: 9px; height: 9px; border-radius: 50%; background: #c9d2d7; }
.availability-popover button[data-value="day"] i { background: #dba528; }
.availability-popover button[data-value="night"] i { background: var(--navy-700); }
.availability-popover button[data-value="either"] i { background: var(--teal-600); }
.availability-popover button[data-value="unavailable"] i { background: var(--coral-500); }

/* Open shift cards */
.shift-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shift-card { display: grid; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 17px; text-align: left; overflow-wrap: anywhere; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.shift-card:hover { transform: translateY(-2px); border-color: #b7c9cf; box-shadow: var(--shadow-sm); }
.shift-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.shift-type { display: inline-grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #fff1d1; color: #8d5b00; }
.shift-type.night { background: #e5edf6; color: var(--navy-700); }
.shift-card h3 { margin: 15px 0 3px; color: var(--navy-900); font-size: .95rem; }
.shift-card > p { margin: 0; color: var(--ink-500); font-size: .69rem; }
.shift-card > strong { margin-top: 12px; color: var(--navy-900); font-size: .77rem; }
.shift-card > span { color: var(--ink-600); font-size: .68rem; }
.shift-card > small { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 13px; padding-top: 10px; color: var(--teal-700); font-size: .65rem; font-weight: 780; }

/* Billing/settings */
.settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.setting-card { display: grid; min-width: 0; grid-template-columns: 43px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 18px; }
.setting-card > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; background: var(--teal-50); color: var(--teal-700); }
.setting-card h3 { margin: 0; color: var(--navy-900); font-size: .86rem; }
.setting-card p { margin: 3px 0 0; color: var(--ink-500); font-size: .68rem; }
.billing-hero { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; background: linear-gradient(120deg, var(--navy-950), var(--navy-700)); color: white; padding: 24px; }
.billing-hero .kicker { color: #7ee0d4; }
.billing-hero h3 { margin: 5px 0 3px; font-size: 1.45rem; }
.billing-hero p { margin: 0; color: #c5d6df; font-size: .76rem; }
.usage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px; }
.usage-card { border-radius: 11px; background: var(--canvas); padding: 13px; }
.usage-card span, .usage-card strong { display: block; }
.usage-card span { color: var(--ink-500); font-size: .63rem; }
.usage-card strong { color: var(--navy-900); font-size: 1rem; }
.usage-bar { height: 6px; overflow: hidden; border-radius: 99px; background: #dfe6e9; margin-top: 9px; }
.usage-bar i { display: block; height: 100%; border-radius: inherit; background: var(--teal-600); }

/* Dialogs */
dialog { width: min(620px, calc(100% - 28px)); max-height: min(calc(100vh - 24px), 840px); max-height: min(calc(100dvh - 24px), 840px); grid-template-rows: auto minmax(0, 1fr); border: 0; border-radius: var(--radius-lg); background: white; color: var(--ink-900); padding: 0; box-shadow: 0 35px 90px rgba(7,26,44,.3); }
dialog[open] { display: grid; }
dialog::backdrop { background: rgba(7,26,44,.58); backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding: 19px 21px; }
.dialog-head h2 { margin: 0; color: var(--navy-900); font-size: 1.15rem; }
.dialog-head p { margin: 2px 0 0; color: var(--ink-500); font-size: .7rem; }
.dialog-close { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink-600); cursor: pointer; }
.dialog-body { min-width: 0; min-height: 0; overflow-y: auto; padding: 21px; overscroll-behavior: contain; }
.form-error-summary { border: 1px solid #efa9a3; border-radius: 10px; background: #fff5f4; color: #92342d; padding: 12px; font-size: .86rem; line-height: 1.5; overflow-wrap: anywhere; }

/* Toast */
.toast-region { position: fixed; z-index: 1000; right: 18px; bottom: 18px; display: grid; width: min(390px, calc(100% - 36px)); gap: 8px; pointer-events: none; }
.toast { display: grid; grid-template-columns: 30px 1fr auto; align-items: start; gap: 9px; border: 1px solid #a6d9d2; border-radius: 12px; background: white; color: var(--ink-700); padding: 12px; box-shadow: var(--shadow-md); pointer-events: auto; animation: toast-in .2s ease; }
.toast.error { border-color: #efa9a3; }
.toast > span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; background: var(--teal-100); color: var(--teal-700); }
.toast.error > span { background: var(--coral-100); color: var(--coral-600); }
.toast strong { display: block; color: var(--navy-900); font-size: .75rem; }
.toast p { margin: 1px 0 0; font-size: .69rem; }
.toast button { border: 0; background: transparent; color: var(--ink-500); cursor: pointer; }
.toast > div { min-width: 0; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.busy-overlay { position: fixed; z-index: 700; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.68); backdrop-filter: blur(2px); }
.busy-overlay > div { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--navy-900); padding: 13px 16px; box-shadow: var(--shadow-md); font-size: .76rem; font-weight: 760; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--teal-100); border-top-color: var(--teal-600); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.site-footer { background: var(--navy-950); color: white; padding: 65px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 50px; }
.footer-brand p { max-width: 350px; margin: 18px 0 4px; color: #b4c8d4; font-size: .83rem; }
.footer-brand > span { color: #7794a7; font-size: .68rem; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 8px; }
.footer-grid h2 { margin: 0 0 7px; color: #88dcd3; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a:not(.brand) { color: #b8cbd6; font-size: .78rem; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); margin-top: 45px; padding: 20px 0; color: #7895a7; font-size: .68rem; }

/* Responsive */
@media (max-width: 1100px) {
  /* Reserve room for the full approved wordmark on smaller laptops and tablets. */
  .desktop-nav, .header-actions { display: none; }
  .menu-button { display: grid; margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(450px, 1fr); gap: 38px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid, .clearance-grid, .shift-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .header-actions { display: none; }
  .menu-button { display: grid; margin-left: auto; }
  .section { padding: 72px 0; }
  .hero { padding: 65px 0 75px; }
  .hero-grid, .two-column, .feature-layout, .access-story, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .product-window { width: min(100%, 610px); margin-inline: auto; }
  .two-column { gap: 45px; }
  .feature-layout { gap: 35px; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .app-sidebar { visibility: hidden; pointer-events: none; transform: translateX(-105%); padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); padding-inline-start: env(safe-area-inset-left); transition: transform .2s ease, visibility 0s linear .2s; box-shadow: var(--shadow-md); }
  .app-sidebar.is-open { visibility: visible; pointer-events: auto; transform: translateX(0); transition-delay: 0s; }
  .sidebar-backdrop { position: fixed; z-index: 120; inset: 0; display: block; visibility: hidden; border: 0; background: rgba(7,26,44,.54); opacity: 0; pointer-events: none; transition: opacity .2s ease, visibility 0s linear .2s; }
  .sidebar-backdrop.is-visible { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
  body.sidebar-opened { overflow: hidden; }
  .sidebar-close { display: grid; }
  .app-frame { padding-left: 0; }
  .sidebar-open { display: grid; }
  .app-main { padding: 22px; }
  .calendar-layout, .hours-layout { grid-template-columns: 1fr; }
  .date-panel { position: static; }
  .settings-grid { grid-template-columns: 1fr; }
  .join-page { grid-template-columns: 1fr; }
  .join-side { min-height: 360px; padding: 100px 7vw 55px; }
  .join-side .brand { left: 7vw; }
  .join-main { padding: 60px 7vw; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
  .footer-grid > .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .header-actions { display: none; }
  .site-header .menu-button { margin-left: auto; }
  .hero { padding: 50px 0 65px; }
  .hero-copy h1 { font-size: clamp(2.55rem, 13vw, 3.7rem); }
  .hero-actions .button { width: 100%; }
  .preview-date { grid-template-columns: 47px 1fr; }
  .preview-date .status-pill { display: none; }
  .role-strip .container { flex-wrap: wrap; gap: 10px 16px; padding: 18px 0; }
  .role-strip p { width: 100%; margin-left: 0; text-align: center; }
  .role-strip i { display: none; }
  .step-grid, .feature-grid, .pricing-grid, .pricing-details, .form-grid, .footer-grid, .preference-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 210px; }
  .launch-cta .container { align-items: flex-start; flex-direction: column; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .button { width: 100%; }
  .legal-shell { grid-template-columns: 1fr; gap: 30px; }
  .legal-nav { position: static; grid-template-columns: repeat(3, 1fr); }
  .legal-nav a { text-align: center; }
  .footer-grid { gap: 32px; }
  .footer-bottom { gap: 8px; flex-direction: column; }
  .app-topbar { height: auto; min-height: calc(68px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 14px 0; }
  .app-topbar h1 { font-size: .88rem; }
  .app-topbar-actions .tag { display: none; }
  .app-main { padding: 17px 13px calc(90px + env(safe-area-inset-bottom)); }
  .app-main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .app-main select,
  .app-main textarea,
  .join-main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .join-main select,
  .join-main textarea { font-size: 16px; }
  .demo-banner { align-items: flex-start; flex-direction: column; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .page-heading > div:first-child { flex: none; width: 100%; }
  .heading-actions { width: 100%; }
  .heading-actions > * { flex: 1 1 180px; max-width: 100%; }
  .heading-actions .button { flex: 1 1 180px; }
  .metric-grid, .staff-grid, .clearance-grid, .shift-card-grid, .usage-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .list-row { grid-template-columns: 1fr auto; }
  .list-row > :first-child { grid-column: 1 / -1; }
  .list-row > :nth-child(2) { display: block; }
  .month-grid { padding: 0 5px 8px; }
  .weekday { font-size: .52rem; }
  .calendar-day, .availability-day, .calendar-blank { min-height: 72px; padding: 5px; }
  .calendar-counts span { padding: 2px 3px; font-size: .48rem; }
  .availability-day .availability-label { right: 3px; bottom: 4px; left: 3px; padding: 3px 2px; font-size: .45rem; }
  .hours-progress,
  .hours-progress--compact { grid-template-columns: 1fr; text-align: center; }
  .progress-ring { margin-inline: auto; }
  .notification-item { grid-template-columns: 39px minmax(0, 1fr); }
  .notification-actions { width: 100%; grid-column: 1 / -1; justify-content: stretch; }
  .notification-actions .button { width: auto; flex: 1 1 140px; }
  .checkbox-grid, .radio-cards { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .billing-hero { grid-template-columns: 1fr; }
  .responsive-table { margin: 0; }
  .responsive-table table { min-width: 760px; }
  .responsive-table.is-empty,
  .responsive-table:has(.empty-state) { overflow-x: hidden; }
  .responsive-table.is-empty table,
  .responsive-table:has(.empty-state) table { min-width: 0; }
  .responsive-table.is-empty thead,
  .responsive-table:has(.empty-state) thead { display: none; }
  .responsive-table.is-empty tbody,
  .responsive-table.is-empty tr,
  .responsive-table.is-empty td,
  .responsive-table:has(.empty-state) tbody,
  .responsive-table:has(.empty-state) tr,
  .responsive-table:has(.empty-state) td { display: block; width: 100%; }
  .responsive-table.is-empty td,
  .responsive-table:has(.empty-state) td { border-top: 0; padding: 0; }
  .responsive-table .empty-state { width: 100%; min-height: 150px; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 24px, 1180px); }
  .brand { min-width: 0; font-size: .95rem; }
  .site-header .brand-logo { width: clamp(180px, 56vw, 224px); }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .eyebrow { max-width: 100%; align-items: flex-start; line-height: 1.35; }
  .hero { padding: 48px 0 58px; }
  .hero-copy h1 { font-size: clamp(2.35rem, 12.5vw, 3.2rem); }
  .window-top { align-items: flex-start; gap: 10px; padding: 15px; }
  .window-title { min-width: 0; }
  .window-title strong { overflow-wrap: anywhere; }
  .window-body { padding: 14px; }
  .preview-stats { gap: 6px; }
  .preview-stat { padding: 9px 8px; }
  .preview-stat strong { font-size: 1.25rem; }
  .preview-date { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .date-tile { min-width: 44px; }
  .candidate { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; padding: 9px; }
  .candidate .avatar { width: 34px; height: 34px; }
  .candidate em { padding: 4px 6px; font-size: .54rem; }
  .section { padding: 62px 0; }
  .section-heading { margin-bottom: 34px; }
  .step-card, .feature-card, .public-card, .plan-card, .form-card { padding: 20px; }
  .two-column, .feature-layout, .access-story { gap: 34px; }
  .phone-content { padding: 18px 15px 21px; }
  .mini-calendar { gap: 4px; }
  .mini-legend { flex-wrap: wrap; justify-content: flex-start; gap: 8px 12px; }
  .access-steps li { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 14px; }
  .launch-cta { padding: 50px 0; }
  .legal-nav { grid-template-columns: 1fr; }
  .join-side { min-height: 320px; padding: 92px 20px 48px; }
  .join-side .brand { left: 20px; }
  .join-main { padding: 42px 12px; }
  .join-card h2 { font-size: 1.7rem; }
  .app-sidebar { width: min(var(--sidebar), calc(100vw - 36px)); }
  .app-topbar { gap: 8px; padding-inline: 10px; }
  .app-topbar-left { gap: 8px; }
  .app-topbar-actions { gap: 5px; }
  .app-main { padding-inline: 10px; }
  .app-card-pad, .card-header { padding: 16px; }
  .card-header { align-items: stretch; flex-direction: column; }
  .calendar-toolbar, .availability-instructions { align-items: stretch; flex-direction: column; padding-inline: 12px; }
  .month-control { width: 100%; }
  .month-control input { width: 100%; }
  .calendar-day, .availability-day, .calendar-blank { min-height: 64px; }
  .calendar-day > strong, .availability-day .day-number { width: 22px; height: 22px; }
  .calendar-counts span { white-space: normal; overflow-wrap: anywhere; }
  .staff-card-head { grid-template-columns: 38px minmax(0, 1fr); }
  .staff-card-head > :last-child { grid-column: 1 / -1; justify-self: start; }
  .staff-meta, .clearance-card dl { grid-template-columns: 1fr; }
  .setting-card { grid-template-columns: 40px minmax(0, 1fr); }
  .setting-card > :last-child { grid-column: 2; width: 100%; }
  .status-pill { max-width: 100%; text-align: center; white-space: normal; }
  .toast-region { right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); width: calc(100% - 20px); }
}

@media (max-width: 980px) and (orientation: landscape) {
  .app-main { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .app-topbar { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (pointer: coarse), (max-width: 980px) {
  .button-sm, .text-button, .availability-popover button,
  .demo-banner a, .sidebar-logout button { min-height: 44px; }
  .icon-button, .toast button { min-width: 44px; width: 44px; min-height: 44px; height: 44px; }
  .sidebar-user { grid-template-columns: 40px minmax(0, 1fr) 44px; }
  .demo-banner a { display: inline-flex; align-items: center; }
  dialog input:not([type="checkbox"]):not([type="radio"]), dialog select, dialog textarea { font-size: 16px; }
}

@media print {
  .site-header, .site-footer, .app-sidebar, .app-topbar, .heading-actions, .button, .toast-region, dialog { display: none !important; }
  .app-frame { padding: 0; }
  .app-main { padding: 0; }
  .app-panel { display: block !important; page-break-after: always; }
  .app-card { box-shadow: none; }
  body { background: white; }
}

@media (max-width: 980px) {
  .app-sidebar-head .brand-logo { width: 180px; }
}
