/* ============================================================
   NVR Panel - Zetrik Theme (ISP Radius panel wala look)
   Mac System Settings jaisa, halka, aankhon ko aaram
   Saare rang yahin variables me - yahin se badlo
   ============================================================ */
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
    --bg: #f3f5f9;
    --card: #ffffff;
    --line: #e3e7ee;
    --line-2: #eef1f5;
    --text: #1c2433;
    --muted: #5d687a;
    --blue: #0a6cdf;
    --blue-soft: #e8f1fd;
    --green: #1a7f45;  --green-bg: #e3f6ea;  --switch: #34c759;
    --red: #c9302c;    --red-bg: #fdeceb;
    --amber: #9a5a00;  --amber-bg: #fdf1dc;
    --grey: #5d687a;   --grey-bg: #eef1f5;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .04);
    --shadow-lg: 0 4px 16px rgba(16, 24, 40, .08), 0 2px 6px rgba(16, 24, 40, .05);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 14.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(10, 108, 223, .35); outline-offset: 2px; border-radius: 6px; }
h1 { font-size: 24px; font-weight: 650; margin: 0 0 18px; letter-spacing: -.01em; }
h2 { font-size: 16px; font-weight: 600; margin: 0 0 12px; }

/* ---------- Sidebar ---------- */
.side { position: fixed; inset: 0 auto 0 0; width: 236px; background: #fbfcfd; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 14px 12px; z-index: 20; }
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px 16px; }
.logo { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(145deg, #1f7bf0, #0a5cc4); color: #fff; display: grid; place-items: center; flex: none; }
.logo svg { width: 21px; height: 21px; }
.brand-name { font-weight: 650; font-size: 15px; line-height: 1.2; }
.brand-sub { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa3b2; display: inline-block; }
.dot.on { background: var(--switch); box-shadow: 0 0 0 3px rgba(52, 199, 89, .22); }
.dot.off { background: var(--red); }
.side nav { flex: 1; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.side a { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 10px; color: var(--text); font-weight: 500; transition: background .15s; }
.side a:hover { background: #eef1f6; text-decoration: none; }
.side a.on { background: linear-gradient(135deg, #1b7bf0, #0a5cc4); color: #fff; box-shadow: 0 2px 8px rgba(10,108,223,.35); }
.side .t { flex: 1; }
.ico { width: 28px; height: 28px; border-radius: 8px; background: var(--c); color: #fff; display: grid; place-items: center; flex: none; }
.ico svg { width: 17px; height: 17px; }
.side a.on .ico { background: rgba(255, 255, 255, .22); }
.badge { background: var(--red); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 12px; font-weight: 600; line-height: 20px; }
.side a.on .badge { background: #fff; color: var(--blue); }
.side .logout { margin-top: 8px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 12px; }

.main { margin-left: 236px; padding: 26px 30px 48px; min-width: 0; max-width: 1600px; }

/* ---------- Card / Table ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; box-shadow: var(--shadow); transition: box-shadow .2s; }
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
th { font-weight: 600; color: var(--muted); font-size: 13px; background: #f7f9fb; }
th:first-child { border-top-left-radius: 10px; }
th:last-child { border-top-right-radius: 10px; }
tr:last-child td { border-bottom: 0; }
tbody tr td, table tr td { transition: background .12s; }
tbody tr:hover td, table tr:hover td { background: #f4f8fe; }
tr.unseen td { background: #fffaeb; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; word-break: break-all; }

/* Status - hamesha label ke saath */
.b { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--grey-bg); color: var(--grey); white-space: nowrap; }
.b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.b-ok { background: var(--green-bg); color: var(--green); }
.b-bad { background: var(--red-bg); color: var(--red); }
.b-warn { background: var(--amber-bg); color: var(--amber); }

.bar { position: relative; height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; min-width: 120px; margin-bottom: 4px; }
.bar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.bar.hot i { background: #e8743b; }

/* ---------- Forms ---------- */
form.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 18px; align-items: end; }
.full { grid-column: 1 / -1; }
.half { grid-column: span 2; }
label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 5px; }
input[type=text], input[type=password], input[type=number], input[type=date], select, textarea {
    width: 100%; padding: 9px 12px; border: 1px solid #d9dee7; border-radius: 10px; font: inherit; color: inherit; background: #fff; transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235d687a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 13px center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 108, 223, .15); }
textarea { min-height: 110px; resize: vertical; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--blue); background: var(--blue); color: #fff; font: inherit; font-weight: 550; cursor: pointer; white-space: nowrap; }
.btn { transition: filter .15s, transform .08s, box-shadow .2s; }
.btn:hover { text-decoration: none; filter: brightness(.95); box-shadow: 0 2px 8px rgba(10,108,223,.25); }
.btn:active { transform: translateY(1px); }
.btn.light:hover { box-shadow: var(--shadow); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.light { background: #fff; color: var(--text); border-color: #d9dee7; }
.btn.red { background: var(--red); border-color: var(--red); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.flash { padding: 11px 16px; border-radius: 12px; margin-bottom: 16px; background: var(--green-bg); color: var(--green); font-weight: 500; animation: flashIn .25s ease; }
.flash.err { background: var(--red-bg); color: var(--red); }
.pager { display: flex; gap: 5px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 34px; text-align: center; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.pager span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager em { margin-left: 8px; font-style: normal; }

/* Apple switch */
.sw { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin: 0; color: var(--text); font-size: 14.5px; padding: 8px 0; }
.sw input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw i { width: 44px; height: 26px; border-radius: 99px; background: #d5dae2; position: relative; transition: background .2s; flex: none; }
.sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.sw input:checked + i { background: var(--switch); }
.sw input:checked + i::after { transform: translateX(18px); }
.sw input:focus-visible + i { outline: 3px solid rgba(10, 108, 223, .35); outline-offset: 2px; }

/* ---------- Dashboard ---------- */
.hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hello h1 { margin: 0; font-size: 26px; }
.hello p { margin: 2px 0 0; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 550; box-shadow: var(--shadow); }
.dash-top { display: grid; grid-template-columns: minmax(330px, 1.1fr) 2fr; gap: 18px; margin-bottom: 18px; }
.health { display: flex; align-items: center; gap: 26px; margin: 0; }
.ring { position: relative; width: 168px; height: 168px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 15; }
.ring .c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .c b { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.ring .c span { color: var(--muted); font-size: 13px; margin-top: 4px; }
.legend { display: grid; gap: 10px; flex: 1; }
.legend div { display: flex; align-items: center; gap: 10px; }
.legend i { width: 11px; height: 11px; border-radius: 4px; flex: none; }
.legend b { margin-left: auto; font-size: 17px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile-s { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; transition: transform .15s, box-shadow .2s; }
.tile-s:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tile-s .ico { width: 34px; height: 34px; border-radius: 10px; }
.tile-s .ico svg { width: 19px; height: 19px; }
.tile-s .v { font-size: 24px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.tile-s .l { color: var(--muted); font-size: 13px; }
.sec-title { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 2px 12px; }
.sec-title h2 { margin: 0; }
.stor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-bottom: 18px; }
.stor { margin: 0; }
.stor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.stor-head a { font-weight: 600; font-size: 15.5px; color: var(--text); }
.stor-big { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.stor-big small { font-size: 14px; color: var(--muted); font-weight: 500; }
.stor .bar { height: 10px; margin: 10px 0 12px; overflow: visible; }
.stor .bar .lim { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--text); opacity: .35; border-radius: 2px; }
.stor-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.stor-meta b { display: block; font-size: 15px; }
.stor-meta span { font-size: 12.5px; color: var(--muted); }
.dash-mid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shot { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #1c2433; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot span { position: absolute; left: 8px; bottom: 7px; right: 8px; color: #fff; font-size: 12.5px; font-weight: 550; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot .no { position: absolute; inset: 0; display: grid; place-items: center; color: #9aa3b2; font-size: 12.5px; }
.list-x { display: flex; flex-direction: column; }
.list-x div { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line-2); }
.list-x div:last-child { border-bottom: 0; }
.list-x .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty { text-align: center; padding: 26px 10px; color: var(--muted); }
.empty b { display: block; color: var(--green); font-size: 15px; margin-bottom: 2px; }
.timeline { display: flex; flex-direction: column; }
.timeline div { display: grid; grid-template-columns: 10px 140px 90px 1fr; gap: 12px; align-items: center; padding: 9px 2px; border-bottom: 1px solid var(--line-2); }
.timeline div:last-child { border-bottom: 0; }
.timeline i { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- Live ---------- */
.live { display: grid; gap: 6px; background: #0b0f16; padding: 6px; border-radius: var(--radius); }
.live:fullscreen { border-radius: 0; align-content: center; height: 100vh; }
.tile { position: relative; aspect-ratio: 16 / 9; background: #18202c; overflow: hidden; border-radius: 8px; transition: box-shadow .15s, transform .12s; }
.tile:hover { transform: scale(1.012); z-index: 2; }
.tile .play { position: absolute; inset: 0; cursor: pointer; }
.tile nvr-video, .big-video nvr-video { display: block; width: 100%; height: 100%; }
.tile video { object-fit: cover; }
.tile:hover { outline: 2px solid var(--blue); outline-offset: -2px; box-shadow: 0 4px 18px rgba(0,0,0,.5); }
.cap { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 7px; padding: 6px 9px; background: linear-gradient(rgba(0,0,0,.65), transparent); color: #fff; font-size: 12.5px; pointer-events: none; }
.cap-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cap-clock { font-variant-numeric: tabular-nums; opacity: .9; }
.live-badge { display: inline-flex; align-items: center; gap: 4px; background: #e5484d; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .5px; padding: 1px 6px; border-radius: 4px; flex: none; }
.live-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: liveblink 1.4s infinite; }
@keyframes liveblink { 50% { opacity: .2; } }
.nosig { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: #10141c; color: #6b7686; font-size: 13px; font-weight: 600; letter-spacing: .5px; }
.tile.dead .nosig { display: flex; }
.tile.dead .live-badge { display: none; }
.modal { position: fixed; inset: 0; background: #0b0f15; display: none; z-index: 50; flex-direction: column; padding: 12px 14px 14px; gap: 10px; }
.modal.on { display: flex; }
.big-bar { display: flex; align-items: center; gap: 8px; color: #fff; }
.big-name { font-weight: 600; font-size: 15px; }
.big-video { flex: 1; min-height: 0; border-radius: 12px; overflow: hidden; background: #000; }
.big-video video { object-fit: contain; background: #000; }
.mbtn { background: rgba(255,255,255,.16); border: 0; color: #fff; border-radius: 99px; padding: 7px 16px; cursor: pointer; font: inherit; font-weight: 550; }
.mbtn:hover { background: rgba(255,255,255,.26); }
.mbtn.on { background: var(--switch); color: #0b2b16; }
.tiles-edit { display: grid; gap: 8px; }
.tile-edit { display: flex; align-items: center; gap: 8px; background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.tile-edit span { color: var(--muted); font-size: 12.5px; min-width: 18px; }
.tile-edit select { padding: 6px 30px 6px 10px; font-size: 13px; }
video { width: 100%; max-height: 72vh; background: #000; border-radius: 12px; display: block; }

/* ---------- Login ---------- */
.login-page { display: grid; place-items: center; min-height: 100vh; background: radial-gradient(circle at 30% 20%, #e8f1fd, var(--bg) 60%); }
.login { width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 6px; box-shadow: 0 10px 30px rgba(16, 24, 40, .08); }
.login .brand { padding: 0 0 14px; }
.login .btn { margin-top: 12px; justify-content: center; }

@media (max-width: 1100px) {
    .dash-top, .dash-mid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .tiles { grid-template-columns: repeat(2, 1fr); }
    /* Mobile: sidebar neeche bottom bar ban jaye */
    .side { position: fixed; inset: auto 0 0 0; width: auto; height: auto; flex-direction: column; padding: 0; border-right: 0; border-top: 1px solid var(--line); box-shadow: 0 -2px 12px rgba(0,0,0,.08); z-index: 20; }
    .brand, .side .logout { display: none; }
    .side nav { flex-flow: row nowrap; gap: 0; padding: 0; overflow-x: auto; }
    .side nav a { flex: 1 0 auto; flex-direction: column; align-items: center; gap: 3px; padding: 7px 10px; border-radius: 0; border-left: 0; min-width: 64px; font-size: 11px; }
    .side nav a.on { background: #fff; color: var(--blue); box-shadow: none; }
    .side nav a.on .ico { background: var(--blue); }
    .side .t { white-space: nowrap; font-size: 11px; }
    .side .ico { width: 26px; height: 26px; }
    .main { margin-left: 0; padding: 16px 14px 78px; }
    .main { margin-left: 0; padding: 18px; }
    .half { grid-column: 1 / -1; }
    .glance { grid-template-columns: repeat(2, 1fr); }
    .timeline div { grid-template-columns: 10px 1fr; }
    .timeline div span:nth-child(3) { display: none; }
    table { display: block; overflow-x: auto; }
    .health { flex-direction: column; align-items: stretch; }
    .ring { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.shot img:not([src]) { display: none; }

/* HEVC playback player */
.player { background: #0b0f16; border-radius: 14px; overflow: hidden; display: grid; place-items: center; min-height: 300px; max-height: 74vh; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.hevc-canvas { width: 100%; height: auto; max-height: 72vh; display: block; object-fit: contain; }
.player video { width: 100%; max-height: 72vh; background: #000; display: block; }
.hevc-err { color: #fff; text-align: center; padding: 40px 20px; line-height: 1.7; }
.pbar { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.pbar button { background: var(--blue); color: #fff; border: 0; border-radius: 999px; padding: 9px 22px; font: inherit; font-weight: 600; cursor: pointer; transition: filter .15s, transform .08s; }
.pbar button:hover { filter: brightness(.95); }
.pbar button:active { transform: translateY(1px); }
.pbar input[type=range] { flex: 1; accent-color: var(--blue); }

/* NVR-style swipe timeline */
.tlx-wrap { margin-top: 16px; }
.tlx-zoom { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.tlx { position: relative; height: 96px; background: #141a24; border-radius: 12px; overflow: hidden; cursor: grab; user-select: none; touch-action: pan-y; }
.tlx:active { cursor: grabbing; }
.tlx-center { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #ffd33d; z-index: 4; pointer-events: none; box-shadow: 0 0 8px rgba(255,211,61,.9); }
.tlx-center::after { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 8px solid #ffd33d; }
.tlx-move { position: absolute; top: 0; bottom: 0; left: 0; will-change: transform; }
.tlx-seg-layer { position: absolute; top: 12px; bottom: 26px; left: 0; right: 0; }
.tlx-seg { position: absolute; top: 0; bottom: 0; background: linear-gradient(180deg, #3ddc6a, #1a9f49); border-radius: 3px; box-shadow: 0 0 8px rgba(52,199,89,.4); }
.tlx-sel { position: absolute; top: 8px; bottom: 22px; background: rgba(10,108,223,.3); border-left: 2px solid var(--blue); border-right: 2px solid var(--blue); display: none; z-index: 3; }
.tlx-hours { position: absolute; left: 0; right: 0; bottom: 0; top: 0; pointer-events: none; }
.tlx-hours span { position: absolute; bottom: 4px; transform: translateX(-50%); color: #7c8798; font-size: 11px; font-variant-numeric: tabular-nums; }
.tlx-hours span::before { content: ""; position: absolute; top: -70px; left: 50%; height: 60px; border-left: 1px solid rgba(255,255,255,.06); }
.tlx-info { margin-top: 10px; }

/* HEVC playback player */
.player { background: #0b0f16; border-radius: 14px; overflow: hidden; display: grid; place-items: center; min-height: 300px; max-height: 74vh; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.hevc-canvas { width: 100%; height: auto; max-height: 72vh; display: block; object-fit: contain; }
.player video { width: 100%; max-height: 72vh; background: #000; display: block; }
.hevc-err { color: #fff; text-align: center; padding: 40px 20px; line-height: 1.7; }
.pbar { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.pbar button { background: var(--blue); color: #fff; border: 0; border-radius: 999px; padding: 9px 22px; font: inherit; font-weight: 600; cursor: pointer; transition: filter .15s, transform .08s; }
.pbar button:hover { filter: brightness(.95); }
.pbar button:active { transform: translateY(1px); }
.pbar input[type=range] { flex: 1; accent-color: var(--blue); }

/* NVR-style playback timeline */
.tl-wrap { margin-top: 16px; }
.tl-zoom { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.zbtn { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font: inherit; font-size: 13px; cursor: pointer; color: var(--text); transition: all .15s; }
.zbtn:hover { border-color: var(--blue); color: var(--blue); }
.zbtn.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.tl-scroll { overflow-x: auto; overflow-y: hidden; border-radius: 10px; background: #141a24; }
.tl { position: relative; height: 92px; min-width: 100%; background: #141a24; cursor: crosshair; user-select: none; }
.tl-fill { position: absolute; inset: 0; }
.tl-seg { position: absolute; top: 10px; bottom: 30px; background: linear-gradient(180deg, #3ddc6a, #1a9f49); border-radius: 3px; box-shadow: 0 0 8px rgba(52,199,89,.4); }
.tl-sel { position: absolute; top: 0; bottom: 0; background: rgba(10,108,223,.3); border-left: 3px solid var(--blue); border-right: 3px solid var(--blue); display: none; }
.tl-cursor { position: absolute; top: 0; bottom: 0; width: 2px; background: #ffd33d; left: 0; pointer-events: none; box-shadow: 0 0 6px rgba(255,211,61,.9); z-index: 3; }
.tl-hours { position: absolute; left: 0; right: 0; bottom: 0; top: 0; pointer-events: none; }
.tl-hours span { position: absolute; top: 0; bottom: 0; padding-top: 4px; transform: translateX(-50%); color: #7c8798; font-size: 11px; font-variant-numeric: tabular-nums; border-left: 1px solid rgba(255,255,255,.07); padding-left: 4px; }
.tl-hours span.odd { color: #4e5765; font-size: 10px; }
.tl-info { margin-top: 10px; }
.tl-hover { font-variant-numeric: tabular-nums; }

