/* Kundenradar — design "Strichliste" (2026-11-04, frontend-design + dataviz skills).
   One typeface, Instrument Sans (width axis: condensed for figures and headings,
   normal for text). Cool desk grey with white paper, blue-black ink for the
   tally, Kiawak blue for the current period and every action.
   Chart colours checked with the dataviz validator (series, red pole, ordinal
   funnel ramp, light and dark). */
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-ext.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root, [data-theme="light"] {
  --page: #eff1f4;
  --panel: #ffffff;
  --panel-2: #f6f7f9;
  --ink: #141b2d;
  --ink-2: #3b4458;
  --muted: #5d6679;
  --faint: #8a93a6;
  --line: #dde2e9;
  --line-2: #c8cfda;
  --grid: #e7eaf0;
  --accent: #2f54eb;
  --accent-hover: #2443c9;
  --accent-soft: #e7ecff;
  --accent-ink: #ffffff;
  --accent-text: #2443c9;
  --tally: #25304b;
  --prev: #a1a9b8;
  --neg: #e34948;
  --f1: #a3b4f8; --f2: #6f88f2; --f3: #2f54eb; --f4: #1d37a6;
  --good: #1e7d52;
  --bad: #c4314b;
  --good-soft: #e3f3ea;
  --bad-soft: #fbe7ea;
  --shadow-lg: 0 2px 6px rgba(20, 27, 45, .06), 0 24px 60px -20px rgba(20, 27, 45, .28);
  color-scheme: light;
}
[data-theme="dark"] {
  --page: #0d111a;
  --panel: #151b27;
  --panel-2: #1a2130;
  --ink: #e8ecf4;
  --ink-2: #c5ccda;
  --muted: #9aa3b5;
  --faint: #6e788c;
  --line: #252d3c;
  --line-2: #323c4f;
  --grid: #212938;
  --accent: #6680f5;
  --accent-hover: #8196ff;
  --accent-soft: #1c2552;
  --accent-ink: #0b0f1a;
  --accent-text: #9fb0ff;
  --tally: #c9d2e6;
  --prev: #5c6578;
  --neg: #e66767;
  --f1: #3650b8; --f2: #5570e6; --f3: #7d95fa; --f4: #b4c2ff;
  --good: #4fd39b;
  --bad: #ff7a90;
  --good-soft: #10291f;
  --bad-soft: #31151c;
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 24px 60px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.5 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.noscroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; font-stretch: 90%; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .86em; background: var(--panel-2); border: 1px solid var(--line); border-radius: 5px; padding: .05em .35em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icw { display: inline-flex; flex: none; }
.ic { display: block; }
.boot { padding: 30vh 24px; text-align: center; color: var(--muted); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--panel); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 10px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.main { min-height: 70vh; padding-bottom: 56px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 9px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-quiet { background: var(--panel); color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-danger { background: transparent; color: var(--bad); border-color: currentColor; }
.btn-danger:hover { background: var(--bad-soft); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; border-radius: 10px; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 14px; border-radius: 8px; gap: 6px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent-text); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.linkbtn:hover { color: var(--accent); }
.iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--ink-2); }
.iconbtn:hover { background: var(--panel); border-color: var(--line); color: var(--ink); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--page) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 18px; font-stretch: 86%; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 28px; height: 28px; }
.biz { display: inline-flex; align-items: center; gap: 8px; padding-left: 18px; border-left: 1px solid var(--line-2); min-width: 0; }
.biz-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22ch; }
.tag { font-size: 12.5px; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); border-radius: 999px; padding: 2px 9px; }
.tabs { display: flex; gap: 4px; margin-left: auto; }
.tab { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 15px; border: 1px solid transparent; }
.tab:hover { color: var(--ink); background: var(--panel); }
.tab.on { color: var(--ink); background: var(--panel); border-color: var(--line); box-shadow: 0 1px 2px rgba(20, 27, 45, .06); }
.tab.on .icw { color: var(--accent); }
.grow { flex: 1; }
.top-tools { display: flex; align-items: center; gap: 4px; }
.lang { display: inline-grid; place-items: center; height: 38px; min-width: 38px; padding: 0 8px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; }
.lang:hover { background: var(--panel); color: var(--ink); }
.tabbar { display: none; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; align-items: baseline; }
.foot-in p { max-width: 70ch; }
.foot-links { display: flex; gap: 20px; }
.foot a { color: var(--ink-2); }

/* ---------- welcome ---------- */
.welcome { padding-top: clamp(36px, 7vw, 88px); }
.w-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.w-intro h1 { font-size: clamp(40px, 6.2vw, 76px); font-stretch: 80%; font-weight: 650; letter-spacing: -0.025em; line-height: .98; max-width: 11ch; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); line-height: 1.5; max-width: 54ch; margin-top: 20px; }
.w-intro .btn { margin-top: 26px; }
.w-art { padding-bottom: 6px; }
.w-art-num { font-size: 18px; color: var(--ink-2); margin-bottom: 8px; }
.w-art-num strong { font-size: 56px; font-weight: 650; font-stretch: 80%; color: var(--ink); letter-spacing: -0.02em; margin-right: 6px; }
.w-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.w-grid h2 { font-size: 22px; margin-bottom: 8px; }
.w-demo > p { max-width: 52ch; }
.w-demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.demo-pick { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, transform .15s; }
.demo-pick:hover { border-color: var(--accent); }
.demo-pick:active { transform: translateY(1px); }
.demo-pick.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.demo-pick-ind { font-weight: 600; }
.demo-pick-name { font-size: 14px; color: var(--muted); }
.w-own .small { margin-top: 12px; max-width: 46ch; }
.create { display: grid; gap: 12px; margin-top: 14px; max-width: 460px; }
.create.compact { grid-template-columns: 1fr 1fr auto; align-items: end; max-width: none; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .inline-form input, .copy input, .app-search { height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel); font-weight: 400; font-size: 16px; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .inline-form input:focus, .copy input:focus, .app-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.create .btn { justify-self: start; }
.form-err { color: var(--bad); font-size: 14px; font-weight: 600; }

/* ---------- overview ---------- */
.ov { padding-top: 22px; display: grid; gap: 22px; }
.demo-note { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.demo-note .icw { display: inline-flex; vertical-align: -4px; margin-right: 6px; color: var(--accent); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.seg { display: inline-flex; padding: 3px; background: color-mix(in srgb, var(--line) 70%, var(--page)); border-radius: 11px; gap: 2px; }
.seg button { height: 34px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 27, 45, .1), 0 0 0 1px var(--line); }
.live { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 4px 2px; font-size: 14px; color: var(--muted); cursor: pointer; }
.live:hover { color: var(--ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.live.on .live-dot, .st-wait .live-dot { background: var(--good); box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 50%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 45%, transparent); } 80%, 100% { box-shadow: 0 0 0 7px transparent; } }

/* hero: the sentence, the goal and the tally sit on the desk, no card */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px 48px; padding-top: 6px; }
.hero-text { align-self: end; }
.hero-line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; row-gap: 0; font-stretch: 100%; }
.hero-num { font-size: clamp(72px, 10vw, 124px); font-weight: 650; font-stretch: 78%; letter-spacing: -0.035em; line-height: .86; color: var(--ink); }
.hero-words { font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; font-stretch: 92%; color: var(--ink-2); letter-spacing: -0.01em; max-width: 18ch; line-height: 1.12; }
.hero-text .hero-line:not(:has(.hero-num)) { font-size: clamp(24px, 3vw, 34px); max-width: 26ch; }
.hero-delta { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 16px; }
.hero-delta.good { color: var(--good); }
.hero-delta.bad { color: var(--bad); }
.hero-delta.flat { color: var(--muted); }
.goal { align-self: end; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 8px; }
.goal-title { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.goal-num strong { font-size: 30px; font-weight: 650; font-stretch: 84%; letter-spacing: -0.02em; }
.goal-num span { color: var(--muted); }
.meter { position: relative; height: 8px; background: var(--accent-soft); border-radius: 999px; margin: 4px 0 2px; }
.meter i { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: 999px; }
.meter b { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--ink); border-radius: 2px; transform: translateX(-1px); }
.goal-note { font-size: 14px; color: var(--muted); }
.goal .btn { justify-self: start; }
.tally-fig { grid-column: 1 / -1; margin: 0; }
.tally-box { min-height: 120px; }
.tally { overflow: visible; }
.tally .base { stroke: var(--line-2); stroke-width: 1; }
.tally path { fill: none; stroke: var(--tally); stroke-linecap: round; stroke-linejoin: round; }
.tally .cur path { stroke: var(--accent); }
.tally .dot { fill: var(--tally); }
.tally .cur .dot { fill: var(--accent); }
.tally .lbl { fill: var(--muted); font-size: 13px; }
.tally .cnt { fill: var(--ink); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tally .cur .lbl { fill: var(--accent-text); font-weight: 600; }
.tally .hit { fill: transparent; cursor: default; }
.tally .col.hover path { stroke-width: 3.1px; }
.tally path.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .22s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tally-cap { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* KPI strip: one sheet, split by hairlines */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.kpi { padding: 18px 20px 16px; display: grid; gap: 6px; align-content: start; border-left: 1px solid var(--line); margin-left: -1px; }
.kpi-top { display: flex; align-items: center; gap: 4px; }
.kpi h3 { font-size: 14.5px; font-weight: 600; font-stretch: 100%; color: var(--ink-2); letter-spacing: 0; }
.info { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: none; color: var(--faint); cursor: pointer; margin: -4px 0; }
.info:hover { color: var(--accent); background: var(--accent-soft); }
.kpi-val { display: flex; align-items: center; gap: 6px; font-size: 32px; font-weight: 650; font-stretch: 84%; letter-spacing: -0.02em; line-height: 1.1; }
.kpi-star { color: var(--accent); }
.kpi-star svg { fill: currentColor; }
.kpi-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
.kpi-sub { font-size: 13.5px; color: var(--muted); }
.kpi-missing { background: var(--panel-2); }
.kpi-missing p { max-width: 30ch; }
.kpi-missing .btn { justify-self: start; margin-top: 2px; }
.delta { display: inline-flex; align-items: center; gap: 3px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.delta.good { color: var(--good); }
.delta.bad { color: var(--bad); }
.delta.flat { color: var(--muted); font-weight: 500; }
.spark polyline { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark .old { stroke: var(--prev); }
.spark .now { stroke: var(--accent); }
.spark circle { fill: var(--accent); stroke: var(--panel); stroke-width: 2; }

/* cards */
.grid { display: grid; gap: 22px; align-items: start; }
.g-a { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.g-b { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.g-c { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.g-1 { grid-template-columns: minmax(0, 1fr); }
.g-n { grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px 22px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.card h2 { font-size: 18px; }
.card-sub { color: var(--muted); font-size: 14px; margin-top: 3px; }
.card-tools { display: flex; gap: 6px; flex: none; }
.tbl-btn { height: 30px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line); background: var(--panel); font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.tbl-btn:hover { color: var(--ink); border-color: var(--line-2); }
.card-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
/* "What stands out" sits open on the desk: a list, not another box */
.card.insights { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 16px 2px 0; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { color: var(--muted); font-weight: 600; font-size: 13px; }
.tbl tbody th { font-weight: 500; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl-sm { font-size: 13.5px; margin-top: 8px; }
.tbl-sm td { padding: 6px 8px; }

/* ranked bars */
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bar-row { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0, 1fr) 96px; align-items: center; gap: 14px; padding: 7px 6px; border-radius: 8px; }
.bar-row:hover, .bar-row:focus-visible { background: var(--panel-2); }
.bar-lbl { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 14px; display: block; }
.bar-track i { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; }
.bar-val { display: flex; justify-content: flex-end; gap: 10px; font-variant-numeric: tabular-nums; }
.bar-val strong { font-weight: 650; }
.bar-val span { color: var(--muted); width: 42px; text-align: right; }

/* insights */
.ins { list-style: none; margin: 0; padding: 0; display: grid; }
.ins-item { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.ins-item:last-child { border-bottom: 0; }
.ins-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--panel); color: var(--ink-2); border: 1px solid var(--line); }
.ins-item.good .ins-ic { color: var(--good); background: var(--good-soft); border-color: transparent; }
.ins-item.bad .ins-ic { color: var(--bad); background: var(--bad-soft); border-color: transparent; }

/* trend + diverging */
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pills button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); font-size: 14px; font-weight: 550; cursor: pointer; color: var(--ink-2); }
.pills button:hover { border-color: var(--accent); color: var(--ink); }
.pills button.on { background: var(--ink); border-color: var(--ink); color: var(--panel); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.lk { display: inline-block; width: 16px; height: 2px; border-radius: 2px; }
.lk-box { width: 10px; height: 10px; border-radius: 3px; }
.lk-cur, .k-cur { background: var(--accent); }
.lk-prev, .k-prev { background: var(--prev); }
.lk-neg, .k-neg { background: var(--neg); }
.chart { min-height: 220px; }
.line .grid, .div .grid { stroke: var(--grid); stroke-width: 1; }
.line .ax, .div .ax { fill: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.line .area { fill: var(--accent); opacity: .1; }
.line .cur { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.line .prev { fill: none; stroke: var(--prev); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.line .end, .line .cdot.c { fill: var(--accent); stroke: var(--panel); stroke-width: 2; }
.line .cdot.p { fill: var(--prev); stroke: var(--panel); stroke-width: 2; }
.line .endlbl { fill: var(--ink); font-size: 13px; font-weight: 650; }
.line .cross { stroke: var(--line-2); stroke-width: 1; }
.line .hit, .div .hit { fill: transparent; }
.div .bar-up { fill: var(--accent); }
.div .bar-down { fill: var(--neg); }
.div .zero { stroke: var(--line-2); stroke-width: 1; }
.div .hit:hover { fill: color-mix(in srgb, var(--ink) 4%, transparent); }

/* feed */
.feed { list-style: none; margin: 0; padding: 0; display: grid; }
.feed-item { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.feed-item:last-child { border-bottom: 0; }
.feed-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--panel-2); color: var(--ink-2); }
.feed-main { display: grid; min-width: 0; font-size: 14.5px; }
.feed-main strong { font-weight: 600; }
.feed-main span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-side { display: grid; justify-items: end; font-size: 13px; }
.feed-side strong { font-size: 14.5px; font-variant-numeric: tabular-nums; }
.feed-item.fresh { animation: fresh 1.8s ease-out; }
@keyframes fresh { 0% { background: var(--accent-soft); } 100% { background: transparent; } }

/* funnel */
.funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fun-row { display: grid; gap: 6px; padding: 6px 0; }
.fun-rate { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); padding-left: 2px; }
.fun-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.fun-line strong { font-variant-numeric: tabular-nums; }
.fun-track { display: block; height: 14px; }
.fun-track i { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.fun-track .f1 { background: var(--f1); } .fun-track .f2 { background: var(--f2); } .fun-track .f3 { background: var(--f3); } .fun-track .f4 { background: var(--f4); }

/* connected apps */
.mini-apps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; }
.mini-apps li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.app-ic.sm { width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.mini-main { display: grid; font-size: 14.5px; min-width: 0; }
.mini-main span { font-size: 13px; }
.mini-ok { color: var(--good); }
.mini-ok.err { color: var(--bad); }

/* empty */
.empty { text-align: center; display: grid; justify-items: center; gap: 14px; padding: 56px 20px 40px; }
.empty h2, .empty h1 { font-size: 28px; }
.empty p { max-width: 52ch; color: var(--ink-2); }
.empty-art { width: 280px; opacity: .9; }

/* tooltip + toast */
.tip { position: fixed; z-index: 60; pointer-events: none; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; box-shadow: var(--shadow-lg); font-size: 13.5px; display: grid; gap: 4px; max-width: 280px; }
.tip-row { display: flex; align-items: center; gap: 8px; }
.tip-row strong { font-variant-numeric: tabular-nums; font-size: 14.5px; }
.tip-row span { color: var(--muted); }
.tip-head span { color: var(--ink); font-weight: 600; }
.tip-key { width: 14px; height: 2px; border-radius: 2px; flex: none; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--panel); padding: 12px 14px 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); max-width: min(560px, calc(100vw - 32px)); font-size: 15px; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.toast.show { transform: translate(-50%, 0); }
.toast .icw { color: var(--good); }
[data-theme="dark"] .toast .icw { color: #1e7d52; }
.toast-btn { margin-left: 6px; background: none; border: 0; color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }

/* ---------- apps ---------- */
.appsv, .setv { padding-top: 34px; }
.page-head { display: grid; gap: 4px; margin-bottom: 26px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 48px); font-stretch: 82%; font-weight: 650; letter-spacing: -0.02em; }
.page-head .lead { margin-top: 10px; }
.steps-card { background: var(--panel); border: 1px solid var(--accent); border-radius: 14px; padding: 22px 24px; margin-bottom: 28px; display: grid; gap: 12px; justify-items: start; }
.steps-card h2 { font-size: 20px; }
.steps { margin: 0; padding-left: 22px; display: grid; gap: 14px; }
.steps li { padding-left: 4px; line-height: 1.5; }
.steps li::marker { font-weight: 650; color: var(--accent-text); }
.copy { display: flex; gap: 8px; margin-top: 8px; width: 100%; max-width: 620px; }
.copy input { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13.5px; height: 38px; color: var(--ink-2); }
.copy .btn { flex: none; }
.app-tools { position: relative; max-width: 420px; margin-bottom: 8px; }
.app-tools .icw { position: absolute; left: 12px; top: 13px; color: var(--faint); pointer-events: none; }
.app-search { padding-left: 38px !important; }
.app-cats { display: grid; gap: 30px; margin-top: 18px; }
.app-cat h2 { font-size: 15px; font-weight: 600; color: var(--muted); font-stretch: 100%; margin-bottom: 8px; }
.app-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); border-top: 1px solid var(--line-2); }
.app { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); }
.app-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); flex: none; }
.app.is-on .app-ic { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.app-main { display: grid; gap: 1px; min-width: 0; }
.app-main strong { font-weight: 600; }
.app-how { font-size: 13px; color: var(--muted); white-space: nowrap; }
.st { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }
.st-ok { color: var(--good); }
.st-err { color: var(--bad); }
.st-wait { color: var(--muted); }
.st.big { font-size: 15px; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: var(--panel-2); gap: 8px; }
.st-ok.big { background: var(--good-soft); }
.st-err.big { background: var(--bad-soft); }

/* connection sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 40; background: rgba(13, 17, 26, .38); display: flex; justify-content: flex-end; animation: fade .18s ease-out; }
.sheet { width: min(560px, 100%); height: 100%; background: var(--panel); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slide .24s cubic-bezier(.2, .8, .2, 1); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: .4; } }
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 20px; flex: 1; }
.sheet-body { padding: 20px 24px 40px; overflow-y: auto; display: grid; gap: 16px; align-content: start; }
.sheet-lead { color: var(--ink-2); }
.sheet-demo { background: var(--accent-soft); border-radius: 12px; padding: 16px; display: grid; gap: 12px; justify-items: start; }
.code { margin: 0; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; font-size: 12.5px; line-height: 1.55; }
.code code { background: none; border: 0; padding: 0; font-size: inherit; }
.inline-form { display: flex; gap: 8px; margin-top: 10px; }
.inline-form .btn { flex: none; }
.drop { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 28px 18px; border: 1.5px dashed var(--line-2); border-radius: 14px; background: var(--panel-2); cursor: pointer; transition: border-color .15s, background-color .15s; }
.drop .icw { color: var(--accent); }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop.busy { opacity: .6; pointer-events: none; }
.disc { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; }
.disc summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.disc[open] { display: grid; gap: 12px; justify-items: start; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid color-mix(in srgb, currentColor 35%, transparent); border-top-color: currentColor; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* settings */
.set-block { padding: 24px 0; border-top: 1px solid var(--line-2); display: grid; gap: 12px; justify-items: start; max-width: 860px; }
.set-block > p { max-width: 62ch; color: var(--ink-2); }
.set-block h2 { font-size: 20px; }
.set-block .w-demos { width: 100%; margin-top: 4px; }
.set-block.danger h2 { color: var(--bad); }
.set-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; width: 100%; }
.form-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }

/* ---------- tax area "Steuern" ---------- */
.taxv { padding-top: 34px; display: grid; gap: 22px; }
.taxv .page-head { margin-bottom: 0; }
.tax-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.tax-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tax-save { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin-left: auto; }
.tax-save .ic { color: var(--good); }
.tax-save.err, .tax-save.err .ic { color: var(--bad); }
.tax-kpis .kpi-val { font-size: 27px; }
.tax-kpis .kpi.neg .kpi-val { color: var(--bad); }
.kpi-open.has { background: var(--accent-soft); }
.kpi-open .btn { justify-self: start; }
.kpi-open .kpi-sub { display: inline-flex; align-items: center; gap: 4px; color: var(--good); }
.tax-empty { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; display: grid; gap: 18px; justify-items: start; }
.tax-empty h2 { font-size: 22px; }
.tax-steps { margin: 0; padding-left: 24px; display: grid; gap: 12px; max-width: 70ch; }
.tax-steps li::marker { font-weight: 650; color: var(--accent-text); }
.tax-empty .small { display: inline-flex; align-items: center; gap: 4px; }
.rev-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; }
.rev-item { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 10px 4px; cursor: pointer; border-radius: 0; }
.rev-item:hover { background: var(--panel-2); }
.rev-main { display: grid; min-width: 0; }
.rev-main strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.rev-main span { font-size: 13.5px; }
.rev-amt { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rev-done { display: grid; gap: 6px; justify-items: start; }
.rev-done .icw { color: var(--good); }
.taxv .bar-row { grid-template-columns: minmax(110px, 200px) minmax(0, 1fr) 170px; }
.taxv .bar-val strong { white-space: nowrap; }
.taxvat .tbl th:not(:first-child) { text-align: right; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 550; padding: 3px 9px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.chip.warn { background: var(--accent-soft); border-color: transparent; color: var(--accent-text); }
.chip.ghost { background: none; border-style: dashed; color: var(--muted); margin-left: 4px; }
.tx-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.tx-tools .app-tools { flex: 1 1 260px; margin: 0; max-width: none; }
.tx-tools select { height: 44px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel); }
.tx-tbl tbody tr { cursor: pointer; }
.tx-tbl tbody tr:hover, .tx-tbl tbody tr:focus-visible { background: var(--panel-2); outline-offset: -2px; }
.tx-tbl tr.is-open .tx-d::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }
.tx-d { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
.tx-main-in { display: grid; max-width: 440px; }
.tx-main strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-main span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-amt { font-weight: 650; }
.tx-amt.in { color: var(--good); }
.txc > .btn { margin-top: 12px; }
.tax-set { padding: 0; }
.tax-set > summary { display: flex; align-items: center; gap: 10px; padding: 18px 22px; cursor: pointer; font-weight: 600; list-style: none; }
.tax-set > summary::-webkit-details-marker { display: none; }
.tax-set > summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--muted); }
.tax-set[open] > summary::after { content: "–"; }
.tax-set[open] > summary { border-bottom: 1px solid var(--line); }
.tax-set-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 20px 22px; }
.tax-set-grid h3 { font-size: 15.5px; font-stretch: 100%; margin-bottom: 10px; }
.tax-set-grid .field { margin-top: 12px; }
.tax-set > .btn-row { padding: 0 22px 20px; }
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; font-size: 14px; }
.rule-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.tax-disc { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--muted); max-width: 90ch; }
.tax-disc .icw { margin-top: 2px; }
.sheet.sheet-wide { width: min(640px, 100%); }
.how { background: var(--panel-2); border-radius: 12px; padding: 12px 14px; display: grid; gap: 10px; font-size: 14.5px; }
.how summary { cursor: pointer; font-weight: 600; }
.how[open] { gap: 10px; }
.imp-sum { display: grid; gap: 6px; }
.imp-big { font-size: 20px; }
.imp-big strong { font-size: 40px; font-weight: 650; font-stretch: 82%; margin-right: 4px; }
.imp-facts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.imp-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.imp-facts strong { font-variant-numeric: tabular-nums; }
.exp-opt { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; text-align: left; width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); cursor: pointer; }
.exp-opt:hover { border-color: var(--accent); }
.exp-opt > span:last-child { display: grid; gap: 3px; }
.tx-form { display: grid; gap: 18px; }
.tx-head { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tx-big { font-size: 34px; font-weight: 650; font-stretch: 84%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tx-big.in { color: var(--good); }
.tx-cp { font-size: 18px; font-weight: 600; }
.tx-ref { font-size: 14.5px; color: var(--ink-2); background: var(--panel-2); border-radius: 8px; padding: 8px 10px; margin-top: 6px; word-break: break-word; }
.tx-form-in { display: grid; gap: 18px; }
.fld { display: grid; gap: 8px; }
.fld-l { font-weight: 600; font-size: 14.5px; }
.fld textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel); resize: vertical; }
.fld textarea:focus, .rc-row input[type=text]:focus, .share-in input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-chips button { min-height: 38px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; font-size: 14px; font-weight: 550; text-align: left; }
.cat-chips button:hover { border-color: var(--accent); }
.cat-chips button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.more-cat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.more-cat select { height: 38px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel); max-width: 100%; }
.tx-extra { display: grid; gap: 18px; }
.tx-hint { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); background: var(--accent-soft); border-radius: 10px; padding: 10px 12px; }
.tx-hint .icw { color: var(--accent); margin-top: 1px; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mini { height: 34px; min-width: 56px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; font-weight: 600; font-size: 14px; }
.mini.on { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.share-in { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; }
.share-in input { width: 72px; height: 34px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); }
.rc-row { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
.rc-row input[type=text] { height: 38px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel); }
.remember { padding-top: 14px; border-top: 1px solid var(--line); }
.btn.push { margin-left: auto; }
.rev-progress { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.rev-bar { display: block; height: 4px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; }
.rev-bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s; }
.print-report { display: none; }
@media print {
  body.printing > :not(.print-report) { display: none !important; }
  body.printing { background: #fff; color: #000; }
  body.printing .print-report { display: block; font: 10.5pt/1.45 "Instrument Sans", system-ui, sans-serif; color: #000; }
  .print-report h1 { font-size: 20pt; margin: 2pt 0 6pt; }
  .print-report h2 { font-size: 12.5pt; margin: 16pt 0 6pt; }
  .print-report .pr-brand { font-weight: 650; color: #2f54eb; }
  .print-report table { width: 100%; border-collapse: collapse; }
  .print-report th, .print-report td { text-align: left; padding: 4pt 6pt; border-bottom: 0.5pt solid #bbb; vertical-align: top; }
  .print-report .num { text-align: right; white-space: nowrap; }
  .print-report .pr-disc { margin-top: 18pt; font-size: 8.5pt; color: #444; }
  @page { margin: 16mm; }
}
@media (max-width: 860px) {
  .tax-set-grid { grid-template-columns: minmax(0, 1fr); }
  .tax-save { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .taxv .bar-row { grid-template-columns: minmax(0, 1fr) 140px; }
  .tax-actions .btn { flex: 1 1 auto; }
  .tx-tbl .tx-cat .chip.ghost { display: none; }
  .tx-tbl th:nth-child(3), .tx-tbl td:nth-child(3) { display: none; }
  .tx-main-in { max-width: 52vw; }
  .tx-big { font-size: 30px; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .g-b { grid-template-columns: minmax(0, 1fr); }
  .g-n { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-n > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hero { grid-template-columns: minmax(0, 1fr) 280px; gap: 12px 28px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .tabs { display: none; }
  .biz { margin-right: auto; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: color-mix(in srgb, var(--panel) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar .tab { flex-direction: column; gap: 2px; height: 52px; justify-content: center; font-size: 12.5px; border: 0; box-shadow: none; background: none; }
  .tabbar .tab.on { color: var(--accent-text); background: none; }
  .main { padding-bottom: 96px; }
  .foot { padding-bottom: 110px; }
  .w-top, .w-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .w-grid { margin-top: 36px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .goal { align-self: stretch; }
  .tally-fig { grid-row: 2; margin-top: 8px; }
  .g-a, .g-c, .g-n { grid-template-columns: minmax(0, 1fr); }
  .create.compact { grid-template-columns: minmax(0, 1fr); }
  .set-form { grid-template-columns: minmax(0, 1fr); }
  .toast { bottom: 84px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .top-in { gap: 10px; height: 56px; }
  .brand span { display: none; }
  .biz { padding-left: 10px; }
  .biz-name { max-width: 14ch; }
  .w-demos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { padding: 14px 14px 12px; border-top: 1px solid var(--line); margin-top: -1px; }
  .kpi-val { font-size: 27px; }
  .kpi-foot { flex-wrap: wrap; }
  .kpi-foot .spark { width: 84px; }
  .card { padding: 16px 16px 18px; }
  .bar-row { grid-template-columns: minmax(0, 1fr) 84px; grid-template-areas: "l v" "t t"; row-gap: 6px; }
  .bar-lbl { grid-area: l; } .bar-track { grid-area: t; } .bar-val { grid-area: v; }
  .app { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .app-how { display: none; }
  .sheet-wrap { align-items: flex-end; }
  .sheet { height: auto; max-height: 90vh; border-radius: 18px 18px 0 0; animation-name: rise; }
  @keyframes rise { from { transform: translateY(40px); opacity: .4; } }
  .sheet-body { padding: 18px 18px 32px; }
  .inline-form, .copy { flex-direction: column; }
  .inline-form .btn, .copy .btn { align-self: flex-start; }
  .foot-in { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .tally path.draw { stroke-dashoffset: 0; }
}
@media (forced-colors: active) {
  .tally path, .line .cur, .line .prev { stroke: CanvasText; }
  .tally .cur path, .bar-track i, .fun-track i, .meter i { stroke: Highlight; background: Highlight; }
}
