:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#1f1f1d;background:#f4f3ef;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{min-width:1100px;min-height:100%;margin:0}body{min-height:100vh;background:#f4f3ef}button,input,textarea{letter-spacing:0}.admin-shell{min-height:100vh}.admin-sidebar.ant-layout-sider{position:fixed;inset:0 auto 0 0;z-index:10;background:#1d211e;border-right:1px solid #313631}.admin-sidebar+.ant-layout{margin-left:232px}.admin-brand{height:92px;display:flex;align-items:center;gap:12px;padding:0 24px;color:#fff;border-bottom:1px solid #353a35}.brand-mark{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;border:1px solid #b99a5a;border-radius:50%;color:#d9bd78;font-family:STSong,Songti SC,serif;font-size:19px}.admin-brand div{display:flex;flex-direction:column;gap:3px}.admin-brand strong{font-size:18px;font-weight:650}.admin-brand span:last-child{color:#9fa59f;font-size:12px}.admin-menu.ant-menu{padding:18px 12px;background:transparent}.admin-menu.ant-menu-dark .ant-menu-item{height:44px;margin:5px 0;color:#bfc4bf;border-radius:5px}.admin-menu.ant-menu-dark .ant-menu-item-selected{color:#f0db9e;background:#34352e}.sidebar-foot{position:absolute;right:24px;bottom:24px;left:24px;display:flex;justify-content:space-between;padding-top:16px;color:#858b85;border-top:1px solid #353a35;font-size:12px}.sidebar-foot strong{color:#b99a5a;font-weight:500}.admin-header.ant-layout-header{height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fff;border-bottom:1px solid #ddd9d0;line-height:normal}.admin-header h1{margin:5px 0 0;font-size:24px;font-weight:650}.header-eyebrow{color:#9a7631;font-size:10px;font-weight:700;text-transform:uppercase}.admin-content{min-height:calc(100vh - 92px);padding:30px 38px 48px;background:#f4f3ef}.page-stack{display:flex;flex-direction:column;gap:20px;max-width:1540px;margin:0 auto}.page-actions{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.page-actions h2,.section-heading h3{margin:0;color:#1f1f1d;font-weight:650}.page-actions h2{font-size:20px}.page-actions p,.section-heading p,.login-heading p{margin:6px 0 0;color:#77746d;font-size:13px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #dcd8cf;background:#fff}.metric-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.analytics-section{display:flex;flex-direction:column;gap:10px}.analytics-section h3{margin:0;color:#4b4943;font-size:13px;font-weight:650}.metric-panel{min-height:152px;display:flex;flex-direction:column;justify-content:center;padding:24px 28px;border-right:1px solid #e4e1da}.metric-panel:last-child{border-right:0}.metric-panel>span{color:#6f6c65;font-size:13px}.metric-panel strong{margin:8px 0 4px;font-family:Georgia,Times New Roman,serif;font-size:42px;font-weight:500;line-height:1}.token-metric strong{font-size:34px}.cost-metric strong{font-size:30px}.metric-panel small{color:#a09d96;font-size:12px}.agent-operations-page{gap:24px}.agent-filter-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px}.agent-filter-copy{display:flex;min-width:240px;align-items:center;gap:12px;color:#8f6d2d}.agent-filter-copy>.anticon{font-size:24px}.agent-filter-copy>div{display:flex;flex-direction:column;gap:3px}.agent-filter-copy strong{color:#2f2e2a;font-size:13px}.agent-filter-copy span,.agent-result-count{color:#85827b;font-size:12px}.agent-filter-controls{display:grid;grid-template-columns:minmax(220px,1fr) 120px 250px auto auto;gap:9px;width:min(860px,100%)}.agent-metric-grid .metric-panel{min-height:134px}.agent-metric-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.agent-metric-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.agent-money-metric strong{color:#2f2c27;font-size:32px}.agent-money-metric.is-pending strong,.agent-commission{color:#8a651f}.agent-table-panel{padding:22px 24px 24px}.agent-table-panel .section-heading{margin-bottom:18px}.agent-table-panel .table-surface{border-radius:4px}.agent-table-panel .ant-table-tbody>tr{cursor:pointer}.agent-table-panel .ant-table-tbody>tr.agent-row-selected>td{background:#f7f1e3!important}.agent-table-panel .ant-table-tbody>tr.agent-row-selected>td:first-child{box-shadow:inset 3px 0 #9a7631}.agent-money,.agent-commission{font-variant-numeric:tabular-nums;white-space:nowrap}.agent-customer-panel{scroll-margin-top:20px}.agent-customer-heading{align-items:center}.agent-customer-heading .ant-input-affix-wrapper{width:220px}.agent-customer-heading .ant-select{width:138px}@media(max-width:1120px){.agent-filter-panel{align-items:stretch;flex-direction:column}.agent-filter-controls{width:100%}}@media(max-width:820px){.agent-filter-controls{grid-template-columns:1fr 1fr}.agent-filter-controls .ant-picker{grid-column:1 / -1}.agent-metric-grid-4,.agent-metric-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-metric-grid-4 .metric-panel:nth-child(2),.agent-metric-grid-3 .metric-panel:nth-child(2){border-right:0}.agent-metric-grid-4 .metric-panel:nth-child(-n+2),.agent-metric-grid-3 .metric-panel:nth-child(-n+2){border-bottom:1px solid #e4e1da}.agent-metric-grid-3 .metric-panel:last-child{border-right:1px solid #e4e1da}.agent-table-panel{padding:18px 16px}}@media(max-width:560px){.agent-filter-controls,.agent-metric-grid-4,.agent-metric-grid-3{grid-template-columns:1fr}.agent-filter-controls .ant-picker{grid-column:auto}.agent-metric-grid .metric-panel{border-right:0!important;border-bottom:1px solid #e4e1da}.agent-metric-grid .metric-panel:last-child{border-bottom:0}}.surface-panel,.table-surface{border:1px solid #dcd8cf;border-radius:6px;background:#fff}.section-heading h3{font-size:17px}.table-surface{overflow:hidden}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:16px}.section-heading h3{margin-bottom:4px}.section-heading p{margin:0;color:#77746d;font-size:13px}.behavior-toolbar{display:flex;align-items:center;gap:10px}.behavior-range-status{display:flex;align-items:baseline;gap:12px;padding:12px 16px;border:1px solid #e2ded4;background:#faf9f6;color:#77746d;font-size:13px}.behavior-range-status strong{color:#2f2e2a;font-weight:600}.behavior-range-status p{margin:0 0 0 auto;color:#765b25}.behavior-range-status.is-empty{border-color:#ddcfac;background:#fbf7ed}.behavior-summary-grid .metric-panel{min-height:132px}.behavior-funnel-panel,.behavior-table-panel{padding:22px 24px}.behavior-funnel{position:relative;display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));overflow-x:auto;border:1px solid #e2ded4;background:#faf9f6}.behavior-funnel-step{position:relative;min-height:154px;padding:22px 20px 18px;border-right:1px solid #e2ded4}.behavior-funnel-step:last-child{border-right:0}.behavior-funnel-step>span{color:#a68139;font-family:Georgia,Times New Roman,serif;font-size:12px}.behavior-funnel-step>strong{display:block;margin-top:12px;font-family:Georgia,Times New Roman,serif;font-size:30px;font-weight:500}.behavior-funnel-step p{margin:4px 0 12px;color:#514f49;font-size:13px}.behavior-funnel-step small{display:inline-flex;padding:3px 7px;color:#765b25;background:#eee5cf;font-size:11px}.behavior-outcome-section{margin-top:26px;padding-top:24px;border-top:1px solid #e2ded4}.behavior-outcome-section .section-heading{margin-bottom:14px}.behavior-outcome-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e2ded4;background:#faf9f6}.behavior-outcome-card{min-height:126px;display:flex;flex-direction:column;justify-content:center;padding:20px 22px;border-right:1px solid #e2ded4}.behavior-outcome-card:last-child{border-right:0}.behavior-outcome-card>span,.behavior-outcome-card small{color:#77746d;font-size:12px}.behavior-outcome-card strong{margin:8px 0 5px;color:#2f2e2a;font-family:Georgia,Times New Roman,serif;font-size:32px;font-weight:500;line-height:1}.behavior-outcome-card.is-success strong{color:#416a4b}.behavior-outcome-card.is-warning strong{color:#9a6d20}.behavior-outcome-card.is-danger strong{color:#9a4c43}.behavior-page-name{display:flex;flex-direction:column;gap:2px}.behavior-page-name strong{font-weight:600}.behavior-page-name span{color:#99958c;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px}.behavior-table-panel .section-heading{margin-bottom:18px}@media(max-width:820px){.section-heading{align-items:stretch;flex-direction:column}.behavior-range-status{align-items:flex-start;flex-direction:column;gap:4px}.behavior-range-status p{margin-left:0}.behavior-outcome-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.behavior-outcome-card:nth-child(2){border-right:0}.behavior-outcome-card:nth-child(-n+2){border-bottom:1px solid #e2ded4}}.book-summary{min-height:72px;display:flex;flex-wrap:wrap;align-items:center;gap:38px;padding:14px 22px;background:#fff;border:1px solid #dcd8cf;border-radius:6px}.book-summary>div{display:flex;align-items:baseline;gap:9px}.book-summary span,.book-summary small{color:#77746d;font-size:12px}.book-summary strong{font-family:Georgia,Times New Roman,serif;font-size:25px;font-weight:500}.user-view-switch{display:flex;align-items:center;justify-content:space-between;gap:20px}.user-view-switch>span{color:#85827b;font-size:12px}.book-list-cell{display:flex;min-width:0;flex-direction:column;gap:5px}.book-list-cell span{overflow:hidden;color:#3d3a34;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.cover-snapshot-list{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.cover-snapshot-list .ant-image{display:block;width:82px;height:122px;overflow:hidden;background:#f2efe8;border:1px solid #dfdbd2;border-radius:5px}.cover-snapshot-image{width:100%;height:100%;object-fit:cover}.cover-snapshot-loading,.cover-snapshot-error{display:flex;width:82px;height:122px;align-items:center;justify-content:center;background:#f5f3ee;border:1px solid #e3dfd7;border-radius:5px;color:#918d84;font-size:12px}.cover-snapshot-error{color:#b06c64;cursor:pointer}.cover-snapshot-error:hover,.cover-snapshot-error:focus-visible{color:#944f48!important;background:#f8ece9!important}.table-surface .ant-table-wrapper,.table-surface .ant-table{background:transparent}.table-surface .ant-table-thead>tr>th{height:48px;color:#716e67;background:#faf9f6;border-bottom-color:#dedbd3;font-size:12px;font-weight:600}.table-surface .ant-table-tbody>tr>td{padding-top:17px;padding-bottom:17px;border-bottom-color:#ebe8e1}.table-surface .ant-pagination{margin-right:20px}.nested-table{margin:2px 16px 12px 40px;border:1px solid #e4e1da}.nested-table .ant-table-thead>tr>th{background:#f7f6f2}.primary-cell,.order-items{display:flex;flex-direction:column;gap:4px}.primary-cell strong{overflow:hidden;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.actual-cost{color:#7e5b18;font-variant-numeric:tabular-nums}.usage-cell{min-width:0}.usage-cell strong,.usage-cell span{font-variant-numeric:tabular-nums}.book-input-stats{display:flex;flex-direction:column;gap:5px;color:#65615a;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.book-input-stats strong{color:#2f2c27;font-size:13px;font-weight:600}.book-input-stats i{margin:0 7px;color:#b7b1a7;font-style:normal}.primary-cell span,.order-items span,.muted{color:#85827b;font-size:12px}.order-created-at{color:#8b877f;font-size:12px;font-weight:400;white-space:nowrap}.order-purchase-summary{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.order-total{display:flex;align-items:baseline;gap:7px}.order-total span{color:#77746d;font-size:11px}.order-total strong{color:#2f2c27;font-family:Georgia,Times New Roman,serif;font-size:18px;font-weight:600}.order-address,.order-shipping{display:flex;min-width:0;flex-direction:column;gap:5px}.order-address>div{display:flex;align-items:baseline;gap:10px}.order-address strong,.order-shipping strong{color:#3d3a34;font-size:12px;font-weight:600}.order-address>div span,.order-shipping span{color:#77746d;font-size:11px}.order-address p{display:-webkit-box;overflow:hidden;margin:0;color:#77746d;font-size:12px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.book-download-list{display:flex;min-width:270px;flex-direction:column;gap:8px}.book-download-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.book-download-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.book-download-copy strong{overflow:hidden;color:#3d3a34;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.book-download-copy>span{color:#85827b;font-size:11px}.book-file-status{margin-left:8px;color:#9a7631;font-style:normal}.book-file-status.ready{color:#4f7657}.book-file-status.failed{color:#b0443b}.book-download-row .ant-btn{flex:none}.book-download-all-wrap{display:block;padding-top:5px;border-top:1px solid #ebe8e1}.book-download-all-wrap .ant-btn-link{height:26px;padding:0;color:#8b6b2e;font-size:12px}.modal-note{margin:18px 0 0;color:#6f6c65;line-height:1.7}.import-warning{margin-bottom:16px}.import-target{display:grid;grid-template-columns:1fr 1fr;gap:1px;overflow:hidden;margin:0 0 16px;padding:1px;border-radius:8px;background:#e4e1da}.import-target>div{padding:10px 12px;background:#faf9f6}.import-target .import-target-book{grid-column:1 / -1}.import-target dt{margin-bottom:4px;color:#85827b;font-size:12px}.import-target dd{margin:0;color:#292721;font-weight:600}.import-confirmation{margin-top:18px}.import-confirmation p{margin:0 0 8px;color:#4f4c45;line-height:1.6}.import-confirmation code{margin:0 5px;padding:2px 5px;border-radius:4px;background:#f4eee2;color:#8a4f00}.prompt-meta{padding:22px 26px}.prompt-panel{padding:22px}.prompt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.prompt-toolbar-actions{display:flex;gap:8px;flex-shrink:0}.genbook-prompt-config{display:grid;gap:16px}.genbook-prompt-config-embedded .surface-panel{background:#fbfaf7;box-shadow:none}.genbook-config-section .genbook-prompt-config{margin-top:18px}.genbook-stage-summary{display:grid;gap:6px;margin:0 20px 16px;color:#6f6b62;font-size:12px}.prompt-toolbar h3{margin:0;color:#2f2c27;font-size:16px}.prompt-toolbar p{margin:5px 0 0;color:#89857d;font-size:11px}.prompt-textarea.ant-input{padding:18px;color:#2b2b29;background:#f8f7f3;border-color:#dedbd3;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.75}.text-chat-lab{padding:26px}.text-chat-lab-heading{align-items:center}.text-chat-current-model{min-width:210px;display:flex;align-items:flex-end;flex-direction:column;gap:7px}.text-chat-current-model small{color:#817e76;font-size:11px}.text-chat-current-model .ant-tag{margin:0}.text-chat-scope-alert{margin-bottom:20px}.text-chat-setup{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.55fr);gap:16px;padding:20px;background:#faf9f6;border:1px solid #e2ded6;border-radius:6px}.text-chat-field{min-width:0;display:flex;flex-direction:column;gap:8px}.text-chat-field-wide{grid-row:span 3}.text-chat-field label{color:#302d28;font-size:13px;font-weight:650}.text-chat-field small,.text-chat-start-action>span{color:#8b877f;font-size:11px;line-height:1.6}.text-chat-start-action{display:flex;align-items:center;justify-content:space-between;gap:12px;align-self:end}.text-chat-start-action .ant-btn{flex:none}.text-chat-composer{position:sticky;z-index:3;top:12px;display:grid;gap:12px;margin:22px 0 16px;padding:18px 20px;background:#faf8f2f5;border:1px solid #cfc5af;border-left:4px solid #9a7631;box-shadow:0 10px 30px #2f281c14;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.text-chat-composer>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.text-chat-composer strong{font-size:14px}.text-chat-composer span{color:#7d786e;font-size:11px}.text-chat-composer-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}.text-chat-composer-row .ant-btn{min-width:118px}.text-chat-model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.text-chat-model-card{min-height:510px}.text-chat-transcript{height:330px;display:flex;flex-direction:column;gap:11px;overflow-y:auto;padding:18px;background:#fdfcf9;scrollbar-color:#cfc9bd transparent;scrollbar-width:thin}.text-chat-message{max-width:88%;display:flex;flex-direction:column;gap:4px}.text-chat-message.user{align-self:flex-end;align-items:flex-end}.text-chat-message small{color:#8a867d;font-size:10px}.text-chat-message p{margin:0;padding:10px 12px;color:#34312c;background:#fff;border:1px solid #ded9cf;border-radius:4px 12px 12px;font-size:13px;line-height:1.7;white-space:pre-wrap}.text-chat-message.user p{color:#fffdf8;background:#806126;border-color:#806126;border-radius:12px 4px 12px 12px}.text-chat-thinking{display:flex;align-items:center;gap:8px;color:#7b776e;font-size:11px}.text-chat-thinking span{width:7px;height:7px;border-radius:50%;background:var(--model-color);animation:text-chat-pulse 1.1s ease-in-out infinite}@keyframes text-chat-pulse{50%{opacity:.25;transform:scale(.75)}}.text-chat-evaluation{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:auto;padding:12px 16px;background:#faf9f6;border-top:1px solid #e5e1d8}.text-chat-evaluation>div{display:flex;flex-direction:column;gap:3px}.text-chat-evaluation span{color:#858179;font-size:10px}.text-chat-evaluation .ant-rate{color:#a77b2f;font-size:16px}.text-chat-empty{margin:24px 0 0;padding:48px 20px;background:#fbfaf7;border:1px dashed #d8d3c9}@media(prefers-reduced-motion:reduce){.text-chat-thinking span{animation:none}}@media(max-width:980px){.text-chat-setup,.text-chat-model-grid{grid-template-columns:1fr}.text-chat-field-wide{grid-row:auto}.text-chat-composer{position:static}}@media(max-width:680px){.text-chat-lab{padding:18px}.text-chat-lab-heading,.text-chat-composer>div:first-child,.text-chat-start-action,.text-chat-evaluation{align-items:stretch;flex-direction:column}.text-chat-current-model{align-items:flex-start}.text-chat-composer-row{grid-template-columns:1fr}.text-chat-composer-row .ant-btn,.text-chat-start-action .ant-btn{width:100%}}.model-pdf-rules.ant-input{background:#fbfaf6;border-color:#d9d2c2;font-family:Songti SC,STSong,"Noto Serif CJK SC",serif;line-height:1.9}.model-lab-page{gap:22px}.model-lab-heading{align-items:center}.model-lab-tabs{padding:0 20px;background:#fff;border:1px solid #dedbd3;border-radius:6px}.model-lab-tabs .ant-tabs-nav{margin:0}.model-lab-tabs .ant-tabs-tab{min-width:148px;justify-content:center;padding:16px 8px;font-weight:550}.lab-mode-toolbar{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 22px;background:#f8f7f3;border:1px solid #e1ddd5;border-radius:6px}.lab-mode-toolbar>div:first-child{min-width:0;display:flex;flex-direction:column;gap:4px}.lab-mode-toolbar strong{color:#302d28;font-size:15px}.lab-mode-toolbar>div:first-child span{color:#817e76;font-size:11px}.lab-run-summary{display:flex;align-items:center;gap:16px;color:#77746d;font-size:12px}.lab-run-summary .ant-btn{min-width:152px}.lab-section{padding:26px}.lab-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.lab-section-title span{color:#9a7631;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:10px;font-weight:700;letter-spacing:.08em}.lab-section-title h3{margin:4px 0 0;font-size:18px;font-weight:650}.lab-section-title p{margin:5px 0 0;color:#817e76;font-size:12px}.material-stats{display:flex;align-items:baseline;gap:7px;color:#8b877f;font-size:12px}.material-stats b{margin-left:9px;color:#302d28;font-family:Georgia,Times New Roman,serif;font-size:21px;font-weight:500}.model-material-uploader.ant-upload-wrapper,.model-material-uploader .ant-upload-drag{height:100%}.model-material-uploader .ant-upload-drag{min-height:220px;background:#faf9f6;border-color:#d4d0c7}.model-material-uploader .ant-upload-drag:hover{border-color:#9a7631}.model-material-uploader .ant-upload-drag-icon .anticon{color:#9a7631}.model-book-prompt.ant-input{width:100%}.material-file-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.material-file-list>div{min-width:0;display:flex;align-items:center;gap:10px;padding:10px 10px 10px 12px;background:#f7f6f2;border:1px solid #e2ded6;border-radius:5px}.material-file-list>div>span{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;color:#6c675c;background:#fff;border:1px solid #ddd8cd;border-radius:4px}.material-file-list>div>span.audio{color:#8c5d55}.material-file-list>div>span.photo{color:#55785f}.material-file-list>div>div{min-width:0;display:flex;flex:1;flex-direction:column}.material-file-list b{overflow:hidden;font-size:12px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.material-file-list small,.material-footnote{color:#918e87;font-size:10px}.material-footnote{margin-top:12px}.material-file-list-rich{grid-template-columns:repeat(2,minmax(0,1fr))}.material-file-list-rich>div{align-items:flex-start;padding:12px}.material-file-content{gap:9px}.material-file-heading,.material-file-heading>div{min-width:0;display:flex}.material-file-heading{align-items:flex-start;justify-content:space-between;gap:8px}.material-file-heading>div{flex:1;flex-direction:column}.material-file-heading .ant-btn{margin:-6px -6px 0 0}.material-file-fields{display:grid;grid-template-columns:minmax(126px,.7fr) minmax(180px,1.3fr);gap:8px}.material-file-fields .ant-select{width:100%}.outline-brief-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.outline-form-field{min-width:0;display:flex;flex-direction:column;gap:12px;padding:18px;background:#faf9f6;border:1px solid #e3dfd7;border-radius:6px}.outline-form-field-wide{grid-column:1 / -1}.outline-form-field>label{color:#302d28;font-size:14px;font-weight:600}.book-brief-form .outline-form-field{min-height:100%}.outline-option-group{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.writing-style-option-group{grid-template-columns:repeat(6,minmax(0,1fr))}.writing-style-description{color:#817e76;font-size:11px;line-height:1.6}.outline-option-group .ant-radio-button-wrapper{height:36px;padding:0 8px;overflow:hidden;border:1px solid #d9d5cc!important;border-radius:4px!important;line-height:34px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.outline-option-group .ant-radio-button-wrapper:before{display:none}.outline-option-group .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){color:#6e521d;background:#f2e8cf;border-color:#b79753!important;box-shadow:none}.outline-comparison-card{min-height:520px}.outline-result-preview,.outline-result-raw{max-height:286px;flex:1;overflow:hidden;padding:18px 20px;color:#37342f;background:linear-gradient(#fff 84%,#fff0);font-size:12px;line-height:1.75;white-space:pre-wrap}.outline-result-preview section+section{margin-top:14px}.outline-result-preview b,.outline-result-full b{color:#6f5420;font-size:13px}.outline-result-preview ol,.outline-result-full ol{margin:7px 0 0;padding-left:22px}.outline-result-preview li+li,.outline-result-full li+li{margin-top:5px}.outline-result-full{min-height:70vh;margin-top:16px;padding:34px 40px;color:#302d28;background:#fdfcf8;border:1px solid #ded9cd;box-shadow:0 16px 50px #2f281c14;font-family:Songti SC,STSong,serif;font-size:15px;line-height:1.9}.outline-result-full section+section{margin-top:28px;padding-top:24px;border-top:1px solid #ebe4d5}.comparison-card header i{width:8px;height:8px;border-radius:50%;background:var(--model-color)}.lab-results-section{padding-top:5px}.comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.comparison-card{min-height:410px;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dcd8cf;border-radius:6px}.comparison-card.recommended{border-color:#c3a561;box-shadow:0 8px 28px #6d531f17}.comparison-card>header{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px;background:#faf9f6;border-bottom:1px solid #e5e1d8}.comparison-card>header>div,.comparison-card>header>div>div{min-width:0;display:flex;align-items:center;gap:10px}.comparison-card>header>div>div{align-items:flex-start;flex-direction:column;gap:1px}.comparison-card header b{font-size:14px}.comparison-card header span{max-width:320px;overflow:hidden;color:#858179;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.comparison-loading,.comparison-card>.ant-empty,.comparison-card>.ant-alert{margin:auto 24px}.comparison-loading{width:calc(100% - 48px);text-align:center}.comparison-loading p{color:#817e76;font-size:12px}.result-metrics{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #ebe7df}.result-metrics span{display:flex;align-items:baseline;justify-content:center;gap:4px;padding:12px;color:#8b877f;border-right:1px solid #ebe7df;font-size:10px}.result-metrics span:last-child{border-right:0}.result-metrics b{color:#35312b;font-family:Georgia,Times New Roman,serif;font-size:17px;font-weight:500}.result-excerpt{max-height:230px;flex:1;overflow:hidden;padding:20px 22px;color:#37342f;background:linear-gradient(#fff 80%,#fff0);font-family:Songti SC,STSong,serif;font-size:13px;line-height:1.9;white-space:pre-wrap}.result-review{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-top:1px solid #ebe7df}.result-review>div{display:flex;align-items:center;gap:8px;color:#77746d;font-size:10px}.result-review .ant-rate{font-size:15px}.book-preview-meta{display:flex;gap:24px;padding:14px 18px;color:#77746d;background:#f7f6f2;border:1px solid #dfdbd2;font-size:11px}.book-preview-paper{min-height:70vh;margin-top:16px;padding:54px 64px;color:#282620;background:#fdfcf8;border:1px solid #ded9cd;box-shadow:0 16px 50px #2f281c14;font-family:Songti SC,STSong,serif;font-size:16px;line-height:2;white-space:pre-wrap}@media(max-width:1350px){.material-file-list,.outline-option-group{grid-template-columns:repeat(2,minmax(0,1fr))}.writing-style-option-group{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.outline-brief-form,.material-file-list-rich{grid-template-columns:1fr}.outline-form-field-wide{grid-column:auto}.material-file-fields{grid-template-columns:1fr}}.drawer-stack{display:flex;flex-direction:column;gap:24px}.drawer-progress{padding:18px;background:#f7f6f2;border:1px solid #e0ddd5;border-radius:5px}.drawer-progress>span{display:block;margin-bottom:10px;color:#5f5c56;font-size:13px}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(420px,.9fr) minmax(520px,1.1fr);background:#fff}.login-intro{display:flex;flex-direction:column;justify-content:space-between;padding:48px 56px;color:#fff;background:#1d211e}.login-brand{display:flex;align-items:center;gap:12px;font-size:20px}.login-intro h1{max-width:520px;margin:18px 0;font-family:STSong,Songti SC,serif;font-size:48px;font-weight:500;line-height:1.38}.login-intro p,.login-intro small{color:#aeb4ae}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:48px;background:#f7f6f2}.login-form-panel{width:420px;padding:34px;background:#fff;border:1px solid #dcd8cf;border-radius:6px}.login-heading{margin-bottom:28px}.login-heading h2{margin:0;font-size:24px}.login-form-panel .ant-btn-primary{height:46px;margin-top:6px}.redeem-code-page{gap:22px}.redeem-type-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid #dcd8cf;border-radius:6px;background:#fff}.redeem-type-guide-item{min-height:104px;display:flex;align-items:center;gap:16px;padding:22px 26px;border-right:1px solid #e4e1da}.redeem-type-guide-item:last-child{border-right:0}.redeem-type-guide-item>.anticon{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;color:#436c8f;border-radius:50%;background:#edf4fa;font-size:20px}.redeem-type-guide-item.is-purchase>.anticon{color:#8a651f;background:#f8f1df}.redeem-type-guide-item>div{display:flex;flex-direction:column;gap:6px}.redeem-type-guide-item strong{color:#2f2e2a;font-size:15px}.redeem-type-guide-item span{color:#77746d;font-size:13px}.redeem-filter-panel{display:grid;grid-template-columns:minmax(260px,1fr) 150px 150px auto auto;gap:10px;padding:18px 20px}.redeem-table-panel{padding:22px 24px 8px;overflow:hidden}.redeem-table-heading{align-items:center}.redeem-code-value{color:#2d2d29;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:14px;letter-spacing:.06em;font-variant-numeric:tabular-nums}.redeem-type-radio{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.redeem-type-radio .ant-radio-button-wrapper{height:auto;display:flex;flex-direction:column;gap:5px;padding:15px 16px;border:1px solid #d9d6ce!important;border-radius:5px!important;line-height:1.45}.redeem-type-radio .ant-radio-button-wrapper:before{display:none}.redeem-type-radio .ant-radio-button-wrapper-checked{border-color:#9a7631!important;box-shadow:inset 0 0 0 1px #9a7631}.redeem-type-radio strong{color:#2f2e2a;font-size:14px}.redeem-type-radio span{color:#77746d;font-size:12px;white-space:normal}.redeem-generate-grid{display:grid;grid-template-columns:148px minmax(0,1fr);gap:12px}.redeem-generate-grid .ant-input-number{width:100%}.generated-code-result{display:flex;flex-direction:column;gap:16px}.generated-code-summary{display:flex;align-items:center;gap:8px;color:#65615a;font-size:13px}.generated-code-list{max-height:360px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow-y:auto;padding:12px;border:1px solid #dfdcd4;border-radius:5px;background:#f8f7f3}.generated-code-list button{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;color:#36342f;border:1px solid #e1ded6;border-radius:4px;background:#fff;cursor:pointer}.generated-code-list button:hover,.generated-code-list button:focus-visible{color:#8a651f;border-color:#b99a5a;outline:none}.generated-code-list button span:first-child{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px;letter-spacing:.06em}@media(max-width:1250px){.admin-content,.admin-header.ant-layout-header{padding-right:24px;padding-left:24px}.outline-brief-form{grid-template-columns:1fr}.outline-form-field-wide{grid-column:auto}.redeem-filter-panel{grid-template-columns:minmax(220px,1fr) 140px 140px auto auto}}
