/* high5 – ein Stylesheet für die Anmeldeseite und die geschützten Seiten.
   Kundenmarke DK (abgeleitet von dk-projekt.de: Schwarz, Akzentgelb #FFC700, Hellgrau #F4F4F2) im Produktrahmen
   PAQ8 mind (Anthrazit #20303A, Teal hell #E8F2F2) – wie DK Monti. Freigabe des Designs durch DK offen. */
:root {
  --ink: #111111; --accent: #FFC700; --bg: #F4F4F2; --card: #FFFFFF; --muted: #6B6B6B; --line: #E3E3DE;
  --error: #B42318; --error-bg: #FEF3F2; --ok: #1A7F37; --ok-bg: #EDF7EF; --warn: #8A5A00; --warn-bg: #FFF6DB;
  --pf-anthracite: #20303A; --pf-teal-light: #E8F2F2;
  --plus: #1A7F37; --minus: #B42318;  /* Belegarten: mehrt (grün, Plus) bzw. mindert (rot, Minus) das Ergebnis (E47) */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Produktrahmen PAQ8 mind */
.platform-bar { background: var(--pf-anthracite); color: #fff; font-size: 13px; line-height: 1.2; }
.platform-bar .wrap { min-height: 34px; padding-top: 8px; padding-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.platform-mark { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; font-size: 17px; line-height: 1; }
.platform-mark img { display: block; height: 18px; width: auto; filter: brightness(0) invert(1); }
.platform-mark span { font-weight: 500; color: var(--pf-teal-light); }
.platform-claim { color: rgba(255, 255, 255, .78); letter-spacing: .04em; }

/* Kopfzeile mit Kundenmarke */
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 14px; padding-bottom: 14px; }
/* Logo DK Projekt high5 (E39, E48): Firmenschriftzug, Icon mit zwei Händen beim High five und „high5“ als eine
   Wortmarke; die gelbe Linie läuft unter allem durch, ein feiner Trennstrich gliedert. */
.logo { display: inline-flex; align-items: center; gap: 11px; padding-bottom: 5px; border-bottom: 3px solid var(--accent); line-height: 1; white-space: nowrap; }
.logo .wordmark { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 16px; }
.logo .product { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 19px; letter-spacing: .005em; position: relative; top: -1px; }
.logo-icon { display: block; width: 28px; height: 28px; margin: -8px 0 -5px; }
.logo-sep { width: 2px; height: 15px; background: var(--ink); opacity: .22; border-radius: 1px; }
.user { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--muted); }
a.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.mainnav { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 18px; }
.mainnav a { font-weight: 800; font-size: 16px; color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 8px; border: 2px solid transparent; }
.mainnav a:hover { border-color: var(--accent); }
.mainnav a[aria-current="page"] { background: var(--accent); }
main.wide { max-width: 1240px; }
.gear { display: inline-flex; padding: 6px; border-radius: 8px; color: var(--ink); }
.gear svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.gear:hover, .gear[aria-current="page"] { background: var(--bg); box-shadow: inset 0 -3px 0 var(--accent); }

main.wrap { flex: 1; padding-top: 28px; padding-bottom: 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin: 0 0 18px; }
.narrow { max-width: 460px; }
.card h1 { font-size: 24px; margin: 0 0 8px; }
.card h2 { font-size: 19px; margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.card > .small { margin: 12px 0 0; }
p { margin: 0 0 14px; }
ol.steps { margin: 0 0 16px; padding-left: 22px; }
ol.steps li { margin-bottom: 10px; }
dl.key { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 8px 0 0; }
dl.key dt { color: var(--muted); font-size: 13px; padding-top: 2px; }
dl.key dd { margin: 0; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.secret { font-size: 17px; letter-spacing: .04em; word-break: break-word; }
ul.codes { list-style: none; margin: 0 0 14px; padding: 12px 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px 14px; background: var(--bg); border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; }

.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
input[type="text"], input[type="email"], input[type="number"], input[type="date"], select { font: inherit; padding: 10px 12px; border: 1px solid #CFCFC8; border-radius: 8px; background: #fff; width: 100%; }
table input[type="text"], table input[type="number"], table select { padding: 6px 8px; min-width: 70px; }
table input.value { text-align: right; max-width: 140px; }
table input.label { min-width: 240px; }
td.num, th.num { text-align: right; white-space: nowrap; }
input[type="number"] { text-align: right; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.tabs a { padding: 8px 14px; border-radius: 8px; border: 1px solid #CFCFC8; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; }
.tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.back { display: inline-block; margin: 0 0 14px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 0 0 12px; }
.toolbar .field { margin-bottom: 0; min-width: 170px; }
.ok { color: var(--ok); background: var(--ok-bg); border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
.icon { padding: 4px 9px; font-size: 15px; line-height: 1; }
.tag.archiviert { background: #EAEAE5; color: var(--muted); }
.project-number { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; color: var(--muted); margin-right: 8px; }
input.code { max-width: 180px; font-size: 20px; letter-spacing: .2em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.check { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.row .field { flex: 1; min-width: 220px; margin-bottom: 0; }

button, .button { font: inherit; cursor: pointer; border-radius: 8px; border: 1px solid transparent; padding: 9px 16px; font-weight: 600; text-decoration: none; display: inline-block; text-align: center; }
.primary { background: var(--ink); color: #fff; }
.primary:hover { background: #000; box-shadow: inset 0 -3px 0 var(--accent); }
.secondary { background: #fff; color: var(--ink); border-color: #CFCFC8; }
.secondary:hover { border-color: var(--ink); }
.tiny { padding: 5px 10px; font-size: 13px; }
.block { display: block; width: 100%; }
button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
/* Rückmeldung am Button (E37): 3 Sekunden sanft und pastellig */
button.flash-ok, .button.flash-ok { background: #D3F0DA; color: #145C2B; border-color: #9FD5AE; box-shadow: none; opacity: 1; transition: background .3s, color .3s, border-color .3s; }
button.flash-error, .button.flash-error { background: #F8D7D3; color: #8A1C12; border-color: #E8A39B; box-shadow: none; opacity: 1; transition: background .3s, color .3s, border-color .3s; }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font-weight: 400; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.error { color: var(--error); background: var(--error-bg); border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
.notice { color: var(--warn); background: var(--warn-bg); border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }

.scroll { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
td.actions-cell { white-space: nowrap; text-align: right; }
td.actions-cell button { margin-left: 6px; }
td.order-cell { white-space: nowrap; width: 1%; }
td.order-cell button + button { margin-left: 4px; }
.tag { display: inline-block; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; background: #EAEAE5; color: var(--muted); }
.tag.aktiv, .tag.yes { background: var(--ok-bg); color: var(--ok); }
.tag.gesperrt { background: var(--error-bg); color: var(--error); }

footer { background: #fff; border-top: 1px solid var(--line); }
footer .wrap { padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--muted); }
/* Belegupload */
#messages .ok, #messages .error { font-size: 16px; padding: 14px 18px; margin: 0 0 16px; border-left: 5px solid currentColor; }
#messages .ok { font-weight: 700; }
#messages .error ul { margin: 6px 0 0; padding-left: 20px; }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  min-height: 340px; padding: 40px 24px; border: 3px dashed #CFCFC8; border-radius: 16px; background: #fff; transition: border-color .15s, background .15s; }
.dropzone.over { border-color: var(--accent); background: #FFF9E0; }
.dropzone svg { width: 64px; height: 64px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dropzone h2 { font-size: 26px; margin: 0; }
.dropzone .rules { color: var(--muted); margin: 0; }
.dropzone .button { font-size: 17px; padding: 12px 22px; }
.kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0 0 16px; }
.kind { display: block; border: 2px solid #CFCFC8; border-top-width: 7px; border-radius: 12px; padding: 14px 16px 16px; cursor: pointer; background: #fff; }
.kind.plus { border-top-color: var(--plus); }
.kind.minus { border-top-color: var(--minus); }
.kind-head { display: flex; align-items: center; gap: 8px; }
.kind-head input { margin: 0; flex: none; }
.kind-head strong { font-size: 17px; flex: 1; }
.kind-hint { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.kind:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 -4px 0 var(--accent); }
.kind.plus:has(input:checked) { border-top-color: var(--plus); }
.kind.minus:has(input:checked) { border-top-color: var(--minus); }
/* Plus bzw. Minus als gut sichtbares Zeichen in einem Kreis */
.sign { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  color: #fff; font-size: 24px; font-weight: 800; line-height: 1; }
.plus .sign { background: var(--plus); }
.minus .sign { background: var(--minus); }
/* Übersicht der Belegarten über dem Ablagebereich (nicht klickbar, Erklärung beim Darüberfahren) */
.kind-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 16px; }
.kind-legend-title { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kind-legend ul { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0; padding: 0; }
.kind-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px;
  background: #fff; border: 1px solid #CFCFC8; font-weight: 700; font-size: 15px; cursor: help; }
.kind-chip:hover { border-color: var(--ink); }
.kind-chip .sign { width: 24px; height: 24px; font-size: 19px; }
.kind-chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.kind-tip { display: none; position: absolute; z-index: 25; top: calc(100% + 8px); left: 0; width: 320px; max-width: 80vw; padding: 10px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(17, 17, 17, .15);
  font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--ink); cursor: default; }
.kind-chip:nth-last-child(-n+2) .kind-tip { left: auto; right: 0; }
.kind-chip:hover .kind-tip, .kind-chip:focus .kind-tip { display: block; }
/* Schmale Bildschirme: Erklärung über die ganze Breite der Übersicht, damit sie nicht aus dem Bild ragt */
@media (max-width: 640px) {
  .kind-legend { position: relative; }
  .kind-chip { position: static; }
  .kind-tip, .kind-chip:nth-last-child(-n+2) .kind-tip { top: 100%; left: 0; right: 0; width: auto; max-width: none; margin-top: 6px; }
}
/* Mülleimer (Belegliste, Uploadprotokoll) */
button.trash { display: inline-flex; align-items: center; justify-content: center; padding: 5px; border-radius: 8px; background: #fff;
  border: 1px solid #CFCFC8; color: var(--muted); }
button.trash svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
button.trash:hover:not(:disabled) { color: var(--error); border-color: var(--error); background: var(--error-bg); }
td.trash-cell { width: 1%; padding-right: 0; }
/* Uploadprotokoll (E46) */
.upload-log > tbody > tr.upload-event > td { font-weight: 600; }
.upload-log .stamp { color: var(--ink); text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.upload-log .stamp:hover { text-decoration: underline; }
.caret { display: inline-block; width: 0; height: 0; border-left: 6px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; transition: transform .15s; }
.stamp[aria-expanded="true"] .caret { transform: rotate(90deg); }
tr.upload-detail > td { background: var(--bg); padding: 8px 10px 2px 24px; }
.receipt-list { background: #fff; border-radius: 8px; }
.receipt-list td { font-weight: 400; }
.assignment { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.assignment .share { white-space: nowrap; }
.receipt-list td.file-name { word-break: break-word; min-width: 140px; }
.kind-tag { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; }
.kind-tag.plus { background: var(--plus); }
.kind-tag.minus { background: var(--minus); }
.projects-pick td { vertical-align: middle; }
.projects-pick input.percent, #file-table input.amount, #file-table input.vat { max-width: 150px; text-align: right; }
#file-table input.read { background: #FFF9E0; }
#file-table input.doc-date { min-width: 150px; }
#file-table input.inv-no { min-width: 140px; }
#file-table tr.skipped td { opacity: .45; text-decoration: line-through; }
#file-table tr.skipped td.read-status { text-decoration: none; }
dialog.dup-dialog { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; max-width: 520px; box-shadow: 0 24px 60px rgba(17, 17, 17, .25); }
dialog.dup-dialog::backdrop { background: rgba(17, 17, 17, .35); }
dialog.dup-dialog h2 { margin: 0 0 12px; font-size: 20px; border-left: 4px solid var(--accent); padding-left: 10px; }
.read-status { white-space: nowrap; }
#file-table td.num, .projects-pick td.num { width: 1%; }
.sum { font-weight: 700; }
progress { width: 140px; }
@media (max-width: 760px) { .mainnav { margin-left: 0; width: 100%; order: 3; } }
@media (max-width: 560px) { .user span { display: none; } .platform-claim { display: none; } }

/* ---------- Dashboard (E41) ---------- */
.range-bar { position: relative; margin: 0 0 14px; }
.range-bar h1 { font-size: 26px; margin: 0 0 12px; }
.range-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 22px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #fff; border: 1px solid #CFCFC8; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
.range-inputs { display: flex; align-items: flex-end; gap: 10px; }
.range-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.date-box { display: flex; align-items: center; border: 1px solid #CFCFC8; border-radius: 8px; background: #fff; }
.date-box input { border: 0; width: 120px; padding: 9px 10px; font: inherit; font-size: 15px; color: var(--ink); background: transparent; }
.date-box input.active { box-shadow: inset 0 -3px 0 var(--accent); }
.date-box input.invalid { color: var(--error); }
.date-box input:focus-visible { outline: none; }
.date-box:focus-within { outline: 3px solid var(--accent); outline-offset: 1px; }
.cal-btn { background: none; border: 0; border-left: 1px solid var(--line); border-radius: 0 8px 8px 0; padding: 8px 11px; font-size: 16px; color: var(--ink); }
.range-dash { padding-bottom: 10px; color: var(--muted); }
.range-error { color: var(--error); margin: 8px 0 0; font-size: 14px; }
.calendar { position: absolute; z-index: 20; top: 100%; right: 0; margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(17, 17, 17, .14); padding: 14px; width: 330px; }
.cal-head { display: flex; gap: 6px; align-items: center; }
.cal-head select { padding: 6px 8px; }
.cal-hint { margin: 8px 0 6px; font-size: 13px; color: var(--muted); }
.cal-grid { width: 100%; border-collapse: collapse; font-size: 14px; }
.cal-grid th, .cal-grid td { border: 0; padding: 1px; text-align: center; }
.cal-grid th { font-size: 11px; color: var(--muted); }
.cal-grid .kw { border-right: 1px solid var(--line); }
.cal-grid button { width: 34px; height: 32px; padding: 0; border-radius: 6px; font-weight: 500; background: none; color: var(--ink); border: 1px solid transparent; }
.cal-grid button:hover { background: var(--bg); }
.cal-grid .kw-btn { color: var(--muted); font-size: 12px; width: 30px; }
.cal-grid .day.other { color: #AFAFA8; }
.cal-grid .day.today { border-color: var(--ink); }
.cal-grid .day.in-range { background: #FFF4C7; border-radius: 0; }
.cal-grid .day.selected { background: var(--ink); color: #fff; border-radius: 6px; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.dash-notes p { margin: 0 0 12px; }
.dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; transition: opacity .2s; }
.dash-grid.loading { opacity: .5; }
.dash-grid .card { margin: 0; }
.chart-card h2 { font-size: 18px; }
.chart-card.wide { grid-column: 1 / -1; }
@media (max-width: 1000px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } }
.empty { padding: 30px 0; text-align: center; }
.pie-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
svg.pie { width: 170px; height: 170px; flex: none; }
svg.pie .slice { stroke: #fff; stroke-width: 2; cursor: pointer; }
svg.pie .slice:hover, svg.pie .slice:focus { opacity: .85; outline: none; }
svg.pie .slice-label { fill: #fff; font-size: 12px; font-weight: 700; text-anchor: middle; pointer-events: none; }
.legend-table { width: auto; flex: 1; min-width: 200px; font-size: 13px; }
.legend-table td { padding: 4px 6px; border-bottom: 1px solid var(--line); }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; }
svg.bars, svg.lines { display: block; max-width: 100%; height: auto; }
svg .grid { stroke: var(--line); stroke-width: 1; }
svg .axis { stroke: #8A8A84; stroke-width: 1; }
svg .tick { fill: var(--muted); font-size: 11px; }
svg .bar { fill: var(--ink); }
svg .bar.negative { fill: #6B6B6B; }
svg .bar-value { fill: var(--ink); font-size: 13px; font-weight: 700; }
svg .bar-label { fill: var(--ink); font-size: 12px; }
.formula { margin: 8px 0 0; }
.vat-row { margin: 0 0 14px; }
.vat-line { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 5px; }
.vat-track { height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden; }
.vat-bar { display: block; height: 100%; border-radius: 5px; background: var(--ink); }
.vat-bar.input { background: #8A8A84; }
.vat-due { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 2px solid var(--ink); padding-top: 10px; margin-top: 4px; font-size: 14px; }
.vat-due strong { font-size: 22px; }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.card-head h2 { margin: 0; }
.inline-field { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.inline-field select { width: auto; min-width: 260px; padding: 8px 10px; }
.line-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; margin: 0 0 6px; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.line-key { display: inline-block; width: 18px; border-top: 3px solid; }
.line-key.result { width: 26px; }
svg .series { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
svg .series.result { stroke-width: 2.5; }
svg .series.result.negative { stroke-dasharray: 6 5; }
svg .crosshair { stroke: #8A8A84; stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
svg .hit { fill: transparent; cursor: crosshair; outline: none; }
.table-view { margin-top: 10px; font-size: 13px; }
.table-view summary { cursor: pointer; color: var(--muted); }
.chart-tip { position: absolute; z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(17, 17, 17, .15); padding: 8px 10px; font-size: 13px; pointer-events: none; max-width: 320px; }
.tip-title { font-weight: 700; margin-bottom: 4px; }
.tip-row { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.tip-key { display: inline-block; width: 14px; border-top: 3px solid; }
.tip-key.dashed { border-top-style: dashed; }
