@import "https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&display=swap";
:root{--blue:#3ba7ff;--blue2:#1479f2;--soft:#e6f2ff;--orange:#ff8a00;--cream:#fff4e6;--navy:#0d1b3d;--text:#17264a;--muted:#667797;--line:#dce8f8;--bg:#f7fbff;--surface:#fff;--success:#19a66a;--shadow:0 16px 40px #2a5c8f14}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--text);margin:0}body{font:14px Lexend,Avenir Next,Segoe UI,system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #3ba7ff52}.appShell{grid-template-columns:232px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:linear-gradient(#fff,#f0f7ff);flex-direction:column;gap:16px;height:100vh;padding:18px;display:flex;position:sticky;top:0}.sidebarLogo{align-items:center;height:54px;display:flex}.sidebarNew,.primaryButton,.primaryLink{background:linear-gradient(135deg,#ff9c1d,var(--orange));color:#fff;cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:0 18px;font-weight:700;text-decoration:none;display:flex;box-shadow:0 8px 20px #ff8a002e}.nav{gap:6px;display:grid}.navItem{min-height:44px;color:var(--text);border-radius:13px;align-items:center;gap:12px;padding:0 12px;text-decoration:none;display:flex}.navItem:hover{background:#f2f8ff}.navItem.active{color:#076ddb;background:#e4f2ff;font-weight:600}.sidebarSpacer{flex:1}.progressCard,.learningMini,.accountCard{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:16px}.progressCard,.learningMini{padding:14px}.eyebrow{color:#0875e7;font-size:11px;font-weight:700}.ring{border:7px solid #eaf5ff;border-top-color:var(--orange);border-left-color:var(--blue);text-align:center;border-radius:50%;place-content:center;width:86px;height:86px;margin:10px auto;display:grid}.ring strong{font-size:20px}.ring span,.progressCard p,.learningMini p{color:var(--muted);font-size:10px}.learningMini{text-align:center;background:linear-gradient(#eef8ff,#e7f3ff)}.miniIllustration{margin-bottom:6px;font-size:28px}.accountCard{width:100%;min-height:58px;color:var(--text);align-items:center;gap:9px;padding:8px;display:flex}button.accountCard{cursor:pointer;text-align:left}.accountCard>span:nth-child(2){flex:1;gap:2px;min-width:0;display:grid}.accountCard b{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.accountCard small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:8px;overflow:hidden}.accountCard>button{background:#f2f7fc;border:0;border-radius:8px;width:28px;height:28px}.accountAvatar{background:linear-gradient(145deg,var(--blue),var(--blue2));color:#fff;border-radius:11px;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.mainArea{width:100%;min-width:0;max-width:1680px;margin:0 auto;padding:0 18px 20px}.topbar{justify-content:space-between;align-items:center;gap:18px;min-height:84px;padding:14px 6px;display:flex}.topbar h1{color:var(--navy);letter-spacing:-.03em;margin:0 0 4px;font-size:24px}.topbar p{color:var(--muted);margin:0}.topActions{gap:8px;display:flex}.iconButton,.secondaryButton{border:1px solid var(--line);min-height:42px;color:var(--navy);cursor:pointer;background:#fff;border-radius:12px}.iconButton{min-width:42px}.secondaryButton{padding:0 15px}.editorGrid{grid-template-columns:minmax(0,1fr) 250px;align-items:start;gap:14px;display:grid}.editorCard,.panelCard,.versionsCard,.historyCard,.impactCard,.dataPage,.learningMain,.settingsCard{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:18px}.editorToolbar{border-bottom:1px solid var(--line);align-items:center;gap:14px;min-height:56px;padding:0 18px;display:flex}.editorToolbar select{color:var(--text);background:0 0;border:0}.formatActions{border-left:1px solid var(--line);gap:2px;padding-left:10px;display:flex}.formatActions button{width:38px;height:38px;color:var(--navy);background:0 0;border:0;border-radius:10px}.formatActions button:hover{background:var(--soft)}.editorMeta{color:var(--muted);align-items:center;gap:14px;margin-left:auto;font-size:11px;display:flex}.saveButton{color:#0875e7;cursor:pointer;background:#f3f9ff;border:1px solid #bfddfb;border-radius:10px;min-height:36px;padding:0 14px;font-weight:700}.writingArea{flex-direction:column;min-height:560px;padding:24px 28px 12px;display:flex;position:relative}.textareaStack{width:100%;min-height:470px;position:relative}.textareaStack textarea{z-index:2;resize:vertical;width:100%;min-height:470px;color:var(--text);letter-spacing:-.01em;background:0 0;border:0;outline:0;margin:0;padding:0;font-size:17px;line-height:1.9;display:block;position:relative}.ghostTextLayer{z-index:1;pointer-events:none;white-space:pre-wrap;overflow-wrap:anywhere;color:#0000;letter-spacing:-.01em;min-height:470px;font-size:17px;line-height:1.9;position:absolute;inset:0;overflow:hidden}.ghostTextSpacer{color:#0000}.ghostTextSuggestion{color:#98acc3}.ghostTextSuggestion small{color:#9aaec4;vertical-align:middle;background:#fff;border:1px solid #cfdbe8;border-radius:5px;margin-left:6px;padding:1px 5px;font-size:10px;line-height:1.3;display:inline-block}.suggestionHint{color:var(--muted);align-items:center;gap:7px;margin-top:8px;font-size:11px;display:flex}.suggestionHint svg{width:14px}.correctionToast{background:#fff9f2;border:1px solid #ffdfc0;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin:8px 0 4px;padding:12px 14px;display:flex}.correctionToast p{margin:4px 0}.correctionToast span{color:var(--muted);font-size:11px}.correctionToast button{color:#c66300;background:0 0;border:0;font-weight:600}.editorStatus{min-height:34px;color:var(--muted);align-items:center;gap:8px;margin-top:auto;font-size:11px;display:flex}.statusDot{background:var(--blue);border-radius:50%;width:7px;height:7px}.spacer{flex:1}kbd{color:#45607e;background:#fff;border:1px solid #c6d5e7;border-bottom-width:2px;border-radius:6px;padding:2px 7px;font-size:11px}.optionsPanel{gap:12px;display:grid}.panelCard{padding:15px}.panelTitle{margin-bottom:12px;font-size:16px;font-weight:700}.panelTitle span{color:var(--orange)}.panelCard label{gap:7px;margin:12px 0;font-size:12px;font-weight:600;display:grid}.panelCard select,.settingsCard select,.authModal input,.settingsCard input{border:1px solid var(--line);min-height:42px;color:var(--text);background:#fff;border-radius:11px;padding:0 12px}.switchLine{justify-content:space-between;align-items:center;gap:12px;display:flex}.switchLine div{gap:6px;display:grid}.switchLine small,.contextCard small{color:var(--muted);line-height:1.45}.toggle{cursor:pointer;background:#d7e3f0;border:0;border-radius:999px;width:48px;height:28px;padding:3px}.toggle span{background:#fff;border-radius:50%;width:22px;height:22px;display:block;box-shadow:0 2px 4px #0002}.toggle.on{background:var(--orange)}.toggle.on span{margin-left:20px}.contextCard>div:first-child{justify-content:space-between;display:flex}.contextCard span{color:#0875e7;font-weight:600}.meter{background:#eaf1f8;border-radius:99px;height:6px;margin:12px 0 8px;overflow:hidden}.meter i{background:linear-gradient(90deg,var(--blue),#71c4ff);width:72%;height:100%;display:block}.bottomGrid{grid-template-columns:minmax(0,1.65fr) .65fr 1fr;gap:14px;margin-top:14px;display:grid}.versionsCard,.historyCard,.impactCard{padding:14px}.sectionHeading{justify-content:space-between;align-items:center;gap:12px;min-height:36px;display:flex}.sectionHeading small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.sectionHeading button{color:#0875e7;cursor:pointer;background:0 0;border:0;font-weight:600}.versions{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.version{border:1px solid var(--line);border-radius:14px;flex-direction:column;min-height:210px;padding:14px 12px 12px;display:flex;position:relative}.version.selected{background:#fffdf9;border-color:#ffa13d}.letter{border:1px solid var(--blue);color:#0875e7;border-radius:50%;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:10px;left:10px}.selected .letter{border-color:var(--orange);color:#d96f00}.version p{max-height:120px;margin:34px 0 12px;font-size:11px;line-height:1.6;overflow:auto}.versionActions{gap:6px;margin-top:auto;display:flex}.versionActions button{border:1px solid var(--line);color:#0875e7;background:#fff;border-radius:9px;flex:1;min-height:34px;font-size:10px}.versionActions button:last-child{background:#f0f7ff}.emptyState,.dataEmpty{text-align:center;color:var(--muted);border:1px dashed #c8d9ec;border-radius:14px;place-content:center;padding:20px;display:grid}.emptyState{min-height:210px;margin-top:10px}.emptyState small{margin-top:8px;display:block}.metricRow{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px;display:grid}.metricRow>div{border:1px solid var(--line);text-align:center;border-radius:12px;padding:11px}.metricRow small{color:var(--muted);font-size:9px;display:block}.metricRow strong{margin-top:5px;font-size:17px;display:block}.impactArt{text-align:center;padding:16px 0 8px;font-size:42px}.impactCard p{color:var(--muted);margin:0;line-height:1.5}.impactCard p b{color:#0875e7}.miniHistory{gap:7px;max-height:250px;margin-top:9px;display:grid;overflow:auto}.miniHistory>div{border:1px solid var(--line);background:#fbfdff;border-radius:11px;padding:10px}.miniHistory b{font-size:11px}.miniHistory small{color:var(--muted);margin:3px 0;font-size:9px;display:block}.miniHistory p{color:var(--muted);margin:0;font-size:10px;line-height:1.45}.dataPage{min-height:420px;padding:18px}.dataPageState{border:1px solid var(--line);min-height:calc(100vh - 125px);box-shadow:var(--shadow);text-align:center;background:#fff;border-radius:18px;align-content:center;place-items:center;padding:40px;display:grid}.dataPageState p{max-width:520px;color:var(--muted);line-height:1.6}.stateOrb{font-size:42px}.gateButton{padding:0 22px}.inlineMessage{color:#a65a00;background:#fff8ef;border-radius:10px;margin:10px 0;padding:10px 12px;font-size:11px}.dataEmpty{min-height:310px}.dataEmpty.compact{min-height:250px}.dataEmpty>span{font-size:38px}.dataEmpty>b{color:var(--navy);margin-top:8px}.dataEmpty p{max-width:480px;line-height:1.6}.dataEmpty a{color:#0875e7}.documentList{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.documentCard{border:1px solid var(--line);background:linear-gradient(#fff,#fbfdff);border-radius:16px;justify-content:space-between;gap:15px;padding:16px;display:flex}.documentCard small{color:#0875e7}.documentCard h2{color:var(--navy);margin:6px 0 8px;font-size:15px}.documentCard p{color:var(--muted);font-size:11px;line-height:1.55}.documentCard span{color:var(--muted);font-size:9px}.documentActions{align-content:start;gap:7px;min-width:76px;display:grid}.documentActions a,.documentActions button{border:1px solid var(--line);color:#0875e7;background:#fff;border-radius:9px;place-items:center;min-height:34px;font-size:10px;text-decoration:none;display:grid}.timeline{gap:10px;margin-top:12px;display:grid}.timeline article{border:1px solid var(--line);border-radius:14px;grid-template-columns:40px 1fr;gap:12px;padding:14px;display:grid}.timelineBadge{color:#0875e7;background:#eaf5ff;border-radius:50%;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.timelineBadge.vA{color:#d96f00;background:#fff1e5}.timelineBadge.vC{color:#7556c9;background:#f2ecff}.timelineMeta{justify-content:space-between;gap:12px;display:flex}.timelineMeta span,.timeline article small{color:var(--muted);font-size:9px}.timeline article p{white-space:pre-wrap;color:var(--muted);font-size:11px;line-height:1.6}.learningTabs{border:1px solid var(--line);background:#fff;border-radius:16px 16px 0 0;padding:0 14px;display:flex;overflow:auto}.learningTabs button{min-height:54px;color:var(--text);white-space:nowrap;background:0 0;border:0;padding:0 16px}.learningTabs button.active{color:#d96f00;border-bottom:2px solid var(--orange);font-weight:600}.learningGrid{grid-template-columns:minmax(0,1fr) 285px;gap:14px;display:grid}.learningMain{border-radius:0 0 18px 18px;padding:18px}.insightBanner{color:#0875e7;background:#f2f8ff;border:1px solid #cde3fc;border-radius:14px;gap:12px;padding:16px;display:flex}.insightBanner p{color:var(--muted);margin:4px 0 0;line-height:1.5}.learningTitle{margin:18px 0 8px}.errorList{display:grid}.errorRow{border-top:1px solid var(--line);grid-template-columns:36px minmax(180px,.9fr) minmax(260px,1.35fr) 105px;align-items:center;gap:14px;padding:14px 4px;display:grid}.rank{color:#d96f00;background:#fff0e6;border-radius:50%;place-items:center;width:32px;height:32px;font-weight:700;display:grid}.errorInfo{gap:6px;display:grid}.tag{color:#0875e7;background:#eaf5ff;border-radius:7px;width:max-content;padding:4px 7px;font-size:9px}.errorInfo p,.learningAside p{color:var(--muted);margin:0;font-size:10px;line-height:1.5}.errorExample{gap:6px;display:grid}.errorExample small{color:var(--muted);font-size:9px}.quote{border:1px solid var(--line);background:#fbfdff;border-radius:10px;padding:10px;font-size:11px}.correction{color:var(--success);font-size:10px}.occurrences{text-align:center;gap:3px;display:grid}.occurrences strong{font-size:22px}.occurrences small{color:var(--muted);font-size:8px}.occurrences button{border:1px solid var(--line);color:#0875e7;background:#fff;border-radius:8px;min-height:30px;margin-top:5px}.learningAside{gap:12px;display:grid}.learningAside h3{margin:0 0 10px}.miniBars{gap:9px;display:grid}.miniBars div{gap:4px;display:grid}.miniBars span{color:var(--muted);font-size:9px}.miniBars i{background:linear-gradient(90deg,var(--blue),#7bc7ff);border-radius:99px;height:7px;display:block}.chartPlaceholder{min-height:110px;color:var(--muted);border:1px dashed var(--line);border-radius:12px;place-content:center;display:grid}.practiceList{gap:7px;display:grid}.practiceItem{border:1px solid var(--line);border-radius:10px;gap:8px;padding:9px;display:flex}.practiceItem span{gap:3px;display:grid}.practiceItem b{font-size:10px}.practiceItem small{color:var(--muted);font-size:8px;line-height:1.4}.muted{color:var(--muted)}.statsGrid{grid-template-columns:repeat(5,1fr);gap:12px;display:grid}.statCard{border:1px solid var(--line);text-align:center;background:linear-gradient(#fff,#fbfdff);border-radius:16px;padding:18px}.statCard>span{font-size:24px}.statCard strong{color:var(--navy);margin:10px 0 4px;font-size:27px;display:block}.statCard small{color:var(--muted)}.statsNote{margin-top:16px}.settingsGrid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.settingsCard{padding:20px}.settingsCard h2{margin:0 0 18px}.settingsCard label{gap:7px;margin:13px 0;font-size:12px;font-weight:600;display:grid}.privacyNote{color:var(--muted);background:#f2f8ff;border-radius:12px;margin-top:20px;padding:13px;font-size:11px;line-height:1.55}.settingsFooter{grid-column:1/-1;justify-content:flex-end;align-items:center;gap:14px;display:flex}.settingsFooter span{color:var(--success);font-size:11px}.settingsFooter .primaryButton{padding:0 20px}.modalBackdrop{z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0d1b3d57;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.authModal{background:#fff;border-radius:24px;width:min(440px,100%);padding:28px;position:relative;box-shadow:0 28px 90px #0d1b3d3d}.modalClose{background:#f3f7fb;border:0;border-radius:10px;width:36px;height:36px;position:absolute;top:14px;right:14px}.authLogo{width:126px}.authModal h2{margin:22px 0 7px;font-size:24px}.authModal>p{color:var(--muted);line-height:1.55}.authModal form{gap:12px;display:grid}.authModal label{gap:7px;font-size:12px;font-weight:600;display:grid}.authSubmit{width:100%}.authSwitch{color:#0875e7;background:0 0;border:0;margin:14px auto 0;display:block}.authMessage{color:#285b96;background:#f2f8ff;border-radius:10px;padding:10px;font-size:11px}@media (max-width:1180px){.bottomGrid,.documentList{grid-template-columns:1fr}.statsGrid{grid-template-columns:repeat(3,1fr)}}@media (max-width:860px){.appShell{grid-template-columns:76px 1fr}.sidebar{padding:14px 10px}.sidebarLogo img{object-fit:cover;object-position:left;width:44px;height:44px}.sidebarNew{font-size:0}.sidebarNew:after{content:"+";font-size:22px}.navItem{justify-content:center;padding:0;font-size:0}.progressCard,.learningMini,.accountCard{display:none}.mainArea{padding:0 10px 12px}.editorGrid{grid-template-columns:1fr}.optionsPanel{grid-template-columns:repeat(3,1fr)}.learningGrid,.learningAside{grid-template-columns:1fr}.errorRow{grid-template-columns:34px 1fr}.errorExample,.occurrences{grid-column:2}.settingsGrid{grid-template-columns:1fr}.statsGrid{grid-template-columns:repeat(2,1fr)}}@media (max-width:560px){.appShell{display:block}.sidebar{z-index:20;border-top:1px solid var(--line);background:#fff;flex-direction:row;width:100%;height:70px;padding:8px;display:flex;position:fixed;inset:auto 0 0}.sidebarLogo,.sidebarNew,.sidebarSpacer{display:none}.nav{flex:1;justify-content:space-around;display:flex}.navItem{width:46px;height:46px;min-height:46px}.navItem:nth-child(n+5){display:none}.mainArea{padding-bottom:82px}.topbar{min-height:72px}.topbar h1{font-size:20px}.topbar p{font-size:11px}.editorToolbar{padding:0 10px}.formatActions button:nth-child(n+4),.editorMeta{display:none}.writingArea{min-height:480px;padding:18px}.textareaStack,.textareaStack textarea,.ghostTextLayer{min-height:390px}.textareaStack textarea,.ghostTextLayer{font-size:16px;line-height:1.75}.optionsPanel{display:none}.versions{grid-template-columns:1fr}.documentCard{display:block}.documentActions{margin-top:12px;display:flex}.documentActions>*{flex:1}.statsGrid{grid-template-columns:1fr 1fr}.authModal{padding:22px}}
.textareaStack{isolation:isolate}.textareaStack textarea{caret-color:var(--text);position:relative;z-index:2!important;background:0 0!important}.ghostTextLayer{-webkit-user-select:none;user-select:none;z-index:4!important;pointer-events:none!important;background:0 0!important}.ghostTextSpacer{color:#0000!important}.ghostTextSuggestion{color:#8298b2!important;opacity:1!important}.ghostTextSuggestion small{opacity:1!important}@media (min-width:1200px) and (max-height:1000px){.mainArea{padding-bottom:10px}.topbar{min-height:68px;padding:8px 6px}.topbar h1{font-size:22px}.editorToolbar{min-height:48px;padding:0 14px}.writingArea{height:330px!important;min-height:0!important;padding:18px 22px 8px!important}.textareaStack{flex:0 0 258px;height:258px!important;min-height:0!important}.textareaStack textarea,.ghostTextLayer{height:258px!important;min-height:0!important}.textareaStack textarea{resize:none!important}.editorStatus{min-height:28px}.optionsPanel{gap:8px}.panelCard{padding:11px 12px}.panelTitle{margin-bottom:8px;font-size:15px}.panelCard label{gap:4px;margin:8px 0;font-size:11px}.panelCard select,.settingsCard select{min-height:36px;padding:0 10px}.switchLine{gap:8px}.switchLine small,.contextCard small{font-size:10px;line-height:1.35}.meter{margin:8px 0 6px}.bottomGrid{gap:10px;margin-top:10px}.versionsCard,.historyCard,.impactCard{padding:11px}.version{min-height:178px;padding:12px 10px 10px}.version p{max-height:92px;margin:31px 0 9px}.emptyState{min-height:178px}.metricRow{margin-top:7px}.impactArt{padding:8px 0 4px;font-size:34px}.miniHistory{max-height:190px}}@media (min-width:1200px) and (max-height:820px){.writingArea{height:285px!important}.textareaStack,.textareaStack textarea,.ghostTextLayer{height:216px!important;min-height:0!important}.textareaStack{flex-basis:216px}.panelCard{padding:9px 11px}.panelCard label{margin:6px 0}.bottomGrid{margin-top:8px}}
@media (min-width:861px){.topbar{min-height:70px;padding:9px 6px}.topbar h1{font-size:22px}.editorGrid{grid-template-columns:minmax(0,1fr) 238px;gap:12px}.editorToolbar{gap:11px;min-height:50px;padding:0 14px}.formatActions button{width:34px;height:34px}.editorMeta{gap:10px}.writingArea{min-height:clamp(350px,43vh,430px);padding:18px 22px 8px}.textareaStack,.textareaStack textarea,.ghostTextLayer{min-height:clamp(270px,32vh,340px)}.textareaStack textarea,.ghostTextLayer{line-height:1.72}.correctionToast{border-radius:10px;min-height:44px;margin:6px 0 0;padding:8px 11px}.correctionToast>div{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.correctionToast strong{flex:none;font-size:11px}.correctionToast p{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:11px;overflow:hidden}.correctionToast span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:10px;overflow:hidden}.correctionToast button{flex:none}.editorStatus{border-top:1px solid #eef3f9;min-height:28px;margin-top:6px;padding-top:4px;font-size:10px}.optionsPanel{gap:10px}.panelCard{padding:13px}.panelTitle{margin-bottom:8px;font-size:15px}.panelCard label{gap:5px;margin:9px 0;font-size:11px}.panelCard select{min-height:38px}.bottomGrid{align-items:start;gap:12px;margin-top:12px}.versionsCard,.historyCard,.impactCard{padding:14px}.versionsCard{padding:16px}.sectionHeading{min-height:32px}.versions{gap:12px}.version{min-height:250px;padding:15px 13px 12px}.version p{max-height:168px;margin-top:36px;font-size:12px;line-height:1.65}.versionActions button{min-height:36px;font-size:10px}.historyCard .emptyState{min-height:104px;margin-top:8px;padding:14px}.historyCard .miniHistory{max-height:160px}.metricRow{gap:6px;margin-top:8px}.metricRow>div{padding:8px 5px}.metricRow strong{font-size:15px}.impactArt{display:none}.impactCard p{margin-top:9px;font-size:10px;line-height:1.45}}@media (min-width:1100px){.bottomGrid{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) 300px}.versionsCard{grid-area:1/1/span 2}.historyCard{grid-area:1/2}.impactCard{grid-area:2/2}}@media (min-width:861px) and (max-width:1099px){.bottomGrid{grid-template-columns:1fr 1fr}.versionsCard{grid-column:1/-1}.historyCard,.impactCard{min-height:150px}}@media (min-width:861px) and (max-height:900px){.topbar{min-height:62px;padding:7px 6px}.topbar h1{font-size:20px}.writingArea{min-height:330px;padding-top:14px}.textareaStack,.textareaStack textarea,.ghostTextLayer{min-height:245px}.version{min-height:226px}.version p{max-height:145px}}@media (max-width:860px){.bottomGrid{gap:10px}.versions{grid-template-columns:1fr}.version{min-height:190px}.historyCard .emptyState{min-height:120px}.impactArt{display:none}}@media (max-width:560px){.writingArea{min-height:420px;padding:14px}.textareaStack,.textareaStack textarea,.ghostTextLayer{min-height:325px}.correctionToast{align-items:flex-start;padding:10px 11px}.correctionToast>div{min-width:0}.editorStatus{min-height:30px;margin-top:6px}}
@media (min-width:1100px){.appShell:has(.editorGrid){grid-template-columns:196px minmax(0,1fr)}.appShell:has(.editorGrid) .sidebar{gap:12px;padding:14px}:is(.appShell:has(.editorGrid) .progressCard,.appShell:has(.editorGrid) .learningMini){display:none}.mainArea:has(.editorGrid){grid-template-rows:auto auto auto;grid-template-columns:minmax(0,1fr) 226px;gap:12px;max-width:1720px;padding:0 16px 20px;display:grid}.mainArea:has(.editorGrid)>.topbar{grid-area:1/1/auto/-1;min-height:58px;padding:5px 4px}.mainArea:has(.editorGrid)>.topbar h1{margin-bottom:2px;font-size:20px}.mainArea:has(.editorGrid)>.topbar p{font-size:11px}:is(.mainArea:has(.editorGrid)>.editorGrid,.mainArea:has(.editorGrid)>.bottomGrid){display:contents}.mainArea:has(.editorGrid) .editorCard{grid-area:2/1}.mainArea:has(.editorGrid) .optionsPanel{grid-area:2/2/span 2;align-self:start;gap:9px;position:sticky;top:12px}.mainArea:has(.editorGrid) .versionsCard{grid-area:3/1;margin-top:0;padding:15px}:is(.mainArea:has(.editorGrid) .historyCard,.mainArea:has(.editorGrid) .impactCard){display:none}.mainArea:has(.editorGrid) .editorToolbar{min-height:48px}.mainArea:has(.editorGrid) .writingArea{min-height:clamp(310px,36vh,380px);padding:16px 20px 8px}.mainArea:has(.editorGrid) .textareaStack{width:min(100%,980px);min-height:clamp(230px,27vh,300px);margin:0 auto}.mainArea:has(.editorGrid) .textareaStack textarea{min-height:clamp(230px,27vh,300px)}.mainArea:has(.editorGrid) .ghostTextLayer{min-height:clamp(230px,27vh,300px)}.mainArea:has(.editorGrid) .panelCard{padding:12px}.mainArea:has(.editorGrid) .panelTitle{margin-bottom:7px;font-size:14px}.mainArea:has(.editorGrid) .panelCard label{margin:8px 0;font-size:10px}.mainArea:has(.editorGrid) .panelCard select{min-height:36px;font-size:10px}:is(.mainArea:has(.editorGrid) .contextCard small,.mainArea:has(.editorGrid) .switchLine small){font-size:9px}.mainArea:has(.editorGrid) .versions{gap:12px}.mainArea:has(.editorGrid) .version{min-height:190px}.mainArea:has(.editorGrid) .version p{max-height:116px;font-size:11px}.mainArea:has(.editorCard textarea:placeholder-shown) .versionsCard{padding-bottom:13px}.mainArea:has(.editorCard textarea:placeholder-shown) .versionsCard .sectionHeading button{display:none}.mainArea:has(.editorCard textarea:placeholder-shown) .versions{grid-template-columns:1fr}.mainArea:has(.editorCard textarea:placeholder-shown) .version{display:none}.mainArea:has(.editorCard textarea:placeholder-shown) .version:first-child{background:#fbfdff;border-style:dashed;border-color:#c8d9ec;justify-content:center;min-height:92px;display:flex}:is(.mainArea:has(.editorCard textarea:placeholder-shown) .version:first-child .letter,.mainArea:has(.editorCard textarea:placeholder-shown) .version:first-child .versionActions){display:none}.mainArea:has(.editorCard textarea:placeholder-shown) .version:first-child p{max-height:none;color:var(--muted);text-align:center;align-self:center;margin:0}}@media (min-width:861px) and (max-width:1099px){:is(.mainArea:has(.editorGrid) .historyCard,.mainArea:has(.editorGrid) .impactCard){display:none}.mainArea:has(.editorGrid) .bottomGrid{grid-template-columns:1fr}.mainArea:has(.editorGrid) .textareaStack{width:min(100%,900px);margin:0 auto}}@media (max-width:560px){.mainArea:has(.editorCard textarea:placeholder-shown) .versions{grid-template-columns:1fr}.mainArea:has(.editorCard textarea:placeholder-shown) .version:not(:first-child){display:none}.mainArea:has(.editorCard textarea:placeholder-shown) .version:first-child{background:#fbfdff;border-style:dashed;min-height:92px}.mainArea:has(.editorCard textarea:placeholder-shown) .version:first-child .letter{display:none}.mainArea:has(.editorCard textarea:placeholder-shown) .version:first-child .versionActions{display:none}.mainArea:has(.editorCard textarea:placeholder-shown) .versionsCard .sectionHeading button{display:none}.mainArea:has(.editorCard textarea:placeholder-shown) .version:first-child p{text-align:center;margin:0}}
@media (min-width:861px){.mainArea:has(.editorGrid) .textareaStack{width:min(100%,1120px);margin-left:0;margin-right:auto}.mainArea:has(.editorGrid) .versions{align-items:stretch}.mainArea:has(.editorGrid) .versionItem{flex-direction:column;min-width:0;display:flex}.mainArea:has(.editorGrid) .versionItem .version{flex:1;min-height:220px;padding-bottom:14px}.mainArea:has(.editorGrid) .versionItem .version p{max-height:158px;margin-bottom:0}.mainArea:has(.editorGrid) .versionActions{align-items:center;gap:6px;min-height:34px;margin-top:7px;padding:0 3px;display:flex}.mainArea:has(.editorGrid) .versionActions .copyIconButton{color:#627896;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:0 0 32px;place-items:center;width:32px;height:32px;min-height:32px;padding:0;display:grid}.mainArea:has(.editorGrid) .versionActions .copyIconButton:hover{color:#0875e7;background:#f0f6fc}.mainArea:has(.editorGrid) .copyIconButton svg{width:17px;height:17px}.mainArea:has(.editorGrid) .versionActions .useOriginalButton{color:#0875e7;cursor:pointer;background:0 0;border:0;flex:none;min-height:32px;margin-left:auto;padding:0 8px;font-size:10px;font-weight:600}.mainArea:has(.editorGrid) .versionActions .useOriginalButton:hover{text-underline-offset:3px;text-decoration:underline}}@media (min-width:1100px){.mainArea:has(.editorCard textarea:placeholder-shown) .versions .versionItem{display:none}.mainArea:has(.editorCard textarea:placeholder-shown) .versions .versionItem:first-child{display:flex}.mainArea:has(.editorCard textarea:placeholder-shown) .versions .versionItem:first-child .version{min-height:92px;display:flex}.mainArea:has(.editorCard textarea:placeholder-shown) .versions .versionItem:first-child .versionActions{display:none}}@media (max-width:560px){.versions .versionItem{min-width:0}.versionItem .versionActions{margin-top:6px;padding:0 2px}.versionActions .copyIconButton{color:#56708f;background:#f4f8fc;border:0;border-radius:9px;flex:0 0 38px;place-items:center;width:38px;height:38px;min-height:38px;display:grid}.copyIconButton svg{width:18px;height:18px}.versionActions .useOriginalButton{color:#0875e7;background:0 0;border:0;min-height:38px;margin-left:auto;padding:0 10px;font-weight:600}.mainArea:has(.editorCard textarea:placeholder-shown) .versions .versionItem{display:none}.mainArea:has(.editorCard textarea:placeholder-shown) .versions .versionItem:first-child{display:flex}.mainArea:has(.editorCard textarea:placeholder-shown) .versions .versionItem:first-child .version{display:flex}.mainArea:has(.editorCard textarea:placeholder-shown) .versions .versionItem:first-child .versionActions{display:none}}
@media (min-width:861px) and (max-height:920px){.appShell:has(.editorGrid){grid-template-columns:178px minmax(0,1fr);min-height:100dvh}.appShell:has(.editorGrid) .sidebar{overscroll-behavior:contain;gap:8px;height:100dvh;padding:10px 12px;overflow-y:auto}.appShell:has(.editorGrid) .sidebarLogo{height:42px}.appShell:has(.editorGrid) .sidebarLogo img{width:auto;max-height:36px}.appShell:has(.editorGrid) .sidebarNew{min-height:38px}.appShell:has(.editorGrid) .nav{gap:3px}.appShell:has(.editorGrid) .navItem{border-radius:11px;min-height:38px}:is(.appShell:has(.editorGrid) .progressCard,.appShell:has(.editorGrid) .learningMini){display:none}.appShell:has(.editorGrid) .accountCard{min-height:48px;padding:6px}.appShell:has(.editorGrid) .accountAvatar{width:30px;height:30px}.mainArea:has(.editorGrid){gap:8px 9px;padding:0 12px 12px}.mainArea:has(.editorGrid)>.topbar{min-height:50px;padding:4px 2px}.mainArea:has(.editorGrid)>.topbar h1{font-size:19px}.mainArea:has(.editorGrid)>.topbar p{font-size:10px}.mainArea:has(.editorGrid) .editorToolbar{min-height:44px;padding:0 12px}.mainArea:has(.editorGrid) .formatActions button{width:31px;height:31px}.mainArea:has(.editorGrid) .writingArea{min-height:266px;padding:13px 18px 6px}.mainArea:has(.editorGrid) .textareaStack{min-height:192px}.mainArea:has(.editorGrid) .textareaStack textarea{min-height:192px}.mainArea:has(.editorGrid) .ghostTextLayer{min-height:192px}.mainArea:has(.editorGrid) .textareaStack textarea{line-height:1.62}.mainArea:has(.editorGrid) .ghostTextLayer{line-height:1.62}.mainArea:has(.editorGrid) .editorStatus{min-height:23px;margin-top:4px;padding-top:3px}.mainArea:has(.editorGrid) .correctionToast{min-height:38px;margin-top:4px;padding:6px 9px}.mainArea:has(.editorGrid) .optionsPanel{overscroll-behavior:contain;scrollbar-width:thin;gap:7px;max-height:calc(100dvh - 62px);top:8px;overflow-y:auto}.mainArea:has(.editorGrid) .panelCard{padding:10px}.mainArea:has(.editorGrid) .panelTitle{margin-bottom:5px;font-size:13px}.mainArea:has(.editorGrid) .panelCard label{gap:3px;margin:6px 0;font-size:9px}.mainArea:has(.editorGrid) .panelCard select{min-height:32px;padding:0 9px;font-size:9px}.mainArea:has(.editorGrid) .switchLine{gap:8px}:is(.mainArea:has(.editorGrid) .switchLine small,.mainArea:has(.editorGrid) .contextCard small){font-size:8px;line-height:1.3}.mainArea:has(.editorGrid) .contextCard .meter{margin:7px 0 5px}.mainArea:has(.editorGrid) .versionsCard{padding:11px 12px}.mainArea:has(.editorGrid) .sectionHeading{min-height:28px}.mainArea:has(.editorGrid) .versionItem .version{min-height:168px}.mainArea:has(.editorGrid) .versionItem .version p{max-height:112px;line-height:1.52}.mainArea:has(.editorGrid) .versionActions{min-height:30px;margin-top:4px}}@media (min-width:861px) and (max-height:800px){.appShell:has(.editorGrid){grid-template-columns:166px minmax(0,1fr)}.appShell:has(.editorGrid) .sidebar{gap:6px;padding:8px 10px}.appShell:has(.editorGrid) .sidebarLogo{height:36px}:is(.appShell:has(.editorGrid) .sidebarNew,.appShell:has(.editorGrid) .navItem){min-height:34px}.mainArea:has(.editorGrid)>.topbar{min-height:42px}.mainArea:has(.editorGrid)>.topbar p{display:none}.mainArea:has(.editorGrid) .topActions .iconButton{min-width:36px;min-height:36px}.mainArea:has(.editorGrid) .editorToolbar{min-height:40px}.mainArea:has(.editorGrid) .writingArea{min-height:226px;padding-top:10px}.mainArea:has(.editorGrid) .textareaStack{min-height:158px}.mainArea:has(.editorGrid) .textareaStack textarea{min-height:158px}.mainArea:has(.editorGrid) .ghostTextLayer{min-height:158px}:is(.mainArea:has(.editorGrid) .contextCard small,.mainArea:has(.editorGrid) .switchLine small){display:none}.mainArea:has(.editorGrid) .contextCard .meter{margin-bottom:0}.mainArea:has(.editorGrid) .versionItem .version{min-height:146px}.mainArea:has(.editorGrid) .versionItem .version p{max-height:94px}}@media (min-width:861px) and (max-width:1199px){.editorGrid{grid-template-columns:minmax(0,1fr) 210px;gap:9px}.mainArea:has(.editorGrid) .textareaStack{width:100%;margin-left:0}}@media (max-width:560px){.mainArea:has(.editorGrid){min-height:100dvh}.writingArea{min-height:min(480px,100dvh - 210px)}.textareaStack,.textareaStack textarea,.ghostTextLayer{min-height:min(390px,100dvh - 295px)}}
.editorCopyButton{color:#627896;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:32px;min-width:32px;height:32px;padding:0;display:grid}.editorCopyButton:hover:not(:disabled){color:#0875e7;background:#f0f6fc}.editorCopyButton:disabled{opacity:.35;cursor:default}.editorCopyButton svg{width:17px;height:17px}.ghostTextSuggestion small{white-space:nowrap}@media (max-width:920px){.editorCopyButton{width:30px;min-width:30px;height:30px}}@media (max-width:560px){.editorCopyButton{background:#f4f8fc;border-radius:9px;width:36px;min-width:36px;height:36px}}
.singleSuggestionCard{min-width:0}.variantPagerHeader{background:#f8fbfe;border:1px solid #e2ecf7;border-radius:12px;grid-template-columns:auto minmax(180px,1fr) auto;align-items:center;gap:12px;margin:8px 0 10px;padding:8px 10px;display:grid}.variantNavigation{align-items:center;gap:5px;display:flex}.variantArrow,.variantPage{color:#526b8a;cursor:pointer;background:#fff;border:1px solid #d6e4f2;border-radius:9px;width:32px;min-width:32px;height:32px;font-weight:700}.variantArrow:disabled{opacity:.34;cursor:default}.variantPage.active{color:#0875e7;background:#eaf5ff;border-color:#2c9cff;box-shadow:inset 0 0 0 1px #2c9cff14}.variantPersonalityControl{justify-content:center;align-items:center;gap:8px;min-width:0;display:flex}.variantPersonalityControl span,.variantPageCount{color:#6a7f9c;font-size:10px;font-weight:600}.variantPersonalityControl select{color:#183153;background:#fff;border:1px solid #d6e4f2;border-radius:9px;min-width:132px;height:32px;padding:0 30px 0 10px;font-size:10px;font-weight:600}.variantPageCount{white-space:nowrap}.singleVersionPane{min-width:0}.singleVersionPane .singleVersion{min-height:210px;padding:18px 20px}.singleVersionPane .singleVersion p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:none;margin:8px 0 0;line-height:1.62}.singleVersionActions{align-items:center;gap:8px;min-height:36px;margin-top:6px;padding:0 3px;display:flex}.singleSuggestionCard .versions,.editorMeta .editorCopyButton svg{display:block}@media (min-width:861px) and (max-height:920px){.variantPagerHeader{margin:5px 0 7px;padding:6px 8px}.singleVersionPane .singleVersion{min-height:150px;padding:14px 16px}.singleVersionPane .singleVersion p{line-height:1.52}}@media (max-width:860px){.variantPagerHeader{grid-template-columns:1fr auto}.variantPersonalityControl{grid-area:2/1/auto/-1;justify-content:flex-start}.variantPageCount{justify-self:end}}@media (max-width:560px){.variantPagerHeader{gap:8px;padding:7px}.variantNavigation{gap:4px}.variantArrow,.variantPage{width:36px;min-width:36px;height:36px}.variantPersonalityControl{flex-direction:column;align-items:stretch;gap:4px}.variantPersonalityControl select{width:100%;min-height:38px}.singleVersionPane .singleVersion{min-height:170px;padding:14px}.singleVersionActions{min-height:40px}}
@media (min-width:861px) and (max-height:860px){.mainArea:has(.editorGrid){gap:6px 9px;padding:0 10px 8px}.mainArea:has(.editorGrid)>.topbar{min-height:40px;padding:2px}.mainArea:has(.editorGrid)>.topbar h1{margin:0;font-size:18px}.mainArea:has(.editorGrid)>.topbar p{display:none}.mainArea:has(.editorGrid) .editorToolbar{gap:9px;min-height:40px;padding:0 10px}.mainArea:has(.editorGrid) .editorMeta{gap:8px;font-size:9px}.mainArea:has(.editorGrid) .saveButton{min-height:32px}.mainArea:has(.editorGrid) .writingArea{padding:9px 14px 4px;min-height:218px!important}.mainArea:has(.editorGrid) .textareaStack{min-height:142px!important}.mainArea:has(.editorGrid) .textareaStack textarea{min-height:142px!important}.mainArea:has(.editorGrid) .ghostTextLayer{min-height:142px!important}.mainArea:has(.editorGrid) .textareaStack textarea{line-height:1.55}.mainArea:has(.editorGrid) .ghostTextLayer{line-height:1.55}.mainArea:has(.editorGrid) .correctionToast{border-radius:9px;min-height:32px;margin:3px 0 1px;padding:4px 8px}.mainArea:has(.editorGrid) .correctionToast>div{white-space:nowrap;align-items:center;gap:7px;min-width:0;display:flex}:is(.mainArea:has(.editorGrid) .correctionToast strong,.mainArea:has(.editorGrid) .correctionToast p,.mainArea:has(.editorGrid) .correctionToast span){margin:0;font-size:9px}.mainArea:has(.editorGrid) .correctionToast span{text-overflow:ellipsis;min-width:0;overflow:hidden}.mainArea:has(.editorGrid) .correctionToast button{white-space:nowrap}.mainArea:has(.editorGrid) .editorStatus{min-height:18px;margin-top:2px;font-size:9px}.mainArea:has(.editorGrid) .versionsCard{padding:7px 10px 8px}.mainArea:has(.editorGrid) .versionsCard .sectionHeading{min-height:24px}.mainArea:has(.editorGrid) .versionsCard .sectionHeading small{display:none}.variantPagerHeader{border-radius:10px;gap:8px;margin:3px 0 5px;padding:4px 6px}.variantArrow,.variantPage{border-radius:8px;width:28px;min-width:28px;height:28px}.variantPersonalityControl select{height:28px}.singleVersionPane .singleVersion{max-height:132px;padding:9px 12px;overflow:auto;min-height:104px!important}.singleVersionPane .singleVersion p{margin-top:5px;font-size:10px;line-height:1.45}.singleVersionActions{min-height:28px;margin-top:3px}.mainArea:has(.editorGrid) .optionsPanel{overscroll-behavior:contain;gap:6px;max-height:calc(100dvh - 50px);top:6px;overflow-y:auto}.mainArea:has(.editorGrid) .panelCard{padding:9px 10px}.mainArea:has(.editorGrid) .panelTitle{margin-bottom:4px;font-size:12px}.mainArea:has(.editorGrid) .panelCard label{gap:2px;margin:5px 0;font-size:9px}.mainArea:has(.editorGrid) .panelCard select{min-height:30px;font-size:9px}:is(.mainArea:has(.editorGrid) .switchLine small,.mainArea:has(.editorGrid) .contextCard small){display:none}.mainArea:has(.editorGrid) .contextCard .meter{margin:5px 0 0}}@media (min-width:861px) and (max-height:740px){.mainArea:has(.editorGrid)>.topbar{min-height:34px}.mainArea:has(.editorGrid)>.topbar h1{font-size:16px}.mainArea:has(.editorGrid) .editorToolbar{min-height:36px}.mainArea:has(.editorGrid) .writingArea{padding-top:7px;min-height:178px!important}.mainArea:has(.editorGrid) .textareaStack{min-height:104px!important}.mainArea:has(.editorGrid) .textareaStack textarea{min-height:104px!important}.mainArea:has(.editorGrid) .ghostTextLayer{min-height:104px!important}.mainArea:has(.editorGrid) .correctionToast{min-height:28px;padding-block:3px}.mainArea:has(.editorGrid) .correctionToast span{display:none}.variantPagerHeader{margin-top:2px;margin-bottom:4px}.singleVersionPane .singleVersion{max-height:102px;padding:7px 10px;min-height:82px!important}.singleVersionActions{min-height:26px}}
@media (min-width:861px){.singleSuggestionCard{--version-actions-top:18px;position:relative}.singleSuggestionCard>.sectionHeading{align-items:center;min-height:36px;padding-right:278px;position:relative}.singleSuggestionCard>.sectionHeading>button{white-space:nowrap;position:absolute;top:50%;right:188px;transform:translateY(-50%)}.singleSuggestionCard .singleVersionActions{top:var(--version-actions-top);z-index:4;justify-content:flex-end;align-items:center;gap:6px;width:auto;min-height:30px;margin:0;padding:0;position:absolute;right:10px}.singleSuggestionCard .singleVersionActions .copyIconButton{flex:0 0 30px;width:30px;min-width:30px;height:30px;min-height:30px;padding:0}.singleSuggestionCard .singleVersionActions .useOriginalButton{flex:none;width:auto;min-width:142px;height:30px;min-height:30px;padding:0 12px}.singleSuggestionCard .singleVersionPane{position:static}}@media (min-width:861px) and (max-height:860px){.singleSuggestionCard{--version-actions-top:4px}.singleSuggestionCard>.sectionHeading{min-height:24px}}@media (max-width:860px){.singleSuggestionCard>.sectionHeading{padding-right:0}}
@media (min-width:861px){.mainArea:has(.editorGrid){max-width:1720px;padding:0 14px 14px;display:block!important}.mainArea:has(.editorGrid)>.topbar{min-height:48px}.mainArea:has(.editorGrid)>.editorGrid{grid-template-columns:minmax(0,1fr) 226px;align-items:start;gap:10px;display:grid!important}.editorPrimaryFlow{flex-direction:column;gap:8px;min-width:0;display:flex}:is(.mainArea:has(.editorGrid) .editorCard,.mainArea:has(.editorGrid) .optionsPanel,.mainArea:has(.editorGrid) .versionsCard){grid-area:auto!important}.mainArea:has(.editorGrid) .editorCard{align-self:start;width:100%}.mainArea:has(.editorGrid) .optionsPanel{align-self:start;position:sticky;top:8px}.editorPrimaryFlow>.bottomGrid{margin:0!important;display:block!important}.editorPrimaryFlow .versionsCard{width:100%;margin:0!important;display:block!important}.editorPrimaryFlow .historyCard,.editorPrimaryFlow .impactCard{display:none!important}.singleVersionPane .singleVersion{min-height:clamp(170px,23vh,270px)!important;max-height:none!important}}@media (min-width:861px) and (max-width:1180px){.mainArea:has(.editorGrid)>.editorGrid{grid-template-columns:minmax(0,1fr) 210px}}@media (min-width:861px) and (max-height:860px){.mainArea:has(.editorGrid)>.topbar{min-height:36px}.editorPrimaryFlow{gap:6px}.singleVersionPane .singleVersion{min-height:clamp(145px,20vh,185px)!important;max-height:none!important}}@media (min-width:861px) and (max-height:740px){.singleVersionPane .singleVersion{min-height:clamp(120px,18vh,150px)!important}}@media (max-width:860px){.editorPrimaryFlow{flex-direction:column;gap:10px;min-width:0;display:flex}.editorPrimaryFlow>.bottomGrid{margin-top:0}}
.editorClearButton{border:1px solid var(--border);width:32px;height:32px;color:var(--muted);cursor:pointer;background:#fff;border-radius:9px;place-items:center;transition:all .16s;display:grid}.editorClearButton:hover:not(:disabled){background:var(--soft-blue);color:var(--blue);border-color:#b9dafe}.editorClearButton:disabled{opacity:.35;cursor:not-allowed}.editorClearButton svg{width:17px;height:17px}.clearUndoButton{color:var(--blue);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:2px 5px;font-weight:700}.clearUndoButton:hover{background:var(--soft-blue)}.vocabWord{color:inherit;font:inherit;line-height:inherit;letter-spacing:inherit;cursor:pointer;vertical-align:baseline;background:0 0;border:0;border-radius:4px;padding:0;display:inline}.vocabWord:hover,.vocabWord:focus-visible{background:#fff2df;outline:none;box-shadow:0 0 0 2px #ffd8a5}.vocabPopover{z-index:120;background:#fff;border:1px solid #dbe8f8;border-radius:16px;gap:10px;width:min(360px,100vw - 32px);padding:14px;display:grid;position:fixed;bottom:24px;right:24px;box-shadow:0 18px 50px #0d1b3d2e}.vocabPopoverHeader{align-items:flex-start;gap:10px;display:flex}.vocabPopoverHeader>div{flex:1;min-width:0}.vocabPopoverHeader small{color:var(--muted);margin-bottom:2px;font-size:11px;display:block}.vocabPopoverHeader strong{overflow-wrap:anywhere;font-size:18px}.vocabPopoverClose{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 3px;font-size:19px}.vocabPopoverContext{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.vocabPopoverActions{justify-content:flex-end;gap:8px;display:flex}.vocabLearnButton{background:var(--blue);color:#fff;cursor:pointer;border:0;border-radius:10px;padding:9px 12px;font-weight:750}.vocabLearnButton:disabled{opacity:.55;cursor:wait}.vocabDismissButton{border:1px solid var(--border);color:var(--muted);cursor:pointer;background:#fff;border-radius:10px;padding:9px 11px;font-weight:650}.learningTabs button{cursor:pointer}.learningTabs button:disabled{opacity:.55;cursor:not-allowed}.vocabularyWorkspace{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:16px;display:grid}.vocabularyLibrary,.flashcardStudy{border:1px solid var(--border);background:#fff;border-radius:18px;padding:18px;box-shadow:0 8px 24px #0d1b3d0b}.vocabularyAddCard{background:linear-gradient(135deg,#f7fbff,#fffaf4);border:1px solid #dcecff;border-radius:14px;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);align-items:center;gap:14px;margin:4px 0 14px;padding:13px 14px;display:grid}.vocabularyAddCard b{color:var(--navy);margin-bottom:4px;display:block}.vocabularyAddCard small{color:var(--muted);font-size:11px;line-height:1.45;display:block}.vocabularyAddControls{grid-template-columns:minmax(0,1fr) 68px auto;align-items:center;gap:7px;display:grid}.vocabularyAddControls input,.vocabularyAddControls select{border:1px solid var(--border);min-height:40px;color:var(--text);background:#fff;border-radius:10px;padding:0 11px}.vocabularyAddControls button{background:var(--blue);color:#fff;cursor:pointer;white-space:nowrap;border:0;border-radius:10px;min-height:40px;padding:0 13px;font-weight:750}.vocabularyAddControls button:disabled{opacity:.5;cursor:not-allowed}.vocabularySummary{flex-wrap:wrap;gap:10px;margin-bottom:14px;display:flex}.vocabularySummary>div{background:#f7fbff;border:1px solid #dcecff;border-radius:12px;min-width:100px;padding:10px 12px}.vocabularySummary strong{color:var(--navy);font-size:20px;display:block}.vocabularySummary small{color:var(--muted)}.vocabularyList{gap:8px;display:grid}.vocabularyRow{border:1px solid #e2ebf7;border-radius:12px;grid-template-columns:minmax(110px,.8fr) minmax(180px,1.5fr) auto;align-items:center;gap:12px;padding:11px 12px;display:grid}.vocabularyRow b{font-size:15px}.vocabularyRow p{color:var(--muted);margin:2px 0 0;font-size:12px;line-height:1.4}.vocabularyRowMeta{text-align:right;color:var(--muted);white-space:nowrap;font-size:11px}.vocabularyDelete{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:4px}.flashcardStudy{position:sticky;top:12px}.flashcardFace{text-align:center;background:linear-gradient(#fbfdff,#f5faff);border:1px solid #d9e7f8;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:230px;padding:24px;display:flex}.flashcardFace .difficultySignal{color:#a65a00;background:#fff7ec;border:1px solid #ffd9ac;border-radius:999px;align-items:center;min-height:25px;padding:0 9px;font-size:10px;font-weight:750;display:inline-flex}.flashcardFace .term{color:var(--navy);font-size:30px;font-weight:800}.flashcardFace .meaning{color:var(--navy);font-size:18px;font-weight:700}.flashcardFace .example{color:var(--muted);font-size:14px;line-height:1.5}.flashcardFace .translation{color:#7489a4;font-size:12px}.flashcardReveal{background:var(--blue);color:#fff;cursor:pointer;border:0;border-radius:11px;width:100%;margin-top:12px;padding:11px;font-weight:750}.flashcardRatings{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:12px;display:grid}.flashcardRatings button{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:9px;padding:9px 5px;font-size:11px;font-weight:700}.flashcardRatings button:hover{background:#f6faff;border-color:#b9dafe}.vocabularyEmpty{text-align:center;color:var(--muted);border:1px dashed #cfe0f5;border-radius:14px;padding:32px 16px}@media (max-width:900px){.vocabularyWorkspace{grid-template-columns:1fr}.flashcardStudy{position:static}.vocabPopover{bottom:84px;right:16px}.vocabularyAddCard{grid-template-columns:1fr}}@media (max-width:560px){.vocabularyRow{grid-template-columns:1fr auto}.vocabularyRow>div:nth-child(2){grid-area:2/1/auto/-1}.flashcardRatings{grid-template-columns:repeat(2,1fr)}.editorClearButton{width:30px;height:30px}.vocabularyAddControls{grid-template-columns:minmax(0,1fr) 62px}.vocabularyAddControls button{grid-column:1/-1}.vocabularyAddCard{padding:12px}}
.clarityReview{border:1px solid var(--line);background:#3ba7ff0e;border-radius:14px;align-items:center;gap:10px;margin:8px 0 0;padding:10px 12px;display:flex}.clarityReview .claritySpark{background:var(--blue-soft,#e6f2ff);width:26px;height:26px;color:var(--blue,#238ff2);border-radius:9px;flex:none;place-items:center;font-size:13px;display:grid}.clarityReview .clarityBody{flex:1;min-width:0}.clarityReview .clarityBody b{margin-bottom:2px;font-size:12px;display:block}.clarityReview .clarityBody p{color:var(--text,#0d1b3d);white-space:pre-wrap;margin:0;font-size:12px;line-height:1.45}.clarityReview .clarityBody small{color:var(--muted,#66789f);margin-top:3px;font-size:10px;display:block}.clarityReview .clarityActions{flex:none;align-items:center;gap:6px;display:flex}.clarityReview .clarityActions button{border-radius:9px;min-height:30px;padding:0 10px;font-size:11px}.clarityReview .clarityDismiss{width:30px;color:var(--muted,#66789f);background:0 0;border:1px solid #0000;padding:0!important}@media (max-height:860px) and (min-width:861px){.clarityReview{margin-top:5px;padding:7px 9px}.clarityReview .clarityBody p{font-size:11px}.clarityReview .clarityBody small{display:none}}@media (max-width:560px){.clarityReview{flex-wrap:wrap;align-items:flex-start}.clarityReview .clarityActions{justify-content:flex-end;width:100%}}
:root{--frasia-writing-font-size:17px;--frasia-writing-line-height:1.9;--frasia-writing-letter-spacing:-.01em}.textareaStack textarea,.ghostTextLayer,.singleVersionPane .singleVersion p,.singleVersionPane .singleVersion .vocabWord{font-family:inherit;font-weight:400;font-size:var(--frasia-writing-font-size)!important;line-height:var(--frasia-writing-line-height)!important;letter-spacing:var(--frasia-writing-letter-spacing)!important}.singleVersionPane .singleVersion p{color:var(--text)}.singleVersionPane .singleVersion .vocabWord{color:inherit}.editorSpeechButton,.versionSpeechButton{color:#627896;cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;display:grid}.editorSpeechButton:hover,.versionSpeechButton:hover,.editorSpeechButton.isSpeaking,.versionSpeechButton.isSpeaking{color:#0875e7;background:#eef7ff}.editorSpeechButton svg,.versionSpeechButton svg{width:18px;height:18px}@media (min-width:861px){.singleSuggestionCard>.sectionHeading{padding-right:316px}.singleSuggestionCard>.sectionHeading>button{right:224px}.singleSuggestionCard .singleVersionActions .versionSpeechButton{flex:0 0 30px;width:30px;min-width:30px;height:30px;min-height:30px}}@media (min-width:861px) and (max-height:860px){:root{--frasia-writing-font-size:16px;--frasia-writing-line-height:1.72}}@media (max-width:560px){:root{--frasia-writing-font-size:16px;--frasia-writing-line-height:1.72}.editorSpeechButton,.versionSpeechButton{width:38px;min-width:38px;height:38px;min-height:38px}}
.writingProfileGrid{grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);gap:14px;display:grid}.writingProfileMain,.writingProfileAside{min-width:0}.writingProfileMain{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:0 0 18px 18px;padding:18px}.profileHero{background:linear-gradient(135deg,#f2f8ff,#fbfdff);border:1px solid #cde3fc;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px;display:grid}.profileHero h2{color:var(--navy);margin:0 0 6px;font-size:18px}.profileHero p{color:var(--muted);margin:0;line-height:1.55}.profileConfidence{border:1px solid var(--line);text-align:center;background:#fff;border-radius:12px;min-width:96px;padding:10px 12px}.profileConfidence strong,.profileConfidence small{display:block}.profileConfidence strong{color:#0875e7;font-size:13px}.profileConfidence small{color:var(--muted);margin-top:3px;font-size:9px}.profileMetrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0;display:grid}.profileMetric{border:1px solid var(--line);background:#fbfdff;border-radius:13px;padding:14px}.profileMetric small,.profileMetric strong,.profileMetric span{display:block}.profileMetric small{color:var(--muted);font-size:9px}.profileMetric strong{color:var(--navy);margin-top:6px;font-size:15px}.profileMetric span{color:var(--muted);margin-top:4px;font-size:10px}.profileSection{margin-top:16px}.profileSectionHeader{justify-content:space-between;align-items:end;gap:12px;margin-bottom:8px;display:flex}.profileSectionHeader b{color:var(--navy)}.profileSectionHeader small{color:var(--muted)}.profileChips{flex-wrap:wrap;gap:7px;display:flex}.profileChip{color:#35516f;background:#f8fbfe;border:1px solid #d6e4f2;border-radius:999px;padding:7px 10px;font-size:10px}.profileChip.primary{color:#0875e7;background:#eaf5ff;border-color:#bfddfb}.profileChip.avoided{color:#b96814;background:#fff8ef;border-color:#ffe0c1}.profileEmpty{text-align:center;min-height:110px;color:var(--muted);border:1px dashed #c8d9ec;border-radius:13px;place-content:center;padding:18px;display:grid}.writingProfileAside{align-content:start;gap:12px;display:grid}.profileInsightCard{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:16px;padding:15px}.profileInsightCard h3{color:var(--navy);margin:0 0 8px;font-size:14px}.profileInsightCard p{color:var(--muted);margin:0;font-size:10px;line-height:1.55}.profileStyleBars{gap:8px;margin-top:10px;display:grid}.profileStyleBars>div{color:var(--muted);grid-template-columns:78px minmax(0,1fr) 24px;align-items:center;gap:7px;font-size:9px;display:grid}.profileStyleBars i{background:#eaf1f8;border-radius:99px;height:6px;position:relative;overflow:hidden}.profileStyleBars i:before{content:"";width:var(--bar,0%);border-radius:inherit;background:linear-gradient(90deg, var(--blue), #71c4ff);height:100%;display:block}@media (max-width:920px){.writingProfileGrid{grid-template-columns:1fr}.writingProfileAside{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.profileHero,.profileMetrics,.writingProfileAside{grid-template-columns:1fr}.profileConfidence{text-align:left}}
.topLanguageSwitch{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:3px;min-height:42px;padding:3px;display:flex}.topLanguageSwitch button{min-width:52px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:5px;padding:0 8px;display:flex}.topLanguageSwitch button span{font-size:17px;line-height:1}.topLanguageSwitch button small{font-size:9px;font-weight:700}.topLanguageSwitch button:hover{background:#f4f9ff}.topLanguageSwitch button.active{color:#0875e7;background:#eaf5ff;box-shadow:inset 0 0 0 1px #c7e3ff}.singleSuggestionCard>.sectionHeading{align-items:center;gap:18px;padding-right:0!important}.versionHeaderActions{flex:none;justify-content:flex-end;align-items:center;gap:6px;min-height:32px;margin-left:auto;display:flex}.versionHeaderActions button{cursor:pointer;border-radius:9px;height:30px;min-height:30px;margin:0;position:static!important;top:auto!important;right:auto!important;transform:none!important}.versionHeaderActions .generateAllVersions{color:#0875e7;white-space:nowrap;background:0 0;border:0;padding:0 10px;font-weight:700}.versionHeaderActions .versionSpeechButton,.versionHeaderActions .copyIconButton{background:0 0;border:1px solid #0000;place-items:center;width:30px;min-width:30px;padding:0;display:grid}.versionHeaderActions .copyIconButton svg{width:16px;height:16px}.versionHeaderActions .versionSpeechButton:hover,.versionHeaderActions .copyIconButton:hover{color:#0875e7;background:#eef7ff}.versionHeaderActions .useOriginalButton{color:#0875e7;white-space:nowrap;background:#f7fbff;border:1px solid #d8e7f6;min-width:132px;padding:0 12px;font-size:10px;font-weight:700}.versionHeaderActions button:disabled{opacity:.45;cursor:default}.variantNavigationWrap{align-items:center;gap:8px;min-width:0;display:flex}.variantRegenerateButton{color:#0875e7;cursor:pointer;background:#fff;border:1px solid #cfe1f2;border-radius:9px;place-items:center;width:32px;min-width:32px;height:32px;padding:0;font-size:18px;line-height:1;display:grid}.variantRegenerateButton:hover{background:#eaf5ff;border-color:#8fcbff}.variantRegenerateButton:disabled{opacity:.4;cursor:default}.variantRegenerateButton.isLoading{animation:.8s linear infinite frasiaVersionSpin}@keyframes frasiaVersionSpin{to{transform:rotate(360deg)}}.singleVersionPane{min-width:0;position:relative!important}.singleVersionPane .singleVersion{transition:min-height .2s,max-height .2s}.singleVersionPane .singleVersion p{padding-left:38px;padding-right:28px;margin-top:0!important}.versionExpandButton{z-index:3;color:#55708f;cursor:pointer;background:#fffffff0;border:1px solid #d5e4f3;border-radius:9px;place-items:center;width:30px;height:30px;padding:0;font-size:16px;display:grid;position:absolute;bottom:10px;right:10px;box-shadow:0 4px 12px #2c5a8c14}.versionExpandButton:hover{color:#0875e7;background:#eef7ff;border-color:#9fd2ff}.singleVersionPane.isExpanded .singleVersion{overflow:auto;min-height:min(52dvh,560px)!important;max-height:none!important}@media (min-width:861px) and (min-height:861px){.singleVersionPane .singleVersion{min-height:clamp(220px,28dvh,350px)}}@media (min-width:861px) and (max-height:860px){.mainArea:has(.editorGrid) .topLanguageSwitch{min-height:34px}.mainArea:has(.editorGrid) .topLanguageSwitch button{min-width:45px;height:28px;padding-inline:6px}.mainArea:has(.editorGrid) .topLanguageSwitch button span{font-size:15px}.versionHeaderActions{min-height:30px}.versionHeaderActions button{height:28px;min-height:28px}.versionHeaderActions .versionSpeechButton,.versionHeaderActions .copyIconButton{width:28px;min-width:28px}.versionHeaderActions .useOriginalButton{min-width:126px}.variantRegenerateButton{width:28px;min-width:28px;height:28px;font-size:16px}.singleVersionPane .singleVersion{max-height:214px;min-height:158px!important;padding:10px 12px!important}.singleVersionPane .singleVersion p{padding-left:36px;padding-right:28px}.singleVersionPane.isExpanded .singleVersion{max-height:none;min-height:min(46dvh,390px)!important}}@media (min-width:861px) and (max-height:740px){.singleVersionPane .singleVersion{max-height:150px;min-height:110px!important}.singleVersionPane.isExpanded .singleVersion{max-height:none;min-height:min(42dvh,300px)!important}}@media (max-width:860px){.topLanguageSwitch button{min-width:48px}.singleSuggestionCard>.sectionHeading{flex-direction:column;align-items:flex-start;gap:8px}.versionHeaderActions{flex-wrap:wrap;justify-content:flex-start;width:100%;margin-left:0}.versionHeaderActions .useOriginalButton{margin-left:auto}.variantPagerHeader{grid-template-columns:1fr auto}.variantNavigationWrap{min-width:0}.singleVersionPane .singleVersion p{padding-left:36px;padding-right:24px}}@media (max-width:560px){.topActions{align-items:center}.topLanguageSwitch{min-height:38px}.topLanguageSwitch button{min-width:40px;height:32px;padding-inline:5px}.topLanguageSwitch button small{display:none}.versionHeaderActions{gap:5px}.versionHeaderActions .generateAllVersions{padding-inline:6px}.versionHeaderActions .useOriginalButton{min-width:118px}.variantNavigationWrap{gap:5px}.variantRegenerateButton{width:36px;min-width:36px;height:36px}.singleVersionPane .singleVersion p{padding-left:34px;padding-right:24px}.versionExpandButton{width:34px;height:34px}}
.smartContextMenu{z-index:80;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);width:min(330px,100vw - 24px);max-height:min(520px,100dvh - 24px);color:var(--text);background:#fffffffa;border:1px solid #d9e6f4;border-radius:16px;position:fixed;overflow:auto;box-shadow:0 20px 50px #193d652e,0 3px 10px #193d6514}.smartContextHeader{z-index:2;background:#fffffff7;border-bottom:1px solid #e8f0f8;justify-content:space-between;align-items:flex-start;gap:10px;padding:13px 14px 11px;display:flex;position:sticky;top:0}.smartContextHeader>div{gap:3px;min-width:0;display:grid}.smartContextHeader small{color:#7488a3;font-size:9px;font-weight:600}.smartContextHeader strong{text-overflow:ellipsis;white-space:nowrap;color:var(--navy);font-size:12px;overflow:hidden}.smartContextClose{color:#69809c;cursor:pointer;background:0 0;border:0;border-radius:8px;width:28px;height:28px}.smartContextClose:hover{color:#173253;background:#f0f6fc}.smartContextActions{padding:7px;display:grid}.smartContextAction{color:#203a5e;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:9px;min-height:38px;padding:0 10px;font-size:11px;display:flex}.smartContextAction:hover{background:#f1f7fd}.smartContextAction:disabled{opacity:.45;cursor:default}.smartContextAction .smartActionIcon{color:#0875e7;text-align:center;width:20px;font-size:14px}.smartContextAction.dangerlessUndo{color:#9c5a17}.smartContextAction.dangerlessUndo .smartActionIcon{color:#d97706}.smartContextDivider{background:#e8f0f8;height:1px;margin:5px 7px}.smartContextLoading{color:#66809f;align-items:center;gap:8px;padding:13px 14px;font-size:10px;display:flex}.smartContextLoading:before{content:"";border:2px solid #d8e9f8;border-top-color:#1686f2;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite smartActionSpin}@keyframes smartActionSpin{to{transform:rotate(360deg)}}.smartContextResult{background:#f8fbfe;border:1px solid #dceaf7;border-radius:12px;margin:0 7px 7px;padding:11px}.smartContextResult>small{color:#0875e7;margin-bottom:6px;font-size:9px;font-weight:700;display:block}.smartContextResult p{color:#203a5e;white-space:pre-wrap;margin:0;font-size:11px;line-height:1.55}.smartContextReason{color:#6b809c;margin-top:7px;font-size:9px;line-height:1.45;display:block}.smartContextResultActions{gap:7px;margin-top:10px;display:flex}.smartContextResultActions button{color:#0875e7;cursor:pointer;background:#fff;border:1px solid #cfe1f2;border-radius:9px;min-height:32px;padding:0 11px;font-size:10px;font-weight:700}.smartContextResultActions button:first-child{color:#fff;background:#0875e7;border-color:#0875e7}.smartSynonymList{gap:5px;margin-top:8px;display:grid}.smartSynonymButton{text-align:left;cursor:pointer;background:#fff;border:1px solid #e0eaf5;border-radius:9px;width:100%;padding:8px 9px}.smartSynonymButton:hover{background:#f4faff;border-color:#a7d5ff}.smartSynonymButton b{color:#16365b;font-size:11px;display:block}.smartSynonymButton small{color:#72869f;margin-top:3px;font-size:9px;line-height:1.4;display:block}.smartContextBadge{color:#0875e7;background:#eaf5ff;border-radius:999px;align-items:center;min-height:19px;padding:0 7px;font-size:8px;font-weight:700;display:inline-flex}@media (max-width:560px){.smartContextMenu{border-radius:18px;width:auto;max-height:min(62dvh,520px);bottom:10px;right:10px;top:auto!important;left:10px!important}.smartContextAction{min-height:44px;font-size:12px}.smartContextHeader{padding:14px}.smartContextResult{padding:12px}}
.smartContextAction.smartContextPrimary{color:#fff;background:linear-gradient(135deg,#0875e7,#2798ff);border:1px solid #0875e738;min-height:50px;margin:2px 0 6px;padding:7px 11px;box-shadow:0 7px 18px #0875e72e}.smartContextAction.smartContextPrimary:hover{background:linear-gradient(135deg,#066bd3,#168af0);box-shadow:0 9px 22px #0875e73d}.smartContextAction.smartContextPrimary .smartActionIcon{color:#fff;font-size:16px}.smartActionLabel{gap:1px;min-width:0;display:grid}.smartActionLabel b{font-size:12px;font-weight:700;line-height:1.2}.smartActionLabel small{color:#ffffffd1;font-size:9px;font-weight:500;line-height:1.25}.smartContextResult.isRephrase{background:linear-gradient(#f8fcff,#f1f8ff);border-color:#c6e2ff}.smartContextResult.isRephrase>small{color:#0875e7;font-size:10px}@media (max-width:560px){.smartContextAction.smartContextPrimary{min-height:54px}.smartActionLabel b{font-size:13px}.smartActionLabel small{font-size:10px}}
.writingAssistsCard{gap:0;display:grid}.writingAssistsCard .panelTitle{margin-bottom:4px}.assistDivider{background:#e7eef6;height:1px;margin:8px 0}.translationQuickButton{color:#0875e7;width:100%;min-height:38px;font:inherit;cursor:pointer;background:#f4faff;border:1px solid #bfdfff;border-radius:11px;margin-top:11px;font-size:11px;font-weight:700}.translationQuickButton:hover:not(:disabled){background:#eaf5ff;border-color:#8bc7ff}.translationQuickButton:disabled{opacity:.45;cursor:default}.editorMoreWrap{display:inline-flex;position:relative}.editorMoreButton{color:#55718f;letter-spacing:1px;cursor:pointer;background:0 0;border:0;border-radius:8px;width:30px;height:30px;font-size:14px}.editorMoreButton:hover,.editorMoreButton[aria-expanded=true]{color:#173b62;background:#eef5fc}.editorMoreMenu{z-index:40;background:#fff;border:1px solid #d9e6f4;border-radius:12px;width:220px;padding:6px;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 14px 34px #193d652b}.editorMoreMenu button{color:#6f4a26;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:9px;width:100%;min-height:48px;padding:7px 9px;display:flex}.editorMoreMenu button:hover:not(:disabled){background:#fff7ee}.editorMoreMenu button:disabled{opacity:.4;cursor:default}.editorMoreMenu svg{flex:0 0 17px;width:17px;height:17px}.editorMoreMenu span{gap:2px;display:grid}.editorMoreMenu b{font-size:11px}.editorMoreMenu small{color:#8c7a69;font-size:8px;line-height:1.35}.translationPreviewCard{background:linear-gradient(#f8fcff 0%,#f2f8ff 100%);border:1px solid #c9e3ff;border-radius:14px;margin:10px 0 2px;padding:13px 14px;box-shadow:0 5px 16px #0875e70f}.translationPreviewTop{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.translationPreviewTop>div{gap:2px;display:grid}.translationPreviewTop span{color:#0875e7;text-transform:uppercase;letter-spacing:.04em;font-size:9px;font-weight:800}.translationPreviewTop b{color:#173b62;font-size:11px}.translationPreviewTop>button{color:#6b809c;cursor:pointer;background:0 0;border:0;font-size:18px;line-height:1}.translationPreviewText{white-space:pre-wrap;overflow-wrap:anywhere;color:#233e61;max-height:220px;margin-top:10px;font-size:12px;line-height:1.65;overflow:auto}.translationPreviewActions{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.translationPreviewActions button{color:#0875e7;cursor:pointer;background:#fff;border:1px solid #cfe1f2;border-radius:9px;align-items:center;gap:5px;min-height:32px;padding:0 11px;font-size:10px;font-weight:700;display:inline-flex}.translationPreviewActions button.translationApply{color:#fff;background:#0875e7;border-color:#0875e7}.translationPreviewActions button.isSpeaking{background:#eaf5ff}.translationPreviewActions svg{width:15px;height:15px}.translationPreviewCard>small{color:#71869f;margin-top:8px;font-size:8px;display:block}.smartContextAction.smartTranslateAction{color:#1268b8;background:#f4faff}.smartContextAction.smartTranslateAction:hover{background:#e7f4ff}.smartContextAction.smartTranslateAction .smartActionIcon{color:#0b82ed}.smartContextResult.isTranslation{background:linear-gradient(#fafdff,#f2f8ff);border-color:#c9e3ff}.smartContextResult.isTranslation>small{color:#0875e7}@media (max-width:560px){.editorMoreMenu{width:auto;position:fixed;inset:auto 12px 72px}.translationPreviewCard{padding:12px}.translationPreviewText{max-height:180px;font-size:12px}.translationPreviewActions button{min-height:38px}.translationQuickButton{min-height:42px}}
:is(.smartContextMenu:has(.smartContextLoading) .smartContextActions,.smartContextMenu:has(.smartContextResult) .smartContextActions){display:none}:is(.smartContextMenu:has(.smartContextLoading),.smartContextMenu:has(.smartContextResult)){max-height:min(440px,100dvh - 24px)}.smartContextLoading{color:#365b7f;background:linear-gradient(#f8fcff 0%,#f2f8ff 100%);min-height:76px;padding:18px 16px;font-size:11px;font-weight:600}.smartContextResult{max-height:min(310px,100dvh - 170px);margin:10px;overflow:auto}.smartContextResult.isRephrase{background:linear-gradient(#fafdff 0%,#eef7ff 100%);border-color:#a9d5ff;box-shadow:0 6px 18px #0875e714}.smartContextResult.isRephrase>small{color:#0875e7}.writingArea:has(.translationPreviewCard) .translationPreviewCard{z-index:12;background:linear-gradient(#fff 0%,#f2f8ff 100%);border:2px solid #8bc7ff;flex:none;order:-1;min-height:166px;max-height:none;margin:0 0 14px;position:sticky;top:8px;overflow:visible;box-shadow:0 18px 42px #0875e729}.writingArea:has(.translationPreviewCard) .translationPreviewTop{align-items:center}.writingArea:has(.translationPreviewCard) .translationPreviewTop span{font-size:10px}.writingArea:has(.translationPreviewCard) .translationPreviewTop b{font-size:13px}.writingArea:has(.translationPreviewCard) .translationPreviewText{color:#0d1b3d;background:#fff;border:1px solid #d9ecff;border-radius:11px;flex:none;min-height:64px;max-height:min(210px,30dvh);padding:10px 12px;font-size:14px;line-height:1.65;display:block;overflow:auto}.writingArea:has(.translationPreviewCard) .translationPreviewActions{flex:none;margin-top:10px}.writingArea:has(.translationPreviewCard) .translationPreviewActions button{min-height:38px;font-size:11px}.writingArea:has(.translationPreviewCard) .textareaStack{min-height:150px}@media (max-width:560px){:is(.smartContextMenu:has(.smartContextLoading) .smartContextActions,.smartContextMenu:has(.smartContextResult) .smartContextActions){display:none}.smartContextResult{max-height:min(42dvh,300px)}.writingArea:has(.translationPreviewCard) .translationPreviewCard{min-height:180px;padding:12px;position:relative;top:auto}.writingArea:has(.translationPreviewCard) .translationPreviewText{max-height:min(32dvh,240px);font-size:13px}}.singleVersion.isTranslationVersion{background:linear-gradient(#fff 0%,#f3faff 100%);border-color:#8bc7ff;box-shadow:inset 0 0 0 1px #3ba7ff2e}.singleVersion.isTranslationVersion p{color:#0d1b3d;margin-top:46px}.translationVersionBadge{color:#0875e7;text-transform:uppercase;letter-spacing:.04em;background:#f4faff;border:1px solid #bfdfff;border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:9px;font-weight:800;display:inline-flex;position:absolute;top:12px;left:48px}
.versionsCard>.versionError{border:1px solid var(--orange);background:var(--cream);max-width:100%;color:var(--navy);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:12px;margin:12px 0;padding:12px 14px;font-size:14px;line-height:1.5;display:block;position:static}.singleVersionPane .singleVersion.isTranslationVersion{flex-flow:wrap;align-content:flex-start;align-items:flex-start;gap:10px 8px}.singleVersion.isTranslationVersion>.letter,.singleVersion.isTranslationVersion>.translationVersionBadge{flex:none;position:static}.singleVersion.isTranslationVersion>.translationVersionBadge{overflow-wrap:anywhere;max-width:100%}.singleVersionPane .singleVersion.isTranslationVersion>p{flex:0 0 100%;min-width:0;padding-left:0;padding-right:38px;margin:0!important}.appShell :is(button,a,select,textarea,input):focus-visible,.authModal :is(button,input):focus-visible,.smartContextMenu button:focus-visible,.vocabPopover button:focus-visible{outline:3px solid var(--navy);outline-offset:3px}@media (prefers-reduced-motion:reduce){.variantRegenerateButton.isLoading,.smartContextLoading:before{animation:none}.singleVersionPane .singleVersion{transition:none}}@media (max-width:560px){:root{--frasia-mobile-nav-height:calc(84px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:calc(var(--frasia-mobile-nav-height) + 16px)}.appShell>.sidebar{border:0;flex-direction:column;gap:0;width:100%;height:auto;padding:10px;display:flex;position:static}.sidebar>.accountCard{min-height:62px;display:flex}.sidebar .accountAvatar{flex-shrink:0}.sidebar .accountCard b{font-size:13px}.sidebar .accountCard small{font-size:11px}.sidebar .accountCard>button{flex:0 0 44px;width:44px;height:44px}.sidebar>.nav{z-index:20;height:var(--frasia-mobile-nav-height);padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));background:var(--surface);border-top:1px solid var(--line);grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;display:grid;position:fixed;inset:auto 0 0}.sidebar .nav>.navItem{text-align:center;overflow-wrap:anywhere;flex-direction:column;justify-content:center;gap:4px;width:auto;min-width:44px;height:auto;min-height:60px;padding:4px 2px;font-size:10px;line-height:14px;display:flex}.sidebar .navItem svg{flex:0 0 20px;width:20px;height:20px}.appShell>.mainArea{padding-bottom:calc(var(--frasia-mobile-nav-height) + 16px)}.mainArea>.topbar,.editorToolbar,.formatActions,.editorStatus{flex-wrap:wrap}.mainArea>.topbar>div{min-width:0}.topActions{flex-wrap:wrap}.editorToolbar{gap:8px;padding:10px}.formatActions{max-width:100%}.editorToolbar>.editorMeta{border-top:1px solid var(--line);flex-wrap:wrap;flex:1 0 100%;gap:8px;min-width:0;margin-left:0;padding-top:8px;display:flex}.editorMeta>span{overflow-wrap:anywhere}.editorMeta>span:nth-child(3){flex-basis:100%}.editorMeta>.saveButton{margin-left:auto}.editorStatus{overflow-wrap:anywhere}.editorGrid>.optionsPanel{grid-template-columns:minmax(0,1fr);min-width:0;display:grid;position:static}.appShell .mainArea button:not(.vocabWord),.appShell .mainArea select,.appShell .mainArea :is(.primaryLink,.documentActions a),.authModal button,.smartContextMenu button,.vocabPopover button{min-width:44px;min-height:44px}.appShell .mainArea :is(input,select),.authModal input{min-height:44px;font-size:16px}.mainArea:has(.editorCard textarea:placeholder-shown) .versionsCard .versionHeaderActions button{justify-content:center;align-items:center;display:inline-flex}.versionHeaderActions{gap:8px;min-width:0}.versionHeaderActions button{height:auto}.versionHeaderActions>span{max-width:100%;white-space:normal!important}.versionHeaderActions .toggle{border-radius:999px;flex:0 0 48px}.switchLine>div{min-width:0}.switchLine>.toggle{flex:0 0 48px}.variantPagerHeader{grid-template-columns:minmax(0,1fr)}.variantNavigationWrap,.variantNavigation{flex-wrap:wrap}.variantPageCount{white-space:normal;overflow-wrap:anywhere;justify-self:start}.singleVersionPane{flex-direction:column;gap:8px;display:flex}.singleVersionPane>.versionExpandButton{align-self:flex-end;position:static}.singleVersionPane .singleVersion>p,.singleVersionPane .singleVersion.isTranslationVersion>p{padding-right:0}.editorMoreWrap .editorMoreMenu,.vocabPopover,.smartContextMenu{bottom:calc(var(--frasia-mobile-nav-height) + 12px);max-height:calc(100dvh - var(--frasia-mobile-nav-height) - 24px);overscroll-behavior:contain;overflow-y:auto}.smartContextMenu:has(.smartContextLoading){bottom:calc(var(--frasia-mobile-nav-height) + 12px);max-height:calc(100dvh - var(--frasia-mobile-nav-height) - 24px);overscroll-behavior:contain;overflow-y:auto}.smartContextMenu:has(.smartContextResult){bottom:calc(var(--frasia-mobile-nav-height) + 12px);max-height:calc(100dvh - var(--frasia-mobile-nav-height) - 24px);overscroll-behavior:contain;overflow-y:auto}.smartContextResultActions,.vocabPopoverActions,.settingsFooter{flex-wrap:wrap}.authModal{overscroll-behavior:contain;max-height:calc(100dvh - 36px);overflow-y:auto}}
