:root{--ht:#e11d48;--ht-dark:#9f1239;--ht-soft:#fff1f2;--ht-ink:#321e24;--ht-muted:#75636a;--ht-line:#eadce1}body{background:linear-gradient(180deg,#fff7f9 0,#fff 470px)}.ht-hero{background:radial-gradient(circle at 88% 13%,rgba(255,255,255,.3),transparent 27%),linear-gradient(135deg,#881337,#e11d48 58%,#fb7185);border:0;color:#fff;box-shadow:0 22px 60px rgba(225,29,72,.2)}.ht-hero .tool-hero-title,.ht-hero .tool-hero-desc{color:#fff}.ht-hero .tool-hero-icon{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);color:#fff;font:800 .95rem ui-monospace,monospace}.ht-hero .tool-badge{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.27);color:#fff}.ht-page{max-width:1160px}.ht-app{padding:22px;border:1px solid var(--ht-line);border-radius:24px;background:#fff;box-shadow:0 18px 55px rgba(159,18,57,.09)}.ht-banner{display:none;padding:10px 13px;margin-bottom:14px;border-radius:10px;font-size:.83rem}.ht-banner.show{display:block}.ht-banner.success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.ht-banner.error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.ht-head,.ht-head>div,.ht-options,.ht-result-head,.ht-result-head>div{display:flex;align-items:center;justify-content:space-between;gap:9px}.ht-head label{display:block;color:var(--ht-ink);font-weight:700}.ht-head span{font-size:.72rem;color:var(--ht-muted)}.ht-head button,.ht-file,.ht-result-head button{padding:8px 11px;border:1px solid var(--ht-line);border-radius:9px;background:#fff;color:var(--ht-dark);font:600 .75rem 'Google Sans',sans-serif;cursor:pointer}.ht-file input{display:none}.ht-app>textarea{width:100%;height:320px;box-sizing:border-box;margin-top:11px;padding:17px;border:1.5px solid var(--ht-line);border-radius:14px;resize:vertical;outline:none;color:var(--ht-ink);font:14px/1.65 ui-monospace,monospace}.ht-app>textarea:focus{border-color:var(--ht);box-shadow:0 0 0 4px rgba(225,29,72,.09)}.ht-options{justify-content:flex-start;flex-wrap:wrap;margin-top:13px;padding:11px;border:1px solid var(--ht-line);border-radius:12px;background:#fffbfc}.ht-options label{font-size:.74rem;color:var(--ht-muted)}.ht-options select{padding:6px;border:1px solid var(--ht-line);border-radius:8px}.ht-options input{accent-color:var(--ht)}.ht-submit{width:100%;margin-top:14px;padding:13px;border:0;border-radius:11px;background:linear-gradient(135deg,var(--ht-dark),var(--ht));color:#fff;font-weight:700;cursor:pointer;box-shadow:0 9px 20px rgba(225,29,72,.22)}#results{margin-top:18px;border:1px solid var(--ht-line);border-radius:17px;overflow:hidden}.ht-result-head{padding:14px;background:var(--ht-soft)}.ht-result-head>div:first-child{display:block}.ht-result-head span,.ht-result-head strong{display:block}.ht-result-head span{font-size:.68rem;text-transform:uppercase;color:var(--ht-muted)}.ht-result-head strong{color:var(--ht-ink)}#text-output{width:100%;height:300px;box-sizing:border-box;padding:17px;border:0;border-top:1px solid var(--ht-line);border-bottom:1px solid var(--ht-line);resize:vertical;outline:none;color:var(--ht-ink);background:#fff;font:14px/1.7 ui-monospace,monospace}.ht-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:var(--ht-line)}.ht-stats div{padding:12px;text-align:center;background:#fff}.ht-stats strong,.ht-stats span{display:block}.ht-stats strong{color:var(--ht-dark)}.ht-stats span{font-size:.66rem;color:var(--ht-muted)}.ht-diagnostics{padding:12px;color:var(--ht-muted);font-size:.75rem}.ht-diagnostics summary{cursor:pointer;font-weight:700;color:var(--ht-ink)}.ht-diagnostics div{margin-top:8px}.ht-info,.ht-guide,.ht-faq{margin-top:28px;padding:30px;border:1px solid var(--ht-line);border-radius:22px;background:#fff}.ht-info{display:grid;grid-template-columns:1.15fr 1fr;gap:38px;background:linear-gradient(135deg,#fff,#fff1f2)}.ht-info h2,.ht-guide h2,.ht-faq h2{margin:5px 0 10px;color:var(--ht-ink);font-size:1.55rem}.ht-info p,.ht-guide p,.ht-faq p{color:var(--ht-muted);line-height:1.7}.ht-eyebrow{color:var(--ht);font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em}.ht-info ol{list-style:none;counter-reset:s;padding:0;margin:0}.ht-info li{position:relative;counter-increment:s;padding:4px 0 16px 46px}.ht-info li:before{content:counter(s);position:absolute;left:0;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:var(--ht);color:#fff;font-weight:700}.ht-info li strong,.ht-info li span{display:block}.ht-info li span{font-size:.8rem;color:var(--ht-muted)}.ht-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.ht-cards article{padding:18px;border:1px solid var(--ht-line);border-radius:15px;background:#fffafb}.ht-cards h3{margin:0 0 7px;color:var(--ht-ink);font-size:.94rem}.ht-cards p{margin:0;font-size:.82rem}.ht-faq details{padding:14px 0;border-top:1px solid var(--ht-line)}.ht-faq summary{cursor:pointer;color:var(--ht-ink);font-weight:700}
@media(max-width:800px){.ht-info{grid-template-columns:1fr}.ht-cards{grid-template-columns:1fr 1fr}.ht-stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:570px){.ht-app,.ht-info,.ht-guide,.ht-faq{padding:16px;border-radius:17px}.ht-head,.ht-result-head{align-items:flex-start;flex-direction:column}.ht-head>div,.ht-result-head>div{flex-wrap:wrap}.ht-app>textarea{height:260px}.ht-stats{grid-template-columns:1fr 1fr}.ht-cards{grid-template-columns:1fr}}
