:root{color-scheme:light;--paper:#f5f5ef;--ink:#183d36;--muted:#6b776f;--green:#176b50;--line:#dce2d9;--field:#fdfefa;--error:#a83232}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 "Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}
button,a,input,select,summary{touch-action:manipulation}
button,select,summary{cursor:pointer}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:4px}
button,input,select,textarea,summary,a{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #76ad92;outline-offset:3px}
[hidden]{display:none!important}
h1,h2,p{margin:0}
.wrap{width:min(1032px,calc(100% - 64px));margin-inline:auto}
.site-header{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}
.brand{display:flex;align-items:center;gap:9px;font-weight:600;font-size:17px;letter-spacing:-.2px}
.brand:hover{text-decoration:none}
.brand svg{width:32px;height:32px;flex-shrink:0}
.brand svg rect{fill:var(--green)}
.brand svg path{fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.brand-tail{font-weight:400;color:var(--muted)}
.guide-link{font-size:14px;color:var(--muted);white-space:nowrap}
.guide-link span{margin-left:5px}
.intro{padding:45px 0 30px}
.eyebrow{font:12px/1.5 "Cascadia Code",Consolas,monospace;letter-spacing:2px;color:var(--green);margin-bottom:9px}
h1{font-size:34px;line-height:1.4;letter-spacing:-.7px;font-weight:600}
.intro>p:last-child{color:var(--muted);margin-top:9px}
.workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:start}
.preferences,.output{min-width:0;background:#fffefa;border:1px solid var(--line);border-radius:12px;padding:26px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}
h2{font-size:17px;font-weight:600}
.text-button{background:transparent;border:0;color:var(--muted);font-size:14px;padding:3px 0}
.text-button:hover{color:var(--green)}
fieldset{padding:0;margin:0;border:0;min-width:0}
legend,.field>label{display:block;font-weight:550;font-size:14px;margin-bottom:8px}
.templates{margin-bottom:23px}
.template-options{display:flex;gap:6px;background:#f1f3ed;border:1px solid #e7ebe2;border-radius:7px;padding:4px}
.template-options label{flex:1;position:relative;min-width:0}
.template-options input{position:absolute;opacity:0;width:1px;height:1px}
.template-options span{display:block;text-align:center;font-size:14px;padding:8px 4px;border-radius:4px;color:var(--muted);cursor:pointer;white-space:nowrap}
.template-options input:checked+span{background:#fff;color:var(--green);box-shadow:0 1px 5px #183d3610;font-weight:600}
.template-options input:focus-visible+span{outline:3px solid #76ad92;outline-offset:1px}
.field{min-width:0}
.optional{font-size:13px;font-weight:400;color:var(--muted);margin-left:5px}
input:not([type=radio]),select,textarea{display:block;width:100%;border:1px solid #cfd8cc;border-radius:6px;background:var(--field);padding:10px 11px;font-size:16px;line-height:1.6;min-height:46px}
input::placeholder,textarea::placeholder{color:#8a948c;opacity:1}
textarea{resize:vertical}
#changes{min-height:119px}
.field-hint{font-size:13px;color:var(--muted);margin-top:7px;line-height:1.6}
.options-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}
.custom-field{margin-top:11px}
.custom-field label{display:block;font-size:13px;color:var(--muted);margin-bottom:5px}
.more-options{border-top:1px solid var(--line);margin-top:23px;padding-top:17px}
.more-options summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;color:var(--muted)}
.more-options summary::-webkit-details-marker{display:none}
.more-options summary>span{font-size:19px;font-weight:300;line-height:1}
.more-options[open] summary>span{transform:rotate(45deg)}
.more-content{display:grid;gap:17px;margin-top:19px}
.output{position:sticky;top:24px;border-top:3px solid var(--green);padding-top:24px}
.output-badge{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:2px 7px}
#prompt{background:transparent;border:0;border-radius:0;padding:0;min-height:222px;max-height:550px;font-size:16px;line-height:1.95;overflow-wrap:anywhere;resize:vertical}
#prompt:focus-visible{outline-offset:7px}
.default-note{font-size:13px;color:var(--muted);margin-top:17px;margin-bottom:18px}
.copy-button{width:100%;border:1px solid var(--green);background:var(--green);color:white;border-radius:6px;padding:11px 16px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:16px;font-weight:550;min-height:48px;transition:background .15s}
.copy-button:hover{background:#10563f}
.copy-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.copy-status{min-height:21px;font-size:13px;color:var(--muted);margin-top:11px;text-align:center;overflow-wrap:anywhere}
.copy-status[data-state=error]{color:var(--error)}
.copy-status[data-state=success]{color:var(--green)}
[aria-invalid=true]{border-color:var(--error)!important}
.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;color:var(--muted);border-top:1px solid var(--line);margin-top:42px;padding-block:20px 28px}
.site-footer a{white-space:nowrap}
.skip{position:absolute;left:20px;top:-80px;background:var(--ink);color:#fff;padding:8px 14px;z-index:5;border-radius:4px}
.skip:focus{top:10px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.noscript{padding-top:20px;color:var(--error)}
@media(max-width:900px){.workspace{grid-template-columns:1fr;gap:20px}.output{position:static}#prompt{min-height:140px}}
@media(max-width:760px){.wrap{width:min(520px,calc(100% - 36px))}.site-header{height:76px}.intro{padding:31px 0 24px}h1{font-size:30px}.preferences,.output{padding:23px}.output{border-top-width:3px}.output .section-heading{margin-bottom:20px}.site-footer{margin-top:30px}.brand-tail{display:none}}
@media(max-width:480px){.options-grid{grid-template-columns:1fr;gap:17px}}
@media(max-width:380px){.preferences,.output{padding:19px}.options-grid{grid-template-columns:1fr;gap:17px}.template-options{gap:3px}.template-options span{font-size:13px}.brand{font-size:16px}.guide-link{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
