/* ================================================================ temas */
:root {
  --bg: #F4F6FB;
  --surface: #FFFFFF;
  --surface-2: #EEF1F7;
  --text: #1B2030;
  --muted: #6B7385;
  --border: #E1E5EE;
  --primary: #4F7CFF;
  --primary-text: #FFFFFF;
  --danger: #E5484D;
  --warn-bg: #FFF1E6;
  --warn: #C2410C;
  --ok: #30A46C;
  --holiday: #E5484D;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(20, 30, 60, .08);
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --hour: 52px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F121A; --surface: #181C27; --surface-2: #222838; --text: #E8EBF2; --muted: #9AA3B5;
    --border: #2A3142; --warn-bg: #3A2416; --warn: #FDBA74; --shadow: 0 6px 24px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
html[data-theme="light"] {
  --bg: #F4F6FB; --surface: #FFFFFF; --surface-2: #EEF1F7; --text: #1B2030; --muted: #6B7385;
  --border: #E1E5EE; --warn-bg: #FFF1E6; --warn: #C2410C; --shadow: 0 6px 24px rgba(20, 30, 60, .08);
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0F121A; --surface: #181C27; --surface-2: #222838; --text: #E8EBF2; --muted: #9AA3B5;
  --border: #2A3142; --warn-bg: #3A2416; --warn: #FDBA74; --shadow: 0 6px 24px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
/* Dentro de Telegram, con tema automático, se usan los colores de Telegram */
html.tg-theme {
  --bg: var(--tg-theme-secondary-bg-color, #F4F6FB);
  --surface: var(--tg-theme-bg-color, #FFFFFF);
  --surface-2: color-mix(in srgb, var(--tg-theme-hint-color, #888) 12%, var(--tg-theme-bg-color, #fff));
  --border: color-mix(in srgb, var(--tg-theme-hint-color, #888) 25%, var(--tg-theme-bg-color, #fff));
  --text: var(--tg-theme-text-color, #1B2030);
  --muted: var(--tg-theme-hint-color, #6B7385);
  --primary: var(--tg-theme-button-color, #4F7CFF);
  --primary-text: var(--tg-theme-button-text-color, #FFFFFF);
  --danger: var(--tg-theme-destructive-text-color, #E5484D);
  --shadow: none;
}
html.in-tg .no-tg { display: none !important; }

/* ================================================================ base */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--text);
  font: 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overscroll-behavior-y: contain; zoom: var(--zoom, 1);
}
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h3 { font-size: 16px; margin-bottom: 8px; }
a { color: var(--primary); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.error { color: var(--danger); margin-top: 12px; }

/* ================================================================ botones y campos */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.btn.small { min-height: 32px; padding: 0 12px; font-size: 13px; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-text); }
.btn.danger { color: var(--danger); }
.btn.danger.solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.link { border: 0; background: none; color: var(--primary); padding: 0 4px; min-height: 32px; }
.btn.block { width: 100%; margin-top: 10px; }
.btn:disabled { opacity: .5; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 10px; padding: 9px 11px; min-height: 40px; width: 100%;
}
textarea { min-height: 70px; resize: vertical; }
input:disabled, select:disabled { opacity: .55; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: -1px; }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row > * { flex: 1 1 0; min-width: 0; }
.row > .btn, .row > .file-btn { flex: 0 0 auto; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.switch { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-weight: 600; gap: 12px; }
.switch input { width: 46px; height: 26px; min-height: 0; flex: 0 0 auto; appearance: none; border-radius: 13px; background: var(--border); position: relative; padding: 0; border: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked { background: var(--primary); }
.switch input:checked::after { transform: translateX(20px); }

/* ================================================================ chips y avatares */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 6px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; user-select: none;
}
.chip.plain { padding-left: 11px; }
.chip.on { background: var(--primary); border-color: var(--primary); color: var(--primary-text); }
.chip.on .avatar { box-shadow: 0 0 0 2px #fff; }
.chip.off { opacity: .45; }
.chip.cat.on { background: var(--c); border-color: var(--c); color: #fff; }
.chip.tpl { background: var(--surface-2); border-color: transparent; }
.chip.tpl.on { background: var(--primary); color: var(--primary-text); }
.chip.kind-chip.on { background: var(--c); border-color: var(--c); color: #fff; }
.color-dot { width: 30px; height: 30px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; padding: 0; }
.color-dot.on { border-color: var(--text); }
.color-dot.auto { background: conic-gradient(#4F7CFF, #E5484D, #30A46C, #F76B15, #8E4EC6, #4F7CFF); }
.avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; flex: 0 0 auto; }
.avatar.big { width: 72px; height: 72px; font-size: 28px; margin: 0 auto 16px; }
.avatars { display: inline-flex; }
.avatars .avatar { width: 20px; height: 20px; font-size: 9px; margin-left: -5px; box-shadow: 0 0 0 2px var(--surface); }
.avatars .avatar:first-child { margin-left: 0; }

/* ================================================================ entrada */
.screen { min-height: 100%; }
#login { display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: 100%; max-width: 380px; background: var(--surface); border-radius: 20px; padding: 28px 22px; box-shadow: var(--shadow); text-align: center; }
.login-logo { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 10px; }
.login-card h1 { font-size: 22px; margin-bottom: 18px; }
.login-people { display: grid; gap: 8px; margin: 12px 0 16px; }
.login-people button { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.login-people .avatar { width: 34px; height: 34px; font-size: 14px; }
.code-input { text-align: center; font-size: 28px; letter-spacing: 10px; font-weight: 700; margin: 10px 0 4px; }

/* ================================================================ estructura */
#app { padding-bottom: calc(var(--nav-h) + var(--safe-b)); }
.topbar { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 8px; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.topbar h2 { font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.segmented { display: flex; background: var(--surface-2); border-radius: 10px; padding: 3px; width: 100%; }
.segmented button { flex: 1; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; padding: 6px 2px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.segmented button.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.filters { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters .chip { flex: 0 0 auto; }
main { padding: 4px 16px 24px; max-width: 1100px; margin: 0 auto; }
.card { background: var(--surface); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 8px; }
.card-head h3 { margin: 0; }
.list { display: flex; flex-direction: column; }
.item { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--border); background: none; color: inherit; font: inherit; text-align: left; width: 100%; }
.item:last-child { border-bottom: 0; }
button.item { cursor: pointer; }
.item .grow { flex: 1; min-width: 0; }
.item .title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.item .sub { font-size: 13px; color: var(--muted); }
.item .bar { width: 4px; align-self: stretch; border-radius: 2px; flex: 0 0 auto; }
.item .time { font-size: 13px; font-weight: 600; width: 74px; flex: 0 0 auto; color: var(--muted); }
.item .big-emoji { font-size: 22px; width: 30px; text-align: center; flex: 0 0 auto; }
.empty { color: var(--muted); padding: 14px 0; text-align: center; font-size: 14px; }
.day-head { font-size: 13px; font-weight: 700; color: var(--muted); padding: 12px 0 2px; }
.warn-box { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin: 6px 0 14px; }
.warn-box ul { margin: 6px 0 0; padding-left: 18px; }
.ok-box { color: var(--ok); font-size: 13px; margin: 4px 0 14px; }

/* ================================================================ navegación inferior y FAB */
.bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b); display: flex; background: var(--surface); border-top: 1px solid var(--border); }
.bottomnav button { flex: 1; border: 0; background: none; color: var(--muted); font: inherit; font-size: 11px; font-weight: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.bottomnav button span { font-size: 21px; filter: grayscale(1); opacity: .65; transition: transform .15s; }
.bottomnav button.active { color: var(--primary); }
.bottomnav button.active span { filter: none; opacity: 1; transform: translateY(-1px) scale(1.08); }
.fab { position: fixed; right: 18px; bottom: calc(var(--nav-h) + var(--safe-b) + 18px); z-index: 25; width: 58px; height: 58px; border-radius: 18px; border: 0; background: var(--primary); color: var(--primary-text); font-size: 30px; box-shadow: 0 8px 24px rgba(79, 124, 255, .45); cursor: pointer; }

/* ================================================================ hoja modal */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(10, 14, 25, .45); z-index: 40; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-height: 92vh; overflow-y: auto; background: var(--surface); border-radius: 22px 22px 0 0; padding: 8px 18px calc(18px + var(--safe-b)); box-shadow: var(--shadow); animation: up .18s ease-out; }
@media (min-width: 700px) {
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: 560px; border-radius: 22px; max-height: 88vh; animation: none; }
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-handle { width: 40px; height: 5px; border-radius: 3px; background: var(--border); margin: 4px auto 12px; }
.sheet h2 { font-size: 20px; margin-bottom: 14px; }
.sheet-actions { display: flex; gap: 8px; margin-top: 8px; position: sticky; bottom: calc(-18px - var(--safe-b)); background: var(--surface); padding: 10px 0 4px; }
.sheet-actions .btn { flex: 1; }
.detail-hero { margin: -8px -18px 14px; padding: 18px 18px 16px; border-radius: 22px 22px 0 0; color: #fff; background: var(--c); }
.detail-hero .emoji { font-size: 34px; line-height: 1; }
.detail-hero h2 { margin: 8px 0 4px; color: #fff; }
.detail-hero .when { opacity: .92; font-size: 14px; }
.detail-hero .cat { display: inline-block; margin-top: 8px; background: rgba(255,255,255,.22); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.detail-line { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; }
.detail-line > span:first-child { width: 22px; text-align: center; flex: 0 0 auto; }
.daychips { display: flex; gap: 4px; }
.daychips .chip { flex: 1; justify-content: center; padding: 6px 0; }
.title-row { display: flex; gap: 8px; }
.title-row input { flex: 1; }
.emoji-btn { width: 48px; flex: 0 0 auto; font-size: 22px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin: 6px 0 14px; }
.emoji-grid button { font-size: 22px; aspect-ratio: 1; border: 0; border-radius: 10px; background: var(--surface-2); cursor: pointer; }
.emoji-grid button.on { outline: 2px solid var(--primary); }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 90px); transform: translateX(-50%); background: #1B2030; color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 60; font-size: 14px; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* ================================================================ pantalla Hoy */
.hello { padding: 6px 2px 14px; }
.hello h1 { font-size: 26px; }
.hello .date { color: var(--muted); font-weight: 600; margin-top: 2px; }
.hello .badge { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: color-mix(in srgb, var(--holiday) 15%, transparent); color: var(--holiday); }
.next-card { position: relative; overflow: hidden; border-radius: 22px; padding: 18px; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); box-shadow: 0 10px 30px color-mix(in srgb, var(--c) 35%, transparent); cursor: pointer; }
.next-card .label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.next-card .emoji { position: absolute; right: 14px; top: 10px; font-size: 64px; opacity: .9; }
.next-card h2 { font-size: 22px; margin: 6px 70px 4px 0; color: #fff; }
.next-card .count { font-size: 30px; font-weight: 800; margin-top: 8px; }
.next-card .when { opacity: .9; font-size: 14px; }
.next-card.empty-card { --c: #30A46C; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 420px) { .grid-2 { grid-template-columns: 1fr; } }
.person-pill { display: flex; align-items: center; gap: 8px; padding: 7px 0; }
.person-pill .what { margin-left: auto; font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); }
.timeline { position: relative; padding-left: 4px; }
.timeline .item { border-bottom: 0; padding: 8px 0; }
.timeline .item.past { opacity: .45; }
.timeline .item.now .time { color: var(--primary); }

/* ================================================================ calendario (FullCalendar) */
#calendar {
  background: var(--surface); border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow);
  --fc-border-color: var(--border); --fc-page-bg-color: var(--surface); --fc-neutral-bg-color: var(--surface-2);
  --fc-list-event-hover-bg-color: var(--surface-2); --fc-today-bg-color: color-mix(in srgb, var(--primary) 10%, transparent);
  --fc-now-indicator-color: var(--danger); --fc-event-text-color: #fff;
}
.fc { font-size: 13px; }
.fc .fc-col-header-cell-cushion { color: var(--muted); font-weight: 600; text-transform: capitalize; padding: 6px 2px; text-decoration: none; }
.fc .fc-daygrid-day-number { color: var(--text); text-decoration: none; font-weight: 600; padding: 4px 6px; }
.fc .fc-daygrid-day.selected { background: color-mix(in srgb, var(--primary) 16%, transparent); }
.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number { background: var(--primary); color: var(--primary-text); border-radius: 50%; min-width: 24px; height: 24px; display: inline-grid; place-items: center; padding: 0; margin: 3px; }
.fc .fc-daygrid-day.is-holiday .fc-daygrid-day-number { color: var(--holiday); }
.fc .fc-day-sat .fc-daygrid-day-number, .fc .fc-day-sun .fc-daygrid-day-number { opacity: .75; }
.fc .fc-daygrid-day-frame { padding-bottom: 14px; position: relative; }
.fc .fc-daygrid-event { border-radius: 5px; padding: 0 3px; margin-top: 1px; }
.fc .fc-timegrid-event { border-radius: 6px; }
.fc .fc-event { cursor: pointer; }
.fc .fc-event.shift { opacity: .8; border-style: dashed !important; }
.fc .fc-bg-event.shift { opacity: 1; border: 0 !important; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.28) 0 5px, transparent 5px 10px); }
.fc .fc-bg-event.shift .fc-event-title { font-style: normal; font-size: 10px; font-weight: 800; margin: 3px 4px; opacity: .95; }
.kind-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); white-space: nowrap; }
.kind-badge { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; flex: 0 0 auto; background: color-mix(in srgb, var(--c) 18%, transparent); }
.item .bar.shift-bar { background: repeating-linear-gradient(180deg, var(--c) 0 4px, transparent 4px 7px); }
.fc .fc-timegrid-event.shift { opacity: .3; font-size: 10px; }
.fc .fc-event.conflict { box-shadow: inset 3px 0 0 var(--danger); }
.fc .fc-event.conflict .fc-event-title::after { content: " ⚠"; }
.fc .fc-event.holiday { background: transparent !important; border: 1px dashed var(--holiday) !important; }
.fc .fc-event.holiday .fc-event-title, .fc .fc-event.holiday .fc-event-main { color: var(--holiday) !important; font-weight: 700; }
.fc .fc-event.birthday { background: linear-gradient(90deg, #D6409F, #F76B15) !important; border: 0 !important; }
.fc .fc-more-link { color: var(--primary); font-weight: 600; }
.fc .fc-list-day-cushion { background: var(--surface-2); }
.fc .fc-list-event-title a, .fc .fc-list-day-text, .fc .fc-list-day-side-text { color: var(--text); text-decoration: none; }
.fc-theme-standard .fc-scrollgrid { border-radius: 8px; overflow: hidden; }
.fc .fc-timegrid-slot { height: 2.4em; }
.fc .fc-popover { background: var(--surface); }
/* franjas de turnos en la vista de mes */
.strip { position: absolute; left: 2px; right: 2px; bottom: 2px; display: flex; gap: 2px; pointer-events: none; }
.strip span { flex: 1; min-width: 0; height: 12px; border-radius: 3px; font-size: 8px; line-height: 12px; font-weight: 800; color: #fff; text-align: center; overflow: hidden; }
@media (max-width: 600px) {
  .fc .fc-daygrid-event .fc-event-time { display: none; }
  .fc .fc-daygrid-day-frame { min-height: 70px; }
}
.day-panel { margin-top: 14px; }
.day-panel .card { margin-bottom: 0; }

/* ================================================================ vista día por persona */
.people-view { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pv-head, .pv-allday { display: grid; grid-template-columns: 44px repeat(var(--n), minmax(0, 1fr)); border-bottom: 1px solid var(--border); }
.pv-head > div { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; font-size: 12px; font-weight: 700; min-width: 0; }
.pv-head > div span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-head .avatar { width: 30px; height: 30px; font-size: 12px; }
.pv-allday > div { padding: 3px; display: flex; flex-direction: column; gap: 2px; min-height: 22px; border-left: 1px solid var(--border); }
.pv-allday > div:first-child { border-left: 0; font-size: 10px; color: var(--muted); align-items: center; justify-content: center; }
.pv-tag { font-size: 11px; font-weight: 700; color: #fff; border-radius: 5px; padding: 1px 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; }
.pv-scroll { max-height: calc(100vh - 290px); overflow-y: auto; position: relative; }
.pv-grid { display: grid; grid-template-columns: 44px repeat(var(--n), minmax(0, 1fr)); position: relative; }
.pv-hours > div { height: var(--hour); font-size: 11px; color: var(--muted); text-align: right; padding-right: 6px; transform: translateY(-7px); }
.pv-col { position: relative; border-left: 1px solid var(--border); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--hour) - 1px), var(--border) calc(var(--hour) - 1px), var(--border) var(--hour)); cursor: copy; }
.pv-shift { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 24%, transparent) 0 6px, color-mix(in srgb, var(--c) 10%, transparent) 6px 12px); border-left: 3px solid var(--c); font-size: 10px; font-weight: 800; color: var(--c); padding: 2px 3px; pointer-events: none; overflow: hidden; }
.pv-ev { position: absolute; border-radius: 6px; padding: 2px 4px; font-size: 11px; line-height: 1.25; color: #fff; overflow: hidden; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.pv-ev b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-ev.conflict { box-shadow: inset 3px 0 0 var(--danger), 0 1px 3px rgba(0,0,0,.2); }
.pv-now { position: absolute; left: 44px; right: 0; height: 2px; background: var(--danger); z-index: 3; pointer-events: none; }
.pv-now::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); }
