:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182b3b;background:#f5f8fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:flex;flex-direction:column}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit}.skip{position:absolute;left:12px;top:-60px;background:#fff;padding:12px;z-index:10}.skip:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.topbar{height:80px;padding:0 clamp(20px,4vw,64px);border-bottom:1px solid #dce5eb;background:#fff;display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-size:22px;letter-spacing:-.04em;font-weight:780}.brand-icon{position:relative;width:25px;height:29px;border:2.5px solid #0878aa;border-radius:5px;display:inline-block}.brand-icon span{position:absolute;left:6px;top:-6px;width:10px;height:7px;background:#fff;border:2.5px solid #0878aa;border-radius:3px}.language-control{display:flex;align-items:center;gap:8px;color:#566c80}.language-icon{font-size:25px;line-height:1}.language-control select{border:0;background:transparent;color:inherit;padding:10px 2px;font-size:15px;cursor:pointer}.shell{width:min(100% - 40px,930px);margin:0 auto;flex:1;padding:clamp(30px,5vw,58px) 0 64px}.view[hidden],.password-wrap[hidden],#read-gate[hidden],#read-content[hidden],#read-password-wrap[hidden]{display:none!important}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.19em;color:#1685b5;margin:0 0 12px}.intro{margin-bottom:27px}.intro h1,.result h1,.reader h1{font-size:clamp(36px,5vw,58px);line-height:1.05;letter-spacing:-.065em;margin:0;color:#172b3a;font-weight:760}.intro>p:last-child{font-size:17px;color:#607488;margin:13px 0 0}.editor{border:1px solid #cad8e2;background:#fff;border-radius:18px;box-shadow:0 8px 28px #1a476511,0 1px 2px #1a47650b;overflow:hidden;transition:border-color .18s,box-shadow .18s}.editor:focus-within{border-color:#1196ca;box-shadow:0 0 0 3px #21a7d626,0 8px 28px #1a476511}.editor-label{display:block;padding:17px 22px 0;color:#536e83;font-size:13px;font-weight:700}.editor textarea{display:block;border:0;outline:none;resize:vertical;width:100%;height:clamp(250px,38vh,420px);padding:17px 22px 18px;font-size:18px;line-height:1.55;color:#172b3a;background:transparent}.editor textarea::placeholder{color:#8ca0b1}.editor-bottom{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e5ecf1;padding:11px 22px;color:#748b9d;font-size:12px}#char-count{font-variant-numeric:tabular-nums}.options{display:grid;grid-template-columns:1fr 255px;gap:25px;margin-top:25px}.expiry{border:0;padding:0;margin:0;min-width:0}.expiry legend{font-size:13px;font-weight:750;color:#4c6679;margin-bottom:12px}.choice-row{display:flex;flex-wrap:wrap;gap:8px}.choice{position:relative;cursor:pointer}.choice input{position:absolute;inset:0;opacity:0;cursor:pointer}.choice span{display:block;border:1px solid #cbd9e3;background:#fff;color:#526b7d;border-radius:9px;padding:11px 13px;font-size:14px;font-weight:650;min-width:75px;text-align:center;transition:background .18s,border-color .18s,color .18s}.choice input:checked+span{border-color:#078bc0;background:#e4f4fa;color:#007aaf}.choice input:focus-visible+span{outline:3px solid #70c6e7;outline-offset:2px}.extras{border:1px solid #d9e4eb;background:#fff;border-radius:12px;overflow:hidden}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 14px;min-height:57px;cursor:pointer;position:relative}.toggle-row strong{display:block;font-size:13px;font-weight:720}.toggle-row small{display:block;color:#758b9c;font-size:11px;margin-top:2px}.toggle-row input{position:absolute;right:14px;width:36px;height:22px;opacity:0;cursor:pointer}.toggle-row input:focus-visible+.switch{outline:3px solid #70c6e7;outline-offset:2px}.switch{flex:none;width:36px;height:22px;border-radius:20px;background:#c4d1d9;position:relative;transition:background .18s}.switch:after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:white;transition:transform .18s}.toggle-row input:checked+.switch{background:#078bc0}.toggle-row input:checked+.switch:after{transform:translateX(14px)}.password-option{border-top:1px solid #e7edf1}.password-wrap{display:block;padding:0 14px 13px;font-size:12px;font-weight:650;color:#526b7d}.password-wrap input,.read-password input{display:block;width:100%;height:45px;border:1px solid #cbd9e3;border-radius:8px;padding:0 12px;margin-top:6px;color:#172b3a;background:#fff}.create-button{margin-top:25px}.button{border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:14px;text-decoration:none;min-height:50px;padding:13px 22px;font-size:16px;font-weight:750;transition:transform .15s,background .15s,border-color .15s}.button:active{transform:translateY(1px)}.button:focus-visible,.language-control select:focus-visible,.result-link-wrap input:focus-visible,.password-wrap input:focus-visible,.read-password input:focus-visible{outline:3px solid #70c6e7;outline-offset:2px}.button:disabled{opacity:.55;cursor:wait}.primary{background:#078bc0;border:1px solid #078bc0;color:#fff;box-shadow:0 3px 0 #006d99}.primary:hover:not(:disabled){background:#067cab}.create-button{width:100%;min-height:62px;font-size:18px;justify-content:space-between;padding:16px 24px}.create-button span:last-child{font-size:25px;font-weight:400;line-height:1}.secondary{background:#eaf5fa;border:1px solid #cce5f0;color:#0079aa}.secondary:hover{background:#dbf0f8}.quiet{background:transparent;border:1px solid #ccd9e2;color:#36576b}.quiet:hover{background:#ebf2f6}.form-note{color:#7d91a1;text-align:center;font-size:12px;margin:14px 0 0}.error{color:#a83434;background:#fff3f1;border:1px solid #f0c9c3;border-radius:8px;padding:10px 13px;font-size:13px;margin:14px 0}.result,.reader{max-width:720px;margin:18px auto 0;background:#fff;border:1px solid #d4e2ea;border-radius:18px;padding:clamp(25px,5vw,45px);box-shadow:0 8px 28px #1a476511}.status-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:50%;color:#0089ba;background:#e4f4fa;font-size:25px;margin-bottom:21px}.result h1,.reader h1{font-size:clamp(31px,4vw,45px)}.muted{color:#708596;font-size:15px;margin:13px 0 28px}.result-link-wrap{display:block;color:#526b7d;font-size:12px;font-weight:750}.result-link-wrap input{display:block;width:100%;min-height:56px;border:1px solid #cad8e2;border-radius:9px;background:#f7fafc;color:#18384b;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:16px;padding:12px 14px;margin:8px 0 16px}.result .button{width:100%;margin-bottom:10px}.reader #read-gate .button,.reader #read-content .button{margin-top:15px}.read-password{display:block;font-size:13px;font-weight:650;color:#526b7d;max-width:360px}.reader pre{margin:0;background:#f6f9fb;border:1px solid #dbe6ec;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:60vh;overflow:auto;padding:20px;font:15px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;color:#1c2d39}.back-link{margin-top:28px}.footer{border-top:1px solid #dce5eb;padding:19px clamp(20px,4vw,64px);display:flex;justify-content:space-between;gap:15px;color:#8ba0af;font-size:12px}@media(max-width:690px){.topbar{height:66px;padding:0 20px}.shell{width:min(100% - 32px,930px);padding:32px 0 45px}.intro{margin-bottom:22px}.intro>p:last-child{font-size:15px}.editor textarea{height:300px;font-size:16px}.options{grid-template-columns:1fr;gap:18px}.choice{flex:1}.choice span{min-width:0;padding:11px 8px}.extras{display:grid;grid-template-columns:1fr 1fr}.password-option{border-top:0;border-left:1px solid #e7edf1}.toggle-row{min-height:65px}.toggle-row small{line-height:1.2}.password-wrap{grid-column:1/-1}.create-button{margin-top:21px}.footer span:last-child{display:none}}@media(max-width:400px){.extras{grid-template-columns:1fr}.password-option{border-top:1px solid #e7edf1;border-left:0}.choice-row{display:grid;grid-template-columns:repeat(2,1fr)}.choice span{min-width:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Keep the native switch input directly clickable for pointer and test automation. */
.switch{pointer-events:none}
.policy h1{margin-bottom:24px}.policy h2{font-size:17px;letter-spacing:-.02em;margin:26px 0 7px}.policy p{color:#556c7d;font-size:15px;line-height:1.65;max-width:66ch;margin:0}.footer a{color:#557187;text-decoration:none}.footer a:hover{text-decoration:underline}
@media(max-width:400px){.editor textarea{height:220px}.extras{grid-template-columns:repeat(2,minmax(0,1fr))}.password-option{border-top:0;border-left:1px solid #e7edf1}.toggle-row{padding:10px 9px}.toggle-row input{right:9px}}

/* Keep the creation controls in the same order as the reference interface. */
.editor-bottom{justify-content:flex-end}
.options{display:block}
.expiry legend{font-size:14px}
.one-time-choice span{min-width:120px}
.password-option{border:0;margin-top:18px;background:transparent}
.password-choice span{min-width:145px}
.password-wrap{padding:14px 0 0;max-width:360px}
.result{background:#edf7fb;border-color:#b9e0f1}
.qr-wrap{display:flex;justify-content:center;margin:20px 0 24px}
.qr-wrap img{display:block;width:232px;height:232px;background:#fff;border:12px solid #fff;border-radius:13px;box-shadow:0 2px 9px #1a47651c}
.footer{align-items:center;flex-wrap:wrap}
#created-count{color:#536e83;font-variant-numeric:tabular-nums}
@media(max-width:690px){.choice-row{display:flex}.choice{flex:0 0 auto}.choice span{padding:11px 13px}.footer span:last-child{display:inline}}
@media(max-width:400px){.choice-row{display:flex}.password-option{border:0}.qr-wrap img{width:210px;height:210px}}
