:root{font-family:system-ui,sans-serif;color:#183c39;background:#f5f3eb;line-height:1.55;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header,main{max-width:1080px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid #ccd3c7}.brand{font-weight:800;font-size:23px;color:inherit;text-decoration:none}.brand span{font-weight:400;font-size:14px}.badge,.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:750}.badge{border:1px solid #a4b4a8;padding:6px 10px;border-radius:30px}.intro{max-width:740px;padding:45px 0 35px}.intro h1{font-family:Georgia,serif;font-size:clamp(42px,7vw,76px);line-height:1.06;letter-spacing:-.04em;margin:16px 0}.intro>p:last-child{font-size:19px;max-width:580px}section{margin-bottom:30px}section:not(.intro){padding:25px 0;border-top:1px solid #ccd3c7}h2{font-size:25px;margin:6px 0 12px;letter-spacing:-.025em}h3{margin:0 0 10px;font-size:17px}.heading,.controls,.presets{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.heading{justify-content:space-between}.summary,.comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.summary article{padding:18px;border:1px solid #c8d2c5;border-radius:10px}.summary article:last-child{grid-column:1/-1}.comparison article{background:#e4ebe0;padding:24px;border-radius:12px;border:1px solid #becbbb}.comparison article.warning{background:#f4e4cb;border-color:#b78c52}.big{font-family:Georgia,serif;font-size:32px;line-height:1.2;margin:10px 0}.hint,small{font-size:13px;color:#49605a}button,input,select{font:inherit}button{border:1px solid #244d43;background:#244d43;color:white;padding:10px 17px;border-radius:7px;cursor:pointer;transition:background .15s}button:hover{background:#386a5b}button.quiet,.presets button,#edit,#cancel{background:transparent;color:#244d43}button:disabled{opacity:.45;cursor:not-allowed}input,select{padding:9px;border:1px solid #82958a;border-radius:5px;background:#fffef8;max-width:100%;min-width:0}label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:650}.fields{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.fields label{flex:1 1 140px}.controls{margin:16px 0}.preview{padding:20px;background:#fffef8;border:2px solid #597d67;border-radius:10px;margin-top:18px}details{padding:12px 0}summary{font-weight:650;cursor:pointer}ul{padding-left:20px}li{margin:6px 0}.check{display:flex;gap:15px;justify-content:space-between;border-bottom:1px solid #d2d8ce;padding:13px 0}.row{border:1px solid #bdc9bb;padding:14px;border-radius:8px;margin:12px 0}.row .fields{margin:0 0 10px}#editor{background:#e9ede3;padding:24px;border-radius:12px}#status{position:sticky;bottom:10px;background:#183c39;color:white;padding:14px 20px;border-radius:8px;box-shadow:0 4px 15px #183c3920}#status:empty{display:none}footer{font-size:13px;padding:25px 0;color:#49605a}:focus-visible{outline:3px solid #b45224;outline-offset:3px}[hidden]{display:none!important}@media(max-width:640px){header{align-items:flex-start;flex-direction:column}.summary,.comparison{grid-template-columns:1fr}.summary article:last-child{grid-column:auto}.check{flex-direction:column;gap:3px}main,header{padding:18px}.intro{padding-top:25px}.controls button{flex:1 1 12rem}h2{font-size:23px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Bound user-authored labels and native fieldsets at narrow viewports. */
main,article,.preview,.check,fieldset{min-width:0;overflow-wrap:anywhere}fieldset{max-width:100%;margin-inline:0}select{width:100%}

/* Keep the explicit comparison reset choice readable and keyboard accessible. */
label.checkbox{flex-direction:row;align-items:flex-start;gap:8px;margin:12px 0}label.checkbox input{flex:0 0 auto;margin-top:3px}

/* Keep long feedback readable without consuming the whole zoomed viewport. */
#status{max-height:40vh;overflow-y:auto}
