:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#172124;background:#f6f6f4;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-width:320px}
button,textarea{font:inherit}
button{cursor:pointer}
.site-shell{min-height:100dvh;display:flex;flex-direction:column;max-width:1440px;margin:auto;padding:0 clamp(20px,5vw,76px)}
.site-header{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dedfda}
.brand{display:inline-flex;align-items:center;gap:10px;color:#1b2628;text-decoration:none;font-size:20px;font-weight:750;letter-spacing:-.055em}
.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#214e49;color:white;font-size:22px;letter-spacing:-.08em}
.brand-mark span{color:#b1e0ad}
.demo-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #d6dfd8;border-radius:999px;background:#ecf2ed;color:#42654e;font-size:12px;font-weight:650}
.demo-pill span{width:7px;height:7px;border-radius:50%;background:#62a773}
main{width:100%;flex:1;padding:clamp(42px,7vh,80px) 0 54px}
.intro{max-width:800px;margin-bottom:42px}
.eyebrow{display:block;color:#49766d;font-size:11px;font-weight:750;letter-spacing:.19em}
h1,h2,p{margin:0}
h1{margin:16px 0 18px;font-size:clamp(37px,5.1vw,72px);font-weight:680;letter-spacing:-.072em;line-height:1.07}
h1 em{font-style:normal;color:#3a7b68}
.intro p{font-size:16px;line-height:1.5;color:#657171}
.converter{display:grid;grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);align-items:stretch;gap:14px}
.editor{display:flex;flex-direction:column;min-width:0;min-height:355px;border:1px solid #d9dfdb;border-radius:18px;background:#fff;box-shadow:0 14px 36px #19322708}
.editor-heading,.editor-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 25px}
.editor-heading{border-bottom:1px solid #eef0ed}
.editor-heading label,.editor-heading h2{font-size:14px;font-weight:700;letter-spacing:-.015em}
.editor-heading>span,.editor-footer>span{color:#8a9691;font-size:12px;white-space:nowrap}
textarea{display:block;flex:1;min-height:210px;width:100%;resize:vertical;border:0;outline:0;padding:25px;color:#273332;background:none;font-size:17px;line-height:1.68}
textarea::placeholder{color:#a0aaa6}
textarea:focus-visible{outline:2px solid #4c9a7b;outline-offset:-6px;border-radius:15px}
.editor-footer{margin-top:auto;border-top:1px solid #eef0ed;padding-top:15px;padding-bottom:15px}
.text-button{padding:5px 0;border:0;background:none;color:#427d68;font-size:12px;font-weight:700}
.text-button:hover{text-decoration:underline}
.text-button:disabled{color:#a3ada8;cursor:default;text-decoration:none}
.flow-control{align-self:center;display:grid;place-items:center;width:46px;height:46px;border:1px solid #d8e4da;border-radius:50%;background:#eaf1e9;color:#40826e;font-size:25px}
.output-editor{background:#f0f5f1;border-color:#d4e3d8}
.output-editor .editor-heading,.output-editor .editor-footer{border-color:#dce9df}
.result{flex:1;min-height:210px;padding:25px;color:#264239;font-size:17px;line-height:1.68;white-space:pre-wrap;overflow-wrap:anywhere}
.result-placeholder{color:#94aaa0}
.actions{display:flex;align-items:center;gap:20px;margin-top:24px;min-height:58px}
.convert-button{display:flex;align-items:center;justify-content:space-between;gap:45px;min-width:258px;min-height:54px;padding:0 20px;border:1px solid #25594c;border-radius:11px;background:#285e50;color:#fff;font-size:14px;font-weight:700;box-shadow:0 8px 18px #285e5024;transition:background .18s,transform .18s}
.convert-button:hover{background:#1f4e42;transform:translateY(-1px)}
.convert-button:focus-visible,.text-button:focus-visible{outline:3px solid #7ebea1;outline-offset:3px}
.convert-button:disabled{opacity:.6;cursor:wait;transform:none}
.convert-button span:last-child{font-size:22px;font-weight:400}
.feedback{color:#697c72;font-size:12px}
footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:61px;border-top:1px solid #dedfda;color:#8d9993;font-size:12px}
@media(max-width:800px){.converter{grid-template-columns:1fr;gap:12px}.flow-control{transform:rotate(45deg);margin:1px auto}.editor{min-height:290px}.intro{margin-bottom:32px}}
@media(max-width:560px){.site-shell{padding:0 17px}.site-header{height:70px}.brand{font-size:18px}.brand-mark{width:34px;height:34px;font-size:19px}main{padding:40px 0}.intro{margin-bottom:29px}.intro p{font-size:14px}.editor{min-height:270px;border-radius:14px}.editor-heading,.editor-footer{padding-left:17px;padding-right:17px}textarea,.result{padding:19px;font-size:16px;min-height:190px}.flow-control{width:36px;height:36px;font-size:20px}.actions{align-items:stretch;flex-direction:column;gap:10px}.convert-button{width:100%}.feedback{min-height:16px}}
@media(prefers-reduced-motion:reduce){.convert-button{transition:none}}

/* One-screen workspace with compact live-data slots. */
html,body{height:100%;overflow:hidden}
.site-shell{height:100dvh;min-height:0;overflow:hidden}
.site-header{height:72px;flex:none}
.header-label{display:inline-flex;align-items:center;gap:11px;color:#688078;font-size:10px;font-weight:750;letter-spacing:.16em}
.header-label span{font-size:18px;letter-spacing:0;color:#4e8a72}
main{display:flex;flex-direction:column;min-height:0;padding:24px 0 18px}
.workspace-top{display:flex;align-items:end;justify-content:space-between;gap:25px;flex:none;margin-bottom:20px}
.workspace-title{min-width:0}
.workspace-title h1{margin:8px 0 0;font-size:clamp(29px,3vw,42px);line-height:1;letter-spacing:-.055em}
.stats{display:grid;grid-template-columns:repeat(3,minmax(115px,1fr));gap:8px;width:min(100%,505px)}
.stat{min-height:81px;display:flex;flex-direction:column;justify-content:space-between;gap:7px;padding:12px 14px;border:1px solid #dce5dd;border-radius:12px;background:#eff4ef}
.stat span{color:#648073;font-size:11px;line-height:1.25}
.stat strong{font-size:20px;line-height:1;color:#264e40;font-weight:720;font-variant-numeric:tabular-nums}
.converter{flex:1;min-height:0}
.editor{min-height:0;overflow:hidden}
.editor-heading{flex:none;padding-top:18px;padding-bottom:18px}
.editor-footer{flex:none}
textarea{min-height:0;resize:none;overflow:auto}
.result{min-height:0;overflow:auto}
.actions{flex:none;margin-top:17px;min-height:50px}
.convert-button{min-height:50px}
footer{flex:none;min-height:43px}
.conversion-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;width:100%;height:100%;min-height:150px;color:#437c65;text-align:center}
.conversion-visual strong{font-size:13px;font-weight:680;letter-spacing:.01em}
.conversion-symbol{display:flex;align-items:center;justify-content:center;gap:5px;height:30px}
.conversion-symbol span{width:5px;height:8px;border-radius:3px;background:#63a684;animation:conversion-pulse 1s ease-in-out infinite alternate}
.conversion-symbol span:nth-child(2){animation-delay:.12s}.conversion-symbol span:nth-child(3){animation-delay:.24s}.conversion-symbol span:nth-child(4){animation-delay:.36s}.conversion-symbol span:nth-child(5){animation-delay:.48s}
.conversion-track{width:min(180px,65%);height:3px;overflow:hidden;border-radius:5px;background:#d0e4d5}
.conversion-track span{display:block;width:40%;height:100%;border-radius:5px;background:#5aa47e;animation:conversion-scan 1.1s ease-in-out infinite alternate}
@keyframes conversion-pulse{to{height:27px;background:#2d7b58}}
@keyframes conversion-scan{to{transform:translateX(150%)}}
@media(max-width:800px){.workspace-top{align-items:start;flex-direction:column;gap:13px;margin-bottom:14px}.stats{width:100%}.converter{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:9px}.flow-control{display:none}.editor{min-height:0}.editor-heading{padding-top:12px;padding-bottom:12px}.editor-footer{padding-top:8px;padding-bottom:8px}.actions{margin-top:10px}}
@media(max-width:560px){.site-header{height:58px}.header-label{font-size:8px;gap:4px}main{padding:13px 0 9px}.workspace-top{gap:9px;margin-bottom:10px}.workspace-title h1{font-size:25px;margin-top:4px}.eyebrow{font-size:8px}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.stat{min-height:58px;padding:7px 8px;border-radius:8px;gap:3px}.stat span{font-size:9px}.stat strong{font-size:16px}.editor-heading{padding:9px 12px}.editor-heading label,.editor-heading h2{font-size:12px}.editor-heading>span,.editor-footer>span{font-size:10px}.editor-footer{padding:5px 12px}.text-button{font-size:11px}textarea,.result{min-height:0;padding:12px;font-size:14px;line-height:1.5}.actions{flex-direction:row;align-items:center;gap:8px;min-height:42px;margin-top:8px}.convert-button{width:auto;min-width:0;flex:1;min-height:42px;font-size:12px;padding:0 13px}.feedback{max-width:38%;font-size:10px}.conversion-visual{min-height:0;gap:9px}.conversion-visual strong{font-size:11px}footer{display:none}}
@media(max-height:660px) and (min-width:801px){.site-header{height:56px}main{padding:12px 0}.workspace-top{margin-bottom:10px}.stat{min-height:62px}.editor-heading{padding-top:11px;padding-bottom:11px}.editor-footer{padding-top:8px;padding-bottom:8px}footer{min-height:30px}}
@media(prefers-reduced-motion:reduce){.conversion-symbol span,.conversion-track span{animation:none}.conversion-symbol span:nth-child(3){height:22px}.conversion-track span{width:70%}}
