/*
 * Investment Tracker — dark dashboard styles
 *
 * Color tokens copied from app.py so the look matches the Streamlit version:
 *   --bg-grad-from #152331    --bg-grad-to #000000
 *   --text         #f0f4ff    --muted      #8892a4
 *   --pos          #00CC3A    --neg        #FF4B4B
 *   --grid         #1e2d45    --accent     #F4C430
 */

:root {
  --bg-grad-from: #152331;
  --bg-grad-to:   #000000;
  --text:         #f0f4ff;
  --muted:        #8892a4;
  --muted-2:      #c8d0df;
  --pos:          #00CC3A;
  --neg:          #FF4B4B;
  --grid:         #1e2d45;
  --grid-2:       #2d3f5e;
  --accent:       #F4C430;
  --bar-bg:       rgba(0, 0, 0, 0.6);
  --card-bg:      rgba(21, 35, 49, 0.55);
  --sidebar-bg:   #000000;
  --primary:      #1f6feb;
}

* { box-sizing: border-box; }

/* The browser's built-in [hidden] { display: none } rule loses to any class
   selector that sets display (e.g. .landing { display: flex }). Force it. */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-grad-from) 0%, var(--bg-grad-to) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

code {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.9em;
}

.muted { color: var(--muted); }
.small { font-size: 0.8rem; }
.pos   { color: var(--pos); }
.neg   { color: var(--neg); }

/* ── Landing page ─────────────────────────────────────────────────────────── */
.landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.landing-card {
  max-width: 620px;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--grid);
  border-radius: 12px;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}
.landing-card h1 {
  margin: 0 0 0.5rem 0;
  font-size: 1.75rem;
  font-weight: 700;
}
.landing-card p { line-height: 1.5; }
.landing-tagline {
  color: var(--muted-2);
  font-size: 0.98rem;
  margin: 0 0 1.25rem 0;
}

/* Privacy callout — most-prominent line item on the landing card. Green
   borrows the dashboard's positive-return color so it reads as "this is
   the good news" rather than a warning. */
.privacy-callout {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: rgba(0, 204, 58, 0.08);
  border: 1px solid rgba(0, 204, 58, 0.35);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted-2);
}
.privacy-callout strong { color: var(--text); display: block; margin-bottom: 0.15rem; }
.privacy-icon {
  font-size: 1.4rem;
  line-height: 1.1;
  flex-shrink: 0;
}

.landing-steps {
  margin: 0.6rem 0 0.25rem 1.25rem;
  padding: 0;
  color: var(--muted-2);
  font-size: 0.9rem;
  line-height: 1.5;
}
.landing-steps li { margin: 0.35rem 0; }
.landing-steps strong { color: var(--text); }
.landing-steps em { color: var(--accent); font-style: normal; }

.landing-footer {
  margin: 1.5rem 0 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--grid);
  text-align: center;
}

.upload-zone {
  margin: 1.5rem 0;
  border: 2px dashed var(--grid-2);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}
.upload-zone.dragover {
  border-color: var(--pos);
  background: rgba(0, 204, 58, 0.05);
}
.upload-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
}
.upload-label strong { font-size: 1.05rem; }

.format-help {
  margin-top: 1rem;
  font-size: 0.9rem;
}
.format-help summary {
  cursor: pointer;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.format-help ul { margin: 0.5rem 0 0 1.25rem; padding: 0; }
.format-help li { margin: 0.25rem 0; }

.error-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 75, 75, 0.1);
  border: 1px solid var(--neg);
  border-radius: 6px;
  color: var(--neg);
  font-size: 0.9rem;
}

/* ── Sticky metric bar ────────────────────────────────────────────────────── */
.sticky-metric-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bar-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grid);
  padding: 0.75rem 1.5rem;
}
.bar-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1600px;
  margin: 0 auto;
  /* On narrow viewports, wrap so toggles drop below the tiles instead of
     getting cut off. */
  flex-wrap: wrap;
}

/* The middle dynamic section holding the 5 metric tiles + their seps. */
.bar-tiles {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Right-side toggle cluster — pushed to the right via auto margin. */
.bar-toggles {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Compact toggle row variant for the sticky bar (slightly tighter, label
   doesn't wrap so a long label like "Include reserves" stays on one line). */
.toggle-row--bar {
  font-size: 0.78rem;
  gap: 0.4rem;
  padding: 0;
  white-space: nowrap;
}
.bar-title {
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}
.bar-sep {
  width: 1px;
  height: 36px;
  background: var(--grid-2);
}
.bar-tile { min-width: 0; }
.bar-label-sm {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 2px;
}
.bar-val-sm {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.bar-delta-sm {
  font-size: 0.7rem;
  margin-top: 2px;
}

/* ── Layout: sidebar + content ────────────────────────────────────────────── */
.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  max-width: 1600px;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
}

.sidebar {
  background: var(--sidebar-bg);
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--grid);
  /* Sticky so it stays in view as the user scrolls through long content
     below. `top` matches the sticky metric bar height so they don't overlap.
     `align-self: start` prevents grid from stretching it to full row height,
     which would break sticky behavior. */
  position: sticky;
  top: 70px;
  align-self: start;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
.sidebar-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--grid);
}
.sidebar-section:last-child {
  border-bottom: none;
}
.sidebar-section h3 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 0.75rem 0;
}
.sidebar-status {
  font-size: 0.75rem;
  color: var(--muted);
}

.checkbox-list { display: flex; flex-direction: column; gap: 0.5rem; }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--pos);
  cursor: pointer;
}

/* On/off slider switch — for Display options + account filter, matching
   Streamlit's st.toggle. Visually distinct from .checkbox-row (used for
   chart trace checkmarks in the rank panel). */
.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.15rem 0;
}
.toggle {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  flex-shrink: 0;
}
.toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--grid-2);
  border-radius: 18px;
  transition: background 0.15s;
  cursor: pointer;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  height: 14px;
  width: 14px;
  left: 2px;
  top: 2px;
  background: #f0f4ff;
  border-radius: 50%;
  transition: transform 0.15s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.toggle input:checked + .toggle-slider {
  background: var(--pos);
}
.toggle input:checked + .toggle-slider::before {
  transform: translateX(14px);
}
.toggle input:focus-visible + .toggle-slider {
  outline: 2px solid var(--pos);
  outline-offset: 2px;
}

/* ── Content area ─────────────────────────────────────────────────────────── */
.content {
  padding: 1.5rem 2rem;
  min-width: 0; /* prevents Plotly charts from overflowing the grid cell */
}

.section-wrap { margin: 1.5rem 0; }
.section-rule {
  border: none;
  border-top: 1px solid var(--grid);
  margin: 0 0 1.25rem 0;
}
.section-header {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.chart {
  width: 100%;
  min-height: 380px;
}

/* Performance section: chart + rank panel side-by-side */
.perf-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 1.5rem;
  align-items: start;
}
.rank-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--grid);
  border-radius: 8px;
  padding: 1rem;
}
.rank-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0;
}
.rank-row + .rank-row { border-top: 1px solid var(--grid-2); }
.rank-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.rank-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.rank-delta { font-size: 0.78rem; margin-top: 2px; }

.alloc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Sort control above the pie + bar charts. */
.alloc-controls {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 0.75rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.alloc-controls label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.alloc-controls select {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--grid-2);
  color: var(--text);
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.alloc-controls select:hover { border-color: var(--text); }
.alloc-controls select:focus { outline: none; border-color: var(--primary); }

/* Range controls (date presets + From/To) */
.range-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.preset-buttons { display: flex; gap: 0.5rem; }
.btn-preset {
  background: transparent;
  border: 1px solid var(--grid-2);
  color: var(--text);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.1s, border-color 0.1s;
}
.btn-preset:hover { border-color: var(--text); }
.btn-preset.active {
  background: var(--primary);
  border-color: var(--primary);
}
.date-inputs {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.date-inputs input[type="date"] {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--grid-2);
  color: var(--text);
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  font-family: inherit;
  color-scheme: dark;
}

/* Small inline buttons (sidebar utilities like Select all / Refresh) */
.btn-mini {
  background: transparent;
  border: 1px solid var(--grid-2);
  color: var(--text);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
  font-family: inherit;
}
.btn-mini:hover { border-color: var(--text); }
.row-buttons {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

/* Buttons */
.btn-ghost {
  background: transparent;
  border: 1px solid var(--grid-2);
  color: var(--text);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  width: 100%;
  text-align: left;
}
.btn-ghost:hover { border-color: var(--text); }

/* Tables */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th, td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--grid);
}
th {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
}
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* Tabs */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--grid);
  margin-bottom: 1rem;
}
.tab {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab.active {
  color: var(--text);
  border-bottom-color: var(--pos);
}

/* Option price entry inputs */
.opt-price-row {
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}
.opt-price-row input[type="number"] {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--grid-2);
  color: var(--text);
  padding: 0.3rem 0.4rem;
  border-radius: 4px;
  width: 100%;
  font-family: inherit;
}
.opt-price-row label {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive: stack on narrow screens */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { border-right: none; border-bottom: 1px solid var(--grid); }
  .perf-grid, .alloc-grid { grid-template-columns: 1fr; }
}

/* ── Info modals (P2 — click-to-open ⓘ tooltips) ──────────────────────────
   The ⓘ button sits inline next to a label/header. Click opens a centered
   modal with the long-form explanation. Reusable across sticky bar tiles,
   sidebar toggles, section headers, and sidebar widgets. */
.info-icon {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  margin-left: 0.35rem;
  font-size: 0.85em;
  line-height: 1;
  vertical-align: baseline;
  font-family: inherit;
  /* Increase tap target without enlarging visible glyph. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1em;
  min-height: 1.1em;
  border-radius: 50%;
  transition: color 0.1s;
}
.info-icon:hover, .info-icon:focus-visible {
  color: var(--text);
  outline: none;
}

.info-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  /* Soft fade-in. */
  animation: info-fade-in 0.12s ease-out;
}
@keyframes info-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.info-modal {
  position: relative;
  background: linear-gradient(135deg, #1a2940 0%, #0d1726 100%);
  border: 1px solid var(--grid-2);
  border-radius: 10px;
  padding: 1.5rem 1.75rem 1.25rem 1.75rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  color: var(--text);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  font-size: 0.92rem;
  line-height: 1.5;
}
.info-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.15rem 0.45rem;
  line-height: 1;
  border-radius: 4px;
}
.info-modal-close:hover { color: var(--text); }

/* Content sections — class names match the Streamlit source verbatim so the
   text bodies can be copy-pasted from app.py without rewrites. */
.info-modal .tip-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding-right: 1.5rem;   /* avoid overlap with the × button */
}
.info-modal .tip-section {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0.9rem 0 0.35rem 0;
}
.info-modal p { margin: 0.35rem 0; }
.info-modal .tip-example {
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--primary);
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted-2);
}
.info-modal strong { color: var(--text); }

/* ── Account-names modal + sidebar banner ────────────────────────────────
   Lets users rename the raw Fidelity account labels to friendly names.
   Modal layout mirrors .info-modal but the content is a list of editable
   rows. The banner appears in the sidebar when fresh CSV data brings in
   accounts that aren't in the saved map. */
.btn-primary {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 600;
}
.btn-primary:hover { filter: brightness(1.1); }

.unmapped-banner {
  background: rgba(244, 196, 48, 0.10);
  border: 1px solid rgba(244, 196, 48, 0.4);
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s;
}
.unmapped-banner:hover { background: rgba(244, 196, 48, 0.18); }
.unmapped-banner strong { color: var(--accent); }

.acct-modal { position: fixed; inset: 0; z-index: 210; }
.acct-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}
.acct-modal-card {
  position: relative;
  margin: 4vh auto;
  background: linear-gradient(135deg, #1a2940 0%, #0d1726 100%);
  border: 1px solid var(--grid-2);
  border-radius: 10px;
  padding: 1.5rem 1.75rem 1.25rem 1.75rem;
  max-width: 560px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.acct-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}
.acct-modal-header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.acct-modal-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.15rem 0.45rem;
  line-height: 1;
  border-radius: 4px;
}
.acct-modal-close:hover { color: var(--text); }
.acct-modal-intro { margin: 0 0 1rem 0; }

.acct-modal-rows {
  overflow-y: auto;
  flex: 1;
  margin-bottom: 1rem;
  padding-right: 0.25rem;
}
.acct-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--grid);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.55rem;
}
.acct-row.unmapped {
  border-color: rgba(244, 196, 48, 0.4);
  background: rgba(244, 196, 48, 0.06);
}
.acct-row .acct-raw {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
  word-break: break-word;
}
.acct-row .acct-raw .badge {
  background: var(--accent);
  color: #0b0f17;
  font-weight: 700;
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.acct-row input[type="text"] {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--grid-2);
  color: var(--text);
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.92rem;
}
.acct-row input[type="text"]:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(31, 111, 235, 0.08);
}

/* 401k modal row: same shell as account rows but with a Skip checkbox
   beside the ticker input. Skipped rows visually deemphasize the input so
   the user can see at a glance which funds are being dropped vs mapped. */
.k401-row-controls {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.k401-row-controls input[type="text"] {
  flex: 1;
  text-transform: uppercase;
}
.k401-skip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
  cursor: pointer;
}
.k401-skip input[type="checkbox"] {
  accent-color: var(--neg);
  cursor: pointer;
}
.acct-row.skipped .k401-row-controls input[type="text"] {
  opacity: 0.35;
  text-decoration: line-through;
}
.acct-row.skipped .k401-skip {
  color: var(--neg);
}

.acct-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  border-top: 1px solid var(--grid);
  padding-top: 0.9rem;
}
.acct-modal-actions .btn-ghost { width: auto; }

/* ── Sortable table headers (Holdings table) ──────────────────────────────
   Click-cycle: asc → desc → revert-to-default. Arrow shows on the active
   column only; non-active columns reserve the arrow slot's space so widths
   stay stable as the user clicks around. */
th.sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: color 0.1s, background 0.1s;
}
th.sortable:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
th.sortable .sort-arrow {
  display: inline-block;
  min-width: 0.9em;
  margin-left: 0.25em;
  font-size: 0.85em;
  color: var(--pos);
  line-height: 1;
}
