:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #f0f3f8;
  --border: #dfe4ec;
  --text: #1a2233;
  --text-2: #4b5567;
  --muted: #7d879a;
  --primary: #1f5fbf;
  --primary-2: #174a94;
  --primary-soft: #e4edfb;
  --accent: #c8a200;
  --good: #1d8a4b;
  --good-soft: #e3f5ea;
  --bad: #c43d3d;
  --bad-soft: #fbe6e6;
  --warn: #c67a08;
  --warn-soft: #fff3df;
  --chart: #2a6fd6;
  --chart-light: #bcd3f5;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20,30,50,.06), 0 4px 16px rgba(20,30,50,.06);
  --sidebar-w: 240px;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.5; }
a { color: var(--primary); text-decoration: none; }
button { font: inherit; }
h1 { font-size: 1.6rem; margin: 0 0 .25rem; }
h2 { font-size: 1.25rem; margin: 1.25rem 0 .5rem; }
h3 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
p { margin: .4rem 0; }
.sub { color: var(--muted); margin-bottom: 1rem; }
code, kbd { background: var(--surface-2); padding: 0 .3em; border-radius: 4px; font-size: .92em; }

/* Layout */
#app { display: flex; min-height: 100vh; }
#sidebar { width: var(--sidebar-w); background: var(--surface); border-right: 1px solid var(--border); display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; z-index: 20; transition: transform .2s; }
#main { margin-left: var(--sidebar-w); flex: 1; padding: 28px 36px 60px; max-width: 1680px; width: 100%; }
#menu-toggle { display: none; position: fixed; top: 10px; left: 10px; z-index: 30; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 1.2rem; cursor: pointer; }
.brand { display: flex; align-items: center; gap: 12px; padding: 20px 18px 14px; }
.brand-logo { width: 42px; height: 42px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; letter-spacing: .5px; }
.brand-title { font-weight: 700; }
.brand-sub { font-size: .78rem; color: var(--muted); }
#nav { padding: 6px 10px; flex: 1; overflow-y: auto; }
#nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--text-2); font-weight: 500; margin: 2px 0; }
#nav a:hover { background: var(--surface-2); }
#nav a.active { background: var(--primary-soft); color: var(--primary-2); }
#nav .ico { width: 20px; text-align: center; font-size: 1rem; }
.nav-group { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 14px 12px 4px; }
.badge { margin-left: auto; background: var(--accent); color: #222; font-size: .72rem; padding: 1px 7px; border-radius: 10px; font-weight: 700; }
.badge:empty { display: none; }
.sidebar-foot { padding: 12px 18px 16px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--text-2); }
.streak { font-weight: 600; }
.session-time { color: var(--muted); font-size: .8rem; }

/* Components */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
.card.tight { padding: 12px 14px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 8px; cursor: pointer; font-weight: 500; transition: background .12s, border-color .12s; }
.btn:hover { background: var(--surface-2); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-2); }
.btn.good { background: var(--good); border-color: var(--good); color: #fff; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--primary); }
.btn.sm { padding: 4px 10px; font-size: .85rem; }
.btn.lg { padding: 12px 20px; font-size: 1.05rem; }
.btn.icon { padding: 8px 10px; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--surface-2); color: var(--text-2); }
.chip.good { background: var(--good-soft); color: var(--good); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.primary { background: var(--primary-soft); color: var(--primary-2); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.right { text-align: right; }
.center { text-align: center; }
.mt { margin-top: 12px; }
.mb { margin-bottom: 12px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 14px 0; }
input[type=text], input[type=number], input[type=date], select, textarea { font: inherit; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary-soft); border-color: var(--primary); }
textarea { width: 100%; min-height: 220px; resize: vertical; line-height: 1.6; }
input[type=range] { accent-color: var(--primary); }
label.inline { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }

.progress { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.progress > div { height: 100%; background: var(--chart); border-radius: 4px; transition: width .3s; }
.progress.good > div { background: var(--good); }
.progress.warn > div { background: var(--warn); }
.progress.bad > div { background: var(--bad); }

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat .val { font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.stat .lbl { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.task-list a.task { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; color: var(--text); background: var(--surface); }
.task-list a.task:hover { border-color: var(--primary); background: var(--primary-soft); }
.task-list .meta { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); }

/* Exam text layouts */
.exam-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
.exam-text { white-space: pre-wrap; line-height: 1.7; font-size: 1rem; }
.exam-text p { margin: 0 0 .8em; }
.exam-text.sticky { position: sticky; top: 16px; max-height: calc(100vh - 40px); overflow: auto; }
.ad { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; background: var(--surface-2); }
.ad .lbl { font-weight: 800; color: var(--primary-2); margin-right: 8px; }
.item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.item:last-child { border-bottom: 0; }
.item .q { font-weight: 600; margin-bottom: 8px; }
.item .num { display: inline-block; min-width: 26px; color: var(--muted); font-weight: 700; }
.opts { display: flex; flex-direction: column; gap: 6px; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; background: var(--surface); }
.opt:hover { border-color: var(--primary); }
.opt.selected { border-color: var(--primary); background: var(--primary-soft); }
.opt.correct { border-color: var(--good); background: var(--good-soft); }
.opt.wrong { border-color: var(--bad); background: var(--bad-soft); }
.opt .key { font-weight: 700; min-width: 20px; color: var(--text-2); }
.opts.inline { flex-direction: row; flex-wrap: wrap; }
.opts.inline .opt { padding: 6px 14px; }
.opts.compact { flex-direction: row; flex-wrap: wrap; gap: 5px; }
.opts.compact .opt { padding: 4px 0; min-width: 36px; justify-content: center; font-weight: 600; }
.opts.compact .opt:last-child { min-width: auto; padding: 4px 10px; font-weight: 500; }
.slide { min-height: auto; }
.why { margin-top: 8px; padding: 8px 12px; background: var(--surface-2); border-left: 3px solid var(--primary); border-radius: 0 8px 8px 0; font-size: .9rem; }
.result-banner { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 16px; display: flex; align-items: center; gap: 20px; }
.result-banner.good { background: var(--good-soft); border: 1px solid #b9e3c8; }
.result-banner.bad { background: var(--bad-soft); border: 1px solid #f1c3c3; }
.result-banner .big { font-size: 2.2rem; font-weight: 800; }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; padding: 6px 12px; border-radius: 8px; background: var(--surface-2); }
.timer.low { background: var(--bad-soft); color: var(--bad); }
.toolbar { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 8px 0 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Audio */
.audio-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; background: var(--surface-2); border-radius: 10px; }
.audio-bar .status { font-size: .85rem; color: var(--text-2); min-width: 120px; }
.transcript .seg { padding: 6px 10px; border-radius: 8px; margin-bottom: 4px; cursor: pointer; display: flex; gap: 10px; }
.transcript .seg:hover { background: var(--surface-2); }
.transcript .seg.playing { background: var(--primary-soft); }
.transcript .spk { font-weight: 700; min-width: 90px; color: var(--primary-2); font-size: .85rem; padding-top: 2px; }
.rec-indicator { width: 12px; height: 12px; border-radius: 50%; background: var(--bad); display: inline-block; animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* Flashcards */
.flashcard { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; cursor: pointer; user-select: none; }
.flashcard .word { font-size: 1.9rem; font-weight: 700; }
.flashcard .forms { color: var(--muted); margin-top: 6px; }
.flashcard .ex { margin-top: 14px; color: var(--text-2); font-style: italic; }
.flashcard .back { border-top: 1px dashed var(--border); margin-top: 16px; padding-top: 16px; width: 100%; }
.rate-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.rate-btns .btn { flex-direction: column; gap: 0; padding: 10px; }
.rate-btns .btn small { color: inherit; opacity: .75; font-weight: 400; }
.word-row { display: grid; grid-template-columns: 2fr 2fr 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.word-row:hover { background: var(--surface-2); }
.word-row .de { font-weight: 600; }
.srs-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 6px; background: var(--border); }
.srs-dot.learning { background: var(--warn); }
.srs-dot.young { background: var(--chart); }
.srs-dot.mature { background: var(--good); }

/* Grammar */
.gtable { border-collapse: collapse; margin: 8px 0; width: 100%; font-size: .93rem; }
.gtable th, .gtable td { border: 1px solid var(--border); padding: 6px 10px; text-align: left; }
.gtable th { background: var(--surface-2); }
.gap-input { width: 160px; display: inline-block; padding: 4px 8px; margin: 0 4px; }
.word-bank { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; min-height: 40px; padding: 8px; border: 1px dashed var(--border); border-radius: 8px; }
.word-bank .w { padding: 5px 10px; border-radius: 6px; background: var(--primary-soft); color: var(--primary-2); cursor: pointer; font-weight: 500; }
.word-bank.built .w { background: var(--surface-2); color: var(--text); }
.word-bank.built:empty::before { content: "Click the words below to build the sentence."; color: var(--muted); font-size: .85rem; }
.explanation p { margin: .5em 0; }
.explanation ul { margin: .4em 0; padding-left: 1.3em; }

/* Writing */
.editor-layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.wordcount { font-weight: 600; }
.wordcount.ok { color: var(--good); }
.wordcount.low { color: var(--bad); }
.check { display: flex; gap: 8px; padding: 6px 0; align-items: flex-start; }
.check .ic { width: 20px; font-weight: 700; }
.check.ok .ic { color: var(--good); }
.check.no .ic { color: var(--bad); }
.check.hint .ic { color: var(--warn); }
.redemittel details { margin-bottom: 6px; }
.redemittel summary { cursor: pointer; font-weight: 600; color: var(--primary-2); }
.redemittel li { font-size: .9rem; cursor: pointer; }
.redemittel li:hover { text-decoration: underline; }
.rubric { display: grid; gap: 10px; }
.rubric .crit { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.rubric .scale { display: flex; gap: 4px; }
.rubric .scale button { width: 34px; height: 30px; border: 1px solid var(--border); background: var(--surface); border-radius: 6px; cursor: pointer; }
.rubric .scale button.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.model-text { white-space: pre-wrap; background: var(--surface-2); padding: 14px; border-radius: 8px; line-height: 1.7; }
.quote { border-left: 4px solid var(--accent); padding: 8px 14px; background: var(--warn-soft); border-radius: 0 8px 8px 0; font-style: italic; }

/* Speaking */
.slide { min-height: 160px; }
.slide .title { font-weight: 700; color: var(--primary-2); margin-bottom: 6px; }
.partner-bubble { background: var(--primary-soft); padding: 12px 16px; border-radius: 14px 14px 14px 4px; margin: 8px 0; max-width: 80%; }
.user-bubble { background: var(--good-soft); padding: 12px 16px; border-radius: 14px 14px 4px 14px; margin: 8px 0 8px auto; max-width: 80%; }
.transcript-box { background: var(--surface-2); padding: 10px 14px; border-radius: 8px; min-height: 60px; font-style: italic; color: var(--text-2); }

/* Charts */
.chart { width: 100%; overflow: visible; }
.chart text { fill: var(--text-2); font-size: 11px; }
.chart .grid-line { stroke: var(--border); stroke-width: 1; }
.chart .bar { fill: var(--chart); }
.chart .bar:hover { fill: var(--primary-2); }
.chart .bar.empty { fill: var(--chart-light); }
.hbar { display: grid; grid-template-columns: 110px 1fr 56px; gap: 10px; align-items: center; padding: 6px 0; }
.hbar .track { height: 10px; background: var(--surface-2); border-radius: 5px; overflow: hidden; }
.hbar .track > div { height: 100%; background: var(--chart); border-radius: 5px; }
.hbar .v { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.heat div { aspect-ratio: 1; border-radius: 4px; background: var(--surface-2); }

/* Toast & modal */
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: #fff; padding: 10px 18px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 100; font-size: .9rem; }
#toast.show { opacity: 1; }
.modal-bg { position: fixed; inset: 0; background: rgba(10,20,40,.45); display: grid; place-items: center; z-index: 90; padding: 20px; }
.modal { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.25); }

.empty { padding: 30px; text-align: center; color: var(--muted); }
.kbd-hint { font-size: .8rem; color: var(--muted); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 14px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 14px; cursor: pointer; color: var(--text-2); font-weight: 500; }
.tabs button.active { color: var(--primary-2); border-bottom-color: var(--primary); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; }
.table th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 900px) {
  #sidebar { transform: translateX(-100%); }
  #sidebar.open { transform: translateX(0); }
  #main { margin-left: 0; padding: 60px 16px 40px; }
  #menu-toggle { display: block; }
  .exam-layout, .editor-layout { grid-template-columns: 1fr; }
  .exam-text.sticky { position: static; max-height: none; }
}
@media print {
  #sidebar, #menu-toggle, .toolbar { display: none; }
  #main { margin: 0; }
}

/* Flip deck (Quizlet-style flashcards) */
.deck { display: flex; align-items: stretch; gap: 10px; margin: 6px 0 14px; }
.deck-nav { width: 48px; flex: 0 0 48px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; font-size: 1.8rem; color: var(--primary); cursor: pointer; }
.deck-nav:hover:not(:disabled) { background: var(--primary-soft); }
.deck-nav:disabled { opacity: .35; cursor: default; }
.flip-card { flex: 1; perspective: 1400px; cursor: pointer; user-select: none; outline: none; min-width: 0; }
.flip-card:focus-visible .flip-inner { box-shadow: 0 0 0 3px var(--primary-soft); }
.flip-inner { display: grid; min-height: max(320px, calc(100vh - 330px)); transition: transform .55s cubic-bezier(.4,.2,.2,1); transform-style: preserve-3d; border-radius: 16px; }
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.face { grid-area: 1 / 1; position: relative; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 44px 48px 36px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.face.back { transform: rotateY(180deg); background: linear-gradient(180deg, var(--surface) 0%, var(--primary-soft) 100%); }
.face .tag { position: absolute; top: 12px; left: 16px; font-size: .7rem; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.face .corner { position: absolute; top: 8px; right: 10px; }
.face .word { font-size: clamp(2.2rem, 1.2rem + 2.2vw, 4.2rem); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.face .forms { color: var(--muted); margin-top: 8px; font-size: clamp(1rem, .85rem + .45vw, 1.4rem); }
.face .ex { margin-top: 16px; color: var(--text-2); font-style: italic; max-width: 900px; font-size: clamp(1rem, .85rem + .5vw, 1.45rem); }
.face .hint { position: absolute; bottom: 10px; left: 0; right: 0; font-size: .75rem; color: var(--muted); }
.know-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 900px; margin: 0 auto; }
.know-btns .btn { flex-direction: column; gap: 0; padding: 14px 10px; font-size: 1.05rem; }
.know-btns .btn small { color: inherit; opacity: .75; font-weight: 400; font-size: .72rem; }
.deck-tools { margin-top: 10px; }
.topic-row { display: flex; align-items: center; gap: 10px; }
.topic-row .hbar { flex: 1; }
@media (max-width: 900px) {
  .deck-nav { width: 36px; flex-basis: 36px; font-size: 1.4rem; }
  .face { padding: 40px 18px 32px; }
  .face .word { font-size: 1.7rem; }
  .flip-inner { min-height: 260px; }
}

/* ---- Lernstand ---- */
.track.stack { display: flex; overflow: hidden; }
.track.stack .seg { height: 100%; }
.track.stack .seg.mature { background: var(--good); }
.track.stack .seg.young { background: var(--chart); }
.track.stack .seg.learning { background: var(--warn); }
.wordgrid .word-row { grid-template-columns: 1.3fr 1fr 1fr; }

/* ---- progress file banner ---- */
#sync-banner { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; gap: 10px; align-items: center; background: var(--warn-soft); color: #4a2d00; border: 1px solid var(--warn); border-radius: 10px; padding: 8px 12px; box-shadow: 0 6px 20px rgba(0,0,0,.12); font-size: .9rem; max-width: 92vw; }

/* ---- Tester-Modus ---- */
.tester-only { display: none !important; }
body.tester .tester-only { display: flex !important; }
#bug-btn { position: fixed; right: 18px; bottom: 18px; z-index: 55; background: #222; color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-size: .9rem; font-weight: 600; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
#bug-btn:hover { background: #000; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumb { position: relative; display: block; width: 160px; height: 100px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #f3f3f3; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button { position: absolute; top: 2px; right: 2px; background: rgba(255,255,255,.9); }
pre.ctx { font-size: .75rem; white-space: pre-wrap; background: #f6f6f6; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; max-height: 260px; overflow: auto; }
.report p { font-size: .95rem; }

/* Hilfssprache switch in the sidebar */
.lang-switch { display: flex; align-items: center; gap: 8px; padding: 0 18px 10px; }
.lang-switch select { flex: 1; padding: 4px 8px; font-size: .85rem; }

/* Prüfungsprognose (dashboard) */
.fc-row { padding: 8px 0; border-bottom: 1px solid var(--border); }
.fc-row:last-of-type { border-bottom: 0; }
.fc-head { display: flex; align-items: center; gap: 10px; }
.fc-head > a { font-weight: 600; min-width: 90px; }
.fc-val { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.fc-track { position: relative; height: 12px; margin: 6px 0 4px; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.fc-band { position: absolute; top: 0; bottom: 0; background: var(--chart); opacity: .18; }
.fc-bar { position: absolute; left: 0; top: 3px; bottom: 3px; border-radius: 3px; background: var(--chart); }
.fc-bar.good { background: var(--good); } .fc-bar.warn { background: var(--warn); } .fc-bar.bad { background: var(--bad); }
.fc-pass { position: absolute; left: 60%; top: -2px; bottom: -2px; width: 2px; background: var(--text); opacity: .55; }
.legal-links { margin-top: 8px; opacity: .75; }
.legal-links a { color: inherit; }
