:root{--ink:#163b35;--muted:#71807b;--green:#14644e;--line:#e1e8e2;--paper:#f7f9f5}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.6}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}header,footer{max-width:1280px;margin:auto;padding:25px 40px;display:flex;align-items:center;justify-content:space-between;gap:25px}header{border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:750;letter-spacing:-.6px;color:var(--ink)}.logo{background:var(--green);color:white;border-radius:11px;width:37px;height:37px;text-align:center;font-size:22px;line-height:37px}.logo span{font-size:14px;color:#bdebaf}.beta{font-size:9px;letter-spacing:1px;padding:3px 7px;border:1px solid #d7e1d8;border-radius:4px;margin-left:4px}nav{display:flex;gap:28px;font-size:13px}nav a{color:#566b62}main{max-width:1200px;margin:auto;padding:0 24px}.hero{text-align:center;padding:65px 0 42px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;color:#6c8b73}h1,h2,h3,p{margin-top:0}h1{font-size:60px;line-height:1.1;letter-spacing:-3px;margin:18px 0 23px;font-weight:750}.hero h1 span{color:#3a8167}.hero p{color:var(--muted);font-size:16px;line-height:1.8}.badges{display:flex;justify-content:center;gap:25px;font-size:11px;color:#5b7367;margin-top:25px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.card{background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 35px #183d3410}.editor{padding:28px}.cardtop{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}.cardtop h2{font-size:23px;letter-spacing:-.8px;margin:4px 0 0}.cardtop .eyebrow{font-size:8px}.tag{font-size:8px;letter-spacing:1px;color:#6d8478;background:#f0f5ef;border-radius:5px;padding:6px 8px}label{display:block;font-size:12px;font-weight:650;margin:15px 0 7px}label .muted{font-weight:400;margin-left:4px}input,textarea,select{width:100%;border:1px solid #dce4dd;border-radius:8px;background:#fcfdfb;padding:12px 14px;font:inherit;color:var(--ink);font-size:13px}textarea{min-height:285px;resize:vertical;line-height:1.7;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}input::placeholder,textarea::placeholder{color:#9daaa1}input:focus,textarea:focus,select:focus{outline:3px solid #b7d6b9;outline-offset:1px}.labelrow{display:flex;justify-content:space-between;align-items:center;margin-top:4px}.labelrow span{font-size:10px}.muted{color:var(--muted);font-size:12px}.settings{display:grid;grid-template-columns:1fr 1fr;gap:18px}.submitrow{margin-top:23px;display:flex;align-items:center;justify-content:space-between;gap:15px}/* Shared button component: variants change tokens, states stay identical. */
.button{--button-bg:var(--green);--button-hover-bg:#104b3b;--button-active-bg:#0c3c2f;--button-ink:#fff;--button-border:transparent;border:1px solid var(--button-border);border-radius:8px;background:var(--button-bg);color:var(--button-ink);cursor:pointer;padding:13px 20px;font:inherit;font-size:12px;font-weight:650;line-height:1.4;display:inline-flex;justify-content:center;gap:8px;align-items:center;min-height:44px;text-align:center;text-decoration:none;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
.button[data-variant="secondary"]{--button-bg:#edf3e9;--button-hover-bg:#e0ebda;--button-active-bg:#d3e2cb;--button-ink:var(--ink);--button-border:#d8e5d2}
.button:hover{background:var(--button-hover-bg);color:var(--button-ink);text-decoration:none}
.button:active{background:var(--button-active-bg);color:var(--button-ink)}
.button:focus-visible{outline:2px solid #6d9970;outline-offset:3px}
.button:disabled,.button[aria-disabled="true"]{opacity:.55;cursor:not-allowed;background:var(--button-bg);color:var(--button-ink)}
.fineprint{color:#8b978e;font-size:10px;margin:14px 0 0}.sidecard{background:#eaf0e5;border:1px solid #dde6d9;padding:27px;border-radius:16px}.orb{height:46px;width:46px;background:#d4e6c5;border-radius:50%;display:grid;place-items:center;font-size:24px;margin-bottom:22px}.sidecard h3{font-size:26px;line-height:1.25;letter-spacing:-1px;margin-bottom:14px}.sidecard p{font-size:12px;color:#74836e}.sidecard hr{border:0;border-top:1px solid #d6e0d1;margin:23px 0}.feature{display:flex;gap:13px;margin:18px 0}.feature b{font-size:10px;color:#8c9e7e;padding-top:3px}.feature strong{font-size:11px;display:block}.feature small{font-size:10px;color:#7d8d73;display:block;margin-top:3px}.adbox{border:1px dashed #d7dfd7;border-radius:12px;padding:12px;text-align:center;margin-top:23px;min-height:280px;color:#95a18f}.adbox>span{font-size:8px;letter-spacing:2px}.adplaceholder{font-size:12px;min-height:210px;display:flex;flex-direction:column;justify-content:center}.adplaceholder small{font-size:9px;margin-top:7px}.explainer{padding:65px 0 40px;border-bottom:1px solid var(--line)}.explainer h2,.faq h2{font-size:29px;letter-spacing:-1px;margin-top:12px}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;margin-top:30px}.three h3{font-size:15px;margin-bottom:8px}.three p{font-size:12px;color:var(--muted)}.faq{max-width:750px;margin:45px auto 65px}details{border-bottom:1px solid var(--line);padding:15px 0}summary{cursor:pointer;font-size:13px;font-weight:600}details p{font-size:12px;color:var(--muted);margin:12px 0 0}footer{font-size:11px;color:var(--muted);border-top:1px solid var(--line)}footer .brand{font-size:14px}.result{max-width:850px;margin:60px auto;padding:40px}.result h1{font-size:35px;letter-spacing:-1.5px}.result button{margin:15px 0}.result>a{display:inline-block;margin-top:15px}.success{display:grid;place-items:center;background:#e5f2df;border-radius:50%;width:50px;height:50px;font-size:25px}.actions{display:flex;gap:15px;align-items:center}.readtext{min-height:400px;white-space:pre;overflow:auto;unicode-bidi:plaintext}.errors{color:#a02d2d;font-size:12px}.errors:empty{display:none}a:not(.button):focus-visible,summary:focus-visible{outline:3px solid #a6c69e;outline-offset:4px}@media(max-width:850px){.workspace{grid-template-columns:1fr}aside{display:grid;grid-template-columns:1fr 1fr;gap:15px}.adbox{margin:0}.hero h1{font-size:48px}.three{gap:20px}}@media(max-width:550px){header,footer{padding:20px;flex-wrap:wrap}nav{gap:16px}header .beta{display:none}.brand{font-size:16px}main{padding:0 16px}.hero{padding:40px 0 30px}.hero h1{font-size:43px;letter-spacing:-2px}.hero p{font-size:13px}.badges{gap:10px;font-size:9px}.editor{padding:20px}.cardtop{align-items:start}.tag{font-size:7px}.settings,.three,aside{grid-template-columns:1fr}.submitrow{flex-direction:column;align-items:stretch}.submitrow button{width:100%}.result{padding:24px;margin:30px auto}.result h1{font-size:29px}.actions{flex-wrap:wrap}.explainer{padding-top:40px}footer>span{display:none}}

.validation-summary-valid { display: none; }
.errors li:empty { display: none; }

.link-options{border:1px solid var(--line);border-radius:10px;margin:22px 0 0;padding:12px 16px 16px;min-width:0}.link-options legend{font-size:12px;font-weight:650;padding:0 6px}.link-choice{display:flex;gap:24px;flex-wrap:wrap}.link-choice label{display:flex;align-items:center;gap:8px;margin:4px 0}.link-choice input{width:16px;height:16px;accent-color:var(--green)}.custom-url{display:flex;align-items:center;gap:8px}.custom-url>span{font-family:monospace;color:var(--muted)}.custom-url input{min-width:0}

[hidden]{display:none!important}

.notice{display:flex;align-items:flex-start;gap:14px;background:#fff5f1;border:1px solid #f0cfc4;border-radius:12px;padding:18px;margin:18px 0 22px;color:#783c30}.notice-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#f9dfd4;color:#a04631;font-weight:750;font-size:18px}.notice h3{font-size:14px;margin:0 0 5px;line-height:1.5}.notice p{font-size:12px;margin:4px 0;line-height:1.7}.notice .notice-details{background:transparent;color:#864333;padding:0;min-height:32px;margin:5px 0 0;text-decoration:underline;font-size:11px}.notice-modal{width:min(460px,calc(100% - 32px));border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 25px 90px #163b3538;color:var(--ink);background:white;max-height:85dvh;overflow:auto}.notice-modal::backdrop{background:#102f2980;backdrop-filter:blur(4px)}.modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.notice-modal [data-button-icon]{width:44px;padding:0;font-size:25px}.notice-modal h2{font-size:24px;line-height:1.25;letter-spacing:-.6px;margin:0 0 12px}.notice-modal p{font-size:14px;color:#65796f;line-height:1.7;overflow-wrap:anywhere;margin:8px 0}.modal-actions{display:flex;justify-content:flex-end;margin-top:24px}.modal-actions button{min-width:110px}.notice-modal:not([open]){display:none}

.notice{padding:16px 18px;gap:12px;border-color:#efd9ce;background:#fff8f3}.notice h3{font-size:16px;font-weight:700;margin-bottom:5px}.notice p{font-size:13px;max-width:65ch}.notice-modal{padding:26px;border-radius:18px;width:min(430px,calc(100% - 32px))}.notice-modal h2{font-size:23px;font-weight:750;line-height:1.3;margin-bottom:10px}.notice-modal p{font-size:13px;line-height:1.7}.modal-top{margin-bottom:16px}.modal-actions{margin-top:20px}.notice-modal[data-kind="success"] .notice-icon{background:#e2f2e7;color:#14644e}#copyStatus:empty{display:none}

.community-totals{background:#edf3e9;border:1px solid #dce7d6;border-radius:16px;padding:24px 28px;margin:0 0 25px;display:flex;gap:25px;flex-wrap:wrap;align-items:center;justify-content:space-between}.community-totals h2{font-size:21px;letter-spacing:-.6px;margin:4px 0}.community-totals p{font-size:12px;color:var(--muted);margin:0}.community-totals>small{font-size:10px;color:var(--muted);width:100%}.totals-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.totals-grid strong{font-size:30px;line-height:1.2;display:block;letter-spacing:-1px}.totals-grid span{display:block;font-size:11px;color:var(--muted);margin-top:6px}.ad-wide{margin:28px 0 32px}.ad-wide .adbox{margin:0;min-height:130px}.ad-wide .adplaceholder{min-height:95px}.adbox{overflow:hidden;min-width:0}@media(max-width:550px){.community-totals{padding:20px}.totals-grid{width:100%;gap:15px}.totals-grid strong{font-size:26px}.ad-wide .adbox{min-height:125px}}

/* Shared layout refinement */
html{scroll-padding-top:24px}body{overflow-wrap:break-word}main{min-width:0}header nav{align-items:center}input,select,textarea{max-width:100%}.result{margin:32px auto;padding:32px;min-width:0}.result h1{overflow-wrap:anywhere}.result form{margin-top:20px}.result>p{line-height:1.7}.paste-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:20px 0 0}.result .paste-actions>button,.result .paste-actions>.button{margin:0;min-height:44px;padding:12px 20px}.copy-status{margin:12px 0 0;font-size:12px;color:var(--muted);padding:10px 12px;border-radius:8px;background:#edf3e9}.copy-status:empty{display:none}.readtext{display:block;margin-top:20px;min-height:300px;height:clamp(300px,45vh,540px);tab-size:4}.metrics-footer{margin:40px 0}.metrics-footer .community-totals{margin:0}.private-ad{max-width:850px;margin:28px auto}.notice{min-width:0}.notice>div{min-width:0}.notice h3,.notice p{overflow-wrap:anywhere}.notice h3{line-height:1.4}.notice-messages p:last-child{margin-bottom:0}.notice-modal h2{overflow-wrap:anywhere}.notice-modal .modal-actions button{margin:0}.notice-modal [data-button-icon]{margin:0}.notice-modal .notice-icon{width:36px;height:36px}.notice-modal::backdrop{backdrop-filter:blur(2px)}.adbox{border-radius:12px;background:#f4f7f1}.adbox>span{display:block;margin-bottom:8px}.adplaceholder{line-height:1.6}.fineprint{line-height:1.7}.cardtop{flex-wrap:wrap}.labelrow{gap:12px}.labelrow label{margin-right:auto}.submitrow .muted{max-width:28ch}.faq summary{padding:2px 0;line-height:1.6}.three article{min-width:0}footer a{min-height:32px;display:inline-flex;align-items:center}.notice-icon{user-select:none}
@media(max-width:850px){.workspace>aside{min-width:0}.community-totals{align-items:flex-start}.totals-grid{gap:24px}.ad-wide{margin:24px 0}.private-ad{margin:24px auto}}
@media(max-width:550px){.result{padding:22px;margin:24px auto;border-radius:14px}.result h1{font-size:28px;line-height:1.2}.paste-actions{align-items:stretch;flex-direction:column;gap:12px}.paste-actions>button,.paste-actions>.button{width:100%;justify-content:center;text-align:center}.notice{padding:14px;gap:10px}.notice-icon{flex-basis:28px;width:28px;height:28px;font-size:16px}.notice h3{font-size:15px}.notice p{font-size:12px}.notice-modal{padding:22px}.notice-modal h2{font-size:21px}.modal-actions button{width:100%}.modal-actions{display:block}.readtext{height:360px;min-height:250px}.metrics-footer{margin:28px 0}.totals-grid{gap:12px}.totals-grid strong{font-size:25px}.hero .eyebrow{font-size:8px;letter-spacing:1.5px}.cardtop .tag{white-space:nowrap}header{gap:14px}.submitrow .muted{max-width:none}footer{gap:12px}.custom-url{gap:6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

.tool-description{padding:40px 0 0}.tool-description>h2{font-size:28px;line-height:1.3;letter-spacing:-.8px}.tool-description>p{font-size:14px;line-height:1.8;color:var(--muted);max-width:85ch}.skip-link{position:absolute;top:8px;left:16px;transform:translateY(-150%);background:white;padding:12px 18px;border:2px solid var(--green);border-radius:8px;z-index:1000}.skip-link:focus{transform:translateY(0)}@media(max-width:550px){.tool-description>h2{font-size:24px}.tool-description{padding-top:25px}}

.policy h2{font-size:20px;line-height:1.4;margin:28px 0 10px;letter-spacing:-.4px}.policy p{font-size:14px;line-height:1.85;color:#536d61}.policy a{overflow-wrap:anywhere}

.sharing-warning{display:block;background:#faf7ed;border:1px solid #e9dfbc;border-radius:10px;padding:14px 16px;margin-top:22px;color:#655c3c}.sharing-warning strong{font-size:12px}.sharing-warning p{font-size:11px;line-height:1.75;margin:6px 0 0}.footer-links{display:flex;gap:18px;flex-wrap:wrap}

.size-counter{font-size:11px;font-weight:650;color:var(--green);white-space:nowrap}.text-size{margin:12px 0 18px;padding:12px 14px;border:1px solid #dce7d8;background:#f3f7ef;border-radius:9px}.text-size progress{appearance:none;display:block;width:100%;height:7px;border:none;border-radius:8px;overflow:hidden;background:#dde7d7;accent-color:var(--green)}.text-size progress::-webkit-progress-bar{background:#dde7d7;border-radius:8px}.text-size progress::-webkit-progress-value{background:var(--green);border-radius:8px}.text-size progress::-moz-progress-bar{background:var(--green);border-radius:8px}#sizeSummary{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-top:8px;font-size:12px}#sizeSummary strong{font-weight:650}#sizeSummary span{color:#5e7669}.text-size small{display:block;color:#7b8c80;font-size:10px;margin-top:5px}.text-size[data-state="warning"]{background:#fff9e9;border-color:#e8d7a4}.text-size[data-state="over"]{background:#fff2ed;border-color:#ebc9bb}.text-size[data-state="over"] #sizeRemaining{color:#a04631;font-weight:650}.text-size[data-state="over"] progress{accent-color:#a04631}.text-size[data-state="over"] progress::-webkit-progress-value{background:#a04631}@media(max-width:550px){.size-counter{font-size:10px}#sizeSummary{font-size:11px}}

/* Manual placements are separate layout blocks, never children of the editor form. */
.adbox{width:100%;min-width:0;min-height:0;margin:24px 0 0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible;text-align:center}
.adbox .ad-label{display:block;height:16px;margin:0 0 8px;font-size:8px;line-height:16px;letter-spacing:2px;color:#7a887c}
.adframe{margin-inline:auto;background:#f0f4ed}
.ad-wide .adbox{min-height:0;margin:0}
.ad-wide:has(.adbox){margin:28px 0 32px}
.ad-wide:not(:has(.adbox)){display:none}
.workspace>aside{display:flex;flex-direction:column;gap:24px;min-width:0}
.workspace>aside .adbox{margin:0}
@media(max-width:850px){.workspace>aside{display:flex}.ad-wide:has(.adbox){margin:24px 0}}
