/* leave page styles (2026-10-23 foundation: one CSS file per page). Use the shared ui- classes from assets/ui.css first;
   put only what this page needs here, scoped to the page's own root. */

/* ---------- the .lv-* helpers, moved from reports.css (2026-10-23). Call Quality, the Day plan and other pages reuse some
   of them, so they stay global. This file loads after shell.css: the accents are navy here, as shell.css made them. */
.lv-nav{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin:14px 0 4px}.lv-nav button{border:0;border-radius:0;background:none;padding:10px 14px;color:#5B6271;font-weight:600;border-bottom:3px solid transparent}.lv-nav button[aria-selected=true]{color:var(--navy);border-bottom-color:var(--navy)}
.lv-count{display:inline-block;min-width:20px;padding:0 6px;border-radius:999px;background:var(--navy);color:#fff;font-size:11px;line-height:18px;text-align:center}
.lv-msg{margin:12px 0;padding:10px 14px;border-radius:8px;background:#E3F4EA;color:#1D7A46}.lv-msg.error{background:#FDECEC;color:#B42318}
.lv-form textarea{width:100%}.lv-form>label{margin-bottom:12px}.lv-grid3{grid-template-columns:repeat(3,1fr)}.lv-check{flex-direction:row;align-items:center;gap:8px;font-weight:500}.lv-check span{display:flex;align-items:center;gap:8px}
.lv-live{min-height:8px;margin:6px 0 4px}.lv-live p{margin:6px 0}.lv-flags,.lv-warns{margin:8px 0;padding-left:18px;font-size:13px}.lv-flags li{color:#8A5A00}.lv-warns li{color:#5B6271}
.lv-empty{color:#6E7582;padding:14px 0;margin:0}.lv-list{list-style:none;padding:0;margin:8px 0}.lv-list li{padding:8px 0;border-bottom:1px solid var(--line)}.lv-list li:last-child{border:0}
.lv-cards6{grid-template-columns:repeat(6,1fr)}.lv-card .heading h3{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0}.lv-when{margin:10px 0 4px}.lv-reason{margin:4px 0 10px;white-space:pre-wrap;color:#343944}
.lv-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.lv-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;white-space:normal}.lv-wrap{white-space:normal;min-width:160px;max-width:340px}
.lv-news{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:14px 0}.lv-secret{margin:14px 0}.lv-secret code{font-size:16px;padding:2px 8px;background:#fff;border:1px solid var(--line);border-radius:6px}
.lv-filters{margin-top:0}.lv-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:12px}.lv-wd{font-size:11px;font-weight:700;color:#6E7582;text-transform:uppercase;padding:4px}
.lv-day{min-height:86px;border:1px solid var(--line);border-radius:8px;padding:6px;display:flex;flex-direction:column;gap:3px;background:#fff;min-width:0}.lv-out{border:0;background:none}.lv-weekend{background:#FAFAFB}.lv-today{border-color:var(--green)}.lv-busy{background:#FFF6F6}
.lv-num{font-size:12px;font-weight:700;color:#5B6271}.lv-chip{font-size:12px;font-weight:600;border:0;border-radius:6px;padding:2px 6px;background:#E3F4EA;color:#14532D;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default}
.lv-chip.lv-t-sick{background:#EDF0F5;color:#343944}.lv-chip.lv-t-extended{background:#E8EEFB;color:#1F3B7A}.lv-chip.lv-pending{background:repeating-linear-gradient(135deg,#FDF3E1 0 6px,#fff 6px 12px);color:#6B4700;border:1px dashed #D69E1F}.lv-chip[data-lv-view]{cursor:pointer}
.lv-legend{display:flex;gap:10px;align-items:center;margin-top:8px}.lv-busy-key{background:#FFF6F6;border:1px solid var(--line);border-radius:6px;padding:2px 6px}
.lv-ask{padding:12px 0;border-top:1px solid var(--line)}
.lv-del{color:#B42318}
.lv-cards4{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:900px){.lv-cards4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.lv-cards6{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.lv-grid3{grid-template-columns:1fr}.lv-cards6{grid-template-columns:1fr 1fr}.lv-month{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.lv-day{min-height:56px;padding:3px}.lv-chip{font-size:10px;padding:1px 3px}.lv-chip small{display:none}.lv-nav{flex-wrap:nowrap;overflow-x:auto}.lv-nav button{white-space:nowrap;padding:9px 10px}.lv-news{flex-direction:column;align-items:flex-start}}

/* ---------- the page header and its tabs (ui.css .ui-page-head / .ui-tabs) */
.lv-head{margin-bottom:18px}
.lv-tabs{margin-bottom:20px}
.lv-tabs .ui-count.is-alert{background:var(--ui-accent);color:#fff}
.lv-tabs .ui-tab:focus-visible{outline:none;box-shadow:var(--ui-focus)}

/* ---------- Approvals (2026-10-23 redesign, design ref 23; pages/leave-approvals.mjs): 3 counts, filters, the list and
   the request side by side (stacked under 1100px), the request's history */
.lva-stats{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 var(--ui-gap)}
.lva-stat{display:flex;align-items:center;gap:16px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius);box-shadow:var(--ui-shadow);padding:16px 20px;min-width:0}
.lva-stat--red{border-color:var(--ui-bad-line);background:#FFFBFA}.lva-stat--amber{border-color:var(--ui-warn-line);background:#FFFCF5}
.lva-stat-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;flex:none}
.lva-stat-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lva-stat-label{display:flex;align-items:center;gap:6px;font-size:13.5px;color:var(--ui-text)}
.lva-stat-value{display:block;font-size:26px;font-weight:700;line-height:1.2;margin-top:2px}
.lva-stat--amber .lva-stat-value{color:#B54708}.lva-stat--red .lva-stat-value{color:var(--ui-bad)}
.lva-filters{align-items:flex-end}
.lva-filters .lva-range{border:0;margin:0;padding:0;flex:1.4 1 260px}
.lva-range legend{padding:0;margin:0 0 6px;font-size:12.5px;font-weight:600;color:var(--ui-text)}
.lva-range>div{display:flex;align-items:center;gap:8px}.lva-range .ui-input{flex:1 1 0;min-width:0}.lva-range span{color:var(--ui-muted)}
.lva-exc{min-height:40px;flex:none}
.lva-clear{align-self:center}
.lva-split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:var(--ui-gap);align-items:start}
.lva-split.is-empty{grid-template-columns:minmax(0,1fr)}
.lva-split>.ui-card{margin:0}
.lva-list{padding:16px}
.lva-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.lva-sort{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;font-size:13px;color:var(--ui-muted);font-weight:500}
.lva-sort .ui-select{min-height:34px;padding-top:5px;padding-bottom:5px;font-size:13px;width:auto}
.lva-rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.lva-row{display:flex;align-items:flex-start;gap:14px;width:100%;text-align:left;font:inherit;color:inherit;background:#fff;border:1px solid var(--ui-border);border-radius:10px;padding:14px;cursor:pointer;transition:border-color .12s,background .12s}
.lva-row:hover{border-color:#B8BFCC;background:var(--ui-surface-2)}
.lva-row.is-on{border-color:var(--ui-accent);box-shadow:inset 0 0 0 1px var(--ui-accent);background:var(--ui-accent-soft)}
.lva-row:focus-visible{outline:none;box-shadow:var(--ui-focus)}.lva-row.is-on:focus-visible{box-shadow:inset 0 0 0 1px var(--ui-accent),var(--ui-focus)}
.lva-row .ui-avatar--lg{width:44px;height:44px;font-size:15px}
.lva-row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lva-row-main b{font-size:15px;color:var(--ui-ink);overflow-wrap:anywhere}
.lva-row-type{font-size:13px;font-weight:600;color:var(--ui-text)}
.lva-row-dates{font-size:13px;color:var(--ui-muted)}.lva-row-dates span{white-space:nowrap}
.lva-row-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.lva-row-arrow{align-self:center;color:var(--ui-muted);flex:none}
.lva-row-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;display:block}
.lva-detail:focus{outline:none}
.lva-detail .ui-card-head{align-items:center}
.lva-person{display:flex;align-items:center;gap:14px;margin:0 0 14px}
.lva-avatar{width:56px;height:56px;font-size:18px}
.lva-person b{display:block;font-size:16px;color:var(--ui-ink)}.lva-person>div span{display:block;font-size:13px;color:var(--ui-muted)}
.lva-dl{display:grid;grid-template-columns:minmax(110px,150px) minmax(0,1fr);gap:9px 16px;margin:0 0 16px;font-size:13.5px}
.lva-dl dt{color:var(--ui-muted)}.lva-dl dd{margin:0;color:var(--ui-ink);overflow-wrap:anywhere;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lva-reason{white-space:pre-wrap}
.lva-link{display:inline-flex;align-items:center;gap:6px;color:var(--ui-accent);border-radius:4px;overflow-wrap:anywhere}
.lva-link:focus-visible{outline:none;box-shadow:var(--ui-focus)}
.lva-ic{display:inline-grid;place-items:center;flex:none}.lva-ic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lva-link .lva-ic svg{width:15px;height:15px}
.lva-received{font-size:13px}
.lva-checks{background:var(--ui-surface-2);border:1px solid var(--ui-border);border-radius:10px;padding:8px 16px;margin:0 0 12px}
.lva-bal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;padding:8px 0;border-bottom:1px solid var(--ui-border);font-size:13.5px}
.lva-bal>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.lva-bal span{color:var(--ui-muted)}.lva-bal b{color:var(--ui-ink)}
.lva-check{display:grid;grid-template-columns:minmax(110px,150px) minmax(0,1fr) auto;align-items:center;gap:4px 16px;padding:8px 0;border-bottom:1px solid var(--ui-border);font-size:13.5px}
.lva-check:last-child{border-bottom:0}
.lva-check-k{color:var(--ui-muted)}
.lva-check-v{display:flex;align-items:center;gap:8px;font-weight:500}.lva-check-v.is-ok{color:var(--ui-ok)}.lva-check-v.is-bad{color:var(--ui-bad)}
.lva-more{white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.lva-check-list{grid-column:2/-1;margin:2px 0 0;padding-left:18px;color:var(--ui-text);font-size:13px}
.lva-check-list li{margin:2px 0}
.lva-warn{margin:6px 0;font-size:13px;color:var(--ui-text)}
.lva-usage{margin:0 0 10px;font-size:12.5px;color:var(--ui-muted)}
.lva-past{margin:0 0 12px}.lva-past h4{margin:0 0 6px;font-size:13px;font-weight:700;color:var(--ui-ink)}
.lva-past ul{list-style:none;margin:0;padding:0}.lva-past li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;border-top:1px solid var(--ui-border);font-size:13px;flex-wrap:wrap}
.lva-impact{border:1px solid var(--ui-border);border-radius:10px;padding:10px 14px;margin:0 0 12px}
.lva-impact summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;cursor:pointer;font-size:13.5px;font-weight:600;color:var(--ui-ink);border-radius:6px}
.lva-impact summary:focus-visible{outline:none;box-shadow:var(--ui-focus)}
.lva-impact .ui-table-wrap{margin-top:10px}
.lva-block{margin:0 0 12px}
.lva-decide{border-top:1px solid var(--ui-border);padding-top:14px;display:flex;flex-direction:column;gap:12px}
.lva-decide .ui-field{font-size:13.5px;color:var(--ui-ink)}
.lva-decide .ui-textarea{min-height:76px;width:100%;box-sizing:border-box}
.lva-decide .ui-textarea[aria-invalid="true"]{border-color:var(--ui-bad)}
.lva-count{align-self:flex-end;font-size:12px;font-weight:400;color:var(--ui-muted)}
.lva-err{margin:0;color:var(--ui-bad);font-size:13px;font-weight:600}
.lva-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lva-buttons .lva-gap{flex:1}
.lva-buttons .lva-reject,.lva-buttons .lva-approve{min-width:120px}
.lva-history{margin-top:var(--ui-gap)}
.lva-history .ui-card-title{margin-bottom:14px}
.lva-timeline{list-style:none;margin:0;padding:0}
.lva-timeline li{position:relative;display:grid;grid-template-columns:150px minmax(0,1fr);gap:4px 16px;padding:0 0 18px 32px;font-size:13.5px}
.lva-timeline li::before{content:"";position:absolute;left:5px;top:4px;width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid #B8BFCC}
.lva-timeline li.is-first::before{background:var(--ui-accent);border-color:var(--ui-accent)}
.lva-timeline li::after{content:"";position:absolute;left:10px;top:18px;bottom:0;width:2px;background:var(--ui-border)}
.lva-timeline li:last-child{padding-bottom:0}.lva-timeline li:last-child::after{display:none}
.lva-tl-time{color:var(--ui-muted)}
.lva-timeline b{display:block;color:var(--ui-ink)}.lva-timeline li>div span{display:block;color:var(--ui-muted);font-size:13px;overflow-wrap:anywhere}
@media(max-width:1100px){.lva-split{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){
 .lva-stats{gap:8px}
 .lva-stat{padding:10px 12px;align-items:flex-start}.lva-stat-icon{display:none}.lva-stat-label{font-size:12px;align-items:flex-start}.lva-stat-label .ui-info{display:none}.lva-stat-value{font-size:22px}
 .lva-exc{min-height:0}
 .lva-list,.lva-detail,.lva-history{padding:14px}
 .lva-dl{grid-template-columns:minmax(0,1fr);gap:2px}.lva-dl dd{margin-bottom:8px}
 .lva-bal{grid-template-columns:minmax(0,1fr)}
 .lva-check{grid-template-columns:minmax(0,1fr) auto}.lva-check-k{grid-column:1/-1}.lva-check-list{grid-column:1/-1}
 .lva-buttons .lva-gap{display:none}.lva-buttons .lva-reject,.lva-buttons .lva-approve{flex:1 1 0;min-width:0}.lva-buttons [data-lv-email]{flex:1 0 100%;justify-content:flex-start;order:3}
 .lva-timeline li{grid-template-columns:minmax(0,1fr);padding-left:28px}
}

/* ---------- Overview: 6 stat cards, two cards side by side, recent activity, policy summary */
.lv-ov-stats{display:grid;gap:12px;grid-template-columns:repeat(6,minmax(0,1fr));margin:0 0 var(--ui-gap)}
/* label across the top, the number and its icon on one row, the note under them */
.lv-ov-stats .ui-stat{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;align-content:start;column-gap:8px;padding:16px}
.lv-ov-act .ui-pager svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lv-ov-stats .ui-stat>div{display:contents}
.lv-ov-stats .ui-stat-label{grid-column:1/-1;grid-row:1}
.lv-ov-stats .ui-stat-value{grid-column:1;grid-row:2;font-size:26px;margin-top:8px}
.lv-ov-stats .ui-stat-icon{grid-column:2;grid-row:2;margin-top:8px;width:36px;height:36px;border-radius:50%}
.lv-ov-stats .ui-stat-sub{grid-column:1/-1;grid-row:3;overflow-wrap:anywhere}
.lv-ov-pair{margin-bottom:var(--ui-gap)}
.lv-ov-pair>.ui-card{margin:0;display:flex;flex-direction:column}
.lv-ov-pair .ui-empty{flex:1;justify-content:center;padding:28px 16px 12px}
.lv-ov-pair .ui-empty-icon{width:72px;height:72px;background:#F2F4F7;color:#475467}
.lv-ov-pair .ui-empty-icon svg{width:32px;height:32px}
.lv-ov-pair .ui-empty-title{font-size:16px}
.lv-ov-list>li{padding:10px 0}
.lv-ov-pair>.ui-card{container-type:inline-size}
.lv-ov-list .ui-list-item{border:0;border-radius:8px;padding:8px;margin:0 -8px;width:calc(100% + 16px)}
.lv-ov-list .ui-list-item:focus-visible{outline:none;box-shadow:var(--ui-focus)}
.lv-ov-who{flex:1;min-width:0}
.lv-ov-who b{display:block;color:var(--ui-ink);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lv-ov-who small{display:block;color:var(--ui-muted);font-size:12.5px}
.lv-ov-tags{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.lv-ov-arrow{width:16px;height:16px;color:var(--ui-faint);flex:none}
.lv-ov-arrow svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* a narrow card (tablet, phone): the badges go under the name (after the base rules, so it wins) */
@container (max-width:470px){
 .lv-ov-list .ui-list-item,.lv-ov-list>li{flex-wrap:wrap;row-gap:6px}
 .lv-ov-who{flex-basis:calc(100% - 76px)}
 .lv-ov-tags{order:3;flex-basis:100%;justify-content:flex-start;padding-left:44px}
}
.lv-ov-more{margin-top:auto;padding-top:12px;font-size:13px;color:var(--ui-muted)}
.lv-ov-link{font-size:13.5px;font-weight:600;color:var(--ui-accent);text-decoration:underline;text-underline-offset:3px;border-radius:4px}
.lv-ov-link:hover{color:var(--ui-accent-strong)}
.lv-ov-link:focus-visible,.lv-ov-policy a:focus-visible{outline:none;box-shadow:var(--ui-focus)}
.lv-ov-act .ui-table td{vertical-align:top}
.lv-ov-act .ui-table td:first-child{white-space:nowrap}
.lv-ov-act .ui-table td:last-child{white-space:normal;min-width:220px;color:var(--ui-text)}
.lv-ov-act .ui-table-foot{justify-content:flex-end}
.lv-ov-act .ui-table-foot>span{margin-right:auto}
.lv-ov-policy{display:flex;align-items:center;gap:16px}
.lv-ov-policy .ui-icon-tile{width:48px;height:48px;border-radius:50%}
.lv-ov-policy>div{flex:1;min-width:0}
.lv-ov-policy h3{margin:0;font-size:16px;font-weight:700;color:var(--ui-ink)}
.lv-ov-policy p{margin:4px 0 0;font-size:13.5px;color:var(--ui-muted)}
@media(max-width:1180px){.lv-ov-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){
 .lv-ov-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .lv-ov-stats .ui-stat{padding:12px}
 .lv-ov-stats .ui-stat-value{font-size:22px}
 .lv-ov-stats .ui-stat-icon{width:32px;height:32px}
 .lv-ov-act .ui-table td:last-child{min-width:0}
 .lv-ov-act .ui-table--stack td{justify-content:flex-start}
 .lv-ov-act .ui-table--stack td[data-label]::before{flex:0 0 92px}
 .lv-ov-policy{flex-wrap:wrap}
 .lv-ov-policy .ui-btn{width:100%}
}

/* ---------- Team calendar (2026-10-23 redesign, design ref 24; pages/leave-calendar.mjs): 3 counts, filters and the month
   switch, the month with leave as bars, the picked day at the side (under it below 1100px), upcoming approved leave */
.lvc-stats{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 var(--ui-gap)}
.lvc-stat{display:flex;align-items:center;gap:16px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius);box-shadow:var(--ui-shadow);padding:16px 20px;min-width:0}
.lvc-stat-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;flex:none}
.lvc-stat-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lvc-stat>div{min-width:0}
.lvc-stat-label{display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;color:var(--ui-text)}
.lvc-stat-line{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-top:2px}
.lvc-stat-value{font-size:26px;font-weight:700;line-height:1.2;color:var(--ui-ink)}
.lvc-stat-line small{font-size:12.5px;color:var(--ui-muted)}
.lvc-tools{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin:0 0 var(--ui-gap)}
.lvc-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;flex:1 1 520px;min-width:0}
.lvc-filters .ui-field{flex:0 1 200px;min-width:150px}
.lvc-clear{align-self:center;margin-top:18px}
.lvc-nav{display:flex;align-items:center;gap:8px}
.lvc-nav .ui-btn--icon{width:40px;min-height:40px}
.lvc-nav .ui-btn--icon svg{width:18px;height:18px}
.lvc-month{margin:0 6px;min-width:150px;text-align:center;font-size:18px;font-weight:700;color:var(--ui-ink)}
.lvc-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,320px);gap:var(--ui-gap);align-items:start;margin:0 0 var(--ui-gap)}
.lvc-layout>.ui-card{margin:0}
.lvc-cal{padding:0;overflow:hidden}
.lvc-grid{--lvc-top:36px;--lvc-lane:26px;--lvc-more:18px;--lvc-fill:12px;border-bottom:1px solid var(--ui-border)}
.lvc-wds,.lvc-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.lvc-wds span{padding:10px 4px;text-align:center;font-size:12.5px;font-weight:600;color:var(--ui-text);background:var(--ui-surface-2);border-bottom:1px solid var(--ui-border);border-right:1px solid var(--ui-border)}
.lvc-wds span:last-child{border-right:0}
.lvc-week{min-height:96px}
.lvc-week+.lvc-week .lvc-day{border-top:1px solid var(--ui-border)}
.lvc-day{display:flex;align-items:flex-start;justify-content:space-between;gap:4px;min-width:0;margin:0;padding:6px 8px;border:0;border-right:1px solid var(--ui-border);border-radius:0;background:#fff;font:inherit;color:var(--ui-ink);text-align:left;cursor:pointer;box-sizing:border-box}
.lvc-week>.lvc-day:nth-child(7){border-right:0}
.lvc-day:hover{background:var(--ui-surface-2)}
.lvc-day:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--ui-accent)}
.lvc-day.is-off{background:#FAFAFC}
.lvc-day.is-out{cursor:default;background:#FCFCFD}
.lvc-day.is-sel{background:var(--ui-accent-soft)}
.lvc-num{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;flex:none}
.lvc-day.is-out .lvc-num{color:var(--ui-faint);font-weight:500}
.lvc-day.is-today .lvc-num{box-shadow:inset 0 0 0 2px var(--ui-accent);color:var(--ui-accent)}
.lvc-day.is-sel .lvc-num{background:var(--ui-accent);color:#fff;box-shadow:none}
.lvc-tag{font-size:11px;font-weight:600;color:var(--ui-muted);padding-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lvc-busy{width:8px;height:8px;border-radius:50%;background:var(--ui-bad);margin:9px 2px 0 0;flex:none}
.lvc-seg{position:relative;z-index:1;align-self:center;margin:0 6px;padding:0 8px;height:22px;line-height:22px;border-radius:6px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;border:1px solid transparent;box-sizing:border-box}
.lvc-seg b{font-weight:600}
.lvc-more{position:relative;z-index:1;align-self:center;padding:0 10px;font-size:11.5px;font-weight:600;color:var(--ui-muted);pointer-events:none;white-space:nowrap;overflow:hidden}
.lvc-k-casual{background:#EDE9FE;color:#4C1D95}
.lvc-k-sick{background:#DBEAFE;color:#1E3A8A}
.lvc-k-extended{background:#D1FADF;color:#05603A}
.lvc-k-planned{background:#E0E7FF;color:#3730A3}
.lvc-k-leave{background:#CCFBEF;color:#125D56}
.lvc-seg.is-pending,.lvc-dot.is-pending{background:#FEF0C7;color:#7A2E0E;border:1px dashed #F79009}
.lvc-quiet{margin:0;padding:12px 16px 0;font-size:13px;color:var(--ui-muted)}
.lvc-legend{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px 16px;font-size:12.5px;color:var(--ui-text)}
.lvc-legend span{display:inline-flex;align-items:center;gap:7px}
.lvc-dot{display:inline-block;width:12px;height:12px;border-radius:50%;box-sizing:border-box;border:1px solid rgba(15,23,42,.08)}
.lvc-dot--busy{background:var(--ui-bad);border:0;width:8px;height:8px}
.lvc-dot{border-width:2px}.lvc-dot.lvc-k-casual{border-color:#8B5CF6}.lvc-dot.lvc-k-sick{border-color:#3B82F6}.lvc-dot.lvc-k-extended{border-color:#12B76A}.lvc-dot.lvc-k-planned{border-color:#6366F1}.lvc-dot.lvc-k-leave{border-color:#15B79E}.lvc-dot.is-pending{border:2px dashed #F79009}
.lvc-side{padding:0}
.lvc-side-title{margin:0;padding:16px 20px;font-size:16px;font-weight:700;color:var(--ui-ink);border-bottom:1px solid var(--ui-border)}
.lvc-side-tag{margin:12px 20px 0}
.lvc-side h4{margin:16px 20px 8px;font-size:14px;font-weight:700;color:var(--ui-ink)}
.lvc-people{list-style:none;margin:0;padding:0 12px}
.lvc-person{display:flex;align-items:center;gap:12px;width:100%;padding:8px;border:0;border-radius:8px;background:none;font:inherit;color:inherit;text-align:left;box-sizing:border-box}
button.lvc-person{cursor:pointer}button.lvc-person:hover{background:var(--ui-surface-2)}
button.lvc-person:focus-visible{outline:none;box-shadow:var(--ui-focus)}
.lvc-person .ui-avatar{width:36px;height:36px;background:var(--ui-neutral-soft);color:var(--ui-neutral)}
.lvc-who{flex:1;min-width:0}
.lvc-who b{display:block;font-size:14px;font-weight:600;color:var(--ui-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lvc-who small{display:block;font-size:12.5px;color:var(--ui-muted)}
.lvc-none{margin:0 20px;font-size:13px;color:var(--ui-muted)}
.lvc-cover{margin:16px 20px 0;padding-top:4px;border-top:1px solid var(--ui-border)}
.lvc-cover h4{margin:12px 0 8px}
.lvc-cover-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 10px;font-size:13px;color:var(--ui-muted)}
.lvc-cover-line svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--ui-text)}
.lvc-cover-line b{font-size:15px;color:var(--ui-ink);margin-right:8px}
.lvc-cover-bar>span{background:#12B76A}.lvc-cover-bar.is-low>span{background:#F79009}
.lvc-note{margin:14px 20px 0}
.lvc-note .ui-alert-body b{display:block}
.lvc-open{display:flex;width:calc(100% - 40px);margin:14px 20px 0}
.lvc-open svg{width:16px;height:16px}
.lvc-side>:last-child{margin-bottom:20px}
.lvc-up .ui-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.lvc-up .ui-card-title{margin:0}
.lvc-agent{display:inline-flex;align-items:center;gap:10px;min-width:0}
.lvc-agent b{font-weight:600;color:var(--ui-ink)}
.lvc-agent .ui-avatar{background:var(--ui-neutral-soft);color:var(--ui-neutral)}
.lvc-up .ui-pager svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lvc-up .ui-table-foot{justify-content:flex-end}.lvc-up .ui-table-foot>span{margin-right:auto}
@media(max-width:1100px){.lvc-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){.lvc-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lvc-stat{padding:12px 14px;gap:12px}.lvc-stat-icon{width:40px;height:40px}.lvc-stat-icon svg{width:20px;height:20px}}
@media(max-width:640px){
 .lvc-stats{grid-template-columns:minmax(0,1fr);gap:8px}
 .lvc-stat{padding:8px 12px}.lvc-stat-icon{width:32px;height:32px;border-radius:8px}.lvc-stat-icon svg{width:18px;height:18px}.lvc-stat-value{font-size:20px}
 .lvc-stat>div{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;flex-wrap:nowrap}.lvc-stat-label{flex:none}
 .lvc-stat-line{margin:0;gap:6px;flex-wrap:nowrap;min-width:0}.lvc-stat-line small{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
 .lvc-filters{flex-basis:100%;gap:10px}.lvc-filters .ui-field{flex:1 1 140px;min-width:0}
 .lvc-clear{margin-top:0}
 .lvc-nav{width:100%}.lvc-month{flex:1;min-width:0;font-size:16px}
 .lvc-grid{--lvc-top:30px;--lvc-lane:9px;--lvc-more:12px;--lvc-fill:6px}
 .lvc-week{min-height:58px}
 .lvc-wds span{padding:8px 0;font-size:11.5px}
 .lvc-day{padding:3px;justify-content:center;flex-wrap:wrap}
 .lvc-num{width:24px;height:24px;font-size:12px}
 .lvc-tag{display:none}
 .lvc-busy{position:absolute;margin:0;width:6px;height:6px;transform:translate(13px,-1px)}
 .lvc-day{position:relative}
 .lvc-seg{height:6px;margin:0 2px;padding:0;font-size:0;border-radius:3px}
 .lvc-seg.is-pending{border-width:1px}
 .lvc-seg.lvc-k-casual{background:#A78BFA}.lvc-seg.lvc-k-sick{background:#60A5FA}.lvc-seg.lvc-k-extended{background:#32D583}.lvc-seg.lvc-k-planned{background:#818CF8}.lvc-seg.lvc-k-leave{background:#2ED3B7}.lvc-seg.is-pending{background:#FEC84B}
 .lvc-more{padding:0 2px;font-size:9.5px;text-align:center}
 .lvc-legend{padding:10px 12px;gap:6px 12px}
 .lvc-side-title{padding-left:16px;padding-right:16px}.lvc-side>h4,.lvc-none,.lvc-cover,.lvc-note{margin-left:16px;margin-right:16px}.lvc-side-tag{margin-left:16px}.lvc-people{padding:0 8px}.lvc-open{width:calc(100% - 32px);margin-left:16px}
 .lvc-up .ui-table--stack td{justify-content:flex-start}
 .lvc-up .ui-table--stack td[data-label]::before{flex:0 0 72px}
 .lvc-up .ui-table--stack td.ui-num{text-align:left}
 .lvc-up .ui-table--stack tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.lvc-up .ui-table--stack td{width:auto;padding:4px 14px}.lvc-up .ui-table--stack td:first-child{grid-column:1/-1}
 .lvc-up .ui-table--stack td:not(:first-child){flex-direction:column;align-items:flex-start;gap:2px}.lvc-up .ui-table--stack td:not(:first-child)::before{flex:none}
 .lvc-up .ui-table--stack td:first-child::before,.lvc-up .ui-table--stack td:last-child{display:none}
}

/* ---------- History (2026-10-23 redesign, design ref 25; pages/leave-history.mjs): a search and filter row, then one table
   whose rows open in place to the request's details and its audit trail; on a narrow screen each row is a card */
.lvh-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:0 0 16px}
.lvh-q{flex:1.4 1 160px}.lvh-f{flex:1 1 110px}.lvh-d{flex:0 1 140px}
.lvh-d .ui-input{min-width:132px;padding-left:10px;padding-right:8px}
.lvh-acts{display:flex;gap:10px;margin-left:auto}
.lvh-filters .ui-btn:disabled{opacity:.55}
/* QA 2026-10-23: below 1500px one row truncated the search and "All statuses"; the filters sit in a 12-column grid instead */
@media(max-width:1500px){
 .lvh-filters{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end}
 .lvh-q,.lvh-f{grid-column:span 3;min-width:0}.lvh-d{grid-column:span 3}
 .lvh-d .ui-input{min-width:0;width:100%}
 .lvh-acts{grid-column:span 6;justify-content:flex-end;margin-left:0}
}
@media(max-width:900px){.lvh-q{grid-column:1/-1}.lvh-f{grid-column:span 4}.lvh-d{grid-column:span 3}}
@media(max-width:560px){.lvh-f{grid-column:span 6}.lvh-f:nth-child(2){grid-column:1/-1}.lvh-d{grid-column:span 6}.lvh-acts{grid-column:1/-1}}
.lvh-card{padding:0;overflow:hidden}
.lvh-title{margin:0;padding:18px 20px;font-size:15px;font-weight:700;color:var(--ui-ink)}
.lvh-wrap{overflow-x:auto;border-top:1px solid var(--ui-border)}
.lvh-table{width:100%;border-collapse:collapse;font-size:13.5px;color:var(--ui-text);text-align:left}
.lvh-table th{background:var(--ui-surface-2);color:var(--ui-muted);font-size:12.5px;font-weight:600;padding:11px 12px;border-bottom:1px solid var(--ui-border);white-space:nowrap}
.lvh-table td{padding:10px 12px;border-bottom:1px solid var(--ui-border);vertical-align:middle;background:#fff}
.lvh-table .ui-num{text-align:right;font-variant-numeric:tabular-nums}
.lvh-row:hover td{background:#FAFBFD}
.lvh-item.is-open .lvh-row td{background:#F7F8FF}
.lvh-c-tog{width:44px;padding-right:0!important}
.lvh-c-view{text-align:right;width:1%}
.lvh-c-from,.lvh-c-to,.lvh-c-sent{white-space:nowrap}
.lvh-c-who{white-space:nowrap}
.lvh-c-who>*{vertical-align:middle}
.lvh-av{margin-right:10px;background:#EEF0F5;color:var(--ui-neutral)}
.lvh-name{font-weight:600;color:var(--ui-ink)}
.lvh-c-type small,.lvh-exc{display:block;font-size:12px;color:var(--ui-muted);margin-top:2px}
.lvh-exc{color:var(--ui-muted)}
.lvh-tog{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:8px;background:none;color:var(--ui-muted);cursor:pointer;padding:0}
.lvh-tog:hover{background:#EEF0F5;color:var(--ui-ink)}
.lvh-tog svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.lvh-tog[aria-expanded="true"] svg{transform:rotate(90deg)}
.lvh-tog:focus-visible{outline:none;box-shadow:var(--ui-focus)}
.lvh-view{min-width:64px}
.lvh-more>td{padding:4px 16px 16px;background:#F7F8FF;white-space:normal}
.lvh-table .lvh-more[hidden]{display:none}
/* the open row: details on the left, the audit trail on the right */
.lvh-detail{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);background:#fff;border:1px solid var(--ui-border);border-radius:10px}
.lvh-detail h4{margin:0 0 12px;font-size:14px;font-weight:700;color:var(--ui-ink)}
.lvh-req,.lvh-trail{padding:16px 18px;min-width:0}
.lvh-trail{border-left:1px solid var(--ui-border)}
.lvh-dl{display:grid;grid-template-columns:minmax(110px,150px) minmax(0,1fr);gap:9px 16px;margin:0;font-size:13.5px}
.lvh-dl dt{color:var(--ui-muted)}.lvh-dl dd{margin:0;color:var(--ui-ink);overflow-wrap:anywhere}
.lvh-text{white-space:pre-wrap}
.lvh-flags{margin:0;padding-left:18px}.lvh-flags li{margin:0 0 4px}
.lvh-link{display:inline-flex;align-items:center;gap:6px;color:var(--ui-accent);text-decoration:none;max-width:100%}
.lvh-link:hover{text-decoration:underline}.lvh-link:focus-visible{outline:none;box-shadow:var(--ui-focus);border-radius:4px}
.lvh-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lvh-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lvh-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.lvh-none{margin:0;font-size:13px}
/* the audit trail: the time, a dot on a line, what happened */
.lvh-tl{list-style:none;margin:0;padding:0}
.lvh-tl>li{display:grid;grid-template-columns:minmax(118px,150px) minmax(0,1fr);gap:0 12px;padding:0 0 18px}
.lvh-tl>li:last-child{padding-bottom:0}
.lvh-tl-time{font-size:12.5px;color:var(--ui-muted);padding-top:1px}
.lvh-tl>li>div{position:relative;padding-left:26px;font-size:13px;color:var(--ui-text);min-width:0}
.lvh-tl>li>div::before{content:"";position:absolute;left:0;top:4px;width:10px;height:10px;border-radius:50%;background:#98A2B3;box-shadow:0 0 0 3px #fff}
.lvh-tl>li>div::after{content:"";position:absolute;left:4px;top:17px;bottom:-21px;width:2px;background:var(--ui-border)}
.lvh-tl>li:last-child>div::after{display:none}
.lvh-tl b{display:block;font-size:13.5px;color:var(--ui-ink)}
.lvh-tl span{display:block}.lvh-tl-text{color:var(--ui-muted);margin-top:2px;overflow-wrap:anywhere}
.lvh-tl-accent>div::before{background:var(--ui-accent)!important}
.lvh-tl-ok>div::before{background:#12B76A!important}
.lvh-tl-bad>div::before{background:#F04438!important}
.lvh-tl-next>div::before{background:#fff!important;border:2px dashed #F79009;width:6px!important;height:6px!important}
.lvh-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 20px 16px;border-top:1px solid var(--ui-border)}
.lvh-foot .ui-table-foot{flex:1;padding:0}
.lvh-size .ui-select{min-height:34px;padding-top:6px;padding-bottom:6px;width:auto}
/* medium widths: the submitted time stays in the audit trail */
@media(max-width:1280px){.lvh-c-sent{display:none}}
@media(max-width:1100px){.lvh-detail{grid-template-columns:1fr}.lvh-trail{border-left:0;border-top:1px solid var(--ui-border)}}
/* tablet and phone: each request is a card (name, View), its facts in two columns under it */
@media(max-width:900px){
 .lvh-acts{margin-left:0}
 .lvh-wrap{overflow:visible}
 .lvh-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .lvh-table,.lvh-item,.lvh-more,.lvh-more>td{display:block;width:100%}
 .lvh-item{border-bottom:1px solid var(--ui-border)}
 .lvh-row{display:grid;grid-template-columns:40px repeat(4,minmax(0,1fr));align-items:center;gap:6px 10px;padding:10px 12px 12px}
 .lvh-table .lvh-row td{display:block;border:0;padding:4px 6px;background:none}
 .lvh-item.is-open .lvh-row,.lvh-row:hover{background:#F7F8FF}
 .lvh-table .lvh-row td.lvh-c-tog{grid-column:1;grid-row:1;width:auto;padding:0}
 .lvh-table .lvh-row td.lvh-c-who{grid-column:2/5;grid-row:1;min-width:0;white-space:normal;display:flex;align-items:center;padding:0}
 .lvh-table .lvh-row td.lvh-c-view{grid-column:5;grid-row:1;justify-self:end;width:auto;padding:0}
 .lvh-table .lvh-row td[data-label]{min-width:0;padding:0}
 .lvh-row td:nth-child(3),.lvh-row td:nth-child(7){grid-column:2}
 .lvh-row td:nth-child(4),.lvh-row td:nth-child(8){grid-column:3}
 .lvh-row td:nth-child(5),.lvh-row td:nth-child(9){grid-column:4}
 .lvh-row td:nth-child(6){grid-column:5}
 .lvh-row td[data-label]::before{content:attr(data-label);display:block;font-size:11.5px;font-weight:600;color:var(--ui-muted);margin-bottom:2px}
 .lvh-row td.ui-num{text-align:left}
 .lvh-row td.lvh-c-sent{display:block}
 .lvh-more>td{padding:0 12px 14px;border:0}
 .lvh-foot{padding:12px 14px 16px}
}
@media(max-width:560px){
 .lvh-d{flex:1 1 130px}
 .lvh-acts{width:100%}.lvh-acts .ui-btn{flex:1}
 .lvh-row{grid-template-columns:40px repeat(2,minmax(0,1fr))}
 .lvh-table .lvh-row td.lvh-c-who{grid-column:2}
 .lvh-table .lvh-row td.lvh-c-view{grid-column:3}
 .lvh-row td:nth-child(3),.lvh-row td:nth-child(5),.lvh-row td:nth-child(7),.lvh-row td:nth-child(9){grid-column:2}
 .lvh-row td:nth-child(4),.lvh-row td:nth-child(6),.lvh-row td:nth-child(8){grid-column:3}
 .lvh-dl{grid-template-columns:minmax(96px,110px) minmax(0,1fr)}
 .lvh-tl>li{grid-template-columns:1fr}
 .lvh-tl>li>div{grid-row:1}
 .lvh-tl-time{padding:2px 0 0 26px;grid-row:2}
 .lvh-tl>li>div::after{bottom:-40px}
 .lvh-req,.lvh-trail{padding:14px}
 .lvh-title{padding:16px 14px}
}

/* ---------- My leave, approvers (2026-10-23 redesign, design ref 26; pages/leave-mine.mjs): 4 counts, the request form
   next to the policy guide, then My requests */
.lv-me [hidden]{display:none!important}
.lv-me-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.lv-me-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.lv-me-stat{padding:18px}
.lv-me-stat .ui-stat-icon{width:40px;height:40px}
.lv-me-stat .ui-stat-label{color:var(--ui-text);font-weight:500}
.lv-me-stat .ui-stat-value{font-size:26px;margin-top:4px}
.lv-me-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ui-gap);align-items:stretch;margin:0 0 var(--ui-gap)}
.lv-me-pair>.ui-card{margin:0}
.lv-me-card .ui-card-title{font-size:19px}
.lv-me-card .ui-card-head{margin-bottom:18px}
/* the form */
.lv-me-form{display:flex;flex-direction:column;gap:16px}
.lv-me-form .ui-field{font-size:13.5px;color:var(--ui-ink)}
.lv-me-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lv-me-form [data-lv-me-days]{background:var(--ui-surface-2);color:var(--ui-text);cursor:default}
.lv-me-form [data-lv-me-days]:focus{box-shadow:none;border-color:var(--ui-border-strong)}
.lv-me-form .ui-textarea{min-height:96px}
.lv-me-count{align-self:flex-end;font-weight:400;font-size:12px;color:var(--ui-muted)}
.lv-me-proof>span{display:inline-flex;align-items:center;gap:6px}
.lv-me-proofbox{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--ui-border);border-radius:10px;padding:14px;font-weight:400}
.lv-me-proofbox>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.lv-me-clip svg,.lv-me-linkin svg,.lv-me-notice-ic svg,.lv-me-rule-ic svg,.lv-me-year svg,.lv-me-type-ic svg,.lv-me-acts svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lv-me-clip{color:var(--ui-muted);margin-top:2px}.lv-me-clip svg{width:20px;height:20px}
.lv-me-sub{font-size:13px;color:var(--ui-text)}
.lv-me-linkin{position:relative;display:flex;align-items:center}
.lv-me-linkin .ui-input{padding-right:36px}
.lv-me-linkin svg{position:absolute;right:11px;width:16px;height:16px;color:var(--ui-faint);pointer-events:none}
.lv-me-proofbox .ui-check{font-size:13px}
.lv-me-notice{display:flex;gap:10px;align-items:flex-start;background:var(--ui-accent-soft);border-radius:10px;padding:14px 16px;font-size:13px;color:var(--ui-text)}
.lv-me-notice-ic{color:var(--ui-accent);margin-top:1px}.lv-me-notice-ic svg{width:18px;height:18px}
.lv-me-notice>div{min-width:0;flex:1}
.lv-me-notice b{color:var(--ui-accent-strong);font-size:13.5px}
.lv-me-notice p{margin:2px 0 0}
.lv-me-live{margin:0;min-height:0}
.lv-me-live:not(:empty){margin-top:10px;padding-top:10px;border-top:1px solid var(--ui-accent-line)}
.lv-me-live p{margin:4px 0}
.lv-me-live-sum{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.lv-me-live-err,.lv-me-err{color:var(--ui-bad);font-weight:600}
.lv-me-err{margin:0;padding:10px 14px;border:1px solid var(--ui-bad-line);background:var(--ui-bad-soft);border-radius:10px;font-size:13px}
.lv-me-flags,.lv-me-warns{margin:6px 0;padding-left:18px}.lv-me-flags li{color:var(--ui-warn)}.lv-me-warns li{color:var(--ui-muted)}
.lv-me-live-note{color:var(--ui-muted);font-size:12.5px}
.lv-me-send{width:100%;min-height:44px}
/* the policy guide */
.lv-me-rules{border:1px solid var(--ui-border);border-radius:10px;padding:16px}
.lv-me-rules h3,.lv-me-understand h3{margin:0 0 10px;font-size:14.5px;font-weight:700;color:var(--ui-ink)}
.lv-me-rules ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.lv-me-rules li{display:flex;gap:14px;align-items:flex-start}
.lv-me-rule-ic{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;flex:none;background:var(--ui-surface-2);border:1px solid var(--ui-border);color:var(--ui-text)}
.lv-me-rule-ic svg{width:18px;height:18px}
.lv-me-rules li b{display:block;font-size:13.5px;color:var(--ui-ink)}
.lv-me-rules li p{margin:2px 0 0;font-size:13px;color:var(--ui-muted);line-height:1.5}
.lv-me-year{margin-top:16px;padding-top:14px;border-top:1px solid var(--ui-border)}
.lv-me-year p{display:flex;align-items:center;gap:10px;margin:0;font-size:14px;color:var(--ui-ink)}
.lv-me-year svg{width:18px;height:18px;color:var(--ui-muted)}
.lv-me-understand{margin-top:18px}
.lv-me-understand p{margin:0;font-size:13px;color:var(--ui-muted)}
/* my requests */
.lv-me-reqs{margin-bottom:var(--ui-gap)}
.lv-me-type{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;color:var(--ui-ink)}
.lv-me-type-ic{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex:none}
.lv-me-type-ic svg{width:16px;height:16px}
.lv-me-status{display:inline-flex;gap:6px;flex-wrap:wrap}
.lv-me-review{min-width:160px;max-width:300px;white-space:normal}
.lv-me-review small{display:block;font-size:12px}
.lv-me-note{display:block;color:var(--ui-text)}
.lv-me-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:180px}
.lv-me-acts .ui-btn--link{font-size:13px}
.lv-me-acts svg{width:14px;height:14px}
.lv-me-tick{font-size:13px;white-space:nowrap}
.lv-me-news .ui-alert-body{display:flex;flex-direction:column;gap:2px}
.lv-me-news-row{color:var(--ui-text)}
.lv-me-news .ui-btn{align-self:center}
/* tablet: the counts two by two, the form and the guide one under the other */
@media(max-width:1100px){.lv-me-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:960px){.lv-me-pair{grid-template-columns:1fr}}
/* tablet and phone: each request is a card, its facts in two columns (label, value) */
@media(max-width:900px){
 .lv-me-table thead{display:none}
 .lv-me-table,.lv-me-table tbody,.lv-me-table tr,.lv-me-table td{display:block;width:100%}
 .lv-me-table tr{border-bottom:1px solid var(--ui-border);padding:10px 0}
 .lv-me-table tbody tr:last-child{border-bottom:0}
 .lv-me-table td{border:0;padding:6px 16px;display:grid;grid-template-columns:minmax(110px,30%) minmax(0,1fr);gap:12px;align-items:center;white-space:normal;text-align:left}
 .lv-me-table td.ui-num{text-align:left}
 .lv-me-table td[data-label]::before{content:attr(data-label);color:var(--ui-muted);font-size:12px;font-weight:600}
 .lv-me-review{max-width:none}
}
/* phone: each request is a card (ui-table--stack), the dates one under the other */
@media(max-width:640px){
 .lv-me-stats{gap:10px}
 .lv-me-stat{padding:14px;gap:10px}
 .lv-me-stat .ui-stat-icon{width:34px;height:34px}
 .lv-me-stat .ui-stat-value{font-size:22px}
 .lv-me-card{padding:16px}
 .lv-me-two{grid-template-columns:1fr}
 .lv-me-rules{padding:14px}
 .lv-me-table td{grid-template-columns:96px minmax(0,1fr);padding:6px 12px}
 .lv-me-acts{min-width:0}
 .lv-me-card .ui-card-head .ui-btn{width:100%}
}
@media(max-width:340px){.lv-me-stats{grid-template-columns:1fr}}
