:root{font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#27352d;background:#f6f7f3;--green:#32533e;--hover:#426c51;--ink:#27352d;--muted:#647268;--line:#d7ded3;--selected:#eaf0e3;--soft:#fafbf7}
*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:flex;flex-direction:column}button,input,select,textarea{font:inherit;color:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{border:0;background:none;border-radius:8px;padding:10px 14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}button:hover{background:#e8ede7}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid #9db78f;outline-offset:4px}a{color:inherit;text-decoration:none}a:hover{color:var(--green)}[hidden]{display:none!important}.primary{background:var(--green);color:white;font-weight:600}.primary:hover:not(:disabled){background:var(--hover)}.outline{border:1px solid #dce2d8;background:white}.subtle{color:var(--muted);font-size:14px}.icon{width:18px;height:18px;display:inline-block;flex:none;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}h1,h2,h3,p{margin:0}.site-header{height:88px;max-width:1320px;width:100%;margin:0 auto;padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:22px}.site-header nav{display:flex;gap:29px;align-items:center;font-size:14px;color:#5d6b60}.site-header .signin{border:1px solid #cbd6c5;padding:9px 16px;border-radius:7px;background:#fff9}.site-header .signin:hover{background:white}.site-footer{max-width:1240px;margin:auto auto 0;width:calc(100% - 84px);padding:24px 0 92px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#7b8776;border-top:1px solid #e4e8df}.site-footer div{display:flex;gap:22px}
.preview-bar{min-height:46px;background:#e9ede4;border-bottom:1px solid #d6dfcf;display:flex;align-items:center;gap:24px;padding:7px 28px;color:#4f624d;font-size:12px}.preview-title{font-size:10px;font-weight:650;letter-spacing:1.35px;white-space:nowrap}.preview-variants{display:flex;gap:5px}.preview-variants a{padding:6px 12px;border-radius:6px;white-space:nowrap}.preview-variants a[aria-current=page]{background:white;box-shadow:0 1px 3px #1b3b1f0d;color:#294b35;font-weight:650}.preview-state{display:flex;gap:8px;margin-left:auto;align-items:center}.preview-state select{appearance:none;border:1px solid #ccd7c4;border-radius:6px;padding:6px 29px 6px 10px;font-size:12px;background:#f8faf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23647268' stroke-width='1.7'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center}.preview-state button{font-size:12px;padding:6px 9px}.preview-notes{position:fixed;bottom:0;left:0;right:0;z-index:30;border-top:1px solid #d9e1d3;background:#f0f3ebf5;backdrop-filter:blur(16px);padding:12px 28px;display:flex;align-items:center;gap:22px;font-size:11px;color:#6b7865}.preview-notes>div:first-child{display:flex;align-items:center;gap:18px;flex:1;min-width:0}.preview-notes strong{font-size:12px;color:#3c573a;font-weight:650;white-space:nowrap}.preview-measure{display:flex;gap:20px;white-space:nowrap;font-variant-numeric:tabular-nums}.preview-measure b{font-size:14px;font-weight:650;color:#31543f}.preview-notes>button{padding:0;width:21px;height:21px;border:1px solid #c6d1bd;border-radius:50%;font-family:Georgia,serif;font-size:13px;flex:none}.preview-custom{color:#8a6528!important}
#app{width:100%;flex:1;padding:32px 28px 64px}.hero{text-align:center;margin:0 auto 34px;max-width:900px}.hero h1{font-size:42px;font-weight:550;letter-spacing:-1.5px;line-height:1.16;color:#273d2e;margin-bottom:13px}.hero h1 em{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:#4a6b44}.hero p{font-size:16px;line-height:1.6;color:var(--muted)}.stage{max-width:850px;margin:auto;transition:max-width .25s}.stage.is-comparing{max-width:1160px}.editor-card{border:1px solid #ccd7c5;background:#fff;border-radius:12px;box-shadow:0 10px 35px #24432c07;position:relative;overflow:hidden}.card-head{min-height:55px;border-bottom:1px solid #edf0e8;display:flex;align-items:center;justify-content:space-between;padding:10px 22px;gap:16px;font-size:14px}.card-head strong{font-weight:550}.clear{font-size:12px;color:#82907b;padding:5px 8px}.writing-wrap{position:relative;min-width:0}.writing{display:block;width:100%;height:245px;resize:none;outline:none;border:0;border-radius:0;padding:24px 26px 20px;background:transparent;font-size:17px;line-height:1.85;color:var(--ink);overflow-y:auto;scrollbar-color:#c8d3c2 transparent}.writing::placeholder{color:#97a28f;font-size:16px}.writing:focus{outline:none}.writing-wrap:focus-within{box-shadow:inset 3px 0 #aebfa0}.paste-center{position:absolute;left:50%;top:51%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:12px}.paste-center button{font-size:14px;border:1px solid #d5decf;background:#f8faf5;color:#3c5838;padding:10px 15px;border-radius:7px}.paste-center button:hover{background:#edf2e7}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;border-top:1px solid #e4e9dd;min-height:78px}.input-meta{display:flex;align-items:center;gap:16px;color:#83907b;font-size:12px;font-variant-numeric:tabular-nums}.input-meta button{font-size:12px;padding:6px 0;color:#6f7f64}.input-meta button:hover{background:none;color:#31543f}.action-group{display:flex;gap:8px;align-items:center}.action-group button{font-size:14px;min-height:44px;padding:11px 18px}.action-group .primary{min-width:120px}.under-card{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 3px;color:#788570;font-size:12px}.under-card button{padding:3px 0;border-radius:0;font-size:12px;color:#65785c;text-decoration:underline;text-underline-offset:3px}.under-card button:hover{background:none}.under-card .free{display:flex;align-items:center;gap:7px}.under-card .free svg{width:14px;height:14px;color:#87a06d}.support-row{margin:14px auto 0;max-width:850px;display:flex;justify-content:center;gap:26px;font-size:12px;color:#7c8a73}.support-row a{display:inline-flex;align-items:center;gap:7px}.support-row svg{width:14px;height:14px}.error{color:#a34a37;font-size:13px;line-height:1.5;margin:11px 3px 0}.tab-switch{display:flex;align-items:center;gap:5px}.tab-switch button{font-size:13px;padding:6px 11px;color:#7b8873;border-radius:6px}.tab-switch button.active{background:#eaf0e3;color:#31543f;font-weight:600}.result-text{padding:25px 27px;min-height:245px;font-size:17px;line-height:1.85;color:#27352d;white-space:pre-wrap;overflow-wrap:anywhere}.result-text[contenteditable=true]:focus{outline:0;box-shadow:inset 3px 0 #aebfa0}.result-top-actions{display:flex;align-items:center;gap:4px}.result-top-actions button{font-size:12px;padding:6px 9px;color:#6b7c61}.copy-button{min-width:120px!important;font-size:15px!important}.result-bottom{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 20px;border-top:1px solid #e5eadf}.result-bottom .secondary-actions{display:flex;align-items:center;gap:5px}.result-bottom .secondary-actions button{font-size:13px;padding:9px 10px}.score{display:flex;align-items:center;gap:9px;font-size:12px;color:#67775f;border:0;padding:4px 0;text-align:left;border-radius:0;white-space:normal}.score:hover{background:none;color:var(--green)}.score strong{font-size:14px;font-variant-numeric:tabular-nums;font-weight:600;color:#31543f}.score-circle{width:24px;height:24px;border:2px solid #e1e7dc;border-top-color:#74975e;border-right-color:#8ba578;border-radius:50%;flex:none}.score-detail{border-top:1px solid #e1e7d9;background:#f7f9f3;padding:18px 23px;display:grid;grid-template-columns:1fr auto;gap:8px 30px;align-items:center;font-size:13px;color:#6d7b65}.score-detail p{grid-column:1/-1;font-size:12px;line-height:1.7}.score-detail b{font-size:15px;font-weight:600;color:#375535}.compare-grid{display:grid;grid-template-columns:1fr 1fr}.compare-pane+.compare-pane{border-left:1px solid #e1e7da;background:#fcfdf9}.compare-pane h3{font-size:13px;font-weight:600;color:#6e7b64;margin:21px 25px 0}.compare-pane .result-text{font-size:16px;min-height:260px;padding-top:15px}.loading-row{display:flex;align-items:center;gap:10px;color:#6b7d60;font-size:14px}.spinner{border:2px solid #dbe5d2;border-top-color:#668a52;width:18px;height:18px;border-radius:50%;animation:spin .8s linear infinite;flex:none}.progress-track{height:2px;position:absolute;left:0;right:0;top:0;overflow:hidden;background:#eef2e8;z-index:5}.progress-track i{display:block;background:#7f9d67;width:35%;height:100%;animation:progress 1.4s ease-in-out infinite}.working-overlay{min-height:245px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;background:#fbfcf8;padding:25px}.working-overlay .ghost-lines{width:70%;max-width:420px}.ghost-lines i{display:block;background:#e8ede0;height:7px;margin:12px 0;border-radius:8px;animation:pulse 1.4s ease-in-out infinite}.ghost-lines i:nth-child(2){width:94%;animation-delay:.15s}.ghost-lines i:nth-child(3){width:74%;animation-delay:.3s}.keyboard{font-size:10px;border:1px solid #cbd6c3;padding:1px 4px;border-radius:3px;color:#8b9781;margin-left:3px}.cancel{font-size:12px;color:#87927e;padding:5px 10px}
body[data-view=split] #app{padding-top:25px}.split-stage{max-width:1160px}.split-grid{display:grid;grid-template-columns:1fr 1fr}.split-pane{min-width:0;display:flex;flex-direction:column}.split-pane.output-pane{background:#fafbf7;border-left:1px solid #d7ded3}.split-pane .writing{height:295px;font-size:16px;line-height:1.85;padding:22px 24px}.split-pane .writing-wrap{flex:1}.split-pane .result-text{min-height:295px;height:295px;overflow:auto;font-size:16px;line-height:1.85;padding:22px 24px}.split-pane .card-bottom,.split-pane .result-bottom{padding:15px 20px;min-height:78px}.split-pane .card-bottom .action-group button{padding:10px 13px;min-width:auto}.split-pane .card-bottom .input-meta{gap:8px}.empty-output{height:295px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#98a78c;font-size:14px}.empty-output .output-symbol{width:42px;height:47px;border:1px solid #dce4d3;border-radius:5px;padding:12px 8px;transform:rotate(0);background:#fff9}.output-symbol i{display:block;height:2px;background:#ccd9c2;margin:5px 0}.output-symbol i:last-child{width:65%}.split-pane .working-overlay{height:295px;min-height:295px}.split-pane .score{font-size:11px}.split-stage .under-card{padding-top:15px}.mobile-result-tabs{display:none}.result-note{font-size:12px;color:#8c9684}.copied{background:#527145!important}
body[data-view=instant] .site-header{max-width:1180px}body[data-view=instant] #app{padding-top:50px}.instant-stage{max-width:850px}.instant-hero{margin-bottom:30px}.instant-hero h1{font-size:40px}.instant-stage .editor-card{border-color:#c5d2bd;box-shadow:0 14px 44px #24432c09}.instant-stage .writing{height:244px;padding-top:26px}.instant-stage .paste-center{top:54%}.instant-stage .paste-center button{padding:13px 20px;font-size:16px;color:white;background:#32533e;border-color:#32533e;min-height:48px}.instant-stage .paste-center button:hover{background:#426c51}.instant-input-foot{padding:12px 22px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:#859079}.instant-input-foot .example{font-size:12px;padding:5px 0;color:#6b805e}.instant-input-foot .count{font-variant-numeric:tabular-nums}.instant-stage .result-text{min-height:230px;line-height:1.95}.instant-stage .result-bottom{background:#f8faf4;padding:16px 22px;min-height:82px}.instant-stage .copy-button{min-width:150px!important;min-height:48px;font-size:16px!important}.instant-stage .card-head{min-height:59px}.instant-stage .card-head .ready{display:flex;align-items:center;gap:8px;font-size:14px;color:#416536}.ready .icon{width:17px;height:17px}.instant-stage .under-card{justify-content:center;font-size:12px;padding-top:18px}.instant-stage .original-drawer{padding:18px 25px;background:#f4f6ef;color:#6a795e;font-size:14px;line-height:1.8;white-space:pre-wrap;border-bottom:1px solid #e0e6d6}.instant-stage .loading-row{font-size:13px}.instant-stage .live-caret:after{content:"";display:inline-block;width:2px;height:17px;vertical-align:middle;background:#6f8d59;margin-left:3px;animation:blink .8s infinite}.instant-stage .skip-detect{font-size:12px;color:#88947d}.instant-bottom-actions{display:flex;align-items:center;justify-content:center;gap:22px;margin:21px 0;color:#708264;font-size:13px}.instant-bottom-actions button{font-size:13px;padding:5px 7px}.instant-bottom-actions a{display:flex;align-items:center;gap:6px;font-size:13px}.instant-bottom-actions .icon{width:15px;height:15px}.shortcut-hint{color:#8b9782;font-size:11px;white-space:nowrap}.paste-error{font-size:12px;color:#9a6438;margin:10px 24px}.read-only-custom{font-size:13px;color:#817454;margin:0 25px 14px}.first-free{font-size:12px;color:#6e8062}.check-small{display:inline-flex;align-items:center;gap:6px}.check-small svg{width:14px;height:14px}.tool-hidden{display:none!important}#toast{position:fixed;left:50%;bottom:83px;transform:translate(-50%,8px);background:#2d4435;color:#fff;padding:11px 18px;border-radius:9px;font-size:13px;box-shadow:0 5px 16px #1b311f20;z-index:50;opacity:0;pointer-events:none;max-width:calc(100vw - 40px);transition:opacity .18s,transform .18s}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #d3ddca;border-radius:13px;padding:28px 30px;width:min(540px,calc(100vw - 32px));max-height:85dvh;overflow:auto;color:#33472e;box-shadow:0 20px 80px #142a2940}dialog::backdrop{background:#15201560;backdrop-filter:blur(3px)}dialog h2{font-size:24px;font-weight:550;letter-spacing:-.4px;margin:6px 20px 20px 0}dialog p,dialog li{font-size:14px;line-height:1.7;color:#63725c}dialog p{margin:0 0 14px}dialog ul{padding-left:20px}.dialog-close{position:absolute;right:11px;top:10px;font-size:25px;padding:3px 9px}dialog code{font-size:12px;background:#edf2e7;padding:2px 4px;border-radius:4px}.sample-picker{display:flex;gap:8px;margin:15px 0}.sample-picker button{border:1px solid #ccd7c4;font-size:14px}.sample-picker .selected{background:#eaf0e3}.preview-example-note{color:#87927d;font-size:12px;line-height:1.6}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes progress{0%{transform:translateX(-105%)}100%{transform:translateX(390%)}}@keyframes pulse{50%{opacity:.35}}@keyframes blink{50%{opacity:0}}@keyframes reveal{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}.result-reveal{animation:reveal .25s ease-out}
@media(min-width:1500px){#app{padding-top:55px}.hero{margin-bottom:37px}.hero h1{font-size:46px}body[data-view=instant] #app{padding-top:70px}body[data-view=instant] .hero h1{font-size:44px}}
@media(max-height:850px) and (min-width:800px){.site-header{height:76px}#app{padding-top:20px;padding-bottom:42px}.hero{margin-bottom:27px}.hero h1{font-size:38px}.writing{height:215px}.result-text{min-height:215px}.working-overlay{min-height:215px}.split-pane .writing,.split-pane .result-text,.split-pane .empty-output,.split-pane .working-overlay{height:255px;min-height:255px}.site-footer{padding-top:20px;padding-bottom:80px}body[data-view=instant] #app{padding-top:33px}body[data-view=instant] .hero h1{font-size:38px}.instant-stage .writing{height:218px}}
@media(max-width:900px){.preview-bar{gap:12px;padding:8px 16px}.preview-title{display:none}.preview-variants a{font-size:11px;padding:6px 9px}.preview-notes{padding:10px 18px;gap:13px}.preview-notes>div:first-child{display:block}.preview-notes strong{display:block;margin-bottom:2px}.preview-notes span{font-size:10px}.preview-measure{gap:12px}.site-header{padding:0 28px}.split-pane .input-meta [data-upload]{display:none}}
@media(max-width:700px){.preview-bar{flex-wrap:wrap;gap:7px;padding:8px 12px}.preview-variants{flex:1;justify-content:center}.preview-state{margin-left:0;justify-content:center;width:100%;border-top:1px solid #d5dfce;padding-top:6px}.preview-state select{padding-block:4px}.preview-state button{padding-block:4px}.site-header{height:73px;padding:0 20px}.site-header nav{gap:17px;font-size:13px}.site-header .signin{padding:7px 10px}.pricing-link{display:none}#app{padding:23px 15px 43px}.hero{margin-bottom:27px}.hero h1{font-size:34px;letter-spacing:-1.1px;line-height:1.18}.hero p{font-size:14px;max-width:320px;margin:auto}.card-head{padding:10px 16px;min-height:50px}.writing{padding:20px;height:260px;line-height:1.8;font-size:16px}.writing::placeholder{font-size:15px}.card-bottom{padding:13px 14px;gap:10px;min-height:74px}.input-meta{gap:10px;font-size:11px}.input-meta [data-upload]{display:none}.action-group{gap:6px}.action-group button{padding:10px 12px;font-size:13px}.action-group .primary{min-width:96px}.result-text{padding:22px 20px;min-height:235px;font-size:16px;line-height:1.8}.result-bottom{padding:14px 16px;flex-wrap:wrap;gap:15px}.score{font-size:11px}.score strong{font-size:13px}.score-circle{width:21px;height:21px}.result-bottom .secondary-actions{margin-left:auto}.result-bottom .secondary-actions>button:not(.primary){font-size:12px;padding-inline:8px}.copy-button{min-width:98px!important}.under-card{font-size:11px;padding:14px 1px}.under-card button{font-size:11px}.support-row{gap:20px;font-size:11px;margin-top:10px}.site-footer{width:calc(100% - 40px);padding-top:18px;padding-bottom:106px;font-size:11px;gap:14px}.site-footer>span{display:none}.site-footer div{margin:auto;gap:22px}.preview-notes{padding:10px 14px;min-height:73px}.preview-notes>div:first-child{max-width:calc(100% - 120px)}.preview-notes strong{font-size:11px}.preview-assumption{max-width:200px}.preview-measure{flex-direction:column;gap:3px;font-size:10px;margin-left:auto}.preview-notes>button{width:18px;height:18px;font-size:11px}.compare-grid{grid-template-columns:1fr}.compare-pane+.compare-pane{border-left:0;border-top:1px solid #dce4d5}.compare-pane .result-text{min-height:0;padding-bottom:24px}.result-top-actions button{font-size:11px;padding:6px}.tab-switch button{font-size:12px;padding:6px 8px}.mobile-result-tabs{display:flex;gap:5px;margin:0 0 12px;justify-content:center}.mobile-result-tabs button{font-size:13px;padding:7px 16px;color:#6d7d61;border:1px solid transparent}.mobile-result-tabs .active{border-color:#ccd7c4;background:#fff;color:#31543f}.split-grid{display:block}.split-pane.output-pane{border-left:0;border-top:1px solid #d7ded3}.split-stage:not(.has-result) .output-pane{display:none}.split-stage.has-result .split-pane{display:none}.split-stage.has-result[data-mobile-pane=input] .input-pane{display:flex}.split-stage.has-result[data-mobile-pane=output] .output-pane{display:flex;border-top:0}.split-pane .writing,.split-pane .result-text{height:300px;min-height:300px;font-size:16px;padding:22px}.split-pane .working-overlay{height:300px;min-height:300px}.split-pane .card-bottom{padding:13px 15px}.split-pane .card-bottom .action-group button{padding:10px 15px}.split-pane .card-bottom .input-meta{font-size:11px}.split-stage.is-working .input-pane{display:none}.split-stage.is-working .output-pane{display:flex;border-top:0}.split-stage.is-working .mobile-result-tabs{display:none}body[data-view=instant] #app{padding-top:35px}.instant-hero h1,body[data-view=instant] .hero h1{font-size:33px}.instant-stage .writing{height:252px;padding:22px;font-size:16px}.instant-stage .paste-center button{font-size:15px;padding:12px 17px}.instant-input-foot{padding:11px 18px 15px}.instant-stage .result-text{font-size:17px;min-height:245px;line-height:1.9}.instant-stage .result-bottom{padding:16px 18px;flex-wrap:nowrap}.instant-stage .copy-button{min-width:123px!important;min-height:48px}.instant-stage .card-head{padding-inline:18px}.instant-stage .card-head .ready{font-size:13px}.instant-bottom-actions{gap:22px;margin-top:18px}.instant-bottom-actions button,.instant-bottom-actions a{font-size:12px}.instant-stage .under-card{padding-top:16px}.shortcut-hint{display:none}.instant-stage .original-drawer{padding:19px 21px}.score-detail{padding:16px}.error{font-size:12px}.working-overlay{min-height:260px}#toast{bottom:98px}.read-only-custom{margin-inline:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* One detector region expands above the editor and stays mounted during updates. */
.error:empty{display:none}
.result-tools{display:flex;align-items:center;gap:8px}
.result-tools .outline,.result-bottom>.outline{font-size:13px;padding:9px 12px}
.ready [data-rewrite-message]{white-space:normal;line-height:1.4}
#detector-mount{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .36s cubic-bezier(.22,1,.36,1),opacity .24s ease;overflow-anchor:none}
#detector-mount[data-open=true]{grid-template-rows:1fr;opacity:1}
.detector-reveal{min-height:0;overflow:hidden}
.detector-strip{margin:0 0 14px;border:1px solid #d7dfd1;border-radius:10px;background:#fff;overflow:hidden}
.detector-heading{height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px 4px}
.detector-title{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#52654d}
.detector-title .spinner{width:12px;height:12px;border-width:1.5px}
.detector-autolabel{font-size:11px;color:#8b9783}
.detector-switch{display:flex;gap:2px;padding:2px;border-radius:6px;background:#f3f6ef}
.detector-switch button{padding:3px 8px;font-size:11px;color:#87937e;border-radius:4px}
.detector-switch button[aria-pressed=true]{background:white;color:#3e5d36;box-shadow:0 1px 3px #24432c0c}
.detector-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:5px 8px 0}
.detector-tile{padding:4px 12px 10px;min-width:0;position:relative}
.detector-tile+.detector-tile{border-left:1px solid #edf0e8}
.detector-brand{height:26px;display:flex;align-items:center;gap:5px;color:#59674f;font-size:10px;font-weight:500;white-space:nowrap}
.detector-brand img{width:18px;height:18px;object-fit:contain;flex:none}
.detector-brand img.desklib-icon{width:58px;max-width:100%;height:21px;object-fit:contain;object-position:left center}
.detector-unslop{font-family:Helvetica,Arial,sans-serif;font-weight:800;font-size:18px;letter-spacing:-1px;color:#2d4032}
.detector-unslop span{color:#93ad7c}
.detector-reading{display:flex;align-items:baseline;gap:6px;height:34px;white-space:nowrap;font-variant-numeric:tabular-nums}
.detector-value{display:block;font-size:23px;line-height:1.3;font-weight:550;letter-spacing:-.65px;color:#426d50;margin:2px 0 1px}
.detector-tile[data-band=high] .detector-value{color:#b34d44}
.detector-tile[data-band=mixed] .detector-value{color:#95803e}
.detector-tile[data-band=unknown] .detector-value{color:#a5b09e}
.detector-before{display:block;height:15px;font-size:10px;color:#8e9986;line-height:1.4;font-variant-numeric:tabular-nums}
.detector-change{font-size:12px;font-weight:600;letter-spacing:-.2px;color:#7a8775}
.detector-change[data-direction=down]{color:#3b8256}
.detector-change[data-direction=up]{color:#b34d44}
.detector-bar{height:3px;margin-top:5px;border-radius:2px;background:#edf2e8;overflow:hidden}
.detector-bar i{display:block;height:100%;background:#789a66;border-radius:2px;transition:width .35s ease}
.detector-tile[data-band=high] .detector-bar i{background:#c3756b}
.detector-tile[data-band=mixed] .detector-bar i{background:#b39d5f}
/* The rewrite keeps its actual score, but the change is the visual emphasis. */
.detector-strip[data-target=result] .detector-value{color:#344f3d;font-size:21px}
.detector-strip[data-target=result] .detector-tile[data-band=unknown] .detector-value{color:#a5b09e}
.detector-strip[data-target=result] .detector-bar{visibility:hidden}
.detector-caption{padding:4px 16px 10px;color:#89967e;font-size:11px;display:flex;justify-content:space-between;align-items:center;gap:10px;height:34px;line-height:1.4}
.detector-caption button{padding:3px 6px;font-size:11px;color:#426c3c;background:#eef3e8}
.is-checking{animation:pulse 1.3s ease-in-out infinite}
.detector-strip[data-status=changed] .detector-autolabel,.detector-strip[data-status=error] .detector-autolabel,.detector-strip[data-status=ineligible] .detector-autolabel{visibility:hidden}

/* Input, progress, draft, result and comparison share an identical frame. */
.stage{--editor-body-height:250px;--editor-head-height:54px;--editor-foot-height:78px;overflow-anchor:none}
.editor-card{height:calc(var(--editor-head-height) + var(--editor-body-height) + var(--editor-foot-height) + 2px);display:flex;flex-direction:column}
.editor-card .card-head{height:var(--editor-head-height);min-height:var(--editor-head-height);max-height:var(--editor-head-height);flex:none;padding-block:8px}
.editor-card .writing,.editor-card .result-text,.editor-card .working-overlay,.editor-card .empty-output,.editor-card .compare-grid,.editor-card .instant-content{height:var(--editor-body-height);min-height:var(--editor-body-height);max-height:var(--editor-body-height);flex:none;overflow:auto}
.editor-card .writing,.editor-card .result-text{padding:22px 25px;font-size:16px;line-height:1.85;scrollbar-gutter:stable;scrollbar-color:#c8d3c2 transparent}
.editor-card .card-bottom,.editor-card .result-bottom{height:var(--editor-foot-height);min-height:var(--editor-foot-height);max-height:var(--editor-foot-height);flex:none;flex-wrap:nowrap;padding:12px 20px}
.editor-card .writing-wrap{flex:none}
.editor-card .split-grid{height:100%;min-height:0;flex:1}
.editor-card .split-pane{min-height:0}
.editor-card .compare-grid{overflow:hidden}
.editor-card .compare-pane{height:100%;min-height:0;overflow:auto;scrollbar-gutter:stable}
.editor-card .compare-pane h3{margin-top:15px}
.editor-card .compare-pane .result-text{height:auto;min-height:0;max-height:none;padding-top:12px;overflow:visible}
.editor-card .instant-content{display:flex;flex-direction:column;overflow:hidden}
.editor-card .instant-content .result-text{height:auto;min-height:0;max-height:none;flex:1}
.editor-card .instant-content .original-drawer{height:50%;min-height:0;flex:none;overflow:auto;padding:15px 25px}
@keyframes content-reveal{from{opacity:.35}to{opacity:1}}
.editor-card .result-text{animation:content-reveal .24s ease-out}
.editor-card .copy-button{min-height:44px;font-size:14px!important}
@media(min-width:701px){
 .site-header{height:72px}
 #app,body[data-view=split] #app,body[data-view=instant] #app{padding-top:20px;padding-bottom:36px}
 .hero,.instant-hero{margin-bottom:24px}
 .hero h1,.instant-hero h1,body[data-view=instant] .hero h1{font-size:38px}
 .under-card{padding-block:12px}
 .support-row{margin-top:7px}
}
@media(min-width:701px) and (max-height:850px){.stage{--editor-body-height:220px}}
@media(min-width:701px) and (max-width:1050px){
 .detector-tile{padding-inline:8px}
 .detector-brand{font-size:9px;gap:4px}
 .detector-brand img{width:16px;height:16px}
 .detector-reading{gap:4px}
 .detector-value{font-size:22px}
 .detector-strip[data-target=result] .detector-value{font-size:19px}
 .detector-change{font-size:11px}
}
@media(max-width:700px){
 .stage{--editor-body-height:270px;--editor-head-height:54px;--editor-foot-height:74px}
 .detector-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:2px 6px;row-gap:7px}
 .detector-tile{padding:3px 8px 6px}
 .detector-tile:nth-child(4){border-left:0}
 .detector-tile:nth-child(n+4){border-top:1px solid #edf0e8;padding-top:8px}
 .detector-brand{font-size:9px;gap:4px}
 .detector-brand img{width:16px;height:16px}
 .detector-heading{padding:8px 12px 4px;height:40px}
 .detector-title{font-size:11px}
 .detector-autolabel{font-size:10px}
 .detector-switch button{font-size:10px;padding:3px 6px}
 .detector-reading{gap:4px;height:30px}
 .detector-value{font-size:22px}
 .detector-strip[data-target=result] .detector-value{font-size:18px;letter-spacing:-.6px}
 .detector-change{font-size:11px;letter-spacing:-.3px}
 .detector-before{font-size:9px;height:13px}
 .detector-caption{padding:4px 12px 8px;font-size:10px;height:38px}
 .editor-card .writing,.editor-card .result-text{padding:20px;font-size:16px}
 .editor-card .card-bottom,.editor-card .result-bottom{padding:12px 14px}
 .result-tools{gap:5px}
 .result-tools .outline,.result-bottom>.outline{font-size:12px}
 .editor-card .working-overlay{padding-inline:18px}
 .loading-row{font-size:13px;text-align:center}
 .editor-card .compare-grid{grid-template-columns:1fr;grid-template-rows:1fr 1fr}
 .instant-stage .under-card{justify-content:space-between}
 .instant-stage .card-head .ready{font-size:12px;min-width:0}
 .instant-stage .card-head>button{font-size:12px;padding-inline:8px}
}
@media(max-width:365px){
 .detector-tile{padding-inline:5px}
 .detector-brand{font-size:8px;gap:3px}
 .detector-strip[data-target=result] .detector-value{font-size:16px}
 .detector-change{font-size:10px}
}
@media(prefers-reduced-motion:reduce){#detector-mount{transition:none}.editor-card .result-text{animation:none}}

.workspace-invite{display:flex;align-items:center;gap:12px;margin-top:17px;padding:15px 4px;border-top:1px solid #dfe6d8;color:#75856b;font-size:13px;line-height:1.55}.workspace-invite-icon{display:flex;align-items:center;flex:none;color:#8c9d80}.workspace-invite-icon .icon{width:19px;height:19px}.workspace-invite p{flex:1;margin:0;max-width:440px}.workspace-invite-cta{font-size:13px;font-weight:600;color:#42613a;padding:7px 10px;margin-left:auto;gap:9px;background:transparent}.workspace-invite-cta:hover:not(:disabled){background:#eaf0e3}.workspace-invite-cta span{font-size:17px;font-weight:400;line-height:1}.workspace-invite-dismiss{width:30px;height:30px;flex:none;padding:0;font-size:21px;font-weight:300;color:#9ca792;border-radius:5px}.workspace-invite-dismiss:hover{background:#eaf0e3;color:#607153}
@media(max-width:700px){.workspace-invite{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr);gap:4px 10px;align-items:start;margin-top:13px;padding:16px 30px 6px 2px;font-size:13px}.workspace-invite-icon{padding-top:2px}.workspace-invite p{max-width:none}.workspace-invite-cta{grid-column:2;justify-self:start;margin:0 0 0 -7px;padding:5px 7px;font-size:13px}.workspace-invite-dismiss{position:absolute;right:-3px;top:10px}}

.site-header{padding-top:24px}.site-header button{font:inherit;cursor:pointer}.site-header nav button:not(.primary){border:0;background:none;color:inherit;padding:5px}.site-header .primary{padding:9px 16px}.site-footer{padding-bottom:38px}#app{min-height:calc(100dvh - 230px)}.hero{padding-top:28px} @media(max-width:600px){.site-header{padding:18px 16px}.site-header nav{gap:14px}.site-header nav [data-register]{display:none}.site-header .unslop-wordmark{font-size:27px}.hero{padding-top:16px}.hero h1{font-size:34px}#app{padding-bottom:10px}}

/* Keep the empty editor focused on paste and its example. */
.paste-center{flex-direction:column;gap:8px}
.paste-center button.paste-example{border:0;background:none;padding:5px 8px;font-size:12px;font-weight:400;color:#6f8065;text-decoration:underline;text-underline-offset:3px}
.paste-center button.paste-example:hover{background:none;color:#31543f}
.error:empty{display:none}
.under-card{justify-content:flex-end}
#workspace-invite-mount:empty{display:none}

.rewrite-error{padding:24px;text-align:center;color:#915341;gap:16px}
.rewrite-error p{max-width:320px;font-size:14px;line-height:1.7}
.rewrite-error button{font-size:13px}
