.tax-calc-fab{position:fixed;right:22px;bottom:22px;z-index:1205;width:54px;height:54px;border:0;border-radius:16px;background:#0f172a;color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 18px 36px #0f172a3d;cursor:pointer;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.tax-calc-fab:hover{transform:translateY(-2px);background:#366ed8;box-shadow:0 20px 42px #366ed847}.tax-calc-fab.is-open{background:#366ed8}.tax-calc-panel{position:fixed;right:22px;bottom:88px;z-index:1204;width:min(420px,calc(100vw - 28px));max-height:calc(100vh - 120px);background:#fff;border:1px solid #dbe3ee;border-radius:18px;box-shadow:0 24px 64px #0f172a38;overflow:hidden;opacity:0;pointer-events:none;transform:translateY(14px) scale(.98);transform-origin:bottom right;transition:opacity .18s ease,transform .18s ease;color:#0f172a;font-family:Poppins,Arial,sans-serif}.tax-calc-panel.has-custom-position{right:auto;bottom:auto;transform-origin:top left}.tax-calc-panel.dragging{transition:opacity .18s ease;user-select:none}.tax-calc-panel.show{opacity:1;pointer-events:auto;transform:translateY(0) scale(1)}.tax-calc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:#f8fafc;border-bottom:1px solid #e2e8f0;cursor:grab;user-select:none;touch-action:none}.tax-calc-panel.dragging .tax-calc-head{cursor:grabbing}.tax-calc-title{display:flex;align-items:center;gap:10px;min-width:0}.tax-calc-title-icon{width:34px;height:34px;border-radius:12px;background:#dbeafe;color:#366ed8;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.tax-calc-title strong{display:block;font-size:14px;font-weight:800;line-height:1.1}.tax-calc-title span{display:block;margin-top:2px;color:#64748b;font-size:11px;font-weight:700}.tax-calc-close,.tax-calc-clear{border:0;background:transparent;color:#64748b;cursor:pointer;font-weight:800}.tax-calc-close{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}.tax-calc-close:hover{background:#e2e8f0;color:#0f172a}.tax-calc-body{padding:14px;overflow:auto;max-height:calc(100vh - 228px)}.tax-calc-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;font-size:12px}.tax-calc-table th{background:#f1f5f9;color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;padding:9px 10px;text-align:left;border-bottom:1px solid #e2e8f0}.tax-calc-table th:nth-child(2),.tax-calc-table th:nth-child(3){text-align:right}.tax-calc-table td{padding:8px 10px;border-bottom:1px solid #eef2f7;vertical-align:middle}.tax-calc-table tr:last-child td{border-bottom:0}.tax-calc-label{color:#334155;font-weight:800;font-family:Manrope,sans-serif;white-space:nowrap}.tax-calc-input{width:100%;min-width:84px;height:34px;border:1px solid #cbd5e1;border-radius:9px;padding:0 9px;text-align:right;color:#0f172a;font-weight:800;font-family:Manrope,sans-serif;outline:none;background:#fff}.tax-calc-input:focus{border-color:#064acb;box-shadow:0 0 0 3px #366ed824}.tax-calc-formula{min-width:112px;text-align:right;color:#0f172a;font-family:Manrope,sans-serif;font-size:12px;font-weight:800;white-space:nowrap}.tax-calc-formula small{display:block;color:#94a3b8;font-family:inherit;font-size:9px;font-weight:800;margin-bottom:2px}.tax-calc-result{margin-top:12px;border-radius:14px;padding:14px;background:linear-gradient(135deg,#0f172a,#366ed8);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}.tax-calc-result span{display:block;color:#bfdbfe;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.tax-calc-result strong{display:block;margin-top:2px;font-size:26px;font-weight:800;font-family:Manrope,sans-serif;line-height:1;white-space:nowrap}.tax-calc-clear{padding:8px 10px;border-radius:9px;background:#ffffff1f;color:#fff;font-size:11px}.tax-calc-clear:hover{background:#fff3}@media(max-width:640px){.tax-calc-fab{right:14px;bottom:14px}.tax-calc-panel{right:14px;bottom:78px}.tax-calc-table th,.tax-calc-table td{padding-left:8px;padding-right:8px}.tax-calc-formula{min-width:96px;font-size:11px}}
