@font-face{font-family:system-local;src:local('Segoe UI')}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7f6f2;color:#202c29;font-family:system-local,system-ui,sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-underline-offset:4px}button,input,textarea{font:inherit}button,a,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}:focus-visible{outline:3px solid #a25422;outline-offset:4px}.skip{position:absolute;left:16px;top:-100px;background:#fff;padding:10px;z-index:99}.skip:focus{top:8px}.wrap{width:min(1120px,calc(100% - 48px));margin:auto}header{border-bottom:1px solid #dbdfd6;background:#f7f6f2}header .wrap{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;font-weight:750;letter-spacing:-1px;font-size:25px;display:flex;align-items:center;gap:10px}.brand-mark{width:34px;height:34px;display:grid;place-items:center;color:#fff;background:#244d3e;border-radius:10px;font-family:Georgia,serif;font-style:italic;font-size:26px}nav{display:flex;gap:24px;font-size:14px}nav a{text-decoration:none;color:#47564f}nav a[aria-current]{color:#254e3e;font-weight:700;border-bottom:2px solid #254e3e}.hero{padding:56px 0 30px;display:flex;align-items:center;justify-content:space-between;gap:32px}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:2px;color:#516c5a;font-weight:700;margin:0 0 15px}h1{font-size:clamp(34px,4.5vw,55px);line-height:1.12;letter-spacing:-2px;max-width:780px;margin:0 0 20px;font-weight:650}.intro{max-width:650px;color:#526059;margin:0}.hero-swatch{width:150px;height:150px;flex-shrink:0;background:#e5eadc;border:1px solid #d8dfcb;border-radius:38px;display:grid;place-items:center;font-size:77px;font-family:Georgia,serif;color:#315740;transform:rotate(-7deg);box-shadow:8px 9px 0 #ecede4}.workspace{padding-bottom:48px}.input-panel{border:1px solid #cad5c6;border-radius:18px;background:#fff;padding:24px;box-shadow:0 6px 25px #25382c05}.input-head,.input-foot,.section-head,.card-head,.card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.input-head{margin-bottom:12px}.input-head label{font-weight:700}.muted{color:#58645c;font-size:13px}.text-action{border:0;background:transparent;color:#335942;padding:4px;text-decoration:underline;text-underline-offset:3px}textarea{display:block;width:100%;min-height:112px;resize:vertical;padding:14px 16px;background:#f8f9f5;border:1px solid #d5ddcf;border-radius:10px;color:#25382c;font-size:21px;line-height:1.65}#input-note{margin:12px 0 0}.input-foot{margin-top:10px}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 18px}.chip{border:1px solid #cbd4c5;border-radius:30px;padding:8px 16px;color:#3b5142;background:transparent;font-size:14px}.chip[aria-pressed=true]{background:#244d3e;border-color:#244d3e;color:white}.section-head{margin:24px 0 14px}.section-head h2{font-size:22px;letter-spacing:-.5px;margin:0}.section-head p{margin:0;font-size:13px;color:#58645c}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.card{min-width:0;border:1px solid #d4dccf;border-radius:14px;padding:20px 22px;background:#fff;display:flex;flex-direction:column;gap:16px}.card:has(.compare-check:checked){border-color:#315d44;box-shadow:inset 0 0 0 1px #315d44}.card-head h3{font-size:13px;font-weight:650;margin:0;color:#526452}.star{font-size:21px;border:0;background:transparent;color:#526452;min-width:40px;min-height:40px;border-radius:8px}.star[aria-pressed=true]{color:#865013;background:#f6ecd8}.result{font-size:27px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;min-height:54px;max-height:240px;overflow:auto;color:#1c3023}.card-actions{margin-top:auto}.compare-label{font-size:12px;display:flex;align-items:center;gap:8px;color:#4e5f52;cursor:pointer}.compare-check{accent-color:#254e3e;width:17px;height:17px}.copy{border:1px solid #315c44;background:#edf2e9;color:#254e3e;border-radius:8px;padding:8px 18px;font-size:13px;font-weight:650;min-height:40px}.copy:hover{background:#dce8d4}.copy.copied{background:#244d3e;color:#fff}.empty{padding:32px;background:#fff;border:1px dashed #bdcab8;border-radius:12px;color:#526452}.compare-panel{background:#e8eee0;border:1px solid #c7d3bd;border-radius:16px;padding:20px;margin:18px 0}.compare-panel[hidden]{display:none}.compare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.compare-item{min-width:0;background:#fff;border-radius:10px;padding:16px}.compare-item h3{font-size:12px;color:#526452;margin:0 0 8px}.compare-item .result{font-size:22px;max-height:200px}.compare-item .copy{margin-top:12px}#status{min-height:24px;font-size:13px;color:#315741;margin:12px 0}.note{border-left:3px solid #bac9ab;padding:2px 0 2px 16px;font-size:13px;max-width:850px;color:#526452}.editorial{border-top:1px solid #d4dccf;padding:45px 0 64px;display:grid;grid-template-columns:1fr 1fr;gap:48px}.editorial h2{font-size:23px;line-height:1.3;margin:0 0 15px;letter-spacing:-.5px}.editorial p,.editorial li{font-size:14px;color:#526059}.editorial ol{padding-left:20px}.editorial details{border-bottom:1px solid #d7ded0;padding:13px 0}.editorial summary{font-size:14px;font-weight:650;cursor:pointer}.alphabet{font-size:22px!important;overflow-wrap:anywhere;line-height:2}.article{padding:55px 0 70px;max-width:760px}.article h1{font-size:40px}.article h2{font-size:22px;margin-top:28px}.article p{color:#526059}.clear-data{background:#244d3e;color:#fff;padding:10px 16px;border:0;border-radius:8px}footer{border-top:1px solid #d4dccf;padding:25px 0 35px;font-size:12px;color:#526059}footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}footer a{margin-right:18px}noscript p{background:#fff0d6;padding:20px}#manual-copy{background:#fff4dc;border-radius:10px;padding:18px;margin-top:12px}#manual-copy[hidden]{display:none}#manual-text{min-height:90px;font-size:18px}.guide-label{font-size:12px;font-weight:700;color:#7b582c}#compare-note{font-size:12px;color:#40543d}.site-mark{font-family:Georgia,serif;font-style:italic;font-size:18px}body.cursive .hero-swatch{background:#f0e4cd;border-color:#e2d1b4;box-shadow:8px 9px 0 #eee9de;color:#73582f}
@media(max-width:700px){.wrap{width:calc(100% - 32px)}header .wrap{min-height:78px;gap:10px;flex-wrap:wrap;padding:15px 0}.brand{font-size:23px}nav{gap:16px;font-size:13px}.hero{padding:34px 0 25px;gap:12px}.hero-swatch{width:70px;height:84px;font-size:43px;border-radius:20px;align-self:flex-start;margin-top:25px}h1{letter-spacing:-1.3px;font-size:35px}.intro{font-size:14px}.input-panel{padding:18px}textarea{font-size:18px}.input-foot{align-items:flex-start}.input-foot .muted{max-width:80%}.grid{grid-template-columns:1fr}.card{padding:17px 19px}.result{font-size:25px}.compare-grid{grid-template-columns:1fr}.editorial{grid-template-columns:1fr;gap:28px;padding-top:30px}.section-head{align-items:flex-start}.section-head p{max-width:130px;text-align:right}.hero-swatch{display:none}.chip{padding:8px 12px}.article h1{font-size:34px}}
.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}
#input-count{flex-shrink:0;white-space:nowrap}
.input-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 14px;font-size:13px}
@media(min-width:701px){header .wrap{min-height:72px}.hero{padding:24px 0 18px}h1{font-size:42px;margin-bottom:12px;letter-spacing:-1.5px}.eyebrow{margin-bottom:10px}.intro{font-size:15px;max-width:780px}.hero-swatch{width:96px;height:96px;border-radius:25px;font-size:58px}.input-panel{padding:20px}textarea{min-height:90px;font-size:18px;line-height:1.6}.input-head{margin-bottom:8px}.chips{margin:18px 0 10px}.section-head{margin:16px 0 10px}#compare-note{margin:8px 0}#status{min-height:20px;margin:8px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.languages{gap:12px;flex-wrap:wrap}
.languages a{display:inline-flex;align-items:center;min-height:36px}
@media(max-width:700px){
  .home header .wrap{min-height:0;padding:8px 0;gap:5px}
  header .wrap .languages{flex-basis:100%;gap:16px}
}

#line-example{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:650;text-align:start}
#line-example[hidden]{visibility:hidden}
.examples{border-top:1px solid #d4dccf;padding:32px 0;scroll-margin-top:16px}
.examples h2{font-size:23px;line-height:1.3;letter-spacing:-.5px;margin:0 0 16px}
.examples-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.example-card{min-width:0;background:#fff;border:1px solid #d4dccf;border-radius:14px;padding:16px;display:flex;flex-direction:column}
.example-card h3{margin:0;font-size:16px;line-height:1.4}
.example-card dl{margin:12px 0 0}
.example-card dt{font-size:13px;color:#526059}
.example-card dd{margin:0 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}
.example-output{font-size:20px;color:#1c3023}
.example-card p{margin:0 0 8px;color:#526059;font-size:14px}
.example-card .text-action{align-self:flex-start;margin-top:auto;min-height:40px;font-size:14px}
@media(max-width:700px){.examples-grid{grid-template-columns:1fr}}

.line-composer{margin-top:12px;border:1px solid #cbd4c5;border-radius:12px;padding:10px 14px;background:#fbfcf8}
.line-composer summary{font-size:14px;color:#254e3e;font-weight:650;cursor:pointer}
.line-composer p,.line-composer .line-choice{font-size:14px}
.line-choice{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,210px);align-items:center;gap:8px;border-top:1px solid #d7ded0;padding:8px 0}
.line-choice label{font-weight:650}
.line-source{overflow-wrap:anywhere;white-space:pre-wrap;min-width:0}
.line-choice select{max-width:100%;min-width:0;padding:6px;border:1px solid #c7d3bd;border-radius:6px;color:#25382c;background:white;font:inherit}
#line-note:empty{margin:0}
#line-preview-area{border-top:1px solid #d7ded0;margin-top:8px}
#line-preview-title{font-size:16px;margin:12px 0 4px}
#line-preview{font-size:20px;min-height:0}
.line-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.paste-check{margin:0 0 16px;padding:10px 14px;border:1px solid #cbd4c5;border-radius:12px;background:#fbfcf8;font-size:14px}
.paste-check summary{color:#254e3e;font-weight:650;cursor:pointer}
.paste-check label{font-weight:650}
.paste-check textarea{margin:6px 0 10px}
#paste-check-reference{margin:8px 0;color:#254e3e;font-weight:700}
#paste-check-result{margin:8px 0 0;font-weight:650}
#paste-check-result:empty{margin:0}
.paste-difference{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 0}
.paste-difference[hidden]{display:none}
.paste-difference>div{background:#fff;border:1px solid #d5ddcf;border-radius:8px;padding:8px 10px;min-width:0}
.paste-difference dt{font-weight:650}
.paste-difference dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0 0}
.line-actions [data-open-paste-check]{min-height:40px}
.input-extras,.library-tools{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:flex-start}
.input-extras{justify-content:space-between;margin-top:10px;font-size:14px}
.input-extras[hidden],.library-tools[hidden]{display:none}
.input-extras summary{color:#254e3e;cursor:pointer;min-height:36px}
.input-extras p{margin:0 0 6px}
.input-extras .text-action{min-height:36px}
.input-tools{display:flex;flex-wrap:wrap;gap:6px}
.input-tools p{flex-basis:100%;margin:0}
#selection-mode[aria-pressed=true]{background:#dcebdc;color:#1d4d33}
.symbol-buttons{display:flex;flex-wrap:wrap;gap:6px}
.symbol-buttons .chip{width:42px;min-height:40px;padding:0}
.library-tools{align-items:end;margin-top:16px;font-size:14px}
.library-tools>div{flex:1 1 230px;max-width:360px}
.library-tools label{display:block;color:#254e3e;font-weight:650}
.library-tools input[type=search]{width:100%;min-height:40px;padding:7px 10px;background:#fff;color:#202c29;border:1px solid #cbd4c5;border-radius:8px}
.preview-range{display:flex;align-items:center;gap:8px;min-height:40px}
.preview-range input{accent-color:#254e3e;width:100%;min-width:0;margin:0;min-height:36px}
.preview-range span{flex:none;font-variant-numeric:tabular-nums}
#results .empty p{margin:0}
#search-all-styles{margin-top:6px}
.line-apply{align-self:flex-start;min-height:36px;margin-top:-8px;font-size:13px;text-align:start}
.workspace #results .result{font-size:calc(27px + var(--preview-offset, 0px))}
.workspace .compare-item .result{font-size:calc(22px + var(--preview-offset, 0px))}
.workspace #line-preview{font-size:calc(20px + var(--preview-offset, 0px))}
@media(max-width:500px){.paste-difference{grid-template-columns:1fr}}
@media(max-width:500px){.line-choice{grid-template-columns:auto minmax(0,1fr)}.line-choice select{grid-column:2;justify-self:start}}

.featured-styles{margin:16px 0}
.featured-head,.featured-links{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px}
.featured-head{justify-content:space-between;margin-bottom:6px}
.featured-styles h2{margin:0;font-size:17px;line-height:1.35;color:#254e3e}
#featured-toggle{min-height:44px;font-size:13px;font-weight:650;text-align:end}
#featured-toggle[hidden]{display:block;visibility:hidden}
.browse-styles{display:inline-flex;align-items:center;gap:4px;min-height:44px;color:#254e3e;font-size:13px;font-weight:650;text-underline-offset:3px}
.home #results-title{scroll-margin-top:14px}
.home .style-finder{margin-top:0}
#style-finder[hidden]{display:flex;visibility:hidden}
.style-finder>div{max-width:420px}
.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.featured-card{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 10px;padding:12px 14px;border:1px solid #d4dccf;border-inline-start:3px solid #bac9ab;border-radius:12px;background:#fff}
.featured-card h3{grid-area:1/1;margin:0;color:#526452;font-size:13px;line-height:1.25}
.featured-card .result{grid-area:2/1;min-height:0;max-height:4lh;font-size:clamp(20px,2vw,25px);line-height:1.35}
.featured-head:has(#featured-toggle:not([hidden]))+.featured-grid:not(.is-expanded) .result{overflow:hidden}
.featured-card .copy{grid-area:1/2/span 2;min-width:72px;min-height:44px;padding:7px 10px}
.featured-grid.is-expanded{align-items:start}
.featured-grid.is-expanded .result{grid-column:1/-1;max-height:none;overflow:visible}
.featured-grid.is-expanded .copy{grid-row:1}
.startup-controls{position:relative}
.workspace>.line-composer{margin-top:8px;padding:0 14px;background:#e8eee0}
.workspace>.line-composer>summary{min-height:44px;padding:10px 0;font-size:15px}
.workspace>.line-composer[open]{padding-bottom:12px}
.workspace>.line-composer[hidden]{display:block;visibility:hidden}
.workspace>.line-composer>summary+p{margin:3px 0 8px}
.keyboard-tools{position:fixed;z-index:10;inset-inline:0;bottom:0;padding:4px 8px 6px;background:#f7f6f2;border-top:1px solid #cbd4c5;box-shadow:0 -2px 8px #25382c1a}
.keyboard-tools[hidden]{display:none}
.keyboard-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px;align-items:end;max-width:510px;margin:auto}
.keyboard-copy{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 4px}
#keyboard-copy-status{grid-column:1/-1;color:#335942;font-size:11px;line-height:1.25}
.keyboard-actions .copy{min-height:44px;min-width:0;padding:4px;font-size:12px;line-height:1.15;overflow-wrap:anywhere}
#keyboard-lines{background:#244d3e;color:#fff;padding-inline:8px}
.startup-controls>details[hidden]{display:block;visibility:hidden}
.startup-controls>#tool-fallback{position:absolute;inset:4px 0 auto;margin:0}
.workspace:has(#tool-fallback:not([hidden])) .line-apply{visibility:hidden}
.advanced-controls{margin:12px 0;padding:0 14px;border:1px solid #cbd4c5;border-radius:12px;background:#fbfcf8}
.advanced-controls summary{cursor:pointer;color:#254e3e;font-weight:650}
.advanced-controls>summary{padding:10px 0}
.advanced-controls[open]{padding-bottom:14px}
.advanced-controls #input-note{margin-top:0}
@media(min-width:701px){.home #text{min-height:calc(4lh + 30px)}}
@media(max-width:700px){
  .home header .brand{font-size:20px;gap:6px}
  .home header .brand-mark{width:30px;height:30px}
  .home header .wrap>nav:not(.languages){gap:10px;font-size:12px}
  .home header .wrap>nav:not(.languages) a{display:inline-flex;align-items:center;min-height:32px}
  .home .hero{padding:8px 0 9px}
  .home .hero>div:first-child{display:grid;width:100%;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px}
  .home .eyebrow{grid-area:1/1;margin:0}
  .home .hero h1{grid-column:1/-1;font-size:clamp(27px,7.7vw,32px);margin:0}
  .home .hero .intro{grid-column:1/-1;margin:3px 0 0;font-size:13px;line-height:1.4}
  .home #line-example{grid-area:1/2;font-size:13px}
  .home .input-panel{padding:12px}
  .home .input-head{margin-bottom:6px}
  .home #text{min-height:calc(5lh + 18px);padding:8px 10px;line-height:1.4}
  .home .input-foot{margin-top:5px}
  .workspace>.line-composer .line-choice{grid-template-columns:auto minmax(0,1fr) minmax(0,39%);gap:6px;padding:6px 0}
  .workspace>.line-composer .line-choice select{grid-column:3;justify-self:stretch;min-height:38px}
  .featured-styles{margin:9px 0 7px}
  .featured-head,.featured-links{column-gap:6px}
  .featured-styles h2{font-size:16px}
  #featured-toggle,.browse-styles{font-size:12px}
  .featured-grid{grid-template-columns:1fr;gap:6px}
  .featured-card{gap:3px 8px;padding:6px 9px}
  .featured-card .result{max-height:1lh}
}
@media(max-width:375px){
  .featured-styles h2{font-size:14px}
  .featured-head,.featured-links{column-gap:4px}
  .featured-card{padding-block:4px}
}

/* Keep the cursive fallback and ready hint in one stable layout slot. */
.cursive-startup{display:grid;margin:12px 0;font-size:13px;color:#526452}
.cursive-startup>p{grid-area:1/1;margin:0}
.cursive-startup>p[hidden]{display:block;visibility:hidden}
