/* แอพบันทึกรายรับรายจ่าย — สไตล์สะอาด ขาว-ฟ้า การ์ดมุมมน ใช้ง่ายทั้งมือถือและคอม */

:root {
  color-scheme: light;
  --bg: #f3f5f9;
  --card: #ffffff;
  --text: #18202f;
  --text-2: #4d5566;
  --muted: #7c8494;
  --line: #e6e9ef;
  --axis: #c3c7d0;

  --primary: #2a78d6;
  --primary-dark: #1c5cab;
  --primary-soft: #e9f2fc;

  --series-1: #2a78d6; /* งบ / รายจ่ายรายวัน */
  --series-2: #eb6834; /* รายจ่าย (กราฟรายปี) */

  --good: #0ca30c;
  --good-text: #006300;
  --warning: #fab219;
  --critical: #d03b3b;

  --income: #0b7a3b;
  --expense: #c43333;

  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 4px 14px rgba(16, 24, 40, 0.05);
  --font: "Leelawadee UI", "Noto Sans Thai", Tahoma, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
  color: inherit;
}

h2,
h3 {
  margin: 0;
}

.muted {
  color: var(--muted);
}
.small {
  font-size: 0.85rem;
}
.income {
  color: var(--income);
}
.expense {
  color: var(--expense);
}

/* ---------- แถบบน ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
}

.tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.tabs button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-2);
  cursor: pointer;
  font-weight: 600;
}

.tabs button:hover {
  background: var(--bg);
}

.tabs button.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.menu-wrap {
  position: relative;
}

.icon-btn {
  border: 0;
  background: transparent;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--text-2);
}

.icon-btn:hover {
  background: var(--bg);
}

.icon-btn.round {
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 1.4rem;
}

.menu {
  position: absolute;
  right: 0;
  top: 44px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  min-width: 230px;
  z-index: 30;
}

.menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.menu button:hover {
  background: var(--bg);
}

/* ---------- เนื้อหา ---------- */

#main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 110px;
}

.period-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.period-label {
  font-size: 1.25rem;
  font-weight: 700;
  min-width: 160px;
  text-align: center;
}

.link-btn {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  white-space: nowrap;
}

.link-btn:hover {
  text-decoration: underline;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  margin-bottom: 16px;
}

.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.card-head h3 {
  font-size: 1.05rem;
}

.card-label {
  color: var(--text-2);
  font-size: 0.92rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 1.3rem;
}

.btn {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}

.btn:hover {
  background: var(--bg);
}

.btn.small {
  padding: 5px 12px;
  font-size: 0.88rem;
}

.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  background: var(--primary-dark);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn.danger-ghost {
  color: var(--expense);
  border-color: transparent;
  background: transparent;
}

.btn.danger-ghost:hover {
  background: #fdeeee;
}

/* ---------- หน้าหลัก ---------- */

.home-grid {
  display: grid;
  gap: 0 20px;
}

@media (min-width: 900px) {
  .home-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}

.col {
  min-width: 0;
}

.budget-card {
  background: linear-gradient(135deg, #2a78d6 0%, #1c5cab 100%);
  color: #fff;
}

.budget-card .card-label,
.budget-card .muted {
  color: rgba(255, 255, 255, 0.82);
}

.budget-card.empty-budget p {
  margin: 6px 0 14px;
}

.budget-card .btn {
  background: #fff;
  border-color: #fff;
  color: var(--primary-dark);
}

.budget-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.hero {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2px;
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  margin: 14px 0 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: #fff;
}

.progress-fill.warning {
  background: var(--warning);
}

.progress-fill.critical {
  background: #ff8a80;
}

.budget-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.budget-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.budget-card .hint {
  font-size: 0.92rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.pill b {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.7rem;
}

.pill.good {
  background: #e7f6e7;
  color: var(--good-text);
}
.pill.good b {
  background: var(--good);
}
.pill.warning {
  background: #fff4dc;
  color: #7a5200;
}
.pill.warning b {
  background: var(--warning);
  color: #18202f;
}
.pill.critical {
  background: #fdeaea;
  color: #a12a2a;
}
.pill.critical b {
  background: var(--critical);
}

.quick-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.quick-row .card {
  margin: 0;
}

.mini {
  padding: 14px 16px;
}

.mini-val {
  font-size: 1.3rem;
  font-weight: 700;
}

/* รายการ: กล่องเลื่อนขึ้นลง ข้างในแยกกรอบทีละวัน */
.day-scroll {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(640px, calc(100vh - 230px));
  min-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0 -6px;
  padding: 2px 6px 6px;
  scrollbar-width: thin;
  scrollbar-color: #c9d3e2 transparent;
}

.day-scroll::-webkit-scrollbar {
  width: 6px;
}

.day-scroll::-webkit-scrollbar-thumb {
  background: #c9d3e2;
  border-radius: 999px;
}

.day-group {
  flex: none;
  scroll-margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  overflow: clip;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.day-group.flash {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.day-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text);
  padding: 9px 14px;
  background: #f5f8fc;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.day-head .day-total {
  color: var(--text-2);
}

.day-group .entry-list {
  padding: 4px 6px;
}

.day-group .entry {
  padding: 9px 8px;
}

.day-group .entry + .entry {
  border-top: 1px dashed var(--line);
  border-radius: 0;
}

.day-group .entry:hover {
  border-radius: 10px;
}

@media (max-width: 720px) {
  .day-scroll {
    max-height: 70vh;
  }
}

.day-total {
  white-space: nowrap;
}

.entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-radius: 10px;
  cursor: pointer;
}

.entry:hover,
.entry:focus-visible {
  background: var(--bg);
  outline: none;
}

.cat-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.cat-ico.sm {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 0.95rem;
}

.entry-main {
  flex: 1;
  min-width: 0;
}

.entry-title {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-sub {
  font-size: 0.82rem;
  color: var(--muted);
}

.entry-amt {
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.entry-amt.income {
  color: var(--income);
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 30px 10px;
}

.empty-ico {
  font-size: 2rem;
  margin-bottom: 6px;
}

/* ---------- กราฟ ---------- */

.chart {
  position: relative;
  width: 100%;
}

.chart svg {
  display: block;
  max-width: 100%;
  height: auto;
  overflow: visible;
}

.chart .grid {
  stroke: var(--line);
  stroke-width: 1;
}

.chart .axis {
  stroke: var(--axis);
  stroke-width: 1;
}

.chart .tick {
  fill: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.chart .hover-band {
  fill: transparent;
}

.chart .hover-band.on {
  fill: rgba(42, 120, 214, 0.08);
}

.chart .ref {
  stroke: var(--text-2);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}

.chart .ref-label {
  fill: var(--text-2);
  font-size: 11px;
  font-weight: 600;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
  stroke-linejoin: round;
}

.chart .hit {
  fill: transparent;
  cursor: pointer;
}

.legend {
  display: flex;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--text-2);
}

.legend span,
.tt-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend i,
.tt-row i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.tooltip {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.14);
  padding: 8px 12px;
  font-size: 0.88rem;
  min-width: 150px;
  max-width: 260px;
}

.tt-title {
  font-weight: 700;
  margin-bottom: 2px;
}

.tt-row {
  display: flex;
}

.tt-sub {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

/* ---------- สรุปเดือน / รายปี ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.tiles .card {
  margin: 0;
}

@media (min-width: 760px) {
  .tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tiles.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tile-val {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.two-col {
  display: grid;
  gap: 0 16px;
}

@media (min-width: 860px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.stat-list {
  margin: 0;
}

.stat-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.stat-list > div:last-child {
  border-bottom: 0;
}

.stat-list dt {
  color: var(--text-2);
}

.stat-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.cat-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.cat-name {
  flex: 1;
}

.cat-val {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cat-pct {
  width: 44px;
  text-align: right;
  color: var(--muted);
  font-size: 0.88rem;
}

.bar-track {
  height: 8px;
  background: var(--bg);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--series-1);
  border-radius: 0 4px 4px 0;
}

.table-wrap {
  overflow-x: auto;
}

.year-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.year-table th,
.year-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.year-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.year-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.year-table tbody tr {
  cursor: pointer;
}

.year-table tbody tr:hover,
.year-table tbody tr:focus-visible {
  background: var(--bg);
  outline: none;
}

.year-table tr.dim td {
  color: var(--muted);
}

.year-table tfoot td {
  font-weight: 700;
  border-bottom: 0;
}

/* ---------- ปุ่มเพิ่มรายการ ---------- */

.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(42, 120, 214, 0.38);
  cursor: pointer;
}

.fab:hover {
  background: var(--primary-dark);
}

.fab-plus {
  font-size: 1.2rem;
  line-height: 1;
}

/* ---------- หน้าต่าง (dialog) ---------- */

.sheet {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(480px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.25);
}

.sheet::backdrop {
  background: rgba(16, 24, 40, 0.45);
}

.sheet form {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sheet-head h2 {
  font-size: 1.2rem;
}

.sheet p.muted {
  margin: 0;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border-radius: 999px;
  padding: 4px;
}

.seg input,
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg span {
  display: block;
  text-align: center;
  padding: 8px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-2);
}

.seg input:checked + span {
  background: var(--card);
  color: var(--primary-dark);
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.12);
}

.seg input:focus-visible + span,
.chip input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 0.88rem;
  color: var(--text-2);
  font-weight: 600;
}

.field input[type="text"],
.field input[type="date"],
.field input[type="time"],
.amount-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--card);
  width: 100%;
}

.field input:focus,
.amount-wrap:focus-within {
  outline: 2px solid var(--primary);
  border-color: transparent;
}

.amount-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.amount-wrap input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 0;
  background: transparent;
}

.currency {
  font-size: 1.4rem;
  color: var(--muted);
  font-weight: 700;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip span {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  background: var(--card);
}

.chip input:checked + span {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary-dark);
  font-weight: 600;
}

.form-error {
  margin: 0;
  color: var(--expense);
  font-size: 0.9rem;
}

.sheet-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spacer {
  flex: 1;
}

/* ---------- มือถือ ---------- */

@media (max-width: 720px) {
  .topbar-inner {
    padding: 10px 16px;
  }

  .tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    background: var(--card);
    border-top: 1px solid var(--line);
    justify-content: space-around;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    z-index: 20;
  }

  .tabs button {
    flex-direction: column;
    gap: 0;
    padding: 4px 14px;
    font-size: 0.78rem;
    border-radius: 12px;
  }

  .tab-ico {
    font-size: 1.15rem;
  }

  .menu-wrap {
    margin-left: auto;
  }

  #main {
    padding: 14px 14px 150px;
  }

  .fab {
    right: 16px;
    bottom: 82px;
    padding: 0;
    width: 58px;
    height: 58px;
    justify-content: center;
  }

  .fab-text {
    display: none;
  }

  .fab-plus {
    font-size: 1.6rem;
  }

  .hero {
    font-size: 1.8rem;
  }

  .card {
    padding: 16px;
  }

  .sheet {
    margin: auto auto 0;
    width: 100vw;
    max-width: 100vw;
    border-radius: 20px 20px 0 0;
  }
}

/* ---------- รายงาน PDF (แสดงเฉพาะตอนพิมพ์) ---------- */

#print-report {
  display: none;
}

@media print {
  @page {
    size: A4;
    margin: 14mm 14mm 16mm;
  }

  body {
    background: #fff;
  }

  #app-shell,
  .tooltip,
  dialog {
    display: none !important;
  }

  #print-report {
    display: block;
    font-size: 11pt;
    color: #18202f;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .r-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 8px;
    margin-bottom: 14px;
  }

  .r-kicker {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 10pt;
  }

  .r-head h1 {
    margin: 0;
    font-size: 20pt;
  }

  .r-meta {
    text-align: right;
    color: var(--muted);
    font-size: 9pt;
  }

  .r-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .r-tiles > div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
    background: #f7f9fc;
  }

  .r-tiles span {
    display: block;
    font-size: 9pt;
    color: var(--text-2);
  }

  .r-tiles b {
    font-size: 14pt;
  }

  .r-line {
    margin: 10px 0 0;
    color: var(--text-2);
  }

  #print-report h2 {
    font-size: 13pt;
    margin: 18px 0 8px;
    color: var(--primary-dark);
    break-after: avoid;
  }

  .r-chart svg {
    width: 100%;
    height: auto;
  }

  .r-chart .grid {
    stroke: var(--line);
  }
  .r-chart .axis {
    stroke: var(--axis);
  }
  .r-chart .tick {
    fill: var(--muted);
    font-size: 10px;
  }
  .r-chart .hover-band,
  .r-chart .hit {
    fill: transparent;
  }
  .r-chart .ref {
    stroke: var(--text-2);
    stroke-width: 1.2;
    stroke-dasharray: 5 4;
  }
  .r-chart .ref-label {
    fill: var(--text-2);
    font-size: 10px;
    paint-order: stroke;
    stroke: #fff;
    stroke-width: 4px;
  }

  .r-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10pt;
  }

  .r-table thead {
    display: table-header-group; /* หัวตารางซ้ำทุกหน้า */
  }

  .r-table th {
    background: #eef3fa;
    text-align: left;
    padding: 6px 8px;
    font-weight: 700;
  }

  .r-table td {
    padding: 5px 8px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
  }

  .r-table tr {
    break-inside: avoid;
  }

  .r-table .num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }

  .r-table tr.subtotal td {
    background: #f7f9fc;
    font-weight: 700;
    color: var(--text-2);
    font-size: 9.5pt;
  }

  .r-table tfoot td {
    font-weight: 700;
    border-top: 2px solid var(--text);
    border-bottom: 0;
    font-size: 11pt;
  }

  .r-table.cats .bar-cell {
    width: 38%;
  }

  .r-bar {
    height: 8px;
    border-radius: 0 4px 4px 0;
    background: var(--series-1);
  }

  .r-empty {
    color: var(--muted);
  }

  body::before {
    display: none !important;
  }
}
