/* CoraOS – Bereiche (Todos, Kalender, Projekte, Gedächtnis, Verträge, Budget, Bots, Whiteboard) */

/* ---------- Dialoge ---------- */
.dialog-hinter { position: fixed; inset: 0; z-index: 60; background: rgba(5, 6, 8, .62); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: hinter-rein 180ms ease both; overflow-y: auto; }
.dialog { background: linear-gradient(180deg, #1c1f25, #16181d); border: 1px solid var(--linie-2); border-radius: 20px; padding: 24px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .75); max-height: calc(100vh - 40px); overflow-y: auto; animation: dialog-rein 240ms var(--ease-out) both; }
.dialog-hinter.zu { opacity: 0; transition: opacity 150ms ease; }
.dialog-hinter.zu .dialog { transform: scale(0.98); transition: transform 150ms ease; }
@keyframes hinter-rein { from { opacity: 0; } to { opacity: 1; } }
@keyframes dialog-rein { from { opacity: 0; transform: scale(0.96) translateY(6px); } to { opacity: 1; transform: none; } }
.abschnitt { font-size: 13px; color: var(--text-2); font-weight: 600; margin: 26px 0 10px; }
.umschalter { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--flaeche); border: 1px solid var(--linie); }
.umschalter a { padding: 6px 14px; border-radius: 8px; color: var(--text-2); font-weight: 500; text-decoration: none !important; transition: background-color 150ms ease, color 150ms ease; }
.umschalter a.an { background: var(--flaeche-3); color: var(--text); }
.md-text { color: var(--text-2); line-height: 1.6; }
.md-text h1, .md-text h2, .md-text h3 { color: var(--text); font-size: 15px; margin: 16px 0 6px; }
.md-text strong { color: var(--text); }
.md-text code { font-family: var(--mono); font-size: 12.5px; background: rgba(0, 0, 0, .3); padding: 1px 5px; border-radius: 5px; }
.md-text ul { padding-left: 20px; } .md-text li { margin: 3px 0; }
.md-text table { border-collapse: collapse; font-size: 13px; } .md-text td, .md-text th { border: 1px solid var(--linie-2); padding: 4px 8px; }

/* ---------- Todos ---------- */
.todo-schnell { display: flex; gap: 8px; padding: 8px; margin-bottom: 14px; }
.todo-schnell input#neu { flex: 1; border: 0; background: transparent; box-shadow: none !important; font-size: 15px; }
.todo-schnell select, .todo-schnell input[type=date] { width: auto; }
.todo { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; transition: background-color 140ms ease; }
@media (hover: hover) and (pointer: fine) { .todo:hover { background: var(--flaeche-2); } }
.todo + .todo { border-top: 1px solid var(--linie); }
.haken { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--linie-2); background: transparent; cursor: pointer; flex: none; display: grid; place-items: center; padding: 0; transition: background-color 180ms ease, border-color 180ms ease, transform 140ms var(--ease-out); }
.haken:active { transform: scale(0.9); }
.haken svg { width: 15px; height: 15px; fill: none; stroke: #1c0e04; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset 260ms var(--ease-out) 60ms; }
.todo.hoch .haken { border-color: rgba(255, 122, 47, .7); }
.todo.fertig .haken { background: var(--gut); border-color: var(--gut); }
.todo.fertig .haken svg { stroke-dashoffset: 0; }
.todo-text { flex: 1; min-width: 0; cursor: pointer; }
.todo-text b { font-weight: 500; display: block; transition: color 200ms ease; }
.todo-text small { color: var(--text-3); display: block; }
.todo.fertig .todo-text b { color: var(--text-3); text-decoration: line-through; }
.todo-meta { display: flex; gap: 6px; }

/* ---------- Kalender ---------- */
.kal-kopf { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.kal-kopf b { font-size: 17px; min-width: 150px; text-align: center; text-transform: capitalize; }
.kal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.kal-wt { font-size: 11.5px; color: var(--text-3); text-align: center; padding: 4px 0; font-weight: 600; }
.kal-tag { min-height: 88px; border-radius: 10px; background: var(--bg-2); padding: 6px; display: flex; flex-direction: column; gap: 3px; cursor: pointer; border: 1px solid transparent; transition: border-color 140ms ease; overflow: hidden; }
@media (hover: hover) and (pointer: fine) { .kal-tag:hover { border-color: var(--linie-2); } }
.kal-tag.fremd { opacity: .38; }
.kal-tag.heute { border-color: rgba(255, 122, 47, .55); }
.kal-tag.heute .kal-nr { background: var(--akzent); color: #1c0e04; }
.kal-nr { font: 600 12px/22px var(--mono); width: 24px; height: 22px; border-radius: 7px; text-align: center; }
.kal-tag i { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 5px; background: color-mix(in srgb, var(--f) 18%, transparent); color: var(--f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kal-tag em { font-style: normal; font-size: 11px; color: var(--text-3); }
.bald-zeile { display: flex; gap: 12px; align-items: center; padding: 8px 4px; cursor: pointer; border-radius: 10px; }
.bald-zeile + .bald-zeile { border-top: 1px solid var(--linie); }
.bald-datum { width: 38px; text-align: center; flex: none; }
.bald-datum b { display: block; font: 600 18px/1 var(--mono); }
.bald-datum small { color: var(--text-3); font-size: 11px; text-transform: uppercase; }
.bald-strich { width: 3px; align-self: stretch; border-radius: 3px; flex: none; }
.bald-zeile b { font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bald-zeile small { color: var(--text-3); }

/* ---------- Projekte ---------- */
.kanban { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.spalte { display: flex; flex-direction: column; gap: 10px; min-height: 160px; border-radius: 14px; padding: 4px; transition: background-color 150ms ease; }
.spalte.drueber { background: var(--akzent-hauch); }
.spalte-kopf { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; color: var(--text-2); padding: 4px 6px; }
.spalte-kopf i { width: 8px; height: 8px; border-radius: 50%; }
.spalte-kopf em { margin-left: auto; font-style: normal; color: var(--text-3); font-family: var(--mono); }
.prj { padding: 14px; } .prj.ziehen { opacity: .4; }
.prj-balken { height: 4px; border-radius: 4px; background: var(--flaeche-3); margin: 12px 0 6px; overflow: hidden; }
.prj-balken i { display: block; height: 100%; border-radius: 4px; transform-origin: left; animation: balken-rein 600ms var(--ease-out) both; }
@keyframes balken-rein { from { transform: scaleX(0); } to { transform: none; } }
.sterne { color: var(--warn); letter-spacing: 1px; font-size: 13px; white-space: nowrap; }

/* ---------- Gedächtnis ---------- */
.werkzeuge { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.werkzeuge input { width: min(320px, 100%); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--linie-2); background: transparent; color: var(--text-2); cursor: pointer; font-weight: 500; transition: background-color 140ms ease, color 140ms ease, transform 140ms var(--ease-out); }
.chip:active { transform: scale(0.97); }
.chip.an { background: var(--flaeche-3); color: var(--text); border-color: transparent; }
.chip em { font-style: normal; color: var(--text-3); font-family: var(--mono); font-size: 12px; margin-left: 4px; }
.erinnerung b { display: block; margin: 10px 0 4px; }
.erinnerung p { margin: 0; color: var(--text-3); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tagebuch { margin-bottom: 10px; }
.tagebuch summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; list-style: none; }
.tagebuch summary::-webkit-details-marker { display: none; }
.tagebuch[open] summary { margin-bottom: 10px; }

/* ---------- Tabellen, Budget ---------- */
.tabelle { width: 100%; border-collapse: collapse; }
.tabelle th { text-align: left; font-size: 12px; color: var(--text-3); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--linie); }
.tabelle td { padding: 12px 16px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle tbody tr { cursor: pointer; transition: background-color 120ms ease; }
@media (hover: hover) and (pointer: fine) { .tabelle tbody tr:hover { background: var(--flaeche-2); } }
.tabelle tbody tr:last-child td { border-bottom: 0; }
.buchung { display: flex; align-items: center; gap: 12px; padding: 10px 4px; cursor: pointer; }
.buchung + .buchung { border-top: 1px solid var(--linie); }
.buchung b { font-weight: 500; display: block; } .buchung small { color: var(--text-3); }
.fix-zeile { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0 10px; position: relative; font-size: 13.5px; }
.fix-zeile i { position: absolute; left: 0; bottom: 2px; height: 3px; border-radius: 3px; background: var(--akzent); opacity: .7; transform-origin: left; animation: balken-rein 600ms var(--ease-out) both; }

/* ---------- Whiteboard ---------- */
.board-vorschau { height: 130px; border-radius: 10px; background: var(--bg-2); margin-bottom: 12px; overflow: hidden; }
.board-vorschau img { width: 100%; height: 100%; object-fit: cover; }
.board-werkzeug { align-items: center; }
.farbe { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; transition: transform 140ms var(--ease-out); }
.farbe.an { border-color: var(--text); transform: scale(1.12); }
.leinwand { flex: 1; width: 100%; touch-action: none; cursor: crosshair; background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px; }

@media (max-width: 860px) {
  .kal-tag { min-height: 58px; }
  .kal-tag i { font-size: 0; height: 5px; padding: 0; }
  .kanban { grid-template-columns: repeat(5, 78vw); }
}

/* ---------- Startseite / Cockpit ---------- */
.cockpit .kopf { align-items: center; }
.uhr-block { text-align: right; }
.uhr { font-size: 38px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.uhr-block .ganz-leise { font-size: 13px; margin-top: 4px; text-transform: capitalize; }
.skelett { min-height: 106px; background: linear-gradient(90deg, var(--flaeche) 0%, var(--flaeche-2) 50%, var(--flaeche) 100%); background-size: 200% 100%; animation: schimmer 1.2s linear infinite; }
@keyframes schimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.abschnitt-titel { display: flex; justify-content: space-between; align-items: baseline; margin: 28px 2px 12px; }
.abschnitt-titel span { font: 400 24px/1 var(--serif); font-style: italic; color: var(--text); letter-spacing: -.01em; }
.abschnitt-titel a { font-size: 13px; }
.kennzahl { color: inherit; text-decoration: none !important; overflow: hidden; }
.kennzahl::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, var(--glanz, transparent), transparent 70%); opacity: .5; pointer-events: none; }
.kz-akzent { --glanz: rgba(255, 122, 47, .35); } .kz-akzent .wert { color: var(--akzent-2); }
.kz-gut { --glanz: rgba(58, 214, 160, .25); }
.kz-schlecht { --glanz: rgba(255, 90, 110, .35); } .kz-schlecht .wert { color: var(--schlecht); }
.mini-kurs { display: block; padding: 12px 14px 8px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--linie); color: inherit; text-decoration: none !important; transition: border-color 150ms ease, transform 150ms var(--ease-out); }
.mini-kurs:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .mini-kurs:hover { border-color: var(--linie-2); } }
.mk-oben { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.mk-oben b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-preis { font-size: 19px; font-weight: 600; letter-spacing: -.03em; margin: 4px 0 2px; }
.mini-kurs .spark { height: 34px; }
.mini-bot { display: block; padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--linie); color: inherit; text-decoration: none !important; }
.mini-bot + .mini-bot { margin-top: 10px; }
.mb-kopf { display: flex; justify-content: space-between; align-items: center; }
.mb-name { font-weight: 600; font-size: 15px; letter-spacing: -.02em; }
.mb-werte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.mb-werte small { display: block; color: var(--text-3); font-size: 11.5px; } .mb-werte b { font-size: 17px; font-weight: 600; }
.mb-tests { display: flex; gap: 10px; align-items: flex-end; border-top: 1px solid var(--linie); padding-top: 12px; }
.mb-test { width: 34px; height: 54px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; flex: none; }
.mb-test i { width: 18px; border-radius: 4px; background: var(--gut); transform-origin: bottom; animation: wachsen 500ms var(--ease-out) both; }
.mb-test i.minus { background: var(--schlecht); } .mb-test span { font-size: 10.5px; color: var(--text-3); font-family: var(--mono); }
.mb-test-text { font-size: 12.5px; color: var(--text-2); line-height: 1.5; align-self: center; }
.todo.mini { padding: 7px 4px; gap: 10px; } .todo.mini .haken { width: 21px; height: 21px; border-radius: 7px; } .todo.mini .todo-text b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mehr { display: block; font-size: 12.5px; padding: 8px 4px 0; }
.mini-prj + .mini-prj { margin-top: 10px; }
.mp-kopf { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 500; }
.mini-prj .prj-balken { margin: 7px 0 0; }
.mini-server { display: grid; grid-template-columns: 10px 76px 1fr 54px; gap: 10px; align-items: center; padding: 5px 0; font-size: 13px; }
.mini-server b { font-weight: 500; white-space: nowrap; } .mini-server .mono { text-align: right; font-size: 12px; }
.puls.klein { height: 16px; gap: 1px; }
.balken-achse { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); margin-top: 6px; }
@media (max-width: 860px) { .uhr-block { display: none; } .mb-werte b { font-size: 15px; } }
.mk-oben b { min-width: 0; flex: 1; } .mk-oben span { white-space: nowrap; flex: none; }
.geraet-kopf { display: flex; gap: 12px; align-items: center; }
.geraet-ikon { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--linie); display: grid; place-items: center; font-size: 21px; flex: none; }
.geraet-kopf b { display: block; font-weight: 600; } .geraet-kopf small { color: var(--text-3); font-size: 12.5px; }
.geraet-daten { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 14px 0 0; font-size: 12.5px; }
.geraet-daten dt { color: var(--text-3); } .geraet-daten dd { margin: 0; color: var(--text-2); overflow-wrap: anywhere; }

/* ---------- Gedächtnis-Netz ---------- */
.netz-seite { display: flex; flex-direction: column; height: 100%; }
.netz-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 26px 32px 14px; flex-wrap: wrap; }
.netz-kopf h1 { margin: 0; font-size: 28px; letter-spacing: -.025em; } .netz-kopf p { margin: 4px 0 0; }
.netz-inhalt { flex: 1; position: relative; min-height: 0; overflow-y: auto; }
#netz { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none;
  background: radial-gradient(ellipse at 50% 45%, rgba(255, 122, 47, .05), transparent 60%); }
.netz-legende { position: absolute; left: 24px; bottom: 22px; display: flex; gap: 6px; flex-wrap: wrap; max-width: 60%; }
.netz-leg { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 9px; background: rgba(22, 24, 29, .85); border: 1px solid var(--linie-2); color: var(--text-2); font-size: 12.5px; cursor: pointer; backdrop-filter: blur(8px); transition: opacity 160ms ease, transform 140ms var(--ease-out); }
.netz-leg:active { transform: scale(0.96); } .netz-leg i { width: 8px; height: 8px; border-radius: 50%; } .netz-leg.aus { opacity: .35; }
.netz-suche { position: absolute; right: 24px; top: 14px; width: min(260px, 50%); }
.netz-suche input { background: rgba(22, 24, 29, .85); backdrop-filter: blur(8px); }
.netz-cora { position: absolute; right: 24px; bottom: 22px; display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(22, 24, 29, .9); border: 1px solid rgba(255, 122, 47, .3); max-width: min(360px, 60%); cursor: pointer; backdrop-filter: blur(8px); transition: transform 140ms var(--ease-out); }
.netz-cora:active { transform: scale(0.98); }
.netz-cora b { display: block; font-size: 12px; color: var(--akzent-2); } .netz-cora span:not(.netz-cora-kugel) { display: block; font-size: 12.5px; color: var(--text-2); }
.netz-cora-kugel { width: 14px; height: 14px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 35%, #ffd9bf, #ff7a2f 60%); box-shadow: 0 0 0 0 rgba(255, 122, 47, .6); animation: kugel 2s ease-out infinite; }
@keyframes kugel { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 47, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(255, 122, 47, 0); } }
.netz-tipp { position: absolute; left: 0; top: 0; width: 280px; padding: 10px 12px; border-radius: 12px; background: rgba(28, 31, 37, .96); border: 1px solid var(--linie-2); pointer-events: none; opacity: 0; transition: opacity 120ms ease; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .7); }
.netz-tipp.an { opacity: 1; }
.netz-tipp b { display: block; font-size: 13.5px; } .netz-tipp span { display: block; color: var(--text-2); font-size: 12.5px; margin: 3px 0 6px; } .netz-tipp small { color: var(--text-3); font-size: 11.5px; }
@media (max-width: 860px) { .netz-kopf { padding: 18px 16px 10px; } .netz-legende { left: 12px; bottom: 82px; max-width: 90%; } .netz-cora { left: 12px; right: 12px; bottom: 12px; max-width: none; } .netz-suche { right: 12px; } }
.pin { width: 26px; height: 22px; border-radius: 6px; border: 0; background: transparent; cursor: pointer; padding: 0; font-size: 13px; filter: grayscale(1); opacity: .45; transition: opacity 140ms ease, filter 140ms ease, transform 140ms var(--ease-out); }
.pin:hover { opacity: .9; } .pin:active { transform: scale(0.88); } .pin.an { filter: none; opacity: 1; }

/* ---------- Server ---------- */
.sv-karte.weg { border-color: rgba(255, 90, 110, .45); }
.sv-karte.warn { border-color: rgba(255, 201, 74, .35); }
.sv-kopf { display: flex; align-items: center; gap: 10px; }
.sv-kopf b { display: block; font-size: 15px; } .sv-kopf small { display: block; color: var(--text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-ringe { display: flex; justify-content: space-around; margin: 16px 0 12px; gap: 6px; }
.sv-ringe.gross { margin: 22px 0 6px; justify-content: space-evenly; }
.sv-ring { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sv-ring svg { display: block; }
.sv-ring .spur { fill: none; stroke: var(--flaeche-3); stroke-width: 5; }
.sv-ring .wert { fill: none; stroke: var(--gut); stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset 600ms var(--ease-out), stroke 300ms ease; }
.sv-ring.warn .wert { stroke: var(--warn); } .sv-ring.kritisch .wert { stroke: var(--schlecht); }
.sv-ring b { position: absolute; top: 0; height: 56px; display: grid; place-items: center; width: 56px; font-size: 14px; font-weight: 600; }
.sv-ring b small { font-size: 9px; color: var(--text-3); margin-left: 1px; }
.sv-ring.gross b { height: 84px; width: 84px; font-size: 20px; }
.sv-ring span { font-size: 11.5px; color: var(--text-3); text-align: center; max-width: 150px; }
.sv-dienste { display: flex; flex-wrap: wrap; gap: 5px; }
.sv-dienst { font-size: 11.5px; padding: 3px 8px; border-radius: 7px; background: rgba(58, 214, 160, .1); color: var(--gut); white-space: nowrap; }
.sv-dienst.aus { background: rgba(255, 90, 110, .12); color: var(--schlecht); font-weight: 600; }
.sv-fuss { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linie); font-size: 12px; color: var(--text-3); }
.sv-box { background: var(--bg-2); border: 1px solid var(--linie); border-radius: 12px; padding: 12px 14px; }
.sv-box > small { color: var(--text-3); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.sv-dienst-zeile { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13px; }
.sv-dienst-zeile .ganz-leise { margin-left: auto; font-size: 11.5px; }
.sv-aktionen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sv-aktionen a.knopf { text-decoration: none !important; }
.sv-ring b { display: flex !important; align-items: center; justify-content: center; gap: 1px; } .sv-ring b small { margin-top: 3px; }

/* ---------- Märkte: Euro-Schalter + großes Diagramm ---------- */
.euro-schalter { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--linie-2); background: var(--flaeche); font-size: 13px; font-weight: 500; color: var(--text-2); cursor: pointer; }
.kd-kopf { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.kd-kopf h2 { margin: 4px 0 0; font-size: 22px; letter-spacing: -.02em; }
.kd-preis { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 12px; flex-wrap: wrap; }
.kd-preis #kd-wert { font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.kd-preis #kd-diff { font-size: 15px; } .kd-preis #kd-zeit { font-size: 13px; }
.kd-zeitraum { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--bg-2); border: 1px solid var(--linie); margin-bottom: 12px; }
.kd-zeitraum button { border: 0; background: transparent; color: var(--text-2); padding: 6px 12px; border-radius: 8px; cursor: pointer; font: 500 12.5px var(--mono); transition: background-color 140ms ease, color 140ms ease, transform 120ms var(--ease-out); }
.kd-zeitraum button:active { transform: scale(0.95); }
.kd-zeitraum button.an { background: var(--flaeche-3); color: var(--text); }
.kd-chart { position: relative; height: 240px; touch-action: none; cursor: crosshair; user-select: none; }
.kd-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.kd-start { stroke: rgba(236, 235, 230, .18); stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.kd-laden { height: 100%; display: grid; place-items: center; color: var(--text-3); font-size: 13px; }
.kd-achse { position: absolute; right: 0; font-size: 11px; color: var(--text-3); background: rgba(22, 24, 29, .8); padding: 1px 6px; border-radius: 5px; pointer-events: none; }
.kd-achse.oben { top: 2px; } .kd-achse.unten { bottom: 2px; }
.kd-strich { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: rgba(236, 235, 230, .45); opacity: 0; pointer-events: none; transition: opacity 120ms ease; }
.kd-strich.an { opacity: 1; }
.kd-strich i { position: absolute; left: -5px; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 4px rgba(236, 235, 230, .18); }
.kd-blase { position: absolute; top: -8px; left: 0; width: 150px; padding: 7px 10px; border-radius: 10px; background: var(--flaeche-3); border: 1px solid var(--linie-2); pointer-events: none; opacity: 0; transform-origin: bottom; transition: opacity 120ms ease; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .7); translate: 0 -100%; }
.kd-blase.an { opacity: 1; }
.kd-blase b { display: block; font-size: 15px; } .kd-blase span { font-size: 12px; margin-right: 6px; } .kd-blase small { display: block; color: var(--text-3); font-size: 11.5px; margin-top: 2px; }
.kd-zahlen { margin-top: 18px; gap: 10px; }
.kd-zahlen div { background: var(--bg-2); border: 1px solid var(--linie); border-radius: 10px; padding: 8px 12px; }
.kd-zahlen small { display: block; color: var(--text-3); font-size: 11px; } .kd-zahlen b { font-size: 15px; font-weight: 600; }
@media (max-width: 860px) { .kd-chart { height: 200px; } .kd-zahlen { grid-template-columns: repeat(2, 1fr); } }
.nur-lesen { margin: 10px 26px 22px; padding: 12px 16px; border-radius: 14px; border: 1px dashed var(--linie-2); color: var(--text-3); font-size: 13px; text-align: center; }

/* ---------- Spotify (oben rechts) ---------- */
.spotify { position: fixed; top: 14px; right: 18px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border-radius: 16px; background: rgba(22, 24, 29, .88); border: 1px solid var(--linie-2); backdrop-filter: blur(14px); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .8); max-width: 360px; }
.spotify[hidden] { display: none; }
.spotify.neu { animation: dialog-rein 320ms var(--ease-out) both; }
.spotify img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; flex: none; }
.spotify .sp-text { min-width: 0; flex: 1; }
.spotify .sp-text b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spotify .sp-text span { display: block; font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spotify::before { content: ''; position: absolute; left: 10px; bottom: 4px; width: 30px; height: 2px; border-radius: 2px; background: #1ed760; opacity: .9; }
.spotify.pausiert::before { background: var(--text-3); }
.sp-knoepfe { display: flex; gap: 2px; flex: none; }
.sp-knoepfe button { width: 30px; height: 30px; border: 0; border-radius: 9px; background: transparent; color: var(--text-2); cursor: pointer; display: grid; place-items: center; padding: 0; transition: background-color 120ms ease, transform 120ms var(--ease-out); }
.sp-knoepfe button:hover { background: var(--flaeche-3); color: var(--text); } .sp-knoepfe button:active { transform: scale(0.9); }
.sp-knoepfe svg { width: 15px; height: 15px; }
.sp-knoepfe.gross { margin-top: 14px; gap: 8px; } .sp-knoepfe.gross button { width: 44px; height: 44px; background: var(--flaeche-2); } .sp-knoepfe.gross button:nth-child(2) { background: #1ed760; color: #0b1a10; } .sp-knoepfe.gross svg { width: 18px; height: 18px; }
.sp-gross { display: flex; gap: 18px; align-items: center; }
.sp-gross img, .sp-platzhalter { width: 120px; height: 120px; border-radius: 14px; object-fit: cover; flex: none; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .8); }
.sp-platzhalter { display: grid; place-items: center; background: var(--flaeche-3); font-size: 40px; color: var(--text-3); }
.sp-gross small { color: #1ed760; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sp-gross.pausiert small { color: var(--text-3); }
.sp-gross b { display: block; font-size: 19px; margin: 4px 0 2px; letter-spacing: -.01em; } .sp-gross span { color: var(--text-2); }
body.mit-spotify .seite > .kopf:first-child { padding-right: 380px; }
@media (max-width: 1200px) { .seite > .kopf:first-child { padding-right: 0; } .spotify { top: auto; bottom: 16px; right: 16px; } }

/* ---------- Mein PC ---------- */
.pc-kerne { display: flex; gap: 4px; align-items: flex-end; height: 120px; }
.pc-kern { flex: 1; height: 100%; background: var(--bg-2); border-radius: 4px; display: flex; align-items: flex-end; overflow: hidden; }
.pc-kern i { display: block; width: 100%; background: var(--akzent); border-radius: 4px; transition: height 400ms var(--ease-out); }
.pc-kern i.heiss { background: var(--schlecht); }
.pc-platte + .pc-platte { margin-top: 14px; }
.pc-platte > div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.pc-platte small { display: block; font-size: 12px; margin-top: 4px; }

/* ---------- Dashboard (Vollbild) ---------- */
body.dashboard-modus .rahmen { grid-template-columns: 1fr; }
body.dashboard-modus .leiste, body.dashboard-modus .unten-leiste, body.dashboard-modus #spotify { display: none !important; }
.dash { padding: 34px 44px; min-height: 100%; display: flex; flex-direction: column; gap: 22px; }
.dash-oben { display: flex; justify-content: space-between; align-items: flex-end; }
.dash-uhr { font-size: 92px; line-height: .9; font-weight: 500; letter-spacing: -.05em; }
.dash-datum { font: italic 30px var(--serif); color: var(--text-2); margin-top: 8px; text-transform: capitalize; }
.dash-raster { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-content: start; }
.dash-raster .dash-kurse { grid-column: span 2; }
.dash-raster .karte { padding: 22px 24px; }
.dash-spotify .sp-gross img, .dash-spotify .sp-platzhalter { width: 150px; height: 150px; }
.waehrung-wahl { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--flaeche); border: 1px solid var(--linie-2); height: 44px; align-items: center; }
.waehrung-wahl button { border: 0; background: transparent; color: var(--text-2); padding: 0 12px; height: 36px; border-radius: 9px; cursor: pointer; font: 500 13px var(--schrift); transition: background-color 140ms ease, color 140ms ease, transform 120ms var(--ease-out); }
.waehrung-wahl button:active { transform: scale(0.96); } .waehrung-wahl button.an { background: var(--flaeche-3); color: var(--text); }
.umrechner { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.umrechner input { width: 140px; font-family: var(--mono); font-size: 16px; } .umrechner select { width: auto; }
.umrechner b { font-size: 22px; margin-left: 8px; color: var(--akzent-2); }
.dash-raster > .karte:last-child { grid-column: 1 / -1; }

/* ---------- Mehr / Handy / Benachrichtigungen ---------- */
.mehr-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 8px; }
.mehr-kachel { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none !important; padding: 16px; }
.mehr-kachel svg { width: 22px; height: 22px; color: var(--akzent); } .mehr-kachel span { font-weight: 550; }
.hinweis-karte { border-color: rgba(255, 122, 47, .35); margin-bottom: 14px; } .hinweis-karte p { color: var(--text-2); margin: 6px 0 12px; }
.drei-wahl { display: inline-flex; padding: 2px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--linie); flex: none; }
.drei-wahl button { border: 0; background: transparent; color: var(--text-3); padding: 5px 9px; border-radius: 7px; font: 500 12px var(--schrift); cursor: pointer; }
.drei-wahl button.an[data-w="durch"] { background: rgba(58, 214, 160, .15); color: var(--gut); }
.drei-wahl button.an[data-w="sammeln"] { background: var(--akzent-hauch); color: var(--akzent-2); }
.drei-wahl button.an[data-w="weg"] { background: rgba(255, 90, 110, .14); color: var(--schlecht); }
.bn-gruppe { margin-bottom: 10px; padding: 14px 16px; }
.bn { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; transition: opacity 150ms ease; }
.bn + .bn { border-top: 1px solid var(--linie); }
.bn-text { flex: 1; min-width: 0; cursor: pointer; }
.bn-text b { display: block; font-size: 13.5px; font-weight: 550; }
.bn-text span { display: block; color: var(--text-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn.offen .bn-text span { white-space: normal; }
.bn-text small { color: var(--text-3); font-size: 11.5px; }
.bn-weg { width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: var(--text-3); cursor: pointer; display: grid; place-items: center; padding: 0; flex: none; }
.bn-weg svg { width: 14px; height: 14px; }
.abschnitt-titel em { font-style: normal; font-size: 13px; }

/* ---------- Handy-Bestätigung ---------- */
.handy-warte { display: grid; place-items: center; height: 120px; position: relative; }
.handy-symbol { width: 54px; height: 90px; border-radius: 14px; border: 3px solid var(--akzent); position: relative; background: var(--bg-2); box-shadow: 0 0 40px rgba(255, 122, 47, .25); }
.handy-symbol::after { content: ''; position: absolute; bottom: 7px; left: 50%; width: 14px; height: 3px; margin-left: -7px; border-radius: 3px; background: var(--akzent); opacity: .7; }
.handy-symbol span { position: absolute; inset: -14px; border-radius: 22px; border: 2px solid rgba(255, 122, 47, .5); animation: welle 1.8s ease-out infinite; }
.handy-warte.ohne .handy-symbol { border-color: var(--text-3); box-shadow: none; } .handy-warte.ohne .handy-symbol span { display: none; } .handy-warte.ohne .handy-symbol::after { background: var(--text-3); }
@keyframes welle { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.warte-status { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--text-2); font-size: 13px; min-height: 22px; margin: -8px 0 16px; }
.warte-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--akzent); animation: hupf 1s ease-in-out infinite; }
.warte-status i:nth-child(2) { animation-delay: .15s; } .warte-status i:nth-child(3) { animation-delay: .3s; }
.code-weg { margin-bottom: 4px; } .code-weg summary { cursor: pointer; color: var(--text-2); font-size: 13px; margin-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .handy-symbol span { animation: none; } }

/* ---------- Coras Status-Licht ---------- */
.cora-licht { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--flaeche); border: 1px solid var(--linie); min-width: 0; }
.cora-licht b { display: block; font-size: 12.5px; font-weight: 600; } .cora-licht small { display: block; font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.cora-licht.gross { padding: 12px 18px 12px 14px; border-radius: 16px; } .cora-licht.gross b { font-size: 15px; } .cora-licht.gross small { font-size: 12.5px; max-width: 320px; }
.licht { width: 12px; height: 12px; border-radius: 50%; flex: none; position: relative; }
.cora-licht.gross .licht { width: 16px; height: 16px; }
.licht.arbeitet { background: var(--akzent); box-shadow: 0 0 14px rgba(255, 122, 47, .8); animation: licht-puls 1.6s ease-in-out infinite; }
.licht.bereit { background: var(--gut); box-shadow: 0 0 12px rgba(58, 214, 160, .6); }
.licht.offline { background: var(--text-3); }
@keyframes licht-puls { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.82); opacity: .65; } }
.dash-knoepfe { display: flex; align-items: center; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .licht.arbeitet { animation: none; } }
.bio-knopf { width: 100%; height: 52px !important; font-size: 16px; margin-bottom: 16px; }
.oder { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 12px; margin: 0 0 16px; }
.oder::before, .oder::after { content: ''; flex: 1; height: 1px; background: var(--linie-2); }

/* ---------- ETFs 12 Stunden ---------- */
.etf12h { margin-bottom: 18px; }
.etf12h-inhalt { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.etf12h-chart { position: relative; height: 192px; }
.etf12h-chart .kd-svg { height: 170px; }
.etf12h-achse { display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--text-3); margin-top: 6px; }
.etf12h-zeile { display: flex; align-items: center; gap: 12px; padding: 10px 4px; cursor: pointer; border-radius: 10px; transition: background-color 120ms ease; }
.etf12h-zeile + .etf12h-zeile { border-top: 1px solid var(--linie); }
@media (hover: hover) and (pointer: fine) { .etf12h-zeile:hover { background: var(--flaeche-2); } }
.etf12h-zeile i { width: 12px; height: 4px; border-radius: 3px; flex: none; }
.etf12h-zeile b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.etf12h-zeile small { color: var(--text-3); font-size: 11.5px; }
.etf12h-zeile .mono { font-size: 15px; font-weight: 600; }
@media (max-width: 860px) { .etf12h-inhalt { grid-template-columns: 1fr; } }

/* Trading-Bots: Produkte → Versionen → Log */
.bot-fuss { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linie); font-size: 12px; color: var(--text-3); }
.bot-fuss b { color: var(--text-2); font-weight: 600; }
.bot-kopf { padding: 20px 22px; }
.bot-strategie { margin-top: 14px; font-size: 13px; }
.bot-strategie summary { cursor: pointer; color: var(--text-3); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.bot-strategie p { margin: 8px 0 0; color: var(--text-2); line-height: 1.55; }
.bot-versionen { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.bot-version { text-align: left; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; padding: 12px 14px; color: var(--text); font: inherit; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, transform 160ms var(--ease-out); }
.bot-version:active { transform: scale(0.98); }
.bot-version.an { border-color: var(--akzent); background: var(--flaeche-2); }
@media (hover: hover) and (pointer: fine) { .bot-version:hover { border-color: var(--linie-2); } .bot-version.an:hover { border-color: var(--akzent); } }
.bot-notiz { margin-top: 10px; padding: 12px 14px; font-size: 13px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 860px) { .bot-versionen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .bot-log thead { display: none; }
  .bot-log table, .bot-log tbody { display: block; }
  .bot-log tr { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; padding: 12px 14px; border-bottom: 1px solid var(--linie); }
  .bot-log td { padding: 0 !important; border: 0 !important; }
  .bot-log .bl-datum { font-size: 11.5px; color: var(--text-3); }
  .bot-log .bl-version { grid-column: 3; grid-row: 1; font-size: 11.5px; color: var(--text-3); text-align: right; }
  .bot-log .bl-was { grid-column: 1 / 3; grid-row: 2; font-weight: 600; }
  .bot-log .bl-erg { grid-column: 3; grid-row: 2; text-align: right; white-space: nowrap; }
  .bot-log .bl-notiz { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.45; }
  .bot-log .leer { display: block; }
}
.bv-geld { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--linie); }
.bv-geld .mono:first-child { font-size: 18px; font-weight: 600; }
.bv-geld .mono:last-child { font-size: 12.5px; }
.bot-aufteilung { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 14px; font-size: 13px; color: var(--text-2); }
.bot-aufteilung span { background: var(--bg-2); border: 1px solid var(--linie); border-radius: 8px; padding: 4px 9px; }
.bot-aufteilung i { font-style: normal; color: var(--text-3); }

.mb-versionen { display: grid; gap: 4px; border-top: 1px solid var(--linie); padding-top: 10px; }
.mb-version { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; font-size: 12.5px; }
.mb-version > .mono:first-child { color: var(--text-3); font-size: 11.5px; }
.mb-v-titel { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-version b { font-weight: 600; }
.mb-letzt { font-size: 11.5px; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* SPECTRE – gesperrter Bereich */
.sp-kachel { border-style: dashed; border-color: rgba(167, 139, 250, .35); background: linear-gradient(135deg, rgba(167, 139, 250, .06), transparent 60%), var(--flaeche); }
.sp-schloss { background: rgba(167, 139, 250, .14); color: #c4b5fd; }
.sp-kachel-mitte { font-size: 14px; color: var(--text-2); }
.sp-neu { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: #a78bfa; color: #170a2e; font-weight: 700; font-size: 13px; margin-right: 4px; }
.sp-seite { max-width: 980px; }
.sp-sperre { max-width: 420px; margin: 40px auto; text-align: center; padding: 34px 28px; }
.sp-sperre h1 { font-size: 24px; margin: 10px 0 6px; } .sp-sperre p { margin: 0 0 20px; }
.sp-geist { font-size: 54px; animation: sp-schweben 3s ease-in-out infinite; }
@keyframes sp-schweben { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .sp-geist { animation: none; } }
.sp-test-kopf { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 16px 4px; font-size: 13px; }
.sp-postfach { display: grid; gap: 8px; }
.sp-bericht { padding: 0; } .sp-bericht summary { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; cursor: pointer; list-style: none; }
.sp-bericht summary::-webkit-details-marker { display: none; }
.sp-bericht.neu summary span:first-child { font-weight: 700; } .sp-bericht.neu { border-color: rgba(167, 139, 250, .5); }
.sp-bericht.wichtig { border-color: rgba(255, 201, 74, .45); }
.sp-bericht .md { padding: 0 16px 14px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }

/* Sicherungen */
.si-tabelle td { vertical-align: top; white-space: nowrap; }
.si-zelle small { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; white-space: normal; }
.si-zelle.gruen { color: var(--gut); } .si-zelle.rot { color: var(--schlecht); font-weight: 600; } .si-zelle.grau { color: var(--text-3); }
.kz-gut .wert { color: var(--gut); } .kz-schlecht .wert { color: var(--schlecht); } .kz-warn .wert { color: var(--warn); }
.si-tabelle { table-layout: fixed; width: 100%; min-width: 640px; } .si-tabelle th:first-child, .si-tabelle td:first-child { width: 22%; }

/* Cora-Arbeitsplatz: Konto-Knopf + Cora-Chats */
.konto-knopf { position: fixed; top: 14px; right: 18px; z-index: 50; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid var(--linie-2); background: rgba(20, 21, 25, .85); backdrop-filter: blur(10px); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; transition: transform 140ms var(--ease-out), border-color 140ms ease; }
.konto-knopf:active { transform: scale(0.97); } .konto-knopf .punkt { width: 8px; height: 8px; }
/* Musik-Anzeige sitzt oben rechts → Konto-Knopf rutscht darunter (unter 1200px ist die Musik unten) */
@media (min-width: 1201px) { body.mit-spotify .konto-knopf { top: 74px; } }
.konto-frage { min-width: 18px; height: 18px; border-radius: 9px; background: var(--warn); color: #241a00; font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
@media (max-width: 860px) { .konto-knopf { top: 10px; right: 10px; height: 30px; font-size: 12px; } }
.kv-zeile { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); margin-top: 6px; }
.k-liste { display: grid; gap: 6px; } .k-eintrag { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 10px; }
.k-eintrag small { display: block; color: var(--text-3); font-size: 12px; } .k-eintrag.aktiv { border-color: var(--gut); }
.k-neu { display: flex; gap: 6px; margin-top: 10px; } .k-neu input { flex: 1; min-width: 0; }
.k-schritte { margin: 12px 0 8px; padding-left: 18px; font-size: 13px; line-height: 2; } .k-schritte .knopf { height: 32px; }
.seite-breit { max-width: 1400px; }
.cc-raster { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 14px; height: calc(100vh - 210px); min-height: 420px; }
@media (max-width: 860px) { .cc-raster { grid-template-columns: minmax(0, 1fr); height: auto; } .cc-detail { min-height: 70vh; } }
.cc-liste { overflow: auto; display: grid; gap: 6px; align-content: start; }
.cc-verbrauch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; border: 1px solid var(--linie); border-radius: 12px; margin-bottom: 4px; }
.cc-verbrauch small { display: block; font-size: 11px; color: var(--text-3); } .cc-verbrauch b { font-size: 15px; }
.cc-chat { display: block; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 12px; background: var(--flaeche); color: inherit; text-decoration: none !important; }
.cc-chat.an { border-color: var(--akzent); } .cc-chat small { color: var(--text-3); font-size: 11.5px; }
.cc-chat-kopf { display: flex; justify-content: space-between; gap: 8px; } .cc-chat-kopf b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-laeuft { font-size: 11px; color: var(--gut); white-space: nowrap; } .cc-laeuft::before { content: '● '; animation: cc-puls 1.2s ease-in-out infinite; }
@keyframes cc-puls { 50% { opacity: .3; } }
.cc-detail { display: flex; flex-direction: column; border: 1px solid var(--linie); border-radius: 14px; background: var(--flaeche); overflow: hidden; }
.cc-detail-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--linie); } .cc-detail-kopf small { display: block; }
.cc-verlauf { flex: 1; overflow: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.cc-zeile { display: flex; } .cc-zeile.du { justify-content: flex-end; }
.cc-blase { max-width: 85%; padding: 9px 13px; border-radius: 14px; background: var(--bg-2); font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.cc-zeile.du .cc-blase { background: rgba(255, 122, 47, .16); } .cc-zeile.werkzeug .cc-blase { background: transparent; color: var(--text-3); font-size: 12px; padding: 2px 6px; font-family: var(--mono); }
.cc-blase p { margin: 0 0 6px; } .cc-blase p:last-child { margin: 0; } .cc-blase pre { white-space: pre-wrap; font-size: 12px; }
.cc-eingabe { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--linie); } .cc-eingabe textarea { flex: 1; resize: vertical; min-height: 44px; }
.cc-hinweis { padding: 12px 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cc-lang { margin: 10px 16px 0; border: 1px solid rgba(255, 201, 74, .4); border-radius: 12px; background: rgba(255, 201, 74, .06); }
.cc-frage { padding: 14px 16px; margin-bottom: 12px; border-color: rgba(255, 201, 74, .5); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cc-frage pre { margin: 8px 0 0; font-size: 11.5px; max-height: 140px; overflow: auto; color: var(--text-2); }
.cc-frage-knoepfe { display: flex; gap: 8px; align-items: center; }

.cc-rf-frage { margin-top: 10px; } .cc-rf-frage p { margin: 0 0 6px; } .cc-rf-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; } .cc-rf-frei { width: 100%; }
