/* ==========================================================================
   Telkini v141 — «+ إضافة تمرين» داخل أجزاء Lesen (نفس هوية الموقع)
   ========================================================================== */
.tkx-addwrap { display: flex; justify-content: center; margin: 0 auto 14px; }
.tkx-addwrap[hidden] { display: none; }
.tkx-add { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 8px; border-radius: 16px; cursor: pointer;
  border: 1.5px dashed #6ee7b7; background: linear-gradient(180deg, #ffffff, #f0fdf8); color: #065f46; font-family: Cairo, system-ui, sans-serif;
  box-shadow: 0 6px 18px -12px rgba(16,185,129,.7); transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease, border-color .2s ease; }
.tkx-add:hover { transform: translateY(-1px); border-style: solid; border-color: #10b981; box-shadow: 0 10px 24px -12px rgba(16,185,129,.8); }
.tkx-add:active { transform: translateY(1px) scale(.98); }
.tkx-add:focus-visible { outline: 2px solid #10b981; outline-offset: 3px; }
.tkx-add-plus { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; color: #fff; font: 700 22px/1 Inter, sans-serif;
  background: linear-gradient(135deg, #10b981, #0d9488); box-shadow: 0 4px 12px -4px rgba(13,148,136,.8); }
.tkx-add-txt { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.tkx-add-txt b { font-size: 13.5px; font-weight: 800; }
.tkx-add-txt small { font-size: 10.5px; color: #059669; opacity: .85; font-weight: 600; }
.tkx-add-dot { position: absolute; top: -4px; left: -4px; width: 12px; height: 12px; border-radius: 50%; background: #f59e0b; border: 2px solid #fff; }
.dark .tkx-add { background: linear-gradient(180deg, #0f172a, #0b1f1a); border-color: rgba(52,211,153,.45); color: #a7f3d0; }
.dark .tkx-add-txt small { color: #6ee7b7; }
.dark .tkx-add-dot { border-color: #0f172a; }

html.tkx-lock, html.tkx-lock body { overflow: hidden; }
.tkx-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(2,6,23,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: tkxFade .2s ease; font-family: Cairo, system-ui, sans-serif; }
@keyframes tkxFade { from { opacity: 0; } }
.tkx-card { width: 100%; max-width: 920px; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: #f8fafc; color: #0f172a;
  border-radius: 26px; overflow: hidden; border: 1px solid #e2e8f0; box-shadow: 0 30px 80px -20px rgba(2,6,23,.55); animation: tkxRise .3s cubic-bezier(.22,1,.36,1); }
@keyframes tkxRise { from { transform: translateY(18px) scale(.98); opacity: 0; } }
.dark .tkx-card { background: #0b1220; color: #e2e8f0; border-color: #1f2a3c; }
.tkx-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border-bottom: 1px solid #e2e8f0; }
.dark .tkx-head { background: #0f172a; border-color: #1f2a3c; }
.tkx-head-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 18px; flex-shrink: 0;
  background: linear-gradient(135deg, #10b981, #0d9488 60%, #0891b2); }
.tkx-head-t { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.tkx-head-t b { font-size: 16px; font-weight: 800; }
.tkx-head-t b span { font-family: Inter, sans-serif; }
.tkx-head-t small { color: #64748b; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkx-head-t small span { font-family: Inter, sans-serif; font-weight: 700; }
.tkx-x { width: 38px; height: 38px; border-radius: 12px; border: 1px solid #e2e8f0; background: #f1f5f9; color: #475569; cursor: pointer; font-size: 15px; transition: all .2s ease; }
.tkx-x:hover { background: #ef4444; border-color: #ef4444; color: #fff; transform: rotate(90deg); }
.dark .tkx-x { background: #1e293b; border-color: #334155; color: #cbd5e1; }
.tkx-body { padding: 18px; overflow: auto; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; }
.tkx-body > *, .tkx-field > *, .tkx-files > * { min-width: 0; }
.tkx-center { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 200px; color: #64748b; }
.tkx-foot { display: flex; align-items: center; gap: 8px; padding: 12px 18px max(12px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e2e8f0; flex-wrap: wrap; }
.dark .tkx-foot { background: #0f172a; border-color: #1f2a3c; }
.tkx-grow { flex: 1; }

.tkx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid #e2e8f0;
  background: #fff; color: #0f172a; font: 700 13.5px Cairo, system-ui, sans-serif; cursor: pointer; transition: all .15s ease; white-space: nowrap; }
.tkx-btn:hover:not(:disabled) { border-color: #94a3b8; }
.tkx-btn:disabled { opacity: .5; cursor: not-allowed; }
.dark .tkx-btn { background: #1e293b; border-color: #334155; color: #e2e8f0; }
.tkx-primary { background: #10b981; border-color: #10b981; color: #fff; box-shadow: 0 6px 16px -8px rgba(16,185,129,.9); }
.tkx-primary:hover:not(:disabled) { background: #059669; border-color: #059669; }
.dark .tkx-primary { background: #10b981; border-color: #10b981; color: #fff; }
.tkx-ai { min-height: 46px; padding: 0 22px; border: 0; color: #fff; font-size: 14.5px; font-family: Inter, Cairo, sans-serif; letter-spacing: .01em;
  background: linear-gradient(135deg, #10b981, #0d9488 55%, #0891b2); box-shadow: 0 10px 24px -10px rgba(13,148,136,.9); }
.tkx-ai:hover:not(:disabled) { filter: brightness(1.07); }
.tkx-ghost { background: transparent; }
.dark .tkx-ghost { background: transparent; }
.tkx-danger { color: #b91c1c; }
.tkx-danger.is-on { background: #fef2f2; border-color: #fecaca; }
.dark .tkx-danger { color: #fca5a5; }
.tkx-save.is-dirty { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
.tkx-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: tkxSpin .7s linear infinite; }
@keyframes tkxSpin { to { transform: rotate(360deg); } }

.tkx-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-width: 0; }
.tkx-field > span { font-size: 12.5px; font-weight: 800; color: #475569; }
.tkx-field > span em { font-style: normal; font-weight: 600; color: #94a3b8; }
.tkx-field > span em.bad { color: #dc2626; font-weight: 800; }
.dark .tkx-field > span { color: #cbd5e1; }
.tkx-in, .tkx-ta { width: 100%; box-sizing: border-box; border: 1px solid #e2e8f0; background: #fff; color: inherit; border-radius: 12px; padding: 9px 12px; font: 500 14px/1.6 Inter, Cairo, sans-serif;
  transition: border-color .15s ease, box-shadow .15s ease; }
.tkx-ta { resize: vertical; line-height: 1.75; }
.tkx-in:focus, .tkx-ta:focus { outline: none; border-color: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.16); }
.dark .tkx-in, .dark .tkx-ta { background: #0f172a; border-color: #334155; }
.tkx-big { min-height: 300px; font-size: 14.5px; }
.tkx-count { justify-self: end; font: 600 11.5px Inter, sans-serif; color: #94a3b8; }
.tkx-count.bad { color: #dc2626; }
.tkx-hint { margin: 0; color: #94a3b8; font-size: 12px; text-align: center; }

.tkx-note { padding: 11px 14px; border-radius: 14px; border: 1px solid #e2e8f0; background: #fff; font-size: 13px; line-height: 1.7; }
.tkx-note ul { margin: 4px 0 0; padding-inline-start: 18px; }
.tkx-note.warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.tkx-note.bad { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.tkx-note.info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.dark .tkx-note { background: #0f172a; border-color: #334155; }
.dark .tkx-note.warn { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.35); color: #fcd34d; }
.dark .tkx-note.bad { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.35); color: #fca5a5; }
.dark .tkx-note.info { background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.35); color: #93c5fd; }

.tkx-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font: 700 11.5px Cairo, sans-serif; white-space: nowrap;
  background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.tkx-chip.ok { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.tkx-chip.warn { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.tkx-chip.bad { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.tkx-chip.info { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.dark .tkx-chip { background: #1e293b; color: #cbd5e1; border-color: #334155; }
.dark .tkx-chip.ok { background: rgba(16,185,129,.14); color: #6ee7b7; border-color: rgba(16,185,129,.35); }
.dark .tkx-chip.warn { background: rgba(245,158,11,.12); color: #fcd34d; border-color: rgba(245,158,11,.35); }
.dark .tkx-chip.bad { background: rgba(239,68,68,.12); color: #fca5a5; border-color: rgba(239,68,68,.35); }
.dark .tkx-chip.info { background: rgba(59,130,246,.12); color: #93c5fd; border-color: rgba(59,130,246,.35); }

/* ---- files ---- */
.tkx-drop { display: grid; justify-items: center; gap: 4px; padding: 22px 16px; border-radius: 18px; border: 2px dashed #a7f3d0; background: linear-gradient(180deg, #f0fdf8, #fff);
  text-align: center; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.tkx-drop:hover, .tkx-drop:focus-visible, .tkx-drop.is-over { border-color: #10b981; background: #ecfdf5; outline: none; }
.tkx-drop.is-over { transform: scale(1.01); }
.tkx-drop-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 22px; background: linear-gradient(135deg, #10b981, #0d9488); box-shadow: 0 8px 18px -8px rgba(13,148,136,.8); }
.tkx-drop b { font-size: 15px; font-weight: 800; color: #065f46; }
.tkx-drop span:last-child { font-size: 12px; color: #64748b; max-width: 100%; overflow-wrap: anywhere; }
.dark .tkx-drop { background: linear-gradient(180deg, rgba(16,185,129,.08), #0f172a); border-color: rgba(52,211,153,.35); }
.dark .tkx-drop b { color: #a7f3d0; }
.tkx-files { display: grid; gap: 6px; }
.tkx-files:empty { display: none; }
.tkx-file { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 10px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; }
.tkx-file.old { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.tkx-file-th { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex-shrink: 0; border: 1px solid #e2e8f0; }
.tkx-file-ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; background: #fef2f2; color: #b91c1c; font: 800 11px Inter, sans-serif; }
.tkx-file.old .tkx-file-ic { background: #dbeafe; color: #1d4ed8; font-size: 16px; }
.tkx-file-n { flex: 1; min-width: 0; font: 600 13px Inter, Cairo, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.tkx-file small { color: #94a3b8; font: 600 11px Inter, sans-serif; }
.tkx-file-x { width: 28px; height: 28px; border-radius: 8px; border: 0; background: #f1f5f9; color: #64748b; cursor: pointer; flex-shrink: 0; }
.tkx-file-x:hover { background: #ef4444; color: #fff; }
.dark .tkx-file { background: #0f172a; border-color: #334155; }
.tkx-or { text-align: center; color: #94a3b8; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.tkx-or::before, .tkx-or::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
.dark .tkx-or::before, .dark .tkx-or::after { background: #334155; }
.tkx-srcfiles { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; }

/* ---- AI processing ---- */
.tkx-proc { justify-items: center; text-align: center; padding: 34px 18px; }
.tkx-orb { position: relative; width: 92px; height: 92px; margin-bottom: 4px; }
.tkx-orb span { position: absolute; inset: 0; border-radius: 50%; }
.tkx-orb span:nth-child(1) { background: conic-gradient(from 0deg, #10b981, #22d3ee, #a78bfa, #10b981); animation: tkxSpin 2.4s linear infinite; filter: blur(.5px);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); }
.tkx-orb span:nth-child(2) { inset: 16px; background: radial-gradient(circle at 30% 30%, #a7f3d0, #10b981 55%, #0d9488); box-shadow: 0 0 30px rgba(16,185,129,.55); animation: tkxBreath 1.6s ease-in-out infinite; }
.tkx-orb span:nth-child(3) { inset: -10px; border: 2px solid rgba(16,185,129,.35); animation: tkxRing 1.8s ease-out infinite; }
@keyframes tkxBreath { 50% { transform: scale(.88); opacity: .85; } }
@keyframes tkxRing { from { transform: scale(.75); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.tkx-proc-t { font-size: 18px; font-weight: 800; }
.tkx-proc-s { margin: 0; color: #64748b; font-size: 13px; }
.tkx-secs { font: 700 12px Inter, sans-serif; }
.tkx-stages { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; width: 100%; max-width: 420px; text-align: right; }
.tkx-stages li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; color: #94a3b8; font-weight: 700; font-size: 13px; transition: all .3s ease; }
.tkx-stages li i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cbd5e1; flex-shrink: 0; position: relative; }
.tkx-stages li.run { color: #0f172a; border-color: #a7f3d0; background: linear-gradient(90deg, #ecfdf5, #fff 60%); }
.tkx-stages li.run i { border-color: #10b981; border-top-color: transparent; animation: tkxSpin .8s linear infinite; }
.tkx-stages li.done { color: #047857; }
.tkx-stages li.done i { border-color: #10b981; background: #10b981; }
.tkx-stages li.done i::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 11px; font-style: normal; }
.dark .tkx-stages li { background: #0f172a; border-color: #1f2a3c; }
.dark .tkx-stages li.run { color: #e2e8f0; background: linear-gradient(90deg, rgba(16,185,129,.14), #0f172a 60%); border-color: rgba(16,185,129,.35); }
.dark .tkx-stages li.done { color: #6ee7b7; }

/* ---- review ---- */
.tkx-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.tkx-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: #f1f5f9; border: 1px solid #e2e8f0; }
.tkx-tabs button { border: 0; background: none; padding: 7px 16px; border-radius: 999px; font: 800 13px Cairo, sans-serif; color: #64748b; cursor: pointer; }
.tkx-tabs button.is-on { background: #fff; color: #0f172a; box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.dark .tkx-tabs { background: #1e293b; border-color: #334155; }
.dark .tkx-tabs button.is-on { background: #0f172a; color: #e2e8f0; }
.tkx-sum { display: flex; flex-wrap: wrap; gap: 6px; }
.tkx-det { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; }
.tkx-det > summary { cursor: pointer; padding: 12px 14px; font-weight: 800; font-size: 14px; }
.tkx-det > div { padding: 0 14px 14px; display: grid; gap: 8px; }
.dark .tkx-det { background: #0f172a; border-color: #1f2a3c; }
.tkx-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: start; }
.tkx-let, .tkx-no { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 800 13px Inter, sans-serif; background: #f1f5f9; border: 1px solid #e2e8f0; flex-shrink: 0; }
.tkx-no { background: #0f172a; color: #fff; border-color: #0f172a; }
.dark .tkx-let { background: #1e293b; border-color: #334155; }
.dark .tkx-no { background: #e2e8f0; color: #0f172a; border-color: #e2e8f0; }
.tkx-gaptext { white-space: pre-wrap; line-height: 2.1; font: 400 14.5px/2.1 Inter, sans-serif; padding: 10px 12px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; text-align: left; }
.tkx-gaptext.tkx-small { font-size: 13px; line-height: 1.9; }
.tkx-gaptext mark { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; border-radius: 7px; padding: 0 6px; font-weight: 800; }
.tkx-gaptext mark.dim { opacity: .4; }
.tkx-gaptext mark.bad { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.dark .tkx-gaptext { background: #0b1220; border-color: #1f2a3c; }
.tkx-items { display: grid; gap: 12px; }
.tkx-item { background: #fff; border: 1px solid #e2e8f0; border-inline-start: 4px solid #94a3b8; border-radius: 18px; padding: 12px 14px; transition: opacity .2s ease; }
.tkx-item.r-approved { border-inline-start-color: #10b981; }
.tkx-item.r-pending { border-inline-start-color: #3b82f6; }
.tkx-item.r-flagged { border-inline-start-color: #f59e0b; }
.tkx-item.r-rejected { border-inline-start-color: #ef4444; opacity: .75; }
.tkx-item.is-busy { opacity: .5; pointer-events: none; }
.dark .tkx-item { background: #0f172a; border-color: #1f2a3c; }
.tkx-item-h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tkx-tools { margin-inline-start: auto; display: flex; gap: 4px; }
.tkx-tools .tkx-btn { min-height: 32px; padding: 0 10px; font-size: 12px; border-radius: 10px; }
.tkx-item-b { display: grid; gap: 10px; }
.tkx-flag { padding: 8px 10px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 12.5px; margin-bottom: 8px; }
.dark .tkx-flag { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.35); color: #fcd34d; }
.tkx-opts { display: grid; gap: 6px; }
.tkx-lbl { font-size: 12.5px; font-weight: 800; color: #475569; }
.tkx-opt { display: grid; grid-template-columns: 20px 20px minmax(0, 1fr); gap: 8px; align-items: center; }
.tkx-opt input[type=radio] { width: 18px; height: 18px; accent-color: #10b981; cursor: pointer; }
.tkx-opt b { font: 800 13px Inter, sans-serif; color: #64748b; text-align: center; }
.tkx-opt.is-ok .tkx-in { border-color: #a7f3d0; background: #ecfdf5; }
.dark .tkx-opt.is-ok .tkx-in { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.35); }
.tkx-more { position: relative; }
.tkx-more > summary { list-style: none; cursor: pointer; padding: 10px 12px; border-radius: 12px; border: 1px solid #e2e8f0; font: 700 13px Cairo, sans-serif; }
.tkx-more > summary::-webkit-details-marker { display: none; }
.tkx-menu { position: absolute; bottom: calc(100% + 6px); right: 0; display: grid; gap: 4px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px -16px rgba(2,6,23,.4); min-width: 250px; z-index: 2; }
.tkx-menu .tkx-btn { justify-content: flex-start; border-color: transparent; }
.dark .tkx-more > summary { border-color: #334155; }
.dark .tkx-menu { background: #0f172a; border-color: #334155; }

/* ---- preview ---- */
.tkx-pv { display: grid; gap: 10px; }
.tkx-pv-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 12px 14px; font: 400 14.5px/1.8 Inter, sans-serif; text-align: left; }
.dark .tkx-pv-card { background: #0f172a; border-color: #1f2a3c; }
.tkx-pv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.tkx-pv-heads { display: grid; gap: 4px; padding: 10px 12px; border-radius: 14px; background: #eff6ff; border: 1px solid #bfdbfe; font: 500 13.5px/1.6 Inter, sans-serif; text-align: left; }
.dark .tkx-pv-heads { background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.3); }
.tkx-pv-opt { display: flex; gap: 8px; width: 100%; text-align: left; margin-top: 6px; padding: 8px 12px; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; font: 500 14px Inter, sans-serif; color: inherit; }
.tkx-pv-opt.sel { border-color: #3b82f6; background: #eff6ff; }
.tkx-pv-opt.ok { border-color: #10b981; background: #ecfdf5; color: #047857; }
.tkx-pv-opt.bad { border-color: #ef4444; background: #fef2f2; color: #b91c1c; }
.dark .tkx-pv-opt { background: #0b1220; border-color: #334155; }
.tkx-pvsel { border: 1px solid #cbd5e1; border-radius: 9px; padding: 2px 6px; background: #fff; font: 600 13px Inter, sans-serif; margin: 0 3px; max-width: 170px; color: #0f172a; }
.tkx-pvsel.ok { border-color: #10b981; background: #ecfdf5; }
.tkx-pvsel.bad { border-color: #ef4444; background: #fef2f2; }
.tkx-why { direction: rtl; text-align: right; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #ecfdf5; color: #065f46; font: 600 12.5px/1.8 Cairo, sans-serif; }
.dark .tkx-why { background: rgba(16,185,129,.12); color: #a7f3d0; }
.tkx-score { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; font-weight: 800; }
.tkx-score b { font: 800 20px Inter, sans-serif; }
.tkx-pv-actions { display: flex; justify-content: center; }

@media (max-width: 640px) {
  .tkx-modal { padding: 0; align-items: flex-end; }
  .tkx-card { max-height: 96dvh; border-radius: 22px 22px 0 0; }
  .tkx-body { padding: 14px; }
  .tkx-row { grid-template-columns: 30px minmax(0, 1fr); }
  .tkx-row > :nth-child(3) { grid-column: 2; }
  .tkx-foot .tkx-btn { flex: 1 1 auto; }
  .tkx-grow { display: none; }
  .tkx-add-txt small { display: none; }
  .tkx-big { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .tkx-modal, .tkx-card, .tkx-orb span, .tkx-stages li i { animation: none !important; }
}
