.tm-fab{position:fixed;bottom:18px;z-index:9990;width:48px;height:48px;border-radius:50%;border:0;background:var(--brand,#1c7eff);color:#fff;font-size:20px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.28)}
.tm-fab:hover{filter:brightness(1.08)}
.tm-fab:focus-visible,.tm-panel button:focus-visible{outline:3px solid #ffbf00;outline-offset:2px}
.tm-right .tm-fab,.tm-right .tm-panel{right:18px}
.tm-left .tm-fab,.tm-left .tm-panel{left:18px}
.tm-panel{position:fixed;bottom:74px;z-index:9990;width:248px;max-width:calc(100vw - 36px);padding:14px;border-radius:14px;background:#fff;color:#111;border:1px solid #d6dde6;box-shadow:0 12px 32px rgba(0,0,0,.25);font:15px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.tm-panel[hidden]{display:none}
.tm-title{margin:0 0 10px;font-weight:700;font-size:15px}
.tm-row{display:flex;align-items:center;gap:8px;margin:0 0 10px}
.tm-row button{flex:1;min-height:40px;border:1px solid #c5cfda;border-radius:10px;background:#f4f7fb;color:#111;font:inherit;font-weight:700;cursor:pointer}
.tm-row button:hover:not(:disabled){border-color:var(--brand,#1c7eff)}
.tm-row button:disabled{opacity:.45;cursor:not-allowed}
.tm-level{min-width:52px;text-align:center;font-weight:700}
.tm-switch{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:0 12px;border:1px solid #c5cfda;border-radius:10px;background:#f4f7fb;color:#111;font:inherit;font-weight:600;cursor:pointer}
.tm-switch[aria-pressed="true"]{background:var(--brand,#1c7eff);border-color:var(--brand,#1c7eff);color:#fff}
.tm-hint{margin:10px 0 0;font-size:12.5px;color:#4a5968}
.tm-lens{position:fixed;z-index:9995;pointer-events:none;max-width:min(92vw,560px);padding:12px 16px;border-radius:14px;background:#fff;color:#111;border:3px solid var(--brand,#1c7eff);box-shadow:0 14px 36px rgba(0,0,0,.35);font-family:inherit;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}
.tm-lens[hidden]{display:none}
.tm-lens-on,.tm-lens-on *{cursor:zoom-in}
.tm-lens-on .tm-fab,.tm-lens-on .tm-panel,.tm-lens-on .tm-fab *,.tm-lens-on .tm-panel *{cursor:auto}
@media print{.tm-fab,.tm-panel,.tm-lens{display:none!important}}
