/* Ferie: shared component on the ui.css baseline, no separate app shell. */
.leave-view{--leave-ink:var(--petrol,#12262e);--leave-muted:var(--dim,#4b6168);--leave-card:#ffffff;--leave-mint:#e0f3ec;--leave-iris:#ffffff;--leave-calendar:#ffffff;--leave-paper:#ffffff;--leave-used:#e0f3ec;--leave-planned:#e8effc;--leave-theoretical:#f7ecd7;color:var(--leave-ink);max-width:1040px;margin:0 auto}
.leave-view *{box-sizing:border-box}.leave-view button,.leave-view input,.leave-view select{font-family:inherit}.leave-view svg{width:20px;height:20px;flex-shrink:0}.leave-view [hidden]{display:none!important}
.leave-view h1,.leave-view h2,.leave-view p{margin:0}.leave-view h2{font-size:20px;font-weight:600;letter-spacing:-.03em}.leave-view button{touch-action:manipulation}.leave-status{font-size:13px;color:var(--leave-muted);padding:10px 0}
.leave-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:24px 0}.leave-heading .eyebrow{font-size:11px;font-weight:500;letter-spacing:.13em;color:var(--leave-muted);margin:0 0 8px}.leave-heading h1{font-size:26px;line-height:1.1;font-weight:650;letter-spacing:-.045em;color:var(--leave-ink)}
.leave-year{display:flex;gap:8px;align-items:center;background:var(--leave-paper);border-radius:24px;padding:5px 12px;margin:0}.leave-year svg{width:17px;height:17px}.leave-year select{font-size:14px;color:var(--leave-ink);border:0;width:auto;min-height:38px;background:transparent;padding:5px 2px}
.leave-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:24px;align-items:start}.leave-overview{display:grid;gap:14px;min-width:0}
.leave-view .leave-balance{border:0;width:100%;display:block;text-align:left;padding:20px;border-radius:18px;background:#ffffff;border:1px solid #e6ebea;box-shadow:0 1px 2px #12262e0d;color:#12262e;font-weight:400}
.leave-card-top{display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:550}.leave-card-top>svg{padding:7px;width:31px;height:31px;border-radius:50%;background:#ffffffc9}
.leave-total{display:flex;align-items:baseline;gap:9px;margin:3px 0 13px}.leave-total strong{font-size:60px;line-height:1.15;font-weight:600;letter-spacing:-.06em;font-variant-numeric:tabular-nums}.leave-total>span{font-size:17px;font-weight:400}
.leave-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-bottom:16px}.leave-breakdown>span+span{padding-left:18px;border-left:1px solid #d2dcd9}.leave-breakdown small{display:block;font-size:12px;color:#4b6168}.leave-breakdown strong{font-size:18px;font-weight:600}
.leave-source{display:flex;align-items:center;gap:7px;padding-top:14px;border-top:1px solid #d2dcd9;font-size:12px;color:#4b6168}.leave-source svg{width:15px;height:15px}
.leave-view .leave-next{display:grid;grid-template-columns:46px minmax(0,1fr) 18px;align-items:center;gap:12px;width:100%;padding:14px 16px;border:1px solid #e6ebea;border-radius:18px;text-align:left;background:var(--leave-iris);color:var(--leave-ink);font-weight:400}
.leave-date-mark{display:flex;flex-direction:column;align-items:center;justify-content:center;width:46px;min-height:56px;border-radius:15px;background:var(--leave-paper);color:#2f6bd8}.leave-date-mark small{font-size:10px;letter-spacing:.06em;font-weight:600}.leave-date-mark strong{font-size:24px;line-height:1.2;font-weight:600}
.leave-next-copy small{display:block;font-size:12px;color:var(--leave-muted)}.leave-next-copy strong{display:block;font-size:16px;line-height:1.3;font-weight:600;letter-spacing:-.03em;margin:4px 0}.leave-next>svg{width:18px;height:18px}
.leave-small-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.leave-view .leave-small-tile{min-width:0;display:block;border:1px solid #e6ebea;border-radius:18px;background:var(--leave-card);color:var(--leave-ink);text-align:left;padding:14px 16px;font-weight:400}
.leave-tile-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.leave-tile-top svg:last-child{width:15px;height:15px;color:var(--leave-muted)}.leave-small-tile>strong{font-size:24px;font-weight:600;letter-spacing:-.035em;display:block;line-height:1.2}.leave-small-tile>span:not(.leave-tile-top){display:block;font-size:13px;margin-top:5px}.leave-small-tile>small{display:block;font-size:11px;color:var(--leave-muted);margin-top:5px}
.leave-calendar-block{background:var(--leave-calendar);border:1px solid #e6ebea;border-radius:18px;padding:18px 16px;scroll-margin-top:105px;min-width:0}.leave-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.leave-section-title>span{font-size:11px;color:var(--leave-muted)}.leave-calendar-block h2{font-size:19px}.leave-month{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:0 0 17px}.leave-month>strong{font-size:17px;font-weight:600;text-transform:capitalize}
.leave-view .leave-icon-button{display:grid;place-items:center;width:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:var(--leave-paper);color:var(--leave-ink)}
.leave-weekdays,.leave-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center}.leave-weekdays{font-size:11px;color:var(--leave-muted);margin-bottom:10px}.leave-days{gap:6px 2px}
.leave-view .leave-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;position:relative;border:0;min-width:0;width:100%;min-height:44px;padding:5px 0 3px;border-radius:13px;background:transparent;color:var(--leave-ink);font-size:14px;font-weight:400}.leave-day small{height:10px;font-size:10px;line-height:1;font-weight:500}.leave-view .leave-used{background:var(--leave-used);color:#0e5f6d}.leave-view .leave-planned{background:var(--leave-planned);color:#12262e;box-shadow:inset 0 0 0 1.5px #2f6bd8}.leave-view .leave-unverified{background:#f7ecd7;color:#9a5b00}.leave-view .leave-theoretical{background:var(--leave-theoretical);color:#9a5b00;outline:1px dashed #9a5b00;outline-offset:-2px}.leave-view .leave-selected{background:#12262e;color:#ffffff}.leave-day[aria-current=date]:after{content:'';position:absolute;bottom:3px;width:3px;height:3px;border-radius:50%;background:currentColor}
.leave-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;font-size:11px;color:var(--leave-muted);margin:17px 0}.leave-legend>span{display:flex;gap:5px;align-items:center}.leave-legend b{font-size:10px;font-weight:500;display:grid;place-items:center;width:18px;height:18px;border-radius:5px}
.leave-selected-day{display:flex;align-items:center;gap:10px;background:var(--leave-paper);padding:15px;border-radius:18px}.leave-selected-day svg{color:#2f6bd8}.leave-selected-day strong{font-size:13px;font-weight:600;display:block;text-transform:capitalize}.leave-selected-day span{display:block;font-size:12px;color:var(--leave-muted);margin-top:3px}.leave-view .leave-footnote{font-size:11px;color:var(--leave-muted);line-height:1.6;margin:14px 3px 0}
.leave-detail{max-width:680px;margin:0 auto}.leave-view .leave-back,.leave-view .leave-link{display:inline-flex;gap:8px;align-items:center;background:none;color:var(--leave-ink);border:0;font-size:14px;font-weight:500;padding:13px 0;text-align:left;min-height:44px}.leave-detail .leave-heading{margin:12px 0 24px}.leave-detail h2{margin:24px 0 8px}.leave-detail-hero{padding:25px;border-radius:27px;background:var(--leave-mint);color:var(--leave-ink);margin:0 0 22px}.leave-detail-hero>span{font-size:14px}.leave-detail-hero .leave-total{margin:12px 0 7px}.leave-detail-hero>small{font-size:12px;color:var(--leave-muted)}
.leave-fact{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid var(--line,#e6ebea)}.leave-fact span{font-size:14px}.leave-fact small{display:block;color:var(--leave-muted);font-size:12px;margin-top:4px}.leave-fact strong{font-weight:550;font-size:16px;flex-shrink:0;text-align:right}.leave-view .leave-muted{font-size:13px;line-height:1.6;color:var(--leave-muted);margin:10px 0 18px}
.leave-note{display:flex;align-items:flex-start;gap:11px;padding:18px;border-radius:21px;background:var(--leave-card);color:var(--leave-muted);margin-top:19px}.leave-note svg{width:18px;height:18px;margin-top:2px}.leave-note p{font-size:13px;line-height:1.6}
.leave-period{border-radius:24px;padding:22px;margin:15px 0;background:var(--leave-iris);color:var(--leave-ink)}.leave-period>svg{display:block;margin-bottom:14px}.leave-period>small{font-size:12px;color:var(--leave-muted)}.leave-period h2{font-size:25px;margin:7px 0}.leave-period p{font-size:13px;color:var(--leave-muted)}.leave-period-summer{background:#f7ecd7}.leave-period-winter{background:var(--leave-iris)}
.leave-group-form{margin-top:27px}.leave-group-form label{display:block;font-size:13px;font-weight:500;margin:17px 0}.leave-group-form select,.leave-group-form input{display:block;margin-top:8px;width:100%;font-size:16px;min-height:46px;border-radius:15px;border:1px solid var(--line,#e6ebea);padding:10px 12px;background:var(--leave-paper);color:var(--leave-ink)}.leave-view .leave-save{padding:14px 22px;border:0;border-radius:23px;background:#12262e;color:#ffffff;min-height:46px;font-weight:500;font-size:14px}.leave-form-status{font-size:13px;line-height:1.5;padding:12px 0;color:var(--leave-muted)}.leave-view button:disabled{opacity:.55}
@media(max-width:750px){.leave-heading{margin:18px 0 22px}.leave-heading h1{font-size:24px}.leave-layout{display:block}.leave-overview{gap:14px}.leave-calendar-block{margin-top:26px;padding:19px 13px}.leave-view .leave-balance{padding:21px 22px 18px}.leave-total strong{font-size:57px}.leave-view .leave-next{padding:18px 16px}.leave-next-copy strong{font-size:18px}.leave-view .leave-small-tile{padding:18px 16px}.leave-small-tile>strong{font-size:23px}.leave-small-tile>span:not(.leave-tile-top){font-size:12px}.leave-detail .leave-heading h1{font-size:30px}}
@media(max-width:350px){.leave-view .leave-balance{padding:18px}.leave-total strong{font-size:51px}.leave-view .leave-next{padding:16px 12px;gap:9px}.leave-next-copy strong{font-size:16px}.leave-next-copy small{font-size:11px}.leave-view .leave-small-tile{padding:16px 12px}.leave-small-tile>strong{font-size:20px}.leave-year{gap:4px;padding:3px 7px}.leave-calendar-block{padding:17px 8px}.leave-month>strong{font-size:16px}.leave-fact strong{font-size:14px}}
html[data-tono="scuro"] .leave-view{--leave-ink:#e0f3ec;--leave-muted:#d2dcd9;--leave-card:#12262e;--leave-mint:#12262e;--leave-iris:#1b3641;--leave-calendar:#12262e;--leave-paper:#12262e;--leave-used:#12262e;--leave-planned:#2f6bd8;--leave-theoretical:#1b3641}
html[data-tono="scuro"] .leave-balance{background:linear-gradient(135deg,#12262e,#12262e);color:#e0f3ec}html[data-tono="scuro"] .leave-breakdown small,html[data-tono="scuro"] .leave-source{color:#d2dcd9}html[data-tono="scuro"] .leave-breakdown>span+span,html[data-tono="scuro"] .leave-source{border-color:#ffffff24}html[data-tono="scuro"] .leave-card-top>svg{background:#ffffff14}
html[data-tono="scuro"] .leave-view .leave-used{color:#e0f3ec}html[data-tono="scuro"] .leave-view .leave-planned{background:#1b3641;color:#ffffff;box-shadow:inset 0 0 0 1.5px #e8effc}html[data-tono="scuro"] .leave-view .leave-theoretical{color:#f7ecd7}html[data-tono="scuro"] .leave-view .leave-selected{background:#e0f3ec;color:#12262e}html[data-tono="scuro"] .leave-date-mark,html[data-tono="scuro"] .leave-selected-day svg{color:#e8effc}html[data-tono="scuro"] .leave-period-summer{background:#1b3641}
