/* Clear shift briefings, bounded previews, and detail on demand. */
:root {
  --bg: #f5f5f3; --tile: #ffffff; --ink: #202320; --mute: #666c67;
  --line: #2023200d; --accent: #365f49; --accent-soft: #eaf0e9; --berry: #b33e4e;
  --surface: #eeefec; --nav: #ffffffeb; --nav-active: #ffffff;
  --schedule-ink: #806000;
  --hero: #dce7d8; --hero-ink: #1c2b21; --hero-mute: #4f6355;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --schedule-ink: #f0d477; }
  :root { --bg: #000000; --tile: #121412; --ink: #f1f3ef; --mute: #9da49d; --line: #ffffff0c; --accent: #bbd1b6; --accent-soft: #202a21; --berry: #ffa1ac; --surface: #1e211e; --nav: #151715ed; --nav-active: #303630; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; border: 0; background: none; text-align: left; }
button:disabled { cursor: wait; opacity: .55; }
button, summary, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
#updateNotice { position:fixed; z-index:20; top:max(8px,env(safe-area-inset-top)); left:12px; right:12px; margin:auto; max-width:520px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; border-radius:16px; background:var(--accent); color:var(--tile); box-shadow:0 6px 30px #0004; font-size:13px; }
#updateNotice button { padding:10px 14px; border-radius:99px; background:var(--tile); color:var(--ink); font-weight:600; }
.num { font-variant-numeric: tabular-nums; }
.screen { width: 100%; }
.app { max-width: 1080px; margin: 0 auto; padding: 0 32px 48px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(16px, env(safe-area-inset-top)) 0 8px; }
.topbar time { font-size: 12px; font-weight: 500; color: var(--mute); }
.flag { flex-shrink: 0; display: flex; align-items: center; gap: 6px; color: var(--mute); font-size: 11px; }
.flag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.flag.warn { color: var(--berry); }
.flag.warn::before { background: var(--berry); }
.tabs { display: flex; width: fit-content; gap: 4px; margin: 12px 0 32px; padding: 5px; border-radius: 18px; background: var(--surface); }
.tabs button { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; color: var(--mute); padding: 10px 18px; font-size: 13px; font-weight: 600; transition: background .18s ease, color .18s ease; }
.tabs svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabs button.on { background: var(--nav-active); color: var(--ink); box-shadow: 0 2px 8px #00000008; }
.view { display: flex; flex-direction: column; gap: 20px; }
.page-heading { margin-bottom: 4px; }
.page-heading h1 { font: 650 clamp(26px, 4vw, 34px)/1.2 var(--body); letter-spacing: -1.3px; }
.page-heading p { color: var(--mute); font-size: 14px; margin-top: 7px; }
.tile { background: var(--tile); border: 0; border-radius: 24px; padding: 24px; min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
h2 { font: 650 18px/1.3 var(--body); letter-spacing: -.55px; }
.section-heading p { font-size: 12px; color: var(--mute); margin-top: 4px; }
.count { background: var(--surface); border-radius: 50%; min-width: 28px; height: 28px; display: grid; place-items: center; padding: 0 7px; font-size: 11px; font-weight: 600; color: var(--mute); }
.lbl { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--mute); font-size: 13px; font-weight: 500; }
.foot { color: var(--mute); font-size: 12px; line-height: 1.6; margin-top: 12px; }
.empty { padding: 24px 0; color: var(--mute); font-size: 14px; }
.today-layout { display: grid; grid-template-columns: 1fr 1.12fr; grid-template-rows: auto 1fr; grid-template-areas: 'hero team' 'opportunity team'; align-items: start; gap: 20px 24px; }
.today-layout .hero { grid-area: hero; }
.today-layout .team { grid-area: team; }
.today-layout .opportunity { grid-area: opportunity; }
.hero { background: var(--hero); color: var(--hero-ink); border: none; padding: 26px; }
.hero .lbl { color: var(--hero-mute); margin-bottom: 24px; font-size: 12px; }
.hero-status { padding: 4px 11px; background: #ffffff60; border-radius: 99px; color: var(--hero-ink); font-size: 11px; font-weight: 600; }
.hero-main { font: 500 clamp(38px, 5vw, 50px)/1.08 var(--display); letter-spacing: -2px; overflow-wrap: anywhere; }
.hero.off .hero-main { font-size: 32px; letter-spacing: -1px; }
.hero-position { margin-top: 10px; font-size: 15px; font-weight: 600; }
.hero-position span { color: var(--hero-mute); font-size: 13px; font-weight: 400; }
.hero-sub { display: inline-block; margin-top: 22px; font-size: 13px; color: var(--hero-ink); font-weight: 600; }
.hero-note { color: var(--hero-mute); font-size: 12px; margin-top: 6px; }
.hero-mgr { margin-top: 22px; padding-top: 4px; font-size: 13px; font-weight: 600; }
.hero-details { margin-top: 8px; }
.hero-details summary { color: var(--hero-mute); font-size: 12px; min-height: 36px; }
.hero-details .shift-details { background: #ffffff40; color: var(--hero-ink); }
.hero-details .shift-details b { color: var(--hero-mute); }
.hero-details summary:focus-visible { outline-color: var(--hero-ink); }
.opportunity { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--tile); border-radius: 22px; padding: 18px 20px; transition: background .18s ease; }
.opportunity b { font-size: 14px; font-weight: 600; }
.opportunity small { display: block; font-size: 12px; color: var(--mute); margin-top: 3px; }
.opportunity > span:last-child { color: var(--accent); font-size: 23px; }
.coworker { display: flex; align-items: center; gap: 12px; padding: 13px 0; }
.coworker-name { flex: 1; min-width: 0; }
.coworker-name b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.coworker-name > span { display: block; font-size: 12px; color: var(--mute); margin-top: 2px; }
.coworker-hours { font-size: 12px; white-space: nowrap; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); color: var(--mute); display: inline-grid; place-items: center; flex: none; font-size: 11px; font-weight: 600; }
.avatar.me { background: var(--accent-soft); color: var(--accent); }
.mgr { font: 600 9px var(--body); background: var(--accent-soft); color: var(--accent); border-radius: 99px; padding: 3px 7px; white-space: nowrap; }
.text-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--accent); font-size: 13px; font-weight: 600; min-height: 44px; padding: 10px 0; width: 100%; margin-top: 8px; }
summary { cursor: pointer; font-size: 13px; font-weight: 600; min-height: 44px; padding: 12px 0; color: var(--accent); }
summary::marker { font-size: 10px; }
.team > .foot { margin-top: 0; font-size: 11px; }
.weekwrap { padding-top: 14px; }
.weekwrap .lbl { margin-bottom: 12px; text-align: center; }
.step { width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface); border-radius: 50%; font-size: 24px; flex-shrink: 0; }
.week-labels, .day { display: grid; grid-template-columns: 70px minmax(0, 1fr) 140px; gap: 18px; align-items: center; }
.week-labels { font-size: 11px; color: var(--mute); padding: 12px 16px; }
.week-labels > :last-child { text-align: right; }
.day { width: 100%; padding: 16px; border-radius: 16px; min-height: 82px; transition: background .18s ease; }
.day:last-child { border-bottom: none; }
.day:hover { background: var(--bg); }
.day.today { background: var(--accent-soft); border-radius: 16px; }
.day-when { display: flex; align-items: baseline; gap: 10px; }
.day-when b { font-size: 12px; color: var(--mute); font-weight: 500; }
.day-when span { font: 500 21px var(--display); }
.day-mine b { display: block; font-size: 14px; font-weight: 600; }
.day-mine small { display: block; color: var(--mute); font-size: 12px; margin-top: 3px; }
.day-mine .off { color: var(--mute); font-size: 14px; }
.day-people { text-align: right; font-size: 12px; }
.day-people small { display: block; color: var(--accent); font-size: 11px; margin-top: 3px; }
.notice { background: var(--accent-soft); padding: 16px 20px; border-radius: 18px; font-size: 13px; }
.notice p { margin-top: 4px; color: var(--mute); max-width: 65ch; }
.open { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 4px 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.open:first-child { border-top: none; }
.open-when b { font-size: 13px; display: block; }
.open-when span { color: var(--mute); font-size: 12px; }
.open-what b { font-size: 14px; font-weight: 600; display: block; }
.open-what span { color: var(--mute); font-size: 12px; display: block; margin-top: 2px; }
.open-status { text-align: right; }
.chip { display: inline-block; font-size: 10px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: var(--surface); color: var(--mute); }
.chip.go { color: var(--accent); background: var(--accent-soft); }
.chip.muted { text-transform: capitalize; }
.open-note { grid-column: 1 / -1; font-size: 12px; color: var(--mute); padding-top: 8px; }
.schedule-warning .open-when, .schedule-warning .open-when span,
.schedule-warning .open-what, .schedule-warning .open-what > span,
.schedule-warning .open-note { color: var(--ink); }
.open-schedule { margin-top: 5px; color: var(--schedule-ink); font-size: 12px; line-height: 1.5; }
.open-what .open-schedule span { display: inline; margin: 0; color: inherit; white-space: normal; }
#timeTracker { display: flex; flex-direction: column; gap: 20px; }
.time-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 20px; align-items: start; }
.time-console { --time-color: #365f49; --time-wash: #edf3eb; background: var(--time-wash); color: #202d23; padding: 28px; }
.time-console.time-break { --time-color: #70591b; --time-wash: #f8f0d7; }
.time-console.time-off { --time-color: #4d6275; --time-wash: #eaf0f4; }
.time-console.time-overdue { --time-color: #a12f3b; --time-wash: #fae7e9; }
.time-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--time-color); }
.time-state { display: flex; align-items: center; gap: 7px; font-weight: 700; letter-spacing: 1px; }
.time-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.time-console h2 { font: 500 28px/1.2 var(--display); letter-spacing: -.8px; margin-top: 25px; }
.time-face { padding: 24px 0 28px; }
.time-digits { display: block; font: 500 clamp(42px, 6.4vw, 76px)/1.1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -2px; }
.time-caption { display: block; font-size: 12px; color: var(--time-color); margin-top: 8px; }
.time-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid #2030201a; padding: 18px 0 24px; }
.time-totals span { display: block; font-size: 11px; color: var(--time-color); }
.time-totals b { display: block; font-size: clamp(13px, 2vw, 18px); font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 4px; }
.time-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.time-controls button { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 16px; border-radius: 15px; background: #ffffffb3; font-size: 13px; font-weight: 650; }
.time-controls button span { font-size: 21px; line-height: 1; }
.time-controls button.time-primary { background: var(--time-color); color: #fff; }
.time-controls button:disabled { opacity: .38; cursor: default; }
.time-controls button:enabled:hover { filter: brightness(.95); }
.time-feedback { font-size: 11px; margin-top: 16px; color: var(--time-color); min-height: 17px; }
.time-log-label { color: var(--mute); font-size: 10px; letter-spacing: 1px; }
.time-log ol { list-style: none; padding: 0; margin: 0; }
.time-log li { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; padding: 15px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.time-event-mark { color: var(--accent); }
.time-log time { color: var(--mute); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.time-log time small { display: block; }
.time-log .foot { margin-top: 22px; }
.time-log .section-heading { gap: 8px; }
.time-reminder { flex-shrink: 0; margin-right: auto; }
.time-reminder-control { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 4px 2px; color: inherit; font-size: inherit; white-space: nowrap; }
.time-reminder-control svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.time-reminder-control:enabled:hover { text-decoration: underline; }
.time-reminder-control:disabled { opacity: 1; cursor: default; }
.time-reminder-error { font-size: 12px; color: var(--mute); margin-bottom: 12px; }
.time-log-empty { padding: 18px 0 22px; }
.time-log-empty > span { display: block; font: 500 40px var(--display); color: var(--accent); margin-bottom: 12px; }
.time-log-empty p { font-weight: 600; font-size: 14px; }
.time-log-empty small { display: block; margin-top: 6px; color: var(--mute); font-size: 12px; max-width: 26ch; }
.time-history summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.time-history summary > span { float: right; color: var(--mute); }
.time-history-row { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.time-history-row b, .time-history-row span { display: block; }
.time-history-row span { color: var(--mute); font-size: 12px; margin-top: 3px; }
.time-history-row > div:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.time-session-buttons { display: none; }
.time-session-details .time-totals { border: 0; color: var(--ink); }
.time-session-details .time-totals span { color: var(--mute); }
.time-session-entry { border-bottom: 1px solid var(--line); padding: 16px 0; }
.time-session-entry summary { font-size: 13px; font-weight: 600; cursor: pointer; }
.time-session-entry summary > span { display: block; margin-top: 4px; color: var(--mute); font-weight: 400; }
@media (prefers-color-scheme: dark) {
  .time-console { --time-color: #bdd5ac; --time-wash: #1d2a20; color: #f1f3ef; }
  .time-console.time-break { --time-color: #e5c774; --time-wash: #2d291b; }
  .time-console.time-off { --time-color: #b8cfdf; --time-wash: #1e2932; }
  .time-console.time-overdue { --time-color: #ffa1ac; --time-wash: #351e23; }
  .time-controls button { background: #ffffff0d; }
  .time-controls button.time-primary { color: #182019; }
  .time-totals { border-color: #ffffff18; }
}
@media (max-width: 700px) {
  .time-layout { grid-template-columns: 1fr; gap: 18px; }
  #timeTracker .time-log, #timeTracker .time-history { display: none; }
  .time-session-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .time-session-buttons button { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 12px 16px; background: var(--tile); border-radius: 14px; font-size: 12px; font-weight: 600; }
  .time-session-buttons button span { color: var(--mute); }
  #timeTracker .time-console h2 { margin-top: 14px; }
  #timeTracker .time-face { padding: 16px 0 20px; }
  #timeTracker .time-totals { padding: 14px 0 18px; }
  .time-console h2 { font-size: 26px; }
  .time-digits { font-size: clamp(40px, 12vw, 70px); }
  .time-controls button { padding: 12px; gap: 8px; }
  .tabs button { min-width: 0; }
}
@media (max-width: 700px) and (max-height: 700px) {
  .app:has(#timeTracker) .page-heading p { display: none; }
  .app:has(#timeTracker) .topbar { margin-bottom: 0; padding-top: 8px; padding-bottom: 8px; }
  .app:has(#timeTracker) .view { gap: 10px; }
  #timeTracker .time-layout { gap: 10px; }
  #timeTracker .time-console { padding: 14px 16px; }
  #timeTracker .time-top > span:last-child { display: none; }
  #timeTracker .time-console h2 { margin-top: 4px; font-size: 22px; }
  #timeTracker .time-face { padding: 8px 0; }
  #timeTracker .time-digits { font-size: 38px; }
  #timeTracker .time-caption { display: none; }
  #timeTracker .time-totals { padding: 8px 0; }
  #timeTracker .time-controls button { min-height: 44px; padding: 8px 12px; }
  #timeTracker .time-feedback { margin-top: 10px; }
}
.history { padding-top: 8px; padding-bottom: 8px; }
.history > summary { color: var(--ink); padding: 14px 0; }
.history > summary span { float: right; font-size: 12px; color: var(--mute); font-weight: 400; }
.account-layout { display: grid; grid-template-columns: 1.4fr 1fr; align-items: start; gap: 24px; }
.mine-item { border: 0; }
.mine-item:first-child { border-top: none; }
.mine-row { display: grid; grid-template-columns: 94px minmax(0, 1fr) 18px; align-items: center; gap: 3px 14px; padding: 17px 0; color: var(--ink); }
.mine-row::-webkit-details-marker { display: none; }
.mine-day { grid-row: 1 / 3; font-size: 12px; font-weight: 400; color: var(--mute); }
.mine-time { font-size: 14px; }
.mine-pos { grid-column: 2; font-size: 12px; font-weight: 400; color: var(--mute); }
.disclosure-arrow { grid-column: 3; grid-row: 1 / 3; color: var(--mute); }
details[open] > summary .disclosure-arrow { transform: rotate(180deg); }
.shift-details { background: var(--surface); border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; font-size: 12px; }
.shift-details p { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 10px; padding: 4px 0; }
.shift-details b { color: var(--mute); font-weight: 400; }
.toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; cursor: pointer; }
.toggle input { appearance: none; width: 42px; height: 26px; margin: 0; border-radius: 99px; background: color-mix(in srgb, var(--mute) 35%, var(--tile)); flex: none; position: relative; cursor: pointer; transition: background .18s ease; }
.toggle input::after { content: ''; position: absolute; width: 20px; height: 20px; top: 3px; left: 3px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px #0002; transition: transform .18s ease; }
.toggle input:checked { background: var(--accent); }
.toggle input:checked::after { transform: translateX(16px); background: var(--tile); }
.toggle input:disabled { opacity: .5; cursor: wait; }
.cafe-details { margin-top: 24px; padding-top: 12px; color: var(--mute); font-size: 12px; }
.cafe-details b { color: var(--ink); font-weight: 600; }
.cafe-details p { margin-top: 5px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.action { min-height: 44px; padding: 10px 16px; background: var(--surface); border-radius: 99px; font-size: 12px; font-weight: 600; text-align: center; }
.action.primary { background: var(--accent); color: var(--tile); border-color: var(--accent); }
.action.danger { color: var(--berry); }
/* The overlay uses exactly the same columns as the data rows. */
.timeline { position: relative; }
.person { display: grid; grid-template-columns: 28px minmax(105px, 1fr) minmax(60px, 1.5fr) 78px; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.person .avatar { width: 28px; height: 28px; font-size: 9px; }
.person-text { min-width: 0; }
.person-text b { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; font-size: 12px; font-weight: 600; }
.person-text span { display: block; color: var(--mute); font-size: 10px; }
.person .mgr { font-size: 8px; padding: 1px 3px; }
.person-time { font-size: 11px; text-align: right; white-space: nowrap; }
.station-segments { grid-column:2/-1; display:flex; flex-wrap:wrap; gap:6px 14px; color:var(--mute); font-size:11px; padding-bottom:4px; }
.station-segments b { color:var(--ink); font-weight:500; }
.track { position: relative; height: 6px; background: var(--line); border-radius: 3px; }
.track i { position: absolute; inset-block: 0; border-radius: 3px; background: var(--mute); }
.person.with-you .track i, .person.me .track i { background: var(--accent); }
.person.me .person-text b { color: var(--accent); }
.person.boss .avatar { background: var(--accent-soft); color: var(--accent); }
.person.band { position: absolute; inset: 0; border: 0; padding: 0; align-items: stretch; pointer-events: none; }
.band .lane { position: relative; }
.band b { position: absolute; inset-block: 0; background: color-mix(in srgb, var(--accent) 10%, transparent); border-inline: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.band u { position: absolute; inset-block: 0; border-left: 1px solid var(--berry); }
.axis { border: 0; padding: 10px 0; }
.axis .lane { height: 12px; position: relative; }
.axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; font-size: 9px; color: var(--mute); }
.timeline-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11px; color: var(--mute); margin: 12px 0 20px; }
.timeline-legend span { display: flex; align-items: center; gap: 6px; }
.timeline-legend i { width: 13px; height: 8px; display: inline-block; border-radius: 2px; }
.legend-band { background: var(--accent-soft); border: 1px solid var(--accent); }
.legend-bar { background: var(--mute); }
.timeline-legend .legend-now { width: 1px; height: 12px; background: var(--berry); }
.team-details { margin-top: 16px; border-top: 1px solid var(--line); }
.roster-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); font-size: 12px; }
.roster-row .avatar { width: 30px; height: 30px; }
.roster-row p, .roster-row small { color: var(--mute); font-size: 11px; display: block; margin-top: 3px; }
.roster-row > span:last-child { font-size: 11px; white-space: nowrap; }
html:has(dialog[open]) { overflow: hidden; }
dialog.sheet { background: var(--tile); color: var(--ink); width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; margin: auto 0 0; padding: 0 max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); overflow: auto; overscroll-behavior: contain; box-shadow: 0 24px 80px #0006; transition: transform .2s ease; }
dialog.sheet[open] { animation: sheet-rise .25s cubic-bezier(.2, .8, .2, 1); }
dialog.sheet.dragging { transition: none; }
@keyframes sheet-rise { from { transform: translateY(100%); } to { transform: translateY(0); } }
dialog::backdrop { background: #00000088; backdrop-filter: blur(8px); }
.dialog-toolbar { position: sticky; top: 0; display: flex; justify-content: flex-end; align-items: center; background: var(--tile); padding: max(12px, env(safe-area-inset-top)) 0 12px; z-index: 2; touch-action: none; cursor: grab; }
.sheet-grab { position: absolute; left: 50%; top: 13px; transform: translateX(-50%); width: 40px; height: 5px; border-radius: 99px; background: var(--mute); opacity: .6; }
.x { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--tile); font-size: 30px; line-height: 1; display: grid; place-items: center; }
.install-prompt { padding: 12px 0 24px; }
.install-symbol { width: 64px; height: 64px; border-radius: 20px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 36px; margin-bottom: 24px; }
.install-prompt h3 { font: 650 clamp(26px, 5vw, 36px)/1.15 var(--body); letter-spacing: -1px; margin-bottom: 14px; }
.install-prompt > p { color: var(--mute); margin-bottom: 20px; }
.install-steps { padding-left: 24px; margin: 24px 0; }
.install-steps li { padding: 8px 0 8px 6px; }
.install-help { padding: 20px; background: var(--surface); border-radius: 18px; }
.install-primary { width: 100%; margin: 12px 0; }
.install-feedback:empty { display: none; }
.feature-links { display: grid; gap: 4px; margin-bottom: 28px; }
.feature-links button { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:48px; padding:10px 0; font-size:13px; font-weight:600; }
.feature-links button span { font-size:11px; font-weight:400; color:var(--mute); text-align:right; }
.workspace-label { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:13px; font-weight:600; }
.feature-links .workspace-count { display:inline-flex; align-items:center; justify-content:center; min-width:24px; min-height:22px; padding:2px 7px; border-radius:99px; background:var(--accent-soft); color:var(--accent); font-size:11px; font-weight:650; font-variant-numeric:tabular-nums; }
.feature-message { white-space:pre-wrap; overflow-wrap:anywhere; }
.notification-body { white-space:normal; overflow-x:auto; max-width:100%; overscroll-behavior-x:contain; }
.notification-body:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.notification-body p,.notification-body ul,.notification-body ol,.notification-body blockquote { margin:0 0 12px; }
.notification-body table { border-collapse:separate; border-spacing:0; width:100%; margin:12px 0; font-size:12px; line-height:1.5; background:var(--tile); border-radius:12px; overflow:hidden; }
.notification-body th,.notification-body td { padding:11px 12px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); min-width:90px; }
.notification-body th { background:var(--accent-soft); color:var(--accent); font-weight:600; }
.notification-body tr:last-child td { border-bottom:0; }
.notification-body caption { text-align:left; padding:8px 0; font-weight:600; }
.notification-body h1,.notification-body h2,.notification-body h3,.notification-body h4 { font:600 15px/1.5 var(--body); margin:12px 0; }
.feature-form { display:grid; gap:18px; margin:24px 0; }
.feature-form label { display:grid; gap:7px; font-size:13px; }
.feature-form input,.feature-form select,.feature-form textarea { width:100%; background:var(--surface); color:var(--ink); border:0; border-radius:12px; padding:13px; font:inherit; font-size:16px; }
.feature-form label.toggle { display:flex; }
.feature-form .toggle input { width:42px; padding:0; }
.feature-form textarea { resize:vertical; }
.team-filters { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.team-filters .toggle { grid-column:1/-1; }
#featurePanel h4 { margin:0 0 14px; font-size:14px; font-weight:650; }
#featurePanel .row { align-items:flex-start; }
#featurePanel .row > :last-child { text-align:right; }
.flow-heading { margin:4px 0 28px; }
.flow-heading h3 { font:650 clamp(25px,4vw,32px)/1.16 var(--body); letter-spacing:-1px; margin:8px 0 12px; }
.flow-heading > p:not(.eyebrow) { color:var(--mute); font-size:14px; max-width:55ch; }
.eyebrow { color:var(--accent); font-size:11px; font-weight:650; letter-spacing:.06em; text-transform:uppercase; }
.flow-icon { display:inline-grid; place-items:center; width:44px; height:44px; background:var(--accent-soft); color:var(--accent); border-radius:14px; flex:none; }
.flow-icon svg,.message-icon svg,.approval-note svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.flow-heading > .flow-icon { margin-bottom:18px; width:54px; height:54px; border-radius:18px; }
.action-group { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.action-group .action { margin:0; }
.feature-footer { margin-top:28px; padding:4px 0 16px; }
.feature-footer:empty,.field-error:empty,.editor-feedback:empty { display:none; }
.feature-footer > .primary { order:-1; }
.feature-footer > .action { flex:1 1 145px; }
.feature-description { color:var(--mute); font-size:14px; line-height:1.6; margin:0 0 24px; max-width:60ch; }
.feature-header { align-items:center; margin-bottom:24px; }
.feature-header .action { font-size:12px; }
.feature-header h3 { font-family:var(--body); font-weight:650; }
.quiet-danger { color:var(--berry); background:transparent; }
.field-error { color:var(--berry); font-size:13px; line-height:1.5; margin-top:14px; }
.form-footer { margin-top:12px; padding:20px 0 max(16px,env(safe-area-inset-bottom)); display:grid; gap:16px; }
.form-footer > p { color:var(--mute); font-size:12px; }
.form-footer > .primary { width:100%; display:flex; justify-content:center; gap:12px; min-height:50px; }
.form-footer .action-group > .primary { flex:1 1 100%; min-height:50px; }
.form-footer .action-group > .action:not(.primary) { flex:1; }
.approval-note { display:flex; gap:12px; align-items:flex-start; margin-top:28px; padding:18px; background:var(--accent-soft); border-radius:18px; color:var(--mute); font-size:12px; line-height:1.6; }
.approval-note svg { flex:none; width:18px; height:18px; color:var(--accent); margin-top:2px; }
.review-details { display:grid; gap:0; padding:8px 20px; background:var(--surface); border-radius:20px; margin:0 0 24px; }
.review-details p { padding:14px 0; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.review-details p+p { border-top:1px solid var(--line); }
.success-state { padding:48px 0; display:grid; justify-items:center; gap:20px; text-align:center; }
.success-state h3 { font-size:28px; }
.success-state p { color:var(--mute); max-width:38ch; }
.success-state .action { min-width:160px; }
.shift-action-cards { display:grid; gap:14px; }
.shift-action-card { display:grid; grid-template-columns:50px minmax(0,1fr) 22px; gap:16px; align-items:center; width:100%; padding:24px 20px; border-radius:22px; background:var(--surface); transition:background .18s ease,transform .18s ease; }
.shift-action-card .flow-icon { width:50px; height:50px; border-radius:16px; }
.shift-action-card b { display:block; font-size:16px; font-weight:650; }
.shift-action-card small { display:block; color:var(--mute); font-size:12px; line-height:1.6; margin-top:6px; }
.card-arrow { color:var(--accent); font-size:22px; }
.shift-action-card:active { transform:scale(.99); }
.segmented { display:flex; gap:4px; padding:4px; background:var(--surface); border-radius:14px; }
.segmented button { flex:1; text-align:center; padding:10px 5px; min-height:42px; color:var(--mute); font-size:12px; font-weight:600; border-radius:11px; }
.segmented button[aria-pressed=true] { background:var(--accent-soft); color:var(--accent); }
.editor-tools { display:flex; flex-wrap:wrap; gap:10px; }
.editor-tools .action { font-size:12px; }
.editor-tools .action:first-child { flex:1; }
.editor-feedback { color:var(--accent); font-size:12px; margin:0; }
.availability-week { display:grid; gap:10px; }
.availability-day { background:var(--surface); border-radius:18px; overflow:hidden; }
.availability-day > summary { display:flex; align-items:center; gap:12px; padding:16px; color:var(--ink); list-style:none; }
.availability-day > summary::-webkit-details-marker { display:none; }
.day-initial { width:32px; height:32px; border-radius:11px; display:grid; place-items:center; background:var(--tile); color:var(--mute); font-size:12px; flex:none; }
.availability-day[open] .day-initial { color:var(--accent); background:var(--accent-soft); }
.availability-day-name { flex:1; font-size:14px; }
.availability-day-name small { display:block; font-size:11px; font-weight:400; color:var(--mute); margin-top:3px; }
.chevron { font-size:18px; font-weight:400; color:var(--mute); flex:none; }
details[open] > summary > .chevron { transform:rotate(180deg); }
.availability-day-body { padding:0 14px 14px; }
.availability-day-body .segmented { background:var(--tile); margin-bottom:16px; }
.availability-day-body .segmented button { font-size:11px; }
.time-windows { display:grid; gap:12px; }
.time-window { display:grid; grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr) 32px; align-items:end; gap:8px; }
.time-window label { min-width:0; color:var(--mute); font-size:11px; }
.time-window input { min-width:0; width:100%; padding:11px 8px; font-size:15px; background:var(--tile); color:var(--ink); }
.time-arrow { align-self:center; padding-top:18px; color:var(--mute); }
.remove-window { width:32px; height:44px; text-align:center; color:var(--mute); font-size:22px; }
.add-window { min-height:44px; margin-top:10px; color:var(--accent); font-size:12px; font-weight:600; }
.availability-hint { margin:14px 2px 4px; color:var(--mute); font-size:12px; }
.availability-day .field-error { margin:10px 0 0; }
.hour-editor-grid,.hours-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.hour-editor { background:var(--surface); border-radius:20px; padding:20px 12px; text-align:center; color:var(--mute); }
.number-control { display:grid; grid-template-columns:32px minmax(0,1fr) 32px; align-items:center; margin-top:12px; }
.number-control button { width:32px; min-height:44px; text-align:center; color:var(--accent); padding:0; font-size:18px; }
.number-control input { min-width:0; padding:5px 0; font-size:32px; font-weight:600; text-align:center; -moz-appearance:textfield; }
.number-control input::-webkit-inner-spin-button,.number-control input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.hour-editor small { font-size:12px; }
.feature-form .timeoff-toggle { display:flex; justify-content:space-between; gap:12px; background:var(--surface); padding:16px; border-radius:16px; }
.timeoff-toggle small { display:block; color:var(--mute); font-size:11px; margin-top:4px; }
.timeoff-times { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.feature-form label > small { color:var(--mute); font-size:11px; }
.feature-form input[type=date],.feature-form input[type=time] { min-width:0; max-width:100%; }
.feature-section { margin-bottom:24px; }
.status-line { display:flex; align-items:center; flex-wrap:wrap; gap:10px; color:var(--mute); font-size:11px; margin:12px 0; }
.availability-overview { padding:4px 16px; background:var(--surface); border-radius:20px; margin-top:16px; }
.availability-overview-row { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:14px 0; font-size:13px; }
.availability-overview-row > span { text-align:right; }
.availability-overview-row b { font-size:12px; font-weight:500; }
.availability-overview-row.day-off { color:var(--mute); }
.feature-disclosure { margin-top:12px; padding:4px 16px; border-radius:18px; background:var(--surface); }
.feature-disclosure > summary { display:flex; align-items:center; gap:10px; list-style:none; color:var(--ink); padding:14px 0; }
.feature-disclosure > summary::-webkit-details-marker { display:none; }
.feature-disclosure > summary > span:first-child { flex:1; }
.feature-disclosure .availability-overview { padding:0; }
.hours-grid > div { background:var(--surface); padding:22px 20px; border-radius:20px; }
.hours-grid > div > span { display:block; color:var(--mute); font-size:12px; }
.hours-grid b { font:500 38px var(--display); letter-spacing:-1px; display:block; margin-top:12px; }
.hours-grid small { font:400 12px var(--body); letter-spacing:0; color:var(--mute); }
.feature-empty { display:grid; justify-items:center; gap:16px; padding:32px 20px; background:var(--surface); border-radius:20px; text-align:center; color:var(--mute); font-size:13px; }
.inbox-intro { display:flex; gap:14px; align-items:center; margin:0 0 22px; }
.inbox-intro b { font-size:14px; font-weight:600; }
.inbox-intro p { color:var(--mute); font-size:12px; margin-top:4px; }
.inbox-filters { margin-bottom:20px; }
.inbox-list { display:grid; gap:12px; }
.notification-card { background:var(--surface); border-radius:20px; padding:0; }
.notification-card > summary { display:flex; gap:12px; align-items:flex-start; padding:18px 16px; list-style:none; color:var(--ink); }
.notification-card > summary::-webkit-details-marker { display:none; }
.message-icon { display:grid; place-items:center; width:32px; height:32px; color:var(--mute); flex:none; margin-top:2px; }
.is-unread .message-icon { color:var(--accent); }
.message-overview { display:block; min-width:0; flex:1; }
.message-subject { display:block; font-size:14px; line-height:1.5; font-weight:600; }
.message-meta { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-top:9px; color:var(--mute); font-size:10px; font-weight:400; }
.message-meta .chip { font-size:9px; padding:3px 7px; background:var(--tile); }
.unread-label { color:var(--accent); display:inline-flex; gap:5px; align-items:center; }
.unread-label::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }
.message-preview { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:var(--mute); font-size:12px; font-weight:400; margin-top:10px; line-height:1.6; }
.notification-card[open] .message-preview { display:none; }
.message-content { padding:0 20px 20px; }
.message-content .feature-message { font-size:14px; line-height:1.8; margin:0 0 20px; }
.message-content .action { min-height:42px; font-size:12px; }
.message-content .action { background:var(--tile); }
.timeoff-card-header .chip:not(.go),.request-card > summary > .chip:not(.go) { background:var(--tile); }
.inbox-note { color:var(--mute); font-size:11px; line-height:1.6; margin-top:20px; }
.inbox-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:28px; color:var(--mute); font-size:12px; }
.request-list,.timeoff-list { display:grid; gap:16px; }
.request-card,.timeoff-card { background:var(--surface); border-radius:20px; }
.request-card > summary { display:flex; align-items:center; flex-wrap:wrap; gap:12px; list-style:none; padding:20px 16px; color:var(--ink); }
.request-card > summary::-webkit-details-marker { display:none; }
.request-card > summary > span:nth-child(2) { flex:1; min-width:140px; }
.request-card summary b { font-size:14px; font-weight:600; }
.request-card summary small { display:block; color:var(--mute); font-size:11px; font-weight:400; margin-top:5px; }
.request-content { padding:0 20px 20px; font-size:13px; }
.request-events { display:grid; gap:20px; margin-top:20px; }
.request-event { display:flex; gap:12px; }
.event-dot { background:var(--accent); width:6px; height:6px; border-radius:50%; margin-top:8px; flex:none; }
.request-event b { font-size:12px; }
.request-event p { color:var(--mute); font-size:11px; margin-top:4px; }
.request-event .action-group { margin-top:14px; }
.timeoff-card { padding:20px; }
.timeoff-card-header { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.timeoff-card-header > div { flex:1; min-width:130px; }
#featurePanel .timeoff-card-header h4 { margin:0 0 4px; font-size:15px; }
.timeoff-card-header p { color:var(--mute); font-size:12px; }
.timeoff-comment { margin-top:18px; font-size:13px; }
.timeoff-card-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-top:20px; }
.timeoff-card-footer p { color:var(--mute); font-size:11px; line-height:1.7; }
.timeoff-card-footer .action { min-height:42px; font-size:11px; padding-inline:12px; }
@media (min-width:800px) {
  #featurePanel,#manageShift,#actionReview,#availabilityEditor,.flow-heading,.feature-form:not(.team-filters) { max-width:860px; margin-left:auto; margin-right:auto; }
  .shift-action-cards { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .shift-action-card { grid-template-columns:1fr 20px; align-items:start; padding:24px; }
  .shift-action-card .flow-icon { grid-column:1/-1; margin-bottom:12px; }
  .timeoff-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:360px) {
  .shift-action-card { padding:20px 14px; grid-template-columns:42px minmax(0,1fr) 18px; gap:12px; }
  .shift-action-card .flow-icon { width:42px; height:42px; }
  .shift-action-card b { font-size:14px; }
  .time-window { gap:5px; grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 26px; }
  .time-window input { font-size:13px; padding-inline:5px; }
  .number-control { grid-template-columns:26px minmax(0,1fr) 26px; }
  .number-control button { width:26px; }
  .number-control input { font-size:27px; }
}
#installApp:disabled { cursor: default; }
.sh-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.sh-h h3 { font: 600 24px var(--display); letter-spacing: -.5px; }
.sh-h > span { font-size: 12px; color: var(--mute); }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; }
.row .k { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row .v { text-align: right; }
.row small { display: block; font-size: 11px; color: var(--mute); margin-top: 3px; }
.row select { max-width: 160px; padding: 10px; border: 0; border-radius: 12px; color: var(--ink); background: var(--surface); }
.day-shift > b { font-size: 13px; display: block; margin-bottom: 10px; }
.signin { max-width: 440px; padding: 48px 24px; margin: 6vh auto; }
.mark { font: 700 24px var(--display); letter-spacing: -.6px; color: var(--accent); }
.signin-head h1 { font: 600 40px/1.1 var(--display); letter-spacing: -1.3px; margin: 24px 0 14px; }
.signin-head p { color: var(--mute); font-size: 14px; }
.signin form { display: grid; gap: 8px; margin-top: 32px; }
.signin label { font-size: 13px; margin-top: 10px; font-weight: 600; }
.signin input { width: 100%; border: 0; border-radius: 14px; color: var(--ink); background: var(--surface); padding: 15px; font-size: 16px; }
.signin button[type=submit] { padding: 15px; text-align: center; background: var(--accent); color: var(--tile); border-radius: 99px; font-weight: 600; margin-top: 16px; }
.signin-note { min-height: 20px; font-size: 13px; color: var(--mute); }
.signin-note.error { color: var(--berry); }
.login-progress { margin-top:30px; padding:24px; border-radius:24px; background:var(--tile); }
.login-progress h2 { margin:18px 0 10px; font-size:21px; }
.login-progress > p { color:var(--mute); font-size:13px; line-height:1.6; }
.login-activity { width:30px; height:30px; border:3px solid var(--surface); border-top-color:var(--accent); border-radius:50%; animation:login-spin 1s linear infinite; }
@keyframes login-spin { to {transform:rotate(360deg);} }
.login-steps { display:flex; gap:8px; padding:0; margin:26px 0 20px; list-style:none; }
.login-steps li { flex:1; padding-top:10px; border-top:3px solid var(--surface); color:var(--mute); font-size:10px; }
.login-steps li.active,.login-steps li.done { border-color:var(--accent); }
.login-steps li.active { color:var(--accent); font-weight:650; }
.login-progress-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:16px 0; color:var(--mute); font-size:12px; }
#checkLogin { background:var(--surface); color:var(--ink); padding:10px 14px; min-height:44px; border-radius:99px; }
.login-reference { margin-top:18px; }
.login-reference summary { color:var(--mute); font-size:11px; }
#loginReference { font-size:11px; overflow-wrap:anywhere; color:var(--mute); }
.fineprint { margin-top: 28px; font-size: 12px; color: var(--mute); line-height: 1.7; }
.splash { min-height: 100dvh; display: grid; align-content: center; justify-content: center; text-align: center; gap: 14px; }
.splash p { color: var(--mute); }
.splash .login-activity { margin:auto; }
.app-message { border-radius: 16px; background: var(--surface); padding: 14px 18px; margin-bottom: 20px; font-size: 13px; }
.app-message button { color: var(--accent); font-weight: 600; text-decoration: underline; min-height: 44px; margin-left: 8px; }
@media (max-width: 700px) {
  .app { padding: 0 20px calc(100px + env(safe-area-inset-bottom)); }
  .topbar { padding: max(14px, env(safe-area-inset-top)) 0 14px; margin-bottom: 10px; }
  .topbar time, .flag { font-size: 11px; }
  .tabs { position: fixed; z-index: 5; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; right: 12px; width: auto; margin: 0; padding: 6px; background: var(--nav); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-radius: 24px; box-shadow: 0 8px 32px #00000024; gap: 3px; }
  .tabs button { flex: 1; flex-direction: column; gap: 4px; padding: 8px 2px; font-size: 10px; border-radius: 18px; min-height: 55px; }
  .tabs svg { width: 20px; height: 20px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { font-size: 13px; max-width: 34ch; }
  .view { gap: 18px; }
  .today-layout, .account-layout { grid-template-columns: 1fr; gap: 20px; }
  .today-layout { grid-template-areas: 'hero' 'team' 'opportunity'; grid-template-rows: auto; }
  .tile { padding: 20px; }
  .hero { padding: 23px; }
  .hero .lbl { margin-bottom: 14px; }
  .hero-main { font-size: 44px; }
  .hero-sub { margin-top: 12px; }
  .hero-mgr { margin-top: 14px; padding-top: 12px; }
  .opportunity { padding: 14px 18px; }
  .weekwrap { padding: 12px; }
  .weekwrap .lbl { gap: 6px; font-size: 12px; }
  .week-labels, .day { grid-template-columns: 46px minmax(0, 1fr) 83px; gap: 12px; padding-left: 10px; padding-right: 10px; }
  .day-when { flex-direction: column; gap: 0; }
  .day-people { font-size: 11px; }
  .day-people small { font-size: 10px; }
  .day-mine b { font-size: 13px; }
  .day-mine small { font-size: 11px; }
  .open { grid-template-columns: 95px minmax(0, 1fr); gap: 8px 14px; padding: 17px 0; }
  .open-status { grid-column: 2; text-align: left; }
  .open-when { align-self: start; }
  .history { padding-top: 6px; padding-bottom: 6px; }
  .notice { padding: 14px 16px; font-size: 12px; }
  dialog.sheet { padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); height: calc(100dvh - max(12px, env(safe-area-inset-top))); border-radius: 22px 22px 0 0; }
  .dialog-toolbar { padding-top: 18px; }
  .person { grid-template-columns: 24px minmax(86px, 1fr) minmax(44px, 1fr) 65px; gap: 7px; }
  .person .avatar { width: 24px; height: 24px; font-size: 8px; }
  .person-time { font-size: 10px; }
  .person-text b { font-size: 11px; }
  .axis span { font-size: 8px; }
  .axis span:nth-child(2), .axis span:nth-child(4) { display: none; }
  .row { font-size: 12px; }
  .sh-h h3 { font-size: 22px; }
}
@media (max-width: 360px) {
  .app { padding-left: 12px; padding-right: 12px; }
  .tile { padding: 16px; }
  .weekwrap { padding: 8px; }
  .hero-main { font-size: 39px; }
  .coworker { gap: 8px; }
  .coworker-name b { font-size: 13px; }
  .coworker-hours { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (hover: hover) {
  .tabs button:not(.on):hover, .opportunity:hover, .action:not(.primary):hover, .step:hover { background: var(--surface); color: var(--ink); }
  .text-action:hover, summary:hover { color: var(--ink); }
  .hero summary:hover { color: var(--hero-ink); }
}
@media (forced-colors: active) {
  .toggle input { appearance: auto; }
  .toggle input::after { display: none; }
  .tile, .tabs, .action, .signin input { border: 1px solid CanvasText; }
}
