:root{color:#111827;font-synthesis:none;text-rendering:optimizelegibility;--blue:#155fc8;--blue-strong:#0c56b4;--blue-soft:#edf4ff;--green:#18a66a;--text:#151922;--muted:#687181;--line:#dfe4eb;--line-strong:#cfd6df;--surface:#fff;--soft:#f8fafc;--shadow:0 8px 30px #121b2614;background:#f7f8fb;font-family:Inter,Noto Sans SC,Noto Sans Lao,PingFang SC,Microsoft YaHei,Arial,sans-serif}*{box-sizing:border-box}html{background:#f7f8fb;min-width:320px;min-height:100%}body{-webkit-font-smoothing:antialiased;min-width:320px;min-height:100vh;margin:0}button,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}.hidden-file-input{display:none}button:disabled{cursor:not-allowed;opacity:.72}.app-shell{width:min(100vw,430px);min-height:100vh;padding:14px 8px calc(18px + env(safe-area-inset-bottom));background:var(--surface);color:var(--text);margin:0 auto}.auth-entry-shell{width:min(100vw,430px);min-height:100vh;padding:24px 18px calc(24px + env(safe-area-inset-bottom));color:var(--text);background:linear-gradient(#f4f8ff 0%,#fff 44%),#fff;margin:0 auto}.settings-shell{width:min(100vw,430px);min-height:100vh;padding:14px 14px calc(22px + env(safe-area-inset-bottom));background:var(--surface);color:var(--text);margin:0 auto}.app-shell.theme-dark{--text:#f3f7fb;--muted:#aab5c4;--line:#2d3747;--line-strong:#3a4658;--surface:#101722;--soft:#151e2b;--blue-soft:#132945;background:var(--surface);color:var(--text)}.auth-entry-shell.theme-dark{--text:#f3f7fb;--muted:#aab5c4;--line:#2d3747;--line-strong:#3a4658;--surface:#101722;--soft:#151e2b;--blue-soft:#132945;color:var(--text);background:linear-gradient(#132945 0%,#101722 45%)}.settings-shell.theme-dark{--text:#f3f7fb;--muted:#aab5c4;--line:#2d3747;--line-strong:#3a4658;--surface:#101722;--soft:#151e2b;--blue-soft:#132945;background:var(--surface);color:var(--text)}.app-shell.theme-dark h1,.auth-entry-shell.theme-dark h1,.settings-shell.theme-dark .settings-topbar strong,.settings-shell.theme-dark .record-item strong,.settings-shell.theme-dark .account-card strong,.settings-shell.theme-dark .auth-intro strong,.app-shell.theme-dark .translated-text,.app-shell.theme-dark .vocabulary h2,.app-shell.theme-dark .scene-summary strong,.app-shell.theme-dark .drawer-header h2,.app-shell.theme-dark .record-item strong,.app-shell.theme-dark .menu-intro strong,.app-shell.theme-dark .menu-feature-item strong{color:var(--text)}.app-shell.theme-dark .scene-card,.app-shell.theme-dark .language-switch,.app-shell.theme-dark .input-panel,.app-shell.theme-dark .result-panel,.app-shell.theme-dark .file-panel,.app-shell.theme-dark .image-status,.app-shell.theme-dark .bottom-drawer,.app-shell.theme-dark .drawer-header,.app-shell.theme-dark .menu-feature-item,.app-shell.theme-dark .record-item,.app-shell.theme-dark .drawer-scene-item,.app-shell.theme-dark .empty-list,.app-shell.theme-dark .account-card,.app-shell.theme-dark .auth-intro,.app-shell.theme-dark .word-head,.app-shell.theme-dark .file-actions button,.settings-shell.theme-dark .menu-intro,.settings-shell.theme-dark .menu-feature-item,.settings-shell.theme-dark .record-item,.settings-shell.theme-dark .empty-list,.settings-shell.theme-dark .account-card,.settings-shell.theme-dark .auth-intro{background:var(--soft);color:var(--text)}.app-shell.theme-dark .scene-card.is-selected,.app-shell.theme-dark .drawer-scene-item.is-selected,.app-shell.theme-dark .active-mode,.app-shell.theme-dark .menu-intro{background:#132945}.app-shell.theme-dark textarea,.app-shell.theme-dark .language-side,.app-shell.theme-dark .swap-button,.app-shell.theme-dark .panel-label-row button,.app-shell.theme-dark .icon-button,.app-shell.theme-dark .input-footer button,.app-shell.theme-dark .image-status strong,.app-shell.theme-dark .auth-form input,.app-shell.theme-dark .word-row span,.app-shell.theme-dark .lao-cell{color:var(--text)}.app-shell.theme-dark .tone-note,.app-shell.theme-dark .panel-label-row,.app-shell.theme-dark .result-heading,.app-shell.theme-dark .reading-box,.app-shell.theme-dark .reading-box p,.app-shell.theme-dark .record-item p,.app-shell.theme-dark .image-status small,.app-shell.theme-dark .menu-intro p,.app-shell.theme-dark .menu-feature-item small,.app-shell.theme-dark .account-card small,.app-shell.theme-dark .auth-intro p,.app-shell.theme-dark .auth-form label{color:var(--muted)}.app-shell.theme-dark .auth-form input{border-color:var(--line-strong);background:#101722}.auth-entry-shell.theme-dark .auth-entry-card,.auth-entry-shell.theme-dark .auth-choice-card,.auth-entry-shell.theme-dark .auth-intro{border-color:var(--line);background:var(--soft)}.auth-entry-shell.theme-dark .auth-choice-card strong,.auth-entry-shell.theme-dark .auth-intro strong{color:var(--text)}.auth-entry-shell.theme-dark .auth-choice-card small,.auth-entry-shell.theme-dark .auth-intro p,.auth-entry-shell.theme-dark .auth-entry-brand p,.auth-entry-shell.theme-dark .auth-entry-note,.auth-entry-shell.theme-dark .auth-form label{color:var(--muted)}.auth-entry-shell.theme-dark .auth-form input{border-color:var(--line-strong);color:var(--text);background:#101722}.settings-shell.theme-dark .settings-topbar span,.settings-shell.theme-dark .menu-intro p,.settings-shell.theme-dark .menu-feature-item small,.settings-shell.theme-dark .record-item p,.settings-shell.theme-dark .record-item span,.settings-shell.theme-dark .record-item time,.settings-shell.theme-dark .account-card small,.settings-shell.theme-dark .auth-intro p,.settings-shell.theme-dark .auth-form label,.settings-shell.theme-dark .empty-list{color:var(--muted)}.settings-shell.theme-dark .settings-topbar button{color:var(--text);background:#202b3a}.settings-shell.theme-dark .menu-message{color:#b9d7ff;background:#132945;border-color:#284b7a}.settings-shell.theme-dark .auth-form input{border-color:var(--line-strong);color:var(--text);background:#101722}.settings-shell.theme-dark .auth-message{color:#b9d7ff;background:#132945;border-color:#284b7a}.settings-shell.theme-dark .auth-message.is-error{color:#ffb8b8;background:#301b1f;border-color:#6d3030}.app-shell.theme-dark .drawer-header button{color:var(--text);background:#202b3a}.top-bar{grid-template-columns:84px 1fr 84px;align-items:start;gap:6px;min-height:58px;display:grid}.settings-topbar{grid-template-columns:42px 1fr 42px;align-items:center;min-height:54px;display:grid}.settings-topbar button{color:#111827;cursor:pointer;background:#f2f6fb;border:0;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.settings-topbar div{justify-items:center;gap:3px;display:grid}.settings-topbar strong{color:#080b10;font-size:21px;font-weight:820;line-height:1.1}.settings-topbar span{color:#697386;font-size:12px;line-height:1.2}.settings-content{gap:10px;padding-top:12px;display:grid}.brand-lockup{justify-items:center;gap:6px;display:grid}h1{color:#080b10;letter-spacing:0;margin:0;font-size:24px;font-weight:800;line-height:1}.auth-entry{min-height:calc(100vh - 48px - env(safe-area-inset-bottom));align-content:center;gap:24px;display:grid}.auth-entry-brand{text-align:center;justify-items:center;gap:9px;display:grid}.auth-entry-mark{color:#fff;background:linear-gradient(#1768cf 0%,#0d57b7 100%);border-radius:16px;justify-content:center;align-items:center;width:58px;height:58px;display:inline-flex;box-shadow:0 12px 28px #155fc838}.brand-logo path{fill:none;stroke:currentColor;stroke-width:4.8px;stroke-linecap:round;stroke-linejoin:round}.brand-logo text{fill:currentColor;letter-spacing:0;font-family:PingFang SC,Noto Sans Lao,Noto Sans SC,Arial,sans-serif;font-size:24px;font-weight:800}.auth-entry-brand h1{font-size:29px;line-height:1.05}.auth-entry-brand p,.auth-entry-note{color:#657184;margin:0;font-size:14px;line-height:1.45}.auth-choice-list{gap:10px;display:grid}.auth-choice-card{border:1px solid var(--line);color:#1b2432;text-align:left;cursor:pointer;background:#fff;border-radius:10px;grid-template-columns:42px 1fr;align-items:center;gap:12px;min-height:76px;padding:14px;display:grid;box-shadow:0 8px 24px #121b260d}.auth-choice-card.is-primary{background:#f7fbff;border-color:#a9c7f3}.auth-choice-card>svg{color:var(--blue)}.auth-choice-card span{gap:4px;min-width:0;display:grid}.auth-choice-card strong{color:#111827;font-size:16px;font-weight:820;line-height:1.25}.auth-choice-card small{color:#657184;font-size:13px;line-height:1.35}.auth-entry-card{border:1px solid var(--line);background:#fff;border-radius:12px;gap:9px;padding:12px;display:grid;box-shadow:0 14px 38px #121b2614}.auth-back-button{min-height:34px;color:var(--blue);cursor:pointer;background:#eef4ff;border:0;border-radius:8px;justify-self:start;padding:0 9px;font-size:13px;font-weight:760}.auth-entry-card .auth-panel{max-height:none;padding:0}.auth-entry-note{text-align:center}.active-mode{min-height:26px;color:var(--blue);cursor:pointer;background:#eef4ff;border:0;border-radius:14px;align-items:center;gap:6px;padding:3px 11px;font-size:12px;font-weight:700;display:inline-flex}.top-actions{justify-content:flex-end;gap:8px;display:flex}.icon-button{color:#0d1117;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;display:inline-flex}.icon-button.is-active{color:var(--blue)}.icon-button:hover{background:#f2f5f8}.scene-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:0;display:grid}.scene-card{border:1px solid var(--line-strong);color:#4c5562;cursor:pointer;background:#fff;border-radius:7px;align-content:center;justify-items:center;gap:4px;min-height:56px;padding:5px 4px;display:grid}.scene-card strong{letter-spacing:0;font-size:12px;font-weight:750;line-height:1.1}.scene-card span{color:#7b8290;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:10px;line-height:1.2;overflow:hidden}.scene-card svg{width:22px;height:22px}.top-bar svg{width:24px;height:24px}.active-mode svg{width:15px;height:15px}.scene-card.is-selected{border:2px solid var(--blue);color:var(--blue);background:linear-gradient(#f7fbff 0%,#fff 100%)}.scene-card.is-selected span{color:var(--blue)}.tone-note{color:#606979;justify-content:center;align-items:center;gap:7px;min-height:28px;font-size:13px;line-height:1.3;display:flex}.language-switch{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:1fr 56px 1fr;align-items:center;min-height:42px;display:grid;overflow:hidden}.language-side,.swap-button{color:#151922;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;min-height:42px;font-size:15px;font-weight:760;display:flex}.language-side{flex-direction:column;gap:3px}.language-dot{border-radius:999px;width:8px;height:8px}.blue-dot{background:#1d69d8}.green-dot{background:#17a56c}.swap-button{color:#0f172a}.input-panel,.result-panel,.file-panel{border:1px solid var(--line);background:#fff;border-radius:8px;margin-top:7px;box-shadow:0 2px 12px #121b2605}.input-panel{min-height:128px;padding:11px 14px 9px}.panel-label-row,.result-heading{color:#5d6675;justify-content:space-between;align-items:center;gap:10px;font-size:14px;display:flex}.panel-label-row button{color:#343a45;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}textarea{resize:none;color:#0a0d12;background:0 0;border:0;outline:0;width:100%;min-height:58px;margin-top:6px;padding:0;font-size:16px;font-weight:520;line-height:1.48;display:block}textarea::placeholder{color:#a1a8b2}.input-footer{border-top:1px solid var(--line);color:#7a8391;justify-content:space-between;align-items:center;gap:10px;padding-top:7px;font-size:13px;display:flex}.input-footer div{gap:12px;display:flex}.input-footer button,.file-actions button{color:#222a36;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;font-size:14px;font-weight:650;display:inline-flex}.image-status{color:#475263;background:#f7fbff;border:1px dashed #b7c3d3;border-radius:7px;grid-template-columns:24px 1fr;align-items:center;gap:8px;margin-top:9px;padding:9px 10px;display:grid}.image-status>svg{color:var(--blue)}.image-status span{gap:2px;min-width:0;display:grid}.image-status strong,.image-status small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.image-status strong{color:#202733;font-size:13px;font-weight:760}.image-status small{color:#697386;font-size:12px}.result-panel{padding:11px 14px 13px}.result-heading>div{align-items:center;gap:4px;display:flex}.result-heading .icon-button{width:33px;height:33px}.translated-text{color:#0b0f16;white-space:pre-wrap;word-break:break-word;margin:11px 0 12px;font-size:18px;font-weight:520;line-height:1.5}.status-box{color:#1d4f95;background:#f4f8ff;border:1px solid #c9d8ef;border-radius:8px;margin:12px 0;padding:12px;font-size:14px;font-weight:650;line-height:1.45}.loading-box{align-items:center;gap:9px;display:flex;position:relative;overflow:hidden}.loading-box:after{content:"";background:linear-gradient(90deg,#0000,#266fdc1f,#0000);animation:1.7s linear infinite loading-sheen;position:absolute;inset:0;transform:translate(-100%)}.loading-orbit{z-index:1;border:2px solid #1d4f9533;border-top-color:#1266d6;border-radius:999px;flex:0 0 17px;width:17px;height:17px;animation:.85s linear infinite loading-spin;position:relative}.loading-box>span:not(.loading-orbit){z-index:1;position:relative}.loading-dots{align-items:center;gap:3px;display:inline-flex}.loading-dots i{background:currentColor;border-radius:999px;width:4px;height:4px;animation:1.1s ease-in-out infinite loading-dot}.loading-dots i:nth-child(2){animation-delay:.15s}.loading-dots i:nth-child(3){animation-delay:.3s}@keyframes loading-spin{to{transform:rotate(360deg)}}@keyframes loading-sheen{to{transform:translate(100%)}}@keyframes loading-dot{0%,80%,to{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.inline-toast{color:#14784d;background:#ecfdf5;border-radius:7px;margin-top:9px;padding:6px 9px;font-size:13px;font-weight:700;display:inline-flex}.error-box{color:#a92525;background:#fff5f5;border-color:#f0b8b8;gap:9px;display:grid}.error-box button{color:#fff;cursor:pointer;background:#c53030;border:0;border-radius:8px;justify-self:start;min-height:34px;padding:0 12px;font-size:13px;font-weight:760}.context-box{color:#8a5a0a;background:#fff9ed;border-color:#f0d29a}.chinese-result{font-size:19px;font-weight:650}.reading-box{border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#5e6877;padding:10px 0 9px}.reading-box span{margin-bottom:5px;font-size:14px;font-weight:650;display:block}.reading-box p{color:#717b8a;margin:0;font-size:13px;line-height:1.55}.reading-box-muted p{color:#8a94a3}.vocabulary{padding-top:10px}.vocabulary h2{letter-spacing:0;margin:0 0 9px;font-size:15px;font-weight:760}.word-table{border:1px solid var(--line-strong);border-bottom:0;border-radius:0;overflow:hidden}.word-row{border-bottom:1px solid var(--line-strong);grid-template-columns:minmax(86px,1fr) minmax(106px,1.3fr) minmax(126px,1.8fr);min-height:36px;display:grid}.word-row span{border-right:1px solid var(--line-strong);color:#303845;word-break:break-word;align-items:center;min-width:0;padding:7px 8px;font-size:12.5px;line-height:1.35;display:flex}.word-row span:last-child{border-right:0}.word-head{background:#f7f9fc;min-height:34px}.word-head span{color:#242a34;justify-content:center;font-size:13px;font-weight:700}.lao-cell{color:#151922;font-size:14px}.file-panel{padding:10px 12px}.file-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.file-actions button{border:1px solid var(--line);background:#fbfcfe;border-radius:7px;justify-content:center;min-height:40px}.scan-preview{color:#475263;background:#f7fbff;border:1px dashed #b7c3d3;border-radius:7px;grid-template-columns:35px 1fr;gap:9px;margin-top:9px;padding:11px;display:grid}.scan-preview strong{color:#202733;margin-bottom:3px;font-size:14px;display:block}.scan-preview p{word-break:break-word;margin:0;font-size:12px;line-height:1.45}.translate-action{grid-template-columns:1fr;margin-top:8px;display:grid}.translate-action button{border:1px solid var(--line-strong);color:#151922;cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:46px;font-size:16px;font-weight:760;display:inline-flex}.translate-action .primary-action{border-color:var(--blue-strong);color:#fff;background:linear-gradient(#1768cf 0%,#0d57b7 100%)}.modal-backdrop{z-index:20;background:#0f172a61;justify-content:center;align-items:flex-end;padding:16px 8px;display:flex;position:fixed;inset:0}.entity-modal{background:#fff;border-radius:12px;width:min(100%,430px);max-height:min(86vh,760px);overflow:auto;box-shadow:0 22px 70px #0f172a40}.entity-modal-header{z-index:1;border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:flex-start;gap:14px;padding:16px 16px 12px;display:flex;position:sticky;top:0}.entity-modal-header h2{color:#111827;margin:0;font-size:18px;line-height:1.25}.entity-modal-header p{color:#667085;margin:5px 0 0;font-size:13px;line-height:1.4}.entity-modal-header button{color:#111827;background:#f4f6f8;border:0;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.entity-list{gap:12px;padding:14px 16px;display:grid}.entity-item{border:1px solid var(--line);background:#fbfcfe;border-radius:10px;gap:10px;padding:12px;display:grid}.entity-item-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.entity-item-title span{color:var(--blue);font-size:13px;font-weight:750}.entity-item-title strong{color:#111827;font-size:16px}.entity-item label{color:#4b5563;gap:5px;font-size:13px;font-weight:650;display:grid}.entity-item input,.entity-item select,.entity-item textarea{border:1px solid var(--line-strong);color:#111827;background:#fff;border-radius:8px;outline:0;width:100%;min-height:38px;padding:8px 10px;font-size:14px;font-weight:500}.entity-item textarea{resize:vertical;min-height:58px}.entity-modal-actions{border-top:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;grid-template-columns:1fr 1.4fr;gap:10px;padding:12px 16px 16px;display:grid;position:sticky;bottom:0}.entity-modal-actions button{border:1px solid var(--line-strong);color:#111827;background:#fff;border-radius:8px;min-height:44px;font-size:15px;font-weight:750}.entity-modal-actions .confirm-context{border-color:var(--blue-strong);background:var(--blue-strong);color:#fff}.drawer-backdrop{z-index:18;padding:12px 8px calc(86px + env(safe-area-inset-bottom));background:#0f172a57;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.bottom-drawer{background:#fff;border:1px solid #dfe6ef;border-radius:13px;width:min(100%,430px);max-height:min(78vh,640px);overflow:hidden;box-shadow:0 22px 70px #0f172a3d}.drawer-header{z-index:1;border-bottom:1px solid var(--line);background:#fffffffa;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:12px 15px;display:flex;position:sticky;top:0}.drawer-header h2{color:#111827;letter-spacing:0;margin:0;font-size:17px;font-weight:800}.drawer-header button{color:#111827;cursor:pointer;background:#f4f6f8;border:0;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.drawer-content,.record-list,.drawer-scene-list{max-height:calc(min(78vh,640px) - 52px);padding:13px 15px 16px;overflow:auto}.menu-intro{background:#f3f8ff;border:1px solid #cfe0f5;border-radius:9px;gap:6px;padding:13px;display:grid}.menu-intro strong{color:#111827;font-size:16px;font-weight:820;line-height:1.25}.menu-intro p{color:#526070;margin:0;font-size:13px;font-weight:560;line-height:1.5}.menu-feature-list{gap:8px;margin-top:10px;display:grid}.menu-feature-item{border:1px solid var(--line);color:#233044;text-align:left;background:#fbfcfe;border-radius:9px;grid-template-columns:32px 1fr auto;align-items:center;gap:9px;width:100%;min-height:56px;padding:10px 11px;display:grid}button.menu-feature-item{cursor:pointer}.menu-feature-item>svg{color:var(--blue)}.menu-feature-item span{gap:2px;min-width:0;display:grid}.menu-feature-item strong{color:#111827;font-size:14px;font-weight:780;line-height:1.25}.menu-feature-item small{color:#697386;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.3;overflow:hidden}.theme-toggle-pill{background:var(--blue-soft);min-height:28px;color:var(--blue);border-radius:999px;align-items:center;gap:4px;padding:4px 8px;font-size:12px;font-weight:760;display:inline-flex}.menu-message{color:#1d4f95;text-align:center;background:#f4f8ff;border:1px solid #c9d8ef;border-radius:8px;margin-top:10px;padding:9px 10px;font-size:13px;font-weight:700;line-height:1.4}.app-shell.theme-dark .menu-message{color:#b9d7ff;background:#132945;border-color:#284b7a}.model-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.model-grid div,.scene-summary div,.record-item,.drawer-scene-item,.empty-list{border:1px solid var(--line);background:#fbfcfe;border-radius:8px}.model-grid div{gap:5px;min-height:62px;padding:10px;display:grid}.model-grid span,.record-item span,.drawer-scene-item small{color:#697386;font-size:12px;line-height:1.3}.model-grid strong{color:#111827;word-break:break-word;font-size:14px;line-height:1.25}.scene-summary{gap:8px;margin-top:10px;display:grid}.scene-summary div{padding:10px 11px}.scene-summary strong{color:#111827;font-size:14px;display:block}.scene-summary p{color:#697386;margin:4px 0 0;font-size:12px;line-height:1.4}.drawer-danger{color:#a92525;cursor:pointer;background:#fff7f7;border:1px solid #f0b8b8;border-radius:8px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:42px;margin-top:10px;font-size:14px;font-weight:760;display:inline-flex}.auth-panel{gap:10px;max-height:calc(min(78vh,640px) - 52px);padding:13px 15px 16px;display:grid;overflow:auto}.auth-intro,.account-card{border:1px solid var(--line);background:#fbfcfe;border-radius:9px;grid-template-columns:36px 1fr;align-items:center;gap:10px;padding:13px;display:grid}.auth-intro>svg,.account-card>svg{color:var(--blue)}.auth-intro strong,.account-card strong{color:#111827;word-break:break-word;font-size:15px;font-weight:800;line-height:1.25;display:block}.auth-intro p,.account-card small{color:#697386;margin:3px 0 0;font-size:12.5px;line-height:1.45;display:block}.auth-form{gap:10px;display:grid}.auth-form label{color:#4b5563;gap:6px;font-size:13px;font-weight:700;display:grid}.auth-form input{border:1px solid var(--line-strong);color:#111827;background:#fff;border-radius:8px;outline:0;width:100%;min-height:42px;padding:9px 11px;font-size:15px;font-weight:560}.auth-form input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #155fc81f}.auth-primary{border:1px solid var(--blue-strong);color:#fff;cursor:pointer;background:linear-gradient(#1768cf 0%,#0d57b7 100%);border-radius:8px;min-height:44px;font-size:15px;font-weight:780}.auth-link{min-height:36px;color:var(--blue);cursor:pointer;background:0 0;border:0;font-size:13px;font-weight:760}.auth-message{color:#1d4f95;background:#f4f8ff;border:1px solid #c9d8ef;border-radius:8px;padding:9px 10px;font-size:13px;font-weight:700;line-height:1.4}.auth-message.is-error{color:#a92525;background:#fff5f5;border-color:#f0b8b8}.app-shell.theme-dark .auth-message{color:#b9d7ff;background:#132945;border-color:#284b7a}.app-shell.theme-dark .auth-message.is-error{color:#ffb8b8;background:#301b1f;border-color:#6d3030}.record-list,.drawer-scene-list{gap:8px;display:grid}.records-page .record-list{gap:9px}.settings-content>.auth-panel{max-height:none;padding:0;overflow:visible}.record-item{text-align:left;cursor:pointer;gap:5px;width:100%;padding:10px 11px;display:grid}.record-item strong,.record-item p{color:#111827;text-overflow:ellipsis;-webkit-box-orient:vertical;margin:0;line-height:1.35;display:-webkit-box;overflow:hidden}.record-item strong{-webkit-line-clamp:1;font-size:14px;font-weight:760}.record-item p{-webkit-line-clamp:2;color:#414b5a;font-size:13px}.record-item time{color:#858d9a;font-size:11px}.empty-list{color:#697386;text-align:center;margin:13px 15px 16px;padding:16px;font-size:14px;font-weight:650}.records-page .empty-list{margin:0}.drawer-scene-item{color:#374151;text-align:left;cursor:pointer;grid-template-columns:34px 1fr;align-items:center;gap:9px;width:100%;padding:10px 11px;display:grid}.drawer-scene-item.is-selected{border-color:var(--blue);color:var(--blue);background:#f5f9ff}.drawer-scene-item span{gap:2px;min-width:0;display:grid}.drawer-scene-item strong{color:inherit;font-size:14px}.drawer-scene-item small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=374px){.app-shell{padding-inline:7px}.top-bar{grid-template-columns:80px 1fr 80px}h1{font-size:27px}.scene-card{gap:5px}.scene-card strong{font-size:13px}.scene-card span{font-size:10px}.translated-text{font-size:20px}.word-row{grid-template-columns:minmax(74px,.9fr) minmax(92px,1.15fr) minmax(105px,1.65fr)}.word-row span{padding:8px 6px;font-size:12px}.translate-action button{gap:6px;font-size:15px}}@media (width>=431px){body{background:#edf0f4}.app-shell{box-shadow:var(--shadow)}}
