:root{font-family:"Avenir Next",Avenir,"Segoe UI",sans-serif;color:#173638;background:#f3f0e7;color-scheme:light}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
main{width:min(100% - 2rem,680px);margin:clamp(1rem,7vw,4rem) auto 3rem}
header{padding:clamp(1.4rem,6vw,3rem);background:#14373a;color:#fffdf6;border-bottom:5px solid #efc476}
.brand{margin:0 0 1rem;color:#efc476;font-size:.85rem;font-weight:700}
h1{font-size:clamp(2.25rem,8vw,4rem);letter-spacing:-.055em;line-height:1;margin:0}
header p:last-child{max-width:53ch;line-height:1.6;margin:1.2rem 0 0;color:#e2ebe1}
.panel{margin:0;background:#fffdf8;padding:clamp(1.2rem,5vw,2.25rem);border:1px solid #d8dfd3}
.panel h2{margin:0 0 1rem;letter-spacing:-.035em;font-size:1.7rem}
label{display:block;font-weight:700;margin:.95rem 0 .35rem;line-height:1.4}
label:first-child{margin-top:0}
small{font-size:.76em;color:#536c65;font-weight:500}
textarea,select,input[type=text]{width:100%;padding:.65rem .75rem;border:1px solid #8ca29a;background:#f8f9f3;color:inherit;font:inherit}
textarea{resize:vertical}
.hint{font-size:.86rem;color:#4b635f;line-height:1.5;margin:.4rem 0 .65rem}
button{font:inherit;font-weight:700;border:1px solid transparent;border-radius:0;padding:.62rem .95rem;min-height:44px;background:#14373a;color:#fffdf6;cursor:pointer}
button[type=submit]{margin-top:.9rem}
button:disabled{opacity:.65;cursor:wait}
.secondary{background:transparent;border-color:#86a098;color:#14373a}
.actions{display:flex;flex-wrap:wrap;gap:.65rem;align-items:baseline;margin:.55rem 0}
:focus-visible{outline:3px solid #a7662b;outline-offset:3px}
details{margin:.5rem 0 .75rem}
summary{cursor:pointer;font-weight:600}
#original{white-space:pre-wrap;overflow-wrap:anywhere}
.consent{border-top:1px solid #ccd9ce;padding-top:.8rem;margin-top:.75rem}
.consent label{font-size:.92rem}
input[type=checkbox]{accent-color:#173638}
.receipt-code{overflow-wrap:anywhere;font-family:monospace;background:#edf1e7;padding:.55rem}
#send-error{color:#8a301c}
.demo-panel{background:#fbefd4}
.demo-profiles{display:flex;flex-wrap:wrap;gap:.5rem}
.demo-profiles button{display:flex;align-items:center;gap:.45rem;background:#fffdf8;color:#14373a;border-color:#a98b54;font-size:.82rem}
.demo-profiles button span{display:grid;place-items:center;width:1.55rem;height:1.55rem;border-radius:50%;background:#dce9dd;font-size:.67rem}
.demo-profiles button:nth-child(2) span{background:#ecd9c9}
.demo-profiles button:nth-child(3) span{background:#e6e0f2}
