/* ---------------- indicadores (web/indicadores.js) ---------------- */
:root { --ta: var(--acc2); --ta2: var(--acc); --spring: cubic-bezier(.34, 1.56, .64, 1); }

/* el panel entra desde el costado (como Capas, pero deslizando) */
#taPanel { width: 0; flex: none; overflow: hidden; background: var(--surface); border-right: 1px solid transparent; position: relative;
  transition: width .42s var(--spring), border-color .3s; }
#taPanel.open { width: 336px; border-right-color: var(--line); }
#taPanel::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; pointer-events: none;
  background: radial-gradient(120% 90% at 20% -20%, rgba(var(--acc2-rgb), .16), transparent 70%); opacity: 0; transition: opacity .5s; }
#taPanel.open::after { opacity: 1; animation: taAura 7s ease-in-out infinite; }
@keyframes taAura { 0%, 100% { opacity: .75; transform: translateX(0); } 50% { opacity: 1; transform: translateX(24px); } }
.ta-in { width: 336px; height: 100%; display: flex; flex-direction: column; min-height: 0; position: relative; z-index: 1;
  transform: translateX(-28px); opacity: 0; transition: transform .5s var(--spring), opacity .3s; }
#taPanel.open .ta-in { transform: none; opacity: 1; }
#taBtn.on { color: var(--ta2); border-color: rgba(var(--acc2-rgb), .45); background: linear-gradient(180deg, rgba(var(--acc2-rgb), .18), rgba(var(--acc-rgb), .06));
  box-shadow: 0 0 14px rgba(var(--acc2-rgb), .25); }
#taBtn svg { transition: transform .45s var(--spring); }
#taBtn:hover svg { transform: translateY(-1px) scale(1.12); }

.ta-search { display: flex; align-items: center; gap: 8px; margin: 10px 12px 4px; padding: 0 10px; height: 34px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--faint); transition: border-color .2s, box-shadow .2s; }
.ta-search:focus-within { border-color: rgba(var(--acc2-rgb), .55); box-shadow: 0 0 0 3px rgba(var(--acc2-rgb), .12), 0 0 18px rgba(var(--acc-rgb), .12); color: var(--ta2); }
.ta-search input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); font-size: 12.5px; }
.ta-scroll { overflow-y: auto; padding: 2px 10px 24px; flex: 1; min-height: 0; }
.ta-sec { padding: 16px 6px 7px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); font-weight: 700; display: flex; gap: 8px; align-items: baseline; }
.ta-sec em { font-style: normal; color: var(--ta2); letter-spacing: .02em; text-transform: none; font-weight: 600; }
.ta-empty { padding: 6px 8px 2px; color: var(--faint); font-size: 11.5px; }

/* catálogo */
.ta-cat { display: flex; flex-direction: column; gap: 3px; }
.ta-item { display: flex; align-items: center; gap: 10px; text-align: left; padding: 8px 9px; border-radius: 10px; border: 1px solid transparent; background: none;
  animation: taIn .5s var(--spring) both; animation-delay: calc(var(--i) * 18ms); transition: background .15s, border-color .15s, transform .3s var(--spring); position: relative; overflow: hidden; }
@keyframes taIn { 0% { opacity: 0; transform: translateX(-14px) scale(.96); } 100% { opacity: 1; transform: none; } }
.ta-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(var(--acc2-rgb), .14) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease; }
.ta-item:hover { background: var(--surface-2); border-color: var(--line-2); transform: translateX(2px); }
.ta-item:hover::before { transform: translateX(120%); }
.ta-item.pop { animation: taPop .55s var(--spring); }
@keyframes taPop { 0% { transform: scale(1); } 35% { transform: scale(.94); } 100% { transform: scale(1); } }
.ta-ic { flex: none; width: 38px; height: 26px; display: grid; place-items: center; border-radius: 8px; font: 700 9.5px var(--mono); font-style: normal; color: color-mix(in srgb, var(--acc2) 45%, var(--hi));
  background: linear-gradient(135deg, rgba(var(--acc-rgb), .14), rgba(var(--acc2-rgb), .2)); box-shadow: 0 0 0 1px rgba(var(--acc2-rgb), .25) inset; }
.ta-item:hover .ta-ic { box-shadow: 0 0 0 1px rgba(var(--acc-rgb), .5) inset, 0 0 14px rgba(var(--acc-rgb), .25); color: var(--hi); }
.ta-it { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ta-it b { font-weight: 600; font-size: 12.5px; color: var(--text); }
.ta-it span { font-size: 10.8px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-plus { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: var(--muted); font-weight: 600; font-size: 15px;
  transition: transform .35s var(--spring), background .15s, color .15s; }
.ta-item:hover .ta-plus { color: var(--on-acc); background: linear-gradient(135deg, var(--ta2), var(--ta)); transform: rotate(90deg) scale(1.08); box-shadow: 0 0 14px rgba(var(--acc2-rgb), .5); }
.ta-n { font-style: normal; font: 600 10px var(--mono); color: var(--ta2); background: rgba(var(--acc-rgb), .12); border-radius: 6px; padding: 1px 5px; }

/* los que están en pantalla */
.ta-on { display: flex; flex-direction: column; gap: 4px; }
.ta-row { border-radius: 11px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(var(--hi-rgb), .025), rgba(var(--hi-rgb), .008));
  animation: taIn .45s var(--spring) both; animation-delay: calc(var(--i) * 25ms); transition: border-color .2s, box-shadow .25s, opacity .2s, transform .22s; }
.ta-row.open { border-color: rgba(var(--acc2-rgb), .45); box-shadow: 0 0 22px rgba(var(--acc2-rgb), .12); }
.ta-row.off { opacity: .55; }
.ta-row.bye { opacity: 0; transform: translateX(-30px) scale(.95); }
.ta-row.flash { animation: taFlash 1.1s ease; }
@keyframes taFlash { 0% { box-shadow: 0 0 0 0 rgba(var(--acc-rgb), .7); } 100% { box-shadow: 0 0 0 14px rgba(var(--acc-rgb), 0); } }
.ta-rh { display: flex; align-items: center; gap: 8px; padding: 7px 6px 7px 10px; cursor: pointer; }
.ta-rh b { font-weight: 600; font-size: 12.3px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-rh em { font-style: normal; font-size: 10px; color: var(--faint); }
.ta-sw { width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: 0 0 9px var(--c); flex: none; animation: taBreath 2.4s ease-in-out infinite; }
@keyframes taBreath { 0%, 100% { box-shadow: 0 0 5px var(--c); } 50% { box-shadow: 0 0 13px var(--c); } }
.ta-acts { display: flex; gap: 1px; opacity: .55; transition: opacity .15s; }
.ta-row:hover .ta-acts, .ta-row.open .ta-acts { opacity: 1; }
.ta-acts button { width: 24px; height: 24px; border: 0; border-radius: 6px; background: none; color: var(--muted); display: grid; place-items: center; font-size: 12px;
  transition: background .12s, color .12s, transform .3s var(--spring); }
.ta-acts button:hover { background: var(--surface-3); color: var(--hi); transform: scale(1.12); }
.ta-acts button[data-act="del"]:hover { color: var(--rose); }
.ta-set { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--spring); }
.ta-row.open .ta-set { grid-template-rows: 1fr; }
.ta-set > * { overflow: hidden; }
.ta-set { padding: 0 10px; }
.ta-row.open .ta-set { padding: 2px 10px 10px; }
.ta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
.ta-f { display: flex; flex-direction: column; gap: 3px; font-size: 10.5px; color: var(--faint); }
.ta-f input, .ta-f select { height: 28px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); padding: 0 8px;
  font: 500 12px var(--mono); outline: 0; transition: border-color .15s, box-shadow .15s; width: 100%; }
.ta-f input:focus, .ta-f select:focus { border-color: rgba(var(--acc2-rgb), .6); box-shadow: 0 0 0 3px rgba(var(--acc2-rgb), .14); }
.ta-f.ta-b { flex-direction: row; align-items: center; justify-content: space-between; grid-column: span 2; padding: 3px 0; }
.ta-tg { width: 30px; height: 17px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface-3); position: relative; padding: 0; transition: background .2s, border-color .2s; }
.ta-tg i { position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--muted); transition: transform .3s var(--spring), background .2s; }
.ta-tg.on { background: rgba(var(--acc-rgb), .25); border-color: rgba(var(--acc-rgb), .5); }
.ta-tg.on i { transform: translateX(13px); background: var(--buy); box-shadow: 0 0 7px rgba(var(--acc-rgb), .9); }
.ta-sts { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.ta-st { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.ta-st > span:not(.ta-ws) { flex: 1; }
.ta-col { width: 20px; height: 20px; border-radius: 6px; background: var(--c); box-shadow: 0 0 10px var(--c), 0 0 0 1px rgba(var(--hi-rgb), .15) inset; cursor: pointer; position: relative; flex: none;
  transition: transform .3s var(--spring); }
.ta-col:hover { transform: scale(1.15) rotate(-6deg); }
.ta-col input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ta-ws { display: flex; gap: 2px; }
.ta-ws button { width: 24px; height: 20px; border: 1px solid transparent; border-radius: 5px; background: none; display: grid; place-items: center; padding: 0; }
.ta-ws button i { width: 14px; background: var(--muted); border-radius: 2px; }
.ta-ws button.on { border-color: rgba(var(--acc-rgb), .5); background: rgba(var(--acc-rgb), .1); }
.ta-ws button.on i { background: var(--buy); box-shadow: 0 0 5px var(--buy); }
.ta-al { width: 92px; accent-color: var(--acc2); }
.ta-sb { margin-top: 9px; display: flex; justify-content: flex-end; }
.ta-sb button { height: 24px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line-2); background: none; color: var(--muted); font-size: 11px; }
.ta-sb button:hover { color: var(--hi); border-color: rgba(var(--acc2-rgb), .5); }

/* order flow de siempre y animación */
.ta-of { display: flex; flex-direction: column; gap: 2px; }
.ta-ofr { display: flex; align-items: center; gap: 10px; text-align: left; padding: 7px 9px; border-radius: 9px; border: 1px solid transparent; background: none; transition: background .12s; }
.ta-ofr:hover { background: var(--surface-2); }
.ta-ofr .switch { grid-row: auto; grid-column: auto; flex: none; }
.ta-ofr.on .switch { background: rgba(var(--acc-rgb), .25); border-color: rgba(var(--acc-rgb), .5); }
.ta-ofr.on .switch::after { transform: translateX(13px); background: var(--buy); box-shadow: 0 0 6px rgba(var(--acc-rgb), .8); }
.ta-anim { display: flex; flex-direction: column; gap: 7px; padding: 2px 6px; }
.ta-ar { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.ta-seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-2); }
.ta-seg button { border: 0; background: none; color: var(--muted); font-size: 11px; padding: 3px 9px; border-radius: 6px; transition: background .15s, color .15s; }
.ta-seg button.on { color: var(--on-acc); background: linear-gradient(135deg, var(--ta2), var(--ta)); box-shadow: 0 0 12px rgba(var(--acc2-rgb), .45); font-weight: 600; }

/* leyenda de los indicadores de precio, debajo de la de la vela */
#taLeg { position: absolute; z-index: 6; display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
#taLeg .tl { pointer-events: auto; display: flex; align-items: center; gap: 8px; height: 22px; padding: 0 6px 0 8px; border-radius: 7px; font: 500 11px var(--mono);
  color: var(--muted); background: rgba(var(--float-rgb), .55); border: 1px solid rgba(var(--hi-rgb), .04); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  width: max-content; animation: taIn .45s var(--spring) both; transition: border-color .15s, background .15s; }
#taLeg .tl:hover { border-color: rgba(var(--acc2-rgb), .35); background: rgba(var(--float-rgb), .85); }
#taLeg .tl.off { opacity: .5; }
#taLeg .tl i { width: 9px; height: 3px; border-radius: 2px; background: var(--c); box-shadow: 0 0 7px var(--c); }
#taLeg .tl b { color: var(--text); font-weight: 600; font-family: var(--sans); font-size: 11px; }
#taLeg .tl-v { display: inline-flex; gap: 8px; }
#taLeg .tl-a { display: none; gap: 1px; }
#taLeg .tl:hover .tl-a { display: inline-flex; }
#taLeg .tl-a button { width: 20px; height: 18px; border: 0; background: none; color: var(--muted); border-radius: 5px; display: grid; place-items: center; font-size: 10px; padding: 0; }
#taLeg .tl-a button:hover { color: var(--hi); background: var(--surface-3); }

@media (prefers-reduced-motion: reduce) {
  #taPanel, .ta-in, .ta-item, .ta-row, .ta-sw, #taLeg .tl, #taPanel.open::after { animation: none !important; transition: none !important; }
}

/* ---------------- más vida: resortes y latidos elásticos en loop (17/11) ---------------- */
@keyframes taBoing { 0%, 58%, 100% { scale: 1; } 64% { scale: 1.22; } 70% { scale: .9; } 76% { scale: 1.07; } 82% { scale: .98; } 88% { scale: 1.01; } }
@keyframes taBoingSoft { 0%, 62%, 100% { scale: 1; } 69% { scale: 1.08; } 76% { scale: .97; } 83% { scale: 1.02; } }
@keyframes taSpin { 0% { rotate: 0deg; scale: 1; } 40% { rotate: 200deg; scale: 1.25; } 70% { rotate: 170deg; scale: .95; } 100% { rotate: 180deg; scale: 1; } }
.fx-on #taBtn svg { animation: taBoing 3s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.fx-on #taBtn:hover svg { animation-duration: 1.1s; }
.fx-on .icon-btn { transition: color .15s, border-color .15s, background .15s, scale .45s cubic-bezier(.34, 1.9, .5, 1); }
.fx-on .icon-btn:hover { scale: 1.06; }
.fx-on .icon-btn:active { scale: .9; transition-duration: .06s; }
.fx-on .ta-ic { animation: taBoingSoft 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * 160ms); }
.fx-on .ta-item { transition: background .15s, border-color .15s, scale .45s cubic-bezier(.34, 1.9, .5, 1), transform .3s; }
.fx-on .ta-item:hover { scale: 1.025; }
.fx-on .ta-item:hover .ta-ic { animation: taBoing 1.2s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.fx-on .ta-item:hover .ta-plus { animation: taSpin .6s cubic-bezier(.34, 1.56, .64, 1) forwards; transform: none; }
.fx-on .ta-item:active { scale: .96; transition-duration: .06s; }
.fx-on .ta-sw { animation: taBreath 2.4s ease-in-out infinite, taBoing 2.8s cubic-bezier(.34, 1.56, .64, 1) infinite; animation-delay: 0s, calc(var(--i) * 220ms); }
.fx-on .ta-row { transition: border-color .2s, box-shadow .25s, opacity .2s, scale .45s cubic-bezier(.34, 1.9, .5, 1); }
.fx-on .ta-row:hover { scale: 1.012; }
.fx-on .ta-acts button { transition: background .12s, color .12s, scale .4s cubic-bezier(.34, 1.9, .5, 1); }
.fx-on .ta-acts button:hover { scale: 1.25; transform: none; }
.fx-on .ta-seg button.on { animation: taBoingSoft 3.6s ease-in-out infinite; }
.fx-on .ta-tg.on i { animation: taBoingSoft 3s ease-in-out infinite; }
.fx-on .ta-col { transition: scale .45s cubic-bezier(.34, 1.9, .5, 1), rotate .45s cubic-bezier(.34, 1.9, .5, 1); }
.fx-on .ta-col:hover { scale: 1.25; rotate: -8deg; transform: none; }
.fx-on .ta-ofr.on .switch::after { animation: taBoingSoft 3.4s ease-in-out infinite; }
.fx-on #taLeg .tl i { animation: taBoing 2.6s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.fx-on #taLeg .tl:nth-child(2) i { animation-delay: .25s; } .fx-on #taLeg .tl:nth-child(3) i { animation-delay: .5s; }
.fx-on #taLeg .tl:nth-child(4) i { animation-delay: .75s; } .fx-on #taLeg .tl:nth-child(5) i { animation-delay: 1s; }
.fx-on #taLeg .tl { transition: border-color .15s, background .15s, scale .45s cubic-bezier(.34, 1.9, .5, 1); transform-origin: left center; }
.fx-on #taLeg .tl:hover { scale: 1.05; }
.fx-on .ta-search:focus-within svg { animation: taBoing 1.6s cubic-bezier(.34, 1.56, .64, 1) infinite; }
@media (prefers-reduced-motion: reduce) { .fx-on #taPanel *, .fx-on #taLeg *, .fx-on #taBtn svg { animation: none !important; } }

/* ajustes del VWAP */
.ta-ofw { border-radius: 10px; transition: background .2s, box-shadow .25s; }
.ta-ofw.open { background: rgba(var(--hi-rgb), .025); box-shadow: 0 0 0 1px rgba(var(--acc2-rgb), .35) inset, 0 0 18px rgba(var(--acc2-rgb), .1); }
.ta-ofr { width: 100%; }
.ta-ofg { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: var(--muted); flex: none; transition: background .12s, color .12s, scale .4s cubic-bezier(.34, 1.9, .5, 1), rotate .6s cubic-bezier(.34, 1.56, .64, 1); }
.ta-ofg:hover { background: var(--surface-3); color: var(--hi); scale: 1.2; rotate: 90deg; }
.ta-vw { display: flex; flex-direction: column; gap: 8px; padding: 4px 10px 10px; animation: taIn .45s var(--spring) both; }
.ta-vw .ta-sts { margin-top: 0; padding-top: 6px; }

/* ---------------- framework de indicadores: «Mis indicadores» y el editor de código (ofscript) ---------------- */
.ta-sec em { font-style: normal; opacity: .6; margin-left: 4px; }
.ta-new { border: 1px dashed rgba(var(--acc-rgb), .45); }
.ta-new .ta-ic { color: var(--acc); font-size: 15px; }
.ta-ed { display: inline-grid; place-items: center; margin-left: 6px; min-width: 18px; height: 16px; padding: 0 4px; border-radius: 5px; font: 700 9px var(--mono); font-style: normal;
  color: var(--muted); background: rgba(var(--hi-rgb), .05); border: 1px solid rgba(var(--hi-rgb), .1); vertical-align: 1px; opacity: 0; transition: opacity .15s, color .15s, background .15s; }
.ta-item:hover .ta-ed { opacity: 1; }
.ta-ed:hover { color: var(--on-acc); background: var(--acc); border-color: transparent; }

#taEd { position: fixed; z-index: 97; top: 60px; right: 12px; bottom: 12px; width: min(560px, calc(100vw - 24px)); display: none; flex-direction: column; border-radius: 16px;
  background: rgba(var(--float-rgb), .98); border: 1px solid rgba(var(--hi-rgb), .1); color: var(--text); font-family: var(--sans);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 26px 60px rgba(var(--shadow-rgb), .6), 0 0 30px rgba(var(--acc-rgb), .14); }
#taEd.on { display: flex; animation: te2In .45s var(--spring, cubic-bezier(.34, 1.56, .64, 1)); }
@keyframes te2In { 0% { opacity: 0; translate: 24px 0; } 100% { opacity: 1; translate: 0 0; } }
.te2-h { display: flex; align-items: center; padding: 12px 14px 8px; font-size: 13.5px; }
.te2-h b { flex: 1; color: var(--hi); }
.te2-x { width: 26px; height: 26px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.te2-x:hover { color: var(--hi); background: rgba(var(--hi-rgb), .08); }
.te2-body { flex: 1; min-height: 0; overflow-y: auto; padding: 2px 14px 10px; display: flex; flex-direction: column; gap: 8px; }
.te2-body label { display: flex; flex-direction: column; gap: 3px; }
.te2-body label > span, .te2-codeh > span { font-size: 10.5px; color: var(--muted); }
.te2-body input, .te2-body textarea, .te2-body select { background: rgba(var(--hi-rgb), .04); border: 1px solid rgba(var(--hi-rgb), .1); border-radius: 8px; color: var(--text);
  font: 500 12px var(--sans); padding: 6px 8px; outline: 0; }
.te2-body input:focus, .te2-body textarea:focus { border-color: rgba(var(--acc-rgb), .6); box-shadow: 0 0 0 3px rgba(var(--acc-rgb), .12); }
.te2-row2 { display: flex; gap: 8px; }
.te2-row2 > label:first-child { flex: 1; }
.te2-tag { width: 72px; }
.te2-wh { width: 140px; }
.te2-codeh { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.te2-codeh > span { flex: 1; }
.te2-codeh select { max-width: 220px; font-size: 11px; padding: 4px 6px; }
.te2-codeh button { height: 24px; padding: 0 10px; border-radius: 7px; border: 1px solid rgba(var(--hi-rgb), .12); background: rgba(var(--hi-rgb), .04); color: var(--text); font: 600 11px var(--sans); cursor: pointer; }
.te2-codeh button.on { color: var(--on-acc); background: var(--acc); border-color: transparent; }
.te2-code { min-height: 260px; flex: 1 0 auto; resize: vertical; font: 500 12px/1.55 var(--mono) !important; white-space: pre; tab-size: 2; color: var(--hi) !important;
  background: rgba(var(--bg-rgb), .6) !important; }
.te2-ref { display: flex; flex-direction: column; gap: 5px; padding: 8px 10px; border-radius: 10px; background: rgba(var(--hi-rgb), .03); border: 1px solid rgba(var(--hi-rgb), .07); max-height: 220px; overflow-y: auto; }
.te2-ref b { display: block; font-size: 10.5px; color: var(--acc); }
.te2-ref code { font: 500 10.5px/1.45 var(--mono); color: var(--text); white-space: normal; }
.te2-st { font: 600 11px var(--mono); padding: 6px 9px; border-radius: 8px; }
.te2-st.good { color: var(--bull); background: color-mix(in srgb, var(--bull) 10%, transparent); }
.te2-st.bad { color: var(--bear); background: color-mix(in srgb, var(--bear) 12%, transparent); }
.te2-info summary { cursor: pointer; font-size: 11px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.te2-info summary:hover { color: var(--hi); }
.te2-info label { margin-top: 6px; }
.te2-f { display: flex; align-items: center; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid rgba(var(--hi-rgb), .07); }
.te2-f span { flex: 1; }
.te2-f button { height: 30px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(var(--hi-rgb), .12); background: rgba(var(--hi-rgb), .04); color: var(--text); font: 600 12px var(--sans); cursor: pointer; }
.te2-f button:hover { color: var(--hi); border-color: rgba(var(--hi-rgb), .25); }
.te2-f .te2-ok { color: var(--on-acc); border-color: transparent; background: linear-gradient(135deg, var(--acc), var(--acc2)); box-shadow: 0 0 14px rgba(var(--acc-rgb), .35); }
.te2-f .te2-del { color: var(--bear); border-color: color-mix(in srgb, var(--bear) 40%, transparent); }
.theme-light #taEd { --float-rgb: var(--bg-rgb); }
@media (prefers-reduced-motion: reduce) { #taEd.on { animation: none; } }
