:root{color-scheme:light;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;background:#f4f5f7;color:#1f2937;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{min-width:320px;background:#f4f5f7}.app-shell{display:flex;min-height:100vh;min-height:100dvh;padding:20px;padding-top:max(20px,env(safe-area-inset-top));padding-right:max(20px,env(safe-area-inset-right));padding-bottom:max(20px,env(safe-area-inset-bottom));padding-left:max(20px,env(safe-area-inset-left))}.app-frame{display:flex;flex-direction:column;flex:1 1 auto;width:100%;max-width:1440px;min-height:0;margin:0 auto}.app-frame-comparison{max-width:1720px}.app-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;padding:0 2px}.brand-block{display:flex;flex:1 1 auto;align-items:center;gap:18px;min-width:0}.brand-title-row{display:flex;flex:0 0 auto;align-items:center;gap:10px;min-width:0}.brand-mark{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;background:#0f766e;color:#fff;font-size:20px;box-shadow:0 4px 12px #0f766e2e}.brand-copy{display:flex;flex-direction:column;min-width:0}.app-subtitle{font-size:12px;line-height:1.35;white-space:nowrap}.status-strip{min-width:0;margin-top:0}.header-quick-control,.header-thinking-control{display:flex;flex:0 0 auto;align-items:center;gap:6px;min-width:0}.header-quick-control>.anticon{color:#0f766e}.header-quick-label,.header-thinking-control>span{flex:0 0 auto;color:#6b7280;font-size:12px;font-weight:500}.header-quick-select.ant-select{height:34px}.header-provider-select.ant-select{width:clamp(130px,12vw,180px)}.header-model-select.ant-select{width:clamp(180px,18vw,280px)}.header-quick-select .ant-select-selector{height:34px!important;border-color:#dfe3e8!important;background:#fff!important}.header-quick-select .ant-select-selection-item,.header-quick-select .ant-select-selection-placeholder{line-height:32px!important}.header-quick-select:hover .ant-select-selector,.header-quick-select.ant-select-focused .ant-select-selector{border-color:#8bbdb8!important;box-shadow:0 0 0 2px #0f766e1a!important}.header-thinking-control{min-height:34px;padding-inline:8px;border:1px solid #dfe3e8;border-radius:6px;background:#fff}.header-config-button.ant-btn{max-width:240px;height:34px;padding-inline:10px;overflow:hidden;border-color:#dfe3e8;background:#fff;color:#344054;white-space:nowrap}.header-config-button.ant-btn .ant-btn-icon{color:#0f766e}.header-config-button.ant-btn>span:not(.ant-btn-icon){display:inline-flex;min-width:0;align-items:center;gap:5px}.header-config-label{flex:0 0 auto;color:#6b7280;font-weight:500}.header-config-label:after{content:"："}.header-config-value{min-width:0;overflow:hidden;color:#25324a;text-overflow:ellipsis}.header-config-button.ant-btn:hover,.header-config-button.ant-btn:focus-visible{border-color:#8bbdb8;background:#f2fbfa;color:#0f766e}.header-actions{flex:0 0 auto;justify-content:flex-end;gap:6px!important}.header-icon-button.ant-btn{flex:0 0 auto;width:40px;min-width:40px;height:40px;border:1px solid #dfe3e8;background:#fff;color:#475467}.header-icon-button.ant-btn:hover,.header-icon-button.ant-btn:focus-visible{border-color:#b8c1cc;background:#f8fafb;color:#111827}.app-title.ant-typography{margin:0;color:#182230;font-size:20px;line-height:1.18;letter-spacing:0}button:focus-visible,[role=button]:focus-visible,.ant-select-focused .ant-select-selector,textarea:focus-visible{outline:3px solid rgba(47,111,237,.2);outline-offset:2px}.app-main{display:flex;flex:1 1 auto;min-height:0}.workspace-panel{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;overflow:hidden;padding:0;gap:0;border:1px solid #dfe3e8;border-radius:8px;background:#fff;box-shadow:0 8px 24px #1018280f}.control-row{display:grid;grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr) auto;align-items:end;gap:10px;padding:14px 18px;border-bottom:1px solid #e6e9ed;background:#fbfcfd}.language-field{display:flex;flex-direction:column;gap:6px;min-width:0}.language-field-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.detected-language-label.ant-typography{min-width:0;overflow:hidden;color:#0f766e;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.language-field-label.ant-typography{color:#5f6b7a;font-size:12px;font-weight:600}.lang-select{min-width:0}.lang-select .ant-select-selector{border-color:#d7dde5!important}.swap-button.ant-btn{width:40px;min-width:40px;padding:0}.control-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}.language-actions .ant-btn-primary{min-width:104px;box-shadow:0 4px 10px #2563eb2e}.language-actions .ant-btn-primary.ant-btn-dangerous{box-shadow:0 6px 14px #ff4d4f29}.auto-speak-toggle{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.auto-speak-toggle .ant-typography{font-size:13px;line-height:22px}.translation-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;flex:1 1 auto;min-height:0;align-items:stretch}.translation-grid-comparison{grid-template-columns:minmax(280px,.65fr) minmax(0,2.35fr)}.translation-grid-comparison-2{grid-template-columns:minmax(320px,.9fr) minmax(0,2.1fr)}.translation-grid-comparison-4{grid-template-columns:minmax(240px,.5fr) minmax(0,2.5fr)}.panel-block{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0;padding:18px;border:0;border-radius:0;background:#fff}.translation-grid>.panel-block+.panel-block{border-left:1px solid #e6e9ed;background:#fbfcfd}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:32px}.panel-head>.ant-typography,.panel-head>.ant-space:first-child .ant-typography{color:#25324a;font-size:15px}.panel-head .ant-btn-sm{width:32px;min-width:32px;padding-inline:0}.source-paste-button.ant-btn-sm,.source-speech-button.ant-btn-sm{width:auto;min-width:auto;padding-inline:9px}.source-editor-help{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:20px}.source-editor-help .ant-typography{font-size:12px}.mobile-primary-action{display:none}.result-status-alert{margin:0}.undo-message{display:inline-flex;align-items:center;gap:6px}.undo-message .ant-btn{min-height:36px;padding-inline:6px}.workspace-tabs{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.workspace-tabs>.ant-tabs-nav{padding-inline:14px}.workspace-tabs .ant-tabs-content-holder,.workspace-tabs .ant-tabs-content,.workspace-tabs .ant-tabs-tabpane{min-height:0}.workspace-tabs .ant-tabs-content-holder,.workspace-tabs .ant-tabs-content,.workspace-tabs .ant-tabs-tabpane-active{display:flex;flex:1 1 auto;flex-direction:column}.workspace-tabs .ant-tabs-tabpane>.panel-block{flex:1 1 auto}.workspace-tabs .ant-tabs-nav-more,.ant-drawer .ant-tabs-nav-more{display:none!important}.image-strip{display:flex;gap:8px;flex-wrap:wrap}.image-task-results{display:flex;flex-direction:column;gap:12px;min-width:0}.image-task-result-toolbar,.image-task-result-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.image-task-result-heading .ant-typography{min-width:0}.image-task-result-card{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #e7ebf3;border-radius:8px;min-width:0;background:#fcfdff}.image-task-result-card .ant-image{width:100%}.image-task-result-card .ant-image-img{width:100%;max-height:70vh;object-fit:contain}.image-task-placeholder{min-height:180px;display:grid;place-items:center;color:#748196;text-align:center;overflow-wrap:anywhere}.image-task-id{overflow-wrap:anywhere;font-size:12px}.image-task-notice{font-size:12px;margin-top:12px}.source-editor-help .ant-select{flex-shrink:0;min-width:136px}.image-task-result-toolbar .ant-typography{font-size:12px}.image-task-model-option{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:2px 8px;white-space:normal}.image-task-model-name{min-width:0;overflow-wrap:anywhere}.image-task-model-price{flex-shrink:0;color:#66758b;font-size:12px}@media (max-width: 600px){.image-task-result-card{padding:8px}.source-editor-help{gap:6px;flex-wrap:wrap}.image-task-result-toolbar{flex-wrap:wrap}}.image-chip{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #e7ebf3;border-radius:8px;background:#fcfdff;min-width:0}.image-chip .ant-image-img{width:64px;height:64px;object-fit:cover;border-radius:6px;flex:0 0 auto;background:#eef2f8}.image-chip>.ant-image{flex:0 0 auto}.image-chip>.ant-btn{margin-left:auto;flex-shrink:0}.image-meta{display:flex;flex-direction:column;gap:2px;min-width:0}.image-meta .ant-typography{max-width:120px}.model-actions{display:flex;align-items:center;gap:12px;margin-bottom:8px}.model-actions .ant-btn{min-height:44px}.model-action-count.ant-typography{min-width:0;overflow-wrap:anywhere}.model-test-panel{display:flex;flex-direction:column;gap:12px;min-width:0;margin-bottom:16px;padding:14px;border:1px solid #dfe5ec;border-radius:6px;background:#fafbfc}.model-test-summary{display:flex;flex-direction:column;gap:6px;min-width:0}.model-test-summary-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;min-width:0}.model-test-summary-copy{display:flex;flex-direction:column;gap:6px;min-width:0}.model-test-summary-copy .ant-typography{min-width:0;overflow-wrap:anywhere}.model-test-results-toggle.ant-btn{min-height:44px;padding-inline:8px;white-space:nowrap}.model-test-summary .ant-progress{margin:0}.model-test-bulk-actions{display:flex;flex-wrap:wrap;gap:8px}.model-test-bulk-actions .ant-btn{max-width:100%;min-height:44px;white-space:normal}.model-test-result-list{max-height:320px;max-height:min(320px,38dvh);overflow-y:auto;overscroll-behavior:contain;border:1px solid #e1e6ed;border-radius:6px;background:#fff}.model-test-result-item{display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;min-height:64px;padding:10px 12px}.model-test-result-item+.model-test-result-item{border-top:1px solid #edf0f4}.model-test-result-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}.model-test-result-name.ant-typography{display:block;min-width:0;overflow:hidden;color:#25324a;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.model-test-result-tags{flex:0 0 auto;justify-content:flex-end}.model-test-result-tags .ant-tag{margin-inline-end:0}.model-test-result-detail.ant-typography{display:block;min-width:0;line-height:1.55;overflow-wrap:anywhere}.secondary-model-label{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.secondary-model-list.ant-checkbox-group{display:flex;flex-direction:column;max-height:240px;overflow-y:auto;border-block:1px solid #e7ebf3}.secondary-model-list .ant-checkbox-wrapper{display:flex;align-items:flex-start;min-height:44px;margin:0;padding:10px 0}.secondary-model-list .ant-checkbox-wrapper+.ant-checkbox-wrapper{border-top:1px solid #eef2f7}.secondary-model-option-label{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;width:100%;overflow-wrap:anywhere}.secondary-model-option-label .ant-tag{flex:0 0 auto;margin-inline-end:0}.result-model-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);align-items:center;gap:10px 16px;padding:10px 0;border-block:1px solid #e7ebf3}.result-model-toolbar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.result-model-toolbar>.ant-typography{grid-column:1 / -1}.result-model-toolbar .ant-select{width:100%;min-width:0}.result-model-select-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}.result-retry-summary{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:8px 12px;min-width:0}.result-retry-summary .ant-btn{max-width:min(260px,100%)}.result-retry-summary .ant-btn>span:not(.anticon){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-model-toolbar-comparison{grid-template-columns:minmax(0,1fr)}.result-comparison-grid{display:grid;flex:1 1 auto;align-items:stretch;gap:10px;min-width:0;min-height:0;padding-bottom:4px;overflow-x:auto;overflow-y:hidden;scrollbar-gutter:stable}.result-comparison-grid-2{grid-template-columns:repeat(2,minmax(320px,1fr))}.result-comparison-grid-3{grid-template-columns:repeat(3,minmax(280px,1fr))}.result-comparison-grid-4{grid-template-columns:repeat(4,minmax(228px,1fr))}.result-comparison-grid-3 .model-result-pane-head,.result-comparison-grid-4 .model-result-pane-head{min-height:104px}.model-result-pane{display:flex;flex-direction:column;min-width:0;min-height:360px;overflow:hidden;border:1px solid #d9dee6;border-radius:6px;background:#fff}.model-result-pane-primary{border-color:#78bbb5;box-shadow:inset 0 3px #0f766e}.model-result-pane-current{outline:2px solid rgba(37,99,235,.42);outline-offset:-2px}.model-result-pane-head{flex:0 0 auto;padding:11px 12px 9px;border-bottom:1px solid #e7ebf3;background:#f8fafc}.model-result-pane-primary .model-result-pane-head{background:#f0fafa}.model-result-pane-title-row{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.model-result-pane-title.ant-typography{min-width:0;overflow:hidden;color:#25324a;text-overflow:ellipsis;white-space:nowrap}.model-result-pane-primary .model-result-pane-title.ant-typography{color:#0f766e}.model-result-pane-actions{flex:0 0 auto}.model-result-pane-actions .ant-btn-sm{width:28px;min-width:28px;height:28px;padding:0}.model-result-pane-meta{display:flex;margin-top:6px}.model-result-pane-meta .ant-tag{margin-inline-end:0;line-height:20px}.model-result-pane-content{flex:1 1 auto;min-height:0;padding:14px;overflow:auto;background:#fff}.model-result-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-height:100%;text-align:center}.model-result-placeholder-running .anticon{color:#1677ff;font-size:18px}.provider-actions{display:flex;align-items:center;gap:8px;margin-bottom:12px}.provider-editor{margin-bottom:16px;padding:12px;border:1px solid #e7ebf3;border-radius:8px;background:#fcfdff}.provider-editor-title.ant-typography{display:block;margin-bottom:12px;font-size:14px}.provider-editor .ant-form-item,.settings-alert{margin-bottom:12px}.source-history-alert{flex:0 0 auto}.editor-area{width:100%;flex:1 1 auto;min-height:360px;overflow-y:auto;resize:none!important;border-radius:6px;font-size:16px;line-height:1.7}textarea.editor-area.ant-input{padding:16px;border-color:#d9dee6;background:#fbfcfd}.result-area{padding:16px;border:1px solid #d9dee6;background:#fff;color:#162033;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}.result-area-outdated{border-color:#e7bb66;background:#fffcf5;box-shadow:inset 3px 0 #e7a536}.markdown-result{overflow:auto}.markdown-preview{color:#162033;font-size:15px;line-height:1.72;overflow-wrap:anywhere}.markdown-preview-typing>:last-child:after,.markdown-preview-typing>ul:last-child>li:last-child:after,.markdown-preview-typing>ol:last-child>li:last-child:after{content:"";display:inline-block;width:2px;height:1.16em;margin-left:3px;vertical-align:-.16em;border-radius:999px;background:#1677ff;animation:typing-caret-blink .82s steps(2,end) infinite}.markdown-preview-typing>ul:last-child:after,.markdown-preview-typing>ol:last-child:after{display:none}.markdown-preview-empty{display:grid;min-height:100%;place-items:center;text-align:center}.markdown-preview>:first-child{margin-top:0}.markdown-preview>:last-child{margin-bottom:0}.markdown-preview p,.markdown-preview ul,.markdown-preview ol,.markdown-preview blockquote,.markdown-preview pre,.markdown-preview table,.markdown-table-wrap{margin:0 0 12px}.markdown-preview p,.markdown-preview li{white-space:pre-wrap}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3,.markdown-preview h4,.markdown-preview h5,.markdown-preview h6{margin:18px 0 10px;color:#101828;font-weight:650;line-height:1.32}.markdown-preview h1{font-size:24px}.markdown-preview h2{font-size:21px}.markdown-preview h3{font-size:18px}.markdown-preview ul,.markdown-preview ol{padding-left:22px}.markdown-preview li+li{margin-top:4px}.markdown-preview blockquote{padding:8px 12px;border-left:3px solid #9db8e8;background:#f5f8ff;color:#344054}.markdown-preview a{color:#1677ff;text-decoration:none}.markdown-preview a:hover{text-decoration:underline}.markdown-preview img{display:block;max-width:100%;height:auto}.markdown-preview :not(pre)>code{padding:2px 5px;border-radius:4px;background:#eef2f8;color:#b42318;font-size:.92em}.markdown-preview pre{padding:12px;border:1px solid #e4e9f2;border-radius:6px;background:#f6f8fb;overflow:auto}.markdown-preview pre code{color:#162033;font-size:13px;line-height:1.6}.markdown-table-wrap{max-width:100%;overflow-x:auto}@keyframes typing-caret-blink{0%,45%{opacity:1}46%,to{opacity:0}}@media (prefers-reduced-motion: reduce){.markdown-preview-typing>:last-child:after,.markdown-preview-typing>ul:last-child>li:last-child:after,.markdown-preview-typing>ol:last-child>li:last-child:after{animation:none}}.markdown-table-wrap table{width:100%;min-width:520px;border-collapse:collapse}.markdown-table-wrap th,.markdown-table-wrap td{padding:8px 10px;border:1px solid #e4e9f2;text-align:left;vertical-align:top}.markdown-table-wrap th{background:#f2f5fa;font-weight:650}.reading-modal .ant-modal-content{max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden;padding:0}.reading-modal .ant-modal-body{flex:1 1 auto;min-height:0;overflow:hidden;padding:0;background:#fff}.reading-modal .ant-modal-header{flex:0 0 auto;margin-bottom:0;padding:18px 56px 14px 20px;border-bottom:1px solid #eef2f8}.reading-modal .ant-modal-footer{flex:0 0 auto;margin-top:0;padding:12px 20px 16px;border-top:1px solid #eef2f8}.reading-footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.reading-modal .ant-modal-close{width:40px;min-width:40px;padding:0}.reading-modal-layout{display:flex;flex-direction:column;width:100%;height:min(70vh,720px);min-height:min(460px,calc(100dvh - 180px));overflow:hidden}.reading-toolbar{flex:0 0 auto;padding:14px 20px 12px;background:#f8fafc}.reading-toolbar-main,.reading-toolbar-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.reading-model-picker{flex:1 1 420px;min-width:0;max-width:520px}.reading-model-picker>.reading-toolbar-label{display:block;margin-bottom:5px}.reading-model-picker .ant-select{width:100%}.reading-model-name.ant-typography{display:block;max-width:100%;min-height:32px;padding:5px 10px;overflow:hidden;border:1px solid #d9d9d9;border-radius:6px;background:#fff;line-height:20px}.reading-font-controls{display:grid;grid-template-columns:auto 32px 120px 32px 24px;flex:0 0 auto;align-items:center;gap:5px}.reading-font-controls .ant-btn{width:32px;min-width:32px;height:32px;padding:0}.reading-font-controls .ant-slider{margin:0 6px}.reading-font-value.ant-typography{color:#344054;font-variant-numeric:tabular-nums;text-align:right}.reading-toolbar-meta{margin-top:10px}.reading-context-tags{min-width:0}.reading-context-tags .ant-tag{margin-inline-end:0}.reading-provider-name.ant-typography{max-width:260px}.reading-stat.ant-typography{flex:0 0 auto;font-variant-numeric:tabular-nums;white-space:nowrap}.reading-progress{flex:0 0 auto;height:3px;overflow:hidden;background:#e5e7eb}.reading-progress>span{display:block;height:100%;background:#1677ff;transition:width .12s ease-out}.reading-scroll-area{flex:1 1 auto;min-height:0;padding:26px 28px 40px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:#fcfdff}.reading-document{width:100%;max-width:760px;min-height:100%;margin:0 auto;color:#1f2937;overflow-wrap:anywhere;outline:none}.reading-document:focus-visible{outline:none;box-shadow:inset 3px 0 #91caff}.reading-content.markdown-preview{margin:0;font-size:var(--reading-font-size, 18px);line-height:1.85}.reading-content.markdown-preview h1{font-size:1.55em}.reading-content.markdown-preview h2{font-size:1.32em}.reading-content.markdown-preview h3{font-size:1.12em}.ant-modal-close{width:auto}.ant-drawer .ant-drawer-close{display:inline-flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:40px}.ant-drawer .ant-drawer-body{padding-right:max(24px,env(safe-area-inset-right));padding-bottom:max(24px,env(safe-area-inset-bottom));padding-left:max(24px,env(safe-area-inset-left))}.ant-modal .ant-modal-header{padding-inline-end:56px}.ant-modal .ant-modal-close{top:12px;inset-inline-end:12px;display:inline-flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:32px;padding:0;border-radius:6px;color:#667085}.ant-modal .ant-modal-close-x{display:inline-flex;align-items:center;justify-content:center;width:100%;height:auto;line-height:1}.history-drawer .ant-drawer-body{display:flex;flex-direction:column;gap:12px}.history-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.history-item{padding-bottom:12px}.history-item .ant-list-item-meta-title,.history-item .ant-list-item-meta-description{min-width:0}.history-item .ant-space,.history-item .ant-space-item{min-width:0;max-width:100%}.history-item .ant-tag{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-text{margin-bottom:4px!important;color:#162033}.history-result-text{color:#5f6b7a}.history-image-warning.ant-typography{display:block;margin-bottom:4px}.history-detail{display:flex;flex-direction:column;gap:16px;min-width:0}.history-detail-back.ant-btn{align-self:flex-start;margin-inline-start:-12px}.history-detail-tags,.history-detail-tags .ant-space-item{min-width:0;max-width:100%}.history-detail-tags .ant-tag{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-detail-section{display:flex;flex-direction:column;gap:8px;min-width:0}.history-detail-source,.history-detail-result{max-height:34dvh;overflow:auto;padding:12px 0;border-block:1px solid #e7ebf3;color:#162033;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.history-detail-result .markdown-preview{margin:0}.history-detail-actions{padding-bottom:max(4px,env(safe-area-inset-bottom))}.history-result-selector{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,280px);align-items:center;gap:12px}.history-result-selector .ant-select{width:100%;min-width:0}@media (max-width: 1100px){.app-frame,.workspace-panel,.translation-grid,.panel-block,.editor-area{min-height:0}}@media (max-width: 991px){.app-frame{min-height:calc(100dvh - 24px)}.app-shell{padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(12px,env(safe-area-inset-bottom));padding-left:max(12px,env(safe-area-inset-left))}.workspace-panel{padding:14px;gap:12px}.control-row{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:10px;padding-bottom:12px}.app-header{align-items:flex-start;gap:8px;margin-bottom:12px;padding:12px 14px}.brand-block{flex:1 1 auto;overflow:hidden}.app-title.ant-typography{font-size:18px;line-height:1.2}.status-strip.ant-space{display:flex;flex-wrap:nowrap!important;gap:4px;max-width:100%;margin-top:5px;overflow-x:auto;scrollbar-width:none}.status-strip::-webkit-scrollbar{display:none}.status-strip .ant-space-item{flex:0 0 auto}.status-strip .ant-tag{max-width:148px;margin-inline-end:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:20px}.header-actions{flex:0 0 auto;gap:6px!important}.header-actions .ant-btn{width:auto;min-width:54px;height:32px;padding:0 8px;font-size:12px}.control-actions{grid-column:1 / -1;width:100%}.control-actions .ant-btn{flex:0 0 auto;padding-inline:8px;font-size:12px}.auto-speak-toggle .ant-typography{font-size:12px}.control-actions .ant-btn-primary{min-width:112px}.model-actions{flex-direction:column;align-items:stretch}.panel-block{gap:8px}.panel-head{flex-wrap:wrap}.panel-head .ant-btn-sm{padding-inline:7px;font-size:12px}.workspace-tabs>.ant-tabs-nav{margin-bottom:10px}.provider-actions{align-items:stretch;flex-direction:column}.editor-area{flex:0 0 auto;height:min(48dvh,420px)!important;min-height:240px}.image-chip{width:100%}.image-meta .ant-typography{max-width:100%}.reading-modal.ant-modal{max-width:none}.reading-modal .ant-modal-content{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}.reading-modal .ant-modal-body{max-height:none}.reading-modal-layout{height:calc(100vh - 180px);height:calc(100dvh - 180px);min-height:0}.reading-toolbar{padding:12px 16px}.reading-toolbar-main{align-items:end;gap:12px}.reading-font-controls{grid-template-columns:auto 36px minmax(84px,120px) 36px 24px}.reading-font-controls .ant-btn{width:36px;min-width:36px;height:36px}.reading-scroll-area{padding:22px 20px 36px}.reading-content.markdown-preview{line-height:1.8}}@media (max-width: 560px){.app-shell{padding:6px;padding-top:max(6px,env(safe-area-inset-top));padding-right:max(6px,env(safe-area-inset-right));padding-bottom:max(6px,env(safe-area-inset-bottom));padding-left:max(6px,env(safe-area-inset-left))}.app-frame{min-height:0}.app-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px 8px;margin-bottom:7px;padding:10px;border-radius:12px}.app-frame{min-height:calc(100dvh - 16px)}.brand-block{display:contents}.brand-title-row{grid-column:1;min-width:0}.app-title.ant-typography{font-size:17px;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-subtitle{display:none}.status-strip.ant-space{grid-column:1 / -1;width:100%;max-width:calc(100vw - 32px);margin-top:0;overflow:visible}.status-strip .ant-space-item{min-width:0;flex:1 1 0}.header-config-button.ant-btn{width:100%;max-width:none;height:44px;padding-inline:8px;font-size:12px}.header-config-button.ant-btn>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.status-strip .ant-tag{max-width:none;padding-inline:7px;font-size:12px;line-height:24px}.header-actions{grid-column:2;grid-row:1;align-self:start;flex-wrap:nowrap!important;gap:4px!important}.header-actions .ant-btn{width:44px;min-width:44px;height:44px;padding:0}.header-icon-button>span:not(.ant-btn-icon){display:none}.workspace-panel{padding:10px;gap:10px;border-radius:14px}.control-row{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:8px;padding-bottom:10px}.lang-select{width:100%;flex:none}.language-field .ant-select,.language-field .ant-select-selector{min-height:44px!important}.language-field .ant-select-selection-item,.language-field .ant-select-selection-placeholder,.language-field .ant-select-selection-search-input{line-height:42px!important;font-size:16px!important}.target-lang-select{grid-column:auto}.swap-button.ant-btn{width:44px;min-width:44px;height:44px;padding:0;border-radius:50%}.swap-button>span:not(.ant-btn-icon){display:none}.control-actions{grid-column:1 / -1;display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;width:100%;margin-left:0;flex-wrap:nowrap}.auto-speak-toggle{flex:1 1 0;min-width:0;justify-content:flex-end;gap:4px}.auto-speak-toggle .ant-typography{font-size:11px;line-height:20px}.control-actions .ant-btn{height:44px;padding-inline:12px;font-size:14px}.control-actions .ant-btn:not(.ant-btn-primary){width:44px;min-width:44px;padding:0}.control-actions .ant-btn:not(.ant-btn-primary)>span:not(.ant-btn-icon){display:none}.control-actions .ant-btn-primary{width:100%;min-width:0;padding-inline:14px}.workspace-tabs>.ant-tabs-nav{margin-bottom:8px}.workspace-tabs .ant-tabs-tab{min-height:44px;padding:9px 0}.panel-block{gap:9px;padding:10px;border-radius:12px}.panel-head{gap:8px}.panel-head>.ant-space{gap:6px!important}.panel-head .ant-btn-sm,.image-chip .ant-btn-sm{min-height:44px;padding-inline:10px;font-size:13px}.source-panel-actions{flex-wrap:nowrap!important}.source-editor-help{justify-content:flex-end}.editor-area{height:clamp(150px,calc(100dvh - 430px),320px)!important;min-height:140px;font-size:16px}textarea.editor-area.ant-input,.result-area{padding:12px}.ant-drawer .ant-drawer-header{padding-top:max(16px,env(safe-area-inset-top));padding-right:max(16px,env(safe-area-inset-right));padding-left:max(16px,env(safe-area-inset-left))}.ant-drawer .ant-drawer-close{width:44px;min-width:44px;height:44px}.ant-modal .ant-modal-close{top:8px;inset-inline-end:8px;height:44px}.reading-modal.ant-modal{top:0;width:100vw!important;max-width:100vw;height:100vh;height:100dvh;margin:0;padding:0}.reading-modal .ant-modal-content{width:100%;height:100vh;height:100dvh;max-height:none;border-radius:0}.reading-modal .ant-modal-header{padding:calc(env(safe-area-inset-top) + 13px) max(60px,calc(env(safe-area-inset-right) + 52px)) 13px max(16px,env(safe-area-inset-left))}.reading-modal .ant-modal-body{flex:1 1 0;min-height:0}.reading-modal .ant-modal-close{top:calc(env(safe-area-inset-top) + 5px);inset-inline-end:max(8px,env(safe-area-inset-right));width:44px;min-width:44px;height:44px}.reading-modal .ant-modal-footer{margin-top:0;padding:10px max(16px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.reading-modal .ant-modal-footer .ant-btn{width:100%;min-height:44px;margin-inline-start:0}.reading-footer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reading-modal-layout{height:100%;min-height:0}.reading-toolbar{padding:11px max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left))}.reading-toolbar-main{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px}.reading-model-picker{width:100%;max-width:none}.reading-font-controls{grid-template-columns:auto 44px minmax(64px,1fr) 44px 24px;width:100%;gap:4px}.reading-font-controls .ant-btn{width:44px;min-width:44px;height:44px}.reading-font-controls .ant-slider{height:44px;margin:0 4px;padding-block:20px}.reading-font-controls .ant-slider-handle{inset-block-start:50%;translate:0 -50%}.reading-toolbar-meta{align-items:center;flex-flow:row wrap;gap:6px 8px;margin-top:8px}.reading-context-tags{flex:1 1 auto;width:auto}.reading-provider-name.ant-typography{display:none}.reading-stat.ant-typography{margin-left:auto;font-size:12px}.reading-scroll-area{padding:20px max(16px,env(safe-area-inset-right)) 36px max(16px,env(safe-area-inset-left));scrollbar-gutter:auto}.reading-document{max-width:none}.ant-modal .ant-modal-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}.ant-modal .ant-modal-footer .ant-btn,.history-drawer-head .ant-btn-sm,.history-item .ant-btn-sm,.result-status-alert .ant-btn-sm,.ant-popover .ant-btn-sm,.ant-drawer .ant-btn{min-height:44px}.ant-drawer .ant-switch{min-width:88px;height:44px}.ant-drawer .ant-switch .ant-switch-handle{top:6px;inset-inline-start:6px;width:32px;height:32px}.ant-drawer .ant-switch.ant-switch-checked .ant-switch-handle{inset-inline-start:calc(100% - 38px)}.ant-drawer .ant-switch .ant-switch-inner{min-height:44px;font-size:13px;line-height:44px}.undo-message .ant-btn{min-height:44px}.ant-drawer .ant-input,.ant-drawer .ant-input-affix-wrapper,.ant-drawer .ant-select-selector,.ant-drawer .ant-select-selection-search-input,.ant-drawer .ant-select-selection-item,.ant-drawer .ant-select-selection-placeholder{min-height:44px;font-size:16px!important}.ant-select-dropdown .ant-select-item{min-height:44px;align-items:center;font-size:16px}.history-item .ant-list-item-action{display:flex;gap:8px}}@media (max-width: 380px){.app-title.ant-typography{font-size:15px}.language-field-label.ant-typography{font-size:11px}.header-config-button.ant-btn{max-width:170px}}@media (max-width: 991px){.app-shell{height:100dvh;overflow:hidden}.app-header{align-items:center;padding:0 2px}.brand-block{display:flex;align-items:center;gap:12px;overflow:visible}.app-title.ant-typography{font-size:18px}.status-strip.ant-space{margin-top:0;overflow-x:auto}.workspace-panel{padding:0;gap:0}.control-row{padding:12px 14px}.header-actions .header-icon-button.ant-btn,.swap-button.ant-btn{width:44px;min-width:44px;height:44px;padding:0}.header-config-button.ant-btn{height:44px}.language-field .ant-select,.language-field .ant-select-selector{min-height:44px!important}.language-field .ant-select-selection-item,.language-field .ant-select-selection-placeholder,.language-field .ant-select-selection-search-input{line-height:42px!important}.language-field .ant-select-selection-search-input{font-size:16px!important}.control-actions{display:none}.workspace-tabs>.ant-tabs-nav{min-height:44px;margin-bottom:0;padding-inline:14px;border-bottom:1px solid #e6e9ed}.workspace-tabs>.ant-tabs-nav .ant-tabs-nav-wrap,.workspace-tabs>.ant-tabs-nav .ant-tabs-nav-list{width:100%}.workspace-tabs>.ant-tabs-nav .ant-tabs-tab{flex:1 1 50%;justify-content:center;min-height:44px;margin:0}.workspace-tabs .ant-tabs-content-holder{min-height:0;overflow:hidden;background:#fff}.workspace-tabs .ant-tabs-tabpane-active{overflow-y:auto;overscroll-behavior:contain}.panel-block{gap:10px;padding:14px;border:0;border-radius:0;background:#fff}.panel-title-label{display:none}.source-panel .panel-head{justify-content:flex-end}.panel-head .ant-btn-sm{width:44px;min-width:44px;min-height:44px;padding-inline:0}.source-paste-button.ant-btn-sm,.source-speech-button.ant-btn-sm{width:auto;min-width:auto;padding-inline:10px}.editor-area{flex:1 1 auto;height:clamp(220px,40dvh,360px)!important;min-height:220px}.mobile-primary-action{position:relative;flex:0 0 auto;z-index:3;display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;padding:10px 14px max(10px,env(safe-area-inset-bottom));border-top:1px solid #e6e9ed;background:#fffffffa}.mobile-primary-action .ant-btn{height:44px}.mobile-primary-action>.ant-btn:first-child{width:44px;min-width:44px;padding:0}}@media (max-width: 560px){.app-shell{padding:8px;padding-top:max(8px,env(safe-area-inset-top));padding-right:max(8px,env(safe-area-inset-right));padding-bottom:max(8px,env(safe-area-inset-bottom));padding-left:max(8px,env(safe-area-inset-left))}.app-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:8px;padding:2px 0;border-radius:0}.result-model-toolbar{grid-template-columns:minmax(0,1fr)}.result-retry-summary{align-items:stretch;flex-direction:column}.result-retry-summary .ant-space{width:100%}.result-retry-summary .ant-btn,.result-model-select-actions .ant-btn,.result-model-select-actions .ant-select-selector{min-height:44px}.result-model-select-actions .ant-select-selector{align-items:center}.history-result-selector{grid-template-columns:minmax(0,1fr)}.result-model-toolbar>.ant-typography{grid-column:1}.brand-block{display:contents}.brand-title-row{grid-column:1;gap:8px}.brand-mark{width:36px;height:36px;font-size:18px}.brand-copy{justify-content:center}.app-title.ant-typography{font-size:17px}.app-subtitle{display:none}.status-strip.ant-space{grid-column:1 / -1;display:none}.status-strip .ant-space-item{min-width:0}.header-config-button.ant-btn{width:100%;max-width:none;height:34px;padding-inline:8px;font-size:12px}.header-config-button.ant-btn>span.header-config-label{display:none}.header-config-button.ant-btn>span.header-config-label:after{content:none}.header-config-value{display:block}.header-actions{grid-column:2;grid-row:1;gap:4px!important}.header-actions .header-icon-button.ant-btn{width:44px;min-width:44px;height:44px;padding:0}.workspace-panel{padding:0;gap:0;border-radius:8px}.control-row{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:8px;padding:11px 12px 12px}.language-field{gap:5px}.language-field .ant-select,.language-field .ant-select-selector{min-height:44px!important}.language-field .ant-select-selection-item,.language-field .ant-select-selection-placeholder{line-height:42px!important;font-size:15px!important}.language-field .ant-select-selection-search-input{line-height:42px!important;font-size:16px!important}.swap-button.ant-btn{width:44px;min-width:44px;height:44px;border-radius:50%}.control-actions{display:none}.workspace-tabs>.ant-tabs-nav{min-height:44px;padding-inline:12px}.workspace-tabs .ant-tabs-tab{min-height:44px;padding:9px 0}.panel-block{gap:10px;padding:12px;border-radius:0}.panel-title-label{display:none}.source-panel .panel-head{justify-content:flex-end;min-height:36px}.source-panel-actions{flex-wrap:nowrap!important}.panel-head .ant-btn-sm{width:44px;min-width:44px;min-height:44px;padding-inline:0}.source-paste-button.ant-btn-sm,.source-speech-button.ant-btn-sm{width:auto;min-width:auto;padding-inline:10px}.source-editor-help{justify-content:flex-end}.editor-area{height:clamp(200px,40dvh,340px)!important;min-height:200px}textarea.editor-area.ant-input,.result-area{padding:13px}.mobile-primary-action{grid-template-columns:44px minmax(0,1fr);padding:9px 12px max(9px,env(safe-area-inset-bottom))}.settings-drawer .ant-form-item{margin-bottom:24px}.settings-drawer .provider-editor .ant-form-item{margin-bottom:16px}.settings-drawer .secondary-model-list.ant-checkbox-group{max-height:40dvh;overflow-y:auto;overscroll-behavior:contain}.settings-drawer .model-actions.ant-space{width:100%;gap:8px!important}.settings-drawer .model-actions>.ant-space-item{width:100%}.settings-drawer .model-actions .ant-btn,.settings-drawer .model-test-bulk-actions .ant-btn{width:100%;min-height:44px}.settings-drawer .model-test-panel{padding:12px}.settings-drawer .model-test-result-list{max-height:38dvh;-webkit-overflow-scrolling:touch}.settings-drawer .model-test-result-item{min-height:68px}.settings-drawer .ant-form-item-label{padding-bottom:6px}.settings-drawer .ant-form-item-control-input{min-height:44px}.settings-drawer .ant-form-item-extra{margin-top:6px;color:#7a8494;font-size:13px;line-height:1.55}.settings-drawer .ant-select-single{height:44px}.settings-drawer .ant-select-single .ant-select-selector{height:44px!important;min-height:44px!important}.settings-drawer .ant-select-single .ant-select-selection-item,.settings-drawer .ant-select-single .ant-select-selection-placeholder,.settings-drawer .ant-select-single .ant-select-selection-search-input{line-height:42px!important}.settings-drawer .ant-switch{min-width:52px;height:28px}.settings-drawer .ant-switch .ant-switch-handle{top:2px;inset-inline-start:2px;width:24px;height:24px}.settings-drawer .ant-switch.ant-switch-checked .ant-switch-handle{inset-inline-start:calc(100% - 26px)}.settings-drawer .ant-switch .ant-switch-inner{min-height:28px;padding:0;line-height:28px}.settings-footer-actions.ant-space{display:flex;gap:8px!important;padding-top:2px}.history-detail-source,.history-detail-result{max-height:none;overflow:visible}.reading-model-picker .ant-select-single,.reading-model-picker .ant-select-selector{min-height:44px!important}.reading-model-picker .ant-select-selection-item,.reading-model-picker .ant-select-selection-placeholder{line-height:42px!important}}@media (max-width: 560px) and (max-height: 620px){.status-strip.ant-space{display:none}.editor-area{height:180px!important;min-height:180px}.reading-toolbar{padding-top:7px;padding-bottom:7px}.reading-toolbar-main{gap:6px}.reading-model-picker>.reading-toolbar-label{display:none}.reading-toolbar-meta{margin-top:6px}}@media (max-width: 360px){.source-panel-actions{width:auto;flex-wrap:nowrap!important}.header-config-button.ant-btn{max-width:none}}
