/* ============================================================
   OneTwo Text Editor – Produktseite, Datenschutz, Impressum
   Zusätzlich zu css/style.css. Alles unter body.page-onetwotexteditor
   bzw. body.te-legal, damit die übrigen Seiten unberührt bleiben.
   ============================================================ */

body.page-onetwotexteditor,
body.te-legal {
  --te-ink: #0b1f24;
  --te-ink-2: #134e56;
  --te-blue: #0f766e;
  --te-sky: #2dd4bf;
  --te-sun: #ffb020;
  --te-line: #e3e8f0;
  --te-card: #ffffff;
  --te-soft: #f3f6fb;
  --te-ok: #1f9d55;
  --te-warn: #c77700;
  --te-bad: #d63a3a;
  --te-shadow: 0 24px 60px -28px rgba(10, 27, 61, .45);
  --te-hdr: 60px;
}

body.page-onetwotexteditor .reveal { will-change: opacity, transform; }
html.no-js body.page-onetwotexteditor .reveal { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.te-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 72px 0 96px;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(45, 212, 191, .35) 0%, transparent 65%),
    radial-gradient(50% 70% at 5% 100%, rgba(15, 118, 110, .45) 0%, transparent 60%),
    linear-gradient(135deg, #061316 0%, var(--te-ink) 45%, var(--te-ink-2) 100%);
}
.te-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.te-hero .container { position: relative; z-index: 1; }
.te-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 48px;
}
.te-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  margin-bottom: 22px;
}
.te-eyebrow img { width: 26px; height: 26px; border-radius: 7px; }
.te-hero h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -1.6px;
  margin: 0 0 18px;
  font-weight: 800;
}
.te-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #5eead4, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.te-hero .te-sub {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  max-width: 580px;
  margin: 0 0 30px;
}
.te-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 28px; }
.te-cta .appstore-badge img { height: 52px; width: auto; }
.te-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.te-btn:hover { text-decoration: none; transform: translateY(-2px); }
.te-btn:focus-visible { outline: 3px solid var(--te-sky); outline-offset: 3px; }
.te-btn-ghost { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.te-btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.te-btn-primary { color: #fff; background: linear-gradient(135deg, var(--te-blue), #14b8a6); box-shadow: 0 10px 24px -10px rgba(15, 118, 110, .8); }
.te-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.te-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
}
.te-chips svg { width: 15px; height: 15px; flex: none; color: #5eead4; }

.te-hero-visual { position: relative; display: flex; justify-content: center; }
.te-hero-visual .te-device {
  width: min(300px, 78%);
  aspect-ratio: 600 / 1000;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1.5px rgba(255, 255, 255, .25);
  transform: rotate(3deg);
  animation: osFloat 7s ease-in-out infinite;
}
.te-hero-visual .te-device img { width: 100%; height: 100%; object-fit: cover; }
.te-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  color: var(--te-ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55);
}
.te-float small { display: block; font-weight: 500; color: var(--text-muted); font-size: 11px; }
.te-float svg { width: 22px; height: 22px; color: var(--te-blue); flex: none; }
.te-float.f1 { left: -2%; top: 14%; animation: osFloat 6s ease-in-out .4s infinite; }
.te-float.f2 { right: -2%; bottom: 16%; animation: osFloat 8s ease-in-out 1s infinite; }
@keyframes osFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 900px) {
  .te-hero { padding: 48px 0 72px; }
  .te-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .te-hero-visual .te-device { width: min(260px, 70%); }
  .te-float.f1 { left: 2%; }
  .te-float.f2 { right: 2%; }
}

/* ---------- Kennzahlen ---------- */
.te-stats-wrap { margin-top: -48px; position: relative; z-index: 2; }
.te-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--te-card);
  border: 1px solid var(--te-line);
  border-radius: 24px;
  box-shadow: var(--te-shadow);
  overflow: hidden;
}
.te-stat { padding: 24px 20px; text-align: center; border-right: 1px solid var(--te-line); }
.te-stat:last-child { border-right: 0; }
.te-stat b {
  display: block;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--te-blue), var(--te-sky));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.te-stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--text-muted); }
@media (max-width: 720px) {
  .te-stats { grid-template-columns: repeat(2, 1fr); }
  .te-stat:nth-child(2) { border-right: 0; }
  .te-stat:nth-child(-n+2) { border-bottom: 1px solid var(--te-line); }
}

/* ---------- Seiten-Navigation ---------- */
.te-subnav {
  position: sticky;
  top: var(--te-hdr);
  z-index: 40;
  margin-top: 28px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--te-line);
}
.te-subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.te-subnav .container::-webkit-scrollbar { display: none; }
.te-subnav a {
  flex: none;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: background .2s, color .2s;
}
.te-subnav a:hover { text-decoration: none; background: var(--te-soft); color: var(--text); }
.te-subnav a.is-active { background: var(--te-ink); color: #fff; }
.te-subnav a:focus-visible { outline: 3px solid var(--te-blue); outline-offset: 1px; }
body.page-onetwotexteditor section[id] { scroll-margin-top: calc(var(--te-hdr) + 60px); }

/* ---------- Abschnittsköpfe ---------- */
.te-kicker {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--te-blue);
  margin-bottom: 10px;
}

/* ---------- Ausprobieren ---------- */
.te-lab {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(45, 212, 191, .18) 0%, transparent 60%),
    linear-gradient(180deg, #081633 0%, #0c2150 100%);
  color: #fff;
}
.te-lab .section h2, .te-lab h2 { color: #fff; }
.te-lab p.lead { color: rgba(255, 255, 255, .72); }
.te-lab .te-kicker { color: #5eead4; }
.te-tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  margin: 0 auto 36px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  scrollbar-width: none;
}
.te-tabs::-webkit-scrollbar { display: none; }
.te-tab {
  flex: none;
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 11px 20px;
  border-radius: 13px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, .78);
  background: transparent;
  transition: background .2s, color .2s;
}
.te-tab:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.te-tab[aria-selected="true"] { background: #fff; color: var(--te-ink); }
.te-tab:focus-visible { outline: 3px solid var(--te-sky); outline-offset: 2px; }
.te-panel[hidden] { display: none; }
.te-panel { animation: osPanel .45s var(--ease) both; }
@keyframes osPanel { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.te-demo-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; justify-content: center; }
@media (max-width: 860px) { .te-demo-grid { grid-template-columns: 1fr; gap: 36px; justify-items: center; } }

/* Demo-Anleitung */
.te-side h3 { color: #fff; font-size: 24px; margin: 0 0 8px; letter-spacing: -.4px; }
.te-side > p { color: rgba(255, 255, 255, .72); margin: 0 0 20px; }
.te-quest { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.te-quest li {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .86); font-size: 15px; transition: background .3s, border-color .3s, color .3s;
}
.te-quest li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  background: center / 14px no-repeat transparent;
  transition: background-color .3s, border-color .3s;
}
.te-quest li.is-done { background: rgba(31, 157, 85, .18); border-color: rgba(60, 200, 120, .5); color: #fff; }
.te-quest li.is-done::before {
  border-color: #3cc878; background-color: #3cc878;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.te-note { font-size: 13px; color: rgba(255, 255, 255, .6); margin: 0; }
.te-win { display: none; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(60, 200, 120, .25), rgba(45, 212, 191, .25)); border: 1px solid rgba(255, 255, 255, .25); font-weight: 600; margin-bottom: 14px; }
.te-win.is-on { display: block; animation: osPanel .5s var(--ease) both; }

/* Werkzeug-Karten (Generator, Check, Startplan) */
.te-tool { max-width: 780px; margin: 0 auto; background: var(--te-card); color: var(--text); border-radius: 28px; padding: 34px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.te-tool h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.4px; color: var(--te-ink); }
.te-tool > p { margin: 0 0 22px; color: var(--text-muted); }
.te-seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--te-soft); margin-bottom: 20px; }
.te-seg button {
  flex: 1; appearance: none; border: 0; cursor: pointer; min-height: 44px; border-radius: 11px;
  background: transparent; font: inherit; font-weight: 700; font-size: 14px; color: var(--text-muted);
  transition: background .2s, color .2s, box-shadow .2s;
}
.te-seg button[aria-pressed="true"] { background: #fff; color: var(--te-ink); box-shadow: 0 2px 8px rgba(10, 27, 61, .15); }
.te-seg button:focus-visible { outline: 3px solid var(--te-blue); outline-offset: 1px; }
.te-out {
  display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 18px; border-radius: 18px;
  background: var(--te-ink); color: #fff; margin-bottom: 14px;
}
.te-out output {
  flex: 1; min-width: 0; font: 600 clamp(17px, 2.6vw, 22px) ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  overflow-wrap: anywhere; letter-spacing: .3px;
}
.te-out .te-miniact { background: rgba(255, 255, 255, .12); color: #fff; }
.te-out .te-miniact:hover { background: rgba(255, 255, 255, .22); }
.te-meter { height: 10px; border-radius: 10px; background: var(--te-soft); overflow: hidden; }
.te-meter i { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--te-bad); transition: width .5s var(--ease), background .3s; }
.te-meter-info { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 8px 0 20px; font-size: 14px; }
.te-meter-info b { color: var(--te-ink); }
.te-meter-info span { color: var(--text-muted); }
.te-ctrl { display: grid; gap: 16px; margin-bottom: 18px; }
.te-ctrl label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; }
.te-ctrl output.te-val { font-variant-numeric: tabular-nums; color: var(--te-blue); font-weight: 800; }
.te-range { width: 100%; accent-color: var(--te-blue); height: 28px; }
.te-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.te-checks label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px;
  background: var(--te-soft); border: 1px solid var(--te-line); cursor: pointer; font-size: 14px; font-weight: 600;
}
.te-checks input { accent-color: var(--te-blue); width: 18px; height: 18px; }
.te-checks label:has(input:checked) { background: #d9f5f1; border-color: var(--te-blue); }
.te-checks label:has(input:focus-visible) { outline: 3px solid var(--te-blue); outline-offset: 2px; }
.te-fine { margin: 14px 0 0; font-size: 12.5px; color: var(--text-muted); }
.te-input-wrap { position: relative; margin-bottom: 14px; }
.te-input-wrap input {
  width: 100%; min-height: 54px; border-radius: 16px; border: 2px solid var(--te-line); background: #fff;
  padding: 0 60px 0 18px; font: 600 18px ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--text);
}
.te-input-wrap input:focus-visible { outline: none; border-color: var(--te-blue); box-shadow: 0 0 0 4px rgba(15, 118, 110, .18); }
.te-input-wrap .te-miniact { position: absolute; right: 5px; top: 5px; }
.te-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.te-tips li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 10px 12px; border-radius: 12px; background: var(--te-soft); }
.te-tips li::before { content: "•"; color: var(--te-blue); font-weight: 900; }
.te-tips li.is-ok::before { content: "✓"; color: var(--te-ok); }
.te-tips li.is-bad::before { content: "!"; color: var(--te-bad); }

/* Startplan */
.te-plan-head { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.te-ring { --p: 0; width: 76px; height: 76px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--te-blue) calc(var(--p) * 1%), var(--te-soft) 0); }
.te-ring span { width: 58px; height: 58px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; color: var(--te-ink); font-size: 16px; }
.te-plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.te-plan label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--te-line); background: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.te-plan label:hover { background: var(--te-soft); }
.te-plan input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--te-blue); flex: none; }
.te-plan label:has(input:checked) { background: #ecfaf8; border-color: #a7e3db; }
.te-plan label:has(input:focus-visible) { outline: 3px solid var(--te-blue); outline-offset: 2px; }
.te-plan b { display: block; color: var(--te-ink); }
.te-plan span { display: block; font-size: 14px; color: var(--text-muted); }
.te-plan input:checked + div b { text-decoration: line-through; text-decoration-color: rgba(10, 27, 61, .35); }

/* ---------- Bento / Funktionen ---------- */
.te-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.te-tile {
  grid-column: span 2; position: relative; overflow: hidden; padding: 26px; border-radius: 26px;
  background: var(--te-soft); border: 1px solid var(--te-line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.te-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(10, 27, 61, .5); }
.te-tile.w3 { grid-column: span 3; }
.te-tile.w4 { grid-column: span 4; }
.te-tile h3 { margin: 14px 0 8px; font-size: 19px; letter-spacing: -.3px; }
.te-tile p { margin: 0; color: var(--text-muted); font-size: 15px; }
.te-tile .te-tico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--te-blue), var(--te-sky)); }
.te-tile .te-tico svg { width: 24px; height: 24px; }
.te-tile.is-dark { background: linear-gradient(150deg, var(--te-ink), var(--te-ink-2)); border-color: transparent; color: #fff; }
.te-tile.is-dark p { color: rgba(255, 255, 255, .78); }
.te-tile.is-dark .te-tico { background: rgba(255, 255, 255, .14); }
@media (max-width: 900px) { .te-tile, .te-tile.w3, .te-tile.w4 { grid-column: span 3; } }
@media (max-width: 600px) { .te-tile, .te-tile.w3, .te-tile.w4 { grid-column: 1 / -1; } }

/* Neue Blöcke (aufgeräumte Überschriften auf grauem Grund) */
body.page-onetwotexteditor .section[style*="--bg-alt"] { background: var(--te-soft) !important; }
body.page-onetwotexteditor .section h2 { letter-spacing: -.8px; font-size: clamp(28px, 4vw, 38px); }
body.page-onetwotexteditor .feature { border: 1px solid var(--te-line); border-radius: 22px; }
body.page-onetwotexteditor .feature::before { width: 0; }
body.page-onetwotexteditor .feature h3 { color: var(--te-ink); }

/* ---------- Eintragsarten-Finder ---------- */
.te-finder { display: grid; gap: 14px; margin-bottom: 8px; }
.te-search-big { position: relative; max-width: 560px; margin: 0 auto; width: 100%; }
.te-search-big input {
  width: 100%; min-height: 54px; border-radius: 16px; border: 2px solid var(--te-line); background: #fff;
  padding: 0 18px 0 50px; font: inherit; font-size: 16px; color: var(--text);
}
.te-search-big input:focus-visible { outline: none; border-color: var(--te-blue); box-shadow: 0 0 0 4px rgba(15, 118, 110, .18); }
.te-search-big svg { position: absolute; left: 17px; top: 16px; width: 22px; height: 22px; color: var(--text-muted); }
.te-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.te-filter button {
  appearance: none; cursor: pointer; min-height: 40px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600;
  border: 1px solid var(--te-line); background: #fff; color: var(--text-muted); transition: background .2s, color .2s, border-color .2s;
}
.te-filter button:hover { border-color: var(--te-blue); color: var(--te-blue); }
.te-filter button[aria-pressed="true"] { background: var(--te-ink); border-color: var(--te-ink); color: #fff; }
.te-filter button:focus-visible { outline: 3px solid var(--te-blue); outline-offset: 2px; }
.te-count { text-align: center; color: var(--text-muted); font-size: 14px; margin: 4px 0 0; min-height: 22px; }
.te-none { text-align: center; color: var(--text-muted); padding: 30px 0; display: none; }
.te-none.is-on { display: block; }
body.page-onetwotexteditor .kind-card { border-radius: 20px; padding: 18px 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
body.page-onetwotexteditor .kind-card:hover { transform: translateY(-3px); border-color: var(--te-sky); box-shadow: 0 16px 30px -20px rgba(15, 118, 110, .55); }
body.page-onetwotexteditor .kind-card h4 { color: var(--te-ink); }
body.page-onetwotexteditor .kind-card[hidden], body.page-onetwotexteditor .kind-group[hidden], body.page-onetwotexteditor .kind-grid[hidden] { display: none; }
body.page-onetwotexteditor mark.te-hit { background: #fff1a8; color: inherit; border-radius: 4px; padding: 0 2px; }

/* Aufklappbare Gruppen */
.te-fold { max-width: 920px; margin: 0 auto; display: grid; gap: 12px; }
.te-fold details { background: #fff; border: 1px solid var(--te-line); border-radius: 20px; overflow: hidden; }
.te-fold summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; min-height: 44px; font-weight: 700; font-size: 17px; color: var(--te-ink);
}
.te-fold summary::-webkit-details-marker { display: none; }
.te-fold summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--te-blue); transition: transform .3s var(--ease); }
.te-fold details[open] summary::after { transform: rotate(45deg); }
.te-fold summary:focus-visible { outline: 3px solid var(--te-blue); outline-offset: -3px; }
.te-fold .te-fold-body { padding: 0 22px 22px; }
.te-fold .features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.te-fold .feature { background: var(--te-soft); opacity: 1; animation: none; }

/* ---------- Karussell etwas moderner ---------- */
body.page-onetwotexteditor .carousel-slide img { border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(10, 27, 61, .55); }

/* ---------- Preis ---------- */
body.page-onetwotexteditor .price-box { border-radius: 30px; border: 0; background: linear-gradient(150deg, var(--te-ink), var(--te-ink-2)); color: #fff; box-shadow: var(--te-shadow); }
body.page-onetwotexteditor .price-box .price { background: linear-gradient(90deg, #fff, #5eead4); -webkit-background-clip: text; background-clip: text; font-size: 56px; }
body.page-onetwotexteditor .price-box .price-note { color: #99e6dc; }
body.page-onetwotexteditor .price-box p { color: rgba(255, 255, 255, .82); }
.te-price-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; text-align: left; max-width: 340px; margin-inline: auto; }
.te-price-list li { display: flex; gap: 10px; color: rgba(255, 255, 255, .92); font-size: 15px; }
.te-price-list li::before { content: "✓"; color: #6fe3a1; font-weight: 800; }

/* ---------- FAQ ---------- */
body.page-onetwotexteditor .faq-item { background: #fff; border: 1px solid var(--te-line); border-radius: 18px; margin-bottom: 10px; padding: 0 20px; }
body.page-onetwotexteditor .faq-item summary { min-height: 44px; padding: 14px 0; }
body.page-onetwotexteditor .faq-item p { padding-bottom: 14px; }
body.page-onetwotexteditor .faq-item:first-child { padding-top: 0; }
body.page-onetwotexteditor .faq-item:last-child { border-bottom: 1px solid var(--te-line); }

/* ---------- Rechtstexte ---------- */
body.te-legal .te-legal-hero {
  color: #fff; padding: 52px 0 76px;
  background: radial-gradient(60% 90% at 90% 0%, rgba(45, 212, 191, .3) 0%, transparent 65%), linear-gradient(135deg, #061316, var(--te-ink) 50%, var(--te-ink-2));
}
body.te-legal .te-legal-hero .te-eyebrow { margin-bottom: 18px; }
body.te-legal .te-legal-hero h1 { margin: 0 0 12px; font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -1.2px; line-height: 1.08; color: #fff; }
body.te-legal .te-legal-hero p { margin: 0; max-width: 680px; color: rgba(255, 255, 255, .8); font-size: 17px; }
body.te-legal .te-legal-body { margin-top: -36px; position: relative; z-index: 2; padding-bottom: 72px; }
body.te-legal .te-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 28px; }
body.te-legal .te-glance div { background: #fff; border: 1px solid var(--te-line); border-radius: 20px; padding: 16px 18px; box-shadow: var(--te-shadow); }
body.te-legal .te-glance b { display: block; color: var(--te-ink); margin-bottom: 2px; }
body.te-legal .te-glance span { font-size: 14px; color: var(--text-muted); }
body.te-legal .te-glance svg { width: 24px; height: 24px; color: var(--te-blue); margin-bottom: 8px; }
body.te-legal .te-legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
body.te-legal .te-toc { position: sticky; top: calc(var(--te-hdr) + 20px); background: #fff; border: 1px solid var(--te-line); border-radius: 20px; padding: 16px; max-height: calc(100vh - var(--te-hdr) - 40px); overflow-y: auto; }
body.te-legal .te-toc b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-muted); margin: 2px 8px 8px; }
body.te-legal .te-toc a { display: block; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: var(--text-muted); line-height: 1.3; }
body.te-legal .te-toc a:hover { background: var(--te-soft); color: var(--text); text-decoration: none; }
body.te-legal .te-toc a.is-active { background: #d9f5f1; color: var(--te-blue); font-weight: 700; }
body.te-legal .te-legal-card { background: #fff; border: 1px solid var(--te-line); border-radius: 26px; padding: 34px; box-shadow: var(--te-shadow); }
body.te-legal .desc-block h2 { scroll-margin-top: calc(var(--te-hdr) + 20px); color: var(--te-ink); }
body.te-legal .desc-block li { margin-bottom: 8px; }
body.te-legal .te-legal-single { max-width: 820px; margin: 0 auto; }
@media (max-width: 900px) {
  body.te-legal .te-legal-grid { grid-template-columns: 1fr; gap: 20px; }
  body.te-legal .te-toc { position: static; max-height: none; }
  body.te-legal .te-legal-card { padding: 22px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .te-hero-visual .te-device, .te-float { animation: none; }
  .te-panel, .te-view-detail, .te-win.is-on { animation: none; }
  .te-view, .te-toast, .te-meter i { transition: none; }
}

/* Hilfsklassen */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.te-checks label[hidden] { display: none; }

/* ============================================================
   Todo-spezifische Bausteine
   ============================================================ */
body.page-onetwotexteditor { --accent-a: #0f766e; --accent-b: #5cb0ff; }

/* Konflikt-Demo */
.te-conf { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: 0 auto; }
.te-conf-card { background: #fff; border: 2px solid var(--te-line); border-radius: 24px; padding: 22px; display: grid; gap: 10px; align-content: start; transition: border-color .3s, opacity .3s, transform .3s var(--ease); }
.te-conf-card small { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; color: var(--te-blue); }
.te-conf-card h3 { margin: 0; font-size: 19px; color: var(--te-ink); }
.te-conf-card p { margin: 0; color: var(--text-muted); font-size: 14px; }
.te-conf-card.is-won { border-color: var(--te-ok); transform: translateY(-4px); }
.te-conf-card.is-lost { opacity: .45; }
.te-conf-out { max-width: 880px; margin: 18px auto 0; padding: 16px 20px; border-radius: 18px; background: #e9f8ef; color: #14502d; font-weight: 600; display: none; }
.te-conf-out.is-on { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; animation: otPanel .45s var(--ease) both; }
@media (max-width: 720px) { .te-conf { grid-template-columns: 1fr; } }

/* Geräte */
.te-devs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.te-dev { background: #fff; border: 1px solid var(--te-line); border-radius: 26px; padding: 26px; }
.te-dev h3 { margin: 12px 0 10px; font-size: 21px; color: var(--te-ink); }
.te-dev ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.te-dev li { display: flex; gap: 10px; font-size: 15px; color: var(--text-muted); }
.te-dev li::before { content: "✓"; color: var(--te-ok); font-weight: 800; }
.te-dev li.is-no::before { content: "–"; color: var(--text-muted); }
.te-dev .te-tico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--te-blue), var(--te-sky)); }
.te-dev .te-tico svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .te-devs { grid-template-columns: 1fr; } }

/* Abschluss */
.te-cta { }
body.page-onetwotexteditor .te-pending { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 700; font-size: 15px; }
body.page-onetwotexteditor .te-pending i { width: 9px; height: 9px; border-radius: 50%; background: var(--te-sun); box-shadow: 0 0 0 4px rgba(255, 176, 32, .25); }
.te-final { background: linear-gradient(135deg, #061316, var(--te-ink) 50%, var(--te-ink-2)); color: #fff; padding: 56px 0; text-align: center; }
.te-final h2 { color: #fff; margin: 0 0 10px; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.8px; }
.te-final p { color: rgba(255, 255, 255, .78); max-width: 560px; margin: 0 auto 24px; }
.te-float.f1 { top: 46%; left: -8%; }
@media (max-width: 900px) { .te-float.f1 { left: 2%; top: 40%; } }

/* ============================================================
   Markdown-spezifische Bausteine
   ============================================================ */
body.page-onetwotexteditor { --accent-a: #0f766e; --accent-b: #2dd4bf; }
.te-btnrow { display: flex; flex-wrap: wrap; gap: 10px; }
.te-btn-dark { color: var(--te-ink); background: var(--te-soft); border-color: var(--te-line); }
.te-btn-dark:hover { background: #cff0eb; }
.te-live { min-height: 20px; margin: 10px 0 0; font-size: 13px; color: var(--te-ok); font-weight: 600; }
.te-empty { color: var(--text-muted); text-align: center; padding: 24px 8px; font-size: 14px; }
.te-win { display: none; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(60, 200, 120, .25), rgba(45, 212, 191, .25)); border: 1px solid rgba(255, 255, 255, .25); font-weight: 600; margin-bottom: 14px; }
.te-win.is-on { display: block; animation: osPanel .5s var(--ease) both; }
body.page-onetwotexteditor .te-win { color: #fff; }

/* Mac-Abschnitt */
.te-macsec { background: radial-gradient(60% 80% at 100% 0%, rgba(45, 212, 191, .18) 0%, transparent 60%), linear-gradient(180deg, #061316 0%, #181b27 100%); color: #fff; }
.te-macsec h2 { color: #fff; }
.te-macsec p.lead { color: rgba(255, 255, 255, .75); }
.te-macsec .te-kicker { color: #5eead4; }
.te-keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.te-keycard { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.te-keycard b { display: block; color: #fff; margin-bottom: 3px; }
.te-keycard span.d { color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.te-key { display: inline-block; font: 700 12px ui-monospace, "SF Mono", Menlo, monospace; padding: 3px 8px; border-radius: 7px; background: #134e56; border: 1px solid #3a4160; border-bottom-width: 3px; color: #fff; white-space: nowrap; margin-right: 4px; }
.te-keycard .te-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--te-blue), var(--te-sky)); color: #fff; }
.te-keycard .te-ico svg { width: 22px; height: 22px; }
.te-viewmodes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.te-viewmodes span { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.te-tb[data-cmd="bold"] .te-tb-g { font-weight: 900; }
.te-tb[data-cmd="italic"] .te-tb-g { font-style: italic; font-family: Georgia, serif; font-size: 16px; }
.te-tb[data-cmd="strike"] .te-tb-g { text-decoration: line-through; }
.te-conf-card pre { margin: 0; padding: 10px 12px; border-radius: 10px; background: #171a24; color: #5eead4; font: 13.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.te-demo-under { max-width: 760px; margin: 0 auto; }
body.page-onetwotexteditor { --accent-a: #0f766e; --accent-b: #2dd4bf; }
.te-win.te-win-msg { color: #fff; }

/* Hero: Vorher/Nachher-Fenster */
.te-mock { width: min(480px, 100%); border-radius: 18px; overflow: hidden; background: #10252b; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .12); transform: rotate(-2deg); animation: osFloat 7s ease-in-out infinite; }
.te-mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #17343b; color: #a9c9cf; font: 600 12px ui-monospace, "SF Mono", Menlo, monospace; }
.te-mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.te-mock-bar i:nth-child(2) { background: #febc2e; }
.te-mock-bar i:nth-child(3) { background: #28c840; margin-right: 8px; }
.te-mock-bar .te-mock-chip { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgba(45, 212, 191, .18); color: #5eead4; font-size: 11px; }
.te-mock-body { display: grid; grid-template-columns: 1fr 1fr; }
.te-mock-col { padding: 14px 14px 18px; font: 12.5px/1.8 ui-monospace, "SF Mono", Menlo, monospace; color: #cfe3e6; white-space: pre; overflow: hidden; min-height: 260px; }
.te-mock-col small { display: block; margin-bottom: 8px; font: 700 10.5px/1 -apple-system, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: #6fa3ab; }
.te-mock-col + .te-mock-col { background: #0c1d22; border-left: 1px solid #234a53; }
.te-mock-col .bad { color: #ff9a9a; background: rgba(255, 90, 90, .15); border-radius: 3px; }
.te-mock-col .ok { color: #7be0a4; }
@media (max-width: 900px) { .te-mock { transform: none; margin-inline: auto; } }
@media (max-width: 480px) { .te-mock-body { grid-template-columns: 1fr; } .te-mock-col + .te-mock-col { border-left: 0; border-top: 1px solid #234a53; } .te-mock-col { min-height: 0; } }
.te-float.f1 { top: 62%; left: -6%; }
.te-float.f2 { bottom: -4%; right: -2%; top: auto; }
@media (max-width: 900px) { .te-float.f1 { left: 2%; top: auto; bottom: -6%; } .te-float.f2 { display: none; } }

/* Editor-Fenster */
.te-editor { max-width: 1040px; margin: 0 auto 36px; border-radius: 22px; overflow: hidden; background: #0f2429; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12); position: relative; }
.te-titlebar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 14px; background: #17343b; color: #c3dde1; }
.te-dots { display: flex; gap: 7px; }
.te-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.te-dots i:nth-child(2) { background: #febc2e; }
.te-dots i:nth-child(3) { background: #28c840; }
.te-doctabs { display: flex; gap: 4px; flex: 1; min-width: 160px; overflow-x: auto; scrollbar-width: none; }
.te-doctabs::-webkit-scrollbar { display: none; }
.te-doctab { flex: none; appearance: none; border: 0; cursor: pointer; min-height: 40px; padding: 0 14px; border-radius: 10px; background: transparent; color: #a9c9cf; font: 600 13px ui-monospace, "SF Mono", Menlo, monospace; display: inline-flex; align-items: center; }
.te-doctab:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.te-doctab[aria-pressed="true"] { background: #0f2429; color: #fff; }
.te-doctab:focus-visible { outline: 3px solid var(--te-sky); outline-offset: -2px; }
.te-doctab svg { width: 16px; height: 16px; }
.te-modes { display: inline-flex; padding: 3px; border-radius: 11px; background: rgba(0, 0, 0, .28); }
.te-modes button { appearance: none; border: 0; cursor: pointer; min-height: 40px; min-width: 44px; padding: 0 12px; border-radius: 8px; background: transparent; color: #a9c9cf; font: inherit; font-size: 13px; font-weight: 700; }
.te-modes button[aria-pressed="true"] { background: #fff; color: #0b1f24; }
.te-modes button:focus-visible { outline: 3px solid var(--te-sky); outline-offset: 1px; }
.te-toolbar { display: flex; align-items: center; gap: 2px; padding: 6px 8px; overflow-x: auto; background: #12303a; border-bottom: 1px solid #234a53; scrollbar-width: thin; }
.te-tb, .te-ctl { flex: none; appearance: none; border: 0; cursor: pointer; min-width: 44px; height: 44px; border-radius: 10px; background: transparent; color: #d9eef0; font-size: 19px; display: grid; place-items: center; transition: background .15s; padding: 0 4px; }
.te-ctl { font: 700 13px -apple-system, sans-serif; }
.te-ctl svg { width: 20px; height: 20px; }
.te-tb:hover, .te-ctl:hover { background: #1f4651; }
.te-tb:focus-visible, .te-ctl:focus-visible { outline: 3px solid var(--te-sky); outline-offset: -3px; }
.te-ctl:disabled { opacity: .35; cursor: default; }
.te-sep { flex: none; width: 1px; height: 26px; background: #2b5762; margin: 0 6px; }
.te-cmds { display: flex; gap: 2px; }
.te-find { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 12px; background: #12303a; border-bottom: 1px solid #234a53; }
.te-find[hidden] { display: none; }
.te-find input[type=text] { min-height: 40px; border-radius: 10px; border: 1px solid #2b5762; background: #0b1f24; color: #fff; padding: 0 12px; font: inherit; font-size: 14px; flex: 1 1 140px; min-width: 120px; }
.te-find input[type=text]:focus-visible { outline: 3px solid var(--te-sky); }
.te-find label { color: #c3dde1; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.te-find .te-btn { min-height: 40px; font-size: 13px; padding: 0 14px; }
.te-find-count { color: #7be0a4; font-size: 13px; min-width: 70px; }
.te-panes { display: grid; grid-template-columns: 1fr 1fr; height: 400px; }
.te-pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.te-pane-text { background: #0f2429; border-right: 1px solid #234a53; }
.te-pane-text textarea { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 16px 18px; border: 0; background: transparent; color: #e3f2f4; caret-color: #5eead4; resize: none; outline: none; font: 14.5px/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: break-word; tab-size: 4; }
.te-pane-text textarea::selection { background: rgba(45, 212, 191, .35); }
.te-pane-text textarea:focus-visible { box-shadow: inset 0 0 0 2px var(--te-sky); }
.te-pane-hex { background: #0a1a1e; overflow: auto; }
.te-hex { margin: 0; padding: 16px 18px; font: 13px/1.7 ui-monospace, "SF Mono", Menlo, monospace; color: #bcd3d7; white-space: pre; overflow: auto; height: 100%; }
.te-hex .hx-o { color: #5f8a92; } .te-hex .hx-n { color: #ffb36b; font-weight: 700; } .te-hex .hx-l { color: #5eead4; } .te-hex .hx-c { color: #ff8a9a; }
.te-editor[data-mode="text"] .te-pane-hex { display: none; }
.te-editor[data-mode="text"] .te-panes, .te-editor[data-mode="hex"] .te-panes { grid-template-columns: 1fr; }
.te-editor[data-mode="hex"] .te-pane-text { display: none; }
.te-editor[data-mode="text"] .te-pane-text { border-right: 0; }
.te-statusbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 8px 14px; background: #17343b; color: #a9c9cf; font: 12px ui-monospace, "SF Mono", Menlo, monospace; }
.te-legend { color: #ffb36b; }
.te-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; background: #12303a; border-top: 1px solid #234a53; }
.te-toast { position: absolute; left: 50%; bottom: 62px; translate: -50% 140%; opacity: 0; transition: translate .35s var(--ease), opacity .25s; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 24px); padding: 8px 8px 8px 16px; border-radius: 14px; background: #fff; color: #0b1f24; font-size: 14px; font-weight: 600; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7); z-index: 12; }
.te-toast.is-on { translate: -50% 0; opacity: 1; }
.te-toast button { appearance: none; border: 0; cursor: pointer; min-height: 40px; padding: 0 14px; border-radius: 10px; background: var(--te-blue); color: #fff; font: inherit; font-size: 13px; font-weight: 700; }
.te-toast button[hidden] { display: none; }
.te-pop { position: absolute; z-index: 20; right: 12px; top: 112px; width: min(340px, calc(100% - 24px)); max-height: 330px; overflow: auto; padding: 14px; border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6); }
.te-pop[hidden] { display: none; }
.te-pop h4 { margin: 0 0 8px; font-size: 15px; }
.te-pop label { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; cursor: pointer; }
.te-pop input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--te-blue); }
.te-pop-actions { display: flex; gap: 8px; margin-top: 8px; position: sticky; bottom: -14px; background: #fff; padding: 8px 0 0; }
.te-demo-under { max-width: 760px; margin: 0 auto; }
@media (max-width: 760px) {
  .te-panes { grid-template-columns: 1fr; grid-template-rows: 260px 220px; height: auto; }
  .te-editor[data-mode="text"] .te-panes, .te-editor[data-mode="hex"] .te-panes { grid-template-rows: 380px; }
  .te-pane-text { border-right: 0; border-bottom: 1px solid #234a53; }
}

/* Alle Werkzeuge / Detektiv / Vorher-Nachher */
.te-tool textarea { width: 100%; min-height: 150px; border-radius: 14px; border: 2px solid var(--te-line); padding: 12px 14px; font: 14px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text); resize: vertical; background: #fff; }
.te-tool textarea:focus-visible, .te-tool input[type=search]:focus-visible { outline: none; border-color: var(--te-blue); box-shadow: 0 0 0 4px rgba(15, 118, 110, .18); }
.te-tool input[type=search] { width: 100%; min-height: 50px; border-radius: 14px; border: 2px solid var(--te-line); padding: 0 16px; font: inherit; font-size: 15px; margin-bottom: 10px; }
.te-tool.te-wide { max-width: 980px; }
.te-cmdlist { max-height: 300px; overflow: auto; padding-right: 4px; margin-bottom: 16px; }
.te-cmdlist h4 { margin: 12px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); }
.te-cmdlist h4 span { font-weight: 500; }
.te-cmdgrid { display: flex; flex-wrap: wrap; gap: 6px; }
.te-cmdgrid button { appearance: none; cursor: pointer; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--te-line); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px; }
.te-cmdgrid button span { font-size: 17px; }
.te-cmdgrid button:hover { border-color: var(--te-blue); color: var(--te-blue); }
.te-cmdgrid button[aria-pressed="true"] { background: var(--te-ink); border-color: var(--te-ink); color: #fff; }
.te-cmdgrid button:focus-visible { outline: 3px solid var(--te-blue); outline-offset: 2px; }
.te-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.te-two h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); }
.te-codebox { margin: 0; padding: 14px 16px; border-radius: 14px; background: #0f2429; color: #e3f2f4; font: 13.5px/1.65 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 150px; max-height: 320px; overflow: auto; }
.te-all-desc { margin: 0 0 12px; color: var(--text-muted); font-size: 14px; }
.te-all-desc b { color: var(--te-ink); }
.te-count { min-height: 20px; font-size: 13px; color: var(--text-muted); margin: 0 0 6px; }
@media (max-width: 760px) { .te-two { grid-template-columns: 1fr; } }
.te-dstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 16px; }
.te-dstats div { padding: 12px 14px; border-radius: 14px; background: var(--te-soft); text-align: center; }
.te-dstats b { display: block; font-size: 22px; color: var(--te-ink); letter-spacing: -.5px; }
.te-dstats span { font-size: 12.5px; color: var(--text-muted); }
.te-dissues { display: grid; gap: 8px; margin-bottom: 16px; }
.te-issue { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--te-line); background: #fff; }
.te-badge { flex: none; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px; display: grid; place-items: center; background: #fff1d6; color: #8a5200; font-weight: 800; font-size: 14px; }
.te-issue-t { flex: 1 1 200px; font-size: 14px; color: var(--text-muted); }
.te-issue-t b { color: var(--te-ink); }
.te-issue .te-btn { min-height: 44px; font-size: 13px; }
.te-ok { padding: 14px 16px; border-radius: 14px; background: #e9f8ef; color: #14502d; font-weight: 600; margin: 0; }
.te-reveal { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: #0f2429; color: #e3f2f4; font: 13.5px/1.7 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow: auto; }
.te-reveal .rv { color: #5f8a92; }
.te-reveal .rv-a { color: #ffb36b; background: rgba(255, 179, 107, .15); border-radius: 3px; padding: 0 2px; }
.te-ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.te-ba { padding: 22px; border-radius: 26px; background: #fff; border: 1px solid var(--te-line); display: grid; gap: 12px; align-content: start; transition: border-color .3s, box-shadow .3s; }
.te-ba.is-done { border-color: var(--te-sky); box-shadow: 0 18px 36px -24px rgba(15, 118, 110, .6); }
.te-ba h3 { margin: 0; font-size: 18px; color: var(--te-ink); }
.te-ba small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 800; color: var(--te-blue); margin-bottom: 4px; }
.te-ba pre { margin: 0; padding: 12px 14px; border-radius: 12px; background: #0f2429; color: #e3f2f4; font: 13px/1.65 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 120px; }
.te-ba .te-ba-before { background: #f3f5f7; color: #4a5560; }
.te-ba .te-btn { justify-content: center; }
.te-ba .te-ba-chain { font-size: 13px; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .te-ba-grid { grid-template-columns: 1fr; } }
.te-conf-card pre { margin: 0; padding: 10px 12px; border-radius: 10px; background: #0f2429; color: #5eead4; font: 13.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.te-editor[data-mode="text"] .te-legend { display: none; }
