:root { --ss-caption: 13px; --ss-body: 15px; --ss-title: 17px; --ss-display: 32px; --ss-divider: .5px solid var(--aq-border); }
body.aq-preset-toss-v2 {
  --aq-accent: color-mix(in srgb, var(--aq-cat-3-dark) 78%, var(--aq-black));
  --aq-accent-strong: color-mix(in srgb, var(--aq-cat-3-dark) 65%, var(--aq-black));
  --aq-accent-subtle: var(--aq-cat-3-light);
  --accent-text: var(--aq-accent);
  --on-accent: var(--aq-white);
}
body.aq-preset-toss-v2.aq-dark {
  --aq-accent: var(--aq-mint);
  --aq-accent-strong: var(--aq-cat-3-dark);
  --aq-accent-subtle: var(--aq-success-lt);
  --on-accent: var(--aq-bg);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.large-title .eyebrow { text-transform: none; letter-spacing: 0; font-weight: 500; }
.large-title { padding-bottom: 20px; }
.large-title h1 { margin-top: 4px; }
.cafe-label { display: flex; align-items: center; gap: 6px; }
.cafe-label .i { width: 16px; height: 16px; color: var(--accent-text); }
.card, .group { box-shadow: none; }
.group-label { font-weight: 500; letter-spacing: .035em; }
.navbar-leading { position: absolute; left: 4px; bottom: 0; height: var(--nav-h); display: flex; align-items: center; }
.profile-btn { width: 44px; height: 44px; display: grid; place-items: center; }
.navbar .avatar { width: 30px; height: 30px; font-size: 11px; }
.summary-card { padding: 20px; }
.summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--ss-body); color: var(--aq-fg-secondary); }
.summary-heading .i { width: 18px; height: 18px; color: var(--accent-text); }
.summary-values { display: grid; grid-template-columns: 1fr 1fr; padding-top: 16px; }
.summary-values > div { display: flex; flex-direction: column; }
.summary-values dt { order: 1; }
.summary-values > div + div { padding-left: 24px; border-left: var(--ss-divider); }
.summary-values dt { font-size: var(--ss-caption); color: var(--aq-fg-muted); margin-top: 4px; }
.summary-values dd { font-size: var(--ss-display); line-height: 38px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.summary-values dd small { font-size: var(--ss-title); letter-spacing: -.01em; font-weight: 500; color: var(--aq-fg-muted); margin-left: 3px; }
.next-card { padding: 20px; background: var(--aq-accent-subtle); margin-top: 16px; }
.next-top { display: flex; justify-content: space-between; align-items: center; font-size: var(--ss-caption); font-weight: 600; color: var(--accent-text); }
.next-top .i { width: 20px; height: 20px; }
.next-date { font-size: var(--ss-title); font-weight: 600; margin-top: 16px; letter-spacing: -.02em; }
.next-time { font-size: 28px; font-weight: 700; letter-spacing: -.04em; line-height: 36px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.next-meta { display: flex; align-items: center; gap: 6px; font-size: var(--ss-body); color: var(--aq-fg-secondary); margin-top: 8px; }
.next-meta .i { width: 16px; height: 16px; }
.schedule-row, .choice-row, .roster-row { display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 16px; text-align: left; width: 100%; }
.date-chip { width: 44px; flex: none; text-align: center; background: var(--aq-surface-sunken); border-radius: var(--aq-radius-el); padding: 7px 0; }
.date-chip span { display: block; color: var(--aq-fg-muted); font-size: 10px; text-transform: uppercase; font-weight: 600; }
.date-chip strong { display: block; font-size: 21px; line-height: 25px; letter-spacing: -.03em; }
.row-text { flex: 1; }
.row-title { display: block; white-space: normal; }
.row-sub { font-size: var(--ss-caption); }
.schedule-list > li + li::before { left: 72px; }
.schedule-row:active, .choice-row:active { background: var(--aq-surface-sunken); }
.choice-row[aria-pressed="true"] { background: transparent; }
.choice-row > .i { width: 24px; height: 24px; color: var(--aq-fg-muted); }
.choice-row[aria-pressed="true"] > .i { color: var(--accent-text); }
.selection-dot { fill: currentColor; stroke: none; }
.choice-row .avatar, .roster-row .avatar { border-radius: var(--aq-radius-el); }
.avatar.alex { color: var(--accent-text); background: var(--aq-accent-subtle); }
.avatar.jamie { color: var(--aq-cat-1-dark); background: var(--aq-cat-1-light); }
.avatar.sam { color: var(--aq-cat-4-dark); background: var(--aq-cat-4-light); }
.request-card { margin-top: 12px; overflow: hidden; }
.request-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 16px 16px 12px; }
.request-person { font-size: var(--ss-body); font-weight: 600; letter-spacing: -.01em; }
.status { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border-radius: var(--aq-radius-full); font-size: 11px; font-weight: 600; background: var(--aq-surface-sunken); color: var(--aq-fg-secondary); }
.status.pending { background: var(--aq-accent-subtle); color: var(--accent-text); }
.status.approved { background: var(--aq-success-lt); color: color-mix(in srgb, var(--aq-success) 60%, var(--aq-fg)); }
.status.rejected { background: var(--aq-error-lt); color: var(--danger-text); }
.swap-pair { padding: 0 16px 4px; }
.swap-line { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; padding: 8px 0; }
.swap-line .i { width: 18px; height: 18px; color: var(--accent-text); justify-self: center; }
.swap-line + .swap-line { border-top: var(--ss-divider); }
.swap-date { font-size: var(--ss-body); font-weight: 600; line-height: 20px; letter-spacing: -.01em; }
.swap-meta { font-size: var(--ss-caption); color: var(--aq-fg-muted); margin-top: 2px; line-height: 18px; }
.request-card .row-link { margin-top: 8px; border-top: var(--ss-divider); font-size: var(--ss-body); font-weight: 600; }
.request-footer { display: flex; align-items: center; gap: 6px; border-top: var(--ss-divider); padding: 12px 16px; margin-top: 8px; color: var(--aq-fg-muted); font-size: var(--ss-caption); }
.request-footer .i { width: 15px; height: 15px; }
.request-metadata { padding: 8px 16px 12px; font-size: var(--ss-caption); line-height: 19px; color: var(--aq-fg-muted); }
.request-metadata p + p { margin-top: 4px; }
.segmented { margin-bottom: 20px; min-height: 44px; }
.segmented button { min-height: 40px; }
.segmented button[aria-pressed="true"] { color: var(--aq-fg); }
.week-card { padding: 16px 8px 12px; }
.week-caption { padding: 0 8px 12px; font-size: var(--ss-body); font-weight: 600; letter-spacing: -.01em; }
.week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.day-btn { min-height: 68px; border-radius: var(--aq-radius-el); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0; font-size: 12px; color: var(--aq-fg-muted); }
.day-btn strong { font-size: var(--ss-title); color: var(--aq-fg); font-weight: 600; }
.day-count { font-size: 11px; font-weight: 600; line-height: 14px; font-variant-numeric: tabular-nums; }
.week-key { padding-top: 8px; text-align: center; font-size: 11px; color: var(--aq-fg-muted); }
.day-btn[aria-pressed="true"] { background: var(--aq-accent); color: var(--on-accent); }
.day-btn[aria-pressed="true"] strong { color: inherit; }
.day-btn[aria-pressed="true"] .day-count { color: inherit; }
.roster-row .row-title { font-size: var(--ss-body); }
.roster-identity { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.you-badge { padding: 1px 6px; background: var(--aq-accent-subtle); color: var(--accent-text); border-radius: var(--aq-radius-xs); font-size: 11px; line-height: 18px; font-weight: 600; }
.roster-time { font-size: var(--ss-caption); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.roster-time small { display: block; font-size: 11px; color: var(--aq-fg-muted); font-weight: 400; margin-top: 4px; }
.roster-foot { text-align: center; padding-top: 20px; color: var(--aq-fg-muted); font-size: var(--ss-caption); }
.screen.pushed { z-index: 35; background: var(--aq-bg); transform: translateX(100%); transition: transform .32s var(--ease-sheet); }
.screen.pushed.on { transform: none; }
.pushed .navbar-title { opacity: 1; transform: none; }
.pushed .scroll { padding-bottom: calc(var(--safe-bottom) + 112px); }
.pushed .toolbar { bottom: 0; padding-bottom: calc(var(--safe-bottom) + 12px); }
.back-btn { display: flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--accent-text); font-size: var(--ss-title); }
.back-btn .i { width: 24px; height: 24px; }
.step-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 4px 24px; }
.step-progress i { height: 3px; background: var(--aq-grey-400); border-radius: 2px; }
.step-progress i.complete { background: var(--aq-accent); }
.flow-title { padding: 0 4px 24px; }
.flow-title .eyebrow { text-transform: none; }
.flow-title h1 { font-size: 28px; line-height: 34px; letter-spacing: -.03em; margin-top: 6px; }
.flow-title p:last-child { font-size: var(--ss-body); color: var(--aq-fg-muted); line-height: 21px; margin-top: 8px; }
.selected-context { margin-bottom: 16px; overflow: hidden; }
.context-label { padding: 12px 16px 0; font-size: var(--ss-caption); line-height: 18px; color: var(--aq-fg-muted); font-weight: 500; }
.selected-context .schedule-row { min-height: 72px; padding-top: 8px; padding-bottom: 12px; }
.selected-context .context-label:not(:first-child) { border-top: var(--ss-divider); }
.role-match-note { padding: 0 16px 12px; font-size: var(--ss-caption); line-height: 19px; color: var(--accent-text); }
.field textarea { display: block; width: 100%; border: 0; background: transparent; color: var(--aq-fg); font: inherit; font-size: var(--ss-title); line-height: 24px; min-height: 144px; padding-top: 10px; resize: vertical; }
.field textarea::placeholder { color: var(--aq-fg-muted); }
.reason-count { font-size: var(--ss-caption); text-align: right; color: var(--aq-fg-muted); padding: 8px 4px; font-variant-numeric: tabular-nums; }
.reason-copy { padding: 16px; font-size: var(--ss-body); line-height: 22px; overflow-wrap: anywhere; white-space: pre-wrap; }
.review-note { padding: 12px 0 0; font-size: var(--ss-caption); line-height: 19px; color: var(--aq-fg-muted); }
.about-copy { padding: 4px 0 0; }
.error-banner { background: var(--aq-error-lt); color: var(--danger-text); border-radius: var(--aq-radius-el); padding: 12px 16px; font-size: var(--ss-body); line-height: 21px; margin-bottom: 16px; overflow-wrap: anywhere; }
.sheet-head { padding-top: 8px; }
.close { width: 44px; height: 44px; margin: 0; background: var(--aq-surface-sunken); }
.sheet-head .close .i { width: 20px; height: 20px; }
.sheet-actions.two { grid-template-columns: 1fr 1.6fr; gap: 12px; }
.btn-tonal { background: var(--aq-accent-subtle); color: var(--accent-text); }
.btn-danger { background: var(--aq-error-lt); color: var(--danger-text); }
.settings-person { display: flex; align-items: center; gap: 12px; padding: 16px; }
.settings-person strong { font-size: var(--ss-title); }
.settings-person p { font-size: var(--ss-caption); color: var(--aq-fg-muted); padding-top: 4px; }
.settings-control { padding: 12px; }
.settings-control .segmented { margin-bottom: 0; }
.settings-control .segmented button { font-size: var(--ss-caption); }
.success-state { padding: 40px 12px 28px; text-align: center; display: grid; justify-items: center; }
.success-symbol { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--aq-accent-subtle); color: var(--accent-text); margin-bottom: 24px; }
.success-symbol .i { width: 36px; height: 36px; }
.success-state h1 { font-size: 28px; letter-spacing: -.03em; }
.success-state p { font-size: var(--ss-body); line-height: 22px; color: var(--aq-fg-muted); max-width: 260px; padding-top: 12px; }
.success-card { padding-top: 8px; }
.request-timeline { list-style: none; margin: 8px 16px 0; padding: 12px 0 16px; border-top: var(--ss-divider); }
.request-timeline li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; }
.request-timeline .i { width: 20px; height: 20px; color: var(--accent-text); }
.request-timeline strong { font-size: var(--ss-body); font-weight: 500; }
.request-timeline p { font-size: var(--ss-caption); line-height: 19px; color: var(--aq-fg-muted); margin-top: 2px; }
.success-actions { display: grid; gap: 4px; }
.success-actions .btn-plain { height: 44px; font-size: var(--ss-body); }
.empty { margin-top: 20px; padding: 36px 24px; }
.empty .chip-icon { width: 56px; height: 56px; background: var(--aq-accent-subtle); color: var(--accent-text); border-radius: 18px; }
.empty-copy { max-width: 260px; margin-bottom: 0; }
.toast { white-space: normal; line-height: 20px; pointer-events: none; justify-content: flex-start; padding-top: 12px; padding-bottom: 12px; }
.toast > .i { width: 20px; height: 20px; }
.toast > span { flex: 1; min-width: 0; }
.boot-skeleton { padding: 24px; display: grid; gap: 16px; }
.boot-skeleton i { display: block; height: 20px; border-radius: 6px; background: var(--aq-surface-sunken); }
.boot-skeleton i:nth-child(2) { width: 55%; height: 36px; }
.boot-skeleton i:nth-child(3) { width: 75%; }
.print-only { display: none; }
body.aq-dark .next-card { background: var(--aq-accent-subtle); }
body.aq-dark .sheet .settings-control { background: var(--aq-surface-overlay); }
@media (max-width: 370px) {
  .roster-row { gap: 10px; padding: 16px 12px; }
  .roster-time { font-size: 12px; }
  .summary-values > div + div { padding-left: 16px; }
}
@media print {
  @page { size: A4; margin: 18mm; }
  body { background: white !important; color: black !important; overflow: visible; }
  .stage, noscript { display: none !important; }
  .print-only { display: block; font-size: 11pt; }
  .print-only h1 { font-size: 24pt; margin-bottom: 6mm; }
  .print-only p { margin-bottom: 8mm; }
  .print-only table { width: 100%; border-collapse: collapse; }
  .print-only th, .print-only td { padding: 3mm 2mm; border-bottom: 1px solid #ddd; text-align: left; }
  .print-only tr { break-inside: avoid; }
  .print-only thead { display: table-header-group; }
}

.segmented { min-height: 48px; }
.segmented button { min-height: 44px; }
.week-strip { gap: 0; }
@media (max-width: 370px) { .week-card { padding-left: 8px; padding-right: 8px; } }

body.aq-dark { --on-accent: var(--aq-bg); }
body.aq-dark .tabbar button:not([aria-current]) { color: var(--aq-fg-secondary); }

body.aq-dark { background: var(--aq-bg); }

/* Native refinement after first design review. */
.summary-card { padding: 0 4px 4px; }
.summary-heading { font-size: 13px; }
.summary-heading .i { display: none; }
.summary-values { padding-top: 10px; }
.summary-values dd { font-size: 26px; line-height: 32px; }
.next-card { margin-top: 16px; }
#screen-main .navbar-trailing { bottom: -64px; }
#screen-main.scrolled .navbar-trailing { bottom: 0; }
#screen-main .large-title { padding-right: 100px; }
#screen-main.scrolled .navbar { background: var(--aq-bg); }
#screen-main { bottom: calc(var(--tab-h) + var(--safe-bottom)); display: grid; grid-template-rows: minmax(0, 1fr) auto; }
#request-screen { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
#screen-main > .scroll, #request-screen > .scroll { min-height: 0; padding-bottom: 16px; }
#screen-main > .toolbar, #request-screen > .toolbar { position: static; background: var(--aq-bg); }
.swap-direction { color: var(--aq-fg-muted); font-size: 11px; margin-bottom: 2px; }
.field textarea { resize: none; min-height: 132px; padding: 10px 0 24px; outline: none; }
.field { position: relative; }
.field textarea:focus-visible { outline: none; }
.field:focus-within { box-shadow: inset 0 0 0 1.5px var(--aq-accent); }
.field .reason-count { position: absolute; bottom: 8px; right: 16px; padding: 0; pointer-events: none; }
.choice-row { border-radius: 0; }
.schedule-list > li + li::before { left: 16px; right: 16px; }
.roster-list > li + li::before { left: 16px; right: 16px; }
.row-link { color: var(--aq-fg); }
.row-link > .i { color: var(--aq-fg-muted); width: 18px; }
.row-link-lead > .i { color: var(--aq-fg-secondary); }
.status.pending { background: var(--aq-warning-lt); color: color-mix(in srgb, var(--aq-warning) 40%, var(--aq-fg)); }
.own-row { background: color-mix(in srgb, var(--aq-accent-subtle) 40%, var(--aq-surface)); }
.excluded-row { min-height: 84px; }
.exclusion-note { display: block; font-size: 11px; color: var(--aq-fg-muted); margin-top: 4px; }
.decision-confirm { padding: 16px 0 0; text-align: center; font-size: 15px; font-weight: 600; color: var(--accent-text); }
.about-copy + .about-copy { margin-top: 12px; }
.stage-caption { display: none !important; }
.boot-next { min-height: 160px; margin-top: 16px; }
.boot-list { min-height: 168px; margin-top: 20px; }

.swap-line { grid-template-columns: 40px 1fr; }
.swap-line .avatar { width: 36px; height: 36px; font-size: 12px; }
.swap-direction { font-size: 13px; font-weight: 500; }
.exclusion-note { font-size: 13px; line-height: 19px; }
.date-chip span { font-size: 12px; }
.tabbar span { font-size: 11px; }
.tabbar button:not([aria-current]) { color: var(--aq-fg-secondary); }
.unavailable-details { margin-top: 16px; }
.unavailable-details summary { min-height: 44px; padding: 12px 4px; font-size: 15px; color: var(--aq-fg-secondary); cursor: pointer; }
.excluded-row { background: var(--aq-surface-sunken); }
@media (max-width: 599px) { #request-screen { --safe-top: max(env(safe-area-inset-top, 0px), 12px); } }

.navbar .avatar { width: 36px; height: 36px; font-size: 13px; border-radius: var(--aq-radius-el); }

#screen-main .navbar-trailing { right: 12px; }
.large-title, .summary-card, .flow-title { padding-left: 0; }
.summary-values dd { display: flex; align-items: baseline; min-height: 32px; }
.summary-values dd small { line-height: 1; }
.summary-values dt { line-height: 18px; }
.avatar, .navbar .avatar, .choice-row .avatar, .roster-row .avatar, .swap-line .avatar { width: 36px; height: 36px; border-radius: 50%; font-size: 13px; }
.roster-row { padding-left: 16px; }
.own-row { background: transparent; }
.own-row .row-title { font-weight: 700; }
.unavailable-details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--aq-surface); padding: 12px 16px; border-radius: 16px; list-style: none; }
.unavailable-details summary::-webkit-details-marker { display: none; }
.unavailable-details summary .i { width: 18px; height: 18px; color: var(--aq-fg-muted); }
.unavailable-details[open] summary { border-radius: 16px 16px 0 0; }
.unavailable-details[open] summary .i { transform: rotate(90deg); }
.unavailable-details .group { margin-top: 0; border-radius: 0 0 16px 16px; }
.boot-skeleton i { background: var(--aq-grey-200); }
.own-request-empty { padding: 20px 16px; }
.own-request-empty h3 { font-size: 17px; font-weight: 600; }
.own-request-empty p { font-size: 15px; line-height: 21px; color: var(--aq-fg-muted); margin-top: 6px; }
.day-off-row .row-title { color: var(--aq-fg-secondary); font-weight: 500; }
.status { font-size: 12px; }
.settings-person strong, .row-link { font-size: 15px; }
body.aq-dark .btn-primary { background: var(--aq-accent); color: var(--on-accent); }
body.aq-dark .btn-primary:disabled { background: var(--aq-surface-sunken); color: var(--aq-fg-muted); }

/* Round 2: legible native materials and compact off-duty rows. */
#screen-main > .scroll { padding-top: calc(var(--safe-top) + 12px); padding-bottom: 32px; }
#screen-main > .toolbar { position: relative; bottom: auto; }
#screen-main > .toolbar::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px; background: linear-gradient(transparent, var(--aq-bg)); pointer-events: none; }
#screen-main .navbar-trailing { bottom: auto; top: calc(var(--safe-top) + 16px); }
#screen-main.scrolled .navbar-trailing { top: var(--safe-top); }
#screen-main.scrolled .navbar { background: color-mix(in srgb, var(--aq-bg) 94%, transparent); backdrop-filter: blur(24px); box-shadow: none; }
.day-off-row { min-height: 50px; padding-top: 8px; padding-bottom: 8px; } .day-off-row .date-chip { background: transparent; padding: 0; } .day-off-row .date-chip strong { font-size: 17px; }
.choice-row { margin: 0; width: 100%; border-radius: 0; } .roster-row { padding-right: 16px; }
body.aq-dark .summary-values > div + div { border-color: color-mix(in srgb, var(--aq-fg) 15%, transparent); }
.profile-btn { border-radius: 50%; color: var(--accent-text); } .profile-btn:active { background: var(--aq-accent-subtle); }
.own-request-empty .btn { margin-top: 16px; width: 100%; } .about-feature { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 52px; font-size: 15px; } .about-feature .i { color: var(--aq-fg-muted); width: 20px; height: 20px; } .about-footnote { padding-top: 12px; font-size: 13px; line-height: 19px; color: var(--aq-fg-muted); }

/* Final native refinement: same chrome and more schedule above fold. */
.next-card { padding: 16px; } .next-date { margin-top: 8px; } .next-time { font-size: 24px; line-height: 30px; } .next-meta { margin-top: 6px; }
.profile-btn { background: var(--aq-accent-subtle); } .profile-btn .i { width: 24px; height: 24px; stroke-width: 3.4; color: var(--accent-text); }
.header-circle { background: var(--aq-accent-subtle); }
body.aq-dark .schedule-row:not(.day-off-row) .date-chip { background: var(--aq-accent-subtle); }
#request-filter { margin-bottom: 0; }

/* Fresh review: scroll clearance and consistent grouped chrome. */
#screen-main > .scroll { padding-bottom: calc(var(--tab-h) + var(--safe-bottom) + 32px); }
#request-screen .scroll { padding-bottom: 32px; } #request-screen[data-step="success"] .success-state { padding-top: 24px; padding-bottom: 16px; } #request-screen[data-step="success"] .toolbar { padding-top: 16px; }
#sheet .reason-copy { margin-top: 0; } #sheet .group-label { margin-top: 24px; }
#theme-seg, #role-seg { box-shadow: none; border: 0; border-radius: 12px; } .date-chip { border-radius: var(--aq-radius-el); }
.day-count { display: flex; height: 8px; gap: 3px; align-items: center; } .shift-mark { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.own-request-empty { padding: 16px; } .request-card .request-metadata { padding-bottom: 4px; }

/* Final 8pt sheet rhythm and clear action roles. */
#sheet .group-label { margin-top: 0; padding-top: 24px; } #sheet .request-metadata { padding-bottom: 16px; }
#screen-main.scrolled .large-title { visibility: hidden; opacity: 0; } #screen-main.scrolled .navbar { background: var(--aq-bg); border-bottom: .5px solid var(--aq-border); }
#reject-swap, #cancel-reset { background: var(--aq-surface-sunken); color: var(--aq-fg); }
body.aq-dark .schedule-row:not(.day-off-row) .date-chip { background: color-mix(in srgb, var(--aq-mint) 24%, var(--aq-surface)); }

body.aq-dark .schedule-row:not(.day-off-row) .date-chip span { color: var(--aq-fg); }

/* Design pass 2026-10-14 22h: one green-tinted neutral system, roomier compact bar, clear action roles. */
body.aq-preset-toss-v2 {
  --aq-page: #F3F5F4; --aq-bg: #F3F5F4;
  --aq-grey-50: oklch(0.984 0.004 170); --aq-grey-100: oklch(0.962 0.006 170);
  --aq-grey-200: oklch(0.926 0.008 170); --aq-grey-300: oklch(0.870 0.010 170);
  --aq-grey-400: oklch(0.776 0.012 170); --aq-grey-500: oklch(0.662 0.014 170);
  --aq-grey-600: oklch(0.552 0.015 170); --aq-grey-700: oklch(0.452 0.015 170);
  --aq-grey-800: oklch(0.352 0.014 170); --aq-grey-900: oklch(0.232 0.012 170);
}
body.aq-preset-toss-v2.aq-dark {
  --aq-page: #0E1513; --aq-bg: #0E1513;
  --aq-surface: #1A2421; --aq-surface-raised: #1E2925; --aq-surface-overlay: #222D29;
  --aq-surface-sunken: #111916; --aq-surface-subtle: #141D1A; --aq-surface-strong: #2B3833;
  --aq-grey-50: oklch(0.230 0.010 170); --aq-grey-100: oklch(0.268 0.012 170);
  --aq-grey-200: oklch(0.320 0.013 170); --aq-grey-300: oklch(0.383 0.014 170);
  --aq-grey-400: oklch(0.495 0.015 170); --aq-grey-500: oklch(0.611 0.015 170);
  --aq-grey-600: oklch(0.713 0.013 170); --aq-grey-700: oklch(0.815 0.010 170);
  --aq-grey-800: oklch(0.911 0.007 170); --aq-grey-900: oklch(0.966 0.005 170);
  --aq-accent-subtle: color-mix(in srgb, var(--aq-mint) 15%, var(--aq-surface));
}
/* 1. Compact bar: 56px so the 44px menu target sits fully inside and centred with the title. */
#screen-main.scrolled .navbar { height: calc(var(--safe-top) + 56px); }
#screen-main.scrolled .navbar-trailing { top: calc(var(--safe-top) + 6px); height: 44px; }
#screen-main.scrolled .profile-btn { background: transparent; }
#screen-main.scrolled .profile-btn .i { width: 22px; height: 22px; }
/* 3. Action roles: one filled primary; neutral secondary is outlined; Decline reads as deliberate. */
.btn-secondary { background: var(--aq-surface); color: var(--aq-fg); box-shadow: inset 0 0 0 1px var(--aq-border-strong); }
.btn-secondary:active { background: var(--aq-surface-sunken); }
#reject-swap, #cancel-reset { background: var(--aq-surface); color: var(--aq-fg); }
#reject-swap.btn-decline { color: var(--danger-text); }
.btn-danger { background: var(--danger-text); color: #fff; }
.btn-danger:active { background: color-mix(in srgb, var(--danger-text) 85%, #000); }
body.aq-dark .btn-danger { background: color-mix(in srgb, var(--aq-error) 82%, #000); color: #fff; }
body.aq-dark .btn-secondary { background: var(--aq-surface); box-shadow: inset 0 0 0 1px var(--aq-grey-300); }
/* 4. Role-match note: secondary section caption, neutral and readable. */
.role-match-note { padding: 4px 4px 10px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--aq-fg-secondary); }
/* 5. Dark accents: one mint family for selected chips, next-shift card and badges. */
body.aq-dark .next-card { background: var(--aq-accent-subtle); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--aq-mint) 28%, transparent); }
body.aq-dark .schedule-row:not(.day-off-row) .date-chip { background: var(--aq-accent-subtle); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--aq-mint) 22%, transparent); }
body.aq-dark .schedule-row:not(.day-off-row) .date-chip strong { color: var(--aq-mint); }
/* Flow details: readable progress, selected row cue. */
.step-progress i { height: 4px; background: color-mix(in srgb, var(--aq-accent) 16%, var(--aq-grey-200)); }
.step-progress i.complete { background: var(--aq-accent); }
.choice-row[aria-pressed="true"] { background: color-mix(in srgb, var(--aq-accent-subtle) 55%, var(--aq-surface)); }
/* 2. Loading mirrors My shifts: cafe header, stats, next-shift card, week rows. */
.boot { display: block; }
.sk { display: block; height: 12px; border-radius: 6px; background: var(--aq-grey-200); }
.boot .w28 { width: 28%; } .boot .w40 { width: 40%; } .boot .w45 { width: 45%; } .boot .w55 { width: 55%; } .boot .w70 { width: 70%; }
.boot-summary { padding: 0 0 4px; display: grid; gap: 14px; }
.boot-stats { display: grid; grid-template-columns: 1fr 1fr; }
.boot-stats > div { display: grid; gap: 8px; }
.boot-stats > div + div { padding-left: 24px; border-left: var(--ss-divider); }
.boot .sk-num { width: 48px; height: 26px; }
.boot-next { display: grid; gap: 10px; min-height: 0; padding: 16px; }
.boot-next .sk { background: color-mix(in srgb, var(--aq-accent) 14%, transparent); }
.boot-next .sk-big { height: 24px; }
.boot .group-label { margin-top: 20px; }
.boot-week { list-style: none; }
.boot-week li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.boot-week li + li { border-top: var(--ss-divider); }
.boot .sk-chip { width: 44px; height: 50px; border-radius: var(--aq-radius-el); background: var(--aq-surface-sunken); }
.sk-lines { flex: 1; display: grid; gap: 8px; }
@media (prefers-reduced-motion: no-preference) { .sk { animation: sk-pulse 1.4s ease-in-out infinite; } }
@keyframes sk-pulse { 50% { opacity: .55; } }
.role-match-note { padding: 4px 16px 10px; }
/* History: requested → decided as a small timeline, not two log lines. */
.request-metadata .tl-step { position: relative; padding-left: 18px; }
.request-metadata .tl-step::before { content: ""; position: absolute; left: 2px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--aq-grey-400); }
.request-metadata .tl-step + .tl-step { margin-top: 6px; }
.request-metadata .tl-step + .tl-step::after { content: ""; position: absolute; left: 5px; top: -13px; height: 17px; border-left: 1px solid var(--aq-grey-300); }
.request-metadata .tl-step.approved { color: var(--aq-fg-secondary); } .request-metadata .tl-step.approved::before { background: var(--aq-success); }
.request-metadata .tl-step.rejected { color: var(--aq-fg-secondary); } .request-metadata .tl-step.rejected::before { background: var(--danger-text); }
/* Empty states sit in the middle of the space instead of hugging the top. */
#screen-main .empty { margin-top: 12vh; }
/* Roster header: both header actions share the tinted circle. */
#screen-main .header-circle { background: var(--aq-accent-subtle); color: var(--accent-text); }
/* About list dividers align with the label text. */
#sheet .list > li + li::before { left: 48px; }
/* Tab labels: no tracking at 11px (avoids uneven glyph gaps). */
.tabbar span { font-size: 11px; letter-spacing: 0; font-kerning: normal; text-rendering: geometricPrecision; }
/* Week list: a run of days off collapses into one row. */
.date-chip.range { background: transparent; padding: 0; }
.date-chip.range strong { font-size: 14px; line-height: 20px; letter-spacing: -.01em; color: var(--aq-fg-secondary); white-space: nowrap; }
.day-off-row .row-sub { display: block; color: var(--aq-fg-muted); margin-top: 2px; }
/* Roster: working teammates first; days off recede. */
.off-row .row-title > span:first-child { color: var(--aq-fg-secondary); font-weight: 500; }
.off-row .avatar { opacity: .6; }
.off-row .row-sub { color: var(--aq-fg-muted); }
.week-key { padding: 10px 8px 0; font-size: 12px; color: var(--aq-fg-muted); }
/* Empty state action. */
.empty .empty-action { margin-top: 12px; }
/* Decline consequence sits directly under the actions. */
.review-note.decline-note { display: flex; align-items: flex-start; gap: 6px; padding-top: 12px; color: var(--aq-fg-secondary); }
.decline-note .i { width: 16px; height: 16px; flex: none; margin-top: 2px; }
/* Review r2: visible scroll edge in light, one close style, legible off rows. */
#screen-main > .toolbar::before { top: -32px; height: 32px; }
body.aq-dark .close { background: color-mix(in srgb, var(--aq-fg) 10%, transparent); }
.off-row .row-title > span:first-child { color: var(--aq-fg); font-weight: 600; }
.off-row .avatar { opacity: 1; }
