@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light;--ink:#203c3b;--muted:#647572;--accent:#147565;--line:#dce5df;--paper:#fffefa}
*{box-sizing:border-box}body{margin:0;background:#f4f6f0;color:var(--ink);font-family:Manrope,system-ui,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,select,input[type=range]{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c77e31;outline-offset:4px}.site-header,footer{max-width:1160px;margin:auto;padding:28px 32px;display:flex;justify-content:space-between;align-items:center}.brand{font-size:25px;font-weight:800;letter-spacing:-1px}.brand span,h1 span{color:var(--accent)}.header-links{display:flex;gap:20px;font-size:14px;font-weight:600}main{max-width:1120px;margin:38px auto 60px;padding:0 24px}.intro{text-align:center;margin-bottom:38px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:var(--accent)}h1{font-size:clamp(34px,5vw,58px);line-height:1.15;letter-spacing:-2px;margin:16px 0}p{color:var(--muted)}.intro p{font-size:16px;line-height:1.8}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;background:var(--paper);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 15px 45px #203c3b08}.editor{display:flex;flex-direction:column;min-width:0;padding:28px}.section-heading,.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading label{font-weight:800}.section-heading label span{font-weight:400;color:var(--muted);font-size:12px}.text-button{border:0;background:transparent;color:var(--accent);font-size:12px;padding:8px 0;font-weight:700}.text-button:hover{text-decoration:underline}textarea{display:block;width:100%;resize:vertical;min-height:330px;flex:1;border:0;background:transparent;color:var(--ink);padding:24px 0;font-size:18px;line-height:1.9}textarea::placeholder{color:#8a9790}.editor-footer{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}.settings{background:#edf2eb;padding:28px;border-left:1px solid var(--line)}.settings>label{display:block;font-size:13px;font-weight:700;margin:19px 0 7px}select{width:100%;padding:12px;border:1px solid #cad7cd;border-radius:9px;background:var(--paper);color:var(--ink);font-size:14px}.help{font-size:12px;line-height:1.6;min-height:40px;margin:9px 0}.speed-label output{float:right;color:var(--accent)}input[type=range]{width:100%;accent-color:var(--accent)}.range-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.primary{width:100%;border:0;border-radius:10px;background:var(--accent);color:white;padding:15px 10px;margin-top:26px;font-size:14px;font-weight:700}.primary:hover:enabled{background:#095b4f}.transport{display:flex;gap:10px;margin-top:10px}.transport button{flex:1;border:1px solid #cad7cd;border-radius:9px;padding:10px 4px;background:transparent;color:var(--ink);font-size:12px}#status{font-size:12px;margin-bottom:0;min-height:38px}.notes{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin:32px 8px 22px}.notes h2{font-size:15px;margin-bottom:6px}.notes p,details{font-size:13px}.notes p{margin-top:0}details{border-top:1px solid var(--line);padding:20px 8px}summary{cursor:pointer;font-weight:700}footer{border-top:1px solid var(--line);font-size:12px;color:var(--muted)}footer a{font-weight:800}@media(max-width:760px){.workspace{grid-template-columns:1fr}.settings{border-left:0;border-top:1px solid var(--line)}main{margin-top:24px;padding:0 16px}.editor,.settings{padding:22px}.section-heading{flex-wrap:wrap}textarea{min-height:260px}.notes{grid-template-columns:1fr;gap:10px}.site-header,footer{padding:22px 20px}.header-links{gap:14px;font-size:12px}footer{gap:20px}h1{letter-spacing:-1px}}
/* Dark theme — same preference the rest of the site reads/writes (localStorage 'theme'),
   applied here as body.dark-theme. The root variables cover most of the page; a few
   literal hex values (body background, the settings panel, select/transport borders,
   textarea placeholder) never referenced a variable and get their own dark equivalents. */
body.dark-theme{color-scheme:dark;--ink:#e4ede9;--muted:#9db2ac;--accent:#5fd1b5;--line:#2e433d;--paper:#152522}
body.dark-theme{background:#0e1a17}
body.dark-theme .settings{background:#132420}
body.dark-theme select,body.dark-theme .transport button{border-color:#31473f}
body.dark-theme textarea::placeholder{color:#5f746e}
#theme-toggle{border:0;background:transparent;color:var(--ink);border-radius:999px;width:34px;height:34px;font-size:16px;line-height:1;padding:0;display:inline-flex;align-items:center;justify-content:center}
#theme-toggle:hover{color:var(--accent)}
