#fth-base64,#fth-base64 *{box-sizing:border-box}#fth-base64{width:min(1040px, calc(100% - 40px));min-width:0;margin:24px auto;padding:28px;color:#172033;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 8px 30px rgb(15 23 42 / 5%);font-family:inherit}#fth-base64 button,#fth-base64 textarea{font:inherit}#fth-base64 button{cursor:pointer}#fth-base64 button:focus-visible,#fth-base64 textarea:focus-visible{outline:3px solid rgb(249 115 22 / 35%);outline-offset:3px}#fth-base64 .fth-base64__header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}#fth-base64 .fth-base64__header>div{min-width:0}#fth-base64 .fth-base64__eyebrow{margin:0 0 8px;color:#ea580c;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}#fth-base64 .fth-base64__heading{margin:0 0 10px;color:#172033;font-size:clamp(1.45rem, 3vw, 2rem);line-height:1.3}#fth-base64 .fth-base64__intro{max-width:640px;margin:0;color:#64748b;font-size:.95rem;line-height:1.7}#fth-base64 .fth-base64__local-badge{flex:0 0 auto;padding:7px 10px;color:#475569;background:#f1f5f9;border-radius:8px;font-size:.75rem;font-weight:600}#fth-base64 .fth-base64__mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:5px;margin-bottom:22px;background:#f1f5f9;border-radius:10px}#fth-base64 .fth-base64__mode button{min-height:44px;padding:10px 14px;color:#475569;background:#fff0;border:1px solid #fff0;border-radius:7px;font-size:.9rem;font-weight:700}#fth-base64 .fth-base64__mode button[aria-pressed="true"]{color:#9a3412;background:#fff;border-color:#fed7aa;box-shadow:0 1px 3px rgb(15 23 42 / 6%)}#fth-base64 .fth-base64__field{min-width:0;margin-top:18px}#fth-base64 .fth-base64__field-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:9px}#fth-base64 .fth-base64__field-heading label{color:#334155;font-size:.92rem;font-weight:700}#fth-base64 .fth-base64__field-heading span{color:#64748b;font-size:.78rem;text-align:right}#fth-base64 .fth-base64__field textarea{display:block;width:100%;min-width:0;min-height:170px;padding:14px;color:#172033;background:#fff;border:1px solid #cbd5e1;border-radius:10px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9rem;line-height:1.7;resize:vertical;overflow-wrap:anywhere}#fth-base64 [data-b64-input]{white-space:pre-wrap}#fth-base64 [data-b64-output]{background:#f8fafc;white-space:pre-wrap;overflow-wrap:anywhere}#fth-base64 .fth-base64__field textarea::placeholder{color:#94a3b8}#fth-base64 .fth-base64__help{margin:8px 0 0;color:#64748b;font-size:.8rem;line-height:1.6}#fth-base64 .fth-base64__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}#fth-base64 .fth-base64__primary,#fth-base64 .fth-base64__secondary{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 15px;border:1px solid #fff0;border-radius:8px;font-size:.86rem;font-weight:700;transition:background 0.15s ease,border-color 0.15s ease}#fth-base64 .fth-base64__primary{color:#fff;background:#ea580c;border-color:#ea580c}#fth-base64 .fth-base64__primary:hover{background:#c2410c;border-color:#c2410c}#fth-base64 .fth-base64__secondary{color:#334155;background:#fff;border-color:#cbd5e1}#fth-base64 .fth-base64__secondary:hover{background:#f8fafc;border-color:#94a3b8}#fth-base64 .fth-base64__output-actions{display:flex;justify-content:flex-end;margin-top:10px}#fth-base64 .fth-base64__status{min-height:24px;margin:16px 0 0;color:#64748b;font-size:.84rem;line-height:1.6;overflow-wrap:anywhere}#fth-base64 .fth-base64__status[data-state="error"]{color:#b91c1c}#fth-base64 .fth-base64__status[data-state="success"]{color:#166534}#fth-base64 .fth-base64__notice{margin:16px 0 0;padding:12px 14px;color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;font-size:.82rem;line-height:1.7}@media (max-width:600px){#fth-base64{width:calc(100% - 24px);margin:16px auto;padding:17px;border-radius:14px}#fth-base64 .fth-base64__header{flex-direction:column;gap:12px}#fth-base64 .fth-base64__field textarea{min-height:145px}#fth-base64 .fth-base64__actions{display:grid;grid-template-columns:1fr}#fth-base64 .fth-base64__actions button{width:100%}}@media (prefers-reduced-motion:reduce){#fth-base64 *,#fth-base64 *::before,#fth-base64 *::after{scroll-behavior:auto;transition:none}}