*{box-sizing:border-box}body{margin:0;background:#f3f5f3;color:#25362f}.full-width{width:100%}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.page-content:has(>.bounded-page){overflow:hidden;display:flex;flex-direction:column;max-width:none;width:100%}.bounded-page{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden}.bounded-page>:not(.bounded-table){flex-shrink:0}.bounded-table{flex:1;min-height:180px;min-width:0;overflow:hidden;display:flex;flex-direction:column}.bounded-table-area{flex:1;min-height:0;overflow:hidden}.bounded-table>.ant-pagination{flex-shrink:0;align-self:flex-end;margin:12px 0 0}.bounded-table .ant-table-wrapper{height:100%}.bounded-table .ant-pagination{flex-wrap:wrap}.bounded-table .ant-table-cell{max-width:560px;overflow-wrap:anywhere}.bounded-page .toolbar{flex-wrap:wrap}.local-records{height:min(60vh,650px);min-height:260px;display:flex;flex-direction:column}@media(max-height:600px){.bounded-page>.page-header{margin-bottom:8px}.page-content:has(>.bounded-page){padding:12px 18px;overflow:auto}}.workspace{height:100dvh;overflow:hidden}.workspace>.ant-layout{height:100dvh;min-width:0;overflow:hidden}.sidebar{height:100dvh;position:sticky!important;top:0;flex-shrink:0;overflow:hidden}.sidebar .ant-layout-sider-children{height:calc(100dvh - 48px);overflow-y:auto}.sidebar-brand{height:105px;display:flex;align-items:center;justify-content:center;gap:12px;color:#f4f7ed;font-size:23px;font-weight:600;letter-spacing:2px}.sidebar-brand>.anticon{font-size:31px;color:#b7d4ae}.sidebar-brand span:not(.anticon){display:block;font-size:9px;font-weight:400;letter-spacing:1.6px;margin-top:7px;color:#adc8b9}.sidebar .ant-menu{padding:0 8px}.sidebar .ant-menu-item{margin-bottom:8px;font-size:13px}.sidebar .ant-menu-item-divider{border-color:#375248;margin:24px 12px}.sidebar-caption{margin:60px 27px;font-size:12px;line-height:2;color:#85a295}.app-header{flex-shrink:0;height:72px;padding:0 34px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e1e8e2}.page-content{padding:32px 36px;max-width:1660px;width:100%;margin:0 auto;min-height:0;overflow:auto;flex:1}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.page-header h2{font-size:25px;margin:0 0 8px}.page-header .ant-typography-secondary{margin-bottom:0;max-width:900px}.app-footer{flex-shrink:0;text-align:center;color:#87938a;padding:15px;font-size:12px}.page-content:has(.task-detail-frozen){overflow:hidden;display:flex;flex-direction:column;padding-top:18px;padding-bottom:12px}.task-detail-frozen{display:flex;flex-direction:column;flex:1;min-height:0}.task-detail-frozen>.page-header{margin-bottom:12px;flex-shrink:0}.task-detail-frozen>.ant-alert,.task-detail-frozen>.ant-steps{flex-shrink:0}.task-detail-frozen>.ant-tabs{flex:1;min-height:0}.task-detail-frozen>.ant-tabs>.ant-tabs-nav{flex-shrink:0}.task-detail-frozen .ant-tabs-content-holder{min-height:0}.task-detail-frozen .ant-tabs-content,.task-detail-frozen .ant-tabs-tabpane-active{height:100%}.task-detail-frozen .generation-workspace{height:100%;min-height:0;align-items:stretch;grid-template-rows:minmax(0,1fr)}.generation-workspace .task-inputs{min-height:0;display:flex;flex-direction:column}.generation-workspace .task-inputs>.ant-card-head{flex-shrink:0}.generation-workspace .task-inputs>.ant-card-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}.draft-column{min-width:0;min-height:0;display:flex;flex-direction:column;gap:12px}.draft-card{min-height:0;flex:1;display:flex;flex-direction:column}.draft-card>.ant-card-head{flex-shrink:0}.draft-card>.ant-card-body{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}.draft-actions{flex-shrink:0;background:#fff;border:1px solid #e1e8e2;border-radius:8px;padding:12px}.draft-actions>.ant-card{border:0}.draft-actions>.ant-card>.ant-card-body{padding:8px 0 0}.draft-actions .ant-typography{font-size:12px}.generation-issues-collapse{margin:12px 0}.chooser-body{height:min(650px,calc(85dvh - 130px));display:flex;flex-direction:column;gap:12px;min-height:0}.chooser-results{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.chooser-selected{max-height:100px;overflow-y:auto;flex-shrink:0}.chooser-pagination{flex-shrink:0;display:flex;justify-content:flex-end}@media(max-width:1100px){.task-detail-frozen .generation-workspace{grid-template-columns:minmax(240px,30%) minmax(320px,1fr);gap:12px}}@media(max-width:760px){.task-detail-frozen .generation-workspace{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(100px,28%) minmax(0,1fr)}.task-detail-frozen .task-inputs{margin-bottom:0}.task-detail-frozen .page-header h2{font-size:18px}.task-detail-frozen .page-header{gap:8px}.draft-actions{max-height:30dvh;overflow-y:auto}}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.loading{padding:60px;text-align:center}.app-loading{height:100vh;display:grid;place-items:center}.service-unavailable{max-width:700px;padding:60px 20px;margin:auto}.service-unavailable>button{margin-top:20px}.section-card{margin-bottom:14px}.section-number{color:#739080;font-size:12px;letter-spacing:1px}.clause-row{display:flex;gap:12px;align-items:flex-start}.clause-text{flex:1;min-width:0}.clause-text .ant-typography{margin-bottom:5px}.section-card .ant-card-head{background:#f5f8f5}.detail-list{padding-left:20px;margin:0}.detail-list li{margin:4px 0}.task-grid{display:grid;grid-template-columns:minmax(310px,390px) minmax(450px,1fr);gap:24px;align-items:start}.task-inputs .ant-form-item{margin-bottom:18px}.sticky-actions{position:sticky;bottom:12px;background:#fffffff5;box-shadow:0 3px 20px #14322915;border:1px solid #e3e9e4;border-radius:8px;padding:16px;margin-top:20px;z-index:4}.image-list{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.image-item{position:relative}.image-item img{width:82px;height:82px;object-fit:cover;border-radius:6px;border:1px solid #dce5df}.image-item .image-preview-trigger{padding:0;border:0;border-radius:6px;background:transparent;cursor:zoom-in;display:block}.image-item .image-remove{position:absolute;top:-5px;right:-5px;background:#fff}.stat-strip{display:flex;gap:32px;padding:20px 24px;background:#eaf0ea;border:1px solid #dde7dd;border-radius:10px;margin-bottom:24px}.stat-strip .ant-statistic{min-width:110px}.empty-explanation{max-width:500px;margin:0 auto;line-height:1.8}.standard-diff{display:grid;grid-template-columns:1fr 1fr;gap:20px}.standard-diff.three{grid-template-columns:repeat(3,1fr)}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#edf1e9}.auth-intro{background:#173a30;color:#fff;display:flex;flex-direction:column;justify-content:center;padding:12%;position:relative}.auth-intro h1.ant-typography{color:#f6f8eb;font-weight:500;font-size:46px;line-height:1.5;letter-spacing:2px;margin:30px 0 22px}.auth-intro .ant-typography{color:#bacdbd;font-size:16px;line-height:2;max-width:390px}.brand-mark{font-size:48px;color:#bdd1a5}.auth-eyebrow{font-size:11px;letter-spacing:2px;color:#89ac97;margin-top:50px}.auth-card{width:430px;max-width:calc(100% - 48px);margin:auto;border:0;box-shadow:0 12px 70px #203b2810}.auth-card h3{font-size:23px;margin-top:8px}.auth-note{font-size:12px;line-height:1.8;margin:22px 0 4px}.revision-label{font-size:12px;color:#77877d}.knowledge-tabs{margin-bottom:20px}.ant-alert,.ant-card .ant-card{margin-bottom:10px}.ant-table-cell{overflow-wrap:anywhere}.pitfall-cases-table .ant-table-tbody>tr>td{height:64px;white-space:nowrap}.case-cell-preview{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:24px}.ant-modal-body .ant-alert{margin-top:12px}.ant-list-item{align-items:flex-start!important}.muted-card{background:#f6f8f4}@media(max-width:1100px){.task-grid,.standard-diff.three{grid-template-columns:1fr}.page-content{padding:24px}.sidebar-caption{display:none}}@media(max-width:760px){.auth-page{grid-template-columns:1fr}.auth-intro{display:none}.auth-card{margin:40px auto}.page-header{flex-direction:column}.app-header{padding:0 16px}.page-content{padding:18px}.standard-diff{grid-template-columns:1fr}.stat-strip{gap:15px;flex-wrap:wrap}.ant-layout-sider{position:fixed!important;z-index:10;height:100vh}.workspace>.ant-layout{margin-left:80px}.task-grid{display:block}.task-inputs{margin-bottom:20px}}.optimization-progress-track{width:100%;min-width:120px;height:6px;margin:7px 0;overflow:hidden;border-radius:100px;background:#f0f0f0}.optimization-progress-track span{display:block;width:35%;height:100%;border-radius:inherit;background:#1677ff;animation:optimization-progress-moving 1.5s ease-in-out infinite alternate}@keyframes optimization-progress-moving{0%{transform:translate(-100%)}to{transform:translate(285%)}}@media(prefers-reduced-motion:reduce){.optimization-progress-track span{animation:none}}.optimization-comparison-modal .ant-modal-content{height:calc(100dvh - 32px);display:flex;flex-direction:column;padding:18px 22px}.optimization-comparison-modal .ant-modal-header,.optimization-comparison-modal .ant-modal-footer{flex:none}.optimization-comparison-modal .ant-modal-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px;overflow:hidden}.optimization-comparison-modal .ant-modal-body>.ant-space:empty{display:none}.optimization-comparison-modal .ant-modal-body>.ant-space{flex:none;max-height:28vh;overflow-y:auto}.optimization-comparison-columns{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.optimization-comparison-column{display:flex;flex-direction:column;min-width:0;min-height:0}.optimization-comparison-column>.ant-typography{flex:none;margin:0 0 8px}.optimization-comparison-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.optimization-comparison-modal .standard-section{margin-bottom:12px}.workspace>.ant-layout{overflow:auto;margin-left:0}.workspace .sidebar{position:sticky!important;min-height:320px}.sidebar .ant-layout-sider-children{display:flex;flex-direction:column}.sidebar-brand{height:76px;min-height:76px}.sidebar .ant-menu{flex:1 0 auto}.sidebar .ant-menu-item{margin-bottom:3px}.sidebar .ant-menu-item-divider{margin:12px}.sidebar-account{flex:none;padding:16px;border-top:1px solid #ffffff1c}.sidebar-account[hidden]{display:none}.sidebar-actions{display:flex;gap:8px;margin-bottom:12px}.sidebar-actions>.ant-badge,.sidebar-actions>.ant-btn{flex:1;min-width:0}.sidebar-actions .ant-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:36px;padding:0 8px;font-size:13px;color:#edf4ee;background:#24473d;border-color:#ffffff1f;box-shadow:none}.sidebar-actions .ant-btn:not(:disabled):hover{color:#fff;background:#31594d;border-color:#ffffff40}.sidebar-user.ant-btn{display:flex;align-items:center;gap:8px;width:100%;height:36px;padding:0;color:#edf4ee;text-align:left}.sidebar-user.ant-btn:not(:disabled):hover{color:#fff;background:#ffffff08}.sidebar-avatar{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#2b5145;color:#b7d4ae}.sidebar-user-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.sidebar-role{flex:none;font-size:11px;padding:1px 6px;color:#b9cec4;background:#ffffff0a;border:1px solid #ffffff1c;border-radius:4px}.sidebar-user-arrow{flex:none;margin-left:auto;font-size:11px;color:#9db8aa}.sidebar .ant-layout-sider-trigger{height:38px;line-height:38px;background:#122d25}.sidebar .ant-layout-sider-children{height:calc(100dvh - 38px)}.sidebar.ant-layout-sider-has-trigger{padding-bottom:0}.sidebar-collapse-button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;height:100%;padding:0;border:0;border-top:1px solid #ffffff12;background:transparent;color:#a8c0b4;font:inherit;font-size:12px;cursor:pointer}.sidebar-collapse-button:hover{background:#214337;color:#edf4ee}.sidebar-collapse-button:focus-visible{outline:2px solid #b7d4ae;outline-offset:-3px}.workspace .page-content{min-width:1100px;max-width:none;padding:16px 20px;margin:0}.workspace .page-content:has(>.bounded-page){min-height:440px}.workspace .page-content:has(.task-detail-frozen){min-height:540px;padding:12px 20px}.workspace .page-header{flex-direction:row;align-items:center;gap:16px;margin-bottom:12px}.workspace .page-header h2{font-size:22px;margin-bottom:0}.workspace .app-footer{padding:6px 12px;font-size:11px;min-width:1100px}.workspace .ant-card>.ant-card-head{min-height:44px;padding:0 16px}.workspace .ant-card>.ant-card-body{padding:16px}.workspace .ant-card-small>.ant-card-body{padding:12px}.workspace .toolbar{gap:8px;margin-bottom:12px}.workspace .stat-strip{padding:10px 16px;gap:24px;margin-bottom:12px;flex-wrap:nowrap}.workspace .stat-strip .ant-statistic-content{font-size:22px}.workspace .sticky-actions{padding:10px 12px;margin-top:12px;bottom:0}.workspace .task-grid,.workspace .task-detail-frozen .generation-workspace{display:grid;grid-template-columns:300px minmax(700px,1fr);grid-template-rows:minmax(0,1fr);gap:16px}.workspace .task-inputs{margin-bottom:0}.task-inputs .ant-form-item{margin-bottom:14px}.task-inputs>.ant-card-head .ant-card-head-wrapper{flex-wrap:wrap;padding-block:8px;gap:4px}.task-inputs>.ant-card-head .ant-card-extra{font-size:11px}.task-tab-extra,.task-notice{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.task-tab-extra{margin-left:16px}.task-notice{max-width:310px;font-size:12px}.task-notice .compact-text{max-width:220px}.task-notice .cell-clamp{-webkit-line-clamp:1!important}.draft-toolbar,.update-actions{flex-wrap:nowrap}.draft-evidence{flex:none;font-size:12px}.workspace .standard-diff{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.workspace .standard-diff.three{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-text{display:block;width:100%;max-width:100%;min-width:0;white-space:normal;border:0;background:none;text-align:left;color:inherit;padding:0;font:inherit;cursor:pointer}.compact-text:hover{color:#21725d}.compact-text:focus-visible{outline:2px solid #21725d;outline-offset:2px}.compact-text.danger{color:#cf1322}.cell-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;line-height:20px;max-height:40px}.compact-sku-table .ant-table-thead>tr>th{height:40px;padding:8px 10px;white-space:nowrap}.compact-sku-table .ant-table-tbody>tr>td{height:64px;padding:6px 10px}.compact-sku-table .ant-table-cell>.ant-space-vertical{gap:0!important;display:flex;width:100%;min-width:0;max-width:100%}.compact-sku-table .ant-table-cell>.ant-space-vertical>.ant-space-item{min-width:0;max-width:100%}.compact-sku-table .ant-table-cell>.ant-space-vertical .cell-clamp{-webkit-line-clamp:1!important;max-height:20px}.compact-sku-table .ant-btn-link{max-width:100%;height:auto;padding:0;text-align:left}.compact-sku-table .ant-space{white-space:nowrap}.sort-handle{cursor:grab}.sort-handle:active{cursor:grabbing}.case-editor-modal .ant-modal-body{max-height:calc(100dvh - 160px);overflow-y:auto}.case-editor-modal textarea{line-height:1.6}.scope-step-summary{display:flex;justify-content:space-between;align-items:center;font-weight:600;margin-bottom:8px}.optimization-comparison-columns{min-width:900px}.optimization-comparison-modal .ant-modal-body{overflow-x:auto}
