/* ==========================================================================
   KI Web Studio – v3 Erweiterungen
   Digitaler Assistent, Website-Check, Erstgespräch (Termin), Kundenbereich
   ========================================================================== */

/* ── Digitaler Assistent ── */
.kwa { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 9997; font-family: "Inter", system-ui, sans-serif; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.kwa.is-open { z-index: 10001; }
.kwa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kwa-toggle {
  order: 2; display: inline-flex; align-items: center; gap: .5rem; height: 3.5rem; padding: 0 1.15rem 0 1rem;
  border: 0; border-radius: 9999px; cursor: pointer; color: #fff; font-weight: 600; font-size: .9rem;
  background: linear-gradient(135deg, #3b82f6, #6366f1 55%, #8b5cf6);
  box-shadow: 0 8px 30px rgba(59,130,246,.45), 0 0 0 1px rgba(255,255,255,.12) inset;
  transition: transform .2s, box-shadow .2s;
}
.kwa-toggle:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(99,102,241,.55); }
.kwa-toggle:focus-visible, .kwa-close:focus-visible, .kwa-chip:focus-visible, .kwa-send:focus-visible, .kwa-btn:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
.kwa-toggle svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.kwa-ic-close { display: none; }
.kwa.is-open .kwa-ic-open { display: none; }
.kwa.is-open .kwa-ic-close { display: block; }
.kwa.is-open .kwa-toggle-label { display: none; }
.kwa.is-open .kwa-toggle { width: 3.5rem; padding: 0; justify-content: center; }
.kwa-panel {
  order: 1; width: min(24rem, calc(100vw - 2.5rem)); height: min(36rem, calc(100vh - 7.5rem)); height: min(36rem, calc(100dvh - 7.5rem));
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(10,14,26,.97); color: #e2e8f0;
  border: 1px solid rgba(96,165,250,.3); border-radius: 1.25rem;
  box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 40px rgba(59,130,246,.15);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: kwa-in .25s cubic-bezier(.2,.7,.2,1);
}
.kwa-panel[hidden] { display: none; }
@keyframes kwa-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.kwa-head { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(135deg, rgba(59,130,246,.18), rgba(139,92,246,.12)); }
.kwa-avatar { width: 2.4rem; height: 2.4rem; border-radius: .8rem; display: grid; place-items: center; background: rgba(255,255,255,.08); flex-shrink: 0; }
.kwa-head-text { flex: 1; min-width: 0; }
.kwa-title { margin: 0; font-weight: 700; font-size: .95rem; color: #fff; }
.kwa-sub { margin: 0; font-size: .72rem; color: #94a3b8; }
.kwa-close { width: 2.25rem; height: 2.25rem; border-radius: .7rem; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #e2e8f0; display: grid; place-items: center; cursor: pointer; }
.kwa-close:hover { background: rgba(255,255,255,.12); }
.kwa-close svg { width: 1.1rem; height: 1.1rem; }
.kwa-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; overscroll-behavior: contain; }
.kwa-msg { max-width: 88%; padding: .65rem .85rem; border-radius: 1rem; font-size: .875rem; line-height: 1.55; word-wrap: break-word; animation: kwa-msg .25s ease; }
@keyframes kwa-msg { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.kwa-bot { align-self: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07); border-bottom-left-radius: .3rem; color: #e2e8f0; }
.kwa-user { align-self: flex-end; background: linear-gradient(135deg, #3b82f6, #6366f1); color: #fff; border-bottom-right-radius: .3rem; }
.kwa-msg strong { color: #bfdbfe; font-weight: 600; }
.kwa-user strong { color: #fff; }
.kwa-msg a { color: #93c5fd; text-decoration: underline; text-underline-offset: 2px; }
.kwa-typing { display: inline-flex; gap: .3rem; padding: .8rem .95rem; }
.kwa-typing span { width: .45rem; height: .45rem; border-radius: 50%; background: #93c5fd; animation: kwa-dot 1s infinite ease-in-out; }
.kwa-typing span:nth-child(2) { animation-delay: .15s; }
.kwa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes kwa-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.kwa-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .65rem; }
.kwa-btn { display: inline-flex; align-items: center; padding: .5rem .85rem; border-radius: 9999px; font-size: .8rem; font-weight: 600; text-decoration: none !important; }
.kwa-btn-primary { background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff !important; }
.kwa-btn-wa { background: #1fa855; color: #fff !important; }
.kwa-chips { display: flex; gap: .45rem; padding: .25rem 1rem .6rem; overflow-y: auto; flex-wrap: wrap; max-height: 6.4rem; }
.kwa-chips:empty { display: none; }
.kwa-chip { flex-shrink: 0; padding: .4rem .75rem; border-radius: 9999px; font-size: .78rem; font-weight: 500; cursor: pointer; color: #bfdbfe; background: rgba(59,130,246,.12); border: 1px solid rgba(96,165,250,.35); transition: background .2s, border-color .2s; }
.kwa-chip:hover { background: rgba(59,130,246,.25); border-color: rgba(147,197,253,.7); }
.kwa-form { display: flex; gap: .5rem; padding: .7rem .8rem; border-top: 1px solid rgba(255,255,255,.08); }
.kwa-input { flex: 1; min-width: 0; padding: .7rem .9rem; border-radius: .8rem; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #f1f5f9; font-size: 16px; outline: none; }
.kwa-input:focus { border-color: rgba(96,165,250,.8); box-shadow: 0 0 0 3px rgba(59,130,246,.2); }
.kwa-input::placeholder { color: #64748b; }
.kwa-send { width: 2.75rem; border-radius: .8rem; border: 0; cursor: pointer; color: #fff; background: linear-gradient(135deg, #3b82f6, #8b5cf6); display: grid; place-items: center; }
.kwa-send svg { width: 1.15rem; height: 1.15rem; }
.kwa-note { margin: 0; padding: 0 1rem .7rem; font-size: .68rem; color: #7c8aa0; }
.kwa-note a { color: #93c5fd; }
@media (max-width: 480px) {
  .kwa { right: 1rem; bottom: 1rem; }
  .kwa-toggle { height: 3.5rem; width: 3.5rem; padding: 0; justify-content: center; }
  .kwa-toggle-label { display: none; }
  .kwa.is-open { left: .5rem; right: .5rem; bottom: .5rem; }
  .kwa-panel { width: 100%; height: calc(100vh - 5.5rem); height: calc(100dvh - 5.5rem); }
}
@media (prefers-reduced-motion: reduce) { .kwa-panel, .kwa-msg { animation: none; } .kwa-typing span { animation: none; opacity: .7; } }
html[data-theme="light"] .kwa-panel { background: rgba(255,255,255,.98); color: #1e293b; border-color: rgba(59,130,246,.25); box-shadow: 0 24px 60px rgba(15,23,42,.18); }
html[data-theme="light"] .kwa-head { background: linear-gradient(135deg, rgba(59,130,246,.1), rgba(139,92,246,.07)); border-bottom-color: rgba(15,23,42,.08); }
html[data-theme="light"] .kwa-title { color: #0f172a; }
html[data-theme="light"] .kwa-sub, html[data-theme="light"] .kwa-note { color: #5b6b80; }
html[data-theme="light"] .kwa-avatar { background: #0f172a; }
html[data-theme="light"] .kwa-close { color: #0f172a; background: rgba(15,23,42,.04); border-color: rgba(15,23,42,.12); }
html[data-theme="light"] .kwa-bot { background: #f1f5f9; border-color: rgba(15,23,42,.06); color: #1e293b; }
html[data-theme="light"] .kwa-bot strong { color: #1e3a8a; }
html[data-theme="light"] .kwa-msg a, html[data-theme="light"] .kwa-note a { color: #2563eb; }
html[data-theme="light"] .kwa-chip { color: #1d4ed8; background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.3); }
html[data-theme="light"] .kwa-form { border-top-color: rgba(15,23,42,.08); }
html[data-theme="light"] .kwa-input { background: #fff; color: #0f172a; border-color: rgba(15,23,42,.15); }

/* ── Gemeinsame Werkzeug-Bausteine ── */
.tool-card { padding: 1.5rem; border-radius: 1.25rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
@media (min-width: 640px) { .tool-card { padding: 2rem; } }
.tool-label { display: block; font-size: .875rem; font-weight: 500; color: #94a3b8; margin-bottom: .4rem; }
.tool-hint { font-size: .8rem; color: #7c8aa0; margin-top: .4rem; }
.tool-status { margin-top: .9rem; font-size: .9rem; }
.tool-status.is-error { color: #f87171; }
.tool-status.is-ok { color: #34d399; }
.tool-note { font-size: .8rem; color: #7c8aa0; line-height: 1.6; }
.spin { display: inline-block; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
html[data-theme="light"] .tool-card { background: #fff; border-color: rgba(15,23,42,.09); box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.05); }
html[data-theme="light"] .tool-label { color: #334155; }
html[data-theme="light"] .tool-hint, html[data-theme="light"] .tool-note { color: #5b6b80; }
html[data-theme="light"] .tool-status.is-error { color: #b91c1c; }
html[data-theme="light"] .tool-status.is-ok { color: #047857; }

/* ── Website-Check ── */
.wc-form { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .wc-form { flex-direction: row; } .wc-form .form-input { flex: 1; } }
.wc-total { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.wc-ring { --v: 0; --c: #3b82f6; width: 8.5rem; height: 8.5rem; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: radial-gradient(closest-side, #0b1020 79%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--v) * 1%), rgba(255,255,255,.08) 0); }
.wc-ring-num { font-family: "Syne", system-ui, sans-serif; font-weight: 800; font-size: 2.4rem; color: #fff; line-height: 1; text-align: center; }
.wc-ring-num small { display: block; font-family: "Inter", system-ui, sans-serif; font-size: .7rem; font-weight: 500; color: #94a3b8; margin-top: .2rem; }
.wc-cats { display: grid; gap: 1rem; }
@media (min-width: 768px) { .wc-cats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.wc-cat { padding: 1.25rem; border-radius: 1.1rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.wc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.wc-cat-title { font-family: "Syne", system-ui, sans-serif; font-weight: 700; color: #fff; font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; margin: 0; }
.wc-score { font-weight: 700; font-size: .9rem; padding: .2rem .65rem; border-radius: 9999px; white-space: nowrap; }
.wc-bar { height: .4rem; border-radius: 9999px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 1rem; }
.wc-bar > span { display: block; height: 100%; border-radius: inherit; width: 0; transition: width .9s cubic-bezier(.2,.7,.2,1); }
.wc-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.wc-item { display: grid; grid-template-columns: 1.4rem 1fr; gap: .5rem; font-size: .85rem; line-height: 1.5; color: #cbd5e1; }
.wc-item b { color: #fff; font-weight: 600; }
.wc-item p { margin: .15rem 0 0; color: #94a3b8; font-size: .8rem; }
.wc-ico { width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; margin-top: .05rem; }
.is-good { --c: #10b981; } .is-mid { --c: #f59e0b; } .is-bad { --c: #ef4444; }
.wc-score.is-good, .wc-ico.is-good { background: rgba(16,185,129,.15); color: #34d399; }
.wc-score.is-mid, .wc-ico.is-mid { background: rgba(245,158,11,.15); color: #fbbf24; }
.wc-score.is-bad, .wc-ico.is-bad { background: rgba(239,68,68,.15); color: #f87171; }
.wc-ico.is-info { background: rgba(148,163,184,.15); color: #cbd5e1; }
.wc-bar > span.is-good { background: #10b981; } .wc-bar > span.is-mid { background: #f59e0b; } .wc-bar > span.is-bad { background: #ef4444; }
.wc-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.wc-chip { font-size: .75rem; padding: .25rem .6rem; border-radius: 9999px; background: rgba(255,255,255,.06); color: #cbd5e1; border: 1px solid rgba(255,255,255,.08); word-break: break-all; }
.wc-skeleton { height: 9rem; border-radius: 1.1rem; background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.08), rgba(255,255,255,.03)); background-size: 200% 100%; animation: wc-shimmer 1.2s infinite linear; }
@keyframes wc-shimmer { to { background-position: -200% 0; } }
html[data-theme="light"] .wc-ring { background: radial-gradient(closest-side, #fff 79%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--v) * 1%), rgba(15,23,42,.08) 0); }
html[data-theme="light"] .wc-ring-num, html[data-theme="light"] .wc-cat-title, html[data-theme="light"] .wc-item b { color: #0f172a; }
html[data-theme="light"] .wc-cat { background: #fff; border-color: rgba(15,23,42,.09); box-shadow: 0 8px 24px rgba(15,23,42,.05); }
html[data-theme="light"] .wc-item { color: #334155; }
html[data-theme="light"] .wc-item p, html[data-theme="light"] .wc-ring-num small { color: #5b6b80; }
html[data-theme="light"] .wc-bar { background: rgba(15,23,42,.08); }
html[data-theme="light"] .wc-chip { background: rgba(15,23,42,.04); color: #334155; border-color: rgba(15,23,42,.08); }
html[data-theme="light"] .wc-score.is-good, html[data-theme="light"] .wc-ico.is-good { color: #047857; }
html[data-theme="light"] .wc-score.is-mid, html[data-theme="light"] .wc-ico.is-mid { color: #b45309; }
html[data-theme="light"] .wc-score.is-bad, html[data-theme="light"] .wc-ico.is-bad { color: #b91c1c; }
html[data-theme="light"] .wc-ico.is-info { color: #475569; }
html[data-theme="light"] .wc-skeleton { background: linear-gradient(90deg, rgba(15,23,42,.03), rgba(15,23,42,.07), rgba(15,23,42,.03)); background-size: 200% 100%; }

/* ── Termin ── */
.tm-days { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem .2rem .5rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tm-day, .tm-slot, .tm-fmt {
  position: relative; cursor: pointer; border-radius: .9rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03);
  color: #e2e8f0; transition: border-color .2s, background .2s, box-shadow .2s; font: inherit;
}
.tm-day { flex: 0 0 auto; width: 4.6rem; padding: .6rem .3rem; text-align: center; scroll-snap-align: start; }
.tm-day small { display: block; font-size: .7rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; }
.tm-day strong { display: block; font-family: "Syne", system-ui, sans-serif; font-size: 1.35rem; line-height: 1.2; color: #fff; }
.tm-day span { display: block; font-size: .72rem; color: #94a3b8; }
.tm-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr)); gap: .5rem; }
.tm-slot { padding: .55rem .2rem; text-align: center; font-size: .875rem; font-weight: 600; }
.tm-fmts { display: grid; gap: .6rem; }
@media (min-width: 640px) { .tm-fmts { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.tm-fmt { padding: .9rem 1rem; text-align: left; display: flex; flex-direction: column; gap: .2rem; }
.tm-fmt b { color: #fff; font-size: .95rem; }
.tm-fmt span { color: #94a3b8; font-size: .78rem; line-height: 1.45; }
.tm-day:hover, .tm-slot:hover, .tm-fmt:hover { border-color: rgba(96,165,250,.5); }
.tm-day[aria-pressed="true"], .tm-slot[aria-pressed="true"], .tm-fmt[aria-pressed="true"] { border-color: rgba(96,165,250,.95); background: rgba(59,130,246,.16); box-shadow: 0 0 0 1px rgba(96,165,250,.5), 0 0 24px rgba(59,130,246,.18); }
.tm-day:focus-visible, .tm-slot:focus-visible, .tm-fmt:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.tm-step-title { display: flex; align-items: center; gap: .6rem; font-family: "Syne", system-ui, sans-serif; font-weight: 700; color: #fff; font-size: 1.1rem; margin: 0 0 1rem; }
.tm-num { display: inline-flex; width: 1.75rem; height: 1.75rem; align-items: center; justify-content: center; border-radius: 9999px; font-size: .8rem; background: linear-gradient(135deg,#3b82f6,#8b5cf6); color: #fff; font-family: "Inter", system-ui, sans-serif; }
.tm-summary { padding: 1.25rem; border-radius: 1.1rem; background: linear-gradient(160deg, rgba(59,130,246,.16), rgba(139,92,246,.1)); border: 1px solid rgba(96,165,250,.45); }
.tm-summary dt { font-size: .75rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; }
.tm-summary dd { margin: 0 0 .7rem; color: #fff; font-weight: 600; }
.tm-grid > * + * { margin-top: 1.25rem; }
@media (min-width: 1024px) { .tm-grid { display: grid; grid-template-columns: minmax(0,1fr) 20rem; gap: 1.5rem; align-items: start; } .tm-grid > * + * { margin-top: 0; } .tm-aside { position: sticky; top: 6rem; } }
html[data-theme="light"] .tm-day, html[data-theme="light"] .tm-slot, html[data-theme="light"] .tm-fmt { background: #fff; border-color: rgba(15,23,42,.12); color: #0f172a; }
html[data-theme="light"] .tm-day strong, html[data-theme="light"] .tm-fmt b, html[data-theme="light"] .tm-step-title, html[data-theme="light"] .tm-summary dd { color: #0f172a; }
html[data-theme="light"] .tm-day small, html[data-theme="light"] .tm-day span, html[data-theme="light"] .tm-fmt span, html[data-theme="light"] .tm-summary dt { color: #5b6b80; }
html[data-theme="light"] .tm-day[aria-pressed="true"], html[data-theme="light"] .tm-slot[aria-pressed="true"], html[data-theme="light"] .tm-fmt[aria-pressed="true"] { background: rgba(59,130,246,.1); }
html[data-theme="light"] .tm-summary { background: linear-gradient(160deg, rgba(59,130,246,.1), #fff 75%); }

/* ── Kundenbereich ── */
.kd-steps { list-style: none; margin: 0; padding: 0; }
.kd-step { position: relative; display: grid; grid-template-columns: 2.25rem 1fr; gap: .9rem; padding-bottom: 1.4rem; }
.kd-step:last-child { padding-bottom: 0; }
.kd-step::before { content: ""; position: absolute; left: 1.08rem; top: 2.3rem; bottom: .2rem; width: 2px; background: rgba(255,255,255,.1); }
.kd-step:last-child::before { display: none; }
.kd-step.is-done::before { background: linear-gradient(#10b981, #3b82f6); }
.kd-dot { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; border: 2px solid rgba(255,255,255,.15); color: #94a3b8; background: #0b1020; position: relative; z-index: 1; }
.kd-step.is-done .kd-dot { border-color: #10b981; background: #10b981; color: #fff; }
.kd-step.is-current .kd-dot { border-color: #60a5fa; color: #fff; background: linear-gradient(135deg,#3b82f6,#8b5cf6); box-shadow: 0 0 0 6px rgba(59,130,246,.18); }
.kd-step-title { color: #fff; font-weight: 700; margin: .35rem 0 .1rem; }
.kd-step-meta { font-size: .8rem; color: #94a3b8; margin: 0; }
.kd-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 9999px; background: rgba(245,158,11,.15); color: #fbbf24; border: 1px solid rgba(245,158,11,.35); }
.kd-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.kd-notes li { padding: .75rem .9rem; border-radius: .8rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); font-size: .875rem; color: #cbd5e1; }
.kd-notes time { display: block; font-size: .72rem; color: #94a3b8; margin-bottom: .15rem; }
html[data-theme="light"] .kd-step::before { background: rgba(15,23,42,.1); }
html[data-theme="light"] .kd-dot { background: #fff; border-color: rgba(15,23,42,.18); color: #64748b; }
html[data-theme="light"] .kd-step-title { color: #0f172a; }
html[data-theme="light"] .kd-step-meta, html[data-theme="light"] .kd-notes time { color: #5b6b80; }
html[data-theme="light"] .kd-notes li { background: #f8fafc; border-color: rgba(15,23,42,.08); color: #334155; }
html[data-theme="light"] .kd-badge { color: #b45309; }

/* Fieldsets als Karten (Legende ohne Rahmen-Lücke) */
fieldset.tool-card { min-width: 0; margin: 0; }
fieldset.tool-card > legend { float: left; width: 100%; padding: 0; }
fieldset.tool-card > legend + * { clear: both; }

/* Navigation: zwischen 1024 und 1279 px weniger wichtige Punkte ausblenden */
@media (max-width: 1279px) { .nav-menu .nav-pill-xl { display: none; } }

/* ---------- v3: Apps / Google Play ---------- */
.play-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; color: #fde68a; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.35); }
.play-badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
.play-badge[data-play-live] { color: #a7f3d0; background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.35); }
.play-badge[data-play-live]::before { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.play-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: .8rem; background: #0b0f19; color: #fff; border: 1px solid rgba(255,255,255,.18); font-weight: 600; font-size: .9rem; text-decoration: none; transition: transform .15s, border-color .15s; }
.play-btn:hover { transform: translateY(-1px); border-color: rgba(96,165,250,.6); }
.play-btn svg { width: 1.1rem; height: 1.1rem; }
.play-btn[hidden], .play-badge[hidden] { display: none !important; }
.app-card { position: relative; border-radius: 1.25rem; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: rgba(15,23,42,.6); display: flex; flex-direction: column; }
.app-card-top { padding: 1.5rem; display: flex; gap: 1rem; align-items: center; }
.app-icon { width: 4rem; height: 4rem; border-radius: 1.1rem; display: grid; place-items: center; font-size: 2rem; flex: none; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.app-card-body { padding: 0 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.app-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; align-items: center; }
.app-offer { padding: 1.5rem; border-radius: 1.25rem; border: 1px solid rgba(255,255,255,.08); background: rgba(15,23,42,.55); }
.app-offer h3 { color: #fff; }
.app-offer ul li { padding-left: 1.2rem; position: relative; }
.app-offer ul li::before { content: "✓"; position: absolute; left: 0; color: #60a5fa; }
.app-steps { counter-reset: s; }
.app-steps li { counter-increment: s; position: relative; padding-left: 3rem; }
.app-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg,#3b82f6,#8b5cf6); }
html[data-theme="light"] .app-card, html[data-theme="light"] .app-offer { background: #fff; border-color: #dbe3ee; box-shadow: 0 8px 24px -16px rgba(15,23,42,.25); }
html[data-theme="light"] .app-offer h3 { color: #0f172a; }
html[data-theme="light"] .play-badge { color: #92400e; background: #fef3c7; border-color: #fcd34d; }
html[data-theme="light"] .play-badge[data-play-live] { color: #065f46; background: #d1fae5; border-color: #6ee7b7; }
html[data-theme="light"] .play-btn { background: #0f172a; color: #fff; }
@media (min-width: 1280px) { .nav-menu .nav-pill { padding-left: .55rem; padding-right: .55rem; } }
fieldset.tool-card, .tm-grid fieldset { min-width: 0; min-inline-size: 0; }
@media (max-width: 640px) { h1, h2 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; } }
