/* Urlaub nach Entwurf "Urlaub.dc.html": Werte aus den Inline-Styles des Entwurfs. */
.lv { display: flex; flex-direction: column; gap: 24px; }
.lv-ph { margin-bottom: 0; }
.lv > .msg:empty { display: none; }
.lv-ph .acts { gap: 8px; }
.lv-ph .acts .select { min-width: 170px; }
.lv-ph .acts .select select { height: 42px; border-radius: 12px; background: var(--surface); font-size: 14px; }
.lv-ph .btn.primary { border-radius: 12px; padding: 0 16px; }
.lv-yn { display: flex; align-items: center; gap: 4px; height: 42px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.lv-yn .btn.icon { width: 34px; height: 34px; border-radius: 9px; }
.lv-yn .y { min-width: 48px; text-align: center; font-size: 14px; font-weight: 600; }

/* Kopfzeile in Karten */
.lv-k { font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.lv-k .ic { font-size: 14px; }
.lv-k2 { font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }

/* warme Karten (Noch frei, Wartet auf dich) */
.lv-warm { background: #FDF1E7; color: var(--ink); border: 1px solid #F3D5BB; border-radius: 22px; }
.lv-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; min-width: 0; }

/* Mitarbeiter: Noch frei + Meine Antraege */
.lv-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1180px) { .lv-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.lv-free { padding: 24px 26px; display: flex; flex-direction: column; gap: 18px; }
.lv-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lv-big .n { font: 400 80px/.85 var(--serif); }
.lv-big .of { color: var(--text-2); }
.lv-meter { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: rgba(46, 44, 41, .06); }
.lv-meter i { display: block; height: 100%; }
.lv-meter .tk { background: var(--accent-deep); }
.lv-meter .pl { background: #7E9A5F; }
.lv-meter .rq { background: var(--accent); }
.lv-meter.sm { height: 8px; border-radius: 5px; background: #EAE3D6; }
.lv-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--text-2); }
.lv-legend .rq { color: var(--accent-deep); }

.lv-mine .lv-req { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid #EAE3D6; flex-wrap: wrap; }
.lv-req.hl { background: var(--accent-soft); margin: 0 -12px; padding: 14px 12px; border-radius: 12px; }
.lv-tile { width: 48px; height: 52px; border-radius: 12px; background: var(--accent-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.lv-tile .m { font-size: 10px; font-weight: 700; color: var(--accent-deep); text-transform: uppercase; line-height: 1.2; }
.lv-tile .d { font: 400 22px/1 var(--serif); }
.lv-req .grow { flex: 1 1 160px; min-width: 0; }
.lv-req .t { display: block; font-weight: 600; }
.lv-req .s { display: block; font-size: 14px; color: var(--text-3); }
.lv-racts { display: flex; gap: 6px; flex-wrap: wrap; }
.lv-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.lv-pill.ok { background: #EEF3E8; color: #4A6630; }
.lv-pill.wait { background: var(--accent-soft); color: var(--accent-deep); }
.lv-pill.bad { background: #F8E9E4; color: #A8432F; }
.lv-pill.off { background: var(--surface-2); color: var(--text-3); }
.lv-none { padding: 14px 0; color: var(--text-3); font-size: 14px; }
.btn.lv-withdraw { margin-top: 12px; height: 36px; padding: 0 12px; border-radius: 10px; background: transparent; font-size: 13px; gap: 6px; }
.btn.lv-withdraw .ic { font-size: 14px; }
.lv-mine-wrap .lv-mine { max-width: 760px; }

/* Leitung: Wartet auf dich */
.lv-wait { padding: 22px 24px; }
.lv-pend { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px; }
.lv-pend.hl { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 12px; }
.av.lv46 { width: 46px; height: 46px; font-size: 14px; font-weight: 700; color: var(--accent-ink); }
.lv-pend .grow { flex: 1 1 240px; min-width: 0; }
.lv-pend .h { font: 400 24px/1.1 var(--serif); }
.lv-pend .s { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.lv-pacts { display: flex; gap: 8px; }
.lv-pacts .btn { height: 42px; border-radius: 12px; gap: 6px; }
.btn.lv-no { background: transparent; padding: 0 16px; }
@media (hover: hover) and (pointer: fine) { .btn.lv-no:hover:not(:disabled) { background: rgba(46, 44, 41, .06); } }
@media (max-width: 767px) { .lv-pacts { width: 100%; } .lv-pacts .btn { flex: 1; } }

/* Leitung: Team-Karten */
.lv-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.lv-tc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: box-shadow 150ms ease; }
@media (hover: hover) and (pointer: fine) { .lv-tc:hover { box-shadow: inset 0 0 0 1px rgba(46, 44, 41, .12); } }
.lv-tc .tc-top { display: flex; align-items: center; gap: 10px; }
.lv-tc .av { width: 36px; height: 36px; font-size: 12px; font-weight: 700; }
.lv-tc .nm { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-tc .rest { font: 400 28px/1 var(--serif); }
.lv-tc .ln { font-size: 13px; color: var(--text-3); }

/* Zeitleiste "Wer ist wann weg?" */
.lv-tl { border-radius: 20px; padding: 22px 22px 18px; }
.lv-tlh { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.lv-tlh .h2 { font: 400 26px/1.1 var(--serif); }
.lv-tlh .s { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.lv-tlr { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lv-lg { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.lv-lg .il { gap: 6px; }
.lv-lg i { width: 14px; height: 10px; border-radius: 3px; }
.lv-lg i.ok { background: #7E9A5F; }
.lv-lg i.rq { background: var(--accent); border: 1.5px dashed #D98A52; }
.lv-nav { display: flex; gap: 2px; }
.lv-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lv-grid { min-width: 720px; }
.lv-head { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: end; }
.lv-head .axis { position: relative; height: 44px; }
.lv-head .mo { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--line-2); padding-left: 8px; }
.lv-head .mo span { font-size: 13px; font-weight: 700; }
.lv-head .hol { position: absolute; bottom: 2px; transform: translateX(-4px); display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #A8432F; white-space: nowrap; }
.lv-head .hol i { width: 7px; height: 7px; border-radius: 50%; background: #E08A74; }
.lv-body { position: relative; }
.lv-body .lines { position: absolute; top: 0; bottom: 0; left: 170px; right: 0; pointer-events: none; }
.lv-body .ml { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--line-2); }
.lv-body .wl { position: absolute; top: 0; bottom: 0; border-left: 1px solid #F0EADF; }
.lv-body .tl { position: absolute; top: -6px; bottom: 0; border-left: 2px solid var(--ink); z-index: 3; }
.lv-body .tlb { position: absolute; top: -24px; transform: translateX(-50%); z-index: 3; font-size: 11px; font-weight: 700; background: var(--ink); color: var(--surface); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.lv-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; border-top: 1px solid #EAE3D6; }
.lv-row .who { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 0; min-width: 0; font-size: 14px; font-weight: 600; }
.lv-row .who span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av.lv28 { width: 28px; height: 28px; font-size: 11px; font-weight: 700; }
.lv-row .lane { position: relative; height: 48px; }
.lv-row .none { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); font-size: 13px; color: #A39886; }
.lv-bar { position: absolute; top: 9px; bottom: 9px; min-width: 10px; padding: 0; border-radius: 8px; z-index: 2; cursor: pointer; border: 0; }
.lv-bar.ok { background: #7E9A5F; }
.lv-bar.rq { background: var(--accent); border: 1.5px dashed #D98A52; }
.lv-bar.hl { box-shadow: 0 0 0 3px var(--ink); }
.lv-blbl { position: absolute; top: 50%; transform: translateY(-50%); padding: 0 8px; font-size: 12px; color: var(--ink); white-space: nowrap; z-index: 3; pointer-events: none; }
.lv-blbl b { font-weight: 700; }
.lv-blbl span { font-weight: 500; color: var(--text-2); }

/* Dialog Antrag */
.lv-form { display: flex; flex-direction: column; gap: 16px; }
.lv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lv-halves .tgl { height: 38px; min-height: 38px; border-radius: 999px; font-weight: 600; background: var(--surface); }
.lv-halves .tgl .ic { font-size: 16px; color: var(--ink); }
.lv-daysbox { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--accent-soft); }
.lv-daysbox .t { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--text-2); }
.lv-daysbox .t .h { font-size: 12px; color: var(--accent-deep); }
.lv-daysbox .t .h:empty { display: none; }
.lv-daysbox .v { display: flex; align-items: baseline; gap: 6px; flex: none; }
.lv-daysbox .n { font: 400 34px/1 var(--serif); font-variant-numeric: tabular-nums; }
.lv-daysbox .u { font-size: 14px; color: var(--text-2); }
.lv-form .opt { font-weight: 400; color: var(--text-3); font-size: 13px; }

/* Dialog Balken-Details */
.lv-det { display: flex; flex-direction: column; }
.lv-det .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #EAE3D6; }
.lv-det .row:last-child { border-bottom: 0; }
