.logo-container{background:linear-gradient(135deg,#f5f7fa 0%,#c3cfe2 100%);border-left:4px solid #1677ff;border-radius:4px;margin-bottom:8px;padding:16px}body.theme-kgm .ant-layout{background:0 0!important}body.theme-kgm .ant-layout-sider{background:#0a0a0a!important;border-right:1px solid #1f1f1f!important}body.theme-kgm .ant-layout-sider .logo-container{background:linear-gradient(135deg,#1a1a1a 0%,#000 100%);border-left:4px solid #c9a961;flex-direction:column;align-items:center;padding:14px 12px;display:flex}body.theme-kgm .ant-layout-sider .logo-container .kgm-logo-img{object-fit:contain;border-radius:6px;width:160px;height:auto;margin-bottom:10px}body.theme-kgm .ant-layout-sider .logo-container p{letter-spacing:1px;color:#c9a961!important;margin:0!important;font-size:11px!important}body.theme-kgm .ant-menu-light{color:#e8e8e8!important;background:#0a0a0a!important}body.theme-kgm .ant-menu-light .ant-menu-item{color:#d9d9d9!important}body.theme-kgm .ant-menu-light .ant-menu-item:hover{color:#c9a961!important;background:#c9a9611f!important}body.theme-kgm .ant-menu-light .ant-menu-item-selected{border-right:3px solid #c9a961;color:#c9a961!important;background:linear-gradient(90deg,#c9a96138 0%,#0000 100%)!important}body.theme-kgm .ant-layout-header{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0a0a0aeb!important;border-bottom:1px solid #1f1f1f!important}body.theme-kgm .ant-layout-header,body.theme-kgm .ant-layout-header *{color:#fff!important}body.theme-kgm .ant-layout-content{background:linear-gradient(#f5f5f5d1,#f5f5f5eb),url(/kgm-theme/musso.jpg) 50%/cover no-repeat fixed!important}body.theme-kgm .ant-layout-content .ant-card{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border:1px solid #0000000f;box-shadow:0 2px 12px #0000001a;background:#fffffff5!important}body.theme-kgm .ant-btn-primary{background:#1e2547!important;border-color:#1e2547!important}body.theme-kgm .ant-btn-primary:hover,body.theme-kgm .ant-btn-primary:focus{background:#0f1a38!important;border-color:#0f1a38!important}body.theme-kgm a{color:#1e2547}body.theme-kgm .ant-layout-header .ant-tag{color:#c9a961!important;background:#c9a96126!important;border-color:#c9a961!important}body.theme-kgm .ant-layout-header .ant-tag.ant-tag-default{color:#8c8c8c!important;background:#ffffff14!important;border-color:#434343!important}body.theme-kgm .ant-layout-header .ant-switch{background:#434343!important}body.theme-kgm .ant-layout-header .ant-switch.ant-switch-checked{background:#c9a961!important}.theme-toggle-btn{letter-spacing:1px;cursor:pointer;color:#595959;background:#fff;border:1px solid #d9d9d9;border-radius:16px;align-items:center;gap:6px;padding:4px 12px;font-size:12px;font-weight:600;transition:all .2s;display:inline-flex}.theme-toggle-btn:hover{color:#1677ff;border-color:#1677ff}body.theme-kgm .theme-toggle-btn{color:#fff;background:#1e2547;border-color:#1e2547}body.theme-kgm .theme-toggle-btn:hover{background:#0f1a38;border-color:#0f1a38}.home-root{min-height:calc(100vh - 64px);margin:-24px}.tone-picker{z-index:10;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffd9;border-bottom:1px solid #0000000f;justify-content:flex-end;gap:8px;padding:12px 24px;display:flex;position:sticky;top:0}.tone-picker button{color:#595959;cursor:pointer;background:#fff;border:1px solid #d9d9d9;border-radius:18px;padding:6px 14px;font-size:12px;font-weight:500;transition:all .2s}.tone-picker button:hover{color:#1677ff;border-color:#1677ff}.tone-picker button.active{color:#fff;background:#1e2547;border-color:#1e2547}.home-hero{padding:100px 48px 120px;position:relative;overflow:hidden}.home-hero .hero-eyebrow{letter-spacing:3px;color:#c9a961;text-transform:uppercase;margin-bottom:16px;font-size:13px;font-weight:600}.home-hero h1{letter-spacing:-1px;margin:0 0 20px;font-size:52px;font-weight:800;line-height:1.15}.home-hero h1 .accent{background:linear-gradient(120deg,#c9a961 0%,#e8c987 100%);color:#0000;-webkit-background-clip:text;background-clip:text}.home-hero .hero-sub{opacity:.85;max-width:640px;margin-bottom:36px;font-size:18px;line-height:1.6}.home-hero .hero-cta{gap:12px;display:flex}.home-hero .hero-cta button{cursor:pointer;border:none;border-radius:4px;padding:14px 28px;font-size:15px;font-weight:600;transition:transform .2s,box-shadow .2s}.home-hero .hero-cta button:hover{transform:translateY(-2px);box-shadow:0 8px 24px #00000026}.home-hero .hero-cta .cta-primary{color:#fff;background:#1e2547}.home-hero .hero-cta .cta-secondary{color:inherit;background:0 0;border:1.5px solid}.home-kpi{background:#00000014;border-top:1px solid #00000014;border-bottom:1px solid #00000014;grid-template-columns:repeat(4,1fr);gap:1px;display:grid}.home-kpi .kpi-item{text-align:center;background:#fff;padding:32px 24px}.home-kpi .kpi-value{color:#1e2547;letter-spacing:-1px;margin-bottom:8px;font-size:44px;font-weight:800;line-height:1}.home-kpi .kpi-label{color:#8c8c8c;letter-spacing:.5px;font-size:13px}.home-section{padding:80px 48px}.home-section .section-head{text-align:center;margin-bottom:48px}.home-section .section-eyebrow{letter-spacing:2px;color:#c9a961;text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:600}.home-section h2{letter-spacing:-.5px;margin:0 0 12px;font-size:36px;font-weight:700}.home-section .section-sub{color:#8c8c8c;max-width:600px;margin:0 auto;font-size:16px}.value-cards{grid-template-columns:repeat(4,1fr);gap:20px;max-width:1280px;margin:0 auto;display:grid}.value-cards .value-card{cursor:pointer;background:#fff;border:1px solid #0000000f;border-radius:8px;padding:32px 24px;transition:transform .3s,box-shadow .3s}.value-cards .value-card:hover{border-color:#c9a961;transform:translateY(-4px);box-shadow:0 16px 32px #00000014}.value-cards .value-card .vc-icon{color:#fff;background:linear-gradient(135deg,#1e2547 0%,#2d3a6b 100%);border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;margin-bottom:20px;font-size:24px;display:flex}.value-cards .value-card h3{color:#1e2547;margin:0 0 8px;font-size:17px;font-weight:700}.value-cards .value-card p{color:#595959;margin:0;font-size:13px;line-height:1.6}.compare-wrap{grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;max-width:980px;margin:0 auto;display:grid}.compare-card{text-align:center;border-radius:12px;padding:36px 32px}.compare-card.before{color:#8c8c8c;background:#f5f5f5}.compare-card.after{color:#fff;background:linear-gradient(135deg,#1e2547 0%,#2d3a6b 100%)}.compare-card .cc-label{letter-spacing:2px;opacity:.6;margin-bottom:16px;font-size:12px;font-weight:600}.compare-card .cc-big{margin-bottom:8px;font-size:48px;font-weight:800;line-height:1}.compare-card.after .cc-big{color:#c9a961}.compare-card .cc-desc{opacity:.8;font-size:13px;line-height:1.5}.compare-arrow{color:#c9a961;font-size:36px;font-weight:800}.demo-clauses{grid-template-columns:1fr 1fr;gap:12px;max-width:1000px;margin:0 auto;display:grid}.demo-clause{cursor:pointer;background:#fff;border:1px solid #e8e8e8;border-radius:8px;padding:20px 24px;transition:all .25s;position:relative}.demo-clause:hover{border-color:#c9a961;transform:translate(4px)}.demo-clause.active{background:#fafbff;border-color:#1e2547;box-shadow:0 4px 16px #1e254714}.demo-clause .dc-tag{letter-spacing:.5px;border-radius:10px;margin-bottom:8px;padding:2px 8px;font-size:10px;font-weight:700;display:inline-block}.demo-clause .dc-tag.high{color:#cf1322;background:#fff1f0}.demo-clause .dc-tag.medium{color:#d46b08;background:#fff7e6}.demo-clause .dc-tag.low{color:#389e0d;background:#f6ffed}.demo-clause .dc-title{color:#1e2547;margin-bottom:4px;font-size:14px;font-weight:600}.demo-clause .dc-content{color:#8c8c8c;font-size:12px;line-height:1.5}.demo-clause.active .dc-analysis{color:#1e2547;border-top:1px dashed #c9a961;margin-top:12px;padding-top:12px;font-size:12px;line-height:1.6}.demo-clause .dc-analysis{display:none}.process-flow{grid-template-columns:repeat(4,1fr);gap:16px;max-width:1100px;margin:0 auto;display:grid;position:relative}.process-step{text-align:center;padding:24px 16px;position:relative}.process-step .ps-num{color:#1e2547;background:linear-gradient(135deg,#c9a961 0%,#e8c987 100%);border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;margin-bottom:16px;font-size:18px;font-weight:800;display:inline-flex}.process-step h4{color:#1e2547;margin:0 0 6px;font-size:15px;font-weight:700}.process-step p{color:#8c8c8c;margin:0;font-size:12px;line-height:1.5}.process-step:not(:last-child):after{content:"→";color:#d9d9d9;font-size:20px;position:absolute;top:40px;right:-12px}.sample-gallery{grid-template-columns:repeat(3,1fr);gap:20px;max-width:1100px;margin:0 auto;display:grid}.sample-card{cursor:pointer;background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:24px;transition:all .3s}.sample-card:hover{border-color:#1e2547;transform:translateY(-4px);box-shadow:0 12px 28px #00000014}.sample-card .sc-risk{letter-spacing:1px;border-radius:10px;margin-bottom:12px;padding:3px 10px;font-size:10px;font-weight:700;display:inline-block}.sample-card .sc-risk.high{color:#cf1322;background:#fff1f0}.sample-card .sc-risk.med{color:#d46b08;background:#fff7e6}.sample-card .sc-risk.low{color:#389e0d;background:#f6ffed}.sample-card h3{color:#1e2547;margin:0 0 4px;font-size:16px;font-weight:700}.sample-card .sc-type{color:#8c8c8c;margin-bottom:16px;font-size:12px}.sample-card .sc-stat{color:#595959;border-top:1px solid #f0f0f0;justify-content:space-between;margin-top:12px;padding-top:12px;font-size:11px;display:flex}.home-cta-footer{text-align:center;color:#fff;background:linear-gradient(135deg,#0f1a38 0%,#1e2547 100%);padding:80px 48px}.home-cta-footer h2{margin:0 0 16px;font-size:38px;font-weight:800}.home-cta-footer p{opacity:.75;margin-bottom:32px;font-size:16px}.home-cta-footer button{color:#1e2547;cursor:pointer;background:#c9a961;border:none;border-radius:4px;padding:16px 40px;font-size:16px;font-weight:700;transition:all .2s}.home-cta-footer button:hover{background:#e8c987;transform:translateY(-2px)}.tone-premium .home-hero{color:#fff;background:linear-gradient(135deg,#0a0e1ed9 0%,#1e2547bf 100%),url(/kgm-theme/musso.jpg) 50%/cover no-repeat;flex-direction:column;justify-content:center;min-height:520px;display:flex}.tone-premium .home-hero h1{font-size:60px}.tone-premium .home-hero .hero-cta .cta-primary{color:#1e2547;background:#c9a961}.tone-premium .home-hero .hero-cta .cta-secondary{color:#fff;border-color:#fff9}.tone-premium .home-kpi{background:#0f1a38;border:none}.tone-premium .home-kpi .kpi-item{color:#fff;background:#0f1a38;border-right:1px solid #ffffff14}.tone-premium .home-kpi .kpi-item:last-child{border-right:none}.tone-premium .home-kpi .kpi-value{color:#c9a961}.tone-premium .home-kpi .kpi-label{color:#ffffff8c}.tone-premium .home-section{background:#fafafa}.tone-premium .home-section:nth-of-type(2n){background:#fff}.tone-minimal .home-hero{color:#1e2547;background:#fff;padding:80px 48px}.tone-minimal .home-hero h1{color:#1e2547;font-size:48px;font-weight:700}.tone-minimal .home-hero h1 .accent{color:#1e2547;-webkit-text-fill-color:#1e2547;background:0 0;border-bottom:4px solid #c9a961;padding-bottom:2px}.tone-minimal .home-hero .hero-eyebrow{color:#1e2547}.tone-minimal .home-section{background:#fff;padding:64px 48px}.tone-minimal .home-section:nth-of-type(2n){background:#fafbfc}.tone-minimal .value-cards .value-card{box-shadow:none;border:1px solid #e8e8e8;border-radius:4px}.tone-minimal .value-cards .value-card:hover{border-color:#1e2547;transform:none;box-shadow:0 4px 12px #1e25470f}.tone-minimal .home-hero .hero-cta .cta-primary{color:#fff;background:#1e2547}.tone-interactive .home-hero{color:#1e2547;background:radial-gradient(at 0 0,#c9a96138 0%,#0000 55%),radial-gradient(at 100% 100%,#1e25472e 0%,#0000 55%),#fafbff;position:relative}.tone-interactive .home-hero:before{content:"";pointer-events:none;background-image:linear-gradient(#1e25470a 1px,#0000 1px),linear-gradient(90deg,#1e25470a 1px,#0000 1px);background-size:40px 40px;position:absolute;inset:0}.tone-interactive .home-hero>*{z-index:1;position:relative}.tone-interactive .home-hero h1{font-size:56px}.tone-interactive .home-kpi .kpi-value{background:linear-gradient(120deg,#1e2547 0%,#c9a961 100%);color:#0000;-webkit-background-clip:text;background-clip:text}.tone-interactive .value-cards .value-card{transition:all .4s cubic-bezier(.2,.9,.3,1.2)}.tone-interactive .value-cards .value-card:hover{transform:translateY(-8px)scale(1.02);box-shadow:0 24px 48px #1e254729}.tone-interactive .value-cards .value-card:hover .vc-icon{transform:rotate(-8deg)scale(1.1)}.tone-interactive .value-cards .value-card .vc-icon{transition:transform .35s}.tone-interactive .demo-clause{transition:all .25s cubic-bezier(.2,.9,.3,1.2)}.tone-interactive .demo-clause:hover{transform:translateY(-2px)translate(4px);box-shadow:0 8px 16px #1e254714}@media (width<=980px){.home-kpi,.value-cards,.sample-gallery,.process-flow{grid-template-columns:repeat(2,1fr)!important}.compare-wrap{grid-template-columns:1fr}.compare-arrow{transform:rotate(90deg)}.home-hero h1{font-size:36px!important}.demo-clauses{grid-template-columns:1fr}.process-step:after{display:none}}@media (width<=640px){.home-kpi,.value-cards,.sample-gallery,.process-flow{grid-template-columns:1fr!important}.home-hero{padding:40px 16px!important}.home-hero h1{font-size:26px!important;line-height:1.3!important}.home-hero p{font-size:14px!important}.home-section{padding:32px 16px!important}.home-section h2{font-size:20px!important}.tone-picker{flex-wrap:wrap;gap:6px}.tone-picker button{padding:6px 10px;font-size:12px}.kpi-card,.value-card,.sample-card{padding:16px!important}.kpi-number{font-size:28px!important}}.messages-container{flex-direction:column;flex:1;padding:0;display:flex;overflow-y:auto}.messages-container::-webkit-scrollbar{width:8px}.messages-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.messages-container::-webkit-scrollbar-thumb{background:#888;border-radius:10px}.messages-container::-webkit-scrollbar-thumb:hover{background:#555}.doc-insight-root{flex-direction:column;gap:16px;display:flex}.di-samples{background:#fff;border:1px solid #f0f0f0;border-radius:8px;padding:16px 20px}.di-samples-header{justify-content:space-between;align-items:baseline;margin-bottom:12px;display:flex}.di-samples-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;display:grid}.di-sample-card{background:#fafafa;border:1px solid #f0f0f0;border-radius:8px;flex-direction:column;gap:4px;padding:12px;transition:all .15s;display:flex}.di-sample-card:hover{background:#f0f7ff;border-color:#1677ff}.di-sample-type{color:#fff;background:#1677ff;border-radius:10px;width:fit-content;padding:1px 8px;font-size:11px;font-weight:600;display:inline-block}.di-sample-label{margin-top:4px;font-size:13px;font-weight:600}.di-sample-desc{color:#8c8c8c;flex:1;min-height:28px;font-size:11px;line-height:1.4}.di-sample-actions{gap:6px;margin-top:6px;display:flex}body.theme-kgm .di-sample-type{color:#1e2547;background:#c9a961}body.theme-kgm .di-sample-card:hover{background:#fdf8ec;border-color:#c9a961}.di-upload{text-align:center;cursor:pointer;background:#fff;border:2px dashed #d9d9d9;border-radius:8px;padding:40px 24px;transition:all .2s}.di-upload:hover{background:#f0f7ff;border-color:#1677ff}.di-upload.has-file{text-align:left;padding:16px 24px}.di-selected-bar{background:#fff;border:1px solid #f0f0f0;border-radius:8px;align-items:center;gap:12px;padding:12px 16px;display:flex}.di-selected-info{flex:1;min-width:0}.di-selected-title{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}.di-selected-sub{align-items:center;gap:8px;margin-top:2px;font-size:12px;display:flex}.di-viewer-row{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;height:calc(100vh - 260px);min-height:560px;display:grid}@media (width<=1100px){.di-viewer-row{grid-template-columns:1fr;height:auto}.di-viewer{min-height:480px}}@media (width<=768px){.di-samples-grid{grid-template-columns:1fr 1fr}.di-viewer{min-height:360px}.di-analysis-scroll{padding:12px 14px}.di-chat-panel{max-height:none;padding:12px 14px}.di-selected-bar{flex-wrap:wrap;padding:10px 12px}.di-selected-info{order:-1;min-width:100%}.di-upload{padding:24px 16px}.md-content table,.md-content pre{font-size:11px}}@media (width<=480px){.di-samples-grid{grid-template-columns:1fr}}.di-viewer{background:#fff;border:1px solid #f0f0f0;border-radius:8px;min-height:560px;display:flex;overflow:hidden}.di-pdf-frame{border:none;flex:1;width:100%;height:100%}.di-viewer-empty{justify-content:center;align-items:center;width:100%;display:flex}.di-analysis-panel{background:#fff;border:1px solid #f0f0f0;border-radius:8px;flex-direction:column;min-height:0;display:flex;overflow:hidden}.di-analysis-header{background:#fafafa;border-bottom:1px solid #f0f0f0;padding:12px 16px;font-size:13px;font-weight:600}.di-analysis-scroll{scroll-behavior:smooth;flex:1;padding:16px 20px;overflow-y:auto}.di-chat-panel{background:#fff;border:1px solid #f0f0f0;border-radius:8px;flex-direction:column;max-height:520px;padding:16px 20px;display:flex}.di-chat-header{border-bottom:1px solid #f0f0f0;margin-bottom:10px;padding-bottom:8px;font-size:13px;font-weight:600}.di-main{grid-template-columns:380px 1fr;gap:16px;min-height:600px;display:grid}@media (width<=1100px){.di-main{grid-template-columns:1fr}}.di-left,.di-right{background:#fff;border:1px solid #f0f0f0;border-radius:8px;flex-direction:column;min-height:0;padding:20px;display:flex}.di-meta h3{margin:0 0 8px;font-size:16px}.di-meta .di-tag{color:#1677ff;background:#e6f4ff;border-radius:12px;margin-right:6px;padding:2px 10px;font-size:12px;font-weight:600;display:inline-block}.di-meta .di-conf{color:#8c8c8c;font-size:12px}.di-analysis{border-top:1px solid #f0f0f0;flex:1;margin-top:16px;padding-top:16px;overflow-y:auto}.di-right{gap:12px}.di-suggested{border-bottom:1px solid #f5f5f5;flex-wrap:wrap;gap:6px;padding-bottom:12px;display:flex}.di-suggested button{cursor:pointer;background:#f5f5f5;border:1px solid #e8e8e8;border-radius:16px;padding:6px 12px;font-size:12px;transition:all .15s}.di-suggested button:hover{color:#1677ff;background:#e6f4ff;border-color:#1677ff}.di-chat{flex-direction:column;flex:1;gap:12px;padding:8px 0;display:flex;overflow-y:auto}.di-msg{border-radius:10px;max-width:92%;padding:10px 14px;font-size:13px;line-height:1.6}.di-msg.user{color:#fff;background:#1677ff;align-self:flex-end}.di-msg.ai{color:#000;background:#f5f5f5;align-self:flex-start}.di-input-row{gap:8px;display:flex}.md-content h1,.md-content h2,.md-content h3,.md-content h4{margin:12px 0 6px;font-weight:600}.md-content h2{font-size:15px}.md-content h3{font-size:14px}.md-content p{margin:6px 0}.md-content ul,.md-content ol{margin:6px 0;padding-left:22px}.md-content li{margin:2px 0}.md-content code{background:#0000000f;border-radius:3px;padding:1px 5px;font-size:12px}.md-content pre{color:#f8f8f2;background:#272822;border-radius:6px;padding:10px;font-size:12px;overflow-x:auto}.md-content pre code{color:inherit;background:0 0}.md-content blockquote{color:#333;background:#f0f7ff;border-left:3px solid #1677ff;margin:8px 0;padding:6px 12px}.md-content table{border-collapse:collapse;margin:8px 0;font-size:12px}.md-content th,.md-content td{border:1px solid #e8e8e8;padding:6px 10px}.md-content th{background:#fafafa}.md-content strong{color:#1e2547}.di-msg.user .md-content strong{color:#fff}.di-msg.user .md-content code{color:#fff;background:#fff3}:root{--primary-color:#1677ff;--success-color:#52c41a;--warning-color:#faad14;--error-color:#ff4d4f;--info-color:#1677ff}*{box-sizing:border-box;margin:0;padding:0}html,body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:100%;height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}#root{width:100%;height:100%}body{background-color:#fafafa}.ant-layout{background-color:#fff}.ant-layout-content{background-color:#fafafa}.ant-card{border-radius:4px;box-shadow:0 1px 2px #00000008,0 1px 6px -1px #00000005,0 2px 4px #00000005}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#555}.ant-table{font-size:14px}.ant-table-cell{padding:12px 16px}.ant-btn,.ant-tag{border-radius:4px}.ant-statistic-title{color:#8c8c8c;font-size:12px}.ant-timeline{padding-left:0}.ant-timeline-item-head{border-color:#1677ff}.ant-input,.ant-input-number,.ant-select-selector,.ant-picker{border-radius:4px}.ant-form-item{margin-bottom:16px}.ant-form-item-label>label{font-weight:500}
