.tnale-root{--tn-o:#fe7f4c;--tn-v:#520762;--tn-bg:#fff;--tn-txt:#1f1630;font-family:inherit;color:var(--tn-txt);box-sizing:border-box}
.tnale-root *{box-sizing:border-box}
.tnale-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.tnale-btn{background:linear-gradient(135deg,var(--tn-o),#e8613a);color:#fff;border:0;border-radius:8px;padding:.65em 1.2em;font-weight:600;cursor:pointer}
.tnale-btn:hover,.tnale-btn:focus{background:var(--tn-v);outline:2px solid var(--tn-o);outline-offset:2px}
.tnale-btn:disabled{opacity:.6;cursor:wait}
.tnale-panel{background:var(--tn-bg);border:1px solid #e6dcef;border-radius:14px;box-shadow:0 10px 30px rgba(82,7,98,.15);overflow:hidden;display:flex;flex-direction:column;max-width:420px}
.tnale-head{background:var(--tn-v);color:#fff;padding:.8em 1em}
.tnale-chat-body{display:flex;flex-direction:column;min-height:300px}
.tnale-log{flex:1;overflow-y:auto;padding:1em;max-height:380px;display:flex;flex-direction:column;gap:.5em}
.tnale-msg{padding:.6em .85em;border-radius:12px;max-width:85%;white-space:pre-wrap;line-height:1.4;font-size:.95em}
.tnale-msg.bot{background:#f4eef8;align-self:flex-start}
.tnale-msg.user{background:var(--tn-o);color:#fff;align-self:flex-end}
.tnale-msg.typing{opacity:.6}
.tnale-input{display:flex;gap:.5em;padding:.6em;border-top:1px solid #eee}
.tnale-input textarea{flex:1;resize:none;border:1px solid #ddd;border-radius:8px;padding:.5em;font:inherit}
.tnale-small{font-size:.78em;color:#6b5f78;margin:.4em 1em .8em}
.tnale-bubble{display:flex;align-items:center;justify-content:center;position:fixed;left:20px;bottom:20px;width:60px;height:60px;border-radius:50%;border:0;background:var(--tn-o);color:#fff;font-size:26px;box-shadow:0 6px 20px rgba(0,0,0,.25);cursor:pointer;z-index:99998}
.tnale-bubble:focus{outline:3px solid var(--tn-v)}
.tnale-floating-panel{position:fixed;left:20px;bottom:90px;width:min(380px,calc(100vw - 40px));z-index:99999}
.tnale-floating-panel[hidden]{display:none}
.tnale-form{display:flex;flex-direction:column;gap:.6em;padding:1em;max-height: 500px;overflow-y: auto;}
.tnale-field{display:flex;flex-direction:column;gap:.2em;font-size:.92em}
.tnale-field input,.tnale-field select,.tnale-field textarea{border:1px solid #d9cfe3;border-radius:8px;padding:.55em;font:inherit;width:100%}
.tnale-consent{font-size:.85em}
.tnale-notice{padding:.6em .8em;border-radius:8px;background:#f4eef8;margin:.5em 0}
.tnale-notice.ok{background:#e7f7ec;color:#145a2a}
.tnale-notice.err{background:#fdecea;color:#8a1c12}
.tnale-estimator,.tnale-audit{border:1px solid #e6dcef;border-radius:14px;padding:1em;}
.tnale-estimator h3,.tnale-audit h3{color:var(--tn-v);margin-top:0}
.tnale-options{border:1px solid #eee;border-radius:8px;display:flex;flex-direction:column;gap:.3em}
.tnale-range{font-size:1.6em;font-weight:700;color:var(--tn-v)}
.tnale-lines{margin:.2em 0 .6em 1.2em}
.tnale-audit-score{font-size:2.6em;font-weight:800;color:var(--tn-v)}
.tnale-audit-score small{font-size:.4em;color:#777}
.tnale-checks{list-style:none;padding:0}
.tnale-checks li{padding:.45em 0;border-bottom:1px solid #f0eaf4}
.tnale-checks li.ok strong{color:#1c7c3c}
.tnale-checks li.ko strong{color:#b0361e}
.tnale-cat{color:#777;font-size:.85em}
@media (prefers-reduced-motion:no-preference){.tnale-btn{transition:background .2s}}