/* leave screens: styles for this module only. Loaded after index.html and theme.css, so a plain selector here wins ties. */
.lvm { --lv-ring: 0 0 0 3px rgba(111, 99, 240, .16); }
.lvm h1, .lvm .lv-h1, .lvm h2 { color: #1e1b4b; }
.lvm h3 { color: #6b6a8c; }
.lvm .lv-h1 { display: inline-flex; align-items: center; gap: 12px; }

/* tables */
.lvm table { font-size: 13.5px; }
.lvm th { background: #faf9ff; color: #6b6a8c; border-bottom: 1px solid rgba(111, 99, 240, .12); }
.lvm td { border-bottom: 1px solid rgba(111, 99, 240, .08); }
.lvm tbody tr:hover { background: rgba(111, 99, 240, .04); }
.lvm .tw { border-color: rgba(111, 99, 240, .12); }

/* tabs */
.lvm .tabs { background: #f3f1ff; border-color: rgba(111, 99, 240, .14); border-radius: 12px; padding: 3px; }
.lvm .tab { border-radius: 9px; color: #5b5a7e; }
.lvm .tab:hover { color: #3730a3; }
.lvm .tab[aria-selected="true"] { background: #fff; color: #4338ca; border-color: rgba(111, 99, 240, .22); box-shadow: 0 1px 3px rgba(91, 76, 240, .18); font-weight: 600; }

/* pills */
.lvm .pill { box-shadow: none; border: 1px solid #e2e8f0; padding: 2px 10px; }
.lvm .pill.ok { border-color: #a7f3d0; } .lvm .pill.warn { border-color: #fde68a; } .lvm .pill.bad { border-color: #fecdd3; }
.lvm .pill.info { border-color: #bae6fd; } .lvm .pill.vio { border-color: #ddd6fe; }

/* callouts */
.lvm .callout { border-radius: 12px; padding: 11px 14px; border-left-width: 4px; }
.lvm .callout:not(.warn):not(.bad):not(.ok) { background: #f5f3ff; border-color: #ddd6fe; border-left-color: #6f63f0; color: #3730a3; }
.lvm .callout.warn { border-left-color: #f59e0b; } .lvm .callout.bad { border-left-color: #f43f5e; } .lvm .callout.ok { border-left-color: #10b981; }

/* form fields and buttons */
.lvm .field label { color: #4b4a6a; }
.lvm .field input, .lvm .field select, .lvm .field textarea, .lvm .inline select, .lvm .inline input, .lvm select.plain { border-radius: 10px; border-color: rgba(111, 99, 240, .2); background: #fff; }
.lvm .field input:hover, .lvm .field select:hover, .lvm .field textarea:hover, .lvm select.plain:hover { border-color: rgba(111, 99, 240, .4); }
.lvm .field input:focus, .lvm .field select:focus, .lvm .field textarea:focus, .lvm .inline select:focus, .lvm .inline input:focus, .lvm select.plain:focus { box-shadow: var(--lv-ring); border-color: #6f63f0; }
.lvm .field input:disabled { background: #faf9ff; }
.lvm .btn { border-radius: 10px; border-color: rgba(111, 99, 240, .2); }
.lvm .btn:hover { background: #f5f3ff; }
.lvm .btn.primary { background: linear-gradient(135deg, #5b4cf0, #7c6cf6); border-color: transparent; }
.lvm .btn.primary:hover { background: linear-gradient(135deg, #4a3be0, #6b5bf0); }
.lvm .btn.danger { border-color: transparent; }

/* card heading: gradient icon tile + title */
.lvm .lv-ch { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.lvm .lv-ch-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lvm .lv-ch h2 { margin: 0; font-size: 15px; }
.lvm .lv-ch-s { margin: 2px 0 0; color: #6b6a8c; font-size: 12.5px; }
.lvm .lv-tic, .lvm .lv-av { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--c1, #5b4cf0), var(--c2, #8f7df6)); box-shadow: 0 4px 10px rgba(var(--cg, 111, 99, 240), .28); }
.lvm .lv-tic svg, .lvm .lv-tic i { width: 16px; height: 16px; }
.lvm .lv-av { border-radius: 50%; font-size: 11.5px; font-weight: 600; width: 30px; height: 30px; box-shadow: none; }
.lvm .lv-who { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.lvm .lv-who-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.lvm .lv-who-t > span { font-size: 12px; color: #6b6a8c; }
.lvm .lv-tt { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 999px; color: var(--c1, #5b4cf0); background: rgba(var(--cg, 111, 99, 240), .1); white-space: nowrap; }
.lvm .lv-tt svg, .lvm .lv-tt i { width: 12px; height: 12px; }
.lvm .lv-tdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: linear-gradient(135deg, var(--c1, #94a3b8), var(--c2, #cbd5e1)); box-shadow: 0 0 0 3px rgba(var(--cg, 148, 163, 184), .16); }
.lvm .lv-cnt { display: inline-flex; align-items: center; gap: 5px; color: #4b4a6a; }
.lvm .lv-cnt svg { width: 14px; height: 14px; color: #8b8aa8; }
.lvm .lv-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.lvm .lv-meter, .lvm .lv-split, .lvm .lv-quota { display: flex; height: 8px; border-radius: 999px; background: #eeecfb; overflow: hidden; }
.lvm .lv-meter i, .lvm .lv-split i { display: block; height: 100%; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.lvm .lv-barcol { width: 28%; min-width: 120px; }
.lvm .lv-yeh { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-bottom: 12px; }
.lvm .lv-yeh .lv-quota { flex: 1 1 220px; }
.lvm .lv-total td { font-weight: 600; background: #faf9ff; }
.lvm .lv-delta.up { color: #047857; } .lvm .lv-delta.down { color: #be123c; }
.lvm .lv-dc { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 2px 9px; border-radius: 8px; background: #f5f3ff; color: #4338ca; }
.lvm .lv-dc svg { width: 13px; height: 13px; }
.lvm .lv-dc.lv-half { background: #fffbeb; color: #b45309; }
.lvm .lv-days { font-size: 12.5px; color: #4b4a6a; }
.lvm .lv-next { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; color: #4b4a6a; }
.lvm .lv-next > span { display: flex; flex-direction: column; }
.lvm .lv-next b { color: #1e1b4b; }

/* request and holiday lists */
.lvm .lv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lvm .lv-list > li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(111, 99, 240, .08); }
.lvm .lv-list > li:last-child { border-bottom: 0; }
.lvm .lv-list > li.is-past { opacity: .55; }
.lvm .lv-li-m { display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; }
.lvm .lv-li-m > span { font-size: 12px; color: #6b6a8c; }
.lvm .lv-grow { flex: 1; }
.lvm .lv-li-a { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.lvm .lv-day { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 46px; border-radius: 12px; background: #f5f3ff; color: #4338ca; flex: none; line-height: 1.1; }
.lvm .lv-day b { font-size: 17px; }
.lvm .lv-day span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; }
.lvm .lv-ri { align-items: flex-start !important; border-left: 3px solid var(--c1, #cbd5e1); padding-left: 12px !important; }
.lvm .lv-ri-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lvm .lv-ri-t, .lvm .lv-ri-d { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lvm .lv-ri-n { font-size: 12.5px; color: #6b6a8c; }
.lvm .lv-ri-a { display: flex; gap: 6px; flex-wrap: wrap; }

/* team calendar */
.lvm .calg { gap: 8px; }
.lvm .wd { color: #6b6a8c; font-weight: 600; }
.lvm .dcell { border-color: rgba(111, 99, 240, .12); border-radius: 12px; background: #fff; min-height: 108px; padding: 8px; }
.lvm .dcell:hover { border-color: rgba(111, 99, 240, .4); background: #faf9ff; }
.lvm .dcell.wk { background: #f8f7fc; }
.lvm .dcell.sel { border-color: #6f63f0; box-shadow: 0 0 0 3px rgba(111, 99, 240, .16); }
.lvm .dcell.k-pres { background: #f3fcf8; } .lvm .dcell.k-lv { background: #f5f3ff; }
.lvm .dcell.k-pend { background: #fffbf0; } .lvm .dcell.k-abs { background: #fff5f6; } .lvm .dcell.k-hol { background: #fff8e8; }
.lvm .dcell.today { border-color: #6f63f0; box-shadow: inset 0 0 0 1px #6f63f0; }
.lvm .dcell.today .dn { background: linear-gradient(135deg, #5b4cf0, #8f7df6); box-shadow: 0 3px 8px rgba(111, 99, 240, .4); }
.lvm .hchip, .lvm .pchip { font-size: 11.5px; font-weight: 500; line-height: 1.6; border-radius: 7px; padding: 0 8px; }
.lvm .hchip { background: #fef3c7; color: #92400e; border-left: 3px solid #f59e0b; }
.lvm .pchip, .lvm .pchip.lv { background: linear-gradient(135deg, #5b4cf0, #8f7df6); color: #fff; }
.lvm .pchip.pend { background: #fffbeb; border: 1px dashed #f59e0b; color: #92400e; }
.lvm .pchip.pres { background: #d1fae5; color: #047857; }
.lvm .pchip.abs { background: #ffe4e6; color: #be123c; }
.lvm .cnt { background: #ede9fe; color: #5b21b6; box-shadow: none; }
.lvm .legend { color: #6b6a8c; }

/* master pages, modals */
.lvm .wnode, .lvm .ver { border-color: rgba(111, 99, 240, .16); }
.lvm .wnode .badge { background: #ede9fe; color: #4338ca; box-shadow: none; }
.lvm .modal > h2 { color: #1e1b4b; }
.lvm .modal .foot { background: #faf9ff; }
.lvm .empty { color: #8b8aa8; }
@media (max-width: 640px) { .lvm .lv-ri { flex-wrap: wrap; } .lvm .lv-ri-a { margin-left: 0; } .lvm .dcell { min-height: 76px; padding: 5px; } }
