/* ==========================================================================
   Pace Lodgix — property management dashboard (mockup)
   A rebuild of the real product's "Dim" theme. Self-contained: this file
   does not depend on ../app.css. No frameworks, no build step.
   ========================================================================== */

/* ---------- 1. Theme tokens ---------------------------------------------- */
:root,
[data-theme="dim"] {
  --bg:        #0A0E0B;
  --bg-side:   #0D110E;
  --card:      #111711;
  --card-2:    #161D16;
  --card-3:    #1A221A;
  --line:      #1F2A20;
  --line-2:    #2B372C;

  --txt:       #E8EEE6;
  --txt-2:     #9BA89B;
  --txt-3:     #6D7B6E;

  --gold:      #E3B341;
  --gold-2:    #C99A2E;
  --gold-wash: rgba(227, 179, 65, .12);
  --on-gold:   #14120A;   /* text/icons that sit on a gold fill */

  --green:     #4FB07C;
  --green-2:   #3B8F63;
  --green-wash:rgba(79, 176, 124, .13);

  --red:       #E0625B;
  --red-wash:  rgba(224, 98, 91, .12);

  --shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

[data-theme="light"] {
  --bg:        #F4F6F2;
  --bg-side:   #FFFFFF;
  --card:      #FFFFFF;
  --card-2:    #F7F9F5;
  --card-3:    #EEF2EC;
  --line:      #E1E7DE;
  --line-2:    #D2DACF;

  --txt:       #16201A;
  --txt-2:     #5C6A5E;
  --txt-3:     #7E8C80;

  --gold:      #A87A16;
  --gold-2:    #8C6511;
  --gold-wash: rgba(168, 122, 22, .10);
  --on-gold:   #FFFDF7;

  --green:     #2F7D53;
  --green-2:   #24603F;
  --green-wash:rgba(47, 125, 83, .10);

  --red:       #C0433C;
  --red-wash:  rgba(192, 67, 60, .09);

  --shadow: 0 1px 2px rgba(20, 32, 26, .06);
}

@media (prefers-color-scheme: light) {
  [data-theme="auto"] {
    --bg: #F4F6F2; --bg-side: #FFFFFF; --card: #FFFFFF; --card-2: #F7F9F5; --card-3: #EEF2EC;
    --line: #E1E7DE; --line-2: #D2DACF;
    --txt: #16201A; --txt-2: #5C6A5E; --txt-3: #7E8C80;
    --gold: #A87A16; --gold-2: #8C6511; --gold-wash: rgba(168, 122, 22, .10); --on-gold: #FFFDF7;
    --green: #2F7D53; --green-2: #24603F; --green-wash: rgba(47, 125, 83, .10);
    --red: #C0433C; --red-wash: rgba(192, 67, 60, .09);
    --shadow: 0 1px 2px rgba(20, 32, 26, .06);
  }
}

/* ---------- 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.pl-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.pl-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pl-ico--sm { width: 14px; height: 14px; stroke-width: 1.9; }

/* ---------- 3. Sample-site ribbon ---------------------------------------- */
.pd-bar { background: #100E0C; color: #B8AEA2; font-size: 13.5px; }
.pd-bar__in {
  max-width: 1920px; margin-inline: auto; padding: 9px 22px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.pd-bar strong { color: #FBF6EE; font-weight: 600; }
.pd-bar__tag {
  background: rgba(216, 185, 120, .16); color: #D8B978; border-radius: 2px;
  padding: 3px 10px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.pd-bar a {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  background: #C4622D; color: #FFF7F1; text-decoration: none; border-radius: 2px;
  padding: 8px 18px; font-weight: 600; font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; transition: background-color .2s ease;
}
.pd-bar a:hover { background: #D4753E; }
@media (max-width: 620px) { .pd-bar a { margin-left: 0; width: 100%; justify-content: center; } }

/* ---------- 4. Shell ------------------------------------------------------ */
.pl { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; }

/* ---------- 5. Sidebar ---------------------------------------------------- */
.pl-side {
  position: sticky; top: 0; align-self: start;
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg-side); border-right: 1px solid var(--line);
  padding: 20px 14px 18px;
}
.pl-brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px 22px; }
.pl-brand__mark { width: 34px; height: 34px; color: var(--txt); flex: none; }
.pl-brand b {
  display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.1;
}
.pl-brand span span { display: block; font-size: 9.5px; color: var(--txt-3); line-height: 1.45; margin-top: 3px; }

.pl-nav { display: grid; gap: 2px; }
.pl-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--txt-2); text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.pl-nav a:hover { background: var(--card-2); color: var(--txt); }
.pl-nav a[aria-current="page"] {
  background: var(--gold-wash); color: var(--gold); font-weight: 600;
}

.pl-side__foot { margin-top: auto; padding-top: 22px; }
.pl-theme {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 4px;
}
.pl-theme button {
  border: 0; background: transparent; color: var(--txt-2);
  border-radius: 7px; padding: 8px 4px; font-size: 12.5px; font-weight: 500;
  transition: background-color .18s ease, color .18s ease;
}
.pl-theme button:hover { color: var(--txt); }
.pl-theme button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); font-weight: 600; }

.pl-user { font-size: 12px; color: var(--txt-3); padding: 14px 6px 10px; word-break: break-all; }
.pl-signout {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 14px 8px 8px; font-size: 13.5px; font-weight: 500; color: var(--txt);
  transition: border-color .18s ease;
}
.pl-signout:hover { border-color: var(--gold); }
.pl-signout i {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--gold); color: var(--on-gold); display: grid; place-items: center;
}

/* ---------- 6. Main area -------------------------------------------------- */
.pl-main { padding: 22px clamp(14px, 1.6vw, 26px) 60px; display: grid; gap: 16px; }

.pl-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow);
}
.pl-card__hd { padding: 16px 18px 0; }
.pl-card__ttl {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; margin: 0;
}
.pl-card__ttl > .pl-ico { color: var(--gold); }   /* direct child only, so
   icons inside a button in the title keep the button's own colour */
.pl-card__sub { font-size: 12px; color: var(--txt-3); margin: 4px 0 0; }
.pl-badge {
  margin-left: auto; background: var(--gold-wash); color: var(--gold);
  border-radius: 6px; padding: 2px 9px; font-size: 11px; font-weight: 700;
}
.pl-badge--wide { letter-spacing: .1em; text-transform: uppercase; font-size: 10px; margin-left: 0; }

/* Greeting header */
.pl-hero {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-left: 3px solid var(--gold);
}
.pl-hero__pic { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex: none; }
.pl-hero h1 { font-size: 19px; font-weight: 600; margin: 0 0 3px; letter-spacing: -.01em; }
.pl-hero p { margin: 0; font-size: 13px; color: var(--txt-2); }
.pl-hero__date {
  margin-left: auto; text-align: right; padding-left: 24px; border-left: 1px solid var(--line);
  align-self: stretch; display: flex; flex-direction: column; justify-content: center;
}
.pl-hero__date b { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); }
.pl-hero__date strong { display: block; font-size: 17px; font-weight: 600; margin: 3px 0 2px; }
.pl-hero__date span { font-size: 11.5px; color: var(--txt-3); }

/* Filters */
.pl-filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 18px; }
.pl-filters__lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--txt-3); }
.pl-filters__div { width: 1px; align-self: stretch; background: var(--line); }
.pl-field { display: flex; align-items: center; gap: 8px; }
.pl-field > span { font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--txt-3); }
.pl-field select {
  background: var(--card-2); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 8px 30px 8px 12px; font-size: 13px; color: var(--txt);
  appearance: none; -webkit-appearance: none; min-height: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239BA89B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center; background-size: 14px;
}
.pl-btn {
  background: var(--card-2); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 9px 18px; font-size: 13px; font-weight: 500; min-height: 38px;
  transition: border-color .18s ease, color .18s ease;
}
.pl-btn:hover { border-color: var(--gold); color: var(--gold); }
.pl-btn--sm { padding: 6px 13px; min-height: 32px; font-size: 12px; border-radius: 7px; }
.pl-range { font-size: 12.5px; color: var(--txt-3); }

/* ---------- 7. Statistic cards ------------------------------------------- */
.pl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pl-stat { padding: 16px 18px 15px; display: flex; flex-direction: column; }
.pl-stat__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pl-stat__lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--txt-2); }
.pl-stat__top .pl-ico { color: var(--txt-3); }
.pl-stat__val { font-size: 25px; font-weight: 600; letter-spacing: -.02em; margin: 12px 0 8px; }
.pl-stat__val--green { color: var(--green); }
.pl-stat__foot { margin-top: auto; font-size: 11.5px; color: var(--txt-3);
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.pl-stat__note { font-size: 11px; color: var(--txt-3); margin-top: 10px;
  padding-top: 9px; border-top: 1px solid var(--line); }
.pl-stat__note b { color: var(--txt-2); font-weight: 600; }

.pl-delta {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 5px; padding: 2px 7px; font-size: 11px; font-weight: 600;
}
.pl-delta--up { background: var(--green-wash); color: var(--green); }
.pl-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--green); }
.pl-gold { color: var(--gold); font-weight: 600; }

.pl-bar { height: 4px; border-radius: 3px; background: var(--card-3); overflow: hidden; margin: 2px 0 10px; }
.pl-bar i { display: block; height: 100%; background: var(--gold); border-radius: 3px; }

/* ---------- 8. Three-column and two-column rows -------------------------- */
.pl-row3 { display: grid; grid-template-columns: 1fr 1.55fr 1fr; gap: 14px; align-items: start; }
.pl-row2 { display: grid; grid-template-columns: 2.5fr 1fr; gap: 14px; align-items: start; }

/* Needs attention */
.pl-alerts { display: grid; gap: 10px; padding: 14px 18px 18px; }
.pl-alert {
  display: flex; align-items: center; gap: 12px;
  border-radius: 9px; padding: 12px 14px; border-left: 3px solid;
}
.pl-alert i { width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; }
.pl-alert > span { flex: 1; min-width: 0; }
.pl-alert b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.pl-alert span span { display: block; font-size: 11.5px; color: var(--txt-3); margin-top: 2px; }
.pl-alert .pl-btn { flex: 0 0 auto; width: auto; margin-left: auto; white-space: nowrap; }
.pl-alert--ok  { background: var(--green-wash); border-left-color: var(--green); }
.pl-alert--ok i  { background: var(--green); color: var(--card); }
.pl-alert--warn { background: var(--gold-wash); border-left-color: var(--gold); }
.pl-alert--warn i { background: var(--gold); color: var(--on-gold); }
.pl-alert--bad { background: var(--red-wash); border-left-color: var(--red); }
.pl-alert--bad i { background: var(--red); color: var(--card); }

/* Chart */
.pl-legend { display: flex; justify-content: center; gap: 22px; padding: 12px 0 4px; font-size: 12px; color: var(--txt-2); }
.pl-legend span { display: inline-flex; align-items: center; gap: 7px; }
.pl-legend i { width: 9px; height: 9px; border-radius: 50%; }

.pl-chart { display: flex; gap: 10px; padding: 4px 18px 16px; }
.pl-chart__y {
  width: 46px; flex: none;
  display: flex; flex-direction: column-reverse; justify-content: space-between;
  font-size: 10.5px; color: var(--txt-3); height: 190px; text-align: right;
}
/* 8 labels means 7 gaps, so a gridline every 190 ÷ 7 pixels. */
.pl-plot {
  flex: 1; min-width: 0; height: 190px;
  display: flex; align-items: flex-end; gap: clamp(2px, .7vw, 9px);
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(to top, var(--line) 0 1px, transparent 1px 27.14px);
}
.pl-plot__g { flex: 1; display: flex; align-items: flex-end; justify-content: center;
  gap: 3px; height: 100%; }
.pl-plot__g i { width: 42%; max-width: 16px; border-radius: 2px 2px 0 0; display: block; }
.pl-plot__g i:first-child { background: var(--gold); }
.pl-plot__g i:last-child { background: var(--green-2); }
.pl-chart__x { display: flex; gap: clamp(2px, .7vw, 9px); padding: 8px 18px 14px 74px; }
.pl-chart__x span { flex: 1; text-align: center; font-size: 10.5px; color: var(--txt-3); }

/* Activity feed */
.pl-feed { display: grid; gap: 4px; padding: 12px 8px 8px 18px; max-height: 250px; overflow-y: auto; }
.pl-feed::-webkit-scrollbar { width: 5px; }
.pl-feed::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
.pl-act { display: flex; gap: 12px; padding: 9px 10px 9px 0; }
.pl-act i { width: 28px; height: 28px; border-radius: 8px; flex: none;
  background: var(--card-3); color: var(--gold); display: grid; place-items: center; }
.pl-act em { font-style: normal; font-size: 11px; color: var(--txt-3); display: block; }
.pl-act b { display: block; font-size: 12.5px; font-weight: 600; margin: 2px 0 1px; }
.pl-act span { font-size: 11.5px; color: var(--txt-3); }
.pl-more { display: block; text-align: right; padding: 6px 18px 16px;
  font-size: 12px; color: var(--gold); text-decoration: none; }
.pl-more:hover { text-decoration: underline; }
.pl-more--center { text-align: center; }

/* ---------- 9. Table ------------------------------------------------------ */
.pl-tablewrap { padding: 12px 18px 0; overflow-x: auto; }
.pl-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.pl-table th {
  text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--txt-3);
  padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.pl-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
.pl-table tr:last-child td { border-bottom: 0; }
.pl-table .num { text-align: right; font-weight: 600; }
.pl-table .mid { text-align: center; }
.pl-id { color: var(--gold); font-weight: 500; }
.pl-pill {
  display: inline-block; border-radius: 6px; padding: 3px 10px;
  font-size: 11px; font-weight: 600;
}
.pl-pill--pend { background: var(--gold-wash); color: var(--gold); }
.pl-pill--conf { background: var(--green-wash); color: var(--green); }
.pl-pill--unpaid { background: var(--red-wash); color: var(--red); }
.pl-pill--part { background: var(--gold-wash); color: var(--gold); }
.pl-pill--paid { background: var(--green-wash); color: var(--green); }

/* ---------- 10. Donut ----------------------------------------------------- */
.pl-donutrow { display: flex; align-items: center; gap: 18px; padding: 14px 18px 18px; flex-wrap: wrap; }
.pl-donut { width: 132px; height: 132px; flex: none; transform: rotate(-90deg); }
.pl-chan { flex: 1; min-width: 190px; display: grid; }
.pl-chan div {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px;
}
.pl-chan div:last-child { border-bottom: 0; }
.pl-chan i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pl-chan b { margin-left: auto; font-weight: 600; }

/* ---------- 11. Calendar connections -------------------------------------- */
.pl-kv { display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pl-kv b { font-weight: 600; }
.pl-body { padding: 14px 18px 18px; }
.pl-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
@media (max-width: 1500px) { .pl-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pl-chip {
  display: flex; align-items: center; gap: 7px;
  background: var(--card-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px; font-size: 11.5px; color: var(--txt-2); min-width: 0;
}
.pl-chip > span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-chip i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.pl-chip em { font-style: normal; margin-left: auto; display: inline-flex; align-items: center;
  gap: 5px; color: var(--txt-3); flex: none; }
.pl-chip em::before { content: ""; width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid var(--txt-3); }
.pl-chip--on em { color: var(--green); }
.pl-chip--on em::before { background: var(--green); border-color: var(--green); }

/* ---------- 12. Snapshot rows --------------------------------------------- */
.pl-snap { display: grid; gap: 10px; padding: 14px 18px 18px; }
.pl-snap div {
  display: flex; align-items: center; gap: 12px;
  background: var(--card-2); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px;
}
.pl-snap i { width: 28px; height: 28px; border-radius: 8px; flex: none;
  background: var(--card-3); color: var(--gold); display: grid; place-items: center; }
.pl-snap b { display: block; font-size: 13px; font-weight: 600; }
.pl-snap span { display: block; font-size: 11.5px; color: var(--txt-3); margin-top: 1px; }
.pl-snap strong { margin-left: auto; font-size: 14px; font-weight: 600; white-space: nowrap; }

/* ---------- 13. Notes ------------------------------------------------------ */
.pl-notes { display: grid; gap: 10px; padding: 14px 18px 18px; }
.pl-note { border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; padding: 10px 14px; background: var(--card-2); }
.pl-note--hi { background: var(--gold-wash); }
.pl-note em { font-style: normal; font-size: 11px; color: var(--gold); display: block; }
.pl-note p { margin: 5px 0 0; font-size: 13px; }
.pl-plus {
  margin-left: auto; width: 28px; height: 28px; border-radius: 7px; flex: none;
  background: var(--gold); color: var(--on-gold); border: 0; display: grid; place-items: center;
}

/* ---------- 14. Floating chat --------------------------------------------- */
.pl-chat {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: background-color .2s ease, color .2s ease;
}
.pl-chat:hover { background: var(--gold); color: var(--on-gold); }

/* ---------- 15. Narrow screens -------------------------------------------- */
@media (max-width: 1400px) {
  .pl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-row3 { grid-template-columns: 1fr 1fr; }
  .pl-row3 > :nth-child(3) { grid-column: 1 / -1; }
  .pl-row2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .pl { grid-template-columns: minmax(0, 1fr); }
  .pl-side {
    position: static; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line);
    flex-direction: column;
  }
  .pl-nav { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .pl-side__foot { margin-top: 18px; }
  .pl-row3 { grid-template-columns: minmax(0, 1fr); }
  .pl-row3 > :nth-child(3) { grid-column: auto; }
  .pl-hero { flex-wrap: wrap; }
  .pl-hero__date { margin-left: 0; padding-left: 0; border-left: 0; text-align: left; width: 100%;
    border-top: 1px solid var(--line); padding-top: 12px; }
}
@media (max-width: 620px) {
  .pl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pl-stat { padding: 12px 14px; }
  .pl-stat__val { font-size: 18px; margin: 8px 0 4px; word-break: break-word; }
  .pl-stat__lbl { font-size: 9.5px; }
  .pl-stat__foot { font-size: 10.5px; }
  .pl-stat__note { font-size: 10px; margin-top: 6px; padding-top: 6px; }
  .pl-filters { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; }
  .pl-filters .pl-btn { width: 100%; text-align: center; }
  .pl-field { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .pl-field > span { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--txt-3); }
  .pl-field select { width: 100%; box-sizing: border-box; }
  .pl-filters__div { display: none; }
  .pl-range { text-align: center; width: 100%; }
  .pl-alert { padding: 12px 10px; gap: 8px; }
  .pl-alert > span { flex: 1; min-width: 0; }
  .pl-alert b { font-size: 12.5px; line-height: 1.25; }
  .pl-alert span span { font-size: 11px; margin-top: 2px; }
  .pl-alert .pl-btn { width: auto !important; flex: 0 0 auto !important; padding: 5px 12px !important; min-height: 30px !important; font-size: 11.5px !important; margin-left: auto !important; white-space: nowrap !important; }
  .pl-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .pl-nav a { padding: 8px 10px; font-size: 12.5px; gap: 8px; }
  .pl-chart__y { display: none; }
  .pl-chart__x { padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
