@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/dm-sans-400.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/dm-sans-500.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/dm-sans-600.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/dm-sans-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/manrope-800.ttf) format('truetype');
}


:root {
  --bg: #f4f6fa;
  --surface: #fff;
  --surface-soft: #eff2f5;
  --ink: #17243b;
  --muted: #5d6a7c;
  --soft-muted: #78827b;
  --line: #d5d9df;
  --indigo: #0047ab;
  --indigo-dark: #17263c;
  --indigo-soft: #dee4ed;
  --teal: #385276;
  --teal-soft: #e4eaf2;
  --cyan: #76859a;
  --purple: #857446;
  --rose: #e11d48;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .03), 0 5px 18px rgba(15, 23, 42, .035);
  --shadow-md: 0 18px 44px rgba(45, 55, 92, .12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --sidebar-width: 250px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); overflow-x: clip; overscroll-behavior-x: none; }
body { min-width: 320px; min-height: 100%; margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(99, 102, 241, .2); outline-offset: 2px; }
a { color: inherit; text-decoration: none; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-width); flex: 0 0 var(--sidebar-width); padding: 22px 14px 18px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, .86); display: flex; flex-direction: column; }
.sidebar > div { display: flex; flex-direction: column; min-height: 100%; }
.sidebar-brand { min-height: 42px; padding: 0 11px 30px; display: flex; align-items: center; }
.brand-logo { display: block; width: 172px; height: 48px; object-fit: contain; object-position: left center; }
.brand-icon { width: 40px; height: 40px; object-fit: contain; display: block; }
.sidebar-label { padding: 0 12px 9px; color: var(--soft-muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sidebar-links { display: grid; gap: 4px; }
.nav-item { min-height: 44px; padding: 0 12px; border-radius: 12px; display: flex; align-items: center; gap: 11px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; transition: .18s ease; }
.nav-item:hover { background: var(--surface-soft); color: var(--ink); }
.nav-item.is-active { background: var(--indigo-soft); color: var(--indigo-dark); font-weight: 800; }
.nav-item .icon { width: 17px; height: 17px; }
.nav-item.is-active .icon { color: var(--indigo); }
.sidebar-spacer { flex: 1; min-height: 32px; }
.sidebar-note { margin: 0 7px 12px; padding: 12px 11px; border: 1px solid #dce4ef; border-radius: 14px; display: flex; align-items: flex-start; gap: 9px; background: linear-gradient(135deg, #f7fafe, #eff4fb); }
.sidebar-note-teal { border-color: #d6e0ee; }
.sidebar-note strong, .sidebar-note span { display: block; }
.sidebar-note strong { font-size: 10px; font-weight: 800; }
.sidebar-note div span { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 500; }
.status-pulse, .context-dot { width: 7px; height: 7px; flex: 0 0 7px; margin-top: 4px; border-radius: 50%; background: #1457b5; box-shadow: 0 0 0 4px rgba(16, 185, 129, .11); }
.sidebar-profile { width: 100%; min-height: 52px; padding: 7px; border: 1px solid var(--line); border-radius: 14px; display: flex; align-items: center; gap: 9px; background: #fff; color: var(--ink); text-align: left; }
.sidebar-profile > span:nth-child(2) { min-width: 0; flex: 1; }
.sidebar-profile strong, .sidebar-profile small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-profile strong { font-size: 10px; font-weight: 800; }
.sidebar-profile small { margin-top: 3px; color: var(--soft-muted); font-size: 9px; font-weight: 600; }
.sidebar-profile > .icon { width: 14px; color: var(--soft-muted); }

.main-shell { min-width: 0; flex: 1; }
.topbar { height: 76px; padding: 0 38px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .68); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; }
.topbar-context { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; font-weight: 600; }
.topbar-current-week { min-height: 30px; padding: 4px 10px; border: 1px solid #c7ddff; border-radius: 7px; color: #0047ab; background: #edf4ff; font: inherit; cursor: pointer; }
.topbar-current-week:disabled { border-color: transparent; color: var(--soft-muted); background: transparent; cursor: default; }
.topbar-current-week:focus-visible { outline: 2px solid #0047ab; outline-offset: 2px; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.topbar-icon { position: relative; color: var(--muted); font-size: 19px; }
.notification-dot { width: 6px; height: 6px; position: absolute; right: 5px; top: 4px; border: 2px solid #fff; border-radius: 50%; background: var(--rose); }
.mobile-brand { display: none; }
.mobile-brand-logo { display: block; width: 148px; height: 40px; object-fit: contain; object-position: left center; }
.role-switch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 8px 4px 4px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 800; white-space: nowrap; }
.role-caret { margin-left: 2px; color: var(--soft-muted); font-size: 15px; line-height: 1; }
.avatar { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 11px; display: inline-grid; place-items: center; border: 1px solid transparent; font-size: 10px; font-weight: 800; }
.avatar-indigo { color: var(--indigo-dark); border-color: #d7dcff; background: var(--indigo-soft); }
.avatar-blue { color: #2563eb; border-color: #dbeafe; background: #eff6ff; }
.avatar-teal { color: #0c3670; border-color: #c8daf2; background: #ecf3fd; }
.avatar-purple { color: #7e22ce; border-color: #eadcff; background: #faf5ff; }
.avatar-slate { color: #475569; border-color: #d5d9df; background: #f8fafc; }

.view-root { max-width: 1440px; padding: 42px 48px 80px; margin: 0 auto; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.page-header h1 { margin: 4px 0 8px; color: var(--ink); font-size: clamp(28px, 3vw, 37px); line-height: 1.05; letter-spacing: -.055em; }
.page-description { max-width: 650px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.eyebrow { margin: 0; color: var(--soft-muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
.page-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.btn { min-height: 40px; padding: 0 14px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; font-weight: 800; white-space: nowrap; transition: .18s ease; }
.btn .icon { width: 15px; height: 15px; }
.btn-primary { color: #fff; background: var(--indigo); box-shadow: 0 8px 18px rgba(79, 70, 229, .2); }
.btn-primary:hover { background: var(--indigo-dark); transform: translateY(-1px); }
.btn-secondary { border: 1px solid var(--line); color: #39404b; background: #fff; box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: #cbd5e1; background: #f8fafc; }
.btn-outline { border: 1px solid #bcc6d5; color: var(--indigo-dark); background: var(--indigo-soft); }
.btn-full { width: 100%; }
.btn-icon-only { width: 40px; padding: 0; }
.icon-btn { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; display: inline-grid; place-items: center; background: #fff; color: var(--muted); transition: .18s ease; }
.icon-btn:hover { border-color: #cbd5e1; background: #f8fafc; color: var(--ink); }
.icon-btn .icon { width: 15px; height: 15px; }
.icon { width: 18px; height: 18px; display: inline-block; flex: 0 0 auto; }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.toolbar-pills { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #eef1f7; }
.filter-pill { padding: 8px 14px; border-radius: 8px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 700; white-space: nowrap; }
.filter-pill.is-selected { color: var(--indigo-dark); background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.date-stepper { min-height: 46px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 13px; display: inline-flex; align-items: center; gap: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.date-stepper > div { min-width: 150px; text-align: center; }
.date-stepper strong, .date-stepper span { display: block; }
.date-stepper strong { font-size: 11px; font-weight: 800; }
.date-stepper span { margin-top: 3px; color: var(--soft-muted); font-size: 9px; font-weight: 600; }
.icon-btn-accent { color: var(--indigo); }
.section-block { margin-top: 30px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.section-heading.compact { align-items: center; }
.section-heading h2 { margin: 6px 0 4px; font-size: 20px; letter-spacing: -.035em; }
.section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 11px; }
.live-chip { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 700; white-space: nowrap; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-card { min-width: 0; min-height: 135px; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-sm); }
.stat-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stat-label { color: var(--muted); font-size: 10px; font-weight: 700; }
.stat-icon { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: var(--indigo); background: var(--indigo-soft); }
.stat-icon .icon { width: 15px; height: 15px; }
.stat-card > strong { margin-top: 18px; font-size: 30px; line-height: 1; letter-spacing: -.055em; }
.stat-meta { margin-top: 8px; color: var(--soft-muted); font-size: 9px; }
.tone-teal .stat-icon, .tone-green .stat-icon { color: var(--teal); background: var(--teal-soft); }
.tone-blue .stat-icon { color: #2563eb; background: #eff6ff; }
.tone-purple .stat-icon { color: var(--purple); background: #faf5ff; }

.schedule-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.day-card { min-width: 0; padding: 17px 18px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.day-card:nth-child(3n) { grid-column: span 2; }
.day-card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.day-kicker { color: var(--indigo); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.day-card-header strong, .day-card-header span { display: block; }
.day-card-header strong { margin-top: 5px; font-size: 17px; letter-spacing: -.035em; }
.day-card-header em { color: var(--soft-muted); font-style: normal; font-weight: 600; }
.day-card-summary { color: var(--soft-muted); font-size: 9px; text-align: right; }
.day-card-summary strong { margin: 0; color: var(--ink); font-size: 10px; }
.day-shifts { display: grid; gap: 1px; }
.shift-line { min-width: 0; padding: 13px 0; border-bottom: 1px solid #e9edf5; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shift-line:last-child { border-bottom: 0; padding-bottom: 3px; }
.shift-line-main { min-width: 0; display: flex; align-items: center; gap: 10px; }
.shift-line-main > div { min-width: 0; }
.shift-line-main strong, .shift-line-main span, .shift-line-detail strong, .shift-line-detail span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shift-line-main strong { font-size: 11px; font-weight: 800; }
.shift-line-main span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.shift-line-detail { display: flex; align-items: center; gap: 10px; text-align: right; }
.shift-line-detail strong { font-size: 11px; font-variant-numeric: tabular-nums; }
.shift-line-detail span { margin-top: 4px; color: var(--soft-muted); font-size: 9px; }
.shift-status { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.empty-day { padding: 15px 0 4px; color: var(--soft-muted); font-size: 10px; text-align: center; }
.empty-day button, .text-btn { color: var(--indigo); background: transparent; font-size: 10px; font-weight: 800; white-space: nowrap; }
.mini-btn { min-height: 28px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; color: var(--muted); background: #fff; font-size: 9px; font-weight: 700; white-space: nowrap; }

.filter-panel { padding: 15px; margin-bottom: 19px; border: 1px solid var(--line); border-radius: var(--radius-md); display: grid; grid-template-columns: 1fr 1fr 1fr 1.2fr; gap: 11px; background: #fff; box-shadow: var(--shadow-sm); }
.filter-group, .filter-panel label { display: grid; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 800; }
select, input, textarea { width: 100%; min-height: 39px; padding: 0 11px; border: 1px solid #d5d9df; border-radius: 10px; outline: none; color: var(--ink); background: #f7f9fb; font-size: 11px; font-weight: 600; }
textarea { min-height: 84px; padding-top: 10px; resize: vertical; }
select:focus, input:focus, textarea:focus { border-color: #a5b4fc; background: #fff; }
.search-control { align-self: end; min-height: 39px; padding: 0 11px; border: 1px solid #d5d9df; border-radius: 10px; display: flex !important; align-items: center; gap: 8px; background: #f7f9fb; }
.search-control input { min-height: 35px; padding: 0; border: 0; background: transparent; }
.search-control .icon { width: 14px; height: 14px; color: var(--soft-muted); }
.tab-switcher { display: flex; padding: 3px; border-radius: 9px; background: #eef1f7; }
.tab-switcher button { padding: 7px 12px; border-radius: 7px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 700; white-space: nowrap; }
.tab-switcher button.is-active { color: var(--ink); background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .08); }
.records-table { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.record-head { padding: 11px 16px; background: #fafbfe; color: var(--soft-muted); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.record-row { min-height: 76px; padding: 11px 16px; border-top: 1px solid #e9edf5; }
.record-row, .record-head { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr .7fr .7fr 40px; align-items: center; gap: 14px; }
.record-date strong, .record-shift strong, .record-hours strong { display: block; font-size: 10px; font-weight: 800; }
.record-date span, .record-shift span, .record-hours span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.record-person { display: flex; align-items: center; gap: 8px; min-width: 0; }
.record-person > span:last-child { min-width: 0; }
.record-person strong, .record-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.record-person strong { font-size: 10px; }
.record-person small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.status-badge { width: fit-content; padding: 5px 8px; border-radius: 999px; font-size: 8px; font-weight: 800; white-space: nowrap; }
.status-approved { color: #0c3670; background: #e8f0fa; }
.status-draft { color: #b45309; background: #fff6df; }
.empty-state { padding: 36px; color: var(--soft-muted); font-size: 11px; text-align: center; }

.team-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 14px; }
.roster-panel, .access-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.roster-list { display: grid; gap: 3px; }
.roster-row { min-height: 60px; padding: 9px; border: 1px solid transparent; border-radius: 12px; display: flex; align-items: center; gap: 10px; background: transparent; color: var(--ink); text-align: left; }
.roster-row:hover { background: #fafbfe; }
.roster-row.is-selected { border-color: #cfd5ff; background: var(--indigo-soft); }
.roster-row > span:nth-child(2) { min-width: 0; flex: 1; }
.roster-row strong, .roster-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.roster-row strong { font-size: 11px; font-weight: 800; }
.roster-row small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.row-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--soft-muted); font-size: 9px; font-weight: 700; white-space: nowrap; }
.row-meta i { width: 6px; height: 6px; border-radius: 50%; background: #1457b5; }
.roster-footer { padding: 13px 2px 0; border-top: 1px solid #e9edf5; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 700; }
.team-totals { padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.team-total-row { display: grid; grid-template-columns: 1.4fr auto 35%; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e9edf5; }
.team-total-row:last-child { border-bottom: 0; }
.team-total-row strong { font-size: 10px; }
.team-total-row > strong { white-space: nowrap; }
.progress { height: 6px; overflow: hidden; border-radius: 999px; background: #eef1f7; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--indigo), #818cf8); }
.access-heading h2 { margin: 5px 0; font-size: 20px; }
.access-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.form-grid { display: grid; gap: 13px; }
.form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid > label, .modal form > label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 800; }
.input-action { min-height: 39px; padding: 0 6px 0 11px; border: 1px solid #d5d9df; border-radius: 10px; display: flex; align-items: center; gap: 6px; background: #f7f9fb; }
.input-action input, .input-action span { min-height: 33px; flex: 1; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 11px; font-weight: 600; }
.input-action button { padding: 7px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--indigo); background: #fff; font-size: 9px; font-weight: 800; }
.access-section, .temporary-access { display: grid; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #e9edf5; }
.site-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.site-chip { min-height: 32px; padding: 0 9px; border: 1px solid var(--line); border-radius: 9px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); background: #fff; font-size: 9px; font-weight: 700; white-space: nowrap; }
.site-chip.is-selected { border-color: #cfd5ff; color: var(--indigo-dark); background: var(--indigo-soft); }
.site-chip small { padding: 3px 4px; border-radius: 4px; color: var(--soft-muted); background: rgba(255,255,255,.8); font-size: 7px; font-weight: 800; }
.unlock-row { padding: 6px; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fafbfe; }
.unlock-row strong, .unlock-row span { display: block; }
.unlock-row strong { font-size: 10px; }
.unlock-row span { margin-top: 3px; color: var(--soft-muted); font-size: 9px; }
.access-expiry { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; }
.access-expiry strong { color: var(--ink); }
.duration-pills { display: flex; gap: 5px; }
.duration-pills button { padding: 7px 8px; border-radius: 7px; color: var(--muted); background: #e7eaef; font-size: 9px; font-weight: 700; white-space: nowrap; }
.duration-pills button.is-selected { color: var(--indigo-dark); background: var(--indigo-soft); }

.analytics-hero, .employee-hero { min-height: 156px; padding: 25px 28px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: linear-gradient(130deg, #111d38 0%, #142a3a 53%, #0d264a 100%); box-shadow: var(--shadow-md); }
.analytics-hero > div:first-child, .employee-hero > div:first-child { display: flex; align-items: flex-start; gap: 14px; }
.analytics-hero h2, .employee-hero h2 { margin: 8px 0 6px; font-size: 21px; letter-spacing: -.045em; }
.analytics-hero p:not(.eyebrow), .employee-hero p:not(.eyebrow) { max-width: 450px; margin: 0; color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.6; }
.hero-icon { width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid rgba(255,255,255,.13); border-radius: 11px; display: grid; place-items: center; color: #7dd3fc; background: rgba(255,255,255,.08); }
.hero-number { text-align: right; }
.hero-number strong { display: block; font-size: 34px; letter-spacing: -.06em; }
.hero-number span { display: block; margin-top: 7px; color: rgba(255,255,255,.55); font-size: 10px; font-weight: 700; }
.analytics-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 14px; margin-top: 14px; }
.panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.legend { display: flex; align-items: center; gap: 6px; color: var(--soft-muted); font-size: 9px; font-weight: 700; }
.legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }
.bar-chart { display: grid; gap: 16px; margin-top: 24px; }
.bar-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 46px; align-items: center; gap: 10px; }
.bar-label { display: flex; justify-content: space-between; gap: 8px; }
.bar-label span { color: var(--muted); font-size: 10px; font-weight: 600; }
.bar-label strong { color: var(--ink); font-size: 10px; font-weight: 800; }
.bar-track { height: 8px; overflow: hidden; border-radius: 999px; background: #e9edf5; }
.bar-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #818cf8, var(--indigo)); }
.bar-row.is-current .bar-track span { background: linear-gradient(90deg, var(--teal), #3476d3); }
.bar-meta { color: var(--soft-muted); font-size: 9px; text-align: right; }
.insight-panel strong { color: var(--ink); }
.insight-list { display: grid; gap: 12px; margin: 22px 0; padding-top: 17px; border-top: 1px solid #e9edf5; }
.insight-list > div { display: flex; align-items: center; gap: 10px; }
.insight-list > div > span:last-child { display: grid; }
.insight-list small { margin-top: 4px; color: var(--soft-muted); font-size: 9px; }
.insight-icon { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
.insight-icon .icon { width: 15px; height: 15px; }
.insight-green { color: var(--teal); background: var(--teal-soft); }
.insight-indigo { color: var(--indigo); background: var(--indigo-soft); }
.count-badge { padding: 3px 6px; border-radius: 999px; color: var(--indigo-dark); background: var(--indigo-soft); font-size: 9px; vertical-align: middle; }
.employee-hero { background: linear-gradient(130deg, #091726 0%, #0d2a35 48%, #0f3d3e 100%); }
.hero-kicker { color: #5e98ea; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-progress { display: flex; align-items: center; gap: 14px; }
.progress-ring { width: 81px; height: 81px; border: 6px solid rgba(255,255,255,.12); border-top-color: #3476d3; border-right-color: #6ea0e7; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.progress-ring strong { font-size: 19px; }
.progress-ring span { margin-top: 2px; color: rgba(255,255,255,.58); font-size: 9px; }
.hero-progress > div:last-child span { display: block; margin-top: 5px; color: rgba(255,255,255,.55); font-size: 9px; }
.quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.quick-action { min-height: 68px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; align-items: center; gap: 11px; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); text-align: left; }
.quick-action:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.quick-action-primary { color: #fff; border-color: #0a2a57; background: #0a2c5b; }
.quick-action-icon { width: 31px; height: 31px; border-radius: 10px; display: grid; place-items: center; color: var(--indigo); background: var(--indigo-soft); }
.quick-action-primary .quick-action-icon { color: #fff; background: rgba(255,255,255,.14); }
.quick-action > div:nth-child(2) { min-width: 0; }
.quick-action strong, .quick-action small { display: block; }
.quick-action strong { font-size: 10px; }
.quick-action small { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 600; }
.quick-action-primary small { color: rgba(255,255,255,.68); }
.quick-action .icon:last-child { width: 15px; height: 15px; margin-left: auto; color: var(--soft-muted); }
.employee-days { display: grid; gap: 8px; }
.employee-day { padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.employee-day.is-today { border-color: #cfd5ff; box-shadow: 0 0 0 2px rgba(99,102,241,.05), var(--shadow-sm); }
.employee-day-title { padding-right: 10px; border-right: 1px solid #e9edf5; }
.employee-day-title span, .employee-day-title strong, .employee-day-title small { display: block; }
.employee-day-title span { color: var(--indigo); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.employee-day-title strong { margin-top: 5px; font-size: 22px; }
.employee-day-title small { margin-top: 2px; color: var(--soft-muted); font-size: 9px; font-weight: 600; }
.employee-day-content { min-width: 0; }
.employee-shift { display: flex; align-items: center; gap: 9px; }
.employee-shift > div { min-width: 0; flex: 1; }
.employee-shift strong, .employee-shift span { display: block; }
.employee-shift strong { font-size: 11px; }
.employee-shift span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.employee-shift > strong:last-child { color: var(--ink); font-size: 11px; font-variant-numeric: tabular-nums; }
.no-shift { color: var(--soft-muted); font-size: 10px; font-weight: 600; }
.day-add { min-height: 30px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; color: var(--muted); background: #fff; font-size: 9px; font-weight: 700; white-space: nowrap; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.calendar-label { color: var(--ink); font-size: 15px; font-weight: 800; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.calendar-day { min-height: 126px; padding: 12px 9px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; align-items: center; background: #f7f9fb; }
.calendar-day.is-today { border-color: #cfd5ff; background: var(--indigo-soft); }
.calendar-day span { color: var(--soft-muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.calendar-day strong { margin-top: 9px; font-size: 20px; }
.calendar-day small { margin-top: auto; color: var(--muted); font-size: 9px; font-weight: 600; }
.calendar-shift-dot { width: 9px; height: 9px; margin-top: 15px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px var(--teal-soft); }
.calendar-legend { display: flex; gap: 16px; margin-top: 19px; color: var(--muted); font-size: 9px; font-weight: 700; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-indigo { background: var(--indigo); }.dot-teal { background: var(--teal); }.dot-slate { background: #cbd5e1; }
.upcoming-row { padding: 15px 16px; border: 1px solid var(--line); border-radius: 13px; display: flex; align-items: center; justify-content: space-between; background: #fff; box-shadow: var(--shadow-sm); }
.upcoming-row strong { font-size: 11px; }.upcoming-row > div > span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.pass-card { width: min(100%, 680px); padding: 27px; border: 1px solid #dbe2ee; border-radius: 24px; background: linear-gradient(145deg, #fff, #ecf0f5); box-shadow: var(--shadow-md); }
.pass-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #d5d9df; }
.pass-card-header > div { display: flex; align-items: center; gap: 10px; }
.pass-card-header strong, .pass-card-header span { display: block; }.pass-card-header strong { font-size: 13px; }.pass-card-header div span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.pass-profile { display: flex; align-items: center; gap: 11px; padding: 22px 0; }.pass-profile strong, .pass-profile span { display: block; }.pass-profile strong { font-size: 13px; }.pass-profile div span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.pass-summary { display: flex; padding: 15px 0; border-top: 1px solid #e9edf5; border-bottom: 1px solid #e9edf5; justify-content: space-between; gap: 12px; }.pass-summary strong, .pass-summary span { display: block; }.pass-summary strong { font-size: 22px; letter-spacing: -.06em; }.pass-summary span { margin-top: 5px; color: var(--muted); font-size: 9px; }.pass-list { display: grid; gap: 0; margin-top: 13px; }.pass-list > div { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid #e9edf5; font-size: 9px; }.pass-list > div span:first-child, .pass-list > div span:last-child { color: var(--muted); }.pass-list > div span:last-child { text-align: right; }.pass-footer { margin-top: 18px; color: var(--soft-muted); font-size: 9px; font-weight: 600; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; padding: 24px; display: grid; place-items: center; background: rgba(15, 23, 42, .42); backdrop-filter: blur(6px); overscroll-behavior: contain; }
.modal { width: min(650px, 100%); max-height: calc(100vh - 48px); overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 23px; border: 1px solid rgba(255,255,255,.6); border-radius: 22px; background: #fff; box-shadow: 0 25px 70px rgba(15, 23, 42, .24); }
.modal-small { width: min(450px, 100%); }.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }.modal-header h2 { margin: 6px 0; font-size: 22px; letter-spacing: -.05em; }.modal-header p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }.modal form { display: grid; gap: 15px; }.modal .form-grid { gap: 13px; }.mode-switch { padding: 4px; border-radius: 10px; display: grid; grid-template-columns: 1fr 1fr; background: #e7eaef; }.mode-switch button { min-height: 36px; border-radius: 8px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 800; }.mode-switch button.is-active { color: var(--indigo-dark); background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.08); }.duration-preview { padding: 13px; border: 1px solid #bcc6d5; border-radius: 13px; display: flex; align-items: center; gap: 10px; color: var(--indigo-dark); background: var(--indigo-soft); }.duration-preview strong, .duration-preview span { display: block; }.duration-preview strong { font-size: 17px; letter-spacing: -.04em; }.duration-preview span { margin-top: 4px; color: var(--muted); font-size: 9px; }.duration-preview b { color: var(--teal); }.field-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.field-heading label { display: block; }.field-heading p { margin: 4px 0 0; color: var(--soft-muted); font-size: 9px; font-weight: 600; }.break-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }.break-pills button { padding: 7px 8px; border-radius: 7px; color: var(--muted); background: #e7eaef; font-size: 9px; font-weight: 700; white-space: nowrap; }.break-pills button.is-selected { color: var(--teal); border: 1px solid #bfd3ee; background: var(--teal-soft); }.optional { color: var(--soft-muted); font-weight: 600; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 5px; }.toast-root { position: fixed; right: 22px; bottom: 22px; z-index: 70; }.toast { min-height: 42px; padding: 0 14px; border: 1px solid #dbe2ee; border-radius: 12px; display: flex; align-items: center; gap: 9px; color: var(--ink); background: #fff; box-shadow: var(--shadow-md); font-size: 10px; font-weight: 800; }.toast-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }.toast-success .toast-dot { background: var(--teal); }

.mobile-nav { display: none; }
@media (max-width: 1050px) {
  .view-root { padding-right: 28px; padding-left: 28px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analytics-grid { grid-template-columns: 1fr; }.team-layout { grid-template-columns: 1fr; }.filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }.search-control { grid-column: span 2; }
}
@media (max-width: 760px) {
  .app-shell { display: block; }.desktop-sidebar { display: none; }.topbar { min-height: 66px; height: 66px; padding: 0 16px; }.mobile-brand { display: flex; align-items: center; min-width: 0; }.topbar-context { display: none; }.topbar-actions { gap: 8px; }.topbar-icon { display: none; }.mobile-brand-logo { width: 148px; height: 38px; }.role-switch { min-height: 36px; padding-right: 6px; }.role-switch > span:nth-child(2) { display: none; }.view-root { padding: 26px 16px 108px; }.page-header { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 26px; }.page-header h1 { font-size: 31px; }.page-actions { width: 100%; justify-content: flex-start; }.page-actions .btn { flex: 1; }.toolbar-row, .section-heading { align-items: flex-start; flex-direction: column; }.toolbar-row > *, .section-heading > .date-stepper { width: 100%; }.toolbar-pills { overflow-x: auto; width: 100%; }.filter-pill { flex: 1; }.date-stepper { justify-content: space-between; }.date-stepper > div { min-width: 0; flex: 1; }.section-heading > .date-stepper { align-self: stretch; }.stat-grid, .stat-grid-2, .stat-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }.stat-card { min-height: 125px; padding: 14px; }.stat-card > strong { margin-top: 14px; font-size: 25px; }.schedule-list { grid-template-columns: 1fr; }.day-card:nth-child(3n) { grid-column: auto; }.filter-panel { grid-template-columns: 1fr; }.search-control { grid-column: auto; }.record-head { display: none; }.record-row { grid-template-columns: 1fr auto; gap: 7px 12px; }.record-row > :nth-child(3), .record-row > :nth-child(4) { display: none; }.analytics-hero, .employee-hero { align-items: flex-start; flex-direction: column; padding: 20px; }.analytics-hero > div:first-child, .employee-hero > div:first-child { width: 100%; }.hero-number { width: 100%; text-align: left; }.hero-progress { width: 100%; justify-content: flex-start; }.analytics-hero h2, .employee-hero h2 { font-size: 18px; }.analytics-grid { margin-top: 14px; }.panel { padding: 15px; }.quick-actions { grid-template-columns: 1fr; }.employee-day { grid-template-columns: 62px minmax(0, 1fr); gap: 10px; }.employee-day-title { padding-right: 8px; }.employee-day > .day-add { grid-column: 2; justify-self: start; }.calendar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }.calendar-toolbar { align-items: flex-start; flex-direction: column; }.calendar-toolbar .date-stepper { width: 100%; }.pass-card { padding: 20px 16px; }.modal-backdrop { padding: 0; align-items: end; }.modal { max-height: 92vh; padding: 20px 16px 25px; border-radius: 22px 22px 0 0; }.modal .form-grid { grid-template-columns: 1fr; }.field-heading { align-items: flex-start; flex-direction: column; }.break-pills { justify-content: flex-start; }.modal-actions { position: sticky; bottom: -25px; padding: 13px 0 0; background: #fff; }.modal-actions .btn { flex: 1; }.toast-root { right: 14px; left: 14px; bottom: 91px; }.toast { justify-content: center; }.mobile-nav { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 35; min-height: 65px; padding: 7px 6px; border: 1px solid rgba(226,232,240,.9); border-radius: 20px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; background: rgba(255,255,255,.92); box-shadow: 0 15px 35px rgba(15,23,42,.12); backdrop-filter: blur(16px); }.mobile-nav .nav-item { min-height: 48px; padding: 5px 3px; border-radius: 13px; flex-direction: column; justify-content: center; gap: 4px; color: var(--soft-muted); background: transparent; font-size: 8px; text-align: center; }.mobile-nav .nav-item .icon { width: 16px; height: 16px; }.mobile-nav .nav-item.is-active { color: var(--indigo); background: var(--indigo-soft); }.quick-add { width: 43px; height: 43px; margin: -20px auto 0; border: 4px solid var(--bg); border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--indigo); box-shadow: 0 8px 18px rgba(79,70,229,.28); }.quick-add .icon { width: 18px; height: 18px; }
}
@media (max-width: 390px) { .page-actions { flex-direction: column; }.page-actions .btn { width: 100%; flex: auto; }.stat-grid, .stat-grid-3, .stat-grid-2 { grid-template-columns: 1fr 1fr; }.shift-line-main span { max-width: 125px; }.date-stepper strong { font-size: 10px; }.date-stepper span { font-size: 8px; } }

/* Functional parity surfaces: these additions stay inside the existing light/indigo system. */
.hidden, .is-hidden { display: none !important; }
.icon-btn { min-width: 40px; min-height: 40px; }
.night-icon { display: inline-flex; width: 12px; height: 12px; vertical-align: -2px; color: #857446; }
.night-icon svg { width: 100%; height: 100%; }
.shift-line-night { background: linear-gradient(90deg, rgba(250,245,255,.65), transparent); }
.day-off-line, .day-off-record { background: linear-gradient(90deg, rgba(241,245,249,.75), transparent); }
.day-off-row { min-height: 40px; padding: 9px 11px; border: 1px dashed #cbd5e1; border-radius: 10px; display: flex; align-items: center; gap: 9px; color: var(--muted); background: #f8fafc; }
.day-off-row strong { color: var(--ink); font-size: 10px; }
.day-off-row span { flex: 1; font-size: 9px; }
.dot-off { background: #78827b !important; }
.analytics-tabs { width: fit-content; margin-bottom: 16px; }
.analytics-filters { margin-bottom: 13px; }
.team-tabs { display: flex; gap: 4px; margin: 12px 0 15px; padding: 4px; border-radius: 10px; background: #f1f3f8; }
.team-tabs .filter-pill { flex: 1; }
.site-avatar { width: 32px; height: 32px; border: 1px solid #dbe4ff; border-radius: 10px; display: grid; place-items: center; color: var(--indigo); background: var(--indigo-soft); }
.site-avatar .icon { width: 15px; height: 15px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.team-detail-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.team-detail-stats .stat-card { min-height: 110px; padding: 13px; }
.team-detail-stats .stat-card > strong { margin-top: 13px; font-size: 24px; }
.inline-note { color: var(--soft-muted); font-size: 10px; line-height: 1.55; }
.methodology-copy, .modal-copy { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.day-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.day-total { display: block; margin-top: 8px; color: var(--soft-muted); font-size: 9px; font-weight: 800; text-align: right; }
.employee-shift .icon-btn { flex: 0 0 auto; width: 28px; height: 28px; }
.timeline-list { display: grid; gap: 10px; }
.timeline-row { display: grid; grid-template-columns: minmax(150px, .65fr) minmax(220px, 1.8fr) 54px; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid #e9edf5; }
.timeline-row:last-child { border-bottom: 0; }
.timeline-row strong, .timeline-row small { display: block; }
.timeline-row strong { font-size: 10px; }
.timeline-row small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.timeline-row b { font-size: 10px; text-align: right; }
.timeline-track { position: relative; height: 12px; overflow: hidden; border-radius: 999px; background: #eef1f7; }
.timeline-track span { position: absolute; top: 0; bottom: 0; min-width: 6px; border-radius: inherit; background: linear-gradient(90deg, #818cf8, var(--indigo)); }
.quick-time-controls { display: grid; gap: 8px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fafbfe; }
.quick-time-head { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 9px; font-weight: 700; }
.quick-time-head strong { color: var(--ink); font-size: 10px; }
.quick-time-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 8px; align-items: center; }
.quick-time-row .icon-btn { width: auto; font-size: 9px; font-weight: 800; }
.quick-time-row input[type="range"] { min-height: 26px; padding: 0; border: 0; background: transparent; accent-color: var(--indigo); }
.ampm-row { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.ampm-row > span { margin-right: 4px; color: var(--soft-muted); font-size: 9px; font-weight: 800; }
.ampm-row .filter-pill { padding: 6px 8px; }
.break-editor { display: grid; gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.break-editor .field-heading { align-items: flex-start; }
.break-list { display: grid; gap: 7px; }
.break-row { display: grid; grid-template-columns: 24px minmax(90px, 1fr) 100px 100px auto 30px; gap: 6px; align-items: center; }
.break-row input { min-height: 34px; padding: 0 7px; font-size: 9px; }
.break-row .count-badge { width: 24px; padding: 5px 0; text-align: center; }
.break-minutes { color: var(--muted); font-size: 9px; font-weight: 800; white-space: nowrap; }
.break-row .icon-btn { width: 30px; height: 30px; }
.date-field-wrap { display: flex; gap: 6px; align-items: center; }
.date-field-wrap input { min-width: 0; flex: 1; }
.btn-small { min-height: 34px; padding: 0 9px; font-size: 9px; }
.calendar-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.calendar-modal-head strong { font-size: 14px; }
.calendar-weekdays, .calendar-cells { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.calendar-weekdays { margin-bottom: 6px; color: var(--soft-muted); font-size: 9px; font-weight: 800; text-align: center; }
.calendar-cell { min-height: 38px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #f7f9fb; font-size: 10px; font-weight: 700; }
.calendar-cell:hover { border-color: #cfd5ff; background: var(--indigo-soft); }
.calendar-cell.is-outside { color: var(--soft-muted); background: #f8fafc; }
.export-options { display: grid; gap: 9px; }
.export-option { padding: 13px; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 32px 1fr; gap: 2px 10px; background: #fff; color: var(--ink); text-align: left; }
.export-option:hover { border-color: #cfd5ff; background: var(--indigo-soft); }
.export-option > span { grid-row: span 2; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--indigo); background: #dee4ed; }
.export-option strong { align-self: end; font-size: 10px; }
.export-option small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.record-detail-heading { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.record-detail-heading h3 { margin: 0; font-size: 17px; }
.record-detail-heading p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.record-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.record-detail-grid > div { padding: 11px; border-radius: 11px; background: #eff2f5; }
.record-detail-grid span, .record-detail-grid strong { display: block; }
.record-detail-grid span { color: var(--muted); font-size: 9px; }
.record-detail-grid strong { margin-top: 5px; font-size: 12px; }
.detail-list { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.detail-list > div { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; }
.detail-list span { color: var(--muted); }

@media (max-width: 760px) {
  .timeline-row { grid-template-columns: 1fr auto; gap: 8px 10px; }
  .timeline-track { grid-column: 1 / -1; grid-row: 2; }
  .break-row { grid-template-columns: 24px minmax(0, 1fr) 30px; }
  .break-row input[type="time"] { grid-column: span 1; }
  .break-minutes { grid-column: 2; }
  .break-row .icon-btn { grid-column: 3; grid-row: 1 / span 2; }
  .team-detail-stats, .record-detail-grid { grid-template-columns: 1fr 1fr; }
.record-detail-grid > div:last-child { grid-column: 1 / -1; }
}

/* Auth entry keeps the same light workspace system before the shell is unlocked. */
body.auth-screen { background: var(--bg); }
body.auth-screen .app-shell { display: block; min-height: 100vh; }
body.auth-screen .desktop-sidebar, body.auth-screen .desktop-topbar, body.auth-screen .mobile-nav { display: none; }
body.auth-screen .main-shell { min-height: 100vh; }
body.auth-screen .view-root { max-width: none; min-height: 100vh; padding: 0; }
.login-page { min-height: 100vh; padding: 28px 20px; position: relative; display: grid; place-items: center; overflow: hidden; background: #f4f6fa; }
.login-glow { width: 280px; height: 280px; position: absolute; border-radius: 50%; filter: blur(3px); pointer-events: none; }
.login-glow-one { top: -150px; left: -90px; background: rgba(99, 102, 241, .09); }
.login-glow-two { right: -120px; bottom: -170px; background: rgba(6, 182, 212, .07); }
.login-card { width: min(100%, 430px); padding: 30px; position: relative; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.95); box-shadow: var(--shadow-md); }
.login-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.login-brand .brand-logo { width: 166px; height: 44px; }
.login-brand > span { padding-left: 12px; border-left: 1px solid var(--line); color: #5d6a7c; font-size: 10px; font-weight: 700; }
.login-heading { padding: 28px 0 22px; }
.login-heading h1 { margin: 7px 0 9px; font-size: 31px; letter-spacing: -.055em; }
.login-heading p:last-child { max-width: 330px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.login-form { display: grid; gap: 15px; }
.login-form > label:not(.remember-row) { display: grid; gap: 7px; color: #39404b; font-size: 10px; font-weight: 800; }
.login-form input:not([type="checkbox"]) { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fbfcff; font-size: 11px; }
.login-form input:not([type="checkbox"]):focus { border-color: #a5b4fc; background: #fff; }
.remember-row { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); cursor: pointer; }
.remember-row input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--indigo); }
.remember-row span { display: grid; gap: 3px; }
.remember-row strong { font-size: 10px; }
.remember-row small { color: #5d6a7c; font-size: 9px; font-weight: 500; }
.login-error { margin: -2px 0 0; padding: 10px 11px; border: 1px solid #fecdd3; border-radius: 10px; color: #be123c; background: #fff1f2; font-size: 10px; line-height: 1.45; }
.login-submit { width: 100%; min-height: 46px; margin-top: 2px; }
.login-footer { display: grid; gap: 8px; margin-top: 20px; color: #5d6a7c; font-size: 9px; line-height: 1.5; text-align: center; }
.login-footer small { color: #0047ab; font-size: 9px; font-weight: 700; }
.topbar-signout { min-height: 36px; padding: 0 10px; font-size: 10px; }

@media (max-width: 760px) {
  .login-page { padding: 18px 14px; place-items: center; }
  .login-card { padding: 22px 18px; border-radius: 18px; }
  .login-brand { padding-bottom: 20px; }
  .login-brand .brand-logo { width: 145px; height: 40px; }
  .login-brand > span { display: none; }
  .login-heading { padding: 22px 0 18px; }
  .login-heading h1 { font-size: 28px; }
}

/* ShiftLog / Field Notes — an editorial workspace for working time. */
:root { --sidebar-width: 224px; --radius-md: 12px; --radius-lg: 16px; --shadow-sm: none; --shadow-md: 0 20px 60px #1c362016; }
body { font-size: 14px; }
h1,h2,h3,.wordmark,.stat-card > strong { font-family: 'Manrope', sans-serif; }
.wordmark { display: inline-flex; align-items: center; font-size: 29px; font-weight: 800; letter-spacing: -1.6px; white-space: nowrap; }
.brand-symbol { display: grid; place-items: center; width: 32px; height: 36px; margin-right: 10px; color: #89abdb; }
.brand-symbol .icon { width: 30px; height: 30px; }
.brand-period { color: #5d7aa3; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 34px 18px 20px; background: #002f73; color: #e7edf5; border: 0; }
.sidebar-brand { padding: 0 8px 48px; }
.sidebar-label { color: #a1abb8; font-size: 9px; letter-spacing: .19em; padding-bottom: 16px; }
.sidebar-links { gap: 8px; }
.sidebar .nav-item { min-height: 48px; padding: 0 14px; color: #c5cbd4; border-radius: 7px; font-size: 12px; font-weight: 500; }
.sidebar .nav-item:hover { background: #ffffff0c; color: white; }
.sidebar .nav-item.is-active { color: #002f73; background: #c7ddff; }
.sidebar .nav-item.is-active .icon { color: inherit; }
.sidebar .nav-item.is-active::after { content: '↗'; margin-left: auto; font-size: 18px; }
.sidebar-note { border: 0; border-top: 1px solid #ffffff21; padding: 20px 0; margin: 0 8px; border-radius: 0; background: none; }
.sidebar-note strong { font-weight: 500; font-size: 11px; }
.sidebar-note div span { color: #a7b0bd; font-size: 10px; margin-top: 7px; }
.sidebar-profile { background: #ffffff08; color: white; border: 1px solid #ffffff1a; border-radius: 8px; padding: 12px 8px; }
.sidebar-profile small { color: #b6bec8; }
.topbar { height: 72px; padding: 0 40px; background: #f5f4eef2; border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.topbar-context { font-size: 11px; font-weight: 400; }
.topbar .context-dot { box-shadow: none; background: #516683; width: 5px; height: 5px; }
.topbar-signout { box-shadow: none; border: 0; background: transparent; color: var(--muted); }
.role-switch { border: 0; background: transparent; font-weight: 500; }
.avatar { border-radius: 50%; width: 34px; height: 34px; flex-basis: 34px; font-weight: 600; }
.avatar-indigo,.avatar-teal { background: #dbe2ed; color: #36465c; border-color: #c9d1dc; }
.avatar-blue { background: #e7edf0; color: #4f697a; border-color: #dce4e8; }
.avatar-purple { background: #efe6d8; color: #896d42; border-color: #e8dccb; }
.view-root { max-width: 1550px; padding: 40px 40px 72px; }
.page-header { margin-bottom: 32px; align-items: center; }
.eyebrow { color: #667487; font-size: 9px; letter-spacing: .17em; font-weight: 600; }
.page-header h1 { font-size: clamp(34px,3.4vw,48px); font-weight: 500; letter-spacing: -.055em; margin: 10px 0 12px; }
.page-description { font-size: 12px; line-height: 1.7; }
.btn { border-radius: 7px; min-height: 42px; padding: 0 16px; font-weight: 600; }
.btn-primary { background: #0047ab; box-shadow: none; }
.btn-primary:hover { background: #17263c; }
.btn-secondary { background: #f8fafc; border-color: #cdd2d9; color: #363e48; }
.icon-btn { border-radius: 6px; background: transparent; min-height: 34px; min-width: 34px; }
.btn:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible { outline: 3px solid #6280a9; outline-offset: 3px; }
.toolbar-row { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 0 0 22px; }
.toolbar-pills,.tab-switcher,.team-tabs { background: #dfe3e9; border: 0; border-radius: 7px; }
.filter-pill { font-size: 11px; font-weight: 500; border-radius: 5px; padding: 9px 18px; }
.filter-pill.is-selected { background: #fffef8; color: #263346; }
.date-stepper { background: transparent; box-shadow: none; border: 0; gap: 14px; }
.date-stepper strong { font-size: 12px; font-weight: 600; }.date-stepper span { font-size: 10px; }
.stat-grid { gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #ffffff; }
.stat-card { min-height: 138px; padding: 20px 24px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.stat-card:last-child { border-right: 0; }
.stat-label { font-size: 11px; font-weight: 500; }.stat-icon { background: transparent!important; color: #707f93!important; width: 24px; height: 24px; }
.stat-card > strong { font-size: 35px; font-weight: 500; margin-top: 12px; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.stat-meta { margin-top: 9px; font-size: 10px; }
.section-block { margin-top: 32px; }.section-heading { margin-bottom: 20px; align-items: center; }.section-heading h2 { font-size: 23px; font-weight: 500; margin: 7px 0; }.section-heading p:not(.eyebrow) { font-size: 11px; }
.live-chip { border: 1px solid #c8d0db; background: #e5eaf1; padding: 8px 11px; border-radius: 20px; font-size: 9px; }.status-pulse { background: #6780a3; box-shadow: none; width: 6px; height: 6px; flex-basis: 6px; }
.schedule-list { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #ffffff; }
.day-card { display: grid; grid-template-columns: 185px minmax(0,1fr); padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.day-card:last-child { border-bottom: 0; }.day-card-header { display: grid; grid-template-columns: 50px 1fr 30px; gap: 8px; padding: 18px 14px; border: 0; border-right: 1px solid var(--line); background: #f0f3f8; align-items: center; }
.day-kicker { font-size: 9px; color: #677588; letter-spacing: .12em; }.ledger-date strong { font-family: 'Manrope',sans-serif; font-size: 28px; font-weight: 500; margin-top: 3px; }
.day-card-summary { text-align: left; line-height: 1.6; font-size: 9px; }.day-card-summary strong { font-size: 10px; font-weight: 500; }.day-card-header .icon-btn { min-width: 28px; width: 28px; height: 28px; min-height: 28px; border: 0; }
.is-reference-day .day-card-header { background: #d9e1ed; }.is-reference-day .day-kicker { color: #31435c; }
.day-shifts { padding: 0 20px; align-content: center; }.shift-line { min-height: 77px; padding: 14px 0; gap: 16px; }.shift-line:last-child { padding-bottom: 14px; }.shift-line-main { flex: 1; }.shift-line-main strong { font-size: 12px; font-weight: 600; }.shift-line-main span { font-size: 10px; margin-top: 5px; }.shift-line-detail { display: block; min-width: 90px; }.shift-line-detail strong { font-size: 12px; font-weight: 500; }.shift-line-detail span { font-size: 9px; }.mini-btn { border: 0; background: transparent; padding: 8px; font-weight: 500; }.mini-btn:hover { background: #e3e9f1; }.mini-btn .icon { width: 14px; height: 14px; }.shift-line-night { background: none; }.night-icon { color: #9b834b; }.empty-day { padding: 24px 0; text-align: left; font-size: 11px; color: #7a889b; }.empty-day button { float: right; padding: 3px 8px; font-size: 10px; }
.panel,.records-table,.team-totals,.pass-card { background: #ffffff; border-color: var(--line); border-radius: 10px; box-shadow: none; }.panel { padding: 24px; }.filter-panel { background: transparent; padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }.filter-group,.filter-panel label { font-size: 10px; font-weight: 500; }
input,select,textarea { border-radius: 6px; font-size: 12px; min-height: 42px; background: #ffffff; font-weight: 400; }.search-control { border-radius: 6px; background: #ffffff; }
.record-head { background: #e4e8ee; font-weight: 500; }.record-row { min-height: 76px; }.record-row:hover { background: #e7ecf3; }.bar-track { background: #e5e9ef; border-radius: 3px; }.bar-track span { background: #627897; border-radius: 3px; }.bar-row.is-current .bar-track span { background: #283b56; }.analytics-hero,.employee-hero { background: #cbd8ea; border: 1px solid #bdcadd; border-radius: 10px; box-shadow: none; }.analytics-hero h2,.employee-hero h2 { color: #253245; }.hero-number strong { color: #253245; }.roster-row.is-selected { background: #e1e8f1; border-color: #c2cddc; }.pass-card { border-top: 6px solid #0047ab; }.modal { border-radius: 14px; background: #ffffff; padding: 28px; }.modal-header h2 { font-size: 28px; font-weight: 500; }.modal-header p:not(.eyebrow) { font-size: 12px; }.modal-backdrop { background: #122a2066; }.duration-preview { border-radius: 8px; }.toast { border-radius: 7px; font-size: 12px; }
.login-page { display: grid; grid-template-columns: 1.1fr 1fr; padding: 0; background: #f4f6fa; min-height: 100svh; }
.login-story { min-height: 100svh; background: #002f73; color: #dfe7f2; padding: 40px 9%; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.story-brand { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.edition { font-size: 8px; letter-spacing: .17em; color: #adb9c9; }
.story-copy { margin-top: clamp(60px,10vh,120px); }.story-copy .eyebrow { color: #a4b4ca; font-size: 9px; letter-spacing: .17em; }.story-copy h2 { font-size: clamp(46px,5.5vw,84px); line-height: 1.09; letter-spacing: -.065em; font-weight: 400; margin: 22px 0; }.story-copy em { font-family: Georgia,serif; font-weight: 400; color: #a8c1e4; }.story-copy > p:last-child { max-width: 350px; color: #bdc4cd; font-size: 13px; line-height: 1.85; }
.rhythm-art { margin: 42px 0 48px; }.rhythm-label { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .16em; color: #9facbd; margin-bottom: 16px; }.rhythm-grid { position: relative; display: grid; grid-template-columns: repeat(7,1fr); height: 160px; border-top: 1px solid #ffffff1c; border-bottom: 1px solid #ffffff1c; }.rhythm-grid > i { border-left: 1px solid #ffffff14; }.rhythm-grid > i:last-of-type { border-right: 1px solid #ffffff14; }.rhythm-block { position: absolute; height: 35px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; border-radius: 3px; font-size: 10px; font-weight: 500; }.rb-one { top: 12px; left: 0; width: 43%; background: #a8c2e7; color: #002f73; }.rb-two { top: 62px; left: 29%; width: 42%; background: #78869a; color: #131f2f; }.rb-three { top: 112px; left: 57%; width: 43%; background: #f0edce; color: #2b3646; }.rhythm-days { display: grid; grid-template-columns: repeat(7,1fr); color: #9da9b9; font-size: 8px; margin-top: 12px; text-align: center; }.story-footer { margin-top: auto; display: flex; justify-content: space-between; gap: 20px; font-size: 8px; color: #a2abb8; }
.login-card { width: min(100%,440px); padding: 40px; border: 0; border-radius: 0; background: transparent; box-shadow: none; justify-self: center; }.login-brand { display: none; }.login-heading { padding: 0 0 32px; }.login-heading h1 { font-family: 'Manrope',sans-serif; font-size: 40px; font-weight: 500; letter-spacing: -.06em; margin: 16px 0; }.login-heading p:last-child { font-size: 13px; line-height: 1.8; }.login-form { gap: 22px; }.login-form > label:not(.remember-row) { font-size: 11px; font-weight: 500; gap: 9px; }.login-form input:not([type="checkbox"]) { border-radius: 6px; min-height: 50px; background: #ffffff; font-size: 12px; border-color: #cbd1d9; }.remember-row strong { font-weight: 500; font-size: 11px; }.remember-row small { font-size: 10px; }.remember-row input { accent-color: #0047ab; }.login-submit { justify-content: space-between; min-height: 50px; margin-top: 4px; }.login-footer { text-align: left; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 30px; font-size: 10px; line-height: 1.7; }.login-footer small { font-size: 10px; color: #465467; font-weight: 500; }
@media(min-width:1500px) { .view-root { padding-left: 64px; padding-right: 64px; }.day-card { grid-template-columns: 220px minmax(0,1fr); }.day-card-header { padding-left: 24px; padding-right: 24px; } }
@media(max-width:1100px) { :root { --sidebar-width: 194px; }.sidebar { padding-left: 12px; padding-right: 12px; }.view-root { padding: 32px 26px 70px; }.topbar { padding: 0 26px; }.stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.stat-card:nth-child(2) { border-right: 0; }.stat-card:nth-child(n+3) { border-top: 1px solid var(--line); }.stat-grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }.stat-grid-3 .stat-card { border-top: 0; }.login-story { padding: 32px 8%; }.edition { display: none; } }
@media(max-width:760px) { .view-root { padding: 28px 18px 110px; }.topbar { height: 66px; padding: 0 18px; }.wordmark { font-size: 25px; }.page-header { gap: 20px; align-items: flex-start; }.page-header h1 { font-size: 38px; }.page-actions { gap: 8px; }.page-actions .btn { font-size: 10px; }.toolbar-row { gap: 8px; padding: 10px 0; }.toolbar-pills { width: auto; }.date-stepper { padding: 6px 0; }.stat-card { padding: 16px; min-height: 128px; }.stat-card > strong { font-size: 30px; }.stat-grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }.stat-grid-3 .stat-card:last-child { border-top: 1px solid var(--line); }.section-heading { align-items: flex-start; gap: 12px; }.section-heading h2 { font-size: 23px; }.day-card { grid-template-columns: 1fr; }.day-card-header { display: flex; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; gap: 18px; }.ledger-date { display: flex; align-items: center; gap: 9px; }.ledger-date strong { font-size: 21px; margin: 0; }.day-card-summary { display: flex; flex: 1; gap: 8px; align-items: center; }.day-card-header .icon-btn { margin-left: auto; }.day-shifts { padding: 0 12px; }.shift-line { gap: 6px; }.shift-line-main { gap: 8px; }.shift-line-main span { font-size: 9px; white-space: normal; line-height: 1.5; }.shift-line-main strong { font-size: 11px; }.shift-line-detail { min-width: 63px; }.shift-line-detail strong { font-size: 11px; }.mini-btn span:not(.icon) { display: none; }.avatar { width: 29px; height: 29px; flex-basis: 29px; }.mobile-nav { background: #002f73; border-color: #364457; border-radius: 12px; bottom: max(10px,env(safe-area-inset-bottom)); }.mobile-nav .nav-item { color: #bbc2cb; }.mobile-nav .nav-item.is-active { background: #c7ddff; color: #002f73; border-radius: 7px; }.quick-add { background: #c7ddff; color: #002f73; border-color: #002f73; box-shadow: none; }.panel { padding: 18px; }.modal { padding: 22px 16px; border-radius: 16px 16px 0 0; }.modal-actions { background: #ffffff; }.login-page { display: block; }.login-story { min-height: auto; padding: 25px 28px 30px; }.story-copy { margin-top: 34px; }.story-copy h2 { font-size: 46px; margin: 14px 0; }.story-copy > p:last-child { font-size: 12px; max-width: 340px; }.rhythm-art,.story-footer { display: none; }.login-card { padding: 36px 28px 42px; margin: auto; width: 100%; max-width: 480px; }.login-heading h1 { font-size: 34px; }.login-heading { padding-bottom: 24px; }.login-form { gap: 19px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; } }
.login-page { place-items: stretch; }.login-card { align-self: center; }.shift-line-main > .avatar { display: inline-grid; margin-top: 0; place-items: center; }.topbar-icon > svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bar-row { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 6px 0; }.bar-label { grid-column: 1 / -1; }.bar-label span,.bar-label strong { font-size: 11px; font-weight: 500; }.bar-track { grid-column: 1; }.bar-meta { grid-column: 2; min-width: 65px; text-align: right; }.analytics-filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media(min-width:1101px) { .stat-grid-3:has(> :nth-child(4)) { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media(max-width:1100px) { .stat-grid-3:has(> :nth-child(4)) { grid-template-columns: repeat(2,minmax(0,1fr)); }.stat-grid-3:has(> :nth-child(4)) > :nth-child(n+3) { border-top: 1px solid var(--line); } }
@media(max-width:760px) { .analytics-filters { grid-template-columns: 1fr; } }
.pass-brand-symbol { display: inline-grid!important; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: #0047ab; background: #dae2ed; }.pass-brand-symbol .icon { width: 25px; height: 25px; margin: 0; }

/* Worker journal, time-first editor, and data-led reporting. */
.worker-workspace,.insights-workspace,.pass-workspace { --muted:#5a6677; }
.worker-workspace .page-description,.insights-workspace .page-description,.pass-workspace .page-description { font-size:14px; }
.worker-workspace .eyebrow,.insights-workspace .eyebrow,.pass-workspace .eyebrow { font-size:11px; }
.worker-start { display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:36px 40px;background:#002f73;color:#edf2f8;border-radius:16px; }
.worker-start-copy .eyebrow,.worker-week-total>.eyebrow { color:#adbdd3;font-size:11px;line-height:1.6; }
.worker-start h2 { font-size:clamp(30px,3vw,44px);line-height:1.15;font-weight:500;letter-spacing:-.055em;margin:18px 0 12px; }
.worker-start-copy>p:not(.eyebrow) { color:#c3cad3;font-size:14px;line-height:1.6; }
.worker-start .btn-primary { margin-top:12px;background:#c7ddff;color:#002f73;font-size:14px;min-height:50px;padding:0 24px; }
.worker-start .btn-primary:hover { background:#c9daf3; }.worker-readonly { display:inline-block;margin-top:18px;color:#c7ddff; }
.worker-week-total { border-left:1px solid #ffffff24;padding:4px 0 0 36px; }
.worker-week-total>strong { display:block;font-family:Manrope,sans-serif;font-size:clamp(44px,5vw,72px);font-weight:500;letter-spacing:-.06em;line-height:1.3;margin:10px 0 14px; }
.worker-week-total>strong small { font-family:'DM Sans',sans-serif;font-size:20px;letter-spacing:0;margin-left:9px;color:#adbdd3; }
.worker-total-facts { display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:#c3cad3; }.worker-total-facts b { color:#edf2f8;font-weight:600; }
.mini-week { display:grid;grid-template-columns:repeat(7,1fr);gap:14px;margin-top:18px; }.mini-week>div>div { height:58px;display:flex;align-items:flex-end; }.mini-week i { display:block;width:100%;background:#ffffff1a;border-radius:4px 4px 0 0; }.mini-week i.has-hours { background:#7b97bf; }.mini-week span { display:block;text-align:center;font-size:11px;margin-top:9px;color:#adbdd3; }
.worker-utility { display:flex;justify-content:space-between;gap:14px;align-items:center;padding:18px 4px;color:#5a6677;font-size:13px; }.worker-utility>span,.worker-utility button { display:flex;align-items:center;gap:8px; }.worker-utility strong { color:#29384d; }.worker-utility button { background:transparent;color:#0047ab;font-size:13px; }
.worker-log { margin-top:24px; }.worker-log .section-heading h2 { font-size:26px; }.journal-days { display:grid;gap:12px; }
.journal-day { display:grid;grid-template-columns:55px minmax(0,1fr) 100px;align-items:center;gap:22px;border:1px solid #d4d9e1;background:#ffffff;border-radius:12px;padding:20px; }.journal-day.is-open { background:transparent;border-style:dashed; }.journal-date span { display:block;font-size:11px;letter-spacing:.1em;color:#667487; }.journal-date strong { font-family:Manrope,sans-serif;font-weight:500;font-size:30px; }.journal-entry { display:grid;grid-template-columns:minmax(100px,1fr) minmax(170px,1.2fr) 65px 34px;align-items:center;gap:16px; }.journal-entry+.journal-entry { border-top:1px solid #dfe3e9;margin-top:18px;padding-top:18px; }.journal-entry-info>strong,.journal-time>strong { display:block;font-size:14px;font-weight:500; }.journal-entry-info>span,.journal-time>span { display:flex;align-items:center;gap:5px;color:#667488;font-size:12px;margin-top:8px;line-height:1.5; }.journal-entry-info .icon { width:13px;height:13px; }.journal-hours { font-size:18px;font-weight:500;text-align:right; }.journal-hours small { display:block;font-size:11px;color:#667488;margin-top:5px; }.journal-actions { display:grid;justify-items:end;gap:8px; }.journal-add { display:flex;align-items:center;gap:5px;min-height:38px;padding:8px;border-radius:6px;color:#0047ab;background:#e3e9f2;font-size:12px; }.journal-add .icon { width:15px;height:15px; }.journal-off { padding:6px;background:transparent;color:#687689;font-size:11px; }.journal-empty,.journal-readonly { color:#6b7a8e;font-size:13px; }.journal-empty { display:flex;gap:15px;align-items:center; }.journal-lock { color:#7c899c; }
.insights-period { display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0;color:#5a6778;font-size:12px; }.insight-metrics { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 24px; }.insight-metrics .stat-card { background:#ffffff;border:1px solid #d2d8e1;border-radius:10px;padding:20px;min-height:140px; }.insight-metrics .stat-label { font-size:12px; }.insight-metrics .stat-meta { font-size:11px;line-height:1.5; }.insight-metrics .stat-card>strong { font-size:32px; }
.visual-grid { display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:20px; }.viz-card { background:#ffffff;border:1px solid #d2d8e1;border-radius:12px;padding:26px;min-width:0; }.viz-heading { display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:28px; }.viz-heading h2 { margin:8px 0 0;font-size:23px;font-weight:500;letter-spacing:-.04em; }.viz-note { color:#69788c;font-size:11px;text-align:right;max-width:150px;line-height:1.6; }.column-chart { display:flex;gap:12px;height:230px;padding-top:20px; }.chart-axis { display:flex;flex-direction:column;justify-content:space-between;height:160px;width:32px;flex:0 0 32px;color:#778599;font-size:10px; }.chart-plot { display:flex;align-items:flex-end;justify-content:space-around;position:relative;gap:12px;flex:1;height:160px;min-width:0; }.chart-gridlines { position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none; }.chart-gridlines i { border-top:1px dashed #d5dbe4;width:100%; }.chart-column { width:100%;max-width:58px;position:relative;z-index:1;text-align:center; }.column-bar { position:relative;border-radius:6px 6px 0 0;background:#acbed7;min-height:3px; }.highlight .column-bar { background:#0047ab; }.column-value { font-size:12px;color:#536277;position:absolute;top:-25px;left:50%;transform:translateX(-50%);white-space:nowrap; }.highlight .column-value { color:#0047ab;font-weight:700; }.column-label { position:absolute;top:calc(100% + 15px);left:50%;transform:translateX(-50%);font-size:10px;color:#667487;white-space:nowrap; }
.time-breakdown { border-top:1px solid #d8dde5;padding-top:20px; }.breakdown-labels { display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;font-size:11px;color:#677588; }.breakdown-labels span { display:flex;gap:6px;align-items:center; }.breakdown-labels strong { color:#2d3a4d;font-weight:500; }.breakdown-labels i { width:7px;height:7px;background:#0047ab;border-radius:2px; }.breakdown-labels span:last-child i { background:#bdcbde; }.breakdown-track { height:9px;background:#bdcbde;border-radius:4px;overflow:hidden;margin:13px 0; }.breakdown-track>span { display:block;height:100%;background:#0047ab; }.time-breakdown p,.chart-footnote { font-size:11px;color:#69788c;line-height:1.7;margin:12px 0 0; }
.site-distribution { display:flex;flex-direction:column;align-items:center;gap:28px; }.data-donut { width:170px;height:170px;border-radius:50%;background:conic-gradient(var(--segments));padding:19px;transform:rotate(-90deg); }.data-donut>div { display:flex;flex-direction:column;align-items:center;justify-content:center;background:#ffffff;width:100%;height:100%;border-radius:50%;transform:rotate(90deg); }.data-donut strong { font-family:Manrope,sans-serif;font-size:42px;line-height:1.2;font-weight:500; }.data-donut span { font-size:12px;color:#6a788c;margin-top:5px; }.donut-legend { width:100%;display:grid;gap:15px; }.donut-legend>div { display:grid;grid-template-columns:8px minmax(0,1fr) auto 30px;align-items:center;gap:8px;font-size:12px; }.donut-legend i { width:7px;height:7px;border-radius:2px; }.donut-legend strong { font-weight:500; }.donut-legend small { color:#738296;font-size:10px;text-align:right; }.empty-chart { color:#6e7d91;font-size:13px;line-height:1.7; }
.people-chart { display:grid;gap:24px; }.people-chart-row { display:flex;align-items:flex-start;gap:12px; }.people-chart-row>div { flex:1;min-width:0; }.people-chart-label { display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:14px; }.people-chart-label strong { font-weight:500; }.people-chart-label small { color:#68768a;font-size:11px; }.people-chart-track { background:#e6eaf0;height:10px;overflow:hidden;border-radius:3px;margin:10px 0 6px; }.people-chart-track i { height:100%;display:block;background:#58749c;border-radius:3px; }.people-chart-row:first-child .people-chart-track i { background:#0047ab; }.people-chart-row>div>small { color:#728195;font-size:11px; }
.insight-note { background:#dbe3ee;display:flex;flex-direction:column;justify-content:center; }.insight-note>.icon { width:28px;height:28px;margin-bottom:22px;color:#3f5676; }.insight-note>strong { display:block;font-family:Manrope,sans-serif;font-size:48px;font-weight:500;letter-spacing:-.055em;margin:14px 0; }.insight-note>strong small { display:block;font-family:'DM Sans',sans-serif;font-size:14px;letter-spacing:0;margin-top:6px;color:#5e6d81; }.insight-note>p:not(.eyebrow) { font-size:13px;line-height:1.7;color:#546174; }.insight-note>div { display:grid;gap:12px;border-top:1px solid #bac6d8;padding-top:20px;margin-top:18px;color:#4f5e74;font-size:12px; }
.coverage-card { margin-top:20px; }.coverage-axis { display:flex;justify-content:space-between;margin:0 65px 18px 225px;font-size:10px;color:#69778b; }.coverage-rows { display:grid;gap:18px; }.coverage-row { display:grid;grid-template-columns:205px minmax(0,1fr) 55px;align-items:center;gap:20px; }.coverage-row>div:first-child strong { font-size:13px;font-weight:500;display:block; }.coverage-row small { display:block;font-size:10px;color:#6d7c90;margin-top:5px; }.coverage-row>span { font-size:12px;text-align:right; }.coverage-track { height:26px;position:relative;background:repeating-linear-gradient(90deg,#e4e9f0 0,#e4e9f0 calc(25% - 1px),#d0d8e3 calc(25% - 1px),#d0d8e3 25%);border-radius:4px; }.coverage-track i { position:absolute;top:5px;height:16px;background:#4e6a91;border-radius:3px; }.coverage-track i.coverage-continuation { background:#a2b5cf; }
.shift-modal { width:min(760px,100%); }.shift-modal .modal-header { margin-bottom:22px; }.shift-modal .modal-header .eyebrow { font-size:12px; }.simple-shift-form { gap:20px!important; }.simple-shift-form label { font-size:13px;font-weight:500;color:#465160; }.simple-shift-form input,.simple-shift-form select,.simple-shift-form textarea { font-size:14px;min-height:44px; }.simple-shift-form .mode-switch { background:#e3e8f0; }.simple-shift-form .mode-switch button { font-size:13px;display:flex;align-items:center;justify-content:center;gap:8px;height:42px; }.shift-basics { display:grid;grid-template-columns:1fr 1fr;gap:16px; }.shift-basics label { display:grid;gap:8px; }.shift-basics .employee-field { grid-column:1/-1; }.shift-basics .date-field-wrap { gap:6px; }.shift-basics .date-field-wrap input { min-width:0; }.time-dials { display:grid;grid-template-columns:1fr 1fr;gap:14px; }.time-dial { background:#e8edf4;border:1px solid #d0d8e4;border-radius:12px;padding:18px;min-width:0; }.time-dial-heading { display:flex;justify-content:space-between;align-items:center;gap:10px; }.time-period { display:flex;padding:3px;background:#d6dee8;border-radius:6px;gap:3px; }.time-period button { padding:5px 8px;color:#667488;background:transparent;border-radius:4px;font-size:11px; }.time-period button.is-active { background:#0047ab;color:#fff; }.time-dial>input[type=time] { font-family:Manrope,sans-serif;font-size:32px;font-weight:500;letter-spacing:-.04em;border:0;background:transparent;padding:8px 0;min-height:64px;color:#233349; }.time-dial>input::-webkit-calendar-picker-indicator { font-size:16px;opacity:.4; }.dial-slider { display:flex;align-items:center;gap:8px; }.dial-slider button { flex:0 0 34px;min-height:38px;color:#3b4b62;background:#d6dfeb;border-radius:5px;font-size:11px;padding:0; }.dial-slider input[type=range] { padding:0;border:0;min-width:0;width:100%;height:30px;min-height:30px;accent-color:#0047ab;cursor:pointer;background:transparent; }.dial-scale { display:flex;justify-content:space-between;margin:5px 40px 0;font-size:9px;color:#69788c; }.simple-duration { padding:15px 18px;background:#002f73;border:0;color:#c7ddff;gap:14px; }.simple-duration strong { font-family:Manrope,sans-serif;font-size:24px;font-weight:500; }.simple-duration span { color:#b5c0d0;font-size:12px;line-height:1.6; }.shift-editor-details { display:grid;gap:18px; }.simple-breaks { border:1px solid #d1d8e3;border-radius:10px;padding:18px; }.simple-breaks-heading { display:flex;align-items:center;justify-content:space-between;gap:12px; }.simple-breaks h3 { font-size:15px;font-weight:600;margin:0; }.simple-breaks h3 span { font-family:'DM Sans',sans-serif;font-size:11px;color:#778599;font-weight:400;margin-left:6px; }.simple-breaks p { font-size:12px;color:#6a798d;line-height:1.5;margin:7px 0 0; }.break-total { font-size:13px;white-space:nowrap;color:#415570; }.break-presets { display:flex;gap:8px;flex-wrap:wrap;margin-top:16px; }.break-presets button { display:flex;align-items:center;justify-content:center;gap:4px;min-height:38px;border:1px solid #c9d2de;border-radius:6px;background:#f0f4f9;color:#3a4b63;font-size:12px;padding:8px 10px; }.break-presets .icon { width:13px;height:13px; }.simple-break-row { border-top:1px solid #dce1e9;padding-top:14px;margin-top:14px; }.break-name { display:flex;align-items:center;gap:10px;margin-bottom:10px; }.break-name input { border:0;background:transparent;padding:0;font-weight:500;min-height:30px; }.break-time-fields { display:grid;grid-template-columns:1fr 15px 1fr 60px;align-items:center;gap:8px; }.break-time-fields label { display:grid;gap:6px;font-size:11px; }.break-time-fields>span { color:#8692a3;margin-top:18px; }.break-time-fields input { padding:0 8px;min-width:0; }.break-minutes { font-weight:500;font-size:12px;color:#445875;text-align:right;margin-top:18px; }.shift-extra { padding:14px 0 0;border-top:1px solid #d5dce6; }.shift-extra summary { cursor:pointer;font-size:13px;color:#495669; }.shift-extra summary span { color:#7a889b;font-size:11px;margin-left:8px; }.shift-extra label { display:grid;gap:8px;margin-top:16px; }.shift-modal .modal-actions { position:sticky;bottom:-28px;background:#ffffff;padding:16px 0;margin-top:0;border-top:1px solid #d5dce6;z-index:2; }.shift-modal .modal-actions .btn { min-height:46px;font-size:13px; }.no-breaks-note { padding:8px 0 0; }
.pass-period { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px;color:#627083;font-size:13px; }.pass-preview-frame { background:#dbe1e9;padding:30px;border-radius:14px;border:1px solid #cdd4df; }.pass-preview-image { display:block;width:100%;max-width:900px;height:auto;margin:auto;border-radius:8px;box-shadow:0 12px 35px #243f2518; }.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
@media(max-width:1200px) { .journal-day { gap:14px;grid-template-columns:44px minmax(0,1fr) 85px; }.journal-entry { grid-template-columns:minmax(0,1fr) 65px 30px;gap:10px; }.journal-time { grid-column:1;grid-row:2; }.journal-hours { grid-column:2;grid-row:1/3; }.journal-entry>.icon-btn,.journal-lock { grid-column:3;grid-row:1/3; }.visual-grid { grid-template-columns:minmax(0,1.2fr) minmax(270px,1fr); }.worker-start { padding:28px;gap:26px; }.worker-week-total { padding-left:26px; }.worker-total-facts { gap:12px; }.insight-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.insight-metrics .stat-card { border:1px solid #d2d8e1; }.viz-card { padding:22px; }.column-chart { gap:6px; }.chart-plot { gap:8px; }.column-value { font-size:10px; } }
@media(max-width:1000px) { .visual-grid { grid-template-columns:1fr; }.site-distribution { flex-direction:row; }.data-donut { flex:0 0 170px; }.insight-note>strong small { display:inline;font-size:16px;margin-left:10px; }.coverage-row { grid-template-columns:160px minmax(0,1fr) 50px;gap:12px; }.coverage-axis { margin-left:172px;margin-right:62px; } }
@media(max-width:760px) { .worker-workspace .page-header { flex-direction:row;align-items:center;gap:10px; }.worker-workspace .page-header .page-actions { width:auto; }.worker-workspace .page-header .btn { padding:0 10px;font-size:11px; }.worker-workspace .page-header h1 { font-size:32px; }.worker-workspace .page-description { font-size:12px; }.worker-start { grid-template-columns:1fr;gap:24px;padding:26px;border-radius:13px; }.worker-start h2 { font-size:35px; }.worker-start h2 br { display:none; }.worker-start-copy>p:not(.eyebrow) { font-size:13px; }.worker-start .btn-primary { width:100%;margin-top:8px;min-height:52px;font-size:15px; }.worker-week-total { padding:22px 0 0;border-left:0;border-top:1px solid #ffffff24; }.worker-week-total>strong { font-size:56px;margin:7px 0 9px; }.worker-total-facts { gap:22px; }.mini-week { margin-top:18px; }.mini-week>div>div { height:44px; }.mini-week i { max-height:44px; }.worker-utility { align-items:flex-start;flex-direction:column;font-size:12px;padding:17px 0; }.worker-log { margin-top:16px; }.worker-log .section-heading { gap:12px; }.worker-log .date-stepper { width:100%; }.journal-day { padding:15px 12px;grid-template-columns:35px minmax(0,1fr);gap:12px; }.journal-date { align-self:start; }.journal-date strong { font-size:27px; }.journal-entry { grid-template-columns:minmax(0,1fr) 48px 27px;gap:8px; }.journal-entry-info>strong { font-size:13px; }.journal-time>strong { font-size:12px;white-space:normal;line-height:1.6; }.journal-entry-info>span,.journal-time>span { font-size:11px;margin-top:4px; }.journal-hours { font-size:16px; }.journal-entry>.icon-btn { min-width:28px;width:28px;height:32px;min-height:32px; }.journal-actions { grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e4e9f0;padding-top:12px; }.journal-readonly { font-size:11px; }.journal-add { padding:6px 10px; }.journal-empty { min-height:44px; }.insight-metrics { gap:10px; }.insight-metrics .stat-card { padding:16px;min-height:133px; }.insight-metrics .stat-card>strong { font-size:29px; }.insight-metrics .stat-label { font-size:11px; }.insight-metrics .stat-meta { font-size:10px; }.insights-period { flex-wrap:wrap;margin:12px 0;font-size:11px; }.insights-period>.date-stepper { width:100%; }.viz-card { padding:20px 16px; }.viz-heading { gap:10px; }.viz-heading h2 { font-size:21px; }.viz-note { max-width:100px;font-size:10px; }.insights-workspace .eyebrow { font-size:10px; }.column-chart { height:230px;gap:7px; }.chart-axis { font-size:9px;flex-basis:26px;width:26px; }.chart-plot { gap:10px; }.column-label { font-size:9px; }.column-value { font-size:10px; }.breakdown-labels { gap:10px;font-size:10px; }.time-breakdown p,.chart-footnote { font-size:11px; }.site-distribution { gap:18px;flex-direction:column; }.data-donut { flex-basis:170px; }.donut-legend { gap:15px; }.donut-legend>div { font-size:12px; }.coverage-axis { margin-left:0;margin-right:0;margin-top:10px; }.coverage-row { grid-template-columns:1fr auto;gap:9px; }.coverage-track { grid-column:1/-1;grid-row:2; }.coverage-row>span { grid-column:2;grid-row:1; }.coverage-row>div:first-child strong { font-size:12px; }.coverage-rows { gap:22px; }.coverage-row small { font-size:11px; }.shift-modal { max-height:94svh;padding:22px 16px 14px; }.shift-modal .modal-header h2 { font-size:26px; }.shift-modal .modal-header .eyebrow { font-size:11px; }.simple-shift-form { gap:16px!important; }.shift-basics { gap:12px; }.shift-basics label { font-size:12px; }.shift-basics input,.shift-basics select { font-size:12px;padding:0 7px; }.date-field-wrap>.icon-btn { display:none; }.time-dials { gap:10px; }.time-dial { padding:12px 10px; }.time-dial-heading { flex-wrap:wrap;gap:9px; }.time-dial-heading label { font-size:12px; }.time-period button { font-size:10px;padding:4px 6px; }.time-dial>input[type=time] { font-size:24px;min-height:58px;width:100%; }.dial-slider { gap:4px; }.dial-slider button { flex-basis:28px;font-size:10px; }.dial-scale { margin:6px 0 0;font-size:8px; }.simple-duration span { font-size:11px; }.simple-breaks { padding:15px 12px; }.break-presets { gap:6px; }.break-presets button { flex:1;padding:8px 5px;font-size:11px;min-width:48px; }.break-presets .icon { display:none; }.simple-breaks h3 { font-size:14px; }.simple-breaks p { font-size:11px; }.break-time-fields { grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 48px;gap:6px; }.break-time-fields input { font-size:12px;padding:0 5px; }.break-minutes { font-size:11px; }.shift-modal .modal-actions { bottom:-14px;padding:14px 0; }.shift-modal .modal-actions .btn { min-height:48px; }.pass-period { flex-direction:column;align-items:stretch;gap:12px; }.pass-period>span { font-size:12px; }.pass-preview-frame { padding:8px;border-radius:10px; }.pass-preview-image { border-radius:4px; }.insight-note { padding:26px; } }
fieldset.shift-editor-details { border:0;padding:0;margin:0;min-width:0; }
.calendar-panel .calendar-grid { grid-template-columns:repeat(7,minmax(0,1fr));gap:10px; }.calendar-panel .calendar-day { background:#f0f4f9;border-color:#d0d8e4;min-height:140px;border-radius:9px; }.calendar-panel .calendar-day.is-today { background:#cfdbec;border-color:#869cbc; }.calendar-panel .calendar-day span { font-size:12px; }.calendar-panel .calendar-day strong { font-family:Manrope,sans-serif;font-size:30px;font-weight:500; }.calendar-panel .calendar-day small { font-size:12px; }.calendar-panel .calendar-legend { flex-wrap:wrap;font-size:12px;gap:18px; }
@media(max-width:760px) { .calendar-panel .calendar-grid { gap:5px; }.calendar-panel .calendar-day { padding:10px 3px;min-height:105px; }.calendar-panel .calendar-day span { font-size:9px;letter-spacing:0; }.calendar-panel .calendar-day strong { font-size:21px; }.calendar-panel .calendar-day small { font-size:9px; }.calendar-panel .calendar-shift-dot { width:6px;height:6px;margin-top:12px;box-shadow:none; }.calendar-panel .calendar-legend { font-size:10px;gap:12px; } }
/* Timesheet lifecycle and offline workspace. */
.workflow-sync { display:flex;align-items:center;gap:9px;padding:10px 40px;background:#e3e9f1;border-bottom:1px solid #d0d8e3;font-size:12px;color:#465468;min-height:42px; }.workflow-sync>span:nth-child(2){flex:1}.workflow-sync button { background:transparent;color:#0047ab;text-decoration:underline;text-underline-offset:3px;font-size:12px;padding:5px; }.connection-dot{width:7px;height:7px;border-radius:50%;background:#4b6486}.connection-dot.offline{background:#b18a38}.workspace-switch{cursor:pointer}.workspace-switch>.icon{width:14px;height:14px}.submission-panel{margin:24px 0;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:28px;border:1px solid #cad3df;border-left:4px solid #6883a8;border-radius:10px;background:#ffffff}.submission-panel h2{font-size:23px;font-weight:500;margin:8px 0}.submission-panel p:not(.eyebrow){font-size:13px;line-height:1.7;color:#606d7f;max-width:650px;margin:8px 0 12px;overflow-wrap:anywhere}.submission-panel.status-locked{background:#e4eaf3;border-left-color:#0047ab}.submission-panel.status-flagged{background:#fff9e9;border-left-color:#b09042}.submission-panel.status-edit-requested{border-left-color:#ae8a43}.submission-actions{display:grid;gap:9px;flex-shrink:0}.submission-actions .btn{font-size:12px}.sync-badge{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:4px 8px;font-size:10px;white-space:nowrap}.sync-badge:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.is-synced{color:#3f5471;background:#e0e7f1}.is-pending{color:#927426;background:#f6efd5}.needs-attention{color:#9c4430;background:#fae7df}.submission-review{display:grid;gap:8px;padding:20px;background:#e3e9f2;border-radius:8px}.submission-review strong{font-size:30px;font-family:Manrope,sans-serif;font-weight:500}.submission-review span{font-size:13px;color:#657387}.submissions-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.submissions-toolbar>span{font-size:12px;color:#6a788c;max-width:280px;line-height:1.6}.submission-list{display:grid;gap:12px}.submission-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(170px,1fr) minmax(160px,.9fr);align-items:start;gap:20px;background:#ffffff;border:1px solid #d1d8e2;border-radius:10px;padding:22px}.submission-person{display:flex;align-items:center;gap:12px}.submission-person strong{display:block;font-size:14px;font-weight:500}.submission-person span:not(.avatar){display:block;font-size:11px;color:#6c7b90;margin-top:6px}.submission-state{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px}.submission-state p{width:100%;margin:4px 0;font-size:12px;line-height:1.7;color:#5f6c7e;overflow-wrap:anywhere}.state-pill{font-size:11px;padding:7px 10px;background:#e8ecf1;color:#657285;border-radius:6px}.state-locked{background:#d1dbea;color:#0047ab}.state-edit-requested,.state-flagged{background:#f3e8c8;color:#907126}.state-unlocked{background:#cfdced;color:#445a79}.submission-row-actions{display:flex;flex-wrap:wrap;gap:8px}.submission-row-actions .btn{font-size:11px;min-height:36px;padding:0 10px}.submission-row-actions .text-btn{padding:8px}.admin-submission-notice,.preview-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #c7d1df;background:#dfe6f1;border-radius:8px;padding:14px 18px;margin-bottom:24px;font-size:12px;color:#4b5e79}.admin-submission-notice strong{display:block;font-size:14px;color:#2f3d51;margin-bottom:5px}.preview-banner button{background:transparent;text-decoration:underline;color:#0047ab;font-size:12px}.worker-activity{padding:24px;background:#ffffff;border:1px solid #d1d8e2;border-radius:10px;margin-top:24px}.worker-activity h2{font-size:23px;font-weight:500;margin:10px 0}.worker-activity p:not(.eyebrow){font-size:13px;color:#6a788c;line-height:1.7}.activity-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.activity-actions .btn{font-size:12px}.clock-active{color:#0047ab!important;font-weight:500}.inbox-notice{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:14px 18px;color:#31496a;background:#f3efda;border:1px solid #e3ddba;border-radius:8px;margin-bottom:22px;font-size:12px;line-height:1.6}.inbox-notice>.icon:last-child{margin-left:auto}.workspace-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}.workspace-option{text-align:left;padding:20px;border:1px solid #cad3df;border-radius:9px;background:#e9eef5;display:flex;flex-direction:column;gap:12px;color:#2f3f56}.workspace-option strong{font-size:14px;font-weight:500}.workspace-option span:not(.icon){font-size:12px;color:#69778b;line-height:1.6}.modal [data-flow-form] label{display:grid;gap:8px;font-size:13px;color:#435267}.modal [data-flow-form] input,.modal [data-flow-form] select,.modal [data-flow-form] textarea{font-size:14px}.modal [data-flow-form] .btn{font-size:12px}.modal-copy{font-size:14px!important;line-height:1.7!important;color:#606d7f}.request-comment{margin:0;padding:16px;border-left:3px solid #7c95b7;background:#e7ecf3;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.audit-intro{font-size:12px;color:#6b798d;line-height:1.7}.audit-list{padding:0;list-style:none;display:grid;gap:0}.audit-list li{padding:17px 0;border-bottom:1px solid #d7dee7}.audit-list li>div{display:flex;align-items:center;justify-content:space-between;gap:15px}.audit-list strong{font-size:13px;font-weight:600}.audit-list time,.audit-list li>span{font-size:11px;color:#6d7c90}.audit-list p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.audit-list details,.sync-queue details{font-size:12px;margin:10px 0;color:#58677d}.audit-list summary,.sync-queue summary{cursor:pointer;padding:8px 0}.audit-list pre,.sync-queue pre{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;background:#e7ecf3;padding:14px;border-radius:7px;max-height:250px;overflow:auto}.sync-summary{padding:18px;background:#e5ebf3;border-radius:8px;margin-bottom:20px}.sync-summary p{font-size:13px;line-height:1.7}.sync-summary small{font-size:11px;color:#6c7b90}.sync-queue{display:grid;gap:14px}.sync-queue article{border:1px solid #d5dce6;padding:16px;border-radius:8px}.sync-queue strong,.sync-queue span{display:block}.sync-queue strong{font-size:14px}.sync-queue span{font-size:11px;color:#728094;margin-top:8px;overflow-wrap:anywhere}.sync-queue p{font-size:12px;line-height:1.7}.conflict-message{color:#a35832}.sync-queue .text-btn{white-space:normal;line-height:1.6;margin-top:10px}.inbox-list article,.activity-records>div{border-bottom:1px solid #d9dfe8;padding:16px 0}.inbox-list strong,.activity-records strong{font-size:14px;display:block}.inbox-list small,.inbox-list span,.activity-records span{display:block;font-size:11px;color:#6a788c;margin-top:8px;line-height:1.7}.inbox-list p,.activity-records p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.team-workflow-link .submission-panel{display:block;padding:18px}.team-workflow-link .submission-actions{margin-top:15px}.team-workflow-link .submission-panel h2{font-size:20px}button:disabled{cursor:not-allowed;opacity:.45}.modal hr{border:0;border-top:1px solid #d5dce5;margin:24px 0}
@media(max-width:1100px){.submission-row{grid-template-columns:1fr 1fr}.submission-row-actions{grid-column:1/-1}.submission-panel{gap:18px;padding:20px}.workflow-sync{padding-left:26px;padding-right:26px}}
@media(max-width:760px){.workflow-sync{padding:9px 16px;gap:7px;flex-wrap:wrap;font-size:11px}.workflow-sync button{font-size:11px}.workspace-switch>span:nth-child(2){display:none}.workspace-switch{gap:4px;padding-right:0}.submission-panel{display:block;padding:18px;margin:18px 0}.submission-panel h2{font-size:22px}.submission-panel p:not(.eyebrow){font-size:12px}.submission-actions{margin-top:16px;grid-template-columns:1fr}.submission-actions .btn{min-height:44px}.submissions-toolbar{flex-direction:column;align-items:stretch;gap:8px}.submissions-toolbar>span{max-width:none}.submission-row{grid-template-columns:1fr;gap:16px;padding:18px}.submission-row-actions{grid-column:1}.submission-row-actions .btn{min-height:42px;font-size:12px}.admin-submission-notice{flex-direction:column;align-items:stretch;padding:14px}.admin-submission-notice .btn{font-size:12px}.preview-banner{font-size:11px;padding:12px}.worker-activity{padding:18px}.worker-activity h2{font-size:22px}.activity-actions .btn{flex:1;min-height:44px}.workspace-options{gap:8px}.workspace-option{padding:14px}.workspace-option strong{font-size:13px}.workspace-option span:not(.icon){font-size:11px}.audit-list li>div{align-items:flex-start;flex-direction:column;gap:5px}.modal-actions{flex-wrap:wrap}.inbox-notice{font-size:12px;padding:12px}.topbar-actions{gap:5px}.role-switch .avatar{flex-shrink:0}}

/* Compact return action stays with the displayed week on every worker page. */
.date-stepper .week-today{display:block;margin:7px auto 0;padding:4px 10px;border:1px solid #c7ddff;border-radius:6px;background:#edf4ff;color:#0047ab;font-size:11px;font-weight:600;line-height:1.3;min-height:27px}.date-stepper .week-today:disabled{opacity:1;background:transparent;border-color:transparent;color:#69778b;cursor:default}.date-stepper .week-today:focus-visible{outline:2px solid #0047ab;outline-offset:2px}

/* Neutral header; cobalt remains reserved for navigation and actions. */
.topbar{background:#fffefa;border-bottom-color:#e1e4e9;backdrop-filter:none}
.page-actions{flex-wrap:wrap}.page-actions .btn{max-width:100%;white-space:normal;height:auto;padding-top:10px;padding-bottom:10px}.page-actions .btn>span{min-width:0;overflow-wrap:anywhere}.page-actions .btn>.icon{flex-shrink:0}
.team-workflow-link{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.team-workflow-link>p{flex-basis:100%}
