:root{
  --page:#f5f5f0;--paper:#fff;--ink:#15241c;--green:#145b3e;
  --green-hover:#0b402a;--muted:#58675d;--line:#cbd3c9;--tint:#e6eee2;
}
body{font-size:15px}
a{color:var(--green);text-underline-offset:4px}
button,input,select,summary{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #145b3e;outline-offset:4px}
.site-header{height:76px;max-width:1240px;padding:0 32px;border-bottom:1px solid var(--line)}
.brand{font-size:24px;letter-spacing:-1px;font-weight:750;gap:10px}
.brand-light{font-weight:500}.brand small{display:none}
.brand-mark{border-radius:5px;width:39px;height:42px;font-size:29px}
.site-header nav,.writer-navigation{display:flex;align-items:center;gap:24px}
.site-header nav a,.writer-navigation>a{font-size:13px;font-weight:650;color:var(--ink)}
.guide-button{font-size:13px;color:var(--ink);font-weight:600}
.guide-shortcut{display:none}
.icon-button{width:42px;height:42px;border-radius:5px;color:#425448}
.icon-button:disabled{opacity:.35}
.button{font-size:14px;font-weight:650;border-radius:5px;min-height:44px;padding:11px 18px}
.button-primary{background:var(--green);border-color:var(--green);color:#fff}
.button-secondary{border-color:#aab8a8;background:#fff;color:var(--ink)}
summary{cursor:pointer}
footer{font-size:11px;color:#59685b;margin-top:30px}
dialog{border-radius:8px;background:#fff;border-color:#aab8a8}
dialog h2{font-size:28px;font-weight:700;letter-spacing:-.7px}
dialog p{color:#536354}

.writer-page main{max-width:1176px}
.writer-page .intro{padding:30px 0 23px}
.writer-page h1{font-size:46px;line-height:1.2;font-weight:750;letter-spacing:-1.7px;margin:0 0 9px}
.writer-page h1 [lang=ne]{font-size:43px;font-weight:650}
.writer-page .intro>p{font-size:15px;color:#566254}
.writer-page .workspace{grid-template-columns:minmax(0,1fr);gap:18px}
.writer-page .editor-card{border:1.5px solid #a9b8a4;border-radius:7px;box-shadow:none}
.writer-page .editor-toolbar{height:60px;padding:0 20px;background:#f9faf6;border-bottom-color:#d6ded1}
.writer-page .language-tabs{gap:26px}
.writer-page .language-tab{font-size:15px;font-weight:700;color:#526050}
.writer-page .language-tab.active{color:var(--green)}
.writer-page .language-tab.active:after{height:3px}
.writer-page .phonetic-label{font-size:11px;border:0;color:#506249;background:#e3ebdc;font-weight:550;padding:5px 8px}
.writer-page .writing-area{height:300px}
.writer-page .writing-area textarea{font-size:29px;padding:25px 26px;color:#14281b;line-height:1.85}
.writer-page .writing-area:focus-within{box-shadow:inset 0 0 0 2px #145b3e22}
.writer-page .empty-state{left:27px;top:27px}
.writer-page .nepali-placeholder{font-size:30px;color:#76836f}
.writer-page .empty-state p{font-size:14px;color:#5c6e53}
.writer-page .empty-state p span{color:var(--green);font-weight:700;border-bottom:0}
.writer-page .empty-decoration{display:none}
.writer-page .suggestion-area{min-height:88px;background:#edf2e7;border-top:1px solid #cbd8bf;padding:14px 24px}
.writer-page .suggestion-idle{font-size:14px;color:#4c6541}
.writer-page .suggestion-active{gap:12px}
.writer-page .suggestion-label{font-size:14px;color:#465d3c}
.writer-page .candidate{min-height:48px;padding:8px 13px;border:1px solid #adbfa0;border-radius:5px;background:#fff;color:#21452b;font-size:24px;font-weight:550}
.writer-page .candidate.selected{background:#145b3e;border-color:#145b3e;color:#fff;box-shadow:none}
.writer-page .candidate.selected .candidate-number{color:#d9ecd2}
.writer-page .candidate-number{font-size:11px;color:#5c7850}
.writer-page .candidate-hint{color:#4c6541;font-size:11px}
.writer-page .editor-status{font-size:11px;color:#53634b;padding:11px 22px;border-top-color:#dce3d5}
.writer-page .editor-actions{padding:12px 18px;border-top:1px solid #dce3d5}
.writer-page .history-actions{gap:4px}
.writer-page .sidebar{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.writer-page .help-card{padding:0;border:0;border-radius:0;background:none;display:block}
.writer-page .help-card>summary{display:flex;justify-content:space-between;padding:14px 0;font-size:14px;font-weight:650;border-bottom:1px solid #d4ddce;list-style:none}
.writer-page .help-card>summary::-webkit-details-marker{display:none}
.writer-page .help-card[open]>summary span{transform:rotate(45deg)}
.writer-page .examples{margin-top:10px}
.writer-page .example{padding:8px 3px;font-size:14px}
.writer-page .example [lang=ne]{font-size:20px}
.writer-page .shortcut-row{display:flex;font-size:13px;color:#4c5c45}
.writer-page .all-shortcuts{display:flex;font-size:13px;padding:10px 0}
.writer-page .engine-card{padding:13px 0 0;display:grid;grid-template-columns:1fr auto;gap:7px 15px;align-items:center}
.writer-page .learning-heading{grid-column:1/-1;justify-content:space-between}
.writer-page .learning-heading label{font-size:14px;font-weight:650;color:#304b32}
.writer-page .learning-heading input{width:36px;height:22px;background:#a7b69c}
.writer-page .learning-heading input:before{width:16px;height:16px;top:3px;left:3px}
.writer-page .learning-heading input:checked{background:var(--green)}
.writer-page .learning-heading input:checked:before{transform:translateX(14px)}
.writer-page .learning-status{font-size:11px;margin:0;color:#556a4b}
.writer-page .reset-spellings{margin:0;padding:6px 0;font-size:11px;color:var(--green)}
.writer-page .engine-info{grid-column:1/-1;font-size:12px;margin-top:4px;color:#56674d}
.writer-page .engine-info>summary{padding:6px 0}
.writer-page .engine-heading{font-size:12px;padding-top:12px}
.writer-page .engine-info p{font-size:12px;margin:8px 0;color:#576b4d}
.writer-page .below-editor{font-size:12px;color:#4c6141;margin-top:18px}
.writer-page .below-editor kbd{font-size:11px;min-height:23px;color:#465d3b;border-color:#bfcbb4}
.writer-page footer{margin-top:25px;padding-top:15px}
.writer-page.focus-mode .writing-area{height:calc(100dvh - 300px);min-height:300px}
.writer-page.focus-mode .sidebar{display:none}

.benchmark-page:not(.extended-page) .benchmark-main{max-width:1200px}
.benchmark-page .site-header{height:76px;max-width:1240px;padding:0 32px}
.benchmark-page:not(.extended-page) .run-stamp{display:none}
.benchmark-page:not(.extended-page) .live-heading .section-kicker,.benchmark-page:not(.extended-page) .live-heading>div>p{display:none}
.benchmark-page:not(.extended-page) .benchmark-intro{padding:30px 0 22px;align-items:end}
.benchmark-page:not(.extended-page) .benchmark-intro .eyebrow{display:none}
.benchmark-page:not(.extended-page) .benchmark-intro h1{font-size:46px;font-weight:750;line-height:1.15;letter-spacing:-1.7px;margin:0 0 10px}
.benchmark-page:not(.extended-page) .benchmark-intro p{font-size:15px;color:#53614f;line-height:1.65}
.benchmark-page:not(.extended-page) .run-stamp{font-size:11px;color:#4e6743}
.benchmark-page:not(.extended-page) .stamp-symbol{display:none}
.benchmark-page:not(.extended-page) .dataset-caveat{font-size:12px;line-height:1.65;border-radius:5px;color:#445b38}
.benchmark-page:not(.extended-page) .live-probe{margin:24px 0;border-radius:7px;padding:24px;background:#fff;border:1.5px solid #acbea1}
.benchmark-page:not(.extended-page) .section-kicker{font-size:10px;font-weight:700;color:#526944}
.benchmark-page:not(.extended-page) .live-heading h2{font-size:29px;font-weight:750;letter-spacing:-.8px;color:#16341c}
.benchmark-page:not(.extended-page) .live-heading p{font-size:13px;color:#576b49}
.benchmark-page:not(.extended-page) .live-version{font-size:12px;color:#22572b;border-color:#a9bc9b;font-weight:650}
.benchmark-page:not(.extended-page) .live-input-row{margin-top:20px}
.benchmark-page:not(.extended-page) .live-input-row label,.benchmark-page:not(.extended-page) .live-before-label{font-size:12px;color:#3f5732;font-weight:600}
.benchmark-page:not(.extended-page) .live-input-row input{font-size:25px;border-color:#9bb28b;border-radius:5px;padding:13px}
.benchmark-page:not(.extended-page) .live-examples{font-size:12px}
.benchmark-page:not(.extended-page) .live-examples button{font-size:13px;min-height:40px}
.benchmark-page:not(.extended-page) .live-before-label input{font-size:18px;padding:12px}
.benchmark-page:not(.extended-page) .live-context-note{font-size:12px;color:#657956}
.benchmark-page:not(.extended-page) .live-columns article{padding:20px;border-radius:5px;background:#f4f7ef;border-color:#c9d8bd}
.benchmark-page:not(.extended-page) .live-column-heading h3{font-size:14px;font-weight:650}
.benchmark-page:not(.extended-page) .live-column-heading h3 span{font-size:10px}
.benchmark-page:not(.extended-page) .live-columns ol{font-size:30px;color:#163c20;line-height:1.7}
.benchmark-page:not(.extended-page) .live-columns p{font-size:11px;color:#5b704d}
.benchmark-page:not(.extended-page) .live-scope{font-size:12px;color:#536d44}
.probe-evidence{margin-top:15px;border-top:1px solid #d5dfcb;padding-top:12px}
.probe-evidence>summary{font-size:13px;font-weight:650;color:var(--green)}
.probe-evidence p{font-size:12px;line-height:1.9}
.scope-disclosure{font-size:12px;color:#566e47;margin-bottom:16px}
.scope-disclosure>summary{padding:5px 0;font-weight:600}
.historical-results{border-top:2px solid #a9baa0;margin-top:28px}
.historical-results>summary{font-size:21px;font-weight:700;padding:22px 0;letter-spacing:-.5px}
.historical-results>summary small{display:block;margin-top:6px;font-size:12px;letter-spacing:0;font-weight:400;color:#607252}
.historical-results .benchmark-stats strong{font-size:34px;color:#183f21}
.historical-results .benchmark-stats small,.historical-results .case-heading p{font-size:12px;color:#60754f}
.historical-results .dataset-control label{font-size:12px}
.historical-results .dataset-control select{font-size:13px;min-height:40px}
.historical-results .metric-tabs button{font-size:13px;min-height:42px}
.historical-results .leaderboard{font-size:14px}
.historical-results .case-heading h2{font-size:28px;font-weight:700}
.historical-results .method-grid p{font-size:13px;color:#586f47}
@media(max-width:760px){
  .site-header{height:68px;padding:0 20px}.brand{font-size:21px}.brand-mark{width:34px;height:37px;font-size:26px}
  .site-header nav,.writer-navigation{gap:14px}.site-header nav a,.writer-navigation>a{font-size:12px}
  .writer-page main{padding:0 18px}.writer-page .intro{padding:25px 0 20px}
  .writer-page h1{font-size:36px;letter-spacing:-1.2px}.writer-page h1 [lang=ne]{font-size:34px}
  .writer-page .intro>p{font-size:13px}.writer-page .editor-toolbar{height:54px;padding:0 13px}
  .writer-page .language-tab{font-size:14px}.writer-page .phonetic-label{display:none}
  .writer-page .writing-area{height:260px}.writer-page .writing-area textarea{font-size:25px;padding:21px 20px}
  .writer-page .empty-state{left:21px;top:24px}.writer-page .nepali-placeholder{font-size:27px}
  .writer-page .empty-state p{font-size:13px}
  .writer-page .suggestion-area{padding:13px 17px;min-height:90px}.writer-page .candidate{font-size:23px;padding:7px 10px}
  .writer-page .candidate-hint{display:none}.writer-page .editor-status{font-size:10px;padding:10px 14px}
  .writer-page .editor-actions{padding:10px}.writer-page .button{font-size:12px;padding:9px 12px;min-height:42px}
  .writer-page .history-actions{gap:0}.writer-page .history-actions .icon-button{width:35px}
  .writer-page .sidebar{grid-template-columns:1fr;gap:5px}.writer-page .engine-card{padding-top:8px}
  .writer-page .below-editor{font-size:11px;line-height:1.9}.writer-page footer{font-size:10px}
  .writer-page footer>span:last-child{max-width:none}.guide-button{font-size:12px;padding:9px 0}
  .guide-button>.icon{display:none}
  .benchmark-page:not(.extended-page) .benchmark-intro{padding:25px 0 15px}
  .benchmark-page .site-header{height:68px;padding:0 20px}
  .benchmark-page:not(.extended-page) .benchmark-intro h1{font-size:36px}
  .benchmark-page:not(.extended-page) .benchmark-intro p{font-size:13px}
  .benchmark-page:not(.extended-page) .live-probe{padding:20px 16px}
  .benchmark-page:not(.extended-page) .live-columns ol{font-size:27px}
  .historical-results>summary{font-size:19px}
}
@media(max-width:390px){
  .site-header{padding:0 16px}.brand{font-size:19px;gap:7px}
  .writer-navigation{gap:10px}.writer-navigation>a{font-size:11px}.guide-button{font-size:11px}
  .writer-page .editor-actions{flex-wrap:wrap;gap:8px}.writer-page .export-actions{margin-left:auto}
  .writer-page .history-actions .icon-button{width:29px}.writer-page .action-divider{margin:0 2px}
  .writer-page .editor-status{flex-wrap:wrap;gap:5px}.writer-page .suggestion-idle{font-size:12px}
}
