:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;--bg:#f4f6f8;--surface:#fff;--surface-subtle:#f8f9fb;--surface-hover:#f1f5f9;--text:#17202d;--text-secondary:#536170;--text-muted:#7a8794;--border:#dfe4ea;--border-strong:#cbd3dc;--accent:#2563eb;--accent-hover:#1d4ed8;--accent-subtle:#eaf1ff;--green:#16875d;--green-subtle:#e8f6f0;--amber:#a76508;--amber-subtle:#fff4da;--red:#c83d4d;--red-subtle:#fff0f1;--cyan:#0f7588;--purple:#6f55a7;--shadow-float:0 12px 32px #17202d1f, 0 2px 8px #17202d12;--radius-sm:4px;--radius:6px;--radius-lg:8px;--sidebar-width:216px;--topbar-height:54px;letter-spacing:0;font-family:Inter,Segoe UI,Microsoft YaHei UI,Microsoft YaHei,sans-serif}.auth-screen{background:var(--bg);place-items:center;min-height:100vh;padding:32px;display:grid}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);width:min(420px,100%);box-shadow:var(--shadow-float);padding:32px}.auth-brand{align-items:center;gap:11px;margin-bottom:30px;display:flex}.auth-brand-mark{color:#fff;background:linear-gradient(135deg,#18b9d6,#2369ee);border-radius:10px;place-items:center;width:36px;height:36px;font-weight:800;display:grid}.auth-brand strong,.auth-brand span{display:block}.auth-brand span{color:var(--text-muted);margin-top:2px;font-size:12px}.auth-card h1{margin:0;font-size:25px}.auth-subtitle{color:var(--text-secondary);margin:8px 0 24px}.auth-card form{gap:15px;display:grid}.auth-card label{color:var(--text-secondary);gap:6px;font-size:13px;display:grid}.auth-card input,.auth-admin-form input,.auth-admin-form select{min-height:40px;color:var(--text);background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius);font:inherit;padding:0 11px}.auth-submit{justify-content:center;min-height:42px;margin-top:4px}.auth-switch{justify-content:center;width:100%;margin-top:18px}.auth-error{color:var(--red);background:var(--red-subtle);border-radius:var(--radius);margin:0;padding:9px 11px;font-size:13px}.auth-loading{min-height:100vh;color:var(--text-secondary);background:var(--bg);place-items:center;display:grid}.auth-session-bar{z-index:20;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-float);border-radius:18px;align-items:center;gap:14px;padding:5px 8px 5px 12px;font-size:12px;display:flex;position:fixed;top:9px;right:16px}.auth-session-bar>span,.auth-session-bar>div{align-items:center;gap:9px;display:flex}.auth-session-bar strong{color:var(--text)}.auth-session-bar em{color:var(--accent);background:var(--accent-subtle);border-radius:10px;padding:2px 6px;font-style:normal}.auth-session-bar .text-button{gap:4px}.auth-dialog-backdrop{z-index:100;background:#17202d52;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.auth-admin-dialog{box-sizing:border-box;background:var(--surface);border-radius:var(--radius-lg);width:min(1080px,100vw - 48px);max-height:min(820px,100vh - 48px);box-shadow:var(--shadow-float);padding:28px;overflow:hidden auto}.auth-admin-dialog>header{justify-content:space-between;align-items:flex-start;margin-bottom:20px;display:flex}.auth-admin-dialog h2{margin:6px 0 0;font-size:22px}.auth-kicker{color:var(--accent);align-items:center;gap:5px;font-size:12px;display:flex}.auth-admin-form{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) minmax(112px,.7fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.auth-admin-form>*{min-width:0}.auth-admin-form .button{white-space:nowrap}.auth-user-list{border:1px solid var(--border);border-radius:var(--radius);gap:1px;margin-top:20px;display:grid;overflow:hidden}.auth-user-row{background:var(--surface-subtle);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-width:0;padding:12px;display:grid}.auth-user-row+.auth-user-row{border-top:1px solid var(--border)}.auth-user-row strong,.auth-user-row span{display:block}.auth-user-row>div span{color:var(--text-muted);margin-top:3px;font-size:12px}.auth-user-row>div{overflow-wrap:anywhere;min-width:0}.auth-role{border-radius:10px;padding:3px 7px;font-size:11px}.auth-role--owner{color:#7c3aed;background:#f0e9ff}.auth-role--admin{color:var(--accent);background:var(--accent-subtle)}.auth-role--user{color:var(--text-secondary);background:var(--surface-hover)}.auth-owner-lock{color:var(--text-muted);font-size:11px}@media (width<=760px){.auth-session-bar{top:7px;right:8px}.auth-dialog-backdrop{padding:12px}.auth-admin-dialog{width:100%;max-height:calc(100dvh - 24px);padding:20px}.auth-admin-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.auth-admin-form .button{grid-column:1/-1;justify-content:center}.auth-user-row{grid-template-columns:minmax(0,1fr) auto}.auth-user-row .text-button,.auth-owner-lock{grid-column:2}}.account-dialog{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);width:min(680px,100%);max-height:min(760px,90vh);box-shadow:var(--shadow-float);padding:26px;overflow:auto}.account-dialog__header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.account-dialog__header h2{margin:6px 0 3px;font-size:22px}.account-dialog__header p{color:var(--text-muted);margin:0;font-size:13px}.account-summary-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px;display:grid}.account-stat{background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius);gap:5px;min-width:0;padding:14px;display:grid}.account-stat span,.account-stat em{color:var(--text-muted);font-size:12px;font-style:normal}.account-stat strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:19px;overflow:hidden}.account-status{color:var(--green)!important}.auth-session-bar>span{flex-wrap:wrap}.auth-session-bar small{font-size:11px}.auth-member-active{color:var(--green)}.auth-member-expired{color:var(--red)}.membership-status{border:1px solid var(--border);border-radius:var(--radius);align-items:center;gap:12px;margin-top:20px;padding:15px;display:flex}.membership-status--active{background:var(--green-subtle)}.membership-status--expired{background:var(--surface-subtle)}.membership-status__icon{width:38px;height:38px;color:var(--accent);background:var(--surface);border-radius:50%;flex:none;place-items:center;display:grid}.membership-status>div:nth-child(2){flex:1;gap:4px;min-width:0;display:grid}.membership-status strong{font-size:15px}.membership-status span{color:var(--text-secondary);font-size:12px}.membership-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.membership-product{min-width:0;min-height:88px;color:var(--text);text-align:left;background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px;display:grid;position:relative}.membership-product[aria-checked=true]{background:var(--accent-subtle);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.membership-product:disabled{cursor:not-allowed;opacity:.62}.membership-product__check{color:#fff;border:1px solid var(--border-strong,var(--border));border-radius:50%;place-items:center;width:18px;height:18px;display:grid}.membership-product[aria-checked=true] .membership-product__check{background:var(--accent);border-color:var(--accent)}.membership-product__body{gap:5px;min-width:0;display:grid}.membership-product__body strong{overflow-wrap:anywhere;font-size:14px}.membership-product__body small,.membership-product__price small{color:var(--text-muted);font-size:11px}.membership-product__price{color:var(--text);white-space:nowrap;justify-items:end;gap:3px;font-size:20px;font-weight:700;display:grid}.membership-product__unavailable{color:var(--text-muted);grid-column:2/-1;font-size:11px}.membership-empty{color:var(--text-muted);background:var(--surface-subtle);border-radius:var(--radius);grid-column:1/-1;padding:12px;font-size:13px}.membership-method{color:var(--text-secondary);grid-template-columns:1fr 2fr;align-items:center;gap:12px;margin-top:14px;font-size:13px;display:grid}.membership-method select,.auth-membership-editor select,.auth-membership-editor>input[type=number]{min-width:0;min-height:38px;color:var(--text);background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius);font:inherit;padding:0 10px}.membership-purchase{justify-content:center;width:100%;min-height:42px;margin-top:14px}.auth-user-membership+.auth-user-membership{border-top:1px solid var(--border)}.auth-membership-editor{background:var(--surface-subtle);flex-wrap:wrap;align-items:center;gap:8px;padding:9px 12px 12px;display:flex}.auth-membership-caption{width:100%;color:var(--text-secondary);align-items:center;gap:6px;font-size:12px;display:flex}.auth-membership-editor>input[type=number]{width:90px}.auth-lifetime-toggle,.auth-feature-toggle{color:var(--text-secondary);align-items:center;gap:5px;font-size:12px;display:inline-flex}.auth-lifetime-toggle input,.auth-feature-toggle input{accent-color:var(--accent)}.membership-blocked{background:var(--bg);place-items:center;min-height:calc(100vh - 60px);padding:24px;display:grid}.membership-blocked>section{text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);width:min(460px,100%);box-shadow:var(--shadow-float);justify-items:center;gap:14px;padding:34px;display:grid}.membership-blocked h1{margin:0;font-size:22px}.membership-blocked p{color:var(--text-secondary);margin:0 0 4px;line-height:1.6}.account-provider-note{color:var(--text-secondary);background:var(--accent-subtle);border-radius:var(--radius);align-items:center;gap:8px;margin:15px 0;padding:10px 12px;font-size:13px;display:flex}.account-panel{border:1px solid var(--border);border-radius:var(--radius);margin-top:12px;padding:15px}.account-panel--compact{padding-bottom:11px}.account-panel__title{color:var(--text);align-items:center;gap:7px;display:flex}.account-help{color:var(--text-muted);margin:8px 0 0;font-size:12px;line-height:1.55}.account-redeem-form{gap:8px;margin-top:12px;display:flex}.account-redeem-form input{min-width:0;min-height:40px;color:var(--text);background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius);font:inherit;flex:1;padding:0 11px}.account-redeem-form select{min-width:150px;min-height:40px;color:var(--text);background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius);font:inherit;padding:0 10px}.account-redeem-form .button{flex:none}.account-online-topup{border-bottom:1px solid var(--border);margin-top:8px;padding-bottom:12px}.account-payment-inputs{margin-top:10px}.account-payment-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px;display:flex}.account-payment-actions>span{color:var(--text-secondary);font-size:13px}.account-payment-actions>span strong{color:var(--text);font-size:15px}.account-payment-ready{color:var(--text-secondary);background:var(--accent-subtle);border-radius:var(--radius);justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:11px 12px;font-size:13px;display:flex}.account-payment-post{display:none}.account-state{min-height:160px;color:var(--text-secondary);justify-content:center;align-items:center;gap:8px;font-size:13px;display:flex}.auth-success{color:var(--green);background:var(--green-subtle);border-radius:var(--radius);margin:12px 0 0;padding:9px 11px;font-size:13px}@keyframes account-spin{to{transform:rotate(360deg)}}@media (width<=760px){.account-dialog{padding:20px}.account-summary-grid,.membership-products{grid-template-columns:1fr}.membership-method{grid-template-columns:1fr;gap:6px}.account-payment-ready{flex-direction:column;align-items:stretch}.membership-blocked>section{padding:24px}}body,.app-shell,.convert-surface,.conversion-drop,.conversion-queue,.history-surface,.extract-surface,.batch-surface,.conversion-modes button,.pdf-word-mode-picker button strong,.spreadsheet-pdf-layout button strong,.conversion-drop strong,.conversion-queue__heading h2{font-size:14px}.conversion-drop small,.conversion-file-list small,.conversion-queue__heading span,.conversion-state,.conversion-runbar>span,.pdf-word-mode-picker button small,.pdf-word-mode-note small,.ocr-presentation-control>span small,.office-font-policy small,.spreadsheet-pdf-layout button small,.spreadsheet-pdf-note small{font-size:12px;line-height:1.5}.conversion-file-list strong,.history-job__main strong,.history-overview strong,.mapping-row,.extract-file-list strong{font-size:13px}.keyword-library-header p,.keyword-library-toolbar>strong,.keyword-category-list button,.keyword-rule-heading strong,.keyword-rule-list label strong,.keyword-create-area>div strong,.keyword-library-footer>span,.extract-library-launch>span,.extract-selected-keywords>span,.extract-prompt-input>label:first-child,.extract-preset-control select,.extract-preset-control .text-button{font-size:12px}.keyword-category-list button em,.keyword-rule-heading span,.keyword-rule-heading .text-button,.keyword-rule-list label small,.keyword-rule-list label>em,.keyword-create-area>div span,.keyword-create-area>label,.keyword-create-area>input,.keyword-rule-empty span,.extract-library-launch>span,.extract-selected-keywords>em,.extract-keyword-empty,.extract-prompt-remember{font-size:11px}.button{font-size:13px}.icon-button{min-width:32px;min-height:32px}:root[data-theme=dark] .home-primary-action,:root[data-theme=dark] .home-primary-action.home-workflow,:root[data-theme=dark] .home-primary-action:hover,:root[data-theme=dark] .home-primary-action.is-dragging,:root[data-theme=dark] .home-launchers,:root[data-theme=dark] .home-launchers>button,:root[data-theme=dark] .home-statusbar,:root[data-theme=dark] .home-statusbar>div,:root[data-theme=dark] .home-recent,:root[data-theme=dark] .home-recent-empty{background:var(--surface)!important;color:var(--text)!important;border-color:var(--border-strong)!important}:root[data-theme=dark] .home-primary-action p,:root[data-theme=dark] .home-primary-action small,:root[data-theme=dark] .home-workflow__summary,:root[data-theme=dark] .home-recent-empty span,:root[data-theme=dark] .home-launchers small{color:var(--text-secondary)!important}:root[data-theme=dark] .home-primary-action .upload-icon,:root[data-theme=dark] .home-primary-action .upload-icon--secondary{background:var(--accent-subtle)!important;color:#9fc5ff!important}:root[data-theme=dark] .home-primary-action{border-color:var(--border-strong);background:var(--surface)!important}:root[data-theme=dark] .home-primary-action:hover,:root[data-theme=dark] .home-primary-action.is-dragging{background:var(--surface-hover)!important}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#111827;--surface:#182230;--surface-subtle:#1e2938;--surface-hover:#263447;--text:#edf2f7;--text-secondary:#c0cad6;--text-muted:#94a3b8;--border:#334155;--border-strong:#475569;--accent-subtle:#1e3a70;--green-subtle:#123b2c;--amber-subtle:#4b3510;--red-subtle:#4a2028;--shadow-float:0 14px 34px #00000052, 0 2px 8px #00000038}:root[data-theme=dark] .app-frame,:root[data-theme=dark] .surface-section,:root[data-theme=dark] .surface-section--fill,:root[data-theme=dark] .home-workflow,:root[data-theme=dark] .home-launch-grid,:root[data-theme=dark] .home-recent,:root[data-theme=dark] .extract-source,:root[data-theme=dark] .extract-mapping,:root[data-theme=dark] .module-footer-action,:root[data-theme=dark] .conversion-drop,:root[data-theme=dark] .conversion-queue,:root[data-theme=dark] .history-job,:root[data-theme=dark] .settings-dialog,:root[data-theme=dark] .settings-group,:root[data-theme=dark] .keyword-library-dialog,:root[data-theme=dark] .extraction-preset-dialog,:root[data-theme=dark] .extraction-learning-dialog,:root[data-theme=dark] .excel-template-dialog{background:var(--surface);color:var(--text)}:root[data-theme=dark] .extract-method-panel,:root[data-theme=dark] .extract-template-control,:root[data-theme=dark] .extract-preset-control,:root[data-theme=dark] .mapping-head--extract,:root[data-theme=dark] .history-overview,:root[data-theme=dark] .settings-group,:root[data-theme=dark] .keyword-library-toolbar,:root[data-theme=dark] .keyword-create-area,:root[data-theme=dark] .extraction-preset-save,:root[data-theme=dark] .excel-template-toolbar{background:var(--surface-subtle)}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,:root[data-theme=dark] .template-search,:root[data-theme=dark] .history-search,:root[data-theme=dark] .settings-field select,:root[data-theme=dark] .extract-preview-table,:root[data-theme=dark] .extract-preview-table th:first-child,:root[data-theme=dark] .extract-preview-table thead th{background:var(--surface-subtle);color:var(--text)}:root[data-theme=dark] .button--secondary,:root[data-theme=dark] .history-open-button,:root[data-theme=dark] .icon-button--bordered{background:var(--surface-subtle);color:var(--text-secondary)}:root[data-theme=dark] .home-hero,:root[data-theme=dark] .home-upload-lane,:root[data-theme=dark] .stats-band,:root[data-theme=dark] .files-panel,:root[data-theme=dark] .template-band,:root[data-theme=dark] .run-bar{background:var(--surface);color:var(--text)}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}body{background:var(--bg);min-width:320px;color:var(--text);font-size:13px;overflow:hidden}button,input,select{color:inherit;font:inherit;letter-spacing:0}button,select,input[type=checkbox]{cursor:pointer}button{border:0}button:focus-visible,select:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline-offset:2px;outline:2px solid #2563eb73}h1,h2,h3,p{margin:0}.app-shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);width:100%;height:100%;display:grid;overflow:hidden}.app-frame{flex-direction:column;min-width:0;min-height:0;display:flex}.sidebar{z-index:12;color:#d6dee8;background:#172433;border-right:1px solid #243242;flex-direction:column;min-height:0;padding:0 12px 12px;display:flex;position:relative;overflow:hidden}.brand-lockup{height:var(--topbar-height);flex:0 0 var(--topbar-height);border-bottom:1px solid #ffffff14;align-items:center;gap:10px;padding:0 6px;display:flex}.brand-mark{border-radius:var(--radius);color:#fff;background:#2563eb;border:1px solid #ffffff24;flex:0 0 30px;place-items:center;width:30px;height:30px;display:grid}.brand-mark img{width:24px;height:24px;display:block}.brand-copy{white-space:nowrap;align-items:baseline;gap:6px;min-width:0;display:flex}.brand-copy strong{color:#fff;font-size:14px;font-weight:650}.brand-copy span{color:#98a7b8;font-size:11px}.nav-list{flex-direction:column;gap:3px;padding-top:14px;display:flex}.nav-item{border-radius:var(--radius);color:#aebac8;text-align:left;background:0 0;align-items:center;gap:11px;width:100%;min-height:38px;padding:0 11px;transition:background-color .14s,color .14s,transform .12s;display:flex}.nav-item:hover{color:#fff;background:#ffffff12}.nav-item:active{transform:translateY(1px)}.nav-item.is-active{color:#fff;background:#27384a;box-shadow:inset 2px 0 #5b8cff}.nav-item span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.nav-item--secondary{flex:0 0 38px}.sidebar-spacer{flex:1;min-height:12px}.engine-summary{border-radius:var(--radius);background:#ffffff0a;border:1px solid #ffffff17;flex-direction:column;gap:4px;margin:0 2px 8px;padding:11px 12px;display:flex}.engine-summary__topline{color:#a9b6c4;align-items:center;gap:7px;font-size:11px;display:flex}.engine-summary strong{color:#e9eff5;margin-top:2px;font-size:12px;font-weight:600}.engine-summary>span{color:#8191a3;font-size:10px}.status-dot{background:#26ad7d;border-radius:50%;flex:0 0 7px;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 3px #26ad7d1f}.topbar{z-index:10;height:var(--topbar-height);flex:0 0 var(--topbar-height);border-bottom:1px solid var(--border);background:#fffffff5;justify-content:space-between;align-items:center;padding:0 18px 0 22px;display:flex;position:relative}.breadcrumb{min-width:0;color:var(--text-muted);align-items:center;gap:7px;font-size:12px;display:flex}.breadcrumb strong{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.topbar-actions,.heading-actions,.run-actions,.file-actions{align-items:center;gap:8px;display:flex}.batch-limit-note{color:#66758a;letter-spacing:0;font-size:9px;font-style:normal;font-weight:500;line-height:1.4}.home-upload-lane__heading .batch-limit-note,.template-builder-panel .batch-limit-note{margin-top:2px;display:block}.large-drop-target .batch-limit-note,.conversion-drop .batch-limit-note{background:#f1f4f8;border-radius:4px;padding:3px 7px}.command-trigger{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-subtle);width:min(270px,26vw);height:32px;color:var(--text-muted);text-align:left;align-items:center;gap:8px;padding:0 7px 0 10px;transition:border-color .14s,background-color .14s;display:flex}.command-trigger:hover{border-color:var(--border-strong);background:#fff}.command-trigger>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}kbd{border:1px solid var(--border);border-bottom-color:var(--border-strong);color:var(--text-muted);background:#fff;border-radius:4px;padding:2px 5px;font-family:inherit;font-size:10px;line-height:1.4}.icon-button,.row-action,.preview-toolbar button,.selection-summary button{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-secondary);background:0 0;flex:0 0 32px;place-items:center;transition:background-color .12s,color .12s,transform .12s;display:inline-grid}.icon-button:hover,.row-action:hover,.preview-toolbar button:hover,.selection-summary button:hover{background:var(--surface-hover);color:var(--text)}.icon-button:active,.row-action:active,.preview-toolbar button:active{transform:translateY(1px)}.icon-button--bordered{border:1px solid var(--border);background:#fff}.has-indicator:after{background:var(--red);content:"";border:2px solid #fff;border-radius:50%;width:5px;height:5px;margin:-15px -15px 0 0;position:absolute}.avatar-button{color:#fff;background:#283a4d;border-radius:50%;place-items:center;width:30px;height:30px;font-size:11px;font-weight:650;display:grid}.button{border-radius:var(--radius);white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:7px;min-height:34px;padding:0 13px;font-size:12px;font-weight:600;transition:background-color .14s,border-color .14s,box-shadow .14s,transform .12s;display:inline-flex}.button:active{transform:translateY(1px)}.button:disabled{cursor:not-allowed;opacity:.55;transform:none}.button--primary{border-color:var(--accent);background:var(--accent);color:#fff;box-shadow:0 1px 2px #2563eb38}.button--primary:hover{border-color:var(--accent-hover);background:var(--accent-hover)}.button--secondary{border-color:var(--border);color:var(--text-secondary);background:#fff}.button--secondary:hover{border-color:var(--border-strong);background:var(--surface-subtle);color:var(--text)}.text-button{min-height:28px;color:var(--accent);background:0 0;align-items:center;gap:5px;padding:0 3px;font-size:12px;font-weight:550;display:inline-flex}.text-button:hover{color:var(--accent-hover)}.batch-workspace{background:var(--bg);flex:1;grid-template-columns:minmax(620px,1fr) 350px;min-width:0;min-height:0;display:grid;position:relative;overflow:hidden}.workspace-main{border-right:1px solid var(--border);flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.workspace-heading{background:var(--surface);flex:none;justify-content:space-between;align-items:center;gap:20px;min-height:82px;padding:14px 22px 13px;display:flex}.workspace-heading h1,.module-heading h1{color:var(--text);font-size:20px;font-weight:670;line-height:1.3}.workspace-heading p,.module-heading p{color:var(--text-secondary);margin-top:5px;font-size:12px;line-height:1.5}.title-line{align-items:center;gap:12px;display:flex}.session-state{color:var(--text-muted);align-items:center;font-size:10px;display:inline-flex}.template-band{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#f9fbfd;flex:none;align-items:center;gap:16px;min-height:64px;padding:8px 22px;display:flex}.template-band__identity{align-items:center;gap:10px;min-width:280px;display:flex}.template-band__identity>div{min-width:0}.template-band__identity>div>span{color:var(--text-muted);margin-bottom:2px;font-size:10px;display:block}.template-icon{border-radius:var(--radius);background:var(--accent-subtle);width:34px;height:34px;color:var(--accent);border:1px solid #cbdafd;flex:0 0 34px;place-items:center;display:grid}.select-wrap{align-items:center;min-width:0;display:flex;position:relative}.select-wrap select{width:100%;max-width:310px;color:var(--text);text-overflow:ellipsis;appearance:none;background:0 0;border:0;padding:0 25px 0 0;font-size:12px;font-weight:650;overflow:hidden}.select-wrap svg{pointer-events:none;color:var(--text-muted);position:absolute;right:4px}.template-band__meta{min-width:0;color:var(--text-muted);flex:1;align-items:center;gap:10px;font-size:11px;display:flex}.template-band__meta span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.template-band__meta strong{color:var(--cyan);flex:none;font-size:10px;font-weight:650}.stats-band{border-bottom:1px solid var(--border);background:#fff;flex:none;grid-template-columns:repeat(4,minmax(0,1fr));min-height:50px;padding:0 22px;display:grid}.stats-band>div{min-width:0;color:var(--text-secondary);align-items:center;gap:7px;padding-right:14px;font-size:11px;display:flex}.stats-band>div+div{border-left:1px solid var(--border);padding-left:16px}.stats-band strong{color:var(--text);font-variant-numeric:tabular-nums;margin-left:auto;font-size:17px}.stat-mark{border-radius:50%;flex:0 0 7px;width:7px;height:7px}.stat-mark--ready{background:var(--accent)}.stat-mark--warning{background:#d68a15}.stat-mark--complete{background:var(--green)}.files-panel{background:#fff;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.files-toolbar{border-bottom:1px solid var(--border);flex:0 0 48px;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:0 16px 0 22px;display:flex}.filter-tabs,.inspector-tabs,.segmented,.conversion-modes{align-items:center;display:flex}.filter-tabs{align-self:stretch;gap:20px}.filter-tabs button,.inspector-tabs button{height:100%;color:var(--text-muted);background:0 0;padding:0;font-size:12px;font-weight:550;position:relative}.filter-tabs button:after,.inspector-tabs button:after{content:"";background:0 0;height:2px;position:absolute;bottom:-1px;left:0;right:0}.filter-tabs button:hover,.filter-tabs button.is-active,.inspector-tabs button:hover,.inspector-tabs button.is-active{color:var(--text)}.filter-tabs button.is-active:after,.inspector-tabs button.is-active:after{background:var(--accent)}.selection-summary{border-radius:var(--radius);background:var(--accent-subtle);height:30px;color:var(--accent);border:1px solid #cbdafd;align-items:center;gap:5px;padding-left:9px;font-size:11px;font-weight:600;display:flex}.selection-summary button{width:26px;height:28px;color:var(--accent)}.table-scroll{scrollbar-color:#c9d0d8 transparent;scrollbar-width:thin;flex:1;min-height:0;overflow:auto}.document-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;font-size:11px}.document-table th{z-index:2;border-bottom:1px solid var(--border);height:34px;color:var(--text-muted);text-align:left;background:#f8f9fb;padding:0 9px;font-size:10px;font-weight:600;position:sticky;top:0}.document-table td{height:55px;color:var(--text-secondary);vertical-align:middle;border-bottom:1px solid #edf0f3;padding:0 9px}.document-table tbody tr{background:#fff;transition:background-color .12s,box-shadow .12s;position:relative}.document-table tbody tr:hover{background:#f8fafc}.document-table tbody tr.is-selected{background:#f2f6ff}.document-table tbody tr.is-focused{box-shadow:inset 2px 0 0 var(--accent)}.checkbox-cell{width:38px;padding-left:15px!important;padding-right:4px!important}input[type=checkbox]{width:14px;height:14px;accent-color:var(--accent);margin:0}.column-compact{width:49px}.column-confidence{width:104px}.column-status{width:92px}.column-issues{width:54px}.actions-cell{width:38px;text-align:center!important}.file-cell{align-items:center;gap:9px;min-width:0;display:flex}.file-icon{width:30px;height:34px;color:var(--accent);background:#eef4ff;border:1px solid #cbdafd;border-radius:4px;flex:0 0 30px;place-items:center;display:grid}.file-icon--pdf{color:var(--red);background:#fff2f3;border-color:#f2cbd0}.file-icon--pptx{color:#b25920;background:#fff4ea;border-color:#f0d2ba}.file-icon--xlsx{color:var(--green);background:#ecf8f3;border-color:#c4e5d7}.file-meta{flex-direction:column;gap:4px;min-width:0;display:flex}.file-meta strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;overflow:hidden}.file-meta small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.confidence-cell{color:var(--text-secondary);font-variant-numeric:tabular-nums;flex-direction:column;gap:4px;display:flex}.confidence-track{background:#e7ebef;border-radius:2px;width:58px;height:3px;display:block;overflow:hidden}.confidence-track span{border-radius:inherit;background:#5b85e8;height:100%;display:block}.muted,.no-issues{color:var(--text-muted)}.status-badge{white-space:nowrap;border-radius:4px;align-items:center;gap:5px;min-height:23px;padding:0 7px;font-size:9px;font-weight:650;display:inline-flex}.status-badge--ready{background:var(--accent-subtle);color:var(--accent)}.status-badge--completed{background:var(--green-subtle);color:var(--green)}.status-badge--warning{background:var(--amber-subtle);color:var(--amber)}.status-badge--error{background:var(--red-subtle);color:var(--red)}.status-badge--checking,.status-badge--processing{color:var(--cyan);background:#edf5f7}.status-badge--cancelled{color:var(--text-secondary);background:#eef0f2}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.issue-count{background:var(--amber-subtle);min-width:30px;height:23px;color:var(--amber);border-radius:4px;padding:0 6px;font-size:9px;font-weight:650}.row-action{opacity:0;width:28px;height:28px}.document-table tr:hover .row-action,.document-table tr.is-focused .row-action,.row-action:focus-visible{opacity:1}.filter-empty{min-height:180px;color:var(--text-muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:10px;display:flex}.filter-empty strong{color:var(--text-secondary);font-size:12px}.run-bar{border-top:1px solid var(--border);background:#fbfcfd;flex:0 0 68px;justify-content:space-between;align-items:center;gap:12px;min-height:68px;padding:0 16px 0 22px;display:flex;box-shadow:0 -5px 14px #17202d08}.run-summary{align-items:center;gap:10px;min-width:0;display:flex}.run-summary>div{flex-direction:column;gap:3px;min-width:0;display:flex}.run-summary strong{color:var(--text);font-size:12px;font-weight:650}.run-summary span{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.run-progress-row{align-items:center;gap:8px;margin-top:2px;display:flex}.run-progress-track{background:#e6ebf2;border-radius:4px;width:min(190px,26vw);height:4px;overflow:hidden}.run-progress-track>span{border-radius:inherit;background:var(--accent);height:100%;transition:width .18s;display:block;box-shadow:0 0 8px #3771f05c}.run-progress-track.is-paused>span{background:var(--red);box-shadow:0 0 8px #dc5b5b57}.run-progress-track.is-complete>span{background:var(--green);box-shadow:0 0 8px #34a86c57}.run-progress-track.is-error>span{background:var(--red);box-shadow:0 0 8px #c83d4d4d}.run-progress-percent{color:var(--accent)!important;font-size:10px!important}.run-progress-track.is-paused+.run-progress-percent{color:var(--red)!important}.run-progress-track.is-complete+.run-progress-percent{color:var(--green)!important}.run-progress-track.is-error+.run-progress-percent{color:var(--red)!important}.run-icon{border:1px solid var(--border);border-radius:var(--radius);width:34px;height:34px;color:var(--text-secondary);background:#fff;flex:0 0 34px;place-items:center;display:grid}.run-icon.is-active{background:var(--accent-subtle);color:var(--accent);border-color:#cbdafd}.run-icon.is-active svg{animation:1.2s linear infinite spin}.inspector{background:#eef1f4;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.inspector-tabs{border-bottom:1px solid var(--border);background:#fff;flex:0 0 45px;gap:21px;height:45px;padding:0 16px}.preview-toolbar{border-bottom:1px solid var(--border);background:#f8f9fb;flex:0 0 39px;justify-content:space-between;align-items:center;height:39px;padding:0 9px 0 12px;display:flex}.page-control,.zoom-control{align-items:center;gap:2px;display:flex}.preview-toolbar button{width:26px;height:26px}.preview-toolbar span{min-width:38px;color:var(--text-muted);text-align:center;font-variant-numeric:tabular-nums;font-size:9px}.preview-stage{background:#e9edf1;flex:1;justify-content:center;min-height:0;padding:20px 14px 30px;display:flex;overflow:auto}.document-page{width:286px;min-height:404px;transform:scale(var(--preview-scale));transform-origin:top;color:#222;background:#fff;border:1px solid #d6d9dd;flex:0 0 286px;padding:25px 27px 22px;font-family:SimSun,宋体,serif;position:relative;box-shadow:0 8px 22px #17202d24}.document-redline{background:#b5202e;height:4px;margin:-6px 0 10px}.document-page p{text-align:justify;text-indent:2em;margin-top:8px;font-size:7px;line-height:1.9}.document-page .document-kicker{color:#a52431;text-align:center;text-indent:0;margin:0;font-family:SimHei,黑体,sans-serif;font-size:7px;font-weight:600}.document-page h2{color:#b5202e;text-align:center;margin-top:6px;font-family:STKaiti,KaiTi,楷体,serif;font-size:25px;font-weight:700;line-height:1.1}.document-number{text-align:center;margin-top:4px;font-size:6px}.document-rule{background:#b5202e;height:1px;margin:7px 0 10px}.document-page h3{text-align:center;font-family:SimHei,黑体,sans-serif;font-size:11px;line-height:1.5}.document-page .document-subtitle{color:#555;text-align:center;text-indent:0;margin-top:3px;font-size:6px}.document-photo{background:#dfe7ec;border:1px solid #bfc4ca;height:92px;margin:8px 0 5px;position:relative;overflow:hidden}.photo-wall{background:#cbd8df;border-bottom:4px solid #f4f5f7;position:absolute;inset:0 0 30%}.photo-wall:before,.photo-wall:after{content:"";background:#6b8290;border:3px solid #eef2f4;width:62px;height:25px;position:absolute;top:12px}.photo-wall:before{left:25px}.photo-wall:after{right:25px}.photo-people{justify-content:space-between;align-items:flex-end;display:flex;position:absolute;bottom:10px;left:25px;right:25px}.photo-people span{background:#324c5d;border-radius:6px 6px 2px 2px;width:24px;height:33px;position:relative}.photo-people span:before{content:"";background:#d4b19a;border-radius:50%;width:12px;height:12px;position:absolute;top:-9px;left:6px}.document-signature{flex-direction:column;align-items:flex-end;gap:3px;margin-top:11px;font-size:6px;display:flex}.preview-pin{color:#fff;background:#db8b14;border:2px solid #fff;border-radius:50%;place-items:center;width:17px;height:17px;font-family:sans-serif;font-size:9px;font-weight:800;display:grid;position:absolute;top:112px;right:-8px;box-shadow:0 2px 5px #17202d2e}.preview-footer{border-top:1px solid var(--border);min-height:35px;color:var(--text-muted);background:#fff;flex:none;align-items:center;gap:7px;padding:0 12px;font-size:9px;display:flex}.preview-footer strong{min-width:0;color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-weight:550;overflow:hidden}.issues-panel{flex:1;min-height:0;padding:10px;overflow:auto}.issue-row{border-bottom:1px solid var(--border);text-align:left;background:0 0;grid-template-columns:28px minmax(0,1fr) 16px;align-items:start;gap:8px;width:100%;padding:11px 9px;display:grid}.issue-row:hover{background:#ffffffb8}.issue-row__icon{border-radius:var(--radius);background:var(--amber-subtle);width:28px;height:28px;color:var(--amber);place-items:center;display:grid}.issue-row--error .issue-row__icon{background:var(--red-subtle);color:var(--red)}.issue-row--info .issue-row__icon{background:var(--accent-subtle);color:var(--accent)}.issue-row>span:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.issue-row strong{font-size:11px}.issue-row small{color:var(--text-muted);font-size:9px}.issue-row p{color:var(--text-secondary);margin-top:3px;font-size:10px;line-height:1.55}.issue-row>svg{color:var(--text-muted);margin-top:6px}.inspector-empty{height:100%;min-height:240px;color:var(--green);flex-direction:column;justify-content:center;align-items:center;gap:9px;display:flex}.inspector-empty strong{color:var(--text);font-size:12px}.inspector-empty span{color:var(--text-muted);font-size:10px}.inspector-empty--preview{flex:1;min-height:0;padding:28px}.inspector-empty--preview strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.inspector-empty--preview span{max-width:260px;line-height:1.6}.drop-overlay{z-index:30;border-radius:var(--radius-lg);color:var(--text-secondary);pointer-events:none;background:#f1f6fff5;border:2px dashed #6e99f5;flex-direction:column;justify-content:center;align-items:center;gap:9px;display:flex;position:absolute;inset:12px}.drop-overlay__icon{border-radius:var(--radius-lg);width:58px;height:58px;color:var(--accent);background:#fff;border:1px solid #bfd0f8;place-items:center;display:grid;box-shadow:0 8px 24px #2563eb1f}.drop-overlay strong{color:var(--text);font-size:16px}.drop-overlay>span:last-child{color:var(--text-muted);font-size:11px}.toast{z-index:40;border-radius:var(--radius);max-width:420px;min-height:42px;color:var(--green);box-shadow:var(--shadow-float);background:#fff;border:1px solid #c9e6d9;align-items:center;gap:9px;padding:0 13px;animation:.18s ease-out toast-in;display:flex;position:absolute;bottom:82px;right:18px}.toast span{color:var(--text-secondary);font-size:11px}@keyframes toast-in{0%{opacity:0;transform:translateY(6px)}}.dialog-backdrop{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#10182257;justify-content:center;padding-top:min(16vh,130px);display:flex;position:fixed;inset:0}.command-dialog{border:1px solid var(--border-strong);border-radius:var(--radius-lg);width:min(560px,100vw - 32px);height:fit-content;max-height:520px;box-shadow:var(--shadow-float);background:#fff;animation:.16s ease-out dialog-in;overflow:hidden}@keyframes dialog-in{0%{opacity:0;transform:translateY(-5px)scale(.99)}}.command-search{border-bottom:1px solid var(--border);height:54px;color:var(--text-muted);align-items:center;gap:10px;padding:0 11px 0 16px;display:flex}.command-search input{min-width:0;height:100%;color:var(--text);background:0 0;border:0;outline:0;flex:1;font-size:14px}.command-search input::placeholder{color:#9aa5b1}.command-results{padding:8px}.command-group-label{color:var(--text-muted);text-transform:uppercase;padding:6px 9px 7px;font-size:9px;font-weight:650}.command-row{border-radius:var(--radius);text-align:left;background:0 0;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:8px;display:grid}.command-row:hover,.command-row:focus-visible{background:var(--surface-hover)}.command-row__icon{border:1px solid var(--border);border-radius:var(--radius);width:34px;height:34px;color:var(--accent);background:#fff;place-items:center;display:grid}.command-row>span:last-child{flex-direction:column;gap:3px;min-width:0;display:flex}.command-row strong{font-size:12px;font-weight:620}.command-row small{color:var(--text-muted);font-size:10px}.command-empty{color:var(--text-muted);text-align:center;padding:30px}.module-surface{background:var(--bg);flex-direction:column;flex:1;gap:16px;min-width:0;min-height:0;padding:20px 24px 24px;display:flex;overflow:auto}.module-surface--home{gap:14px;padding-top:18px}.home-heading{flex:none;justify-content:space-between;align-items:flex-start;gap:24px;min-height:58px;display:flex}.home-heading>div{min-width:0}.home-heading h1{color:var(--text);font-size:23px;font-weight:690;line-height:1.25}.home-heading p{color:var(--text-secondary);margin-top:6px;font-size:12px;line-height:1.5}.home-primary-action{border:1px solid #cfd8e4;border-left:3px solid var(--accent);border-radius:var(--radius-lg);background:#fff;flex:none;grid-template-columns:54px minmax(280px,1fr) auto;align-items:center;gap:18px;min-height:144px;padding:20px 22px;transition:border-color .14s,box-shadow .14s,background-color .14s;display:grid;position:relative;overflow:hidden;box-shadow:0 1px 2px #17202d0a}.home-primary-action:hover,.home-primary-action.is-dragging{border-color:#8cabed;border-left-color:var(--accent);background:#fbfdff;box-shadow:0 4px 14px #2563eb14}.home-primary-action.is-dragging:after{border-radius:var(--radius);pointer-events:none;content:"";border:1px dashed #79a0ed;position:absolute;inset:6px}.home-primary-icon{border-radius:var(--radius-lg);background:var(--accent-subtle);width:52px;height:52px;color:var(--accent);border:1px solid #c7d8fb;place-items:center;display:grid}.home-primary-copy{min-width:0}.home-primary-copy h2{font-size:18px;font-weight:680;line-height:1.3}.home-primary-copy p{max-width:720px;color:var(--text-secondary);margin-top:7px;font-size:12px;line-height:1.55}.home-primary-copy>span{color:var(--text-muted);margin-top:8px;font-size:10px;display:block}.home-primary-buttons{flex-direction:column;align-items:stretch;gap:6px;display:flex}.home-primary-buttons .text-button{justify-content:center}.home-launchers{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;flex:none;grid-template-columns:repeat(5,minmax(0,1fr));min-height:104px;display:grid}.home-launchers>button{text-align:left;background:0 0;grid-template-columns:38px minmax(0,1fr) 15px;align-items:center;gap:10px;min-width:0;padding:14px 15px;transition:background-color .13s,transform .12s;display:grid}.home-launchers>button+button{border-left:1px solid var(--border)}.home-launchers>button:hover{background:var(--surface-hover)}.home-launchers>button:active{transform:translateY(1px)}.home-launchers>button>span:nth-child(2){flex-direction:column;gap:4px;min-width:0;display:flex}.home-launchers strong{white-space:normal;font-size:12px;font-weight:650;line-height:1.35}.home-launchers small{color:var(--text-muted);white-space:normal;font-size:9px;line-height:1.45;display:block}.home-launchers>button>svg{color:var(--text-muted)}.home-launch-icon{border-radius:var(--radius);background:var(--accent-subtle);width:36px;height:36px;color:var(--accent);place-items:center;display:grid}.home-launch-icon--cyan{color:var(--cyan);background:#e8f5f7}.home-launch-icon--green{background:var(--green-subtle);color:var(--green)}.home-launch-icon--purple{color:var(--purple);background:#f0ecf8}.home-launch-icon--red{background:var(--red-subtle);color:var(--red)}.home-launch-icon--amber{background:var(--amber-subtle);color:var(--amber)}.home-statusbar{border:1px solid var(--border);border-radius:var(--radius);background:#fff;flex:0 0 44px;grid-template-columns:repeat(4,minmax(0,1fr));min-height:44px;display:grid}.home-statusbar>div{min-width:0;color:var(--text-muted);align-items:center;gap:7px;padding:0 15px;font-size:10px;display:flex}.home-statusbar>div+div{border-left:1px solid var(--border)}.home-statusbar strong{color:var(--text);margin-left:auto;font-size:12px;font-weight:660}.home-statusbar .text-warning{color:var(--amber)}.home-statusbar .text-success{color:var(--green)}.home-recent{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;flex:1 0 auto;min-height:0}.home-section-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;min-height:50px;padding:0 15px;display:flex}.home-section-heading>div{align-items:baseline;gap:10px;display:flex}.home-section-heading h2{font-size:13px;font-weight:660}.home-section-heading span{color:var(--text-muted);font-size:9px}.home-recent-list{flex-direction:column;display:flex}.home-recent-row{border-bottom:1px solid #edf0f3;grid-template-columns:34px minmax(220px,1fr) 80px auto;align-items:center;gap:11px;min-height:58px;padding:8px 14px;display:grid}.home-recent-row:last-child{border-bottom:0}.recent-file-icon{border-radius:var(--radius);background:var(--accent-subtle);width:32px;height:32px;color:var(--accent);place-items:center;display:grid}.recent-file-icon--blue{background:var(--accent-subtle);color:var(--accent)}.recent-file-icon--green{background:var(--green-subtle);color:var(--green)}.recent-file-meta{flex-direction:column;gap:4px;min-width:0;display:flex}.recent-file-meta strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:620;overflow:hidden}.recent-file-meta small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.recent-state{color:var(--green);align-items:center;gap:5px;font-size:9px;font-weight:650;display:inline-flex}.recent-state--running{color:var(--accent)}.recent-state--error{color:var(--red)}.recent-open-actions{align-items:center;gap:6px;display:flex}.button--compact{min-height:29px;padding:0 9px;font-size:10px}.module-heading{flex:none;justify-content:space-between;align-items:flex-start;gap:20px;min-height:58px;display:flex}.overview-strip{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;grid-template-columns:repeat(4,minmax(0,1fr));min-height:82px;display:grid}.overview-strip>div{grid-template-rows:auto auto;grid-template-columns:1fr auto;align-content:center;gap:4px 12px;padding:13px 18px;display:grid}.overview-strip>div+div{border-left:1px solid var(--border)}.overview-strip span{color:var(--text-secondary);font-size:11px}.overview-strip strong{color:var(--text);grid-row:span 2;font-size:23px;font-weight:660}.overview-strip small{color:var(--text-muted);font-size:9px}.overview-strip .text-warning{color:var(--amber)}.overview-strip .engine-online{color:var(--green);align-items:center;gap:7px;font-size:14px;display:flex}.surface-section{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff}.surface-section--fill{flex:1;min-height:0}.section-heading,.section-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:47px;padding:0 15px;display:flex}.section-heading h2{color:var(--text);font-size:13px;font-weight:650}.section-heading>span{color:var(--text-muted);font-size:10px}.task-list,.template-list-compact,.template-library,.history-list{flex-direction:column;display:flex}.task-row,.template-list-compact button,.template-library-row,.history-list>button,.history-list>div{text-align:left;background:0 0;border-bottom:1px solid #edf0f3;align-items:center;gap:12px;min-height:58px;padding:8px 14px;display:grid}.task-row:last-child,.template-list-compact button:last-child,.template-library-row:last-child,.history-list>button:last-child,.history-list>div:last-child{border-bottom:0}.task-row:hover,.template-list-compact button:hover,.template-library-row:hover,.history-list>button:hover{background:var(--surface-hover)}.task-row{grid-template-columns:36px minmax(180px,1fr) minmax(130px,220px) 110px 16px}.task-icon{border-radius:var(--radius);background:var(--accent-subtle);width:34px;height:34px;color:var(--accent);place-items:center;display:grid}.task-icon--green{background:var(--green-subtle);color:var(--green)}.task-row>span:nth-child(2),.template-list-compact button>span:nth-child(2),.history-list>button>span:nth-child(2),.history-list>div>span:nth-child(2){flex-direction:column;gap:4px;min-width:0;display:flex}.task-row strong,.template-list-compact strong,.history-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:620;overflow:hidden}.task-row small,.template-list-compact small,.history-list small{color:var(--text-muted);font-size:9px}.task-progress{color:var(--text-muted);align-items:center;gap:8px;font-size:9px;display:flex}.task-progress>span{background:#e5e9ee;border-radius:2px;flex:1;height:4px;overflow:hidden}.task-progress i{border-radius:inherit;background:var(--accent);height:100%;display:block}.task-time{color:var(--text-muted);align-items:center;gap:5px;font-size:9px;display:flex}.task-status-complete{color:var(--green);align-items:center;gap:5px;font-size:10px;font-weight:600;display:inline-flex}.template-list-compact{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.template-list-compact button{border-bottom:0;grid-template-columns:34px minmax(0,1fr) auto;min-width:0}.template-list-compact button+button{border-left:1px solid var(--border)}.template-list-compact button>span:last-child{color:var(--text-muted);font-size:9px}.segmented,.conversion-modes{border:1px solid var(--border);border-radius:var(--radius);background:#f3f5f7;gap:2px;padding:3px}.segmented button,.conversion-modes button{min-height:28px;color:var(--text-muted);background:0 0;border-radius:4px;padding:0 10px;font-size:10px;font-weight:550}.segmented button.is-active,.conversion-modes button.is-active{color:var(--text);background:#fff;box-shadow:0 1px 3px #17202d17}.template-library-row{grid-template-columns:42px minmax(220px,1fr) 70px 50px auto;min-height:72px}.template-document{background:#f1f5ff;border:1px solid #bfcff2;border-radius:3px;flex-direction:column;gap:4px;width:34px;height:44px;padding:10px 7px;display:flex}.template-document i{background:#8ea8df;height:2px;display:block}.template-document i:first-child{background:#4e76c9;width:60%;height:3px}.template-document i:nth-child(3){width:75%}.template-document--red{background:#fff4f5;border-color:#edc5ca}.template-document--red i{background:#d89ba3}.template-document--red i:first-child{background:#b94b58}.template-library-meta{flex-direction:column;gap:4px;min-width:0;display:flex}.template-library-meta strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.template-library-meta small{color:var(--text-secondary);font-size:10px}.template-library-meta>span{color:var(--text-muted);font-size:9px}.publish-state{background:var(--green-subtle);width:fit-content;color:var(--green);border-radius:4px;padding:4px 7px;font-size:9px;font-weight:650}.publish-state--draft{background:var(--amber-subtle);color:var(--amber)}.template-library-actions{justify-content:flex-end;align-items:center;gap:4px;display:flex}.template-library-empty,.home-recent-empty{min-height:118px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:20px;display:flex}.template-library-empty strong,.home-recent-empty strong{color:var(--text-secondary);font-size:11px}.template-library-empty span,.home-recent-empty span{max-width:520px;font-size:9px;line-height:1.5}.template-search{border:1px solid var(--border);border-radius:var(--radius);min-width:210px;height:30px;color:var(--text-muted);background:#fff;align-items:center;gap:7px;padding:0 9px;display:flex}.template-search input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1;font-size:10px}.builtin-template-heading{border-top:1px solid var(--border);background:var(--surface-subtle);justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 15px 10px;display:flex}.builtin-template-heading__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.builtin-template-title{color:var(--text);align-items:center;gap:7px;display:flex}.builtin-template-title svg{color:var(--accent)}.builtin-template-title strong{font-size:13px}.builtin-template-title span{color:var(--text-muted);font-size:10px}.builtin-template-heading p{color:var(--text-secondary);margin-top:5px;font-size:10px;line-height:1.5}.builtin-template-filter{color:var(--text-muted);white-space:nowrap;align-items:center;gap:6px;font-size:10px;display:flex}.builtin-template-filter select{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-height:30px;color:var(--text);padding:0 8px;font-size:11px}.builtin-template-grid{background:var(--surface-subtle);grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 15px 16px;display:grid}.builtin-template-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:7px;min-width:0;min-height:170px;padding:12px;transition:border-color .14s,box-shadow .14s,transform .14s;display:flex}.builtin-template-card:hover{border-color:#9db8ef;transform:translateY(-1px);box-shadow:0 5px 16px #2563eb1a}.builtin-template-card__top{justify-content:space-between;align-items:flex-start;display:flex}.builtin-template-card>strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.builtin-template-card>small{min-height:29px;color:var(--text-secondary);font-size:10px;line-height:1.45}.builtin-template-fields{flex-wrap:wrap;align-content:flex-start;gap:4px;min-height:37px;display:flex}.builtin-template-fields span{background:var(--accent-subtle);color:var(--accent);border-radius:3px;padding:3px 5px;font-size:9px}.builtin-template-card__footer{justify-content:space-between;align-items:center;gap:8px;margin-top:auto;display:flex}.builtin-template-card__footer .icon-button{flex:0 0 30px;width:30px;height:30px}.builtin-template-card__footer .text-button{white-space:nowrap;gap:5px}.builtin-template-card--hidden{background:var(--surface-subtle);border-style:dashed}.builtin-template-card__footer>span{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.publish-state--builtin{background:var(--accent-subtle);color:var(--accent)}.template-library-controls{flex-wrap:wrap;align-items:center;gap:9px;min-width:0;display:flex}.builtin-template-divider{border-top:1px solid var(--border);background:var(--surface);align-items:baseline;gap:8px;padding:15px;display:flex}.builtin-template-divider span{color:var(--text);font-size:13px;font-weight:650}.builtin-template-divider em{color:var(--text-muted);font-size:10px;font-style:normal}.templates-layout{flex-direction:column;flex:1;gap:14px;min-height:0;display:flex;position:relative}.template-create-surface{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;flex:none;overflow:hidden}.template-create-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:0 15px;display:flex}.template-create-heading>div{align-items:baseline;gap:9px;display:flex}.template-create-heading h2{font-size:13px;font-weight:660}.template-create-heading span{color:var(--text-muted);font-size:9px}.template-create-options{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.template-create-option{text-align:left;background:0 0;grid-template-rows:auto auto;grid-template-columns:34px minmax(0,1fr) 16px;align-content:center;align-items:center;gap:4px 10px;min-width:0;min-height:78px;padding:11px 14px;display:grid}.template-create-option+.template-create-option{border-left:1px solid var(--border)}.template-create-option:hover{background:var(--surface-hover)}.template-create-option.is-active{box-shadow:inset 0 -2px 0 var(--accent);background:#f5f8ff}.template-create-option>span{border-radius:var(--radius);background:var(--accent-subtle);width:34px;height:34px;color:var(--accent);grid-row:1/3;place-items:center;display:grid}.template-create-option strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:650;overflow:hidden}.template-create-option small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.template-create-option>svg{color:var(--text-muted);grid-area:1/3/3}.template-builder-panel{border-top:1px solid var(--border);background:#fbfcfd;justify-content:space-between;align-items:center;gap:20px;min-height:82px;padding:14px 15px;display:flex}.template-builder-panel h3{font-size:12px;font-weight:650}.template-builder-panel p{color:var(--text-secondary);margin-top:5px;font-size:10px;line-height:1.5}.template-builder-actions{flex:none;align-items:center;gap:8px;display:flex}.template-builder-panel--manual{flex-direction:column;align-items:stretch;gap:13px;padding:14px 15px 12px;display:flex}.template-builder-intro{grid-template-columns:minmax(260px,1fr) minmax(250px,360px);align-items:end;gap:20px;display:grid}.template-builder-intro label{color:var(--text-secondary);flex-direction:column;gap:5px;font-size:9px;font-weight:600;display:flex}.template-builder-intro input{border:1px solid var(--border-strong);border-radius:var(--radius);width:100%;height:32px;color:var(--text);background:#fff;padding:0 10px;font-size:11px}.template-builder-intro input:focus{border-color:#7fa1e8;outline:2px solid #2563eb1f}.template-group-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid}.template-group-grid>div{border:1px solid var(--border);border-radius:var(--radius);text-align:left;background:#fff;grid-template-rows:auto auto;grid-template-columns:25px minmax(0,1fr) 14px;align-items:center;gap:2px 7px;min-width:0;min-height:57px;padding:8px;display:grid}.template-group-grid>div>span{width:25px;height:25px;color:var(--accent);grid-row:1/3;place-items:center;display:grid}.template-group-grid>div strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:630;overflow:hidden}.template-group-grid>div small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.template-inline-name{min-width:220px;color:var(--text-muted);align-items:center;gap:7px;font-size:9px;display:flex}.template-inline-name input{border:1px solid var(--border);border-radius:var(--radius);min-width:0;height:28px;color:var(--text);background:#fff;flex:1;padding:0 8px;font-size:10px}.template-builder-panel--manual footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.template-builder-panel--manual footer>span{color:var(--text-muted);font-size:9px}.extract-layout{flex:1;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(280px,.82fr) minmax(420px,1.5fr);gap:16px;min-height:0;display:grid}.extract-source,.extract-mapping{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;min-height:0}.extract-schema-summary{border-bottom:1px solid var(--border);color:var(--text-secondary);background:#f4fbff;flex-direction:column;gap:4px;padding:10px 14px;display:flex}.extract-schema-summary>div{color:var(--text);align-items:center;gap:7px;display:flex}.extract-schema-summary>div svg{color:#1c9b74}.extract-schema-summary>div span,.extract-schema-summary>small{color:var(--text-muted);font-size:10px}.extract-schema-summary>div em{color:#1c7a5d;background:#e5f7ef;border-radius:999px;padding:3px 7px;font-size:10px;font-style:normal}.extract-schema-summary>div .button{margin-left:auto}.mapping-row--extract>span:nth-child(3) small{color:var(--text-muted);margin-top:3px;font-size:9px;display:block}.extract-source{overflow:hidden auto}.extract-method-panel{border-bottom:1px solid var(--border);background:#fbfcfe;padding:10px 14px 12px}.extract-mode-switch{width:100%}.extract-mode-switch button{flex:1;min-width:0}.extract-template-control{border:1px solid var(--border);background:#fff;border-radius:6px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:7px;margin-top:8px;padding:7px;display:grid}.extract-template-control.is-active{background:#f8fcfa;border-color:#9fc8b4}.extract-template-control>span{flex-direction:column;gap:2px;min-width:0;display:flex}.extract-template-control>span strong{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:650;overflow:hidden}.extract-template-control>span small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.extract-template-control>.text-button{min-height:28px;padding:0 4px;font-size:9px}.extract-preset-control{border:1px solid var(--border);color:var(--text-muted);background:#fff;border-radius:6px;grid-template-columns:18px minmax(0,1fr) auto auto;align-items:center;gap:7px;margin-top:7px;padding:7px 8px;display:grid}.extract-preset-control select{border:1px solid var(--border);width:100%;min-width:0;height:32px;color:var(--text-secondary);background:#fff;border-radius:5px;padding:0 28px 0 8px;font-size:11px}.extract-preset-control .text-button{min-height:30px;font-size:11px}.extract-preset-control>svg{color:var(--accent)}.extract-keyword-settings{flex-direction:column;gap:8px;margin-top:10px;display:flex}.extract-library-launch{justify-content:space-between;align-items:center;gap:8px;display:flex}.extract-library-launch .button{min-height:32px}.extract-library-launch>span{color:var(--text-muted);white-space:nowrap;font-size:9px}.extract-library-launch>span strong{color:var(--accent);font-size:11px}.extract-selected-keywords{flex-wrap:wrap;gap:5px;max-height:62px;display:flex;overflow-y:auto}.extract-selected-keywords>span{color:#244f9f;background:#f4f8ff;border:1px solid #cbd9f3;border-radius:4px;align-items:center;gap:4px;max-width:150px;min-height:25px;padding:3px 4px 3px 7px;font-size:9px;display:inline-flex}.extract-selected-keywords>span>button{color:#5674a9;background:0 0;border:0;border-radius:3px;flex:none;place-items:center;width:17px;height:17px;display:grid}.extract-selected-keywords>span>button:hover{color:#1f4a98;background:#e2ebfa}.extract-selected-keywords>em{color:var(--text-muted);align-self:center;font-size:9px;font-style:normal}.extract-keyword-empty{color:var(--text-muted);background:#f6f8fb;border-left:2px solid #afbfda;padding:7px 8px;font-size:9px;line-height:1.5}.extract-prompt-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px;display:grid}.extract-prompt-input{flex-direction:column;gap:4px;min-width:0;display:flex}.extract-prompt-input>label:first-child{min-width:0;color:var(--text-secondary);flex-direction:column;gap:4px;font-size:9px;display:flex}.extract-prompt-row textarea{resize:vertical;border:1px solid var(--border);width:100%;min-width:0;min-height:48px;color:var(--text);font:inherit;background:#fff;border-radius:5px;padding:7px 8px;line-height:1.4}.extract-prompt-row textarea:focus{border-color:#8aabeb;outline:2px solid #4074d61a}.extract-prompt-remember{color:var(--text-muted);align-items:center;gap:5px;font-size:8px;display:flex}.extract-prompt-remember input{width:12px;height:12px;accent-color:var(--accent)}.extract-prompt-row .button{min-height:32px;margin-bottom:1px;padding-left:10px;padding-right:10px}.keyword-library-dialog{border:1px solid var(--border);background:#fff;border-radius:8px;flex-direction:column;width:min(920px,100vw - 32px);max-height:calc(100vh - 40px);display:flex;overflow:hidden;box-shadow:0 24px 70px #161f2c3d}.keyword-library-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;min-height:66px;padding:12px 16px;display:flex}.keyword-library-header>div{flex-direction:column;gap:3px;min-width:0;display:flex}.keyword-library-header h2{color:var(--text);letter-spacing:0;margin:0;font-size:16px;font-weight:680}.keyword-library-header p{color:var(--text-muted);margin:0;font-size:10px;line-height:1.4}.keyword-library-toolbar{border-bottom:1px solid var(--border);background:#fbfcfe;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 16px;display:flex}.keyword-library-toolbar>label{border:1px solid var(--border);width:min(480px,70%);min-height:32px;color:var(--text-muted);background:#fff;border-radius:5px;align-items:center;gap:7px;padding:0 9px;display:flex}.keyword-library-toolbar input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;font-size:10px}.keyword-library-toolbar>strong{color:var(--accent);white-space:nowrap;font-size:10px}.keyword-library-content{flex:1;grid-template-columns:185px minmax(0,1fr);min-height:270px;display:grid;overflow:hidden}.keyword-category-list{border-right:1px solid var(--border);background:#f7f9fc;padding:7px;overflow-y:auto}.keyword-category-list button{width:100%;min-height:31px;color:var(--text-secondary);text-align:left;background:0 0;border:0;border-radius:4px;justify-content:space-between;align-items:center;gap:8px;padding:0 8px;font-size:10px;display:flex}.keyword-category-list button:hover{color:var(--text);background:#edf2f9}.keyword-category-list button.is-active{color:#174caa;background:#e7effc;font-weight:650}.keyword-category-list button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.keyword-category-list button em{color:var(--text-muted);font-size:8px;font-style:normal}.keyword-rule-browser{flex-direction:column;min-width:0;min-height:0;display:flex}.keyword-rule-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:45px;padding:7px 12px;display:flex}.keyword-rule-heading>div{align-items:center;gap:8px;min-width:0;display:flex}.keyword-rule-heading strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.keyword-rule-heading span{color:var(--text-muted);white-space:nowrap;font-size:9px}.keyword-rule-heading .text-button{white-space:nowrap;min-height:27px;font-size:9px}.keyword-rule-list{min-height:0;padding:0 12px;overflow-y:auto}.keyword-rule-list>label{cursor:pointer;border-bottom:1px solid #edf0f4;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;padding:6px 5px;display:grid}.keyword-rule-list>label:hover{background:#fafcff}.keyword-rule-list>label.is-selected{background:#f4f8ff}.keyword-rule-list input{width:14px;height:14px;accent-color:var(--accent)}.keyword-rule-list label>span{flex-direction:column;gap:2px;min-width:0;display:flex}.keyword-rule-list label strong{color:var(--text);font-size:10px;font-weight:650}.keyword-rule-list label small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.keyword-rule-list label>em{color:var(--text-muted);white-space:nowrap;background:#f0f3f7;border-radius:3px;padding:2px 5px;font-size:8px;font-style:normal}.keyword-rule-list label.is-selected>em{color:#275aa9;background:#e1ebfb}.keyword-rule-empty{min-height:200px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.keyword-rule-empty strong{color:var(--text-secondary);font-size:11px}.keyword-create-area{border-top:1px solid var(--border);background:#fbfcfe;grid-template-columns:135px minmax(145px,.8fr) minmax(180px,1.2fr) auto;align-items:center;gap:7px;padding:9px 16px;display:grid}.keyword-create-area>div{flex-direction:column;gap:2px;min-width:0;display:flex}.keyword-create-area>div span{color:var(--text-muted);font-size:8px}.keyword-create-area>input{border:1px solid var(--border);width:100%;min-width:0;height:31px;color:var(--text);background:#fff;border-radius:5px;padding:0 8px;font-size:9px}.keyword-create-area>input:focus{border-color:#8aabeb;outline:2px solid #4074d61a}.keyword-create-area>label{color:var(--text-muted);grid-column:2/-1;align-items:center;gap:6px;font-size:8px;display:flex}.keyword-create-area>label input{width:13px;height:13px;accent-color:var(--accent)}.keyword-library-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:55px;padding:9px 16px;display:flex}.keyword-library-footer>span{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.keyword-library-footer>div{flex:none;gap:7px;display:flex}.extraction-preset-dialog{border:1px solid var(--border);background:#fff;border-radius:8px;flex-direction:column;width:min(760px,100vw - 32px);max-height:calc(100vh - 40px);display:flex;overflow:hidden;box-shadow:0 24px 70px #161f2c3d}.extraction-preset-save{border-bottom:1px solid var(--border);background:#fbfcfe;grid-template-columns:minmax(220px,1fr) auto auto;align-items:end;gap:10px;padding:12px 16px;display:grid}.extraction-preset-save>label{min-width:0;color:var(--text-secondary);flex-direction:column;gap:5px;font-size:11px;font-weight:600;display:flex}.extraction-preset-save input,.extraction-preset-list input{border:1px solid var(--border);width:100%;min-width:0;height:35px;color:var(--text);background:#fff;border-radius:5px;padding:0 9px;font-size:12px}.extraction-preset-save input:focus,.extraction-preset-list input:focus{border-color:#8aabeb;outline:2px solid #4074d61a}.extraction-preset-save>span{min-height:35px;color:var(--text-muted);white-space:nowrap;align-items:center;gap:4px;font-size:11px;display:flex}.extraction-preset-save>span strong{color:var(--accent);font-size:13px}.extraction-preset-list{min-height:220px;padding:0 16px;overflow-y:auto}.extraction-preset-list>div:not(.extraction-preset-empty){border-bottom:1px solid #edf0f4;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:66px;padding:9px 4px;display:grid}.extraction-preset-list>div>svg{color:var(--accent)}.extraction-preset-list>div>span{flex-direction:column;gap:4px;min-width:0;display:flex}.extraction-preset-list>div>span strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.extraction-preset-list>div>span small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.4;overflow:hidden}.extraction-preset-actions{justify-content:flex-end;align-items:center;gap:5px;display:flex}.button--danger{color:#fff;background:#c94b43;border-color:#c94b43}.button--danger:hover{background:#ad3933;border-color:#ad3933}.extraction-preset-empty{min-height:220px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex}.extraction-preset-empty strong{color:var(--text-secondary);font-size:13px}.extraction-preset-empty span{font-size:11px}.extraction-learning-dialog{border:1px solid var(--border);background:#fff;border-radius:8px;flex-direction:column;width:min(940px,100vw - 32px);max-height:calc(100vh - 40px);display:flex;overflow:hidden;box-shadow:0 24px 70px #161f2c3d}.extraction-learning-notice{color:#376447;background:#f4faf6;border-bottom:1px solid #dce8df;align-items:center;gap:9px;padding:10px 16px;font-size:11px;display:flex}.extraction-learning-notice>svg{flex:none}.extraction-learning-notice>span{flex-direction:column;gap:2px;min-width:0;display:flex}.extraction-learning-notice strong{color:#214f31;font-size:12px}.extraction-learning-list{min-height:86px;max-height:min(430px,100vh - 220px);padding:0 16px;overflow-y:auto}.extraction-learning-row{border-bottom:1px solid #edf0f4;grid-template-columns:24px minmax(150px,.75fr) minmax(250px,1.25fr) minmax(190px,.9fr);align-items:center;gap:12px;min-height:86px;display:grid}.extraction-learning-row.is-disabled{opacity:.52}.extraction-learning-field{flex-direction:column;gap:4px;min-width:0;display:flex}.extraction-learning-field strong{color:var(--text);font-size:13px}.extraction-learning-field small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.extraction-learning-change{grid-template-columns:auto minmax(60px,1fr) auto auto minmax(60px,1fr);align-items:center;gap:6px;min-width:0;display:grid}.extraction-learning-change small{color:var(--text-muted);white-space:nowrap;font-size:10px}.extraction-learning-change strong{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.extraction-learning-change>svg{color:var(--text-muted)}.extraction-learning-alias{min-width:0;color:var(--text-secondary);flex-direction:column;gap:5px;font-size:10px;font-weight:600;display:flex}.extraction-learning-alias input{border:1px solid var(--border);width:100%;min-width:0;height:35px;color:var(--text);background:#fff;border-radius:5px;padding:0 9px;font-size:12px}.extraction-learning-alias input:focus{border-color:#8aabeb;outline:2px solid #4074d61a}.excel-template-dialog{border:1px solid var(--border);background:#fff;border-radius:8px;flex-direction:column;width:min(820px,100vw - 32px);max-height:calc(100vh - 40px);display:flex;overflow:hidden;box-shadow:0 24px 70px #161f2c3d}.excel-template-toolbar{border-bottom:1px solid var(--border);background:#fbfcfe;justify-content:space-between;align-items:center;gap:12px;min-height:53px;padding:8px 16px;display:flex}.excel-template-toolbar>label{min-width:0;color:var(--text-secondary);align-items:center;gap:8px;font-size:9px;display:flex}.excel-template-toolbar select{border:1px solid var(--border);width:min(390px,52vw);min-width:0;height:31px;color:var(--text);background:#fff;border-radius:5px;padding:0 28px 0 8px;font-size:9px}.excel-template-toolbar>span{color:var(--accent);white-space:nowrap;font-size:9px;font-weight:650}.excel-template-mapping-head,.excel-template-mapping-list>div{grid-template-columns:42px minmax(130px,.85fr) 22px minmax(180px,1.15fr) 78px;align-items:center;gap:8px;padding:0 15px;display:grid}.excel-template-mapping-head{border-bottom:1px solid var(--border);min-height:34px;color:var(--text-muted);font-size:8px;font-weight:650}.excel-template-mapping-list{min-height:200px;overflow-y:auto}.excel-template-mapping-list>div{border-bottom:1px solid #edf0f4;min-height:48px}.excel-template-mapping-list>div:hover{background:#fafcff}.excel-template-mapping-list>div.is-disabled{opacity:.48}.excel-template-mapping-list>div>label{place-items:center;display:grid}.excel-template-mapping-list input[type=checkbox]{width:14px;height:14px;accent-color:var(--accent)}.excel-template-mapping-list>div>span{flex-direction:column;gap:2px;min-width:0;display:flex}.excel-template-mapping-list>div>span strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.excel-template-mapping-list>div>span small{color:var(--text-muted);font-size:8px}.excel-template-mapping-list>div>svg{color:var(--text-muted)}.excel-template-mapping-list input[list]{border:1px solid var(--border);width:100%;min-width:0;height:30px;color:var(--text);background:#fff;border-radius:5px;padding:0 8px;font-size:9px}.excel-template-mapping-list input[list]:focus{border-color:#8aabeb;outline:2px solid #4074d61a}.excel-template-system-field{color:var(--text-secondary);font-size:9px}.excel-template-mapping-list em{color:#267454;white-space:nowrap;background:#edf7f2;border-radius:3px;width:fit-content;padding:3px 5px;font-size:8px;font-style:normal}.excel-template-mapping-list em.is-review{color:#96601a;background:#fff5e5}.excel-template-warnings{color:#855a20;background:#fffaf0;border-top:1px solid #f0d9aa;flex-direction:column;gap:3px;max-height:56px;padding:7px 16px;font-size:8px;display:flex;overflow-y:auto}.large-drop-target{border:1px dashed var(--border-strong);border-radius:var(--radius);background:#fafbfc;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:calc(100% - 28px);min-height:230px;margin:14px;display:flex}.large-drop-target:hover{background:#f5f8ff;border-color:#8babef}.large-drop-target.is-running{background:#f7faff;border-color:#8eb4ff;box-shadow:0 0 18px #4b89ff1c}.large-drop-target.is-paused{background:snow;border-color:#e79a9a}.large-drop-target.is-complete{background:#fbfffd;border-color:#63bf91;box-shadow:0 0 0 1px #34a86c14}.large-drop-target.is-complete>span{color:var(--green);border-color:#bfe5d2}.large-drop-target.is-error{background:#fffafb;border-color:#e5a5ad;box-shadow:0 0 0 1px #c83d4d12}.large-drop-target.is-error>span{color:var(--red);border-color:#efc7cc}.large-drop-target>span{border-radius:var(--radius);width:44px;height:44px;color:var(--accent);background:#fff;border:1px solid #cbdafd;place-items:center;display:grid}.large-drop-target strong{font-size:12px}.large-drop-target small{color:var(--text-muted);font-size:9px}.surface-progress-row{align-items:center;gap:8px;width:min(260px,90%);display:flex}.surface-progress-row>strong{min-width:30px;color:var(--accent);text-align:right;font-size:10px;font-weight:700}.surface-progress-track{background:#e6ebf2;border-radius:4px;flex:1;height:5px;overflow:hidden}.surface-progress-track>span{border-radius:inherit;background:var(--accent);height:100%;transition:width .18s;display:block;box-shadow:0 0 9px #3771f06b}.surface-progress-row.is-paused .surface-progress-track>span{background:var(--red);box-shadow:0 0 9px #dc5b5b5c}.surface-progress-row.is-paused>strong{color:var(--red)}.surface-progress-row.is-complete .surface-progress-track>span{background:var(--green);transition:none;box-shadow:0 0 9px #34a86c57;width:100%!important}.surface-progress-row.is-complete>strong{color:var(--green)}.surface-progress-row.is-error .surface-progress-track>span{background:var(--red);box-shadow:0 0 9px #c83d4d4d}.surface-progress-row.is-error>strong{color:var(--red)}.mapping-table{padding:0 14px 14px}.mapping-head,.mapping-row{border-bottom:1px solid var(--border);grid-template-columns:140px minmax(180px,1fr) 70px;align-items:center;gap:10px;min-height:42px;padding:0 8px;display:grid}.mapping-head{color:var(--text-muted);font-size:9px;font-weight:650}.mapping-row{text-align:left;width:100%;color:var(--text-secondary);background:0 0;font-size:10px}.mapping-row:hover{background:var(--surface-hover)}.mapping-row>span:first-child{color:var(--text);align-items:center;gap:7px;font-weight:600;display:flex}.mapping-ready{color:var(--green)}.mapping-pending{color:var(--amber)}.extract-file-list{border-top:1px solid var(--border);flex-direction:column;max-height:190px;margin:0 14px 14px;display:flex;overflow:hidden auto}.extract-file-list>div{border-bottom:1px solid #edf0f3;grid-template-columns:22px minmax(0,1fr) auto 26px;align-items:center;gap:8px;min-height:48px;display:grid}.extract-file-list>div>svg{color:var(--accent)}.extract-file-list>div>span{flex-direction:column;gap:2px;min-width:0;display:flex}.extract-file-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:620;overflow:hidden}.extract-file-list small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.35;overflow:hidden}.extract-file-state{color:var(--text-muted);font-size:9px;font-style:normal;font-weight:650}.extract-file-state--running{color:var(--accent)}.extract-file-state--done{color:var(--green)}.extract-file-state--error{color:var(--red)}.mapping-table--editable{max-height:min(480px,100vh - 260px);overflow:auto}.mapping-head--extract,.mapping-row--extract{grid-template-columns:36px 160px minmax(180px,1fr) 112px 28px;min-width:620px}.mapping-head--extract{z-index:1;background:#fff;position:sticky;top:0}.mapping-row--extract{cursor:default}.mapping-row--extract>span:nth-child(2){align-items:center;gap:6px;min-width:0;display:flex}.mapping-row--extract input[type=text],.mapping-row--extract>span:nth-child(2) input{width:100%;min-width:0;height:28px;color:var(--text);font:inherit;background:0 0;border:1px solid #0000;border-radius:4px;padding:0 7px;font-weight:600}.mapping-row--extract>span:nth-child(2) input:hover,.mapping-row--extract>span:nth-child(2) input:focus{border-color:var(--border-strong);background:#fff;outline:none}.mapping-row--extract>span:nth-child(3){color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mapping-row--extract>span:nth-child(4){flex-direction:column;gap:2px;display:flex}.mapping-row--extract>span:nth-child(4) strong{color:var(--text-secondary);font-size:9px}.mapping-row--extract>span:nth-child(4) small{color:var(--text-muted);font-size:8px}.extract-check{place-items:center;display:grid}.extract-check input{width:14px;height:14px;accent-color:var(--accent)}.extract-empty-fields{min-height:180px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex}.extract-empty-fields strong{color:var(--text-secondary);font-size:11px}.extract-empty-fields span{font-size:9px}.extract-preview-wrap{max-height:min(500px,100vh - 245px);padding:0 14px 14px;overflow:auto}.extract-preview-table{border-collapse:collapse;background:#fff;width:max-content;min-width:100%;font-size:9px}.extract-preview-table th,.extract-preview-table td{border-bottom:1px solid var(--border);text-align:left;min-width:150px;padding:7px 8px}.extract-preview-table th:first-child{z-index:1;background:#f8fafc;min-width:190px;position:sticky;left:0}.extract-preview-table thead th{z-index:2;color:var(--text-secondary);background:#edf3fa;font-weight:650;position:sticky;top:0}.extract-preview-table thead th:first-child{z-index:3;background:#e7eef7}.extract-preview-table td input{width:100%;height:28px;color:var(--text);font:inherit;background:0 0;border:1px solid #0000;border-radius:4px;padding:0 7px}.extract-preview-table td input:hover,.extract-preview-table td input:focus{border-color:var(--border-strong);background:#fff;outline:none}.module-footer-action{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;justify-content:space-between;align-items:center;gap:15px;min-height:54px;padding:0 14px;display:flex}.extract-layout>.module-footer-action{grid-column:1/-1}.module-footer-action>span{color:var(--text-secondary);align-items:center;gap:7px;font-size:10px;display:flex}.module-footer-action__buttons{align-items:center;gap:7px;display:flex}.convert-surface{flex-direction:column;flex:1;gap:14px;display:flex;position:relative}.capability-banner{border-radius:var(--radius-md);color:#176b50;background:#f4fbf8;border:1px solid #c9e6da;align-items:center;gap:9px;min-height:48px;padding:8px 11px;display:flex}.capability-banner>svg{flex:none}.capability-banner>span{flex-direction:column;gap:2px;min-width:0;display:flex}.capability-banner strong{font-size:11px;line-height:1.4}.capability-banner small{color:#487368;overflow-wrap:anywhere;font-size:10px;line-height:1.4}.capability-banner.is-loading{color:var(--accent);background:#f5f8ff;border-color:#cbd9f4}.capability-banner.is-loading small{color:#5d7298}.capability-banner.is-warning{color:#8a570f;background:#fff9ee;border-color:#efd39f}.capability-banner.is-warning small{color:#7d6848}.capability-banner.is-error{color:var(--red);background:#fff7f6;border-color:#f0c4c0}.capability-banner.is-error small{color:#8f514b}.conversion-modes{width:fit-content}.pdf-word-mode-picker{border:1px solid var(--border);border-radius:var(--radius);background:#f3f5f7;grid-template-columns:repeat(2,minmax(178px,218px));gap:3px;width:fit-content;padding:3px;display:grid}.pdf-word-mode-picker button{min-height:48px;color:var(--text-muted);text-align:left;background:0 0;border:0;border-radius:4px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;padding:6px 10px;display:grid}.pdf-word-mode-picker button>span{flex-direction:column;gap:2px;min-width:0;display:flex}.pdf-word-mode-picker button strong{color:inherit;font-size:11px;font-weight:650;line-height:1.35}.pdf-word-mode-picker button small{color:var(--text-muted);font-size:9px;line-height:1.35}.pdf-word-mode-picker button.is-active{color:var(--accent);background:#fff;box-shadow:0 1px 3px #17202d17}.pdf-word-mode-picker button:focus-visible{outline-offset:1px;outline:2px solid #2463eb47}.pdf-word-mode-note{color:#176b50;background:#f4fbf8;border-left:2px solid #1f9d72;align-items:flex-start;gap:8px;width:min(100%,439px);padding:8px 10px;display:flex}.pdf-word-mode-note>svg{flex:none;margin-top:2px}.pdf-word-mode-note>span{flex-direction:column;gap:2px;min-width:0;display:flex}.pdf-word-mode-note strong{font-size:11px;line-height:1.4}.pdf-word-mode-note small{color:#487368;font-size:10px;line-height:1.45}.pdf-word-mode-note.is-warning{color:#8a570f;background:#fff9ee;border-left-color:#d48719}.pdf-word-mode-note.is-warning small{color:#7d6848}.ocr-presentation-control{border:1px solid var(--border);border-radius:var(--radius);background:#fff;justify-content:space-between;align-items:center;gap:12px;width:min(100%,439px);min-height:42px;padding:7px 9px 7px 11px;display:flex}.ocr-presentation-control>span{flex-direction:column;gap:1px;min-width:0;display:flex}.ocr-presentation-control>span strong{color:var(--text);font-size:11px;line-height:1.4}.ocr-presentation-control>span small{color:var(--text-muted);font-size:10px;line-height:1.35}.ocr-presentation-segments{background:#eef1f4;border-radius:5px;flex:none;grid-template-columns:repeat(2,minmax(76px,1fr));gap:2px;padding:2px;display:grid}.ocr-presentation-segments button{min-height:28px;color:var(--text-muted);white-space:nowrap;background:0 0;border:0;border-radius:4px;padding:4px 9px;font-size:11px;font-weight:600}.ocr-presentation-segments button.is-active{color:var(--accent);background:#fff;box-shadow:0 1px 3px #17202d1a}.ocr-presentation-segments button:focus-visible{outline-offset:1px;outline:2px solid #2463eb47}.office-font-policy{border-radius:var(--radius-md);color:#176b50;background:#f4fbf8;border:1px solid #c9e6da;align-items:center;gap:10px;width:min(100%,560px);min-height:46px;padding:8px 11px;display:flex}.office-font-policy>svg{flex:none}.office-font-policy>span{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.office-font-policy strong{font-size:11px;line-height:1.4}.office-font-policy small{color:#487368;font-size:10px;line-height:1.4}.office-font-switch{cursor:pointer;background:0 0;border:0;flex:0 0 38px;place-items:center;width:38px;height:24px;display:grid}.office-font-switch i{background:#cbd3df;border-radius:12px;width:34px;height:20px;transition:background-color .14s;position:relative}.office-font-switch i:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .14s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #141f2f2e}.office-font-switch.is-on i{background:var(--accent)}.office-font-switch.is-on i:after{transform:translate(14px)}.office-font-switch:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 38%, transparent);outline-offset:2px;border-radius:12px}.office-font-switch:disabled{cursor:not-allowed;opacity:.55}.office-font-policy.is-warning{color:#8a570f;background:#fff9ee;border-color:#efd39f}.office-font-policy.is-warning small{color:#7d6848}.spreadsheet-pdf-layout{border:1px solid var(--border);border-radius:var(--radius);background:#f3f5f7;grid-template-columns:repeat(2,minmax(178px,238px));gap:3px;width:fit-content;padding:3px;display:grid}.spreadsheet-pdf-layout button{min-height:48px;color:var(--text-muted);text-align:left;background:0 0;border:0;border-radius:4px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;padding:6px 10px;display:grid}.spreadsheet-pdf-layout button>span{flex-direction:column;gap:2px;min-width:0;display:flex}.spreadsheet-pdf-layout button strong{color:inherit;font-size:11px;font-weight:650;line-height:1.35}.spreadsheet-pdf-layout button small{color:var(--text-muted);font-size:9px;line-height:1.35}.spreadsheet-pdf-layout button.is-active{color:var(--accent);background:#fff;box-shadow:0 1px 3px #17202d17}.spreadsheet-pdf-layout button:focus-visible{outline-offset:1px;outline:2px solid #2463eb47}.spreadsheet-pdf-layout button:disabled{cursor:not-allowed;opacity:.55}.spreadsheet-pdf-note{color:#176b50;background:#f4fbf8;border-left:2px solid #1f9d72;align-items:flex-start;gap:8px;width:min(100%,560px);padding:8px 10px;display:flex}.spreadsheet-pdf-note>svg{flex:none;margin-top:2px}.spreadsheet-pdf-note>span{flex-direction:column;gap:2px;min-width:0;display:flex}.spreadsheet-pdf-note strong{font-size:11px;line-height:1.4}.spreadsheet-pdf-note small{color:#487368;font-size:10px;line-height:1.45}.spreadsheet-pdf-note.is-warning{color:#8a570f;background:#fff9ee;border-left-color:#d48719}.spreadsheet-pdf-note.is-warning small{color:#7d6848}.conversion-drop{border:1px dashed var(--border-strong);border-radius:var(--radius-lg);background:#fff;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:10px;min-height:190px;display:flex}.conversion-drop:hover{background:#fbfcff;border-color:#8babef}.conversion-route{color:var(--accent);align-items:center;gap:12px;display:flex}.conversion-route svg:nth-child(2){color:var(--text-muted)}.conversion-drop strong{font-size:14px}.conversion-drop small{color:var(--text-muted);font-size:10px}.conversion-drop .button{margin-top:4px}.conversion-queue{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff}.conversion-queue__heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:0 14px;display:flex}.conversion-queue__heading>div{align-items:baseline;gap:9px;display:flex}.conversion-queue__heading h2{font-size:13px;font-weight:650}.conversion-queue__heading span{color:var(--text-muted);font-size:9px}.conversion-file-list{flex-direction:column;max-height:320px;display:flex;overflow-y:auto}.conversion-file-list>div{border-bottom:1px solid #edf0f3;grid-template-columns:32px minmax(220px,1fr) 88px minmax(32px,auto);align-items:center;gap:10px;min-height:54px;padding:7px 12px;display:grid}.conversion-file-list>div[draggable=true]{cursor:grab}.conversion-file-list>div[draggable=true]:active{cursor:grabbing}.conversion-file-list>div>span:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.conversion-file-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:620;overflow:hidden}.conversion-file-list small{color:var(--text-muted);overflow-wrap:anywhere;white-space:normal;font-size:9px;line-height:1.45;display:block;overflow:visible}.conversion-state{color:var(--accent);font-size:9px;font-weight:650}.conversion-state.is-done{color:var(--green)}.conversion-state.is-error{color:var(--red)}.conversion-state.is-cancelled{color:var(--text-muted)}.conversion-file-actions{justify-content:flex-end;align-items:center;gap:2px;display:flex}.conversion-runbar{justify-content:space-between;align-items:center;gap:12px;min-height:55px;padding:8px 12px;display:flex}.conversion-runbar>span{color:var(--text-muted);align-items:center;gap:6px;font-size:9px;display:flex}.conversion-runbar>div{align-items:center;gap:7px;display:flex}.conversion-runbar__warning{color:#9f3328;background:#fff8f6;border-top:1px solid #f3d6d1;margin:0;padding:8px 12px;font-size:10px;line-height:1.45}.conversion-progress{width:auto;margin:0 12px 7px}.conversion-empty-history{color:var(--text-muted)}.history-list>div{grid-template-columns:18px minmax(220px,1fr) 90px 32px}.history-list--full>button{grid-template-columns:34px minmax(240px,1fr) 90px 120px 16px}.history-surface{flex-direction:column;display:flex;overflow:hidden}.history-overview{border-bottom:1px solid var(--border);background:#fbfcfd;grid-template-columns:repeat(4,minmax(0,1fr));min-height:62px;display:grid}.history-overview>span{justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:10px 16px;display:flex}.history-overview>span+span{border-left:1px solid var(--border)}.history-overview small{color:var(--text-muted);font-size:10px}.history-overview strong{font-size:18px;font-weight:700}.history-overview .text-accent{color:var(--accent)}.history-overview .text-success{color:var(--green)}.history-overview .text-error{color:var(--red)}.history-toolbar{flex:none}.history-toolbar__actions{align-items:center;gap:7px;min-width:0;display:flex}.history-search{border:1px solid var(--border);border-radius:var(--radius);width:min(260px,30vw);height:32px;color:var(--text-muted);background:#fff;align-items:center;gap:7px;padding:0 9px;display:flex}.history-search:focus-within{border-color:#93b0ee;box-shadow:0 0 0 2px #2563eb1a}.history-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;font-size:11px}.history-search input::placeholder{color:var(--text-muted)}.history-job-list{flex:1;min-height:0;overflow-y:auto}.history-job{background:#fff;border-bottom:1px solid #edf0f3;grid-template-columns:34px minmax(200px,1fr) 70px 128px 88px minmax(188px,auto);align-items:center;gap:11px;min-height:68px;padding:8px 13px;display:grid}.history-job:last-child{border-bottom:0}.history-job:hover{background:var(--surface-hover)}.history-job.is-downloadable{cursor:grab}.history-job.is-downloadable:active{cursor:grabbing}.task-icon--error{background:var(--red-subtle);color:var(--red)}.history-job__main{flex-direction:column;gap:5px;min-width:0;display:flex}.history-job__main strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.history-job__main small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.4;overflow:hidden}.history-job__status{background:var(--surface-subtle);width:fit-content;color:var(--text-muted);white-space:nowrap;border-radius:4px;padding:4px 7px;font-size:9px;font-weight:700}.history-job__status.is-queued,.history-job__status.is-running{background:var(--accent-subtle);color:var(--accent)}.history-job__status.is-succeeded{background:var(--green-subtle);color:var(--green)}.history-job__status.is-failed{background:var(--red-subtle);color:var(--red)}.history-job__progress{align-items:center;gap:7px;min-width:0;display:flex}.history-job__progress>i{background:#e4e9ef;border-radius:2px;flex:1;height:4px;overflow:hidden}.history-job__progress>i>b{border-radius:inherit;background:var(--accent);height:100%;transition:width .18s;display:block}.history-job__progress>strong{min-width:30px;color:var(--accent);text-align:right;font-size:9px}.history-job__progress>small,.history-job>time{color:var(--text-muted);white-space:nowrap;font-size:9px}.history-job__actions{justify-content:flex-end;align-items:center;gap:3px;min-width:0;display:flex}.history-open-button{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:30px;color:var(--text-secondary);white-space:nowrap;background:#fff;align-items:center;gap:4px;padding:0 7px;font-size:9px;font-weight:650;display:inline-flex}.history-open-button:hover{border-color:var(--border-strong);background:var(--surface-subtle);color:var(--text)}.history-open-button--danger{color:var(--red)}.history-open-button:disabled{cursor:not-allowed;opacity:.5}.history-message{min-height:180px;color:var(--text-muted);grid-template-columns:28px minmax(0,auto) auto;place-content:center;align-items:center;gap:10px;padding:24px;display:grid}.history-message>span{flex-direction:column;gap:4px;display:flex}.history-message strong{color:var(--text-secondary);font-size:12px}.history-message small{color:var(--text-muted);font-size:10px}.history-message--error>svg,.history-message--error strong{color:var(--red)}.visually-hidden-input{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=1180px){:root{--sidebar-width:68px}.sidebar{padding-left:8px;padding-right:8px}.brand-lockup{justify-content:center;padding:0}.brand-copy,.nav-item span,.engine-summary{display:none}.nav-item{justify-content:center;padding:0}.batch-workspace{grid-template-columns:minmax(580px,1fr) 320px}.template-band__meta{display:none}}@media (width<=920px){.batch-workspace{grid-template-columns:minmax(0,1fr) 280px}.command-trigger{width:170px}.command-trigger kbd,.column-confidence{display:none}.template-band{gap:10px}.template-band__identity{flex:1;min-width:0}.overview-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-strip>div:nth-child(3){border-left:0;border-top:1px solid var(--border)}.overview-strip>div:nth-child(4){border-top:1px solid var(--border)}.template-list-compact{grid-template-columns:1fr}.template-list-compact button+button{border-top:1px solid var(--border);border-left:0}.extract-layout{flex:none;grid-template-rows:auto auto auto;grid-template-columns:1fr}.extract-source{overflow:visible}.home-launchers{grid-template-columns:repeat(2,minmax(0,1fr))}.home-launchers>button+button{border-left:0}.home-launchers>button:nth-child(2n){border-left:1px solid var(--border)}.home-launchers>button:nth-child(n+3){border-top:1px solid var(--border)}.home-statusbar{grid-template-columns:repeat(2,minmax(0,1fr));min-height:80px}.home-statusbar>div:nth-child(3){border-top:1px solid var(--border);border-left:0}.home-statusbar>div:nth-child(4){border-top:1px solid var(--border)}.template-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.builtin-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){:root{--sidebar-width:56px}.sidebar{padding-left:6px;padding-right:6px}.brand-mark{flex-basis:28px;width:28px;height:28px}.topbar{padding-left:12px;padding-right:10px}.breadcrumb>span,.breadcrumb svg,.command-trigger>span,.topbar-actions>.icon-button{display:none}.command-trigger{justify-content:center;width:32px;padding:0}.batch-workspace{grid-template-columns:minmax(0,1fr)}.inspector{display:none}.workspace-heading{min-height:76px;padding-left:14px;padding-right:12px}.workspace-heading p{text-overflow:ellipsis;white-space:nowrap;max-width:420px;overflow:hidden}.workspace-heading .button span,.session-state{display:none}.template-band{padding-left:14px;padding-right:12px}.template-band>.text-button{display:none}.stats-band{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 14px}.stats-band>div:nth-child(3){display:none}.stats-band>div:nth-child(4){border-left:1px solid var(--border)}.files-toolbar{padding-left:14px;padding-right:10px}.filter-tabs{gap:12px}.file-actions .button{width:34px;padding:0;font-size:0}.column-compact,.column-issues{display:none}.run-bar{padding-left:14px;padding-right:10px}.run-summary span{max-width:230px}.run-progress-track{width:min(150px,42vw)}.module-surface{padding:16px 14px}.module-heading{align-items:center}.module-heading .button--secondary{display:none}.home-heading{align-items:center;gap:10px;min-height:auto}.home-heading h1{font-size:20px}.home-heading p{text-overflow:ellipsis;white-space:nowrap;width:100%;max-width:390px;overflow:hidden}.home-heading .button{width:34px;padding:0;font-size:0}.home-primary-action{grid-template-columns:44px minmax(0,1fr);gap:12px;padding:16px 14px}.home-primary-icon{width:42px;height:42px}.home-primary-copy h2{font-size:16px}.home-primary-copy p{font-size:11px}.home-primary-buttons{flex-direction:row;grid-column:1/-1;align-items:center}.home-primary-buttons .button{flex:1}.home-launchers{grid-template-columns:1fr}.home-launchers>button:nth-child(n){border-top:1px solid var(--border);border-left:0}.section-toolbar{flex-direction:column;align-items:flex-start;padding-top:10px;padding-bottom:10px}.template-library-controls{width:100%}.builtin-template-heading{flex-direction:column;align-items:flex-start}.builtin-template-heading__actions{justify-content:flex-start;width:100%}.builtin-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-launchers>button:first-child{border-top:0}.home-statusbar{grid-template-columns:repeat(2,minmax(0,1fr))}.home-section-heading>div>span{display:none}.home-recent-row{grid-template-columns:32px minmax(0,1fr) auto}.home-recent-row>.recent-state{display:none}.recent-open-actions{grid-column:2/-1}.conversion-modes{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid;overflow:visible}.conversion-modes button{white-space:normal;min-width:0;min-height:32px;padding:3px 6px}.spreadsheet-pdf-layout,.pdf-word-mode-picker{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.ocr-presentation-control{flex-direction:column;align-items:stretch;width:100%}.ocr-presentation-segments{width:100%}.conversion-drop{text-align:center;min-height:180px;padding:16px}.conversion-file-list>div{grid-template-columns:32px minmax(150px,1fr) 32px}.conversion-file-list .conversion-state{display:none}.conversion-runbar{flex-direction:column;align-items:flex-start}.conversion-runbar>div{flex-wrap:wrap;width:100%}.conversion-runbar .button--primary{flex:1}.module-footer-action{flex-direction:column;align-items:flex-start;padding:11px 12px}.module-footer-action>span{font-size:10px}.module-footer-action__buttons{flex-wrap:wrap;justify-content:flex-end;width:100%}.extract-layout,.extract-source,.extract-mapping{width:100%;min-width:0}.extract-prompt-row{grid-template-columns:1fr}.extract-prompt-row .button{width:100%;margin:0}.extract-template-control{grid-template-columns:auto minmax(0,1fr) auto}.extract-template-control>.text-button{grid-column:1/-1;justify-self:end}.keyword-library-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.keyword-library-header{min-height:58px;padding:9px 11px}.keyword-library-header h2{font-size:14px}.keyword-library-header p{font-size:9px}.keyword-library-toolbar{padding:7px 10px}.keyword-library-toolbar>label{width:100%}.keyword-library-toolbar>strong{font-size:9px}.keyword-library-content{flex-direction:column;min-height:230px;display:flex}.keyword-category-list{border-right:0;border-bottom:1px solid var(--border);flex:none;gap:4px;min-height:43px;padding:6px 8px;display:flex;overflow:auto hidden}.keyword-category-list button{gap:5px;width:auto;min-width:max-content;min-height:30px;padding:0 9px}.keyword-rule-browser{flex:1}.keyword-rule-heading{min-height:43px;padding:6px 9px}.keyword-rule-heading>div:last-child{gap:2px}.keyword-rule-heading .text-button{padding:0 4px}.keyword-rule-list{padding:0 8px}.keyword-rule-list>label{min-height:46px}.keyword-create-area{grid-template-columns:minmax(0,1fr) auto;padding:8px 10px}.keyword-create-area>div,.keyword-create-area>input{grid-column:1/-1}.keyword-create-area>button{grid-area:4/2}.keyword-create-area>label{grid-area:4/1}.keyword-library-footer{min-height:52px;padding:7px 10px}.keyword-library-footer>span{display:none}.keyword-library-footer>div{width:100%}.keyword-library-footer .button{flex:1}.excel-template-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.excel-template-toolbar{flex-direction:column;align-items:flex-start;padding:7px 10px}.excel-template-toolbar>label{flex-direction:column;align-items:flex-start;gap:4px;width:100%}.excel-template-toolbar select{width:100%}.excel-template-mapping-list>div{grid-template-rows:auto auto;grid-template-columns:28px minmax(0,1fr) auto;gap:5px 7px;min-width:0;min-height:72px;padding:7px 10px}.excel-template-mapping-head{display:none}.excel-template-mapping-list{overflow-x:hidden}.excel-template-mapping-list>div>label{grid-area:1/1/3}.excel-template-mapping-list>div>span{grid-area:1/2}.excel-template-mapping-list>div>svg{display:none}.excel-template-mapping-list>div>input[list],.excel-template-system-field{grid-area:2/2/auto/-1}.excel-template-mapping-list>div>em{grid-area:1/3}.large-drop-target{min-height:170px}.extract-mapping{min-height:300px}.mapping-table{min-width:0;padding-left:8px;padding-right:8px}.mapping-head,.mapping-row{grid-template-columns:92px minmax(0,1fr) 50px;gap:6px;min-width:0;padding-left:4px;padding-right:4px}.mapping-head--extract,.mapping-row--extract{grid-template-columns:32px 140px minmax(170px,1fr) 105px 26px;min-width:590px}.mapping-table--editable{overflow-x:auto}.mapping-row>span:nth-child(2){overflow-wrap:anywhere;line-height:1.35}.home-upload-actions{flex-wrap:wrap}.home-upload-actions .button{flex:none}.overview-strip{grid-template-columns:1fr}.overview-strip>div+div{border-top:1px solid var(--border);border-left:0}.task-row{grid-template-columns:34px minmax(150px,1fr) 16px}.task-progress,.task-time,.task-status-complete{display:none}.template-library-row{grid-template-columns:40px minmax(160px,1fr) 16px}.template-library-row>.publish-state,.template-library-row>span:nth-last-child(2),.template-create-heading>div>span{display:none}.template-create-options{grid-template-columns:1fr}.template-create-option+.template-create-option{border-top:1px solid var(--border);border-left:0}.template-builder-panel{flex-direction:column;align-items:stretch}.template-builder-panel .button{width:100%}.template-builder-intro{grid-template-columns:1fr;gap:12px}.template-group-grid{grid-template-columns:1fr}.template-builder-panel--manual footer{flex-direction:column;align-items:stretch}.history-list--full>button{grid-template-columns:34px minmax(160px,1fr) 16px}.history-list--full>button>span:nth-child(3),.history-list--full>button>span:nth-child(4){display:none}.history-list>div{grid-template-columns:18px minmax(0,1fr) 32px;gap:8px;padding-left:10px;padding-right:10px}.history-list>div>span:nth-child(3){display:none}.history-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.history-overview>span:nth-child(3){border-top:1px solid var(--border);border-left:0}.history-overview>span:nth-child(4){border-top:1px solid var(--border)}.history-toolbar{flex-direction:column;align-items:stretch;padding:8px 10px}.history-toolbar .segmented{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.history-toolbar .segmented button{white-space:normal;min-width:0}.history-toolbar__actions{width:100%}.history-search{flex:1;width:auto}.history-job{grid-template-columns:34px minmax(0,1fr) auto;gap:8px;padding:10px}.history-job__progress,.history-job>time{display:none}.history-job__actions{flex-wrap:wrap;grid-column:2/-1;justify-content:flex-start}.history-message{grid-template-columns:24px minmax(0,1fr);min-height:220px}.history-message .button{grid-column:2;width:fit-content}}@media (width<=520px){.builtin-template-grid{grid-template-columns:minmax(0,1fr)}.builtin-template-card{min-height:150px}.builtin-template-title{flex-wrap:wrap}.template-search{width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}.home-primary-action.home-workflow{flex-direction:column;align-items:stretch;gap:14px;min-height:0;padding:18px 20px 14px;display:flex}.home-workflow__intro{align-items:center;gap:14px;display:flex}.home-workflow__intro .home-primary-copy p{max-width:none}.home-upload-lanes{grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);align-items:stretch;gap:8px;display:grid}.home-upload-lane{border-radius:var(--radius);background:#fbfcfe;border:1px solid #c7d3e4;flex-direction:column;gap:13px;min-width:0;padding:13px 14px;transition:border-color .14s,background-color .14s;display:flex;position:relative;overflow:hidden}.home-upload-lane.is-running{border-color:#8eb4ff;box-shadow:0 0 18px #4b89ff1f}.home-upload-lane.is-complete{background:#fbfffd;border-color:#63bf91;box-shadow:0 0 0 1px #34a86c14}.home-upload-lane.is-paused,.home-upload-lane.is-error{background:snow;border-color:#e79a9a}.home-upload-lane:hover,.home-upload-lane.is-dragging{background:#f7faff;border-color:#7fa4ee}.home-upload-lane__heading,.home-upload-lane__body,.home-upload-actions,.home-workflow__summary,.home-template-save-prompt,.template-source-prompt,.template-save-prompt{align-items:center;display:flex}.home-upload-lane__heading,.home-upload-lane__body,.home-upload-lane__body>*{z-index:1;position:relative}.home-upload-lane__heading{gap:9px}.home-upload-lane__heading>div{flex-direction:column;gap:3px;min-width:0;display:flex}.home-upload-lane__heading h3{font-size:12px;font-weight:680}.home-upload-lane__heading small{color:var(--text-muted);font-size:9px;line-height:1.4}.home-step-number{background:var(--accent);color:#fff;border-radius:50%;flex:0 0 24px;place-items:center;width:24px;height:24px;font-size:11px;font-weight:700;display:grid}.home-upload-lane__body{justify-content:space-between;gap:10px}.home-upload-lane__body--process{align-items:stretch}.home-process-content{flex-direction:column;flex:1;justify-content:center;gap:8px;min-width:0;display:flex}.home-phase-label{color:var(--text-muted);white-space:nowrap;margin-left:auto;font-size:9px;font-weight:650}.home-phase-label--running{color:var(--accent)}.home-phase-label--complete{color:var(--green)}.home-phase-label--paused,.home-phase-label--error{color:var(--red)}.home-progress-line{align-items:center;gap:8px;min-width:0;display:flex}.home-progress-track{background:#e6ebf2;border-radius:3px;flex:1;min-width:0;height:5px;overflow:hidden}.home-progress-track>span{border-radius:inherit;background:var(--accent);height:100%;transition:width .18s;display:block;box-shadow:0 0 8px #3771f066}.home-progress-line>strong{min-width:34px;color:var(--accent);text-align:right;margin:0;font-size:10px;font-weight:700;line-height:1}.home-progress-line--complete .home-progress-track>span{background:var(--green);transition:none;box-shadow:0 0 8px #34a86c59;width:100%!important}.home-progress-line--complete>strong{color:var(--green)}.home-progress-line--paused .home-progress-track>span,.home-progress-line--error .home-progress-track>span{background:var(--red);box-shadow:0 0 8px #dc5b5b59}.home-progress-line--paused>strong,.home-progress-line--error>strong{color:var(--red)}.home-phase-complete{color:var(--green);white-space:nowrap;align-items:center;gap:4px;font-size:9px;font-weight:650;display:inline-flex}.home-upload-file-count{min-width:0;color:var(--text-secondary);align-items:center;gap:7px;display:flex}.home-upload-file-count svg{color:var(--accent)}.home-upload-file-count strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:620;overflow:hidden}.home-upload-actions{flex:none;gap:7px}.home-upload-actions .text-button{font-size:9px}.home-upload-connector{color:var(--text-muted);place-items:center;display:grid}.home-workflow__footer{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:38px;padding-top:2px;display:grid}.home-workflow__summary{min-width:0;color:var(--text-muted);gap:7px;font-size:9px}.home-workflow__summary .status-dot{flex:none}.home-workflow__summary-separator{color:#c7ced7}.home-workflow__footer .home-primary-buttons{flex-direction:row;flex:none;align-items:center;gap:8px;display:flex}.home-workflow__footer .home-primary-buttons .text-button{white-space:nowrap;justify-content:center}.home-template-save-prompt,.template-source-prompt,.template-save-prompt{border-radius:var(--radius);color:var(--text-secondary);background:#f5f9ff;border:1px solid #cfe0fb;justify-content:space-between;gap:12px;padding:9px 11px;font-size:10px}.home-template-save-prompt>div:first-child,.template-source-prompt>span,.template-save-prompt>span{align-items:center;gap:7px;display:flex}.home-template-save-prompt svg,.template-source-prompt svg,.template-save-prompt svg{color:var(--accent)}.home-template-save-prompt>div:last-child,.template-source-prompt>div,.template-save-prompt>div{align-items:center;gap:8px;display:flex}.template-source-prompt,.template-save-prompt{border-radius:var(--radius);margin:-7px 0 0}.template-source-prompt{margin:0 14px}.output-drag-button{cursor:grab}.output-drag-button:active{cursor:grabbing}.template-band__actions{align-items:center;gap:9px;display:flex}.dialog-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#141f2f4d;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.settings-dialog{background:#fff;border:1px solid #cfd7e2;border-radius:10px;flex-direction:column;width:min(620px,100%);max-height:min(760px,100vh - 48px);display:flex;position:relative;overflow:hidden;box-shadow:0 22px 60px #141f2f33}.settings-dialog__header{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:flex-start;gap:18px;padding:21px 24px 16px;display:flex}.settings-dialog__header h2{font-size:18px;font-weight:700}.settings-dialog__header p{color:var(--text-secondary);margin-top:5px;font-size:11px;line-height:1.5}.settings-dialog__body{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px 24px;display:grid;overflow:auto}.settings-group{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fbfcfe;flex-direction:column;gap:11px;min-width:0;padding:14px;display:flex}.settings-group:last-child{grid-column:1/-1}.settings-group__title{color:var(--text);align-items:center;gap:7px;padding-bottom:2px;font-size:12px;display:flex}.settings-group__title svg{color:var(--accent)}.settings-field{color:var(--text-secondary);flex-direction:column;gap:5px;font-size:10px;font-weight:600;display:flex}.settings-field select{border:1px solid var(--border-strong);border-radius:var(--radius);width:100%;height:32px;color:var(--text);font:inherit;background:#fff;padding:0 9px;font-weight:500}.settings-office-status{color:var(--text-muted);margin:-2px 0 0;font-size:10px;line-height:1.45}.settings-toggle{justify-content:space-between;align-items:center;gap:12px;min-height:38px;display:flex}.settings-toggle>span{flex-direction:column;gap:3px;min-width:0;display:flex}.settings-toggle strong{color:var(--text);font-size:10px;font-weight:650}.settings-toggle small{color:var(--text-muted);font-size:9px;line-height:1.35}.settings-toggle input{opacity:0;pointer-events:none;position:absolute}.settings-toggle i{background:#cbd3df;border-radius:12px;flex:0 0 34px;width:34px;height:20px;transition:background-color .14s;position:relative}.settings-toggle i:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .14s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #141f2f2e}.settings-toggle input:checked+i{background:var(--accent)}.settings-toggle input:checked+i:after{transform:translate(14px)}.template-fixed-content-toggle{border:1px solid var(--line);background:var(--surface-subtle);border-radius:10px;margin:8px 0 12px;padding:10px 14px}.fixed-content-editor{border:1px solid var(--line);background:var(--surface-subtle);border-radius:10px;margin-top:10px;padding:14px 16px}.fixed-content-editor__heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.fixed-content-editor__heading h3{color:var(--text);margin:0;font-size:14px}.fixed-content-editor__heading p{color:var(--text-muted);margin:4px 0 0;font-size:11px;line-height:1.45}.fixed-content-editor__heading>span{color:var(--accent);flex:none;font-size:11px;font-weight:700}.fixed-content-editor__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.fixed-content-editor__item{gap:5px;display:grid}.fixed-content-editor__item>span{color:var(--text-muted);font-size:11px;font-weight:650}.fixed-content-editor__controls{grid-template-columns:minmax(0,1fr) minmax(96px,.8fr);align-items:center;gap:7px;display:grid}.fixed-content-editor__controls select,.fixed-content-editor__controls input{border:1px solid var(--line);width:100%;height:32px;color:var(--text);font:inherit;background:#fff;border-radius:7px;padding:0 9px;font-size:11px}.fixed-content-editor__controls em{color:var(--accent);text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-style:normal;font-weight:700;overflow:hidden}.fixed-content-editor__item textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:52px;color:var(--text);font:inherit;background:#fff;border-radius:7px;padding:8px 10px;font-size:12px;line-height:1.45}@media (width<=760px){.fixed-content-editor__list{grid-template-columns:1fr}.fixed-content-editor__controls{grid-template-columns:minmax(0,1fr) 112px}}.settings-dialog__footer{border-top:1px solid var(--border);background:#fbfcfd;flex:none;justify-content:space-between;align-items:center;gap:16px;min-height:62px;padding:12px 24px;display:flex}.settings-dialog__footer>span{color:var(--text-muted);align-items:center;gap:6px;font-size:9px;display:flex}.settings-dialog__footer>div{align-items:center;gap:8px;display:flex}.toast--dialog{z-index:2}.quality-dialog{width:calc(100vw - 48px);max-width:720px}.quality-dialog__body{flex-direction:column;flex:auto;min-height:0;padding:0 24px 20px;display:flex;overflow:hidden}.quality-report-message{min-height:280px;color:var(--text-muted);place-items:center;font-size:11px;display:grid}.quality-report-message.is-error{color:var(--red)}.quality-metrics{border-bottom:1px solid var(--border);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.quality-metrics>span{border-right:1px solid var(--border);flex-direction:column;gap:5px;min-width:0;padding:16px 14px;display:flex}.quality-metrics>span:first-child{padding-left:0}.quality-metrics>span:last-child{border-right:0}.quality-metrics small{color:var(--text-muted);font-size:10px}.quality-metrics strong{overflow-wrap:anywhere;font-size:14px;font-weight:700}.quality-structural-summary{color:var(--text-muted);border-bottom:1px solid #edf0f3;flex-wrap:wrap;gap:8px 20px;padding:12px 0;font-size:10px;display:flex}.quality-structural-summary strong{color:var(--text);margin-left:4px;font-size:11px}.quality-table-wrap{flex:auto;min-height:0;overflow:auto}.quality-table{border-collapse:collapse;width:100%;font-size:11px}.quality-table th,.quality-table td{text-align:left;border-bottom:1px solid #edf0f3;padding:11px 10px}.quality-table th{color:var(--text-muted);background:#fff;font-size:9px;font-weight:650;position:sticky;top:0}.quality-state{font-size:10px;font-weight:650}.quality-state.is-passed{color:var(--green)}.quality-state.is-review{color:var(--red)}@media (width<=760px){.home-primary-action.home-workflow{padding:15px 14px 12px}.home-workflow__intro{align-items:flex-start}.home-upload-lanes{grid-template-columns:1fr;gap:8px}.home-upload-connector{transform:rotate(90deg)}.home-upload-lane__body{flex-direction:column;align-items:flex-start}.home-upload-actions{justify-content:space-between;width:100%}.home-workflow__footer{flex-direction:column;align-items:stretch}.home-workflow__footer .home-primary-buttons{width:100%}.home-workflow__footer .home-primary-buttons .button{flex:1}.home-template-save-prompt,.template-source-prompt,.template-save-prompt{flex-direction:column;align-items:flex-start}.home-template-save-prompt>div:last-child,.template-source-prompt>div,.template-save-prompt>div{justify-content:space-between;width:100%}.template-band__actions{flex-direction:column;align-items:flex-end;gap:5px}.settings-dialog__body{grid-template-columns:1fr}.settings-group:last-child{grid-column:auto}.settings-dialog__footer{flex-direction:column;align-items:stretch}.settings-dialog__footer>div{justify-content:flex-end}.quality-dialog__body{padding-left:16px;padding-right:16px}.quality-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.quality-metrics>span{border-bottom:1px solid var(--border)}.quality-metrics>span:nth-child(2n){border-right:0}}.keyword-library-dialog{width:min(980px,100vw - 32px)}.keyword-library-header p{font-size:12px;line-height:1.5}.keyword-library-toolbar input,.keyword-library-toolbar>strong,.keyword-category-list button{font-size:12px}.keyword-category-list button{min-height:36px}.keyword-category-list button em{font-size:10px}.keyword-rule-heading strong{font-size:13px}.keyword-rule-heading span,.keyword-rule-heading .text-button{font-size:11px}.keyword-rule-list>label{min-height:58px;padding-top:8px;padding-bottom:8px}.keyword-rule-list label strong{font-size:12px;line-height:1.4}.keyword-rule-list label small{font-size:11px;line-height:1.45}.keyword-rule-list label>em{font-size:10px}.keyword-rule-empty strong{font-size:13px}.keyword-rule-empty span{font-size:11px}.keyword-create-area>div strong{font-size:12px}.keyword-create-area>div span,.keyword-create-area>label{font-size:10px;line-height:1.4}.keyword-create-area>input{height:35px;font-size:11px}.keyword-library-footer>span{font-size:10px}.excel-template-dialog{width:min(880px,100vw - 32px)}.excel-template-toolbar>label,.excel-template-toolbar select,.excel-template-toolbar>span{font-size:11px}.excel-template-toolbar select{height:35px}.excel-template-mapping-head{font-size:10px}.excel-template-mapping-list>div{min-height:56px}.excel-template-mapping-list>div>span strong{font-size:12px}.excel-template-mapping-list>div>span small,.excel-template-system-field{font-size:10px}.excel-template-mapping-list input[list]{height:34px;font-size:11px}.excel-template-mapping-list em,.excel-template-warnings{font-size:10px;line-height:1.4}.extract-template-control>span strong,.extract-library-launch>span,.extract-selected-keywords>span,.extract-selected-keywords>em,.extract-keyword-empty,.extract-prompt-input>label:first-child{font-size:11px}.extract-template-control>span small,.extract-prompt-remember{font-size:10px;line-height:1.4}.extract-template-control>.text-button{font-size:11px}.extract-selected-keywords>span{min-height:28px}.large-drop-target small,.extract-file-list small,.extract-file-state,.mapping-head,.mapping-row--extract>span:nth-child(4) strong,.extract-empty-fields span,.extract-preview-table{font-size:10px}.large-drop-target strong,.extract-file-list strong,.mapping-row{font-size:12px}.surface-progress-row>strong,.conversion-drop small,.conversion-queue__heading span,.conversion-file-list small,.conversion-state,.conversion-runbar>span,.spreadsheet-pdf-layout button small,.pdf-word-mode-picker button small{font-size:11px}.conversion-file-list strong,.spreadsheet-pdf-layout button strong,.pdf-word-mode-picker button strong{font-size:12px}.conversion-file-list>div{min-height:60px}.history-job__status,.history-job__progress>strong,.history-job__progress>small,.history-job>time,.history-open-button{font-size:10px}.history-job__main small{font-size:11px}.history-job__main strong{font-size:13px}.settings-field,.settings-toggle small,.settings-dialog__footer>span,.home-upload-lane__heading small,.home-phase-label,.home-phase-complete,.home-upload-actions .text-button,.home-workflow__summary,.quality-table th{font-size:10px;line-height:1.45}.settings-toggle strong{font-size:12px}.quality-metrics small,.quality-structural-summary{font-size:11px}.batch-limit-note,.home-section-heading span,.recent-file-meta small,.recent-state,.overview-strip small,.file-meta small,.status-badge,.issue-count,.preview-toolbar span,.preview-footer,.preview-footer strong,.template-create-heading span,.template-library-meta>span,.publish-state,.template-builder-panel--manual footer>span,.history-list small{font-size:10px}.home-launchers small,.template-create-option small{font-size:11px;line-height:1.45}.home-launchers strong,.template-create-option strong{font-size:12px}.home-recent-row{min-height:62px}.template-create-option{min-height:86px}.status-badge,.issue-count{height:auto;min-height:25px}@media (width<=760px){.keyword-library-dialog,.excel-template-dialog,.extraction-preset-dialog,.extraction-learning-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.keyword-library-header p,.keyword-library-toolbar>strong{font-size:11px}.keyword-rule-list>label{min-height:58px}.excel-template-mapping-list>div{min-height:78px}.extract-preset-control{grid-template-columns:18px minmax(0,1fr) auto}.extract-preset-control>.text-button{grid-column:2/-1;justify-self:end}.extraction-preset-save{grid-template-columns:1fr auto;align-items:center;padding:10px}.extraction-preset-save>label{grid-column:1/-1}.extraction-preset-save>.button{min-height:35px}.extraction-preset-list{padding:0 10px}.extraction-preset-list>div:not(.extraction-preset-empty){grid-template-columns:22px minmax(0,1fr);align-items:start;gap:8px;min-height:96px}.extraction-preset-list>div>svg{margin-top:4px}.extraction-preset-actions{flex-wrap:wrap;grid-column:2;justify-content:flex-start}.extraction-preset-list>div>span small{white-space:normal}.extraction-learning-list{padding:0 10px}.extraction-learning-row{grid-template-columns:24px minmax(0,1fr);align-items:start;gap:8px;min-height:176px;padding:12px 0}.extraction-learning-row>.extract-check{grid-row:1/4;padding-top:3px}.extraction-learning-change{grid-column:2;grid-template-columns:auto minmax(50px,1fr) auto}.extraction-learning-change small:nth-of-type(2){grid-column:1}.extraction-learning-alias{grid-column:2}.extraction-learning-dialog .keyword-library-footer{flex-direction:column;align-items:stretch}.extraction-learning-dialog .keyword-library-footer>span{white-space:normal}.extraction-learning-dialog .keyword-library-footer>div{justify-content:flex-end}}:root[data-theme=dark] .home-workflow,:root[data-theme=dark] .home-upload-lane,:root[data-theme=dark] .home-launch-grid,:root[data-theme=dark] .home-recent,:root[data-theme=dark] .stats-band,:root[data-theme=dark] .files-panel,:root[data-theme=dark] .template-band,:root[data-theme=dark] .run-bar,:root[data-theme=dark] .extract-source,:root[data-theme=dark] .extract-mapping,:root[data-theme=dark] .module-footer-action,:root[data-theme=dark] .conversion-drop,:root[data-theme=dark] .conversion-queue,:root[data-theme=dark] .history-job,:root[data-theme=dark] .settings-dialog,:root[data-theme=dark] .settings-group,:root[data-theme=dark] .keyword-library-dialog,:root[data-theme=dark] .extraction-preset-dialog,:root[data-theme=dark] .extraction-learning-dialog,:root[data-theme=dark] .excel-template-dialog{color:var(--text);background:var(--surface)!important}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,:root[data-theme=dark] .template-search,:root[data-theme=dark] .history-search,:root[data-theme=dark] .settings-field select,:root[data-theme=dark] .extract-preview-table{background:var(--surface-subtle);color:var(--text)}
