:root {
    --indigo: #303f9f;
    --indigo-light: #5c6bc0;
    --indigo-dark: #1a237e;
    --indigo-ink: #283593;
    --indigo-tint: #e8eaf6;
    --indigo-tint-2: #eef0fb;
    --indigo-tint-3: #f4f5fc;
    --indigo-border: #c5cae9;
    --ink: #1b1b21;
    --ink-2: #46464f;
    --ink-3: #5f6368;
    --ink-4: #767680;
    --ink-5: #9aa0a6;
    --ink-muted: #9a9aa3;
    --line: #ececf0;
    --line-2: #f0f0f3;
    --surface: #fff;
    --surface-2: #f5f5f8;
    --surface-3: #f1f1f4;
    --outline: #767680;
    --outline-2: #c4c4cc;
    --error: #B00000;
    --error-ink: #8c0000;
    --error-tint: #fbe9e9;
    --green: #388e3c;
    --green-light: #81c784;
    --purple: #9575cd;
    --grey: #616161;
    --blue: #3e79c4;
    --orange: #e69000;
    --backdrop: #e6e7ee;
    --nav-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { height: 100%; }

body.employee {
    margin: 0;
    background: var(--backdrop);
    font-family: Roboto, system-ui, sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

:where(.employee) a { color: var(--indigo); text-decoration: none; }
:where(.employee) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0;
    user-select: none;
}
.icon-fill { font-variation-settings: 'FILL' 1; }

.app {
    position: relative;
    max-width: 480px;
    min-height: 100%;
    margin: 0 auto;
    background: var(--surface);
    display: flex;
    flex-direction: column;
}
.app--grey { background: var(--surface-2); }
.app--nav { padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px)); }

.appbar {
    flex: none;
    height: 56px;
    background: var(--indigo);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px 0 16px;
    padding-top: env(safe-area-inset-top, 0px);
    box-sizing: content-box;
}
.appbar__title { flex: 1; min-width: 0; font-size: 20px; font-weight: 500; }
.appbar__action {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.appbar__action .material-symbols-rounded { font-size: 22px; }

.appbar--detail { height: 64px; padding: 8px 8px 8px 4px; gap: 4px; box-sizing: border-box; height: calc(64px + env(safe-area-inset-top, 0px)); }
.appbar--detail .appbar__title { flex: none; font-size: 22px; }
.appbar--page { height: calc(64px + env(safe-area-inset-top, 0px)); padding: 8px 8px 8px 20px; box-sizing: border-box; }
.appbar--page .appbar__title { font-size: 22px; }
.appbar__back {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.appbar--plain { background: var(--surface); color: var(--ink); }
.appbar--plain .appbar__back { color: var(--ink); }
.appbar--plain .appbar__title { font-size: 20px; }

.segmented {
    display: flex;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 16px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
}
.segmented a { display: flex; align-items: center; padding: 0 14px; color: #fff; }
.segmented a.is-active { background: #fff; color: var(--indigo-dark); }

.sticky-head {
    position: sticky;
    top: 0;
    z-index: 10;
    flex: none;
    transition: transform .2s ease;
}
.sticky-head.is-collapsed { transform: translateY(calc(-56px - env(safe-area-inset-top, 0px))); }
.strip {
    flex: none;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .15s;
}
.strip__head { display: flex; align-items: center; gap: 4px; padding: 6px 4px 2px 16px; }
.strip__month { flex: 1; font-size: 16px; font-weight: 500; color: var(--ink); }
.sticky-head.is-collapsed .strip { box-shadow: 0 2px 6px rgba(20, 24, 60, .06); }
.strip__nav {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-2);
    flex: none;
}
.strip__nav .material-symbols-rounded { font-size: 22px; }
.strip__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 0 8px 10px; }
.strip__day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 0 5px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    color: var(--ink-muted);
}
.strip__weekday { font-size: 12px; color: var(--ink-muted); }
.strip__date { font-size: 17px; line-height: 1.2; font-weight: 400; color: var(--ink-muted); }
.strip__dots { display: flex; gap: 3px; height: 5px; }
.strip__dot { width: 5px; height: 5px; border-radius: 3px; background: var(--indigo-light); }
.strip__dot--past { background: #b8b8c0; }
.strip__day.has-shift .strip__weekday { color: var(--ink-3); }
.strip__day.has-shift .strip__date { color: var(--ink); font-weight: 500; }
.strip__day.is-today { background: var(--indigo); box-shadow: 0 2px 6px rgba(48, 63, 159, .3); }
.strip__day.is-today .strip__weekday { color: var(--indigo-tint); }
.strip__day.is-today .strip__date { color: #fff; font-weight: 700; }
.strip__day.is-today .strip__dot { background: #fff; }
a.strip__day:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

.spacer { flex: 1; }

.today-button {
    height: 32px;
    padding: 0 12px 0 8px;
    border-radius: 16px;
    border: 1px solid var(--indigo-border);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--indigo);
}
.today-button .material-symbols-rounded { font-size: 18px; }

.todo {
    flex: none;
    border-radius: 14px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(20, 24, 60, .08);
    overflow: hidden;
}
.todo__head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 6px 0 14px;
    text-align: left;
}
.todo__head > .material-symbols-rounded:first-child { font-size: 20px; color: var(--indigo); }
.todo__title { flex: 1; font-size: 14px; font-weight: 500; }
.todo__chevron { color: var(--ink-5); transition: transform .15s; }
.todo.is-open .todo__chevron { transform: rotate(90deg); }
.todo__items { display: none; border-top: 1px solid var(--line-2); }
.todo.is-open .todo__items { display: block; }
.todo__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 6px 8px 12px;
    font-size: 13px;
    color: var(--ink);
}
.todo__item + .todo__item { border-top: 1px solid var(--line-2); }
.todo__item > .material-symbols-rounded:first-child { font-size: 18px; color: var(--indigo); }
.todo__item span.text { flex: 1; }

.day-head {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 0 0 4px;
    font-size: 15px;
    color: var(--ink-2);
    scroll-margin-top: 150px;
}
.day-head__main { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.day-head__main > span { white-space: nowrap; }
.day-head.is-today .day-head__label { color: var(--indigo); }
.day-head__label { font-weight: 500; color: var(--ink); }
.day-mark { display: flex; align-items: center; gap: 3px; font-size: 13px; }
.day-mark .material-symbols-rounded { font-size: 15px; }
.day-mark--holiday { color: var(--indigo); }
.day-mark--vacation { color: #1e5e22; }
.day-mark--no-leave { color: var(--blue); }
.day-mark--request { color: var(--ink-2); }
.who-button {
    width: 32px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.who-button .material-symbols-rounded { font-size: 18px; color: var(--ink-4); }


.shift-row {
    flex: none;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 6px 10px 14px;
    background: var(--surface);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(20, 24, 60, .08);
    color: inherit;
}
.shift-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.shift-row__main { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shift-row__time { font-weight: 500; }
.shift-row__dept { color: var(--ink-2); }
.shift-row__sub { font-size: 13px; color: var(--ink-3); }
.shift-row__note { font-size: 18px; color: var(--indigo); font-variation-settings: 'FILL' 1; }
.shift-row__chevron { color: var(--ink-5); }
.next-day { color: var(--ink-2); }

.kind-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background: var(--green);
    color: #fff;
}
.kind-icon .material-symbols-rounded { font-size: 20px; }
.kind-icon--standby { background: var(--green-light); color: #123d15; }
.kind-icon--approved { background: var(--purple); color: #fff; }
.kind-icon--definitive { background: var(--grey); color: #fff; }
.kind-icon--absence { background: #eceff1; color: #455a64; }
.kind-icon--off { background: var(--surface-3); color: var(--ink-3); }

.off-row { flex: none; min-height: 60px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; background: var(--surface); border-radius: 14px; box-shadow: 0 1px 2px rgba(20, 24, 60, .08); }
.off-row.is-selected { box-shadow: 0 0 0 1.5px var(--indigo); }
.off-row__text { font-size: 15px; color: var(--ink-2); flex: 1; }
.link-arrow { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--indigo); padding: 8px 0; }
.link-arrow .material-symbols-rounded { font-size: 18px; }

.list-row {
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 14px;
    font-size: 13px;
    color: var(--ink-2);
    background: var(--surface);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(20, 24, 60, .08);
}
.list-row .material-symbols-rounded { font-size: 18px; }
.list-row__hint { font-size: 12px; color: var(--ink-5); }
.next-month { flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; font-size: 14px; font-weight: 500; color: var(--indigo); }
.next-month .material-symbols-rounded { font-size: 18px; }

.list-actions { display: flex; align-items: center; justify-content: space-between; flex: none; height: 44px; margin: -8px 0 -6px; }
.list-actions__earlier { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 4px; font-size: 13px; font-weight: 500; color: var(--indigo); background: none; border: 0; cursor: pointer; font-family: inherit; }
.list-actions__earlier .material-symbols-rounded { font-size: 20px; transition: transform .15s; }
.list-actions__earlier.is-open .material-symbols-rounded { transform: rotate(180deg); }
.list-actions__agenda { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 4px; font-size: 13px; color: var(--ink-3); }
.list-actions__agenda .material-symbols-rounded { font-size: 18px; }
.earlier-list { display: flex; flex-direction: column; gap: 14px; }

.month {
    flex: none;
    background: var(--surface);
    padding: 10px;
    border-bottom: 1px solid var(--line);
}
.month__head { display: flex; align-items: center; gap: 6px; padding: 0 4px 6px 10px; }
.month__title { font-size: 16px; font-weight: 500; flex: 1; }
.month__nav { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.month__weekdays, .month__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.month__weekdays { font-size: 12px; color: var(--ink-3); text-align: center; padding-bottom: 4px; }
.month__week { gap: 2px; margin-bottom: 2px; }
.month__weeknr { font-size: 11px; color: var(--ink-5); display: flex; align-items: center; justify-content: center; }
.month__day {
    height: 44px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6px;
    gap: 4px;
    position: relative;
    border: 1.5px solid transparent;
    color: #6b6b75;
}
.month__num { font-size: 15px; font-weight: 400; }
.month__dots { display: flex; gap: 3px; height: 5px; }
.month__dot { width: 5px; height: 5px; border-radius: 3px; background: var(--indigo-light); }
.month__dot--past { background: #b8b8c0; }
.month__mark { position: absolute; top: 2px; right: 2px; font-size: 13px !important; }
.month__day.has-shift { color: var(--ink); }
.month__day.has-shift .month__num { font-weight: 500; }
.month__day.is-past { color: #a2a2ab; }
.month__day.is-past .month__num { font-weight: 400; }
.month__day.is-outside { color: var(--outline-2); pointer-events: none; }
.month__day.is-today { background: var(--indigo-tint); color: var(--indigo); }
.month__day.is-today .month__num { font-weight: 700; }
.month__day.is-selected { background: #fff; border-color: var(--indigo); }
.month__day.is-selected .month__num { font-weight: 700; }

.page { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card { background: var(--surface); border-radius: 20px; }
.card--shift { padding: 20px 20px 8px; display: flex; flex-direction: column; gap: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    background: var(--surface-3);
    color: var(--ink-2);
}
.chip .material-symbols-rounded { font-size: 18px; }
.chip--work { background: #e3f1e4; color: #1e5e22; }
.chip--standby { background: #edf7ee; color: #2e6b31; box-shadow: inset 0 0 0 1px var(--green-light); }
.chip--approved { background: #efe9f9; color: #5a3d9a; }
.chip--definitive { background: #ececec; color: #424242; }
.chip--absence { background: #eceff1; color: #455a64; }
.chip--unavailable { background: var(--error-tint); color: var(--error); }
.chip--limited { background: #fff3dc; color: #8a5a00; }
.chip--limited .material-symbols-rounded { color: var(--orange); }
.chip--no-leave { background: #e7eff9; color: #2b5f9e; }

.shift-head { display: flex; flex-direction: column; gap: 4px; }
.shift-head__date { font-size: 15px; color: var(--ink-2); }
.shift-head__time { font-size: 34px; font-weight: 400; letter-spacing: -.3px; }
.shift-head__note { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.shift-head__note .material-symbols-rounded { font-size: 18px; }

.kv { display: flex; flex-direction: column; }
.kv__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.kv__key { color: var(--ink-3); }
.kv__value { font-weight: 500; display: flex; align-items: center; gap: 6px; text-align: right; }
.kv__value .material-symbols-rounded { font-size: 18px; color: var(--indigo); }

.card--note { padding: 16px 20px; display: flex; gap: 12px; }
.card--note > .material-symbols-rounded { font-size: 22px; color: var(--indigo); font-variation-settings: 'FILL' 1; }
.card--text { padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.card__label { font-size: 13px; color: var(--ink-3); }
.card__text { font-size: 15px; line-height: 1.45; white-space: pre-line; }

.card--who { width: 100%; padding: 14px 12px 14px 20px; display: flex; align-items: center; gap: 12px; text-align: left; }
.avatars { display: flex; }
.avatar {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #fff;
    flex: none;
}
.avatars .avatar + .avatar { margin-left: -8px; }
.avatar--lg { width: 36px; height: 36px; border-radius: 18px; font-size: 13px; box-shadow: none; }
.avatar--me { background: var(--indigo); color: #fff; }
.avatar--c0 { background: #c5cae9; color: #1a237e; }
.avatar--c1 { background: #ffe0b2; color: #7a4300; }
.avatar--c2 { background: #c8e6c9; color: #1b5e20; }
.avatar--c3 { background: #f8bbd0; color: #880e4f; }
.avatar--c4 { background: #b2ebf2; color: #006064; }
.avatar--c5 { background: #d1c4e9; color: #4527a0; }
.card--who__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.card--who__title { font-size: 15px; font-weight: 500; }
.card--who__sub { font-size: 13px; color: var(--ink-3); }
.card--who__sub b { font-weight: 500; color: var(--ink-2); }

.card--actions { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.card--actions__row { display: flex; gap: 10px; }
.card--actions__hint { font-size: 12px; color: var(--ink-3); }

.hint-line { display: flex; align-items: center; gap: 10px; padding: 4px 8px; font-size: 13px; color: var(--ink-3); }
.hint-line .material-symbols-rounded { font-size: 18px; }
.page-link { display: flex; align-items: center; gap: 6px; padding: 4px 8px; font-size: 14px; font-weight: 500; color: var(--indigo); }
.page-link .material-symbols-rounded { font-size: 18px; }

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    white-space: nowrap;
}
.btn .material-symbols-rounded { font-size: 20px; }
.btn--filled { height: 52px; border-radius: 26px; background: var(--indigo); color: #fff; font-size: 15px; width: 100%; }
.btn--filled:disabled, form[aria-busy="true"] .btn[type="submit"] { opacity: .5; }
[data-colleagues][aria-busy="true"] { opacity: .5; cursor: progress; }
.btn--tonal { height: 44px; padding: 0 20px; border-radius: 22px; background: var(--indigo-tint); color: var(--indigo-dark); font-size: 14px; }
.btn--outline { flex: 1; height: 44px; border-radius: 22px; border: 1px solid var(--outline); color: var(--indigo); font-size: 14px; }

.empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px;
    text-align: center;
    background: var(--surface-2);
}
.empty__icon { width: 72px; height: 72px; border-radius: 36px; background: var(--indigo-tint); display: flex; align-items: center; justify-content: center; }
.empty__icon .material-symbols-rounded { font-size: 36px; color: var(--indigo); }
.empty__title { font-size: 20px; font-weight: 500; }
.empty__text { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 280px; text-wrap: pretty; }
.empty .btn--tonal { margin-top: 8px; }

.sheet { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; justify-content: flex-end; }
.sheet[hidden] { display: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(15, 17, 40, .45); }
.sheet__panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    max-height: 85dvh;
    margin: 0 auto;
    overflow-y: auto;
    background: #fff;
    border-radius: 28px 28px 0 0;
    padding: 10px 24px calc(24px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sheet__handle { width: 32px; height: 4px; border-radius: 2px; background: var(--outline-2); align-self: center; flex: none; }
.sheet__head { display: flex; align-items: flex-start; gap: 8px; }
.sheet__titles { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.sheet__title { font-size: 22px; font-weight: 500; }
.sheet__sub { font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 4px; }
.sheet__sub .material-symbols-rounded { font-size: 16px; color: var(--indigo); }
.sheet__close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; margin: -4px -8px 0 0; color: var(--ink-2); }
.who-group { display: flex; flex-direction: column; gap: 2px; }
.who-group + .who-group { border-top: 1px solid var(--line-2); padding-top: 8px; }
.who-group__title { font-size: 13px; font-weight: 500; color: var(--ink-3); padding: 4px 0; }
.who-person { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 15px; }
.info-box { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); background: var(--surface-2); border-radius: 12px; padding: 10px 12px; }
.info-box .material-symbols-rounded { font-size: 18px; }

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    max-width: 480px;
    margin: 0 auto;
    height: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px));
    display: flex;
    background: #fff;
    border-top: 1px solid #e4e4ea;
    padding: 8px 2px calc(12px + env(safe-area-inset-bottom, 0px));
}
.bottom-nav__item {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--ink-3);
}
.bottom-nav__pill {
    position: relative;
    width: 56px;
    max-width: 100%;
    height: 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bottom-nav__label { font-size: 12px; font-weight: 500; letter-spacing: .1px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 359px) {
    .bottom-nav__label { font-size: 11px; letter-spacing: 0; }
}
.bottom-nav__badge {
    position: absolute;
    top: 1px;
    right: 9px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    background: var(--error);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.bottom-nav__item.is-active { color: var(--indigo-dark); }
.bottom-nav__item.is-active .bottom-nav__pill { background: #e0e3f5; }
.bottom-nav__item.is-active .material-symbols-rounded { font-variation-settings: 'FILL' 1; }
.bottom-nav__item.is-active .bottom-nav__label { font-weight: 700; }

.form { flex: 1; padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__box {
    position: relative;
    height: 56px;
    border: 1px solid var(--outline);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 4px 0 14px;
    background: #fff;
}
.field__box:focus-within { border: 2px solid var(--indigo); padding-left: 13px; }
.field__label {
    position: absolute;
    top: -9px;
    left: 10px;
    background: #fff;
    padding: 0 4px;
    font-size: 12px;
    color: var(--ink-3);
    line-height: 16px;
}
.field__box:focus-within .field__label { color: var(--indigo); left: 9px; top: -10px; }
.field__input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 16px;
    color: var(--ink);
    padding: 0;
}
.field__input[type=password] { font-size: 18px; letter-spacing: 3px; }
.field__input::placeholder { color: #8a8a94; letter-spacing: 0; font-size: 16px; }
.field__toggle { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--ink-3); flex: none; }
.field__help { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-3); padding: 0 4px; }
.field__help .ok { display: flex; align-items: center; gap: 4px; color: var(--green); }
.field__help .ok .material-symbols-rounded { font-size: 16px; }
.field.has-error .field__box { border: 2px solid var(--error); padding-left: 13px; }
.field.has-error .field__label { color: var(--error); left: 9px; top: -10px; }
.field.has-error .field__help { color: var(--error); }
.form__grow { flex: 1; }

.checkbox { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: -8px; font-size: 15px; cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox .material-symbols-rounded { color: var(--indigo); font-size: 26px; }
.checkbox .is-on { display: none; font-variation-settings: 'FILL' 1; }
.checkbox input:checked ~ .is-on { display: inline-block; }
.checkbox input:checked ~ .is-off { display: none; }
.checkbox input:focus-visible ~ .material-symbols-rounded { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 4px; }

.alert-error { display: flex; gap: 10px; background: var(--error-tint); color: var(--error-ink); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.alert-error .material-symbols-rounded { font-size: 20px; }

.snackbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(var(--nav-height) + 12px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    max-width: 456px;
    margin: 0 auto;
    background: #2f3036;
    color: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    font-size: 14px;
    transition: opacity .3s, transform .3s;
}
.snackbar .material-symbols-rounded { font-size: 20px; color: #a5d6a7; }
.snackbar--error .material-symbols-rounded { color: #ef9a9a; }
.snackbar.is-hiding { opacity: 0; transform: translateY(8px); }
.app:not(.app--nav) ~ .snackbar,
.snackbar--no-nav { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }

.profile-head { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.profile-photo__img {
    width: 96px;
    height: 96px;
    border-radius: 48px;
    background: #c5cae9;
    color: #1a237e;
    font-size: 32px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-name { font-size: 22px; font-weight: 500; }
.profile-lock { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 4px; }
.profile-lock .material-symbols-rounded { font-size: 16px; }
.card--list { overflow: hidden; }
.info-row { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
.info-row + .info-row { border-top: 1px solid var(--line-2); }
.info-row > .material-symbols-rounded { color: var(--ink-3); }
.info-row__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.info-row__label { font-size: 13px; color: var(--ink-3); }
.info-row__value { font-size: 15px; overflow-wrap: anywhere; }
.nav-row { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 12px 16px 20px; color: var(--ink); font-size: 15px; text-align: left; }
.nav-row > .material-symbols-rounded:first-child { color: var(--ink-3); }
.nav-row__text { flex: 1; }
.nav-row .chev { color: var(--ink-5); }
.nav-row--danger, .nav-row--danger > .material-symbols-rounded:first-child { color: var(--error); }
.nav-row--danger .nav-row__text { font-weight: 500; }
.wordmark { display: flex; justify-content: center; padding-top: 4px; font-family: 'Roboto Slab', Roboto, serif; font-size: 16px; font-weight: 500; color: var(--indigo); }
.wordmark span { color: #7986cb; }

body.employee.body--auth { background: var(--indigo); }
.app--auth { max-width: none; background: transparent; box-shadow: none !important; }
.auth { flex: 1; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.auth__head { flex: none; display: flex; flex-direction: column; gap: 6px; padding: calc(60px + env(safe-area-inset-top, 0px)) 24px 48px; }
.auth__mark { font-family: 'Roboto Slab', serif; font-weight: 500; font-size: 30px; line-height: 38px; letter-spacing: -.2px; color: #fff; }
.auth__mark span { color: #9fa8da; }
.auth__env { order: -1; align-self: flex-start; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 8px; margin-bottom: 10px; border-radius: 14px; background: #ffe0b2; color: #5c3300; font-size: 13px; line-height: 18px; font-weight: 500; }
.auth__env .material-symbols-rounded { font-size: 18px; }
.auth__card { flex: 1; background: #fff; border-radius: 24px 24px 0 0; padding: 32px 24px calc(48px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; color: #1b1b21; }

.auth-intro { display: flex; flex-direction: column; gap: 8px; }
.auth-intro__icon { width: 56px; height: 56px; margin-bottom: 12px; border-radius: 28px; background: #e7f3e8; color: #388e3c; display: flex; align-items: center; justify-content: center; }
.auth-intro__icon .material-symbols-rounded { font-size: 32px; font-variation-settings: 'wght' 600; }
.auth-intro__eyebrow { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; color: #303f9f; }
.auth-intro__title { margin: 0; font-family: 'Roboto Slab', serif; font-weight: 500; font-size: 30px; line-height: 38px; color: #1b1b21; }
.auth-intro__text { margin: 0; font-size: 16px; line-height: 24px; color: #46464f; text-wrap: pretty; }
.auth-intro__text strong { font-weight: 500; color: #1b1b21; overflow-wrap: anywhere; }
.auth-divider { height: 0; margin: 28px -24px; border-top: 1px solid #ececf0; }

.auth-body { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.auth-alert { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 20px; }
.auth-alert > .material-symbols-rounded { font-size: 20px; line-height: 20px; font-variation-settings: 'FILL' 1; }
.auth-alert--error { background: #fbe9e9; color: #B00000; }
.auth-alert--success { background: #e7f3e8; color: #1f5a23; }
.auth-alert--success > .material-symbols-rounded { color: #388e3c; }

.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field__box { position: relative; }
.auth-field__label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 500; color: #46464f; }
.auth-field__input { height: 52px; width: 100%; padding: 0 16px; border: 1px solid #9a9aa4; border-radius: 12px; background: #f8f8fb; font: 400 16px/24px Roboto, sans-serif; color: #1b1b21; outline: none; -webkit-appearance: none; appearance: none; }
.auth-field__input[type=password], .auth-field__box--eye .auth-field__input { padding-right: 56px; }
.auth-field__input:focus { background: #fff; border-color: #303f9f; box-shadow: inset 0 0 0 1px #303f9f; }
.auth-field__input.has-error { border-color: #B00000; box-shadow: inset 0 0 0 1px #B00000; }
.auth-field__eye { position: absolute; right: 2px; bottom: 2px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: #5f6368; }
.auth-field__eye:hover { background: #ececf0; }
.auth-field__eye .material-symbols-rounded { font-size: 22px; }
.auth-field__hint { font-size: 13px; line-height: 18px; color: #5f6368; }
.auth-field__error { display: flex; gap: 6px; align-items: flex-start; color: #B00000; font-size: 13px; line-height: 18px; }
.auth-field__error .material-symbols-rounded { font-size: 16px; line-height: 18px; font-variation-settings: 'FILL' 1; }

.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -6px -10px; }
.auth-check { position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border-radius: 10px; font-size: 15px; line-height: 20px; color: #46464f; cursor: pointer; }
.auth-check:hover { background: #f5f5f8; }
.auth-check input { position: absolute; opacity: 0; pointer-events: none; }
.auth-check .material-symbols-rounded { font-size: 22px; color: #5f6368; }
.auth-check .is-on { display: none; color: #303f9f; font-variation-settings: 'FILL' 1; }
.auth-check input:checked ~ .is-on { display: inline-block; }
.auth-check input:checked ~ .is-off { display: none; }
.auth-check input:focus-visible ~ .material-symbols-rounded { outline: 2px solid #303f9f; outline-offset: 2px; border-radius: 4px; }
:where(.employee) .auth-link { display: inline-flex; align-items: center; height: 44px; padding: 0 10px; border-radius: 10px; font-size: 15px; line-height: 20px; font-weight: 500; color: #303f9f; }
:where(.employee) .auth-link:hover { background: #e8eaf6; }

:where(.employee) .auth-button { height: 52px; width: 100%; margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; background: #303f9f; color: #fff; font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: .1px; box-shadow: 0 6px 16px rgba(48, 63, 159, .22); }
:where(.employee) .auth-button:hover { background: #1a237e; }
.auth-button .material-symbols-rounded { font-size: 20px; }
:where(.employee) .auth-button--outline { border: 1px solid #9a9aa4; background: #fff; color: #303f9f; box-shadow: none; }
:where(.employee) .auth-button--outline:hover { background: #e8eaf6; }
:where(.employee) .auth-back { align-self: center; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 10px; font-size: 15px; line-height: 20px; font-weight: 500; color: #303f9f; }
:where(.employee) .auth-back:hover { background: #e8eaf6; }
.auth-back .material-symbols-rounded { font-size: 20px; }
.auth-note { margin: 0; font-size: 14px; line-height: 20px; color: #5f6368; text-wrap: pretty; }
.auth-again { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; margin: -10px 0; font-size: 15px; line-height: 20px; color: #46464f; }
.auth-resent { display: flex; align-items: center; gap: 8px; min-height: 24px; font-size: 15px; line-height: 20px; color: #1f5a23; }
.auth-resent .material-symbols-rounded { font-size: 20px; color: #388e3c; font-variation-settings: 'FILL' 1; }

@media (min-width: 600px) {
    body.employee.body--auth { background: #f5f5f8; }
    .auth { align-items: center; justify-content: center; gap: 28px; padding: 48px 16px; }
    .auth__head { flex-direction: row; align-items: center; gap: 14px; padding: 0; }
    .auth__mark { font-size: 26px; line-height: 34px; color: #1a237e; }
    .auth__mark span { color: #5c6bc0; }
    .auth__env { order: 0; align-self: auto; margin-bottom: 0; }
    .auth__card { flex: none; width: 480px; max-width: 100%; padding: 44px 48px 48px; border-radius: 20px; border: 1px solid #e2e2e8; overflow: hidden; box-shadow: 0 1px 2px rgba(26, 35, 126, .05), 0 16px 48px rgba(26, 35, 126, .08); }
    .auth-divider { margin: 32px -48px; }
}

@media (min-width: 481px) {
    .app { box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 12px 40px rgba(20, 24, 60, .14); }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}

.appbar__pill {
    height: 36px;
    padding: 0 14px 0 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}
.appbar__pill .material-symbols-rounded { font-size: 20px; }
.appbar__titles { display: flex; flex-direction: column; min-width: 0; }
.appbar__titles .appbar__title { font-size: 20px; }
.appbar__sub { font-size: 13px; color: var(--ink-3); }
.appbar__step { font-size: 13px; color: var(--ink-3); margin-left: auto; padding-right: 8px; }

.monthbar {
    flex: none;
    background: var(--surface);
    display: flex;
    align-items: center;
    padding: 6px 8px;
    border-bottom: 1px solid var(--line);
}
.monthbar__nav { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.monthbar__title { flex: 1; text-align: center; font-size: 16px; font-weight: 500; }

.stack { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.stack--roomy { gap: 10px; }
.group-title { font-size: 13px; font-weight: 500; color: var(--ink-3); padding: 6px 4px 2px; }
.group-title + .group-title, .hours-card + .group-title { padding-top: 10px; }
.section-title { margin: 0; padding: 14px 4px 0; display: flex; align-items: baseline; gap: 6px; font-size: 15px; font-weight: 500; color: var(--ink); }
.section-title__count { font-size: 13px; font-weight: 400; color: var(--ink-4); }

.totals { background: var(--surface); border-radius: 16px; padding: 12px 16px; display: flex; gap: 24px; margin-bottom: 6px; }
.totals__item { display: flex; flex-direction: column; gap: 2px; }
.totals__label { font-size: 12px; color: var(--ink-3); }
.totals__value { font-size: 20px; font-weight: 500; }

.hours-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 12px 8px 12px 4px;
    display: flex;
    gap: 8px;
    align-items: center;
    color: inherit;
}
.hours-card.is-todo { box-shadow: inset 0 0 0 1.5px var(--indigo-light); }
.hours-card.is-todo .shift-row__chevron { color: var(--indigo); }
.hours-card.is-later { opacity: .6; }
.hours-card__date { width: 48px; flex: none; text-align: center; }
.hours-card__weekday { font-size: 12px; color: var(--ink-3); }
.hours-card__day { font-size: 20px; font-weight: 500; }
.hours-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.hours-card__line { font-size: 13px; color: var(--ink-2); }

.status {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    background: var(--surface-3);
    color: var(--ink-2);
    white-space: nowrap;
}
.status .material-symbols-rounded { font-size: 16px; }
.status--approved { background: #efe9f9; color: #5a3d9a; }
.status--todo, .status--open { background: var(--indigo-tint); color: var(--indigo-dark); }
.status--rejected { background: var(--error-tint); color: var(--error); }
.status--limited { background: #fff3dc; color: #8a5a00; }
.status--limited .material-symbols-rounded { color: var(--orange); }
.status--self { background: transparent; box-shadow: inset 0 0 0 1px var(--outline-2); }
.status--expired { background: transparent; box-shadow: inset 0 0 0 1px var(--outline-2); color: var(--ink-3); }
.status--absence { background: #eceff1; color: #455a64; }
.status--closed { background: #ececec; color: #424242; }
.status--accepted { background: #e3f1e4; color: #1e5e22; }
.status--large { height: 28px; padding: 0 10px; border-radius: 14px; font-size: 13px; }
.status--large .material-symbols-rounded { font-size: 18px; }

.form-page { flex: 1; padding: 8px 24px 24px; display: flex; flex-direction: column; gap: 20px; }
.form-page--steps { padding: 20px 24px 0; gap: 10px; }
.form-page__title { font-size: 24px; font-weight: 400; padding-bottom: 6px; }
.form-page__question { font-size: 16px; font-weight: 500; }
.form-page__hint { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.form-page__note { font-size: 13px; color: var(--ink-3); text-align: center; line-height: 1.4; }
.soft-card { background: var(--surface-2); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.soft-card__label { font-size: 13px; color: var(--ink-3); }
.soft-card__value { font-size: 17px; font-weight: 500; }
.hours-breakdown { display: flex; flex-direction: column; font-size: 14px; font-variant-numeric: tabular-nums; }
.hours-breakdown__row { display: flex; justify-content: space-between; color: var(--ink-2); }
.hours-breakdown__total { font-weight: 700; color: var(--ink); }
.hours-breakdown--planned { margin-top: 6px; }
.hours-breakdown--planned .hours-breakdown__row { padding: 4px 0; }
.hours-breakdown--planned .hours-breakdown__total { padding: 6px 0 0; border-top: 1px solid #d6d7e0; }
.hours-breakdown--own { margin-top: -6px; }
.hours-breakdown--own .hours-breakdown__row { padding: 6px 2px; }
.hours-breakdown--own .hours-breakdown__total { padding: 8px 2px 0; border-top: 1px solid #e4e4ea; font-size: 15px; }
.hours-breakdown--no-pause .hours-breakdown__total { border-top: 0; padding-top: 0; }
.field-row { display: flex; gap: 12px; }
.field-row > .field { flex: 1; min-width: 0; }
.field__input[type=time], .field__input[type=date] { font-size: 17px; appearance: none; -webkit-appearance: none; min-width: 0; }
/* iOS Safari centreert de waarde van datum- en tijdvelden */
.field__input::-webkit-date-and-time-value { text-align: left; }
.field__icon { color: var(--ink-3); font-size: 20px; margin-right: 10px; pointer-events: none; }

/* Tijdkiezer (ontwerp T1–T6): het veld opent een onderblad, het toetsenbord blijft weg */
.field__box--time { cursor: pointer; }
.field__box--time { outline: 0; }
.field__box--time .field__label { pointer-events: none; }
.field__box--time .field__input { font-size: 17px; cursor: pointer; caret-color: transparent; pointer-events: none; }
.field__box--time.is-active { border: 2px solid var(--indigo); padding-left: 13px; }
.field__box--time.is-active .field__label { color: var(--indigo); left: 9px; top: -10px; }
.field:not(.has-error) .field__box--time:not(.is-filled):not(.is-active) .field__label { top: 50%; transform: translateY(-50%); font-size: 16px; background: none; pointer-events: none; }
.time-sheet { position: fixed; inset: 0; z-index: 60; }
.time-sheet__backdrop { position: absolute; inset: 0; background: rgba(15, 17, 40, .55); }
.time-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto; background: #fff; border-radius: 28px 28px 0 0; box-shadow: 0 8px 28px rgba(15, 17, 40, .35); padding: 8px 20px calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; box-sizing: border-box; }
.time-sheet__handle { width: 32px; height: 4px; border-radius: 2px; background: var(--indigo-border); align-self: center; margin-bottom: 4px; }
.time-sheet__head { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.time-sheet__title { font-size: 20px; font-weight: 500; }
.time-sheet__mode { height: 44px; margin-right: -8px; padding: 0 12px 0 8px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--indigo); }
.time-sheet__mode .material-symbols-rounded { font-size: 20px; }
.time-sheet__display { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; }
.time-sheet__display[hidden], [data-sheet-typing][hidden], .time-sheet__grid[hidden], .time-sheet__planned[hidden] { display: none; }
.time-sheet__part { width: 104px; height: 80px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f5f5f8; }
.time-sheet__part-label { font-size: 12px; color: var(--ink-3); }
.time-sheet__part-value { font-size: 44px; line-height: 1.1; color: var(--ink); }
.time-sheet__part.is-empty .time-sheet__part-value { color: #9aa0a6; }
.time-sheet__part.is-active { background: var(--indigo-tint); box-shadow: inset 0 0 0 2px var(--indigo); }
.time-sheet__part.is-active .time-sheet__part-label { color: var(--indigo); }
.time-sheet__part.is-active:not(.is-empty) .time-sheet__part-value { color: var(--indigo-dark); }
.time-sheet__part:disabled { cursor: default; }
.time-sheet__colon { font-size: 44px; line-height: 1; color: var(--ink-3); }
.time-sheet__input { width: 100%; height: 80px; margin-top: 4px; box-sizing: border-box; border-radius: 16px; border: 2px solid var(--indigo); background: #fff; font: inherit; font-size: 44px; color: var(--indigo-dark); text-align: center; outline: 0; }
.time-sheet__hint { font-size: 13px; color: var(--ink-3); text-align: center; padding-top: 8px; }
.time-sheet__planned { font-size: 13px; color: var(--ink-3); text-align: center; padding-top: 10px; }
.time-sheet__grid { margin-top: 12px; display: grid; gap: 6px; height: 194px; align-content: start; }
.time-sheet__grid--hours { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.time-sheet__grid--minutes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.time-sheet__cell { height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 16px; background: #f5f5f8; color: var(--ink); }
.time-sheet__grid--minutes .time-sheet__cell { height: 56px; font-size: 18px; }
.time-sheet__cell.is-selected { background: var(--indigo); color: #fff; font-weight: 500; }
.time-sheet__cell:focus-visible, .time-sheet__part:focus-visible, .time-sheet__action:focus-visible, .time-sheet__mode:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.time-sheet__actions { display: flex; align-items: center; justify-content: space-between; margin: 8px -12px 0; }
.time-sheet__action { height: 44px; padding: 0 16px; font-size: 14px; font-weight: 500; color: var(--indigo); }
.time-sheet__action:disabled { color: #8a8a94; cursor: default; }
[data-times-submit]:disabled { opacity: 1; background: #e3e3e8; color: #8a8a94; }
.field.has-error .field__icon { color: var(--error); font-variation-settings: 'FILL' 1; }
.field__box--area { height: auto; min-height: 112px; align-items: stretch; padding: 0; }
.field__box--area:focus-within { padding: 0; }
.field__textarea {
    flex: 1;
    min-height: 110px;
    border: 0;
    outline: 0;
    resize: vertical;
    background: transparent;
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
    color: var(--ink);
    padding: 16px 14px;
    border-radius: 6px;
}
.field__help--end { justify-content: flex-end; font-size: 12px; }
.field-label { font-size: 13px; color: var(--ink-3); }
.choice-group { display: flex; flex-direction: column; gap: 8px; }
.segmented-choice { display: flex; height: 44px; border: 1px solid var(--outline); border-radius: 22px; overflow: hidden; }
.segmented-choice label { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.segmented-choice label + label { border-left: 1px solid var(--outline); }
.segmented-choice input { position: absolute; opacity: 0; pointer-events: none; }
.segmented-choice .material-symbols-rounded { font-size: 18px; display: none; }
.segmented-choice label:has(input:checked) { background: #e0e3f5; color: var(--indigo-dark); }
.segmented-choice label:has(input:checked) .material-symbols-rounded { display: inline-block; }
.segmented-choice label:has(input:focus-visible) { outline: 2px solid var(--indigo); outline-offset: -2px; }
.btn--danger-outline { height: 48px; border-radius: 24px; border: 1px solid var(--error); color: var(--error); font-size: 14px; width: 100%; background: transparent; }
.btn--tonal-wide { height: 48px; border-radius: 24px; background: var(--indigo-tint); color: var(--indigo-dark); font-size: 14px; width: 100%; }
.bottom-action { flex: none; padding: 16px 24px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); position: sticky; bottom: 0; }
.progress { height: 4px; background: var(--indigo-tint); margin: 0 24px; border-radius: 2px; flex: none; overflow: hidden; }
.progress__bar { height: 4px; background: var(--indigo); border-radius: 2px; }

.month-chips {
    flex: none;
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--surface);
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
}
.month-chips::-webkit-scrollbar, .month-chips__scroll::-webkit-scrollbar { display: none; }
/* Eerder en Later blijven aan de randen staan; alleen de maanden ertussen schuiven */
.month-chips__scroll { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.month-chip {
    height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid var(--outline-2);
    color: var(--ink-2);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex: none;
}
.month-chip.is-active { background: #e0e3f5; color: var(--indigo-dark); border-color: #e0e3f5; }
.month-chip__dot { width: 6px; height: 6px; border-radius: 3px; background: var(--error); }
.month-chip--page { border-style: dashed; color: var(--indigo-dark); gap: 2px; }
.month-chip--page .material-symbols-rounded { font-size: 20px; }
.month-chip--page { width: 32px; padding: 0; justify-content: center; }

.avail { flex: 1; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.save-state { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); padding: 0 4px; }
.save-state .material-symbols-rounded { font-size: 18px; color: var(--green); }
.save-state.is-error { color: var(--error); }
.save-state.is-error .material-symbols-rounded { color: var(--error); }
.month-title { font-size: 13px; font-weight: 500; color: var(--ink-3); padding: 4px 4px 0; scroll-margin-top: 64px; }
.month-title + .due-line { margin-top: 0; }
.due-line { background: var(--error-tint); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--error-ink); }
.due-line .material-symbols-rounded { font-size: 18px; }
.avail-card { background: var(--surface); border-radius: 16px; overflow: hidden; flex: none; }
.avail-card > * + * { border-top: 1px solid var(--line-2); }
.avail-locked { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #8a8a94; }
.avail-locked > .material-symbols-rounded { font-size: 20px; }
.avail-locked__text { display: flex; flex-direction: column; gap: 1px; }
.avail-locked__date { font-size: 14px; color: var(--ink-3); }
.avail-locked__reason { font-size: 13px; }
.avail-locked.is-no-leave { background: #f3f7fd; }
.avail-locked.is-no-leave > .material-symbols-rounded { color: var(--blue); }
.avail-locked.is-no-leave .avail-locked__date { color: var(--ink); }
.avail-locked.is-no-leave .avail-locked__reason { color: #2b5f9e; }
.avail-day { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 8px; }
.avail-day.is-open { align-items: flex-start; padding-bottom: 14px; }
.avail-day.is-open .avail-day__date { padding-top: 4px; }
.avail-day.has-error { background: #fffafa; box-shadow: inset 3px 0 0 var(--error); }
.avail-day__date { width: 40px; flex: none; text-align: center; }
.avail-day__weekday { font-size: 12px; color: var(--ink-3); }
.avail-day__day { font-size: 18px; font-weight: 500; }
.avail-day__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.avail-day.is-open .avail-day__body { gap: 12px; }
.tri { display: flex; height: 36px; border: 1px solid var(--outline-2); border-radius: 18px; font-size: 13px; font-weight: 500; background: #fff; }
.tri label:first-child { border-radius: 17px 0 0 17px; }
.tri label:last-child { border-radius: 0 17px 17px 0; }
.tri label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--ink-2); cursor: pointer; position: relative; }
.tri label:last-child { flex: 1.3; }
.tri__label { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.tri__times { font-size: 11px; font-weight: 400; white-space: nowrap; }
.tri__times:empty { display: none; }
.tri label + label { border-left: 1px solid var(--outline-2); }
.tri input { position: absolute; opacity: 0; pointer-events: none; }
.tri .material-symbols-rounded { font-size: 16px; display: none; }
.tri label:has(input:checked) .material-symbols-rounded { display: inline-block; }
.tri label.tri--yes:has(input:checked) { background: #e3f1e4; color: #1e5e22; }
.tri label.tri--no:has(input:checked) { background: var(--error-tint); color: var(--error); }
.tri label.tri--limited:has(input:checked) { background: #fff3dc; color: #8a5a00; }
.tri label.tri--limited .material-symbols-rounded { color: var(--orange); }
.tri label:has(input:focus-visible) { outline: 2px solid var(--indigo); outline-offset: -2px; }
.avail-day__times { display: flex; gap: 10px; padding-top: 4px; }
.avail-day__times .field { flex: 1; min-width: 0; }
.avail-day__times .field__box { height: 48px; padding-left: 12px; }
.avail-day__times .field__label { left: 8px; }
.avail-day__times .field__input { font-size: 16px; }
.avail-day__error { font-size: 13px; color: var(--error); line-height: 1.4; }
.avail-day__hint { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.avail-past { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.avail-past__text { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.avail-past__date { font-size: 14px; color: var(--ink); }
.avail-past__sub { font-size: 13px; color: var(--ink-3); }
.avail-past__value { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-3); }
.avail-past__value .material-symbols-rounded { font-size: 16px; }
.avail-past-note { scroll-margin-top: 64px; display: flex; align-items: center; gap: 10px; background: var(--indigo-tint); border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.4; color: var(--indigo-dark); }
.avail-past-note .material-symbols-rounded { font-size: 22px; color: var(--indigo); }
.month-chip__lock { font-size: 14px; color: #8a8a94; }
.avail-day__saving { font-size: 12px; color: var(--ink-3); padding-left: 4px; display: flex; align-items: center; gap: 4px; }
.avail-day__saving .material-symbols-rounded { font-size: 14px; }

.btn--new { height: 48px; flex: none; border-radius: 16px; background: #e0e3f5; color: var(--indigo-dark); font-size: 15px; }
.request-card { background: var(--surface); border-radius: 16px; padding: 14px 12px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: none; color: inherit; }
.request-card--compact { flex-direction: row; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px 0 16px; border-radius: 0; }
.request-group { background: var(--surface); border-radius: 16px; overflow: hidden; flex: none; display: flex; flex-direction: column; }
.request-group .request-card + .request-card { border-top: 1px solid var(--line-2); }
.request-card__chevron { font-size: 20px; color: var(--ink-5); margin-right: -4px; flex: none; }
.request-card--compact .status, .request-card__head .status { align-self: center; }
.request-card__head { display: flex; align-items: center; gap: 8px; }
.request-card__dot { width: 8px; height: 8px; border-radius: 4px; background: var(--indigo); flex: none; }
.request-card__title { font-size: 15px; font-weight: 500; flex: 1; min-width: 0; }
.request-card--compact .request-card__title { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.request-card__detail { font-size: 13px; color: var(--ink-3); }
.request-card__reply { font-size: 13px; color: var(--ink-2); background: var(--surface-2); border-radius: 8px; padding: 8px 10px; }

.flow-head { flex: none; height: calc(64px + env(safe-area-inset-top, 0px)); padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px 4px; display: flex; align-items: center; gap: 4px; background: var(--surface); }
.flow-head__back { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.flow-head__title { font-size: 20px; font-weight: 500; flex: 1; margin: 0; }
.flow-head__step { font-size: 13px; color: var(--ink-3); }
.flow { flex: 1; padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.flow--wide { padding: 20px 20px 24px; gap: 14px; }
.flow__title { font-size: 24px; font-weight: 400; padding-bottom: 6px; }
.flow__label { font-size: 13px; font-weight: 500; color: var(--ink-3); padding-top: 4px; }
.flow__label + .radio-card { margin-top: 0; }
.flow-app { min-height: 100%; }

.option-card { border: 1px solid #d6d6de; border-radius: 16px; padding: 16px; display: flex; gap: 16px; align-items: center; color: inherit; }
.option-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--indigo-tint); color: var(--indigo); display: flex; align-items: center; justify-content: center; flex: none; }
.option-card__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.option-card__title { font-size: 16px; font-weight: 500; }
.option-card__sub { font-size: 14px; color: var(--ink-3); line-height: 1.35; }

.radio-card { border: 1px solid #d6d6de; border-radius: 16px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; cursor: pointer; position: relative; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card .radio-off { color: var(--ink-3); }
.radio-card .radio-on { display: none; color: var(--indigo); font-variation-settings: 'FILL' 1; }
.radio-card:has(input:checked) { border: 2px solid var(--indigo); background: var(--indigo-tint-3); padding: 13px 15px; }
.radio-card:has(input:checked) .radio-on { display: inline-block; }
.radio-card:has(input:checked) .radio-off { display: none; }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--indigo); outline-offset: 2px; }
.radio-card--person { padding: 12px 16px; }
.radio-card--person:has(input:checked) { padding: 11px 15px; }
.radio-card__text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.radio-card__title { font-size: 15px; font-weight: 500; }
.radio-card__sub { font-size: 14px; color: var(--ink-2); }
.radio-card--person .radio-card__sub { font-size: 13px; color: var(--ink-3); }
.radio-card--person:has(input:checked) .radio-card__sub { color: var(--ink-2); }
.info-line { display: flex; gap: 8px; font-size: 13px; color: var(--ink-3); padding: 4px; line-height: 1.4; }
.info-line .material-symbols-rounded { font-size: 18px; }
.info-note { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.45; background: var(--indigo-tint); border-radius: 12px; padding: 12px 14px; }
.info-note .material-symbols-rounded { font-size: 18px; color: var(--indigo); }
.flow-empty { font-size: 15px; color: var(--ink-2); line-height: 1.5; padding: 16px 4px; }
.flow-note { font-size: 14px; color: var(--ink-3); line-height: 1.45; padding: 2px 4px 6px; }
.swap-day { border: 1px solid #d6d6de; border-radius: 16px; }
.swap-day[open] { border-color: var(--outline-2); }
.swap-day__head { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.swap-day__head::-webkit-details-marker { display: none; }
.swap-day__head:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 16px; }
.swap-day__date { flex: 1; font-size: 15px; font-weight: 500; }
.swap-day__count { font-size: 13px; color: var(--ink-3); }
.swap-day__chevron { color: var(--ink-3); transition: transform .15s; }
.swap-day[open] .swap-day__chevron { transform: rotate(180deg); }
.swap-day:has(input:checked) { border-color: var(--indigo); }
.swap-day:has(input:checked) .swap-day__count { color: var(--indigo); }
.swap-day__people { display: flex; flex-direction: column; gap: 8px; padding: 0 8px 8px; }
@media (prefers-reduced-motion: reduce) { .swap-day__chevron { transition: none; } }

.period { display: flex; gap: 10px; padding: 0 4px; }
.period__box { flex: 1; border: 1px solid #d6d6de; border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.period__box.is-active { border: 2px solid var(--indigo); padding: 9px 13px; }
.period__label { font-size: 12px; color: var(--ink-3); }
.period__box.is-active .period__label { color: var(--indigo); }
.period__value { font-size: 16px; font-weight: 500; min-height: 20px; }
.range-head { display: flex; align-items: center; padding: 0 0 0 12px; }
.range-head__title { font-size: 16px; font-weight: 500; flex: 1; }
.range-head__nav { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.range { display: flex; flex-direction: column; gap: 2px; }
.range__weekdays, .range__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.range__weekdays { font-size: 12px; color: var(--ink-3); text-align: center; padding-bottom: 4px; }
.range__day { height: 50px; display: flex; align-items: center; justify-content: center; padding: 4px 0; background-clip: content-box; }
.range__day.in-range { background-color: var(--indigo-tint); }
.range__day.is-start { background: linear-gradient(90deg, transparent 50%, var(--indigo-tint) 50%); background-clip: content-box; }
.range__day.is-end { background: linear-gradient(90deg, var(--indigo-tint) 50%, transparent 50%); background-clip: content-box; }
.range__day.is-start.is-end { background: none; }
.range__circle { width: 40px; height: 40px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 15px; line-height: 1; color: var(--ink); }
.range__dot { width: 5px; height: 5px; border-radius: 3px; background: transparent; }
.range__day.has-shift .range__dot { background: var(--green); }
.range__day.in-range .range__circle { color: var(--indigo-dark); }
.range__day.is-start .range__circle, .range__day.is-end .range__circle { background: var(--indigo); color: #fff; font-weight: 700; }
.range__day.is-start .range__dot, .range__day.is-end .range__dot { background: #fff; }
.range__day.is-outside .range__circle, .range__day.is-past .range__circle { color: var(--outline-2); }
.range__day.is-outside .range__dot, .range__day.is-past .range__dot { background: transparent; }
.range-summary { background: var(--surface-2); border-radius: 14px; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.range-summary__main { font-size: 15px; font-weight: 500; }

.summary-card { background: var(--surface-2); border-radius: 16px; padding: 16px; display: flex; gap: 14px; align-items: center; font-size: 15px; line-height: 1.45; }
.summary-card__main { display: flex; gap: 14px; align-items: center; }
.summary-card--stack { flex-direction: column; align-items: stretch; gap: 12px; }
.summary-card--stack .summary-card__main { gap: 12px; }
.summary-card__details { display: grid; grid-template-columns: minmax(72px, max-content) 1fr; gap: 6px 12px; font-size: 14px; line-height: 1.4; border-top: 1px solid #e4e4ea; padding-top: 12px; }
.summary-card__details span:nth-child(odd) { color: var(--ink-3); }
.summary-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--indigo-tint); color: var(--indigo); display: flex; align-items: center; justify-content: center; flex: none; }
.summary-card b { font-weight: 500; }
.avatar--xl { width: 44px; height: 44px; border-radius: 22px; font-size: 14px; box-shadow: none; }
.soft-card--mini { border-radius: 14px; padding: 12px 16px; gap: 2px; }
.hours-question { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hours-as-planned { display: inline-flex; align-items: center; gap: 6px; height: 44px; margin: -10px -8px -10px 0; padding: 0 12px 0 8px; font-size: 14px; font-weight: 500; color: var(--indigo); white-space: nowrap; }
.hours-as-planned .material-symbols-rounded { font-size: 20px; }
.soft-card--mini .soft-card__label { font-size: 12px; }
.soft-card--mini .soft-card__value { font-size: 15px; }
.checkbox-field { display: flex; flex-direction: column; gap: 4px; }
.checkbox-field .checkbox { margin-top: 0; }
.checkbox-field.has-error .checkbox .material-symbols-rounded { color: var(--error); }
.checkbox-field__error { font-size: 13px; color: var(--error); padding-left: 38px; }

.request-detail { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.request-detail__type { font-size: 14px; color: var(--ink-3); }
.request-detail__when { font-size: 26px; }
.request-detail__shift { font-size: 14px; color: var(--ink-2); }
.request-detail__meta { font-size: 14px; color: var(--ink-3); }
.request-detail__reply { border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; background: var(--surface-2); }
.request-detail__reply.is-rejected { background: var(--error-tint); }
.request-detail__reply.is-rejected .request-detail__reply-label { color: var(--error-ink); }
.request-detail__reply.is-accepted { background: #e3f1e4; }
.request-detail__reply.is-accepted .request-detail__reply-label { color: #1e5e22; }
.request-detail__reply-label { font-size: 13px; color: var(--ink-3); }
.request-detail__reply-text { font-size: 15px; line-height: 1.45; }
.request-detail__consequence { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.request-detail__consequence .material-symbols-rounded { font-size: 18px; }
.request-detail__own { border-top: 1px solid var(--line-2); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.request-detail__own-label { font-size: 13px; color: var(--ink-3); }
.request-detail__own-text { font-size: 15px; }
.around { padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.around__title { font-size: 13px; font-weight: 500; color: var(--ink-3); padding-bottom: 6px; }
.around__row { display: flex; gap: 12px; padding: 6px 0; font-size: 14px; }
.around__row.is-muted { color: var(--ink-3); }
.around__row.is-inside { box-shadow: inset 3px 0 0 var(--indigo); padding-left: 10px; margin-left: -10px; }
.around__date { width: 76px; flex: none; }


.day-list { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 14px; }
.day-group { flex: none; display: flex; flex-direction: column; gap: 6px; }
.day-list--month { gap: 10px; }
.quiet-line { flex: none; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 4px; font-size: 13px; color: var(--ink-3); scroll-margin-top: 150px; }
.quiet-line__label { font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.quiet-line.is-today .quiet-line__label { color: var(--indigo); }
.quiet-line__sub { white-space: nowrap; }
.quiet-line__rule { flex: 1; min-width: 12px; height: 1px; background: var(--line); }
.quiet-line__mark { display: flex; align-items: center; gap: 4px; text-align: right; }
.quiet-line__mark .material-symbols-rounded { font-size: 16px; }
.today-line { flex: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; background: var(--indigo-tint); font-size: 14px; color: var(--ink-2); }
.today-line .material-symbols-rounded { font-size: 18px; color: var(--indigo); }
.today-line__label { font-weight: 700; color: var(--indigo-dark); }
.vacation-line { flex: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; background: #e3f1e4; font-size: 14px; color: #1e5e22; }
.vacation-line .material-symbols-rounded { font-size: 18px; }
.vacation-line__label { font-weight: 700; }
.next-label { font-size: 11px; font-weight: 500; color: var(--indigo-ink); background: var(--indigo-tint); border-radius: 6px; padding: 2px 7px; }
.week-end { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 28px; }
.week-end__text { font-size: 14px; color: var(--ink-3); }
.week-end__next { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; color: var(--indigo); padding: 10px 12px; }
.week-end__next .material-symbols-rounded { font-size: 18px; }
.week-agenda { flex: none; display: flex; justify-content: center; padding-top: 8px; }
.week-agenda a { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); padding: 8px 12px; }
.week-agenda .material-symbols-rounded { font-size: 18px; }
.strip__head .today-button { margin-right: 4px; }
.day-group.is-flash .shift-row, .day-group.is-flash .off-row { animation: flash 1.2s ease; }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 1.5px var(--indigo); } 100% { box-shadow: 0 1px 2px rgba(20, 24, 60, .08); } }
@media (prefers-reduced-motion: reduce) {
    .day-group.is-flash .shift-row, .day-group.is-flash .off-row { animation-timing-function: steps(1, end); }
}
.mark-box { display: flex; align-items: center; gap: 8px; border-radius: 12px; padding: 10px 12px; font-size: 14px; background: var(--surface-3); color: var(--ink-2); }
.mark-box .material-symbols-rounded { font-size: 18px; }
.mark-box.day-mark--vacation { background: #e3f1e4; color: #1e5e22; }
.mark-box.day-mark--unavailable { background: var(--error-tint); color: var(--error); }
.mark-box.day-mark--limited { background: #fff3dc; color: #8a5a00; }
.mark-box.day-mark--limited .material-symbols-rounded { color: var(--orange); }
.mark-box.day-mark--no-leave { background: #e7eff9; color: #2b5f9e; }
.month__day.is-picked { background: #fff; border-color: var(--indigo); }
.month__day.is-picked .month__num { font-weight: 700; }

/* Ruilen: stap 2 en kiesschermen */
.flow--pick { padding: 16px 20px 24px; }
.swap-question { font-size: 20px; font-weight: 400; padding-top: 2px; }
.flow-hint { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.swap-card { border-radius: 16px; box-shadow: inset 0 0 0 1px #d6d6de; padding: 12px 12px 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.swap-card:has(input:checked) { box-shadow: inset 0 0 0 2px var(--indigo); background: var(--indigo-tint-3); }
.swap-card__head { display: flex; gap: 12px; align-items: flex-start; }
.swap-card__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--indigo-tint); color: var(--indigo); display: flex; align-items: center; justify-content: center; flex: none; }
.swap-card__icon .material-symbols-rounded { font-size: 20px; }
.swap-card__text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.swap-card__title { font-size: 15px; font-weight: 500; color: var(--ink); }
.swap-card__desc { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.swap-card__desc b { font-weight: 500; color: var(--indigo-dark); }
.swap-card.is-empty { box-shadow: inset 0 0 0 1px #e4e4ea; background: #fafafc; }
.swap-card.is-empty .swap-card__icon { background: #f1f1f4; color: #b0b0b8; }
.swap-card.is-empty .swap-card__title { color: #8a8a94; }

.pick-list { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px #e4e4ea; }
.pick-list--large { border-radius: 14px; box-shadow: none; border: 1px solid #d6d6de; }
.pick-row { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 5px 12px; box-sizing: border-box; cursor: pointer; position: relative; }
.pick-row + .pick-row { border-top: 1px solid #f0f0f3; }
.pick-list--large .pick-row { min-height: 50px; padding: 7px 12px; }
.pick-row input, .pick-person__shift input { position: absolute; opacity: 0; pointer-events: none; }
.pick-row__off { color: var(--ink-3); }
.pick-row__on { display: none; color: var(--indigo); font-variation-settings: 'FILL' 1; }
.pick-row:has(input:checked) .pick-row__on, .pick-person__shift:has(input:checked) .pick-row__on, .pick-chosen:has(input:checked) .pick-row__on { display: inline-block; }
.pick-row:has(input:checked) .pick-row__off, .pick-person__shift:has(input:checked) .pick-row__off, .pick-chosen:has(input:checked) .pick-row__off { display: none; }
.pick-row:has(input:focus-visible), .pick-person__shift:has(input:focus-visible) { outline: 2px solid var(--indigo); outline-offset: -2px; }
.pick-list--large .pick-row:has(input:checked) { background: var(--indigo-tint-3); box-shadow: inset 0 0 0 2px var(--indigo); }
.pick-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pick-row__name { font-size: 15px; font-weight: 500; }
.pick-row__sub { font-size: 13px; color: var(--ink-2); }
.status--small { height: auto; min-height: 22px; padding: 1px 8px; border-radius: 11px; }
.status--small .material-symbols-rounded { font-size: 15px; }

.pick-more { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px 0 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #e4e4ea; color: var(--indigo); }
.pick-more__text { flex: 1; display: flex; flex-direction: column; gap: 1px; padding: 6px 0; }
.pick-more__title { font-size: 14px; font-weight: 500; color: var(--indigo); }
.pick-more__sub { font-size: 12px; color: var(--ink-3); }
.pick-chosen { display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 12px; border-radius: 10px; background: #fff; }
.pick-chosen__change { font-size: 14px; font-weight: 500; color: var(--indigo); padding: 6px; }

.flow-head--pick { border-bottom: 1px solid var(--line); }
.flow-head__titles { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.flow-head--pick .flow-head__title { font-size: 18px; flex: none; }
.flow-head__sub { font-size: 12px; color: var(--ink-3); }

.segmented-links { display: flex; height: 40px; border: 1px solid var(--outline); border-radius: 20px; overflow: hidden; flex: none; }
.segmented-links a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.segmented-links a + a { border-left: 1px solid var(--outline); }
.segmented-links a.is-active { background: #e0e3f5; color: var(--indigo-dark); }
.segmented-links .material-symbols-rounded { font-size: 18px; }

.filter-chips { display: flex; gap: 8px; flex: none; }
.filter-chip { height: 32px; padding: 0 12px; border-radius: 8px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; border: 1px solid #c4c4cc; color: var(--ink-2); }
.filter-chip.is-active { background: #e0e3f5; color: var(--indigo-dark); border-color: #e0e3f5; }
.filter-chip .material-symbols-rounded { font-size: 16px; }
.pick-letter { font-size: 12px; font-weight: 700; color: var(--indigo); padding: 8px 2px 2px; margin-bottom: -6px; }

.swap-cal { display: flex; flex-direction: column; gap: 10px; }
.swap-cal__title { font-size: 15px; font-weight: 500; padding-top: 2px; }
.swap-cal__weekdays, .swap-cal__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.swap-cal__weekdays { font-size: 12px; color: var(--ink-3); text-align: center; }
.swap-cal__weeks { display: flex; flex-direction: column; gap: 2px; }
.swap-cal__week { gap: 3px; }
.swap-cal__day { height: 44px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.swap-cal__num { font-size: 14px; color: #b0b0b8; font-variant-numeric: tabular-nums; }
.swap-cal__day.is-open .swap-cal__num { color: var(--ink); }
.swap-cal__count { font-size: 10px; font-weight: 500; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--indigo-tint); color: var(--indigo-ink); padding: 0 3px; box-sizing: border-box; }
.swap-cal__mark { font-size: 10px; color: #8a8a94; }
.swap-cal__mark--none { color: #b8b8c0; }
.swap-cal__day.is-selected { background: var(--indigo); }
.swap-cal__day.is-selected .swap-cal__num { color: #fff; font-weight: 700; }
.swap-cal__day.is-selected .swap-cal__count { background: #fff; color: var(--indigo-dark); }
.swap-cal__day.is-open:focus-visible { outline: 2px solid var(--indigo); outline-offset: 1px; }
.pick-day-title { font-size: 14px; font-weight: 500; padding-top: 4px; }

.pick-person { border-radius: 14px; box-shadow: inset 0 0 0 1px #d6d6de; flex: none; overflow: hidden; }
.pick-person:has(input:checked) { box-shadow: inset 0 0 0 2px var(--indigo); background: var(--indigo-tint-3); }
.pick-person__head { list-style: none; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; cursor: pointer; }
.pick-person__head::-webkit-details-marker { display: none; }
.pick-person__head:focus-visible { outline: 2px solid var(--indigo); outline-offset: -2px; border-radius: 14px; }
.pick-person__head .pick-row__text { gap: 4px; }
.pick-person__chevron { color: var(--ink-2); }
.pick-person[open] .pick-person__chevron { transform: rotate(180deg); }
.pick-person__opened, .pick-person[open] .pick-person__closed { display: none; }
.pick-person[open] .pick-person__opened { display: inline; }
.pick-person__shifts { display: flex; flex-direction: column; gap: 6px; padding: 0 10px 10px; }
.pick-person__shift { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 4px; font-size: 14px; cursor: pointer; position: relative; border-radius: 8px; }
.pick-person__shift:has(input:checked) { font-weight: 500; }

.bottom-action--stack { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; }
.chosen-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.35; color: var(--indigo-dark); background: var(--indigo-tint); border-radius: 12px; padding: 10px 12px; }
.chosen-bar .material-symbols-rounded { font-size: 18px; font-variation-settings: 'FILL' 1; }
.chosen-bar b { font-weight: 500; }
[data-choice-submit]:disabled { opacity: 1; background: #e3e3e8; color: #8a8a94; }

/* Stap 2: kaarten ingeklapt met de uitkomst, één tegelijk open */
.swap-card:not(.is-empty) { padding: 12px 8px 12px 14px; }
.swap-card__head[data-swap-toggle] { cursor: pointer; border-radius: 10px; }
.swap-card__head[data-swap-toggle]:focus-visible { outline: 2px solid var(--indigo); outline-offset: 4px; }
.swap-card__chevron { color: var(--ink-2); width: 40px; height: 36px; display: flex; align-items: center; justify-content: center; flex: none; }
.swap-card__outcome { display: flex; gap: 6px; flex-wrap: wrap; padding-right: 6px; }
.outcome-tag { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border-radius: 6px; background: #f1f1f4; color: var(--ink-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.outcome-tag b { font-weight: 700; }
.outcome-tag--works { background: #e3f1e4; color: #1e5e22; }
.swap-card .pick-list { box-shadow: none; }
.pick-row:has(input:disabled) { cursor: default; }
.pick-row:has(input:disabled) .pick-row__off { color: #c4c4cc; }
.swap-card--single:has(input:disabled) { cursor: default; }
.swap-card.swap-card--single { padding: 10px 14px; gap: 8px; cursor: pointer; }
.swap-card--single .swap-card__outcome { padding-right: 0; }
.swap-card--single .pick-list { box-shadow: inset 0 0 0 1px #e4e4ea; }
.swap-card--single .pick-list:has(input:checked), .swap-card--single.is-checked .pick-list { box-shadow: inset 0 0 0 1px var(--indigo-border); }
.pick-list--large .pick-row__name, .pick-person__head .pick-row__name { font-weight: 400; }
.pick-list--large .pick-row:has(input:checked) .pick-row__name { font-weight: 500; }
.pick-person[open] .pick-person__head .pick-row__name { font-weight: 500; }

/* Paginawissels vloeien in elkaar over; browsers zonder ondersteuning verversen gewoon */
@view-transition { navigation: auto; }
.bottom-nav { view-transition-name: bottom-nav; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; }
@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
}
/* iOS (WebKit) laat een vaste balk met eigen view-transition-name een schermhoogte extra scrollruimte achter */
@supports (-webkit-touch-callout: none) {
    .bottom-nav { view-transition-name: none; }
}
.segmented-links a:not(.is-active) .material-symbols-rounded { display: none; }
.swap-panel { display: flex; flex-direction: column; gap: 10px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.open-request { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: var(--ink); }
.open-request > .material-symbols-rounded:first-child { color: var(--indigo); }
.open-request__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.open-request__title { font-size: 15px; font-weight: 500; }
.open-request__sub { font-size: 13px; color: var(--ink-3); }

/* Weekpatroon */
.due-line__link { font-weight: 500; color: var(--indigo); }
.save-state__link { display: flex; align-items: center; gap: 4px; font-weight: 500; color: var(--indigo); }
.save-state .save-state__link .material-symbols-rounded { color: var(--indigo); }
.pattern { padding: 8px 20px 24px; gap: 4px; }
.pattern__intro { font-size: 15px; color: var(--ink-2); line-height: 1.45; padding: 0 4px 10px; }
.pattern__day { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; border: 0; background: none; }
.pattern__weekday { width: 32px; font-size: 15px; font-weight: 500; padding: 8px 0 0 4px; flex: none; }
.pattern__month { margin-top: 18px; }
.field__box--select { position: relative; }
.field__box--select select { appearance: none; -webkit-appearance: none; background: transparent; padding-right: 36px; }
.field__select-arrow { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.pattern__count { font-size: 13px; color: var(--ink-3); text-align: center; }

.shift-row__warning { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: var(--error); margin-top: 4px; }
.shift-row__warning .material-symbols-rounded { font-size: 15px; }

/* Rooster: tabbladen, maandkiezer en agendalink (ontwerp 6) */
.appbar--tabs { height: 52px; padding: 0 8px; padding-top: env(safe-area-inset-top, 0px); gap: 0; }
.view-tabs { flex: 1; display: flex; align-self: stretch; }
.view-tabs a { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; letter-spacing: .2px; color: #c5cae9; }
.view-tabs a.is-active { color: #fff; box-shadow: inset 0 -3px 0 #fff; }
.view-tabs a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.goto-button { display: inline-flex; align-items: center; gap: 2px; font: inherit; color: inherit; padding: 6px 8px 6px 0; }
.goto-button .material-symbols-rounded { font-size: 22px; color: var(--ink-2); }
.install-hint { flex: none; display: flex; align-items: flex-start; gap: 12px; padding: 14px 6px 14px 14px; border-radius: 14px; background: var(--surface); box-shadow: 0 1px 2px rgba(20, 24, 60, .08); }
.install-hint--above-empty { margin: 12px 12px 0; }
.install-hint__icon { width: 40px; height: 40px; flex: none; border-radius: 10px; }
.install-hint__body { flex: 1; min-width: 0; }
.install-hint__title { font-size: 15px; font-weight: 500; color: var(--ink); }
.install-hint__text { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.install-hint__text b { font-weight: 500; color: var(--ink); }
.install-hint__share { display: inline-block; width: 16px; height: 16px; margin-top: -4px; vertical-align: middle; color: var(--indigo); }
.install-hint__more { font-size: 18px; vertical-align: middle; margin: -3px -2px 0; color: var(--indigo); }
.install-hint__button { margin-top: 12px; height: 40px; }
.install-hint__close { width: 32px; height: 32px; flex: none; margin-top: -6px; display: flex; align-items: center; justify-content: center; border-radius: 16px; color: var(--ink-4); }
.install-hint__close .material-symbols-rounded { font-size: 20px; }

.agenda-link { display: flex; justify-content: flex-end; flex: none; margin: -6px 0 -8px; }
.agenda-link a { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); padding: 8px 4px; }
.agenda-link .material-symbols-rounded { font-size: 18px; }

.goto { gap: 16px; padding: 10px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
.goto__head { display: flex; align-items: center; }
.goto__title { flex: 1; font-size: 20px; font-weight: 500; }
.goto__today { height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--indigo-border); display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--indigo); }
.goto__today .material-symbols-rounded { font-size: 18px; }
.goto__year { display: flex; align-items: center; justify-content: center; gap: 8px; }
.goto__nav { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.goto__year-label { font-size: 18px; font-weight: 500; min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.goto__months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.goto__month { height: 40px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: var(--ink); box-shadow: inset 0 0 0 1px #e4e4ea; }
.goto__month.is-selected { background: var(--indigo); color: #fff; box-shadow: none; }
.goto__calendar { border-top: 1px solid #f0f0f3; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.goto__calendar[hidden] { display: none; }
.goto__calendar-title { font-size: 14px; font-weight: 500; }
.goto__weekdays, .goto__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.goto__weekdays { font-size: 12px; color: var(--ink-3); padding-bottom: 4px; }
.goto__days { row-gap: 2px; }
.goto__day { height: 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 14px; color: var(--ink); border-radius: 10px; font-variant-numeric: tabular-nums; }
.goto__day.is-today { color: var(--indigo); font-weight: 700; }
.goto__dot { width: 4px; height: 4px; border-radius: 2px; background: transparent; }
.goto__day.has-shift .goto__dot { background: var(--indigo-light); }
.goto__day.has-shift.is-past .goto__dot { background: #b8b8c0; }
.goto__day:focus-visible { outline: 2px solid var(--indigo); outline-offset: -2px; }
.goto__hint { font-size: 12px; color: var(--ink-3); }
.shift-head__agenda { align-self: flex-start; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--indigo); margin-top: 6px; }
.shift-head__agenda .material-symbols-rounded { font-size: 18px; }
.page > .card--shift .kv__row { padding: 9px 0; }

/* Desktop (ontwerp D0): zijbalk, mobiele kolom in het midden, panelen als venster */
.side-nav { display: none; }

/* Ook een liggende telefoon: daar is de hoogte krap en de breedte ruim. */
@media (min-width: 960px), (orientation: landscape) and (max-height: 500px) and (min-width: 560px) {
    body.employee { --side: 0px; background: var(--surface-2); }
    body.employee.has-side-nav { --side: calc(80px + env(safe-area-inset-left, 0px)); padding-left: var(--side); }

    .side-nav {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 45;
        width: calc(80px + env(safe-area-inset-left, 0px));
        box-sizing: border-box;
        background: #fff;
        border-right: 1px solid #e4e4ea;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 16px 0 16px env(safe-area-inset-left, 0px);
    }
    .side-nav__company, .side-nav__brand, .side-nav__badge:not(.side-nav__badge--compact) { display: none; }
    .side-nav__spacer { flex: 1; }
    .side-nav__item { width: 72px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0 6px; border-radius: 14px; color: var(--ink-3); }
    .side-nav__item:hover { background: var(--surface-2); color: var(--ink); }
    .side-nav__item:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--indigo); }
    .side-nav__pill { position: relative; width: 56px; height: 32px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
    .side-nav__pill .material-symbols-rounded { font-size: 24px; }
    .side-nav__label { font-size: 12px; font-weight: 500; white-space: nowrap; }
    .side-nav__item.is-active { color: var(--indigo-dark); }
    .side-nav__item.is-active .side-nav__pill { background: #e0e3f5; }
    .side-nav__item.is-active .material-symbols-rounded { font-variation-settings: 'FILL' 1; }
    .side-nav__item.is-active .side-nav__label { font-weight: 700; }
    .side-nav__badge { min-width: 20px; height: 20px; border-radius: 10px; background: var(--error); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 6px; box-sizing: border-box; }
    .side-nav__badge--compact { position: absolute; top: 1px; right: 9px; min-width: 16px; height: 16px; border-radius: 8px; font-size: 10px; padding: 0 4px; }

    .bottom-nav { display: none; }
    .app--nav { padding-bottom: 0; }
    .app { max-width: none; margin: 0; box-shadow: none; min-height: 100vh; padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
    body.employee.has-side-nav .app { padding-left: 0; }
    .app > *:not(.appbar):not(.sticky-head), .sticky-head > *:not(.appbar) { width: 100%; max-width: 560px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
    .appbar { padding-left: max(16px, calc((100% - 560px) / 2 + 16px)); padding-right: max(8px, calc((100% - 560px) / 2 + 8px)); }
    .appbar--detail { padding-left: max(4px, calc((100% - 560px) / 2 + 4px)); }
    .appbar--tabs { padding-left: max(8px, calc((100% - 560px) / 2 + 8px)); }
    .snackbar { left: calc(var(--side) + 12px); bottom: 24px; }
    .snackbar--no-nav { bottom: 24px; }

    .sheet { justify-content: center; align-items: center; padding: 24px 24px 24px calc(var(--side) + 24px); box-sizing: border-box; }
    .sheet__panel { border-radius: 28px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); padding-bottom: 24px; box-shadow: 0 24px 64px rgba(15, 17, 40, .3); }
    .sheet__handle { display: none; }

    .shift-row, .option-card, a.card, a.request-card { transition: box-shadow .15s; }
    .shift-row:hover, .option-card:hover, a.card:hover, a.request-card:hover { box-shadow: 0 0 0 1px var(--indigo-border), 0 2px 8px rgba(20, 24, 60, .10); }
    .request-group a.request-card:hover { box-shadow: none; background: var(--indigo-tint-3); }
}

@media (orientation: landscape) and (max-height: 500px) and (min-width: 560px) and (max-width: 959px) {
    .side-nav { gap: 4px; padding-top: 8px; padding-bottom: 8px; overflow-y: auto; }
}

@media (min-width: 1280px) {
    body.employee.has-side-nav { --side: 232px; }
    .side-nav { width: 232px; align-items: stretch; gap: 4px; padding: 20px 12px; }
    .side-nav__company { display: flex; flex-direction: column; gap: 2px; padding: 0 14px 20px; }
    .side-nav__company-label { font-size: 12px; color: var(--ink-3); }
    .side-nav__company-name { font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.3; }
    .side-nav__item { width: auto; flex-direction: row; gap: 14px; height: 48px; padding: 0 12px 0 14px; border-radius: 24px; color: var(--ink-2); }
    .side-nav__item:hover { background: #f0f1f7; }
    .side-nav__item:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--indigo); }
    .side-nav__pill { width: auto; height: auto; background: none !important; }
    .side-nav__label { flex: 1; font-size: 15px; }
    .side-nav__item.is-active { background: #e0e3f5; }
    .side-nav__badge:not(.side-nav__badge--compact) { display: flex; }
    .side-nav__badge--compact { display: none; }
    .side-nav__brand { display: block; padding: 0 14px; font-family: 'Roboto Slab', Roboto, serif; font-size: 15px; font-weight: 500; color: var(--indigo); }
    .side-nav__brand span { color: #7986cb; }
}
.who-person__standby { color: var(--ink-3); font-size: 14px; }
.hours-remark-link { padding: 4px 0; align-self: flex-start; background: none; border: 0; cursor: pointer; font-family: inherit; }
.hours-times { display: flex; flex-direction: column; gap: 20px; }
.totals__value--open { color: var(--ink-3); }

/* Terugval voor browsers zonder :has() (iOS < 15.4): employee.js zet dan .is-checked. */
.segmented-choice label.is-checked { background: #e0e3f5; color: var(--indigo-dark); }
.segmented-choice label.is-checked .material-symbols-rounded { display: inline-block; }
.tri label.is-checked .material-symbols-rounded { display: inline-block; }
.tri label.tri--yes.is-checked { background: #e3f1e4; color: #1e5e22; }
.tri label.tri--no.is-checked { background: var(--error-tint); color: var(--error); }
.tri label.tri--limited.is-checked { background: #fff3dc; color: #8a5a00; }
.radio-card.is-checked { border: 2px solid var(--indigo); background: var(--indigo-tint-3); padding: 13px 15px; }
.radio-card.is-checked .radio-on { display: inline-block; }
.radio-card.is-checked .radio-off { display: none; }
.radio-card--person.is-checked { padding: 11px 15px; }
.radio-card--person.is-checked .radio-card__sub { color: var(--ink-2); }
.swap-day.is-checked { border-color: var(--indigo); }
.swap-day.is-checked .swap-day__count { color: var(--indigo); }
.swap-card.is-checked { box-shadow: inset 0 0 0 2px var(--indigo); background: var(--indigo-tint-3); }
.pick-row.is-checked .pick-row__on, .pick-person__shift.is-checked .pick-row__on, .pick-chosen.is-checked .pick-row__on { display: inline-block; }
.pick-row.is-checked .pick-row__off, .pick-person__shift.is-checked .pick-row__off, .pick-chosen.is-checked .pick-row__off { display: none; }
.pick-list--large .pick-row.is-checked { background: var(--indigo-tint-3); box-shadow: inset 0 0 0 2px var(--indigo); }
.pick-person.is-checked { box-shadow: inset 0 0 0 2px var(--indigo); background: var(--indigo-tint-3); }
.pick-person__shift.is-checked { font-weight: 500; }
.pick-list--large .pick-row.is-checked .pick-row__name { font-weight: 500; }

/* Tikvlak van minstens 44x44 zonder dat de knop er anders uitziet. */
.goto-button, .who-button, .week-end__next, .strip__nav, .agenda-link a, .month__nav, .month-chip, .save-state__link, .appbar__pill, .shift-head__agenda { position: relative; }
.goto-button::after, .who-button::after, .week-end__next::after, .strip__nav::after, .agenda-link a::after, .month__nav::after, .month-chip::after, .save-state__link::after, .appbar__pill::after, .shift-head__agenda::after, .tri label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100%, 44px);
    height: max(100%, 44px);
    transform: translate(-50%, -50%);
}


.empty__intro { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.nav-row--divided { border-top: 1px solid var(--line-2); }

/* Rondleiding (ontwerp 11) */
.tour-dialog { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 17, 40, .45); }
.tour-dialog[hidden] { display: none; }
html.tour-dialog-open { overflow: hidden; }
.tour-dialog__card { width: 100%; max-width: 400px; background: var(--surface); border-radius: 28px; padding: 28px 24px 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 8px 28px rgba(15, 17, 40, .35); }
.tour-dialog__card[hidden] { display: none; }
.tour-dialog__title { margin: 0; font-size: 24px; font-weight: 500; line-height: 1.25; }
.tour-dialog__text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.tour-dialog__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.tour-dialog__choose { height: 52px; border-radius: 26px; background: var(--indigo-tint); color: var(--indigo-dark); font-size: 15px; width: 100%; }
.tour-dialog__later { height: 44px; font-size: 15px; color: var(--indigo); width: 100%; background: none; }
.tour-dialog__card--list { padding: 12px 8px; gap: 0; }
.tour-dialog__head { display: flex; align-items: center; gap: 4px; padding-bottom: 8px; }
.tour-dialog__head-title { flex: 1; margin: 0; font-size: 20px; font-weight: 500; }
.tour-dialog__icon { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 22px; color: var(--ink-2); }
.tour-choice { position: relative; width: 100%; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 8px 8px 12px; border-radius: 16px; text-align: left; color: var(--ink); background: none; }
.tour-choice + .tour-choice::before { content: ''; position: absolute; top: 0; left: 66px; right: 12px; height: 1px; background: var(--line-2); }
.tour-choice__icon { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--indigo-tint); color: var(--indigo); display: flex; align-items: center; justify-content: center; }
.tour-choice__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.tour-choice__label { font-size: 16px; font-weight: 500; }
.tour-choice__sub { font-size: 13px; color: var(--ink-3); }
.tour-choice .chev { color: var(--ink-5); }

.driver-popover.tour-pop { width: calc(100vw - 24px); min-width: 0; max-width: 360px; padding: 14px 12px 12px 20px; border-radius: 20px; background: var(--surface); color: var(--ink); font-family: Roboto, system-ui, sans-serif; box-shadow: 0 8px 28px rgba(15, 17, 40, .35); display: flex; flex-direction: column; gap: 6px; }
.driver-popover.tour-pop--end { padding-top: 20px; }
.tour-pop > .driver-popover-close-btn:not(.tour-pop__close), .tour-pop > .driver-popover-footer { display: none !important; }
.tour-pop .tour-pop__top { display: flex; align-items: center; height: 32px; }
.tour-pop .tour-pop__count { flex: 1; font-size: 13px; color: var(--ink-3); }
.tour-pop .driver-popover-close-btn.tour-pop__close { position: static; width: 44px; height: 44px; margin: -6px -4px -6px 0; display: flex; align-items: center; justify-content: center; border-radius: 22px; color: var(--ink-2); }
.tour-pop .tour-pop__close .material-symbols-rounded { font-size: 22px; }
.tour-pop .driver-popover-title { font-size: 18px; font-weight: 500; line-height: 1.35; padding-right: 8px; }
.tour-pop .driver-popover-title[style*=block] + .driver-popover-description { margin-top: 0; }
.tour-pop .driver-popover-description { font-size: 15px; line-height: 1.5; color: var(--ink-2); padding-right: 8px; text-wrap: pretty; }
.tour-pop .tour-pop__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 8px; }
.tour-pop .tour-pop__spacer { flex: 1; }
.tour-pop .tour-pop__text-btn { all: unset; cursor: pointer; height: 44px; padding: 0 10px; display: flex; align-items: center; font-size: 14px; font-weight: 500; color: var(--indigo); border-radius: 22px; }
.tour-pop .tour-pop__next { all: unset; cursor: pointer; margin-left: auto; height: 44px; padding: 0 22px; border-radius: 22px; background: var(--indigo); color: #fff; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.tour-pop .tour-pop__next:has(.material-symbols-rounded) { padding: 0 18px 0 20px; }
.tour-pop .tour-pop__next .material-symbols-rounded { font-size: 20px; }
.tour-pop .tour-pop__text-btn:focus-visible { outline: none; background: var(--indigo-tint-3); }
.tour-pop .tour-pop__next:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--indigo-border); }
.tour-pop .tour-pop__close:focus-visible { outline: none; background: var(--surface-3); }
.tour-pop .driver-popover-arrow { border-width: 7px; }

/* Tussen twee pagina's van de rondleiding blijft de laag staan */
html.tour-resuming body::after { content: ''; position: fixed; inset: 0; z-index: 10000; background: rgba(15, 17, 40, .55); }
html.tour-resuming body::before { content: ''; position: fixed; z-index: 10001; left: calc(50% - 28px); top: calc(50% - 28px); width: 56px; height: 56px; border-radius: 28px; background: var(--surface); box-shadow: 0 8px 28px rgba(15, 17, 40, .35); opacity: 0; animation: tour-spinner-in 1ms 300ms forwards; }
html.tour-resuming::after { content: ''; position: fixed; z-index: 10002; left: calc(50% - 12px); top: calc(50% - 12px); width: 24px; height: 24px; box-sizing: border-box; border-radius: 50%; border: 3px solid var(--indigo); border-right-color: transparent; opacity: 0; animation: tour-spinner-in 1ms 300ms forwards, tour-spin .8s linear infinite; }
@keyframes tour-spinner-in { to { opacity: 1; } }
@keyframes tour-spin { to { transform: rotate(360deg); } }
