:root{--bg:#f6f8fc;--surface:#fff;--text:#182033;--muted:#7b8597;--blue:#2563eb;--border:#e6eaf1;--danger:#db3f5c;--sidebar:236px;--drawer:468px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}a,button{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button,input,select,textarea{outline:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9db9ff;outline-offset:3px}svg{flex-shrink:0;stroke-width:1.75}h1,h2,p{margin:0}h1{font-size:30px;line-height:1.4;letter-spacing:-.7px}h2{font-size:21px;line-height:1.5}fieldset{margin:0;padding:0;border:0;min-width:0}input,select,textarea{width:100%;min-width:0;min-height:42px;border:1px solid #d7deea;border-radius:6px;background:#fff;color:var(--text);padding:9px 12px;font-size:14px;line-height:1.5;transition:border-color .15s}input:hover,select:hover,textarea:hover{border-color:#a9bce0}input::placeholder,textarea::placeholder{color:#8994a7}textarea{resize:vertical;vertical-align:top}select{padding-right:30px}input:disabled,select:disabled,textarea:disabled{background:#f6f8fc}button{transition:background .15s,color .15s}.muted{color:var(--muted)}.brand{display:flex;gap:13px;align-items:center}.brand>svg{color:var(--blue)}.brand strong{display:block;font-size:23px;letter-spacing:.3px;line-height:1.35}.brand span{display:block;color:var(--muted);font-size:13px;margin-top:1px}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--border);padding:23px 12px;z-index:10}.sidebar .brand{padding:0 17px 29px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar nav a{display:flex;gap:15px;align-items:center;padding:14px 18px;border-radius:8px;font-size:16px;min-height:52px}.sidebar nav a:hover{background:#f4f7fd}.sidebar nav a.active{color:var(--blue);background:#eaf1ff;font-weight:600}.workspace{margin-left:var(--sidebar);min-height:100dvh}.topbar{height:73px;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--border);background:#ffffffb3}.account,.breadcrumb,.topbar{display:flex;align-items:center;gap:15px}.breadcrumb strong{font-weight:600}.account-name{gap:10px;max-width:200px;overflow:hidden;text-overflow:ellipsis}.account-name,.logout-button{display:flex;align-items:center}.logout-button{gap:8px;background:none;border:0;border-left:1px solid #d3dbe8;padding:0 0 0 20px;color:var(--text);font-size:14px}.logout-button:hover{color:var(--blue)}.content{padding:30px 26px;max-width:1800px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 26px}.page-heading p{color:#697890;font-size:16px;margin-top:7px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:6px;font-size:14px;font-weight:500;line-height:1.5;min-height:42px;padding:10px 17px;white-space:nowrap}.button.primary{background:var(--blue);color:white;border-color:var(--blue)}.button.primary:hover:not(:disabled){background:#1d52cc}.button.secondary{background:#f8f9fc;color:var(--text);border-color:var(--border)}.button.secondary:hover:not(:disabled){background:#ecf1f9}.button.danger{background:var(--danger);color:white}.button.danger:hover:not(:disabled){background:#c32d48}.page-heading>.button{min-height:46px;padding:11px 18px;font-size:15px}.table-panel{background:white;border:1px solid #e0e7f2;border-radius:12px;overflow:hidden}.toolbar{padding:21px;display:flex;align-items:center;gap:12px}.toolbar select{width:auto;flex:0 1 160px}.toolbar .search-input{flex:1 1;min-width:140px}.search-input{position:relative;display:flex;align-items:center}.search-input>svg{position:absolute;left:13px;pointer-events:none;color:#334666}.search-input>input{padding-left:42px}.toolbar .category-search{flex:0 1 380px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:14px}th{font-weight:600;color:#253048;padding:17px 22px;background:#f5f7fc}td{padding:19px 22px;border-bottom:1px solid #ecf0f6;max-width:310px;white-space:normal;overflow-wrap:anywhere}tbody tr:hover{background:#fbfcff}.word-cell{font-weight:600;min-width:110px}.date-cell{color:#566887;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px}.actions-col{width:122px}.row-actions{display:flex;gap:21px}.text-button{border:none;padding:3px 0;background:none;color:var(--blue);font-size:14px;white-space:nowrap}.text-button:hover:not(:disabled){text-decoration:underline}.text-button.destructive{color:var(--danger)}.badge{display:inline-block;padding:3px 12px;font-size:13px;line-height:1.65;border-radius:5px;color:#526078;background:#eef1f6;white-space:nowrap}.badge.blue{background:#e4efff;color:#1854df}.badge.green,.badge.sentiment-褒义{background:#e0f5ed;color:#23866e}.badge.sentiment-贬义{background:#ffeaee;color:#cb435f}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 22px;color:var(--muted)}.pagination{gap:9px}.pagination .button{min-height:38px;padding:7px 11px;font-size:13px}.page-number{display:grid;place-items:center;min-width:38px;height:38px;background:var(--blue);color:white;border-radius:6px}.empty-state{padding:64px 24px 72px;display:flex;align-items:center;text-align:center;flex-direction:column;gap:14px}.empty-state>svg{color:#8aa8db;margin-bottom:3px}.empty-state h2{font-size:19px}.empty-state p{color:var(--muted);margin-bottom:7px}.loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:65px 20px;color:var(--muted)}.spin{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.cell-description{display:block;color:var(--muted);font-size:12px;margin-top:4px;max-width:280px}.category-table td{padding-top:21px;padding-bottom:21px}.footer-hint{font-size:12px}.panel-message{padding:24px}.error-notice{display:flex;align-items:flex-start;gap:9px;background:#fff2f3;color:#ba304a;padding:11px 13px;border-radius:6px;font-size:13px;line-height:1.7}.error-notice svg{margin-top:2px}.error-notice .text-button{margin-left:auto}.toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:13px 21px;background:#182d4d;color:white;border-radius:9px;box-shadow:0 5px 24px #24375920;z-index:100;max-width:90vw}.drawer{position:fixed;inset:0 0 0 auto;margin:0;width:var(--drawer);max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-left:1px solid var(--border);background:white;padding:0;box-shadow:-6px 0 24px #1d355318;color:var(--text);overflow:hidden}.drawer[open]{display:flex;flex-direction:column}.drawer::backdrop{background:transparent}.drawer-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:20px 24px 22px;flex-shrink:0;gap:12px}.drawer-heading h2{font-size:22px}.drawer-heading p{font-size:14px;color:#7a89a2;margin-top:7px;line-height:1.6}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:5px;background:transparent;color:#425274;padding:5px}.icon-button:hover:not(:disabled){background:#edf2fa}.drawer-heading .icon-button{margin-right:-6px}.editor-form{display:flex;flex-direction:column;min-height:0;flex:1 1}.form-scroll{overflow-y:auto;overscroll-behavior:contain;padding:0 24px 8px;flex:1 1;scrollbar-width:thin}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:22px}.field-label{font-weight:600;font-size:14px;color:#243049}.required{color:#e44252;margin-left:2px}.field-hint{font-size:12px;color:var(--muted);line-height:1.65}.field-error{font-size:13px;color:var(--danger);line-height:1.65}.field input,.field select,.field textarea{font-size:14px}.sentiment-field{margin-bottom:22px}.sentiment-field legend{padding:0;margin-bottom:7px}.segmented{display:flex;gap:8px}.segmented label{flex:1 1;position:relative;display:flex;align-items:center;justify-content:center;border:1px solid #dbe2ed;border-radius:5px;background:#f8f9fc;height:39px;cursor:pointer}.segmented label.selected{background:var(--blue);color:white;border-color:var(--blue)}.segmented input{appearance:none;position:absolute;inset:0;margin:0;opacity:0;min-height:0;cursor:pointer}.segmented label:has(input:focus-visible){outline:3px solid #9db9ff;outline-offset:3px}.editor-footer{padding:16px 24px;border-top:1px solid var(--border);display:flex;gap:14px;justify-content:flex-end;flex-shrink:0;background:white}.confirm-dialog{width:420px;max-width:calc(100vw - 32px);padding:28px;border:1px solid var(--border);border-radius:12px;color:var(--text);box-shadow:0 12px 50px #18203320}.confirm-dialog::backdrop{background:#18203338}.confirm-dialog h2{font-size:20px;overflow-wrap:anywhere}.confirm-dialog>p{margin-top:14px;color:var(--muted)}.confirm-dialog>p.field-error{color:var(--danger)}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.initial-state{justify-content:center;gap:28px;padding:30px}.auth-page,.initial-state{min-height:100dvh;display:flex;align-items:center;flex-direction:column}.auth-page{padding:36px 44px}.auth-brand{width:100%}.auth-card{width:440px;max-width:100%;margin:auto;padding:36px 38px 38px;background:white;border:1px solid var(--border);border-radius:14px;box-shadow:0 8px 40px #23375305}.auth-card h1{font-size:27px;letter-spacing:0}.auth-description{color:var(--muted);margin-top:9px;margin-bottom:30px;line-height:1.8}.auth-card .field{margin-bottom:23px}.password-input{display:flex;position:relative}.password-input>input{padding-right:44px}.password-input>.icon-button{position:absolute;right:7px;top:5px}.auth-submit{width:100%;margin-top:12px;min-height:45px}.auth-footer{font-size:12px;color:#8a95a6;padding-top:25px}.session-notice{padding:10px 12px;background:#edf4ff;border-radius:6px;color:#3d66a1;margin-bottom:20px;font-size:13px}@media(min-width:1400px){body.drawer-open .workspace{margin-right:var(--drawer)}body.drawer-open .toolbar{gap:10px}body.drawer-open .toolbar select{flex-basis:142px}body.drawer-open td,body.drawer-open th{padding-left:20px;padding-right:20px}body.drawer-open .table-panel table{font-size:13px}body.drawer-open .date-cell{font-size:12px}body.drawer-open .row-actions{gap:17px}}@media(max-width:1100px){:root{--sidebar:204px}.sidebar .brand{padding-left:10px;gap:10px}.brand strong{font-size:21px}.toolbar{flex-wrap:wrap}.toolbar .search-input{flex-basis:100%}.toolbar select{flex:1 1}.content{padding:26px 22px}.drawer::backdrop{background:#18203325}.breadcrumb{gap:10px}.topbar{padding:0 22px}}@media(max-width:700px){:root{--sidebar:0px;--drawer:100vw}.sidebar{position:static;width:100%;padding:17px 18px 12px;border-right:0;border-bottom:1px solid var(--border)}.sidebar .brand{padding:0 0 14px}.brand strong{font-size:20px}.brand span{font-size:11px}.brand>svg{width:30px}.sidebar nav{flex-direction:row;gap:10px}.sidebar nav a{flex:1 1;justify-content:center;font-size:14px;padding:9px;min-height:42px;gap:9px}.sidebar nav a svg{width:18px}.workspace{min-height:calc(100dvh - 140px);margin:0}.topbar{height:58px;padding:0 18px}.breadcrumb{font-size:12px;gap:7px}.account{gap:10px;font-size:12px}.account-name{max-width:90px;gap:5px}.account-name svg{width:15px}.logout-button{font-size:12px;padding-left:10px;gap:0}.logout-button svg{display:none}.content{padding:22px 16px}.page-heading{gap:12px;margin-bottom:20px;align-items:flex-start}.page-heading h1{font-size:25px}.page-heading p{font-size:12px;line-height:1.7;max-width:225px;margin-top:7px}.page-heading>.button{font-size:12px;min-height:40px;padding:9px 12px;margin-top:1px;gap:4px}.page-heading>.button svg{width:16px}.toolbar{padding:14px;gap:9px}.toolbar select{font-size:12px;padding:9px 7px;flex:1 1 27%;min-width:0}.toolbar .search-input{min-width:100%}.search-input>input{font-size:13px}.table-scroll .category-table,.table-scroll table{min-width:720px}td,th{padding:16px}.table-footer{padding:16px 13px;gap:10px;font-size:12px}.pagination{gap:6px}.pagination .button{padding:7px;font-size:12px}.pagination .button svg{display:none}.page-number{min-width:34px;height:34px}.footer-hint{font-size:11px}.drawer{border-left:0}.drawer-heading{padding:20px}.drawer-heading h2{font-size:21px}.drawer-heading p{font-size:13px}.form-scroll{padding-left:20px;padding-right:20px}.editor-footer{padding:14px 20px max(14px,env(safe-area-inset-bottom))}.field{margin-bottom:21px}.field input,.field select,.field textarea{font-size:16px}.auth-page{padding:25px 20px}.auth-brand{margin-bottom:32px}.auth-card{padding:28px 24px;box-shadow:none}.auth-card h1{font-size:25px}.auth-description{font-size:13px}.auth-card input{font-size:16px}.auth-footer{margin-top:25px}.toast{bottom:20px;width:max-content}.empty-state{padding:50px 18px}.empty-state h2{font-size:17px}.empty-state p{font-size:13px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(min-width:701px){body{font-size:16px}h1{font-size:36px}.brand strong{font-size:25px}.brand span{font-size:14px}.sidebar .brand{padding-bottom:24px}.page-heading p,.sidebar nav a{font-size:17px}.button,.logout-button,.page-heading>.button,.text-button,input,select,textarea{font-size:16px}.toolbar{padding-top:21px;padding-bottom:21px}.toolbar input,.toolbar select,body.drawer-open .table-panel table,table{font-size:15px}.badge,.date-cell,body.drawer-open .date-cell{font-size:14px}.drawer-heading{padding-bottom:22px}.drawer-heading h2{font-size:24px}.drawer-heading p,.field input,.field select,.field textarea,.field-label{font-size:16px}.field,.sentiment-field{margin-bottom:18px}.segmented label{font-size:16px}.editor-footer{padding-top:16px;padding-bottom:16px}.auth-card .field{margin-bottom:23px}}select{appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334666' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.menu-group{width:100%}.menu-trigger{display:flex;align-items:center;gap:13px;width:100%;min-height:52px;padding:13px 17px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:17px;font-weight:600;text-align:left}.menu-trigger>svg:first-child{color:var(--blue)}.menu-trigger:hover{background:#f4f7fd}.menu-chevron{margin-left:auto;color:var(--muted);transform:rotate(-90deg)}.menu-trigger[aria-expanded=true] .menu-chevron{transform:rotate(0)}.submenu{display:grid;gap:5px;list-style:none;margin:4px 0 0 27px;padding:0 0 0 12px;border-left:1px solid var(--border)}.submenu[hidden]{display:none}.sidebar nav .submenu a{min-height:44px;padding:10px 12px;gap:10px;font-size:15px;justify-content:flex-start}.breadcrumb a:hover{color:var(--blue)}.category-image{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:12px;background:#f0f5ff;color:#8ca1c2;overflow:hidden;flex-shrink:0}.category-image img{display:block;width:100%;height:100%;object-fit:contain}.image-col{width:96px}.table-scroll .category-table{min-width:820px}.category-table td:nth-child(2){min-width:180px}.category-table td:nth-child(3){white-space:nowrap}.image-upload{display:flex;align-items:center;gap:18px}.image-upload>.category-image{width:96px;height:96px;border:1px solid var(--border)}.image-upload-controls{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.image-file-label{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid #cad7ed;border-radius:6px;color:var(--blue);background:#f4f7ff;cursor:pointer;overflow:hidden}.image-file-label:focus-within{outline:3px solid #9db9ff;outline-offset:3px}.image-file-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}fieldset:disabled .image-file-label{opacity:.5;cursor:wait}@media(max-width:700px){.sidebar nav{flex-direction:column}.menu-trigger{min-height:44px;padding:9px 10px;font-size:15px;gap:10px}.submenu{grid-template-columns:repeat(2,minmax(0,1fr));margin-left:20px;gap:8px;padding-left:10px}.sidebar nav .submenu a{font-size:14px;gap:8px;padding:9px 10px}.breadcrumb{white-space:nowrap}}@media(min-width:1400px){body.drawer-open .toolbar select[aria-label="按感情色彩筛选"]{flex-basis:158px;flex-shrink:0}body.drawer-open td{padding-top:16px;padding-bottom:16px}.drawer .form-scroll{padding-bottom:0}.drawer .field:last-child{margin-bottom:10px}}.table-footer{flex-wrap:wrap;gap:12px 20px;padding:16px 21px;border-top:1px solid #ecf0f6}.pagination-summary{color:#64738c;font-size:13px;white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.pagination-summary strong{color:#263955;font-weight:600}.pagination{flex-wrap:wrap;justify-content:flex-end}.pagination,.pagination-pages{display:flex;align-items:center;gap:6px}.pagination-control,.pagination-jump button,.pagination-page{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border:1px solid #d7deea;border-radius:6px;background:#fff;color:#344360;font-size:13px;line-height:1;white-space:nowrap}.pagination-control:hover:not(:disabled),.pagination-jump button:hover,.pagination-page:hover:not([aria-current=page]){border-color:#9db9ff;background:#f4f8ff;color:var(--blue)}.pagination-page[aria-current=page]{border-color:var(--blue);background:#eef4ff;color:var(--blue);font-weight:700}.pagination-control:disabled{background:#f8f9fc;color:#9aa5b7;opacity:1}.pagination-ellipsis{display:inline-flex;align-items:center;justify-content:center;width:20px;color:#8b97aa}.pagination-jump,.pagination-size{display:inline-flex;align-items:center;gap:6px;margin-left:6px;color:#566887;font-size:13px;white-space:nowrap}.pagination-size select{width:auto;min-width:90px;min-height:38px;height:38px;padding:0 29px 0 10px;font-size:13px;background-position:right 8px center}.pagination-jump input{width:56px;min-height:38px;height:38px;padding:0 6px;text-align:center;font-size:13px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.pagination-jump input::-webkit-inner-spin-button,.pagination-jump input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.pagination-jump input[type=number]{appearance:textfield;-moz-appearance:textfield}.pagination-jump button{color:var(--blue);border-color:#b9cef7}@media(max-width:900px){.pagination{justify-content:flex-start}.pagination-summary{width:100%}}@media(max-width:700px){.pagination-control,.pagination-jump button,.pagination-page{min-width:44px;height:44px}.pagination-jump input,.pagination-size select{min-height:44px;height:44px}.table-footer{padding:15px 13px}}@media(min-width:701px){.table-panel{display:flex;flex-direction:column;max-height:calc(100dvh - 230px)}.table-panel>.table-footer,.table-panel>.toolbar{flex:none}.table-panel>.table-scroll{min-height:0;overflow:auto}}.page-heading{margin-bottom:18px}.table-panel>.toolbar{padding:12px 16px}.table-panel>.table-footer{padding:10px 16px}.idiom-table{font-size:16px}.idiom-table th{position:sticky;top:0;z-index:1;padding:12px 18px;font-size:15px;line-height:1.5}.idiom-table td{padding:14px 18px;line-height:1.5;white-space:nowrap;border-bottom-color:#e2e8f1}.idiom-table tbody tr:nth-child(2n){background:#f9fbff}.idiom-table tbody tr:hover{background:#eef5ff}.idiom-table .badge{padding:3px 9px;font-size:14px;line-height:1.4}.idiom-table .row-actions{gap:18px}.idiom-table .row-actions .text-button{padding:2px 0;font-size:15px;line-height:1.4}.idiom-table .date-cell{font-size:14px;color:#455672}.idiom-table .source-cell{max-width:440px}.idiom-table .source-text{display:block;max-width:440px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;color:#334666}@media(min-width:701px){.topbar{height:64px}.content{padding-top:22px}.page-heading{margin-bottom:16px}.page-heading h1{font-size:28px;line-height:1.25;letter-spacing:-.4px}.page-heading p{font-size:15px;line-height:1.5;margin-top:4px}.page-heading>.button{min-height:42px;padding:9px 16px;font-size:14px}.table-panel{max-height:calc(100dvh - 200px)}}@media(max-width:700px){.page-heading{margin-bottom:16px}.page-heading h1{font-size:23px;line-height:1.3}.page-heading p{font-size:13px;margin-top:4px}}.formula-info{margin:-4px 0 16px;padding:11px 15px;border:1px solid #dce8f8;border-radius:8px;background:#f3f7ff;color:#4a6384;font-size:13px;line-height:1.6}.formula-toolbar .search-input{flex:1 1}.formula-table{min-width:920px;font-size:14px}.formula-table th{position:sticky;top:0;z-index:1;padding:12px 16px;background:#f5f7fc;font-size:14px}.formula-table td{padding:13px 16px;border-bottom:1px solid #e7edf5;white-space:nowrap}.formula-table tbody tr:nth-child(2n){background:#fafcff}.formula-table tbody tr:hover{background:#eef5ff}.formula-order{width:72px;color:#65748a;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.formula-name{min-width:190px;max-width:230px}.formula-name span,.formula-name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.formula-name strong{color:#263a55;font-size:15px}.formula-name span{margin-top:2px;color:#728099;font-size:12px}.formula-mnemonic{max-width:380px;overflow:hidden;text-overflow:ellipsis;color:#405472}.formula-group{color:#21756f;background:#e5f4f0}.formula-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.formula-editor-grid .field{min-width:0}.formula-question-section{margin:8px 0 24px;padding-top:20px;border-top:1px solid var(--border)}.formula-question-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.formula-question-heading>div{min-width:0;flex:1 1}.formula-question-heading h3{font-size:17px;line-height:1.4;color:var(--text)}.formula-question-heading p{margin-top:5px;color:var(--muted);font-size:13px;line-height:1.6}.formula-question-heading .button{flex-shrink:0;min-height:38px;padding:7px 12px}.formula-question-empty{padding:23px;border:1px dashed #cbd6e6;border-radius:9px;background:#fafcff;color:var(--muted);font-size:13px;text-align:center}.formula-question-card{padding:18px;margin-top:14px;border:1px solid #dce5f1;border-radius:10px;background:#fbfdff}.formula-question-card-head{display:flex;align-items:center;gap:10px;margin-bottom:16px}.formula-question-card-head strong{font-size:15px}.formula-question-card-head .text-button{margin-left:auto}.formula-question-state{padding:4px 9px;border-radius:5px;background:#fff2df;color:#925c15;font-size:12px}.formula-question-state.is-verified{background:#e4f5ed;color:#217560}.formula-question-grid{display:grid;grid-template-columns:100px minmax(0,1fr) 85px;gap:10px}.formula-question-grid .field{min-width:0}.formula-choices{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.formula-optional{margin-left:8px;color:var(--muted);font-size:12px;font-weight:400}.formula-choice-row{display:flex;align-items:center;gap:10px}.formula-choice-letter{display:grid;place-items:center;flex:0 0 34px;height:34px;border:1px solid #c9d9f6;border-radius:7px;background:#eaf1ff;color:#2458c4;font-size:14px;font-weight:700}.formula-choice-row input{flex:1 1;min-width:0}.formula-question-check{display:flex;align-items:center;gap:9px;font-size:13px;color:#31455e;cursor:pointer}.formula-question-check input{width:17px;height:17px;accent-color:var(--blue)}.formula-rich-text-field{display:flex;flex-direction:column;gap:8px;margin-bottom:22px}.formula-rich-text-frame{overflow:hidden;border:1px solid #d7deea;border-radius:8px;background:#fff}.formula-rich-text-frame:focus-within{border-color:#6697ed;box-shadow:0 0 0 3px #dceaff}.formula-rich-text-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:7px;border-bottom:1px solid #e5eaf2;background:#f8faff}.formula-rich-text-toolbar>button,.formula-rich-text-upload{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border:0;border-radius:5px;background:transparent;color:#415574;padding:6px 9px;font-size:13px}.formula-rich-text-toolbar>button{width:35px}.formula-rich-text-toolbar>button:hover:not(:disabled),.formula-rich-text-upload:hover{background:#e8effe;color:#2457c6}.formula-rich-text-upload{position:relative;margin-left:4px;color:#2457c6;cursor:pointer}.formula-rich-text-upload:has(input:focus-visible){outline:3px solid #9db9ff;outline-offset:2px}.formula-rich-text-upload input{position:absolute;inset:0;width:100%;height:100%;min-height:0;opacity:0;cursor:pointer}.formula-rich-text-upload:has(input:disabled){opacity:.5;cursor:not-allowed}.formula-rich-text-content{min-height:150px;padding:12px 14px;outline:none;font-size:14px;line-height:1.75;overflow-wrap:anywhere}.formula-rich-text-content p{margin:0 0 10px}.formula-rich-text-content p:last-child{margin-bottom:0}.formula-rich-text-content ol,.formula-rich-text-content ul{margin:0 0 10px;padding-left:24px}.formula-rich-text-content img{display:block;max-width:100%;height:auto;margin:10px 0;border-radius:6px}.formula-rich-text-content img.ProseMirror-selectednode{outline:3px solid #6a9bfa}.formula-rich-text-content[contenteditable=false]{background:#f6f8fc}.formula-drawer{width:min(600px,100vw)}@media(min-width:1400px){body:has(.formula-drawer[open]) .workspace{margin-right:600px}}@media(min-width:701px){.formula-info+.table-panel{max-height:calc(100dvh - 280px)}}@media(max-width:700px){.formula-info{font-size:12px}.formula-toolbar{flex-wrap:wrap}.formula-toolbar .search-input{min-width:100%}.formula-toolbar select{flex:1 1}.formula-editor-grid{gap:10px}.formula-question-heading{align-items:stretch;flex-direction:column}.formula-question-heading .button{align-self:flex-start}.formula-question-grid{grid-template-columns:1fr 1fr}.formula-question-grid .field:nth-child(2){grid-column:1/-1;grid-row:1}.formula-question-card{padding:14px}}.shenlun-drawer{--drawer:640px}.shenlun-fields{border:0;min-width:0;margin:0}.shenlun-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.shenlun-section{margin:8px 0 24px}.shenlun-section h3{font-size:16px;margin:0 0 10px}.shenlun-block{border:1px solid #e1e8f4;background:#fbfcff;border-radius:8px;padding:16px;margin:12px 0}.shenlun-block .field{margin-bottom:14px}.shenlun-block-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.shenlun-block-actions label{display:flex;align-items:center;gap:8px}.shenlun-block-actions input{min-height:0;width:16px;height:16px}.shenlun-table{min-width:970px;font-size:15px}.shenlun-table th{position:sticky;top:0;z-index:1;padding:13px 16px;background:#f5f7fc}.shenlun-table td{padding:16px;white-space:nowrap}.shenlun-table tbody tr:nth-child(2n){background:#f9fbff}.shenlun-table tbody tr:hover{background:#eef5ff}.shenlun-title strong{display:block;max-width:360px;overflow:hidden;text-overflow:ellipsis}.shenlun-table .row-actions{gap:18px}@media(max-width:700px){.shenlun-drawer{width:100vw}.shenlun-grid{grid-template-columns:1fr;gap:0}}.quote-audio-field{padding:18px;border:1px solid var(--border);border-radius:10px;background:#f8faff}.quote-audio-hint,.quote-audio-status{font-size:13px;line-height:1.7;color:var(--muted);margin:8px 0;overflow-wrap:anywhere}.quote-audio-input{display:flex;flex-direction:column;gap:8px;margin:14px 0;font-size:14px;font-weight:600}.quote-audio-input input{width:100%;max-width:100%;font-weight:400}.quote-audio-field audio{display:block;width:100%;margin:12px 0}.quote-audio-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:10px}.quote-audio-error{margin-top:10px;color:var(--danger);font-size:13px}.quote-rich-text-content{min-height:300px;max-height:480px;overflow-y:auto;font-size:15px;line-height:1.85}.quote-rich-text-content h2{font-size:20px;margin:18px 0 10px}.quote-rich-text-content h3{font-size:17px;margin:16px 0 8px}.quote-rich-text-content blockquote{margin:12px 0;padding-left:14px;border-left:3px solid #c7d9ff;color:#526580}.quote-rich-text-field .formula-rich-text-toolbar select{min-height:34px;width:auto;padding:4px 8px;font-size:13px}.formula-rich-text-toolbar>.quote-omission-button{width:auto;margin-left:auto}