
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#1d1d1f;background:#f5f5f7;font-size:14px;--line:#e6e6ea;--ink:#1d1d1f;--purple:#0071e3;--bg:#f5f5f7}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}button,a,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #81baff;outline-offset:3px}
[hidden]{display:none!important}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}
.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:#fafafbd9;backdrop-filter:blur(24px);border-right:1px solid var(--line);padding:32px 16px;display:flex;flex-direction:column;z-index:20}
.brand{display:flex;align-items:center;gap:8px;padding:0 8px}.brand-mark{display:grid;place-items:center;background:#1d1d1f;color:white;border-radius:9px;width:27px;height:29px;font:italic 24px Georgia}.brand-name{font-weight:650;font-size:16px;letter-spacing:-.7px}.brand small{display:none}
.workspace-label{font-size:12px;color:#86868b;margin:40px 12px 14px}.nav-item{display:flex;align-items:center;text-align:left;gap:11px;width:100%;padding:12px;border-radius:10px;margin:4px 0;color:#6e6e73;line-height:1.6;transition:background .2s,color .2s}.nav-item.active{background:#e9e9ed;color:#1d1d1f;font-weight:600}.nav-item:hover{background:#eeeef1}.nav-item svg{width:18px;height:18px}.count{margin-left:auto;font-size:11px}.nav-dot{display:none}
.sidebar-note{display:none}
main{margin-left:250px;min-height:100vh}.topbar{height:52px;padding:0 44px;display:flex;align-items:center;justify-content:flex-end;font-size:12px;color:#86868b}.topbar>div{display:flex;gap:12px;align-items:center}.top-actions{gap:20px!important}.local-badge{font-size:11px}.text-button{color:#0071e3;font-size:12px;padding:5px 0}.text-button svg{width:14px;height:14px;vertical-align:middle}
.view{max-width:1160px;padding:32px 44px 30px;margin:0 auto;animation:arrive .36s cubic-bezier(.2,.7,.3,1)}.page-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:36px}.eyebrow{font-size:12px;color:#86868b;margin:0 0 12px}h1{font-size:clamp(26px,3.2vw,40px);letter-spacing:-1.3px;line-height:1.3;margin:0;font-weight:650}.page-intro p:last-child{font-size:15px;color:#86868b;margin:14px 0 0;font-weight:400}
.mode-picker{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:8px 0 50px}.mode-card{position:relative;text-align:left;padding:36px;border-radius:24px;background:white;border:1px solid #e9e9ef;min-height:256px;display:flex;flex-direction:column;align-items:flex-start;transition:transform .25s cubic-bezier(.2,.7,.3,1),box-shadow .25s}.mode-card:hover{transform:translateY(-4px);box-shadow:0 12px 36px #00000009}.mode-symbol{font-size:27px;font-weight:500;letter-spacing:-1px;color:#0071e3;display:block;margin-bottom:38px}.mode-card strong{font-size:25px;font-weight:600;margin-bottom:10px}.mode-card>span:not(.mode-symbol){font-size:13px;color:#86868b}.mode-card b{position:absolute;right:28px;top:32px;color:#a1a1a6;font-size:23px;font-weight:400}
#practice-area{animation:arrive .3s ease}#change-mode{margin:-15px 0 18px}.section-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.section-heading h2{font-size:20px;margin:0;letter-spacing:-.5px}.autosave{font-size:11px;color:#86868b}
.workspace-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);align-items:start;gap:24px}.card{background:white;border:1px solid #e9e9ef;border-radius:20px;overflow:hidden}.editor-card{padding:28px}.card-heading{display:flex;gap:12px;align-items:center;margin:0 0 18px}.step-number{font-size:11px;color:#a1a1a6;letter-spacing:1px}.card-heading h3,.report-heading h3{font-size:16px;font-weight:600;margin:0}.card-heading p:empty{display:none}
.field-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:26px;padding-bottom:18px;border-bottom:1px solid var(--line)}.field-label{display:block;font-size:12px;color:#6e6e73;margin:14px 0 10px}.required{color:#86868b}.level-switch{display:flex;background:#f0f0f3;border-radius:9px;padding:3px;gap:3px}.level-switch button{font-size:11px;padding:7px 10px;border-radius:7px;color:#6e6e73;transition:background .2s,box-shadow .2s}.level-switch .selected{background:white;box-shadow:0 1px 4px #00000014;color:#1d1d1f}.level-switch span{display:none}
textarea{width:100%;resize:vertical;border:1px solid #dedee4;border-radius:11px;padding:14px;line-height:1.8;background:#fdfdfd;color:#1d1d1f;font-size:13px;transition:border-color .2s}.task-input{min-height:136px}textarea::placeholder{color:#a1a1a6}.editor-divider{height:1px;background:var(--line);margin:28px 0}.input-tabs{position:relative;display:grid;grid-template-columns:1fr 1fr;width:252px;max-width:100%;gap:20px;margin:0 0 18px;border-bottom:1px solid var(--line)}.input-tabs::after{content:"";position:absolute;left:0;bottom:-1px;height:2px;width:calc((100% - 20px)/2);border-radius:2px;background:#0071e3;transition:transform .2s cubic-bezier(.2,.7,.3,1);pointer-events:none}.input-tabs[data-input="photo"]::after{transform:translateX(calc(100% + 20px))}.input-tabs button{min-height:40px;padding:0 0 12px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#86868b;transition:color .2s}.input-tabs .selected{color:#0071e3;font-weight:500}.input-tabs svg{width:15px;height:15px}
#essay{min-height:260px;font:15px/1.9 Georgia,serif}.essay-footer{display:flex;justify-content:space-between;font-size:10px;color:#86868b;margin-top:10px}.essay-footer b{font-weight:500}.submit-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:24px}.submit-row>span{font-size:10px;color:#86868b}.primary-button{display:flex;align-items:center;gap:8px;background:#0071e3;color:white;padding:12px 17px;border-radius:22px;white-space:nowrap;font-size:12px;transition:background .2s}.primary-button:hover{background:#0077ed}.primary-button svg{width:15px;height:15px}.privacy-note{font-size:10px;line-height:1.7;color:#86868b;margin:18px 0 0}
.report-heading{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid var(--line)}.report-heading>div{display:flex;gap:10px;align-items:center}.report-tag{font-size:10px;color:#86868b}.report-empty,.report-loading{padding:38px 24px;text-align:center}.report-empty h3{font-size:17px;font-weight:500}.report-empty p,.report-loading p{font-size:11px;color:#86868b;line-height:1.9}.report-illustration{width:52px;height:52px;border-radius:15px;background:#f5f5f7;display:grid;place-items:center;margin:0 auto 22px;color:#86868b}.spinner{width:24px;height:24px;display:inline-block;border:2px solid #eee;border-top-color:#0071e3;border-radius:50%;animation:spin 1s linear infinite}.report-loading h3{font-size:15px}
.secondary-button{display:inline-flex;align-items:center;justify-content:center;background:#f0f0f3;color:#1d1d1f;border-radius:18px;padding:9px 14px;font-size:11px;gap:8px}.secondary-button svg{width:14px}.input-hint{font-size:10px;color:#86868b;line-height:1.7}.photo-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px}.confirm-ocr{display:flex;align-items:center;gap:8px;font-size:11px;color:#6e6e73;margin:12px 0;line-height:1.6}.confirm-ocr input{accent-color:#0071e3}.dropzone{border:1px dashed #d2d2d7;border-radius:12px;padding:24px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;cursor:pointer}.dropzone input{display:none}.dropzone strong{font-size:12px;font-weight:500}.dropzone span{font-size:10px;color:#86868b}.upload-icon svg{width:23px;height:23px}.ocr-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}.ocr-row>span{font-size:10px;color:#86868b}
#task-image,#preview-image{display:block;max-width:100%;max-height:240px;object-fit:contain;margin:12px auto}.photo-preview>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.photo-preview>div>span{min-width:0;overflow-wrap:anywhere}.photo-preview .text-button{flex-shrink:0}
.download-ready{text-align:center;padding:26px 18px}.download-ready h3{font-size:17px;font-weight:600}.download-ready>p{font-size:11px;color:#86868b;line-height:1.8}.download-check{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#eaf7ee;color:#2d8c4c;margin:0 auto 15px}.download-options{display:grid;gap:10px;margin:24px 0}.download-option{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:13px;border-radius:12px;text-align:left}.download-option>span:nth-child(2){flex:1}.download-option strong{font-size:12px;font-weight:600}.download-option small{display:block;font-size:10px;color:#86868b;margin-top:5px}.file-icon{display:grid;place-items:center;width:30px;height:34px;border-radius:6px;background:#f0f5ff;color:#0071e3;font-weight:600;font-size:12px}.pdf-icon{background:#fff1ef;color:#bd513e}.download-includes{padding:16px 0;border-top:1px solid var(--line);font-size:11px}.download-includes p{font-size:10px;color:#86868b;line-height:2}.download-note{font-size:10px!important}.report-banner{font-size:10px;color:#86868b;padding:14px 20px;background:#f5f5f7}
.history-item{display:flex;align-items:center;justify-content:space-between;gap:20px;background:white;border:1px solid var(--line);border-radius:14px;padding:22px;margin-bottom:12px}.history-item h3{font-size:13px;font-weight:500;margin:0 0 8px;overflow-wrap:anywhere}.history-item p{font-size:10px;color:#86868b;margin:0}.history-item>div:last-child{display:flex;align-items:center;gap:12px;flex-shrink:0}.history-score{font-size:12px;white-space:nowrap}.history-score small{font-size:10px;color:#86868b}.delete-button{font-size:10px;color:#86868b}.empty-list,.coming-soon{border:1px solid var(--line);border-radius:20px;background:#fff;text-align:center;padding:64px 28px}.coming-soon h2,.empty-list h3{font-size:22px;font-weight:500}.coming-soon p,.empty-list p{font-size:13px;color:#86868b}.coming-soon .mode-symbol{margin-bottom:28px}
footer{max-width:1072px;margin:30px auto;padding:20px 44px;color:#a1a1a6;font-size:10px;display:block}dialog{border:1px solid var(--line);border-radius:20px;padding:24px;width:min(650px,90vw);max-height:85vh;overflow:auto;color:#1d1d1f}dialog::backdrop{background:#0004;backdrop-filter:blur(8px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.dialog-heading h2{font-size:17px}.dialog-heading button{font-size:24px}.history-task{font-size:12px;line-height:1.8;white-space:pre-wrap}
#toast{position:fixed;bottom:28px;left:calc(50% + 125px);transform:translateX(-50%);background:#252528eb;color:white;padding:13px 20px;border-radius:14px;font-size:12px;line-height:1.7;max-width:min(550px,85vw);z-index:100;box-shadow:0 8px 30px #0002}
@keyframes arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}
@media(pointer:fine){.photo-actions{display:none}}
@media(max-width:1100px){.workspace-grid{grid-template-columns:1fr}.report-card{max-width:none}.view{padding:28px 28px}.mode-card{padding:28px;min-height:235px}.sidebar{width:225px}main{margin-left:225px}.brand-name{font-size:14px}.topbar{padding:0 28px}#toast{left:calc(50% + 112px)}}
@media(max-width:700px){.sidebar{position:static;width:100%;padding:18px 16px 8px;border-right:0;border-bottom:1px solid var(--line)}.workspace-label{margin:20px 8px 7px}.sidebar nav{display:grid;grid-template-columns:1fr 1fr;gap:2px 8px}.nav-item{font-size:12px;margin:0;padding:10px}.nav-item br{display:none}main{margin-left:0}.brand-name{font-size:17px}.topbar{padding:0 22px;height:48px}.view{padding:20px 20px}.mode-picker{gap:12px}.mode-card{padding:24px 20px;min-height:220px;border-radius:18px}.mode-card strong{font-size:21px}.mode-card>span:not(.mode-symbol){font-size:11px;line-height:1.7}.mode-symbol{font-size:23px;margin-bottom:30px}.mode-card b{right:18px;top:20px}.page-intro{margin-bottom:26px}h1{font-size:27px;letter-spacing:-.8px}.page-intro p:last-child{font-size:13px}.editor-card{padding:22px}.autosave{font-size:9px}.submit-row{flex-wrap:wrap}.submit-row .primary-button{margin-left:auto}.field-row{align-items:center}.history-item{display:block}.history-item>div:last-child{justify-content:flex-end;margin-top:18px;flex-wrap:wrap}.coming-soon{padding:50px 20px}footer{padding:15px 22px;margin:15px auto}#toast{left:50%;width:90vw}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.sidebar nav{margin-top:36px}
.mode-back{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:11px 18px;margin:0 0 24px;border:1px solid #b6d7fb;border-radius:12px;background:#eaf3fe;color:#0066cc;font-size:14px;font-weight:600;box-shadow:0 2px 6px #0071e309;transition:background .2s,box-shadow .2s}
#change-mode{margin:0 0 24px}
.mode-back:hover{background:#dfedfd;box-shadow:0 3px 10px #0071e314}
.mode-back svg{width:18px;height:18px}
.essay-footer,.submit-row{justify-content:flex-end}
.card,.workspace-grid>*,.page-intro>div{min-width:0}
@media(max-width:700px){
 .sidebar nav{margin-top:18px}
 textarea{font-size:16px}
 #essay{font-size:16px}
 .primary-button,.secondary-button,.input-tabs button{min-height:44px}
 .level-switch button{min-height:40px}
 .confirm-ocr{min-height:44px}
 .mode-back{width:100%;justify-content:center}
}
@media(max-width:380px){.mode-picker{grid-template-columns:1fr}.mode-card{min-height:176px}.mode-symbol{margin-bottom:20px}.field-row{flex-wrap:wrap}}
.word-game-shell{width:min(100%,460px);margin:0 auto;overflow:hidden;border-radius:20px;background:#101b29;box-shadow:0 12px 40px #00000012}
#word-game{display:block;width:100%;height:min(82dvh,820px);min-height:540px;border:0}
#view-words .page-intro{gap:16px;flex-wrap:wrap}
@media(max-width:700px){#view-words{padding:28px 12px 16px}.word-game-shell{border-radius:15px}#word-game{height:82dvh;min-height:520px}}
.account-trigger{min-height:36px;padding:8px 17px;border:1px solid #dedee4;background:white;border-radius:20px;color:#1d1d1f;font-size:12px;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#account-dialog{width:min(420px,calc(100vw - 32px));padding:28px}
#account-dialog .dialog-heading h2{margin:0}
.account-subtitle{font-size:13px;color:#86868b;line-height:1.8;margin:16px 0 24px}
#account-form label{display:block;font-size:12px;color:#6e6e73;margin:16px 0}
#account-form input{display:block;width:100%;min-height:46px;margin-top:8px;padding:11px 13px;border:1px solid #d2d2d7;border-radius:10px;font-size:16px;background:#fff}
#account-submit{width:100%;justify-content:center;min-height:46px;margin:20px 0 16px}
#account-error{font-size:12px;line-height:1.6;color:#b33b32;min-height:0}
#account-error:empty{display:none}
#account-switch{display:block;margin:0 auto}
#account-menu{display:grid;gap:12px}
#account-menu button{min-height:44px}
.history-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:700px){.top-actions{gap:10px!important}.account-trigger{max-width:105px;min-height:40px}#account-dialog{padding:24px}.page-intro{gap:20px;flex-wrap:wrap}}
#login-gate{display:none;min-height:100dvh;padding:32px 40px;background:#f5f5f7}
.auth-pending #login-gate,.auth-guest #login-gate{display:block}
.auth-pending>.sidebar,.auth-pending>main,.auth-guest>.sidebar,.auth-guest>main{display:none}
.auth-pending .gate-actions{visibility:hidden}
.gate-brand{font-size:19px;font-weight:650;letter-spacing:-.6px}
.gate-copy{max-width:580px;margin:clamp(70px,15vh,150px) auto 40px;text-align:center;animation:arrive .4s ease}
.gate-copy>.brand-mark{width:62px;height:66px;font-size:49px;border-radius:18px;margin:0 auto 32px;box-shadow:0 8px 24px #0001}
.gate-copy h1{font-size:clamp(28px,4.5vw,44px);letter-spacing:-1.4px;line-height:1.5}
.gate-copy p{font-size:15px;color:#86868b;margin:18px 0 30px}
.gate-actions{display:flex;justify-content:center;gap:14px}
.gate-actions button{min-width:130px;min-height:46px;justify-content:center;font-size:14px}
.gate-actions .secondary-button{background:white;border:1px solid #dedee4;border-radius:24px}
#gate-status{font-size:12px;min-height:20px;margin-top:24px}
@media(max-width:700px){#login-gate{padding:24px}.gate-copy{margin-top:100px}.gate-actions button{min-width:116px}.gate-copy h1{letter-spacing:-.6px}}
.brand-mark{width:32px;height:32px;overflow:hidden;background:transparent;flex-shrink:0}
.brand-mark img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.gate-copy>.brand-mark{width:72px;height:72px;border-radius:20px}


.gate-copy h1 span{display:block}

textarea:focus-visible{outline:none;border-color:#0071e3;box-shadow:0 0 0 3px #0071e312}
.photo-panel,.text-panel{animation:input-arrive .2s ease}
.photo-panel .input-hint{margin-bottom:14px}
.dropzone{transition:border-color .2s,background .2s}
.dropzone:hover,.dropzone.dragover{border-color:#91bdec;background:#f5f9ff}
.dropzone:focus-visible{outline:3px solid #81baff;outline-offset:3px}
.dropzone[aria-disabled="true"]{pointer-events:none;opacity:.45}
@keyframes input-arrive{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.other-writing-options{margin:0 0 26px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fafafb}
.other-writing-options label{display:block;font-size:12px;color:#6e6e73;margin:0 0 8px}.other-writing-options label:not(:first-child){margin-top:16px}
.other-writing-options input,.grammar-fill-fields input{display:block;width:100%;min-height:44px;border:1px solid #dedee4;border-radius:10px;padding:11px 13px;background:#fff;font:inherit}
.other-writing-options textarea{min-height:96px}.other-writing-options .input-hint{margin-bottom:0}
.grammar-nav{display:inline-flex;gap:4px;padding:4px;background:#eaeaf0;border-radius:13px;margin-bottom:20px}.grammar-nav button{min-height:40px;padding:10px 18px;border-radius:10px;color:#6e6e73;font-size:13px;transition:background .2s,color .2s,box-shadow .2s}.grammar-nav button.selected{background:#fff;color:#1d1d1f;box-shadow:0 1px 5px #00000009}.grammar-nav span{margin-left:7px;font-size:11px;color:#86868b}
.grammar-status{font-size:12px;color:#6e6e73;line-height:1.8;margin:0 0 20px}.grammar-status:empty{display:none}
.grammar-group{margin:8px 0 34px}.grammar-group>h2{font-size:14px;font-weight:500;color:#6e6e73;margin:0 0 16px}
.grammar-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.grammar-topic-card{display:flex;flex-direction:column;text-align:left;padding:24px;border:1px solid #e9e9ef;border-radius:18px;background:#fff;min-height:166px;transition:transform .2s,box-shadow .2s}.grammar-topic-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #00000007}.grammar-topic-card strong{font-size:17px;font-weight:600;line-height:1.6}.grammar-topic-card>span{font-size:11px;color:#86868b;margin-top:12px}.grammar-topic-card .grammar-topic-track{height:3px;background:#f0f0f3;border-radius:3px;overflow:hidden;margin:14px 0 18px;width:100%}.grammar-topic-track i{display:block;height:100%;background:#0071e3;border-radius:3px}.grammar-topic-card small{font-size:11px;color:#0071e3;margin-top:auto}.grammar-topic-card small b{float:right;font-weight:400}
.grammar-filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:8px 0 24px}.grammar-filters label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#86868b}.grammar-filters select{font:inherit;font-size:13px;min-height:44px;max-width:220px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:10px 30px 10px 12px;color:#1d1d1f}.grammar-filters .primary-button{margin-left:auto;min-height:44px}
.grammar-review-card{padding:24px;margin-bottom:16px}.grammar-review-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#86868b}.grammar-state{color:#9a651d;background:#fff5e6;border-radius:14px;padding:5px 10px;white-space:nowrap}.grammar-state.corrected{color:#2d8048;background:#edf7ef}.grammar-review-card>p{font:15px/1.9 Georgia,'Microsoft YaHei',serif;white-space:pre-wrap;overflow-wrap:anywhere}.grammar-review-card summary{cursor:pointer;font-size:12px;color:#0071e3;padding:8px 0}.grammar-review-detail{margin:10px 0 0;padding:18px;border-radius:12px;background:#f7f7f9}.grammar-review-detail span{font-size:11px;color:#86868b}.grammar-review-detail p{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 16px}.grammar-review-actions{display:flex;justify-content:flex-end;gap:18px;margin-top:18px}
.grammar-session{max-width:780px;padding:32px;scroll-margin-top:24px;animation:input-arrive .2s ease}.grammar-session-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#86868b}.grammar-progress{height:3px;background:#f0f0f3;border-radius:3px;margin:24px 0 28px;overflow:hidden}.grammar-progress>span{display:block;height:100%;background:#0071e3;transition:width .2s}.grammar-question-meta{font-size:11px;line-height:1.8;color:#86868b}.grammar-session h2{font:500 19px/1.9 Georgia,'Microsoft YaHei',serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 26px}.grammar-session h2:focus{outline:none}
.grammar-options{padding:0;margin:0;border:0;display:grid;gap:10px}.grammar-options label{position:relative;display:flex;align-items:center;gap:14px;min-height:54px;border:1px solid #e6e6eb;border-radius:12px;padding:14px;cursor:pointer;font:15px/1.6 Georgia,serif;transition:background .2s,border-color .2s}.grammar-options label:has(input:checked){border-color:#81baff;background:#f1f7ff}.grammar-options input{accent-color:#0071e3;flex-shrink:0}.grammar-option-letter{font:12px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#86868b}.grammar-fill-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.grammar-fill-fields label{font-size:12px;color:#6e6e73}.grammar-fill-fields input{margin-top:9px;font-size:16px}.grammar-fill-fields:has(label:only-child){grid-template-columns:1fr}.grammar-open-label{font-size:12px;color:#6e6e73}.grammar-open-label textarea{display:block;margin-top:10px;min-height:150px;font-size:16px}
.grammar-answer-actions,.grammar-self-actions,.grammar-after-actions{display:flex;gap:12px;align-items:center;margin-top:24px;flex-wrap:wrap}.grammar-after-actions{justify-content:space-between}.grammar-answer-actions button,.grammar-after-actions .primary-button,.grammar-self-actions button{min-height:44px}
.grammar-feedback{margin-top:24px;padding:22px;border-radius:14px;background:#f6f6f9;border:1px solid #e9e9ef;animation:input-arrive .2s ease}.grammar-feedback h3{font-size:16px;font-weight:600;margin:0 0 18px}.grammar-feedback>span{font-size:11px;color:#86868b}.grammar-feedback p{font-size:14px;line-height:1.9;margin:8px 0 18px;white-space:pre-wrap;overflow-wrap:anywhere}.grammar-feedback p:last-child{margin-bottom:0}.grammar-feedback.is-correct{background:#f2f8f4;border-color:#dfeee3}.grammar-feedback.needs-review{background:#fffaf2;border-color:#f0e5d3}.grammar-blank-results{font-size:12px!important;color:#6e6e73}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.history-score.custom-score{max-width:240px;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
.grammar-review-options{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
@media(max-width:700px){textarea,.account-field input{font-size:16px}}
.footer-beian{display:block;margin-top:7px}.footer-beian a{color:inherit;text-decoration:none}.footer-beian a:hover{text-decoration:underline}
@media(max-width:1100px){.grammar-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.field-row{flex-wrap:wrap;gap:10px}.field-row .level-switch{max-width:100%;flex-wrap:wrap}.level-switch button{flex:1;white-space:nowrap}.grammar-topic-grid{gap:12px}.grammar-topic-card{padding:18px;min-height:152px}.grammar-topic-card strong{font-size:15px}.grammar-session{padding:22px}.grammar-session h2{font-size:17px}.grammar-fill-fields{grid-template-columns:1fr}.grammar-review-card{padding:20px}.grammar-filters{gap:12px}.grammar-filters .primary-button{margin-left:0}.grammar-filters select{max-width:185px}.history-score{white-space:normal;max-width:240px}.other-writing-options input{font-size:16px}}
