.octans-loader{display:flex;align-items:center;justify-content:center;gap:12px;min-height:140px;color:var(--ink-700,#343a40);font-size:14px}
.octans-loader.is-inline{display:inline-flex;min-height:0;gap:8px;font-size:13px}
.octans-loader svg{width:36px;height:36px;flex:none;color:var(--brand,#1b4be5)}
.octans-loader.is-inline svg{width:22px;height:22px}
.octans-loader-orbit{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;transform-origin:20px 20px;animation:octans-loader-spin 1.2s linear infinite}
.octans-loader-star{fill:currentColor}
.mcv-job-summary{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;color:#343a40;font-size:13px}
.mcv-job-summary strong{color:#17191c;font-variant-numeric:tabular-nums}
.mcv-job-note{margin:8px 0 0;color:#697386;font-size:13px;line-height:1.65}
.mcv-job-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.mcv-job.is-waiting{background:#f5f6f7}
.mcv-job.is-error{color:#a9342b}
.mcv-job small{color:#697386}
.mcv-job button{flex:none}
@keyframes octans-loader-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.octans-loader-orbit{animation:none}}

/* One loading animation, 40px, centred in the active work area. */
.octans-loading-signal,.octans-loader,.loading-mark,.data-loading-mark,.home-loading-logo,.notification-loading-mark,.analytics-loading-mark,.resource-loading-state img,.followup-loading-state img,.analytics-loading i,.team-workbench-loading>i,.home-recommendation-spinner{display:none!important}
.octans-global-loading{position:fixed;left:calc(50% + 112px);top:50%;transform:translate(-50%,-20px);display:flex;flex-direction:column;align-items:center;gap:12px;width:max-content;max-width:min(360px,calc(100vw - 48px));z-index:10050;pointer-events:none;color:var(--ui-brand,#3f57bc);transition:none!important}
.octans-global-loading[hidden]{display:none!important}
.octans-global-loading svg{display:block;width:40px;height:40px;flex:none}
.octans-global-loading[role="status"] .octans-global-loading-label{display:block;color:#667085;font-family:"AIOS UI","Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;font-weight:400;line-height:22px!important;text-align:center;overflow-wrap:anywhere}
dialog .octans-global-loading{left:50%}
@media(max-width:760px){.octans-global-loading{left:50%}}

#authLoginTransition img{display:none!important}body:has(.auth-shell) .octans-global-loading{left:50%}

/* Finish review: route export, detail, overview, media and node reads also share the singleton. */
.export-spinner,.detail-spinner,.overview-shell-loading img,.node-loading img,.detail-reading-spinner,.loading-spinner,.feedback-file-status.is-analyzing i,.feedback-service-status.is-checking i,.feedback-media-loading{display:none!important}
.detail-reading-state i,.detail-reading-state i::after,.detail-skeleton i::after,.analytics-skeleton-head i,.analytics-skeleton-grid i,.amp-skeleton,.amp-skeleton-grid>div,.feedback-thumb-loading::after,.deepseek-public-info.is-loading>header svg{animation:none!important}

.market-channel-library { color:#17213b; }
.mcv-heading,.mcv-detail-header,.mcv-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
.mcv-heading { margin:0 0 22px; }
.mcv-heading h1,.mcv-detail-header h1 { margin:0 0 6px; font-size:22px; line-height:1.4; }
.mcv-heading p,.mcv-detail-header p,.mcv-section-head p { margin:0; color:#69788f; font-size:13px; line-height:1.65; }
.mcv-search input { width:min(320px,36vw); min-height:40px; padding:0 12px; border:1px solid #d6deeb; border-radius:9px; background:#fff; color:#17213b; font:inherit; }
.mcv-search .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.mcv-tabs { display:flex; gap:24px; border-bottom:1px solid #dce3ee; margin:0 0 14px; }
.mcv-tabs button { padding:10px 2px 12px; border:0; border-bottom:2px solid transparent; background:none; color:#66748c; font:inherit; cursor:pointer; }
.mcv-tabs button.is-active { border-bottom-color:#3e5abd; color:#304ba7; font-weight:700; }
.mcv-list-note { min-height:24px; margin-bottom:12px; color:#758198; font-size:12px; }
.mcv-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.mcv-channel-card { display:flex; flex-direction:column; min-height:230px; padding:20px; border:1px solid #dfe5ee; border-radius:14px; background:#fff; color:#17213b; text-align:left; cursor:pointer; font:inherit; }
.mcv-channel-card:hover,.mcv-channel-card:focus-visible { border-color:#8ea4e8; box-shadow:0 6px 20px rgba(34,58,112,.08); outline:2px solid transparent; }
.mcv-card-top,.mcv-card-foot { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.mcv-card-top { margin-bottom:16px; }
.mcv-type,.mcv-state { display:inline-block; padding:4px 8px; border-radius:6px; font-size:11px; font-weight:700; }
.mcv-demo { display:inline-block; margin-left:7px; padding:3px 6px; border-radius:5px; background:#fff1d6; color:#805a1c; font-size:11px; font-weight:700; }
.mcv-type { background:#edf2ff; color:#3757aa; }.mcv-state { background:#fff3df; color:#925c10; }.mcv-state.is-war { background:#e7f5ed; color:#17784f; }
.mcv-channel-card>strong { font-size:16px; line-height:1.5; }
.mcv-card-summary { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:44px; margin:8px 0 14px; color:#53647e; font-size:13px; line-height:1.7; }
.mcv-card-meta { margin-top:auto; color:#6d7c92; font-size:12px; }.mcv-card-foot { margin-top:16px; padding-top:13px; border-top:1px solid #ecf0f5; color:#3e5abd; font-size:12px; font-weight:650; }
.mcv-empty { padding:40px 18px; border:1px dashed #d9e1ed; border-radius:12px; background:#fff; color:#758198; text-align:center; font-size:13px; }
.mcv-pager { display:flex; justify-content:flex-end; align-items:center; gap:12px; margin-top:18px; font-size:12px; color:#74829a; }
.mcv-pager button,.mcv-back button,.mcv-secondary { padding:8px 13px; border:1px solid #cbd6e9; border-radius:8px; background:#fff; color:#3654ac; cursor:pointer; font:inherit; font-size:12px; font-weight:650; }
.mcv-primary { padding:9px 15px; border:1px solid #3d58ae; border-radius:8px; background:#3d58ae; color:#fff; cursor:pointer; font:inherit; font-size:12px; font-weight:700; }
.mcv-primary:disabled,.mcv-secondary:disabled,.mcv-pager button:disabled { opacity:.5; cursor:not-allowed; }
.mcv-back { margin:0 0 16px; }.mcv-back button { border:0; padding-left:0; background:none; }
.mcv-detail-header { align-items:center; padding:21px 24px; border:1px solid #e0e6ef; border-radius:14px; background:#fff; margin-bottom:18px; }
.mcv-detail-header h1 { margin-top:8px; }.mcv-header-actions { flex:none; }
.mcv-detail-layout { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(260px,.8fr); gap:18px; align-items:start; }
.mcv-panel { min-width:0; padding:22px 24px; border:1px solid #e0e6ef; border-radius:14px; background:#fff; }
.mcv-panel h2 { margin:0 0 14px; font-size:16px; }.mcv-panel h3 { margin:0 0 8px; font-size:14px; }
.mcv-intro { max-width:75ch; margin:0 0 15px; font-size:14px; line-height:1.8; color:#34425c; }
.mcv-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 26px; margin:0; }
.mcv-facts>div { min-width:0; padding:11px 0; border-bottom:1px solid #edf0f5; }
.mcv-facts dt { margin-bottom:6px; color:#73829a; font-size:12px; }.mcv-facts dd { margin:0; overflow-wrap:anywhere; color:#24334f; font-size:13px; line-height:1.65; }
.mcv-facts a,.mcv-dialog-body a { color:#3654ac; }.mcv-advice>strong { display:block; font-size:18px; margin:8px 0 9px; }.mcv-advice p { line-height:1.75; font-size:13px; color:#51627c; }
.mcv-gaps { padding:10px 12px; border-radius:8px; background:#fff5e7; color:#845b1e; font-size:12px; line-height:1.6; }.mcv-gaps.is-ready { background:#eaf6ef; color:#1d7851; }.mcv-advice small { display:block; margin-top:16px; color:#7c8a9e; line-height:1.6; }
.mcv-enterprises { margin-top:18px; }.mcv-section-head { align-items:center; margin-bottom:15px; }.mcv-section-head h2 { margin-bottom:5px; }
.mcv-job { margin-bottom:14px; padding:10px 13px; border-radius:8px; background:#f3f6fb; color:#52657e; font-size:12px; }
.mcv-enterprise-table { overflow-x:auto; border:1px solid #e6ebf2; border-radius:9px; }.mcv-enterprise-row { display:grid; grid-template-columns:minmax(180px,1.65fr) minmax(140px,1.4fr) minmax(125px,1.2fr) minmax(145px,1.2fr) 110px 72px; gap:16px; align-items:center; min-width:920px; padding:13px 15px; border-bottom:1px solid #e9eef4; color:#566780; font-size:12px; }.mcv-enterprise-row:last-child { border-bottom:0; }.mcv-enterprise-row.is-head { background:#f7f9fc; color:#718099; font-weight:700; }.mcv-enterprise-row strong { display:block; color:#1f2f4b; font-size:13px; }.mcv-enterprise-row small { display:block; margin-top:5px; color:#77859a; line-height:1.5; }.mcv-enterprise-row>span { min-width:0; overflow-wrap:anywhere; }.mcv-profile-status { color:#3e5abd; font-style:normal; }.mcv-link { padding:4px 0; border:0; background:none; color:#3557b5; font:inherit; font-weight:700; cursor:pointer; }
.mcv-dialog { box-sizing:border-box; width:min(900px,calc(100vw - 32px)); max-width:none; max-height:min(86vh,900px); padding:0; border:1px solid #dbe3ee; border-radius:18px; background:#fff; color:#17213b; box-shadow:0 22px 60px rgba(20,34,68,.22); }.mcv-dialog::backdrop { background:rgba(23,34,55,.45); }.mcv-review-dialog { width:min(560px,calc(100vw - 32px)); }.mcv-dialog-shell { display:flex; flex-direction:column; max-height:min(86vh,900px); }.mcv-dialog header,.mcv-dialog footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 24px; }.mcv-dialog header { border-bottom:1px solid #e8edf4; }.mcv-dialog footer { border-top:1px solid #e8edf4; }.mcv-dialog header h2 { margin:0; font-size:19px; }.mcv-dialog header p { margin:5px 0 0; color:#708099; font-size:12px; }.mcv-dialog header>button { width:32px; height:32px; border:1px solid #dae2ed; border-radius:8px; background:#fff; color:#66758d; font-size:22px; cursor:pointer; }.mcv-dialog-body { overflow:auto; padding:22px 24px; }.mcv-dialog-body section { padding:0 0 20px; margin-bottom:20px; border-bottom:1px solid #ecf0f5; }.mcv-dialog-body section:last-child { border:0; margin-bottom:0; padding-bottom:0; }.mcv-dialog-body section p { font-size:13px; line-height:1.75; color:#52617a; }.mcv-dialog-body label { display:block; margin-top:18px; color:#53647c; font-size:13px; }.mcv-dialog-body textarea { display:block; width:100%; min-height:100px; box-sizing:border-box; margin-top:8px; padding:10px; border:1px solid #cbd5e4; border-radius:8px; font:inherit; resize:vertical; }.mcv-form-error { color:#a83b3b; font-size:12px; }.mcv-enterprise-status { margin-bottom:18px; color:#3d5ab1; font-size:12px; font-weight:700; }.mcv-dialog footer>span { margin-right:auto; color:#7a879a; font-size:12px; }.mcv-dialog details { margin-top:10px; font-size:12px; }.mcv-dialog details a { display:block; margin-top:8px; overflow-wrap:anywhere; }
.mcv-search input:focus-visible,.mcv-tabs button:focus-visible,.mcv-primary:focus-visible,.mcv-secondary:focus-visible,.mcv-link:focus-visible,.mcv-back button:focus-visible,.mcv-dialog button:focus-visible,.mcv-dialog textarea:focus-visible { outline:2px solid #3e5abd; outline-offset:2px; }
@media(max-width:1250px) { .mcv-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { .mcv-heading,.mcv-detail-header,.mcv-section-head { flex-direction:column; }.mcv-search,.mcv-search input { width:100%; }.mcv-grid,.mcv-detail-layout,.mcv-facts { grid-template-columns:1fr; }.mcv-dialog header,.mcv-dialog footer { padding:15px 18px; }.mcv-dialog-body { padding:18px; }.mcv-dialog footer { flex-wrap:wrap; }.mcv-dialog footer>span { width:100%; } }
.mcv-heading-actions{display:flex;align-items:center;gap:10px}.mcv-heading-actions .mcv-primary{min-height:40px;white-space:nowrap}
.mcv-channel-card{cursor:default}.mcv-channel-card:hover{box-shadow:0 6px 20px rgba(34,58,112,.08)}
.mcv-card-title{padding:0;border:0;background:none;color:#17213b;text-align:left;font:inherit;font-size:16px;font-weight:700;line-height:1.5;cursor:pointer}.mcv-card-title:hover,.mcv-card-title:focus-visible{color:#3654ac;text-decoration:underline}
.mcv-card-foot .mcv-link{font-size:12px}.mcv-delete{padding:5px 8px;border:1px solid #f2d7d7;border-radius:7px;background:#fff;color:#b64040;cursor:pointer;font:inherit;font-size:12px;font-weight:700}.mcv-delete:hover{background:#fff0f0}
.mcv-card-foot{justify-content:flex-end}.mcv-advice h2 small{margin-left:8px;color:#7b899e;font-size:11px;font-weight:500}.mcv-advice-detail{display:grid;gap:12px;margin:14px 0 0}.mcv-advice-detail div{padding-top:11px;border-top:1px solid #e9eef5}.mcv-advice-detail dt{margin-bottom:5px;color:#7b899e;font-size:11px}.mcv-advice-detail dd{margin:0;color:#40516c;font-size:13px;line-height:1.7}
.mcv-empty .mcv-secondary{display:block;margin:14px auto 0}
.mcv-resource-dialog{width:min(1080px,calc(100vw - 32px));height:min(82vh,820px)}.mcv-resource-dialog .mcv-dialog-shell{height:100%;max-height:none}.mcv-resource-dialog .mcv-dialog-body{flex:1;min-height:0}
.mcv-resource-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 24px 0}.mcv-resource-toolbar .mcv-tabs{flex:1;margin:0}.mcv-resource-toolbar .mcv-search{padding-bottom:5px}
.mcv-resource-body{padding-top:14px}.mcv-resource-list{border:1px solid #e1e7f0;border-radius:10px;overflow:auto}.mcv-resource-row{display:grid;grid-template-columns:minmax(190px,2fr) minmax(130px,1fr) 90px 190px;align-items:center;gap:14px;min-height:61px;padding:10px 14px;border-bottom:1px solid #e9eef5;font-size:12px}.mcv-resource-row:last-child{border-bottom:0}.mcv-resource-name{min-width:0}.mcv-resource-name strong,.mcv-resource-name small{display:block;overflow-wrap:anywhere}.mcv-resource-name strong{color:#1d2d49;font-size:13px}.mcv-resource-name small{margin-top:4px;color:#7b899e}.mcv-resource-contact{overflow-wrap:anywhere;color:#5f6f87}.mcv-resource-row .mcv-state{justify-self:start}.mcv-resource-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.mcv-resource-actions .mcv-secondary{white-space:nowrap}.mcv-resource-added{color:#7d8ba0}.mcv-resource-pager{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:12px;color:#687891}
.mcv-resource-name .mcv-demo{display:inline-block}
@media(max-width:760px){.mcv-heading-actions,.mcv-resource-toolbar{width:100%;flex-direction:column;align-items:stretch}.mcv-heading-actions .mcv-primary{width:100%}.mcv-resource-toolbar{padding:4px 18px 0}.mcv-resource-toolbar .mcv-search input{width:100%}.mcv-resource-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.mcv-resource-name{grid-column:1/-1}.mcv-resource-contact{grid-column:1}.mcv-resource-row .mcv-state{grid-column:2;grid-row:2}.mcv-resource-actions{grid-column:1/-1;justify-content:flex-start}.mcv-resource-dialog footer{align-items:flex-start}.mcv-resource-pager{width:100%;justify-content:flex-end}}
#crawlResultsDrawer.home-card-drawer{left:auto;right:0;width:min(850px,100vw);border-left:1px solid #e2e7ef;border-right:0;box-shadow:-22px 0 50px rgba(16,24,40,.16);transform:translateX(102%)}#crawlResultsDrawer.home-card-drawer.is-open{transform:translateX(0)}
#crawlResultsDrawer .crawl-drawer-body{background:#f7f9fc}#crawlResultsDrawer .crawl-results-metrics{background:#fff!important}#crawlResultsDrawer .crawl-live-status{margin-top:16px}
.crawl-overview-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.crawl-chart-card{min-width:0;padding:20px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.crawl-chart-card:last-child{grid-column:1/-1}.crawl-chart-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:18px}.crawl-chart-head h3{margin:0;color:#1d2c46;font-size:15px}.crawl-chart-head span{color:#7a899c;font-size:11px}.crawl-chart-bars{display:grid;gap:15px}.crawl-chart-row{display:grid;grid-template-columns:110px minmax(0,1fr) 28px;align-items:center;gap:10px;color:#5b6b84;font-size:12px}.crawl-chart-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crawl-chart-row b{text-align:right;color:#253550;font-size:12px}.crawl-chart-track{height:10px;border-radius:10px;background:#edf1f8;overflow:hidden}.crawl-chart-track i{display:block;height:100%;min-width:2px;border-radius:10px;background:#506bd0}.crawl-chart-track i.is-region{background:#28ad95}.crawl-chart-track i.is-score{background:#6b8bed}.crawl-chart-empty,.crawl-chart-loading,.crawl-chart-error{padding:28px 12px;color:#76849a;text-align:center;font-size:13px}.crawl-chart-error{color:#a83b3b}
@media(max-width:760px){.crawl-overview-charts{grid-template-columns:1fr}.crawl-chart-card:last-child{grid-column:auto}.crawl-chart-row{grid-template-columns:95px minmax(0,1fr) 25px}.crawl-chart-card{padding:17px}}
.mcv-resource-dialog{width:min(1180px,calc(100vw - 32px));height:min(88vh,880px)}.mcv-resource-pages{display:flex;align-items:center;gap:12px;padding:0 26px;border-bottom:1px solid #e9eef6}.mcv-resource-pages button{padding:12px 2px;border:0;border-bottom:2px solid transparent;background:none;color:#8592a7;font:inherit;font-size:13px;cursor:pointer}.mcv-resource-pages button.is-active{border-bottom-color:#3d58ae;color:#3151ac;font-weight:750}.mcv-resource-pages>span{color:#a6b2c4}.mcv-overview-body{background:#f6f8fc;display:grid;align-content:start;gap:16px}.mcv-overview-hero,.mcv-overview-panel,.mcv-overview-kpis>button{border:1px solid #e0e7f1;border-radius:14px;background:#fff}.mcv-overview-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;background:linear-gradient(110deg,#f7f9ff,#fff 65%)}.mcv-overview-hero h3{margin:5px 0 6px;font-size:20px;line-height:1.35}.mcv-overview-hero p{margin:0;color:#6d7d95;font-size:12px}.mcv-eyebrow{color:#4461b8;font-size:11px;font-weight:750;letter-spacing:.04em}.mcv-overview-search{display:flex;align-items:center;gap:8px;margin-top:16px}.mcv-overview-search input,.mcv-resource-filters input,.mcv-resource-filters select{box-sizing:border-box;min-height:37px;padding:0 10px;border:1px solid #d5dfed;border-radius:8px;background:#fff;color:#273753;font:inherit;font-size:12px}.mcv-overview-search input{width:min(320px,35vw)}.mcv-overview-hero>.mcv-secondary{align-self:flex-start;white-space:nowrap}.mcv-overview-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mcv-overview-kpis>button{display:grid;gap:5px;padding:17px 19px;text-align:left;cursor:pointer}.mcv-overview-kpis>button:hover,.mcv-overview-type:hover,.mcv-overview-score:hover,.mcv-region-chips button:hover{border-color:#9bafe8;box-shadow:0 5px 16px rgba(44,75,144,.08)}.mcv-overview-kpis span,.mcv-overview-kpis small{color:#78869c;font-size:11px}.mcv-overview-kpis strong{font-size:27px;line-height:1.1;color:#243960}.mcv-overview-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:16px}.mcv-overview-panel{min-width:0;padding:19px 21px}.mcv-overview-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.mcv-overview-section-head h3{margin:0;font-size:15px}.mcv-overview-section-head>span{color:#8895a9;font-size:11px}.mcv-overview-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mcv-overview-type{display:flex;align-items:center;gap:11px;min-width:0;min-height:66px;padding:11px;border:1px solid #e5eaf2;border-radius:10px;background:#fbfcfe;text-align:left;cursor:pointer}.mcv-overview-type>span:nth-child(2){display:grid;gap:4px;min-width:0}.mcv-overview-type strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#263756;font-size:12px}.mcv-overview-type small{color:#8290a5;font-size:11px}.mcv-overview-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:10px;background:#edf2ff;color:#4b67c0}.mcv-overview-icon svg{width:21px;height:21px}.mcv-overview-icon.is-park{background:#eaf4ff;color:#3e78ba}.mcv-overview-icon.is-training{background:#fff2e4;color:#b9752a}.mcv-overview-icon.is-association{background:#e8f8f4;color:#278c78}.mcv-overview-icon.is-service{background:#f1edff;color:#7561b8}.mcv-overview-arrow{margin-left:auto;color:#8999b2}.mcv-overview-scores{display:grid;gap:8px}.mcv-overview-score{position:relative;display:grid;grid-template-columns:10px minmax(0,1fr) 28px;align-items:center;gap:9px;min-height:42px;padding:6px 10px 9px;border:1px solid #e6ebf2;border-radius:8px;background:#fff;color:#4c5d78;text-align:left;font:inherit;font-size:11px;cursor:pointer}.mcv-overview-score strong{text-align:right;color:#243756}.mcv-overview-score i{position:absolute;bottom:0;left:0;height:3px;max-width:100%;background:#5974ce;border-radius:0 3px 3px 8px}.mcv-score-dot{width:8px;height:8px;border-radius:50%;background:#647fca}.mcv-score-dot.is-high{background:#2aab83}.mcv-score-dot.is-medium{background:#5274d1}.mcv-score-dot.is-low{background:#e5a759}.mcv-score-dot.is-unscored{background:#9da9ba}.mcv-score-explain{margin:13px 0 0;color:#7b899d;font-size:11px;line-height:1.65}.mcv-overview-region{padding-top:16px;padding-bottom:17px}.mcv-overview-region .mcv-overview-section-head{margin-bottom:11px}.mcv-region-chips{display:flex;flex-wrap:wrap;gap:8px}.mcv-region-chips button{display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid #e3e9f2;border-radius:8px;background:#f9fbfe;color:#536580;font:inherit;font-size:11px;cursor:pointer}.mcv-region-chips strong{color:#3153ab}.mcv-muted{color:#8290a5;font-size:12px}.mcv-resource-filters{display:flex;flex-wrap:wrap;gap:8px;padding:15px 24px 10px}.mcv-resource-filters select{max-width:175px}.mcv-resource-search{flex:1 1 240px}.mcv-resource-search input{width:100%}.mcv-resource-list-head{display:flex;justify-content:space-between;align-items:center;padding:0 25px 9px;color:#728199;font-size:11px}.mcv-resource-body{padding-top:0}.mcv-resource-row{grid-template-columns:minmax(190px,2fr) 88px minmax(130px,1fr) 84px 175px}.mcv-resource-score strong,.mcv-resource-score small{display:block}.mcv-resource-score strong{color:#3556ad;font-size:13px}.mcv-resource-score small{margin-top:4px;color:#8a97a8;font-size:10px}.mcv-resource-score .is-unscored{color:#8895a7;font-size:11px}.mcv-resource-dialog footer .mcv-primary{white-space:nowrap}
.mcv-overview-search .sr-only,.mcv-resource-search .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mcv-resource-row.is-head{min-height:35px;background:#f7f9fc;color:#8190a7;font-size:11px;font-weight:700}.mcv-resource-row.is-head span{white-space:nowrap}
.mcv-overview-body{gap:12px}.mcv-overview-hero{padding:16px 20px}.mcv-overview-search{margin-top:11px}.mcv-overview-kpis>button{padding:12px 16px}.mcv-overview-kpis strong{font-size:24px}.mcv-overview-columns{gap:12px}.mcv-overview-panel{padding:15px 17px}.mcv-overview-section-head{margin-bottom:11px}.mcv-overview-type{min-height:54px;padding:7px 9px}.mcv-overview-icon{width:34px;height:34px}.mcv-overview-score{min-height:35px}.mcv-score-explain{margin-top:9px}.mcv-overview-region{padding-top:13px;padding-bottom:13px}
@media(max-width:850px){.mcv-overview-columns{grid-template-columns:1fr}.mcv-overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.mcv-resource-row{grid-template-columns:minmax(150px,2fr) 68px minmax(105px,1fr) 70px 145px;gap:9px}.mcv-resource-filters select{max-width:none;flex:1 1 130px}}
@media(max-width:760px){.mcv-resource-dialog{width:calc(100vw - 18px);height:min(94vh,950px)}.mcv-resource-pages{padding:0 18px}.mcv-overview-body{padding:15px}.mcv-overview-hero{display:block;padding:18px}.mcv-overview-hero>.mcv-secondary{margin-top:14px}.mcv-overview-search input{width:100%;min-width:0}.mcv-overview-search .mcv-primary{white-space:nowrap}.mcv-overview-panel{padding:16px}.mcv-overview-types{grid-template-columns:1fr 1fr}.mcv-overview-type{min-height:62px}.mcv-overview-icon{width:32px;height:32px}.mcv-overview-icon svg{width:18px;height:18px}.mcv-resource-filters{padding:13px 18px}.mcv-resource-search{flex-basis:100%}.mcv-resource-filters select{flex-basis:calc(50% - 5px)}.mcv-resource-row{grid-template-columns:minmax(0,1fr) auto;gap:7px}.mcv-resource-row.is-head{display:none}.mcv-resource-name{grid-column:1/-1}.mcv-resource-score{grid-column:1;grid-row:2}.mcv-resource-contact{grid-column:1;grid-row:3}.mcv-resource-row .mcv-state{grid-column:2;grid-row:2}.mcv-resource-actions{grid-column:1/-1;justify-content:flex-start}.mcv-resource-list-head{padding:0 18px 8px}}

/* 客户资源概览沿用市场化模块的灰阶操作台语言。 */
.mcv-channel-card .mcv-card-foot {
  border-top:0;
  padding-top:0;
}
.mcv-resource-dialog header,
.mcv-resource-dialog footer {
  border:0;
}
.mcv-resource-dialog header {
  padding-bottom:10px;
}
.mcv-resource-pages {
  gap:8px;
  padding:0 24px 12px;
  border:0;
}
.mcv-resource-pages button {
  min-height:34px;
  padding:7px 14px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:#697386;
  line-height:1.4;
}
.mcv-resource-pages button.is-active {
  border-color:#dfe5ee;
  background:#f5f6f7;
  color:#17191c;
}
.mcv-overview-body {
  gap:14px;
  padding:8px 24px 20px;
  background:#fff;
}
.mcv-overview-hero {
  display:block;
  padding:16px 18px;
  border:0;
  border-radius:12px;
  background:#f5f6f7;
}
.mcv-overview-hero h3 {
  margin:0 0 5px;
  color:#17191c;
  font-size:16px;
}
.mcv-overview-hero p {
  color:#697386;
}
.mcv-overview-search {
  margin-top:12px;
}
.mcv-overview-search input {
  width:min(350px,42vw);
}
.mcv-resource-dialog .mcv-primary {
  border-color:#15171a;
  background:#15171a;
}
.mcv-overview-kpis {
  gap:10px;
}
.mcv-overview-kpis>button {
  gap:5px;
  min-height:92px;
  padding:14px 16px;
  border-color:#e5e7eb;
  border-radius:12px;
  background:#f8f9fa;
}
.mcv-overview-kpis strong {
  color:#17191c;
  font-size:25px;
  font-variant-numeric:tabular-nums;
}
.mcv-overview-kpis span,
.mcv-overview-kpis small {
  color:#697386;
}
.mcv-overview-columns {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}
.mcv-resource-dialog .mcv-overview-body section {
  margin:0;
  padding:16px 18px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
}
.mcv-overview-section-head {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:baseline;
  gap:12px;
  min-height:24px;
  margin:0 0 12px;
}
.mcv-overview-section-head h3 {
  color:#17191c;
  font-size:14px;
  line-height:20px;
}
.mcv-overview-section-head>span,
.mcv-overview-section-head>.mcv-link {
  color:#697386;
  font-size:11px;
  line-height:20px;
  white-space:nowrap;
}
.mcv-overview-types,
.mcv-overview-scores {
  gap:8px;
}
.mcv-overview-type,
.mcv-overview-score {
  min-height:52px;
  border-color:#e5e7eb;
  border-radius:8px;
  background:#f8f9fa;
  color:#343a40;
}
.mcv-overview-type {
  gap:10px;
  padding:8px 10px;
}
.mcv-overview-type strong {
  color:#343a40;
  font-size:12px;
}
.mcv-overview-type small {
  color:#697386;
}
.mcv-overview-icon,
.mcv-overview-icon.is-park,
.mcv-overview-icon.is-training,
.mcv-overview-icon.is-association,
.mcv-overview-icon.is-service {
  width:32px;
  height:32px;
  border-radius:8px;
  background:#eef3ff;
  color:#1b4be5;
}
.mcv-overview-icon svg {
  width:18px;
  height:18px;
}
.mcv-overview-score {
  grid-template-columns:8px minmax(0,1fr) 46px;
  gap:10px;
  padding:8px 12px;
  font-size:12px;
}
.mcv-overview-score strong {
  color:#17191c;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.mcv-score-dot,
.mcv-score-dot.is-high,
.mcv-score-dot.is-medium,
.mcv-score-dot.is-low,
.mcv-score-dot.is-unscored {
  background:#8e98a8;
}
.mcv-overview-score:hover,
.mcv-overview-type:hover,
.mcv-overview-kpis>button:hover,
.mcv-region-chips button:hover {
  border-color:#b8c7ed;
  background:#eef3ff;
  box-shadow:none;
}
.mcv-score-explain {
  margin:10px 0 0;
  color:#697386;
  font-size:11px;
  line-height:1.6;
}
.mcv-overview-region .mcv-overview-section-head {
  margin-bottom:10px;
}
.mcv-region-chips button {
  border-color:#e5e7eb;
  background:#f8f9fa;
  color:#343a40;
}
.mcv-region-chips strong {
  color:#17191c;
  font-variant-numeric:tabular-nums;
}
.mcv-resource-dialog footer {
  padding-top:10px;
}
@media(max-width:850px) {
  .mcv-overview-columns {
    grid-template-columns:1fr;
  }
}
@media(max-width:760px) {
  .mcv-resource-pages {
    padding:0 18px 10px;
  }
  .mcv-overview-body {
    padding:8px 18px 18px;
  }
  .mcv-overview-hero {
    padding:16px;
  }
  .mcv-overview-search input {
    width:100%;
    min-width:0;
  }
  .mcv-resource-dialog .mcv-overview-body section {
    padding:15px;
  }
  .mcv-overview-section-head {
    grid-template-columns:1fr;
    gap:2px;
  }
  .mcv-overview-types {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:440px) {
  .mcv-overview-kpis {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .mcv-overview-types {
    grid-template-columns:1fr;
  }
}

.mcv-channel-card .mcv-card-foot {
  gap:16px;
  margin-top:auto;
  min-height:28px;
}
.mcv-channel-card .mcv-card-meta {
  flex:1;
  min-width:0;
  margin:0;
  line-height:1.5;
}
.mcv-channel-card .mcv-card-foot .mcv-link {
  flex:none;
  white-space:nowrap;
  line-height:1.5;
}
.mcv-header-actions {
  display:flex;
  align-items:center;
  gap:8px;
}
.mcv-detail-page-title {
  margin:0 0 14px;
  color:#17191c;
  font-size:18px;
  line-height:1.5;
}
.mcv-enterprises {
  margin-top:0;
}
.mcv-enterprises .mcv-section-head h2 {
  margin:0;
}
@media(max-width:760px) {
  .mcv-channel-card .mcv-card-foot {
    align-items:center;
  }
  .mcv-detail-header .mcv-header-actions {
    align-self:stretch;
    flex-wrap:wrap;
  }
}

.mcv-info-stack { display:grid; gap:16px; }
.mcv-info-profile,.mcv-info-ai { padding:24px 28px; }
.mcv-info-section-head { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:18px; }
.mcv-info-section-head h2 { margin:0 0 5px; }
.mcv-info-section-head p { margin:0; color:#7b8798; font-size:11px; }
.mcv-info-profile .mcv-intro { max-width:none; margin-bottom:20px; padding:14px 16px; border-radius:9px; background:#f8f9fb; }
.mcv-info-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 32px; }
.mcv-info-facts>div { padding:14px 0; border-top:1px solid #e9edf3; border-bottom:0; }
.mcv-info-facts dt { display:flex; align-items:center; gap:7px; color:#748094; }
.mcv-fact-icon { flex:none; width:15px; height:15px; color:#627ab5; }
.mcv-info-facts dd { color:#26344c; font-size:13px; }
.mcv-info-ai-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:16px; }
.mcv-info-ai-head h2 { margin:0 0 5px; }
.mcv-info-ai-head span { color:#7b8798; font-size:11px; }
.mcv-info-ai-head strong { max-width:45%; padding:7px 11px; border-radius:7px; background:#edf2ff; color:#3153a9; font-size:13px; line-height:1.5; text-align:right; }
.mcv-info-ai .mcv-advice-detail { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 32px; margin-top:4px; }
.mcv-info-ai .mcv-advice-detail div { min-width:0; padding:16px 0; border-top:1px solid #e9edf3; }
.mcv-info-ai .mcv-advice-detail dt { margin-bottom:8px; color:#748094; font-size:12px; }
.mcv-info-ai .mcv-advice-detail dd { color:#34445f; font-size:13px; line-height:1.8; }
.mcv-info-ai>small { margin-top:6px; }

.mcv-resource-tabbar { padding:0 24px 12px; }
.mcv-resource-tabbar .segmented-control { width:auto; max-width:100%; }
.mcv-resource-tabbar .resource-tabs button { min-width:86px; }
.mcv-radar-content { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:center; gap:14px; min-height:220px; }
.mcv-radar { display:block; width:100%; max-width:260px; height:auto; aspect-ratio:12 / 11; margin:auto; }
.mcv-radar-grid { fill:none; stroke:#e1e6ef; stroke-width:1; }
.mcv-radar-axis { stroke:#e1e6ef; stroke-width:1; }
.mcv-radar-area { fill:rgba(48,81,172,.15); stroke:#3859b4; stroke-width:2; }
.mcv-radar-dot { fill:#3859b4; }
.mcv-radar-dot.is-park { fill:#4972c4; }
.mcv-radar-dot.is-training { fill:#db9848; }
.mcv-radar-dot.is-association { fill:#3b9b8a; }
.mcv-radar-dot.is-service { fill:#8270be; }
.mcv-radar-dot.is-other { fill:#8191a6; }
.mcv-radar-legend { display:grid; gap:6px; }
.mcv-radar-item { display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0; padding:8px 9px; border:1px solid #e7eaf0; border-radius:7px; background:#f8f9fb; color:#45546a; text-align:left; font:inherit; font-size:11px; cursor:pointer; }
.mcv-radar-item span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mcv-radar-item span::before { content:''; display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:#8191a6; vertical-align:1px; }
.mcv-radar-item.is-park span::before { background:#4972c4; }
.mcv-radar-item.is-training span::before { background:#db9848; }
.mcv-radar-item.is-association span::before { background:#3b9b8a; }
.mcv-radar-item.is-service span::before { background:#8270be; }
.mcv-radar-item strong { flex:none; color:#26344c; font-variant-numeric:tabular-nums; }
.mcv-chart-list { display:grid; gap:8px; }
.mcv-chart-row { display:grid; gap:9px; width:100%; padding:9px 10px; border:1px solid #e7eaf0; border-radius:7px; background:#f8f9fb; color:#45546a; text-align:left; font:inherit; font-size:11px; cursor:pointer; }
.mcv-chart-row-copy { display:flex; align-items:baseline; justify-content:space-between; gap:8px; min-width:0; }
.mcv-chart-row-copy>span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mcv-chart-row-copy strong { flex:none; color:#26344c; font-variant-numeric:tabular-nums; }
.mcv-chart-track { display:block; overflow:hidden; height:7px; border-radius:8px; background:#e8edf5; }
.mcv-chart-track i { display:block; height:100%; border-radius:8px; background:#4263ba; }
.mcv-chart-row.is-high .mcv-chart-track i { background:#3b9b8a; }
.mcv-chart-row.is-medium .mcv-chart-track i { background:#4972c4; }
.mcv-chart-row.is-low .mcv-chart-track i { background:#db9848; }
.mcv-chart-row.is-unscored .mcv-chart-track i { background:#8998ae; }
.mcv-radar-item:hover,.mcv-chart-row:hover { border-color:#b8c7ed; background:#eef3ff; }
.mcv-chart-note { margin:13px 0 0; color:#78869a; font-size:11px; line-height:1.6; }
.mcv-region-bars { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 12px; }
.mcv-overview-region .mcv-chart-track i { background:#679ab5; }
@media(max-width:850px) { .mcv-radar-content { grid-template-columns:minmax(0,1fr) minmax(0,1fr); } }
@media(max-width:760px) { .mcv-info-profile,.mcv-info-ai { padding:20px; } .mcv-resource-tabbar { padding:0 18px 10px; } }
@media(max-width:550px) { .mcv-info-facts,.mcv-info-ai .mcv-advice-detail,.mcv-radar-content,.mcv-region-bars { grid-template-columns:1fr; } .mcv-info-ai-head { align-items:flex-start; flex-direction:column; } .mcv-info-ai-head strong { max-width:100%; text-align:left; } .mcv-radar { max-width:220px; } }

.mcv-grid{content-visibility:auto;contain-intrinsic-size:auto 500px}

/* v432: 与运营商客户资源共用列表密度，操作列仅查看详情。 */
.mcv-list-heading{margin-bottom:28px;align-items:center}.mcv-list-heading h1{margin:0;font-size:20px}.mcv-preview-label{color:#5d6f88;font-size:12px}
.mcv-list-heading p{margin-top:8px;font-size:13px;color:#62748c}.mcv-list-heading-actions{display:flex;align-items:center;gap:16px}.mcv-list-heading-actions button{min-height:40px;white-space:nowrap}
.mcv-list-panel{min-width:0;background:#fff;border:1px solid #dce4f0;border-radius:14px;overflow:hidden}
.mcv-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px}
.mcv-list-search{position:relative;flex:1;max-width:360px;min-width:180px}.mcv-list-search svg{position:absolute;width:16px;height:16px;left:11px;top:11px;color:#677991;pointer-events:none}
.mcv-list-search input{width:100%;height:38px;box-sizing:border-box;padding:0 12px 0 34px;border:1px solid #dce4f0;border-radius:7px;background:#f8fafc;color:#1e2d44;font:inherit;font-size:13px}
.mcv-list-tabs{flex:none;display:flex;gap:4px;padding:4px;background:#eef2f8;border-radius:8px}.mcv-list-tabs button{min-height:32px;padding:0 12px;background:transparent;border:0;border-radius:6px;color:#586b85;font:inherit;font-size:12px;cursor:pointer}.mcv-list-tabs button.is-active{background:#fff;color:#18365e;font-weight:700}.mcv-list-tabs span{margin-left:7px;font-variant-numeric:tabular-nums}
.mcv-list-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:0 16px 14px}.mcv-list-filters select{min-height:36px;max-width:210px;padding:0 30px 0 10px;border:1px solid #d4deec;border-radius:7px;background:#fff;color:#324b6b;font:inherit;font-size:12px}.mcv-list-filters .mcv-link{margin-left:auto}
.mcv-list-summary{display:flex;align-items:center;flex-wrap:wrap;gap:18px;min-height:35px;padding:0 16px 10px;color:#5e7088;font-size:12px}.mcv-list-summary .octans-loading{min-height:0}.mcv-list-summary>span{color:#5e7088}
.mcv-table-scroll{max-width:100%;overflow:auto}.mcv-list-table{width:100%;min-width:950px;table-layout:fixed;border-collapse:collapse;font-size:13px;color:#566983;text-align:left}.mcv-list-table th{padding:13px 12px;background:#f7f9fc;border-top:1px solid #e0e7f1;border-bottom:1px solid #e0e7f1;color:#647792;font-size:12px;font-weight:600}.mcv-list-table td{height:78px;box-sizing:border-box;padding:16px 12px;border-bottom:1px solid #e0e7f1;vertical-align:middle;overflow-wrap:anywhere;line-height:1.5}.mcv-list-table tr:nth-child(even){background:#fcfdff}.mcv-list-table tbody tr:hover{background:#f5f8fd}.mcv-list-table tbody tr:last-child td{border-bottom:0}
.mcv-col-score{width:7%}.mcv-col-name{width:24%}.mcv-col-type{width:13%}.mcv-col-region{width:12%}.mcv-col-phone{width:13%}.mcv-col-owner{width:7%}.mcv-col-state{width:10%}.mcv-col-material{width:7%}.mcv-col-action{width:7%}
.mcv-list-score{display:block;color:#238559;font-size:22px;font-variant-numeric:tabular-nums;line-height:1.2}.mcv-list-score.is-unscored{font-size:12px;color:#65758b;font-weight:400}.mcv-list-table td>small{display:block;margin-top:5px;color:#66758b;font-size:11px}
.mcv-list-table td>.mcv-demo{display:inline-block;margin-left:0;width:auto}
.mcv-list-name{padding:0;background:none;border:0;color:#172a46;font:inherit;font-size:13px;font-weight:700;text-align:left;cursor:pointer;line-height:1.5}.mcv-list-name:hover{color:#3557b8}.mcv-list-business{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.mcv-list-phone{font-variant-numeric:tabular-nums;color:#405a79}.mcv-list-operation{text-align:center;white-space:nowrap}.mcv-list-operation .mcv-link{min-height:36px;padding:0;font-size:12px}.mcv-list-table .mcv-state{white-space:normal;line-height:1.5}
.mcv-list-table th:last-child{ text-align:center }
.mcv-list-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border-top:1px solid #e0e7f1;color:#5e7088;font-size:12px}.mcv-list-panel :focus-visible{outline:2px solid #3e5dbb;outline-offset:3px}.mcv-list-panel .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.mcv-list-toolbar{gap:12px}.mcv-list-tabs button{padding:0 8px}.mcv-list-search{max-width:320px}.mcv-list-table th,.mcv-list-table td{padding-left:10px;padding-right:10px}}
@media(max-width:760px){.mcv-list-heading{margin-bottom:18px;flex-wrap:wrap;gap:8px}.mcv-list-heading h1{font-size:19px}.mcv-list-toolbar{align-items:stretch;flex-direction:column;gap:14px}.mcv-list-search{max-width:none;min-width:0;width:100%}.mcv-list-search input{font-size:16px}.mcv-list-tabs{width:100%;box-sizing:border-box}.mcv-list-tabs button{flex:1;min-height:38px;padding:0 6px}.mcv-list-filters select{flex:1 1 calc(50% - 10px);max-width:none;min-width:0;font-size:14px}.mcv-list-filters .mcv-link{margin-left:0;min-height:36px}.mcv-list-footer{align-items:flex-start;flex-direction:column}.mcv-list-footer .mcv-resource-pager{justify-content:space-between;width:100%}}
/* Market filters use the same menu, option and checkmark styles as operator pickers. */
.mcv-list-panel{overflow:visible}
.mcv-list-filters .mcv-filter-picker{position:relative;width:145px;flex:0 0 auto}
.mcv-list-filters .mcv-filter-picker[data-filter-kind="region"]{width:130px}
.mcv-list-filters .mcv-filter-picker[data-filter-kind="score"]{width:125px}
.mcv-list-filters .mcv-filter-picker[data-filter-kind="contact"]{width:170px}
.mcv-list-filters .mcv-filter-picker[data-filter-kind="sort"]{width:185px}
.mcv-filter-picker select[hidden]{display:none!important}
.mcv-filter-picker .region-picker-trigger{box-sizing:border-box;grid-template-columns:minmax(0,1fr) 14px;gap:10px;height:38px;padding:0 11px;border:1px solid #d3dbe8;border-radius:8px;background:#fff;color:#233a5b;font:inherit;font-size:13px}
.mcv-filter-picker .region-picker-trigger strong{font-weight:600}
.mcv-filter-picker.is-open .region-picker-trigger{border-color:#4968c4}
.mcv-filter-picker .region-picker-caret{transform:rotate(45deg)}
.mcv-filter-picker.is-open .region-picker-caret{transform:rotate(225deg)}
.mcv-filter-picker .region-picker-menu{left:0;right:auto;box-sizing:border-box;width:max(100%,220px);max-width:calc(100vw - 40px);z-index:120}
.mcv-filter-picker .region-option{min-height:38px;padding:0 10px;font:inherit;font-size:13px}
.mcv-filter-picker .region-option.is-selected{background:var(--brand-soft,#eef2ff);color:var(--brand,#3f5eb9);font-weight:600}
.mcv-filter-picker .region-option:focus-visible{background:#f2f5fb;outline:2px solid #4968c4;outline-offset:-2px}
.mcv-table-scroll{border-radius:0 0 14px 14px}
.mcv-resource-filters .mcv-filter-picker{position:relative;width:145px;flex:0 0 auto}
.mcv-resource-filters .mcv-filter-picker[data-filter-kind="contact"]{width:170px}
.mcv-resource-filters .mcv-filter-picker[data-filter-kind="sort"]{width:185px}
.mcv-resource-dialog .mcv-dialog-shell{overflow:visible}
.mcv-resource-dialog .mcv-resource-row{grid-template-columns:minmax(190px,2fr) 88px minmax(130px,1fr) 84px 88px}
.mcv-resource-dialog .mcv-resource-row.is-head>span:last-child{text-align:center}
.mcv-resource-dialog .mcv-resource-actions{justify-content:center}
.mcv-resource-filters .mcv-filter-picker [hidden]{display:none!important}
@media(max-width:760px){.mcv-resource-filters .mcv-filter-picker{flex:1 1 calc(50% - 8px);width:auto!important;min-width:0}.mcv-resource-dialog .mcv-resource-row{grid-template-columns:minmax(0,1fr) auto}.mcv-resource-dialog .mcv-resource-row.is-head{display:none}}
@media(max-width:760px){.mcv-list-filters .mcv-filter-picker{flex:1 1 calc(50% - 10px);width:auto!important;min-width:0}.mcv-filter-picker .region-picker-trigger{height:40px;font-size:14px}.mcv-filter-picker .region-picker-menu{width:100%;min-width:0;max-width:100%}}
/* Compact channel dossier: contact and evidence visible together in the first screen. */
.mcv-detail-screen .mcv-back{margin-bottom:14px}
.mcv-detail-screen .mcv-compact-header{gap:20px;margin-bottom:16px;padding:18px 20px;align-items:center}
.mcv-detail-identity{min-width:0}.mcv-detail-tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.mcv-detail-demo{font-size:11px;color:#62738a}.mcv-compact-header h1{margin:8px 0 8px;font-size:21px;line-height:1.4;overflow-wrap:anywhere}
.mcv-detail-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;color:#5c6f89;font-size:12px}.mcv-compact-header .mcv-header-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.mcv-compact-header .mcv-header-actions>button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:none;width:88px;height:40px;padding:0;border-radius:8px;white-space:nowrap}
.mcv-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:16px}
.mcv-profile-layout .mcv-panel{min-width:0;margin:0;padding:18px 20px;border-radius:12px}
.mcv-profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.mcv-profile-section-head h2,.mcv-analysis-head h2{margin:0;font-size:15px;line-height:1.4}.mcv-profile-section-head>span{color:#62748b;font-size:11px}
.mcv-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0}
.mcv-profile-facts>div{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:start;gap:10px;padding:12px 0;border-top:1px solid #e6ebf3;min-width:0}.mcv-profile-facts>div.is-wide{grid-column:1/-1}
.mcv-profile-facts dt,.mcv-source-facts dt{margin:0;color:#62738b;font-size:12px;line-height:1.6}.mcv-profile-facts dd{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px;margin:0;color:#243954;font-size:13px;line-height:1.6;overflow-wrap:anywhere;min-width:0}.mcv-profile-facts dd>span{min-width:0;overflow-wrap:anywhere}.mcv-profile-facts dd small{color:#62738b;font-size:11px}
.mcv-copy-contact{padding:0;border:0;background:none;color:#3655b3;font:inherit;font-size:12px;line-height:1.6;cursor:pointer;flex:none}.mcv-copy-contact:hover{text-decoration:underline}.mcv-value-pending{color:#6d7b90}
.mcv-profile-side{display:grid;gap:16px;min-width:0}.mcv-analysis-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.mcv-analysis-status{font-size:12px;color:#3556ac;line-height:1.5}.mcv-analysis-status.is-muted{color:#68778e}.mcv-profile-layout .mcv-analysis-reason{margin:0 0 12px;color:#3a4e69;font-size:13px;line-height:1.65}.mcv-analysis-note{padding-top:12px;border-top:1px solid #e6ebf3;color:#516581;font-size:12px;line-height:1.65}.mcv-profile-layout .mcv-info-ai>small{display:block;margin-top:12px;color:#65758b;font-size:11px;line-height:1.6}
.mcv-analysis-facts{display:grid;gap:12px;margin:0}.mcv-analysis-facts div{padding-top:10px;border-top:1px solid #e6ebf3}.mcv-analysis-facts dt{margin-bottom:5px;color:#62738b;font-size:12px}.mcv-analysis-facts dd{margin:0;color:#314762;font-size:13px;line-height:1.65}
.mcv-source-facts{display:grid;gap:0;margin:0}.mcv-source-facts>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;padding:10px 0;border-top:1px solid #e6ebf3}.mcv-source-facts dd{margin:0;color:#314762;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.mcv-source-facts dd small{display:block;color:#63768f;font-size:11px;margin-top:3px}.mcv-source-facts a,.mcv-profile-facts a{color:#3655b3}.mcv-source-note{margin:8px 0 0;color:#63748a;font-size:11px;line-height:1.6}
.mcv-detail-screen :focus-visible{outline:2px solid #3f5fbb;outline-offset:3px}
.mcv-profile-section-head h2,.mcv-analysis-head h2{display:flex;align-items:center;gap:9px}
.mcv-section-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;border-radius:8px}
.mcv-section-icon.is-profile{color:#3657b7;background:#edf2ff}.mcv-section-icon.is-analysis{color:#7552b4;background:#f3edff}.mcv-section-icon.is-source{color:#087b71;background:#e7f6f2}
.mcv-detail-icon{flex:none;width:16px;height:16px}.mcv-section-icon .mcv-detail-icon{width:18px;height:18px}
.mcv-profile-facts dt{display:flex;align-items:center;gap:6px}.mcv-profile-facts dt svg{flex:none;width:14px;height:14px}
.mcv-profile-facts .is-phone dt svg,.mcv-profile-facts .is-phone dd>span:first-child{color:#08776b}.mcv-profile-facts .is-phone dd>span:first-child{font-weight:600}
.mcv-profile-facts .is-email dt svg,.mcv-profile-facts .is-owner dt svg{color:#3659b5}.mcv-profile-facts .is-score dt svg,.mcv-profile-facts .is-service dt svg{color:#7552b4}.mcv-profile-facts .is-region dt svg,.mcv-profile-facts .is-address dt svg{color:#a36515}.mcv-profile-facts .is-state dt svg{color:#517392}
.mcv-profile-layout .mcv-analysis-status{padding:3px 8px;border-radius:6px;background:#f2edfb;color:#6c4aab}.mcv-profile-layout .mcv-analysis-status.is-muted{background:#f0f2f6;color:#657188}
.mcv-copy-contact{display:inline-flex;align-items:center;gap:4px;vertical-align:middle}.mcv-copy-contact .mcv-detail-icon{width:12px;height:12px}
.mcv-enterprise-dialog header h2{display:flex;align-items:center;gap:10px;min-width:0}.mcv-enterprise-dialog header h2>span:last-child{overflow-wrap:anywhere}
.mcv-enterprise-dialog h3{display:flex;align-items:center;gap:9px;font-size:15px;margin:0 0 14px}
.mcv-enterprise-dialog .mcv-facts dt{display:flex;align-items:center;gap:6px}.mcv-enterprise-dialog .mcv-facts dt svg{width:14px;height:14px;flex:none}
.mcv-enterprise-dialog .mcv-enterprise-field.is-phone dt svg,.mcv-enterprise-dialog .mcv-enterprise-field.is-phone dd{color:#08776b}.mcv-enterprise-dialog .mcv-enterprise-field.is-phone dd{font-weight:600}
.mcv-enterprise-dialog .mcv-enterprise-field.is-owner dt svg,.mcv-enterprise-dialog .mcv-enterprise-field.is-email dt svg,.mcv-enterprise-dialog .mcv-enterprise-field.is-website dt svg{color:#3659b5}.mcv-enterprise-dialog .mcv-enterprise-field.is-service dt svg{color:#7552b4}.mcv-enterprise-dialog .mcv-enterprise-field.is-address dt svg{color:#a36515}
.mcv-enterprise-dialog .mcv-enterprise-status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:7px;background:#f0f3f8;color:#586b85;font-size:12px;font-weight:500;line-height:1.6;margin-bottom:18px}
.mcv-enterprise-dialog .mcv-enterprise-status.is-partial{color:#8b5a16;background:#fff5e5}.mcv-enterprise-dialog .mcv-enterprise-status.is-verified{color:#08776b;background:#e9f6f1}.mcv-enterprise-dialog .mcv-enterprise-status.is-failed{color:#a63737;background:#fff0f0}.mcv-enterprise-dialog .mcv-enterprise-status svg{width:14px;height:14px}
@media(max-width:1150px){.mcv-profile-layout{grid-template-columns:minmax(0,1fr) 300px}.mcv-profile-facts{grid-template-columns:1fr}.mcv-profile-facts>div.is-wide{grid-column:auto}}
@media(max-width:760px){.mcv-detail-screen .mcv-compact-header{align-items:stretch;padding:16px}.mcv-compact-header h1{font-size:19px}.mcv-profile-layout{grid-template-columns:1fr;gap:12px}.mcv-profile-layout .mcv-panel{padding:16px}.mcv-profile-facts>div{grid-template-columns:80px minmax(0,1fr);gap:8px;padding:10px 0}.mcv-profile-side{gap:12px}.mcv-profile-section-head{align-items:flex-start;flex-wrap:wrap}.mcv-detail-meta{gap:6px 14px}.mcv-header-actions .mcv-secondary,.mcv-header-actions .mcv-primary{min-height:38px}}
/* A live work area collapses into one result sentence when its round ends. */
.mcv-discovery-head{align-items:center;gap:20px}.mcv-discovery-head>div{min-width:0}.mcv-discovery-head h2{margin:0}.mcv-discovery-head [data-research]{flex:none;min-width:88px;height:40px;padding:0 14px}
.mcv-discovery-result{display:flex;align-items:flex-start;gap:7px;margin:8px 0 0;color:#187360;font-size:12px;line-height:1.6}.mcv-discovery-result svg{margin-top:2px;flex:none;width:15px;height:15px}.mcv-discovery-result.is-error{color:#955518}
.mcv-discovery-progress{margin:12px 0 16px;padding:14px 16px;border-radius:8px;background:#f6f8fc;color:#31486a;font-size:12px}.mcv-discovery-progress-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.mcv-discovery-progress-head strong{font-size:13px;font-weight:600}.mcv-discovery-progress-head>span{color:#556b8a;white-space:nowrap}.mcv-discovery-track{position:relative;height:6px;margin:11px 0;border-radius:4px;overflow:hidden;background:#e1e7f1}.mcv-discovery-track i{display:block;height:100%;width:0;border-radius:4px;background:#4563bd;transition:width .25s ease-out}.mcv-discovery-track.is-indeterminate i{width:28%;animation:mcv-discovery-scan 1.8s ease-in-out infinite}.mcv-discovery-progress-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;line-height:1.6}.mcv-discovery-progress-bottom>span:last-child{flex:none;color:#526987;white-space:nowrap}.mcv-discovery-note{margin:7px 0 0;color:#8c571d;line-height:1.6}.mcv-discovery-progress.is-paused .mcv-discovery-track{background:#e4e8ee}.mcv-discovery-progress.is-paused .mcv-discovery-progress-head strong{color:#8c571d}
@keyframes mcv-discovery-scan{0%{transform:translateX(-100%)}100%{transform:translateX(460%)}}
@media(prefers-reduced-motion:reduce){.mcv-discovery-track i{transition:none}.mcv-discovery-track.is-indeterminate i{animation:none;margin-left:36%}}
@media(max-width:760px){.mcv-discovery-head{gap:12px;align-items:flex-start}.mcv-discovery-progress{padding:12px}.mcv-discovery-progress-bottom{flex-direction:column;gap:5px}.mcv-discovery-progress-bottom>span:last-child{white-space:normal}.mcv-discovery-result{max-width:100%;overflow-wrap:anywhere}.mcv-discovery-progress-head{gap:10px}}


/* Same row actions and status chips as operator resources. */
.mcv-list-table{min-width:1120px}.mcv-list-table th:nth-last-child(-n+2){text-align:center}
.mcv-list-operation .row-action{min-height:36px;font-size:12px;white-space:nowrap}.mcv-list-table .resource-plan-status{font-size:11px;white-space:nowrap}
.mcv-list-operation .row-action:disabled{opacity:.6;cursor:wait}.mcv-action-error{margin:0 0 14px;color:#b42318;font-size:13px}
.mcv-channel-dialog.modal.mcv-dialog{width:min(1180px,calc(100vw - 48px));max-width:none;padding:0;border:0;border-radius:16px;max-height:88vh}
.mcv-channel-dialog.modal.mcv-dialog .modal-card{width:100%;max-width:none;padding:0;display:flex;flex-direction:column;max-height:88vh;overflow:hidden}
.mcv-channel-modal-head{flex:none;padding:20px 24px;border-bottom:1px solid #e0e7f1}.mcv-channel-modal-head h2{margin:0;font-size:18px}.mcv-channel-modal-head p{margin:5px 0 0;font-size:12px;color:#647792}
.mcv-channel-body{overflow:auto;padding:20px 24px;background:#f5f7fb}.mcv-channel-body .mcv-detail-header{margin-bottom:16px}.mcv-channel-body .mcv-compact-header h1{display:none}.mcv-channel-body .mcv-profile-layout{grid-template-columns:minmax(0,1fr) 300px}.mcv-channel-dialog .mcv-enterprise-table{overflow:auto}
.mcv-discovery-toolbar{display:flex;align-items:center;justify-content:flex-end;min-height:40px;margin-bottom:16px}
.mcv-discovery-toolbar [data-research]{min-width:88px;height:40px;padding:0 14px}
.mcv-channel-body .mcv-enterprises-list{margin-top:0}
.mcv-enterprises-list .mcv-enterprise-table{background:#fff}
@media(max-width:760px){.mcv-channel-dialog.modal.mcv-dialog{width:calc(100vw - 20px);max-height:92dvh}.mcv-channel-dialog.modal.mcv-dialog .modal-card{max-height:92dvh}.mcv-channel-modal-head{padding:16px}.mcv-channel-body{padding:12px}.mcv-channel-body .mcv-profile-layout{grid-template-columns:1fr}.mcv-channel-dialog .mcv-enterprise-row{min-width:900px}}

/* Match the operator score column: one green number before status. */
.mcv-list-table .mcv-list-score{font-size:26px;font-weight:700;color:#18a966;font-variant-numeric:tabular-nums}.mcv-list-table .mcv-list-score.is-unscored{font-size:12px;color:#64748b;font-weight:400}.mcv-col-score{width:100px}.mcv-list-table th:nth-child(6),.mcv-list-table td:nth-child(6){text-align:center}

.home-card-drawer-backdrop{position:fixed;z-index:3900;inset:0;background:rgba(15,23,42,.28);opacity:0;transition:opacity .24s ease}
.home-card-drawer-active{overflow:hidden}.home-card-drawer-backdrop.is-open{opacity:1}
.home-card-drawer-backdrop[hidden],.home-card-drawer[hidden]{display:none!important}
#crawlResultsDrawer{position:fixed;z-index:3901;top:0;right:0;left:auto;width:min(850px,100vw);height:100dvh;border-left:1px solid #e2e7ef;background:#fff;box-shadow:-22px 0 50px rgba(16,24,40,.16);transform:translateX(102%);transition:transform .24s ease;overflow:hidden}
#crawlResultsDrawer.is-open{transform:translateX(0)}
#crawlResultsDrawer .home-card-drawer-panel{display:flex;width:100%;height:100%;padding:0;background:#fff;flex-direction:column;overflow:hidden}
.home-card-drawer-head{display:flex;min-height:92px;padding:20px 24px;align-items:flex-start;justify-content:space-between;gap:20px}
.home-card-drawer-head h2{margin:0;color:#101828;font-size:20px;line-height:28px}.home-card-drawer-head p{margin:5px 0 0;color:#667085;font-size:13px}
.crawl-drawer-body{display:flex;min-height:0;padding:0 24px 20px;overflow:auto;flex:1;flex-direction:column}
#crawlResultsSummary{display:grid;margin:4px 0 18px;padding:0;border:1px solid #e2e7ef;border-radius:12px;background:#f8fafc;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
#crawlResultsSummary article{padding:16px 10px;border:0;text-align:center}#crawlResultsSummary span{display:block;color:#667085;font-size:12px}#crawlResultsSummary strong{display:block;margin-top:6px;font-size:25px;color:#172033}#crawlResultsSummary .blue strong{color:#159675}#crawlResultsSummary .orange strong{color:#4b65c9}
.crawl-overview-charts{display:grid;gap:16px}.crawl-chart-card{padding:18px;border:1px solid #e2e7ef;border-radius:12px;background:#fff}.crawl-chart-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px}.crawl-chart-head h3{margin:0;font-size:15px}.crawl-chart-head span{color:#8290a8;font-size:12px}.crawl-chart-bars{display:grid;gap:14px}.crawl-chart-row{display:grid;grid-template-columns:140px minmax(0,1fr) 36px;align-items:center;gap:12px;font-size:12px}.crawl-chart-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crawl-chart-row b{text-align:right;font-variant-numeric:tabular-nums}.crawl-chart-track{height:8px;border-radius:8px;background:#eef1f7;overflow:hidden}.crawl-chart-track i{display:block;height:100%;border-radius:8px}.crawl-chart-track .is-type{background:#7166cc}.crawl-chart-track .is-region{background:#34a68e}.crawl-chart-track .is-score{background:#5275c5}.crawl-chart-empty,.crawl-chart-loading{color:#8290a8;font-size:13px}.crawl-chart-error{color:#b42318;font-size:13px}
.crawl-live-status{display:flex;margin-top:18px;padding:14px;border-radius:9px;background:#f6f8fc;align-items:flex-start;gap:10px;font-size:12px;line-height:20px}.crawl-live-status i{width:7px;height:7px;margin-top:6px;border-radius:50%;background:#5570c9;flex:none}.crawl-live-status strong{white-space:nowrap}.crawl-live-status span{color:#667085}.home-card-drawer-foot{display:flex;min-height:70px;padding:14px 24px;background:#fff;align-items:center;justify-content:space-between;gap:16px}.home-card-drawer-foot>span{color:#8290a8;font-size:12px;line-height:18px}.home-card-drawer-foot>div{display:flex;gap:8px;flex:none}
@media(max-width:760px){.home-card-drawer-head,.home-card-drawer-foot,.crawl-drawer-body{padding-inline:16px}.home-card-drawer-foot{flex-wrap:wrap}.crawl-chart-row{grid-template-columns:95px minmax(0,1fr) 30px}.crawl-live-status{flex-wrap:wrap}#crawlResultsSummary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){#crawlResultsDrawer,.home-card-drawer-backdrop{transition:none}}

#view-resources.is-market-channels > .page-heading,
#view-resources.is-market-channels > .resource-panel { display: none !important; }
.mcl-dialog-back { display:block; padding:0 0 8px; border:0; background:none; color:#405bb5; cursor:pointer; font-size:13px; }
.mcl-candidate-detail { flex:1; overflow:auto; padding:22px 28px; }
.mcl-candidate-detail dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 24px; margin:0; }
.mcl-candidate-detail dl div { min-width:0; padding:13px 16px; border:1px solid #e2e8f2; border-radius:10px; }
.mcl-candidate-detail dt { color:#71809a; font-size:12px; margin-bottom:8px; }
.mcl-candidate-detail dd { margin:0; overflow-wrap:anywhere; color:#17213b; font-size:14px; }
.mcl-candidate-detail section { margin-top:20px; padding:16px; border:1px solid #e2e8f2; border-radius:10px; }
.mcl-candidate-detail section h3 { margin:0 0 9px; font-size:15px; }
.mcl-candidate-detail section p { margin:0; line-height:1.7; color:#52617b; white-space:pre-wrap; }
.mcl-review-form { padding:18px 20px; margin:0 0 16px; border:1px solid #cbd8f4; border-radius:12px; background:#f7f9ff; display:grid; gap:9px; }
.mcl-review-form strong { font-size:14px; }
.mcl-review-form p { margin:0; color:#64758c; font-size:12px; }
.mcl-review-form textarea { width:100%; box-sizing:border-box; padding:10px 12px; border:1px solid #d1dbee; border-radius:8px; resize:vertical; font:inherit; }
.mcl-review-form label { font-size:12px; color:#485975; }
.mcl-review-form input[type=url] { display:block; width:100%; box-sizing:border-box; margin-top:7px; padding:10px 12px; border:1px solid #d1dbee; border-radius:8px; font:inherit; }
.mcl-review-form>div { display:flex; gap:10px; }
.mcl-review-form>div button:last-child { background:#fff; color:#3e5abd; border:1px solid #cbd6ec; border-radius:7px; padding:8px 14px; cursor:pointer; }
@media(max-width:700px){.mcl-candidate-detail dl{grid-template-columns:1fr}.mcl-candidate-detail{padding:18px}}
#view-resources.is-market-channels { max-width: none; }
.market-channel-library { color: #17213b; padding: 0 0 44px; }
.market-channel-library[hidden] { display: none !important; }
.mcl-detail-head { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin:2px 0 22px; }
.mcl-detail-head h1 { font-size:18px; line-height:24px; letter-spacing:-.02em; margin:0 0 5px; }
.mcl-detail-head p { color:#7a879e; font-size:12px; line-height:18px; margin:0; }
.mcl-head-badge { color:#5d6e91; background:#eef2fb; border:1px solid #e1e8f6; border-radius:8px; font-size:12px; padding:7px 10px; white-space:nowrap; }
.mcl-page-heading .heading-actions { gap:10px; }
.mcl-page-heading .mcl-search { width:310px; }
.mcl-empty button { display:block; margin:14px auto 0; background:#fff; border:1px solid #cbd6ec; border-radius:7px; color:#3e5abd; padding:8px 14px; cursor:pointer; font:inherit; font-weight:700; }
.mcl-stats,.mcl-detail-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:20px; }
.mcl-stats>div,.mcl-detail-stats>div { background:white; border:1px solid #e1e7f0; border-radius:14px; padding:16px 20px; box-shadow:0 2px 10px rgba(23,43,85,.025); }
.mcl-stats span,.mcl-detail-stats span { display:block; color:#8190a8; font-size:12px; margin-bottom:7px; }
.mcl-stats strong,.mcl-detail-stats strong { font-size:26px; line-height:1; color:#17213b; }
.mcl-tabs,.mcl-detail-tabs { display:flex; gap:18px; border-bottom:1px solid #e3e9f3; }
.mcl-tabs button,.mcl-detail-tabs button { background:none; border:0; border-bottom:2px solid transparent; color:#74819b; cursor:pointer; font:inherit; font-size:13px; padding:10px 2px 11px; white-space:nowrap; }
.mcl-tabs button.is-active,.mcl-detail-tabs button.is-active { color:#3e5abd; border-bottom-color:#3e5abd; font-weight:700; }
.mcl-search { display:flex; align-items:center; gap:8px; width:min(310px,100%); background:white; border:1px solid #dbe3f0; border-radius:8px; padding:0 11px; color:#8d9bb2; }
.mcl-search input { width:100%; outline:none; border:0; background:none; color:#17213b; font:inherit; font-size:13px; padding:10px 0; }
.mcl-section-title { display:flex; justify-content:flex-end; align-items:center; margin:0 0 12px; }
.mcl-section-title strong { font-size:15px; }
.mcl-section-title span { font-size:12px; color:#8290a7; }
.mcl-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.mcl-card { display:flex; flex-direction:column; min-width:0; min-height:205px; text-align:left; background:#fff; border:1px solid #e0e6f0; border-radius:14px; padding:18px; color:inherit; cursor:pointer; font:inherit; box-shadow:0 3px 11px rgba(32,53,100,.025); transition:border-color .18s,transform .18s,box-shadow .18s; }
.mcl-card:hover,.mcl-card:focus-visible { border-color:#a9b8eb; box-shadow:0 8px 22px rgba(48,76,151,.09); transform:translateY(-2px); outline:none; }
.mcl-card-top,.mcl-card-meta,.mcl-card-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.mcl-kind-group { display:inline-flex; align-items:center; gap:7px; min-width:0; }
.mcl-preview-chip { color:#9b6d19; background:#fff4df; border-radius:6px; padding:5px 7px; font-size:11px; font-weight:700; }
.mcl-kind { display:inline-block; color:#4162b8; background:#eef3ff; border-radius:6px; padding:5px 8px; font-size:11px; font-weight:700; }
.mcl-state { display:inline-block; white-space:nowrap; border-radius:6px; padding:5px 8px; color:#44618a; background:#edf2f8; font-size:11px; font-weight:700; }
.mcl-state.is-war { background:#e8f7ee; color:#128654; }
.mcl-state.is-verify { background:#fff4e5; color:#b07011; }
.mcl-card-name { display:block; font-size:16px; margin:17px 0 7px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mcl-card-business { color:#66768f; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mcl-card-meta { margin-top:auto; padding:20px 0 12px; font-size:12px; color:#6e7f98; }
.mcl-card-meta span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mcl-card-foot { border-top:1px solid #edf0f6; padding-top:12px; font-size:12px; color:#4360b7; }
.mcl-card-foot span:first-child { color:#a16a17; }
.mcl-card-foot span:first-child.is-ready { color:#198d62; }
.mcl-empty { grid-column:1/-1; background:white; border:1px dashed #dce4f1; border-radius:12px; padding:38px 18px; text-align:center; color:#8a98ad; font-size:13px; }
.mcl-pager { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-top:22px; color:#8190a8; font-size:12px; }
.mcl-pager button,.mcl-breadcrumb button,.mcl-form-actions button:not(.mcl-primary) { background:#fff; border:1px solid #dbe3f0; border-radius:7px; padding:7px 12px; color:#3e5abd; cursor:pointer; }
.mcl-pager button:disabled { opacity:.45; cursor:default; }
.mcl-breadcrumb { display:flex; align-items:center; gap:9px; color:#8190a8; font-size:12px; margin:0 0 18px; }
.mcl-breadcrumb button { padding:5px 9px; }
.mcl-detail-head { background:#fff; border:1px solid #e1e7f0; border-radius:14px; padding:22px; margin-bottom:14px; }
.mcl-detail-head h1 { margin-top:10px; font-size:21px; }
.mcl-detail-actions { display:flex; align-items:center; gap:10px; }
.mcl-detail-head > div:first-child { min-width:0; flex:1; }
.mcl-detail-head h1 { overflow-wrap:anywhere; }
.mcl-detail-head p { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mcl-detail-actions { flex:none; align-self:flex-start; }
.mcl-detail-actions button,.mcl-panel-heading > button,.mcl-form-actions button { min-height:36px; white-space:nowrap; flex-shrink:0; }
.mcl-form-actions { justify-content:flex-end; align-items:center; }
.mcl-form-actions [data-cancel-form] { order:-1; }
.mcl-form-actions button:not(.mcl-primary),.mcl-secondary { border:1px solid #cbd6ec; border-radius:7px; background:#fff; color:#405375; padding:9px 14px; font:inherit; font-size:12px; cursor:pointer; }
.mcl-business-summary { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; line-height:1.65; }
.mcl-confirm-dialog { box-sizing:border-box; width:min(440px,calc(100vw - 32px)); max-width:none; padding:0; border:1px solid #dce4f0; border-radius:14px; background:#fff; color:#17213b; box-shadow:0 18px 60px rgba(19,35,72,.18); }
.mcl-confirm-dialog::backdrop { background:rgba(20,31,55,.38); }
.mcl-confirm-body { padding:24px 24px 20px; }
.mcl-confirm-body h2 { margin:0 0 12px; font-size:18px; line-height:1.4; }
.mcl-confirm-body p { margin:0; font-size:14px; line-height:1.7; overflow-wrap:anywhere; color:#52617b; }
.mcl-confirm-body .mcl-confirm-error { margin-top:14px; color:#a93b3b; font-size:13px; }
.mcl-confirm-actions { display:flex; justify-content:flex-end; align-items:center; gap:10px; padding:16px 24px; border-top:1px solid #e8edf5; }
.mcl-confirm-actions button { min-width:84px; min-height:36px; }
.mcl-confirm-dialog button:focus-visible,.mcl-detail-actions button:focus-visible { outline:2px solid #3e5abd; outline-offset:3px; }
.mcl-confirm-dialog button:disabled { opacity:.55; cursor:wait; }
.mcl-customer-list-footer,.mcl-channel-footer { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-top:18px; }
.mcl-customer-list-footer { padding-top:16px; border-top:1px solid #e8edf5; }
.mcl-customer-dialog { box-sizing:border-box; width:min(540px,calc(100vw - 32px)); max-width:none; max-height:calc(100dvh - 32px); padding:0; overflow:auto; border:1px solid #dce4f0; border-radius:14px; background:white; color:#17213b; box-shadow:0 18px 60px rgba(19,35,72,.18); }
.mcl-customer-dialog::backdrop { background:rgba(20,31,55,.38); }
.mcl-customer-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 24px; border-bottom:1px solid #e8edf5; }
.mcl-customer-dialog-head h2 { margin:0; font-size:18px; line-height:1.4; }
.mcl-customer-dialog-body { padding:22px 24px; display:grid; gap:18px; }
.mcl-customer-dialog-body label:not(.mcl-check) { display:flex; flex-direction:column; gap:8px; font-size:13px; color:#52617b; }
.mcl-customer-dialog-body input:not([type=checkbox]) { box-sizing:border-box; width:100%; min-width:0; border:1px solid #d1dbee; border-radius:7px; padding:10px 12px; background:white; font:inherit; color:#17213b; }
.mcl-customer-dialog-body input:focus-visible { outline:2px solid #3e5abd; outline-offset:2px; }
.mcl-customer-contact-fields { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.mcl-customer-dialog .mcl-check { margin:0; line-height:1.6; }
.mcl-customer-error { margin:0; font-size:13px; color:#a93b3b; }
.mcl-customer-dialog button:disabled { opacity:.55; cursor:wait; }
@media(max-width:500px){.mcl-customer-contact-fields{grid-template-columns:1fr}.mcl-customer-dialog-head{padding:18px}.mcl-customer-dialog-body{padding:18px}.mcl-breadcrumb{flex-wrap:wrap}.mcl-breadcrumb span:last-child{max-width:100%;overflow-wrap:anywhere}}
.mcl-primary { background:#3e5abd; border:1px solid #3e5abd; border-radius:7px; color:white; cursor:pointer; font:inherit; font-size:12px; font-weight:700; padding:9px 14px; }
.mcl-primary:disabled { opacity:.55; cursor:wait; }
.mcl-detail-tabs { margin:18px 0 0; }
.mcl-detail-body { background:white; border:1px solid #e1e7f0; border-radius:0 0 14px 14px; padding:20px; min-height:320px; }
.mcl-panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:19px; }
.mcl-panel-heading h2,.mcl-profile-grid h2 { font-size:15px; margin:0 0 6px; }
.mcl-panel-heading p { font-size:12px; color:#8490a4; margin:0; }
.mcl-service { border-radius:7px; padding:7px 10px; white-space:nowrap; font-size:11px; font-weight:700; }
.mcl-service.is-ready { color:#148558; background:#e8f7ef; }
.mcl-service.is-waiting { color:#a96b12; background:#fff3df; }
.mcl-customer-table { border:1px solid #e6ebf2; border-radius:9px; overflow:hidden; }
.mcl-customer-row { display:grid; grid-template-columns:minmax(180px,2fr) minmax(155px,1.5fr) 90px 90px 100px; gap:16px; align-items:center; border-bottom:1px solid #edf1f5; padding:13px 15px; font-size:12px; color:#64758c; }
.mcl-customer-row:last-child { border-bottom:0; }
.mcl-customer-row.is-head { background:#f7f9fc; color:#7586a0; font-weight:700; }
.mcl-customer-row strong,.mcl-customer-row span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mcl-customer-row strong { color:#1d2b45; font-size:13px; }
.mcl-form { margin-top:20px; padding:18px; border:1px solid #e4eaf4; border-radius:10px; background:#fbfcfe; }
.mcl-form[hidden] { display:none; }
.mcl-form h3 { font-size:14px; margin:0 0 14px; }
.mcl-form-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.mcl-form label:not(.mcl-check) { display:flex; flex-direction:column; gap:6px; color:#66768e; font-size:12px; }
.mcl-form input:not([type=checkbox]),.mcl-form select,.mcl-form textarea { width:100%; box-sizing:border-box; border:1px solid #dce4ef; border-radius:7px; background:white; color:#20304d; font:inherit; font-size:12px; padding:9px 10px; }
.mcl-form textarea { resize:vertical; }
.mcl-check { display:flex; align-items:center; gap:7px; margin:14px 0; color:#65768f; font-size:12px; }
.mcl-form-actions { display:flex; gap:9px; }
.mcl-profile-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:24px; }
.mcl-profile-grid article { min-width:0; }
.mcl-profile-grid dl { margin:0; }
.mcl-profile-grid dl>div { display:grid; grid-template-columns:110px minmax(0,1fr); gap:8px; padding:12px 0; border-bottom:1px solid #edf0f5; font-size:13px; }
.mcl-profile-grid dt { color:#8b98ad; }
.mcl-profile-grid dd { margin:0; min-width:0; overflow-wrap:anywhere; }
.mcl-profile-grid a { color:#3e5abd; }
.mcl-activity,.mcl-feedback-list article { display:flex; flex-direction:column; gap:6px; border-bottom:1px solid #edf0f5; padding:13px 0; font-size:12px; }
.mcl-activity span,.mcl-feedback-list span,.mcl-feedback-list small { color:#8997aa; }
.mcl-feedback-list { margin-top:18px; }
.mcl-feedback-list p { margin:0; color:#61728b; line-height:1.6; }
.mcl-feedback-list .mcl-ai-next { color:#3e5abd; background:#f1f4fd; border-radius:6px; padding:7px 9px; }
.mcl-error { padding:28px; border:1px solid #f3d8d8; border-radius:12px; color:#a93b3b; background:#fff; }
.mcl-error button { margin-left:12px; cursor:pointer; }
.mcl-all-dialog { box-sizing:border-box; width:min(1080px,calc(100vw - 48px)); height:min(760px,calc(100vh - 72px)); max-width:none; max-height:none; padding:0; border:1px solid #dce4f0; border-radius:16px; color:#17213b; background:#fff; box-shadow:0 24px 70px rgba(19,35,72,.2); }
.mcl-all-dialog::backdrop { background:rgba(20,31,55,.38); backdrop-filter:blur(3px); }
.mcl-dialog-shell { display:flex; flex-direction:column; height:100%; min-height:0; }
.mcl-dialog-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; padding:23px 27px 19px; border-bottom:1px solid #e8edf5; flex:none; }
.mcl-dialog-head h2 { font-size:21px; margin:0 0 5px; }
.mcl-dialog-head p { margin:0; color:#7a879e; font-size:12px; }
.mcl-dialog-close { width:32px; height:32px; flex:none; border:1px solid #dce4f0; border-radius:8px; background:#fff; color:#6b7890; cursor:pointer; font-size:24px; line-height:27px; }
.mcl-dialog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:8px 27px 0; flex:none; }
.mcl-dialog-toolbar .mcl-tabs { flex:1; }
.mcl-dialog-toolbar .mcl-search { flex:none; }
.mcl-dialog-result { display:flex; justify-content:space-between; color:#8a97ac; font-size:12px; padding:12px 27px 9px; flex:none; }
.mcl-dialog-list { min-height:0; flex:1; overflow:auto; margin:0 27px; border:1px solid #e4eaf3; border-radius:9px; }
.mcl-dialog-list .mcl-empty,.mcl-dialog-list .mcl-error { border:0; border-radius:0; }
.mcl-dialog-row { box-sizing:border-box; display:grid; grid-template-columns:minmax(210px,2.2fr) minmax(110px,1.2fr) minmax(135px,1.35fr) 86px 72px; gap:14px; align-items:center; width:100%; min-height:61px; padding:11px 14px; border:0; border-bottom:1px solid #ebeff5; background:#fff; text-align:left; color:#65748c; font:inherit; font-size:12px; cursor:pointer; }
.mcl-dialog-row:last-child { border-bottom:0; }
.mcl-dialog-row:not(.is-head):hover { background:#f6f8fe; }
.mcl-dialog-row.is-head { min-height:39px; background:#f7f9fc; color:#8290a6; font-weight:700; cursor:default; }
.mcl-dialog-row span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mcl-dialog-row strong { display:block; color:#25344d; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.mcl-dialog-row small { display:block; margin-top:4px; color:#8a98ad; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
.mcl-dialog-row .mcl-dialog-link { color:#3e5abd; font-weight:700; }
.mcl-dialog-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 27px; border-top:1px solid #e8edf5; color:#8a97ac; font-size:12px; flex:none; }
.mcl-dialog-footer .mcl-pager { margin:0; }
@media(max-width:1100px){.mcl-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.mcl-customer-table{overflow-x:auto}.mcl-customer-row{min-width:750px}}
@media(max-width:700px){.mcl-detail-head,.mcl-panel-heading{flex-direction:column;}.mcl-stats,.mcl-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr));}.mcl-grid,.mcl-profile-grid,.mcl-form-grid{grid-template-columns:1fr;}.mcl-tabs{width:100%;overflow-x:auto}.mcl-search{width:100%;}.mcl-page-heading{align-items:flex-start;flex-direction:column}.mcl-page-heading .heading-actions{width:100%;margin-left:0}.mcl-page-heading .mcl-search{width:100%}.mcl-page-heading .heading-actions>.secondary-button{flex:none}.mcl-detail-actions{width:100%;justify-content:space-between}.mcl-all-dialog{width:calc(100vw - 18px);height:calc(100vh - 28px);border-radius:12px}.mcl-dialog-head{padding:18px}.mcl-dialog-toolbar{padding:8px 18px 0;flex-direction:column;align-items:stretch;gap:5px}.mcl-dialog-result{padding:10px 18px}.mcl-dialog-list{margin:0 18px}.mcl-dialog-row{min-width:740px}.mcl-dialog-footer{padding:12px 18px}}
.mcl-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.mcl-workspace-heading .mcl-breadcrumb{margin:0;min-width:0}.mcl-workspace-heading .mcl-breadcrumb>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mcl-workspace-actions{display:flex;gap:10px;flex-shrink:0}
.mcl-sales-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.mcl-sales-stats>button{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;padding:20px;background:#fff;border:1px solid #dfe6f2;border-radius:14px;cursor:pointer;color:#192840;font:inherit}.mcl-sales-stats>button.is-active{border-color:#8194de;box-shadow:inset 0 0 0 1px #8194de}.mcl-sales-stats span{font-size:13px;color:#61738f}.mcl-sales-stats strong{font-size:28px;line-height:1.1}.mcl-sales-stats small{font-size:12px;color:#8a98ad}.mcl-sales-stats>button:hover{background:#fafbff}
.mcl-sales-list{background:#fff;border:1px solid #dfe6f2;border-radius:14px;overflow:hidden}.mcl-sales-table{overflow-x:auto}.mcl-sales-row{display:grid;grid-template-columns:minmax(170px,2fr) minmax(120px,1.2fr) minmax(180px,2fr) 75px 75px minmax(105px,1fr) 80px 142px;gap:16px;align-items:center;min-width:1090px;min-height:74px;padding:12px 20px;box-sizing:border-box;border-bottom:1px solid #e7edf5;font-size:13px;color:#60718c}.mcl-sales-row.is-head{min-height:42px;background:#f7f9fc;font-size:12px;color:#7b8ba4}.mcl-sales-row>span,.mcl-sales-row>strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.mcl-sales-row>strong{font-size:13px;color:#1c2a42;font-weight:600}.mcl-sales-row a{color:#415bcb;text-decoration:none}.mcl-sales-row .mcl-geo-score{font-size:23px;font-weight:600;color:#2699aa}.mcl-sales-row .mcl-geo-score.is-empty{font-size:12px;color:#92a0b3;font-weight:400}.mcl-row-actions{display:flex;gap:12px;white-space:nowrap}.mcl-row-actions button{border:0;background:transparent;padding:5px 0;color:#4059bc;font:inherit;font-size:12px;cursor:pointer}.mcl-customer-stage{font-style:normal;font-size:11px;background:#f1f4fa;border-radius:5px;padding:5px 7px;color:#627897}.mcl-sales-list-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;color:#8290a5;font-size:12px}
.mcl-sales-dialog{box-sizing:border-box;width:min(920px,calc(100vw - 40px));height:min(810px,calc(100vh - 56px));max-width:none;max-height:none;padding:0;border:1px solid #dae3f1;border-radius:16px;color:#1c2a42;background:#fff;box-shadow:0 24px 70px #15244233}.mcl-sales-dialog::backdrop{background:#141f3761;backdrop-filter:blur(3px)}.mcl-sales-shell{display:flex;flex-direction:column;height:100%;min-height:0}.mcl-sales-content{padding:24px 28px;overflow:auto;flex:1;min-height:0}.mcl-sales-content section{padding:20px 0;border-bottom:1px solid #e9edf4}.mcl-sales-content h3{font-size:15px;margin:0 0 12px}.mcl-sales-content h3 b{color:#2598a6;font-size:23px;margin-left:12px}.mcl-sales-content h3 small{font-size:11px;font-weight:normal;margin-left:8px}.mcl-sales-content p{font-size:13px;line-height:1.8;color:#586b86;margin:8px 0;white-space:pre-wrap}.mcl-sales-content small{font-size:12px;color:#8695aa}.mcl-customer-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 26px}.mcl-customer-facts div{min-width:0;border-bottom:1px solid #e8edf4;padding-bottom:14px}.mcl-customer-facts span{display:block;color:#8391a7;font-size:12px;margin-bottom:9px}.mcl-customer-facts strong{font-size:13px;line-height:1.6;font-weight:500;overflow-wrap:anywhere}.mcl-template-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mcl-template-preview{white-space:pre-wrap;line-height:1.8;font:13px/1.8 inherit;background:#f7f9fc;border-radius:8px;padding:16px;color:#50647f}.mcl-note-entry{padding:12px 0;border-bottom:1px solid #eef1f6}.mcl-sales-content form{display:grid;gap:20px}.mcl-sales-content label{font-size:13px;color:#667997}.mcl-sales-content textarea,.mcl-sales-content input{display:block;box-sizing:border-box;width:100%;padding:12px;border:1px solid #d2ddef;border-radius:8px;font:inherit;margin-top:9px}.mcl-sales-content textarea{resize:vertical;min-height:140px}.mcl-sales-dialog .mcl-profile-grid{grid-template-columns:1fr}.mcl-sales-error{color:#b94242!important}.mcl-copy-status{font-size:12px;color:#248b68}
@media(max-width:700px){.mcl-workspace-heading{flex-direction:column;align-items:stretch;gap:14px}.mcl-workspace-actions{justify-content:flex-end}.mcl-sales-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mcl-sales-stats>button{padding:14px}.mcl-sales-stats small{font-size:11px}.mcl-sales-dialog{width:calc(100vw - 20px);height:calc(100dvh - 32px)}.mcl-sales-content{padding:18px}.mcl-customer-facts{grid-template-columns:1fr}.mcl-sales-dialog .mcl-dialog-head{padding:18px}.mcl-sales-dialog .mcl-dialog-head h2{font-size:18px}.mcl-sales-dialog .mcl-dialog-footer{padding:12px 18px;flex-wrap:wrap}.mcl-sales-row{gap:12px}}


.mcl-feedback-fold{margin-top:20px;border-top:1px solid #e5ebf5;padding-top:20px}.mcl-feedback-fold>summary{cursor:pointer;color:#4059bc;font-size:14px;padding-bottom:18px}.mcl-sales-content .mcl-check input{display:inline-block;width:auto;margin:0 6px 0 0}
/* v422: channel profile occupies the existing right-side workspace. */
.mcl-profile-nav{display:flex;gap:24px;flex-wrap:wrap;margin:0 0 20px;border-bottom:1px solid #dce4f0;padding-bottom:12px}
.mcl-profile-nav button{border:0;background:transparent;padding:6px 0;font:inherit;font-size:13px;color:#405bb5;cursor:pointer}
.mcl-profile-page{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(250px,1fr);gap:20px;align-items:start}
.mcl-profile-section{background:#fff;border:1px solid #dfe6f1;border-radius:14px;padding:24px;margin:0 0 20px;min-width:0;scroll-margin-top:20px}
.mcl-profile-section h2{font-size:16px;margin:0 0 20px}.mcl-profile-section h3{font-size:14px;margin:24px 0 12px}
.mcl-profile-section p,.mcl-profile-section li{font-size:13px;line-height:1.8;color:#52617b;overflow-wrap:anywhere}
.mcl-profile-section details{margin-top:12px}.mcl-profile-section summary{font-size:13px;line-height:1.8;color:#405375;cursor:pointer;overflow-wrap:anywhere}
.mcl-profile-section a{color:#405bb5;overflow-wrap:anywhere}.mcl-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px;margin:0}.mcl-profile-facts div{min-width:0}.mcl-profile-facts dt{color:#63718a;font-size:12px;margin-bottom:8px}.mcl-profile-facts dd{margin:0;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.mcl-profile-business{margin-top:26px;padding-top:22px;border-top:1px solid #e6ebf3}.mcl-profile-business h2{margin-bottom:10px}.mcl-profile-business details p{white-space:pre-wrap}.mcl-profile-state{display:flex;justify-content:space-between;align-items:center}.mcl-profile-state strong{color:#17213b;font-size:18px}
.mcl-resource-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;overflow:visible!important}.mcl-resource-actions button{font:inherit;font-size:12px;white-space:nowrap;min-height:34px;cursor:pointer}.mcl-row-link{border:0;color:#405bb5;background:transparent;padding:6px}.mcl-add-war{border:1px solid #cad5ef;border-radius:7px;background:#fff;color:#405bb5;padding:6px 10px}.mcl-add-war:disabled{color:#71809a;background:#f6f8fb;cursor:default;border-color:#e1e6ef}
.mcl-dialog-row{grid-template-columns:minmax(200px,2fr) minmax(100px,1fr) minmax(135px,1.1fr) 80px 170px;cursor:default}.mcl-profile-section .mcl-panel-heading{align-items:flex-start}.mcl-profile-section .mcl-service{white-space:normal}.mcl-inline-form{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0}.mcl-inline-form label{flex:1;min-width:220px;font-size:13px}.mcl-inline-form input{display:block;width:100%;box-sizing:border-box;margin-top:8px;border:1px solid #cbd6ec;border-radius:8px;padding:10px;font:inherit}.mcl-profile-error{color:#a52d32!important}
.mcl-profile-section button:focus-visible,.mcl-resource-actions button:focus-visible,.mcl-profile-nav button:focus-visible{outline:2px solid #405bb5;outline-offset:3px}
@media(max-width:1000px){.mcl-profile-page{grid-template-columns:1fr}.mcl-profile-admission{order:-1}.mcl-dialog-row{min-width:800px}.mcl-dialog-list{overflow:auto}.mcl-profile-nav{gap:14px}}
@media(max-width:650px){.mcl-profile-section{padding:18px}.mcl-profile-facts{grid-template-columns:1fr}.mcl-page-heading h1{overflow-wrap:anywhere}.mcl-profile-nav{gap:10px}}

.mcl-page-heading .heading-actions button{white-space:nowrap;flex-shrink:0}.mcl-profile-section .mcl-form-grid{margin-top:16px}.mcl-profile-section .mcl-check{margin-top:16px}
.mcl-entity-pending{display:block;color:#64728b;font-size:11px;font-weight:400;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.mcl-discovery-status{display:flex;align-items:center;gap:12px;padding:16px 20px;margin:16px 0;background:#f7f9fc;border:1px solid #dfe6f1;border-radius:10px;font-size:13px;color:#52617b}.mcl-discovery-status>div{flex:1;min-width:0}.mcl-discovery-status strong{color:#263d64;display:block}.mcl-discovery-status span,.mcl-discovery-status small{display:block;margin-top:6px}.mcl-discovery-status button{white-space:nowrap}.mcl-note-entry a{color:#405bb5}.mcl-note-entry p{overflow-wrap:anywhere}@media(max-width:650px){.mcl-discovery-status{flex-wrap:wrap}.mcl-discovery-status>div{flex-basis:100%}}

#view-campaign.is-market-channel-followup > .page-heading,
#view-campaign.is-market-channel-followup > .followup-panel{display:none!important}
#view-campaign.is-market-channel-followup > .amp-tabs,
#view-campaign.is-market-channel-followup > .amp-overview,
#view-campaign > .amp-tabs[hidden],
#view-campaign > .amp-overview[hidden]{display:none!important}
.market-channel-followup,.market-channel-followup *{box-sizing:border-box}
.market-channel-followup{color:#10213f;font-size:14px}
.market-channel-followup button,.market-channel-followup input,.market-channel-followup select,.market-channel-followup textarea{font:inherit}
#view-campaign.is-market-channel-followup:not([hidden]){display:flex;flex-direction:column;height:calc(100dvh - 70px);min-height:640px}
#view-campaign.is-market-channel-followup #marketChannelFollowup:not([hidden]),.mcf-main{display:flex;flex:1;flex-direction:column;min-height:0}
.mcf-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 14px}.mcf-heading-copy{min-width:0}.mcf-heading h1{margin:0;font-size:22px;font-weight:700}.mcf-heading p{margin:5px 0 0;color:#697b98;font-size:13px}
.mcf-heading-search.resource-search{flex:0 0 360px;width:360px;max-width:42%;height:38px}.mcf-heading-search input{height:38px!important;font-size:14px!important;background:#fff!important}.mcf-heading-search svg{top:11px;left:11px;width:16px;height:16px}
.mcf-heading-search input:focus,.mcf-form-body :is(input,select,textarea):focus{border-color:#355bf0;box-shadow:0 0 0 3px #e8edff}
.mcf-tabbar{display:flex;align-items:center;flex:none;min-height:46px;border:1px solid #dce3ee;border-bottom:0;border-radius:11px 11px 0 0;background:#fff}
.mcf-tabs.amp-tabs{flex:1;min-width:0;border:0;border-radius:0;background:transparent}.mcf-tabs button{cursor:pointer}.mcf-count{padding:0 18px;color:#71819a;font-size:13px;white-space:nowrap}
.mcf-cards{display:grid;flex:1;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:12px;overflow:auto;padding:14px 1px 12px}
.mcf-card{background:#fff;border:1px solid #dbe3ef;border-radius:11px;padding:14px 15px 12px;min-width:0}
.mcf-card header,.mcf-card footer{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.mcf-card header>div{min-width:0}.mcf-card header strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px}
.mcf-card header small{display:block;margin-top:3px;color:#697b98;font-size:12px}
.mcf-card header>span{flex:none;color:#3157dc;background:#edf2ff;padding:4px 7px;border-radius:5px;font-size:12px}
.mcf-stage{display:flex;align-items:center;justify-content:space-between;margin-top:12px;font-size:12px;color:#6a7d99}.mcf-stage b{color:#1f4cea;font-size:13px}
.mcf-track{height:7px;background:#e6eaf2;border-radius:9px;margin-top:7px;overflow:hidden}.mcf-track i{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#a8b4cb 0%,#6c8ff4 52%,#2bb789 100%)}
.mcf-card dl{margin:12px 0 0}.mcf-card dl>div{display:grid;grid-template-columns:70px minmax(0,1fr);gap:4px;margin:6px 0}.mcf-card dt{color:#6a7b97}.mcf-card dd{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mcf-next{display:flex;align-items:center;gap:7px;background:#f3f6fa;border-radius:6px;padding:8px;margin-top:11px;font-size:12px;min-width:0}.mcf-next span{color:#6b7c96;flex:none}.mcf-next strong{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.mcf-next time{flex:none;color:#3157dc}
.mcf-card footer{align-items:center;border-top:1px solid #e8edf4;padding-top:10px;margin-top:10px;color:#667994;font-size:12px}.mcf-card footer div{display:flex;gap:12px}
.mcf-card footer button,.mcf-row-actions button{border:0;background:none;color:#3154d9;cursor:pointer;padding:0;font-size:13px;white-space:nowrap}.mcf-card footer button:hover,.mcf-row-actions button:hover{text-decoration:underline}
.mcf-library-panel{display:flex;flex:1;flex-direction:column;min-height:0;margin-top:0;border-radius:0 0 11px 11px;overflow:hidden}.mcf-library-panel .mcf-table-scroll{flex:1;min-height:0;overflow:auto;background:#fff}.mcf-table{min-width:1150px}
#view-campaign .mcf-table .data-row.mcf-row{display:grid;grid-template-columns:minmax(220px,1.55fr) minmax(180px,1.25fr) minmax(85px,.65fr) minmax(135px,1fr) minmax(90px,.7fr) minmax(170px,1.2fr) minmax(85px,.65fr) minmax(165px,1.1fr);gap:13px;align-items:center;min-height:58px;padding:0 14px;border-bottom:1px solid #e8edf4;font-size:14px}
#view-campaign .mcf-table .data-row.mcf-row:not(.data-head){min-height:64px;padding-top:7px;padding-bottom:7px}
.mcf-table .mcf-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mcf-table .data-head{min-height:42px;background:#f7f9fc;color:#536684;font-weight:600}
.mcf-table .mcf-row:last-child{border-bottom:0}.mcf-name strong{display:block;overflow:hidden;text-overflow:ellipsis}.mcf-name small{display:block;color:#7586a0;font-size:12px;margin-top:3px}.mcf-row-actions{display:flex;gap:12px;white-space:nowrap;min-width:0}.mcf-row-actions button{flex:none}
.mcf-pagination.followup-pagination{flex:none;min-height:60px;margin-top:auto;background:#fff;font-size:12px}.mcf-pagination .secondary-button{font-size:12px}
.mcf-empty{padding:45px 20px;text-align:center;border:1px solid #e1e7f0;border-radius:9px;background:#fff;color:#6d7d95}
.mcf-dialog{border:0;border-radius:12px;padding:0;box-shadow:0 22px 70px #1725403d;color:#122748;font-size:14px;max-width:calc(100vw - 24px)}.mcf-dialog::backdrop{background:#12254f70}
.mcf-detail{width:820px;height:min(640px,calc(100vh - 44px));max-height:calc(100vh - 44px)}.mcf-record{width:660px;max-height:calc(100vh - 44px)}
.mcf-dialog-shell{display:flex;flex-direction:column;height:100%;min-height:0}.mcf-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:20px 23px 15px;border-bottom:1px solid #e4e9f2}.mcf-dialog-head h2{margin:0;font-size:18px}.mcf-dialog-head p{margin:5px 0 0;color:#6b7c97;font-size:13px}.mcf-dialog-head [data-close]{border:0;background:none;color:#71829b;font-size:24px;line-height:1;cursor:pointer}
.mcf-detail-body{overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:17px 22px;flex:1;min-height:0;align-content:start}.mcf-detail-body section{border:1px solid #e1e7f0;border-radius:8px;padding:13px 15px;min-width:0}.mcf-detail-body h3{font-size:14px;margin:0 0 10px}.mcf-detail-body p{margin:0;line-height:1.5}.mcf-facts{margin:0}.mcf-facts>div{display:grid;grid-template-columns:75px 1fr;gap:8px;margin:7px 0}.mcf-facts dt{color:#71819a}.mcf-facts dd{margin:0;overflow-wrap:anywhere}
.mcf-detail-next{display:flex;align-items:center;gap:7px;background:#f2f5fa;padding:10px;margin-top:12px;border-radius:6px;font-size:12px}.mcf-detail-next b{flex:none}.mcf-detail-next span{flex:1}.mcf-detail-next time{color:#3157dc;flex:none}
.mcf-record-line,.mcf-activity-line{border-top:1px solid #e9edf4;padding:8px 0}.mcf-record-line:first-of-type,.mcf-activity-line:first-of-type{border-top:0}.mcf-record-line span{font-weight:600}.mcf-record-line time,.mcf-activity-line span{float:right;color:#71819a;font-size:12px}.mcf-record-line p{clear:both;margin-top:4px}.mcf-activity-line strong{font-weight:600}
.mcf-section-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.mcf-section-head button,.mcf-activity-line button,.mcf-commission-line button{border:0;background:none;color:#3154d9;font-size:12px;cursor:pointer;padding:0}.mcf-section-head button:hover,.mcf-activity-line button:hover,.mcf-commission-line button:hover{text-decoration:underline}.mcf-detail-body section>small{display:block;margin-top:7px;color:#71819a;font-size:12px}.mcf-activity-line button{display:block;margin-top:5px}.mcf-commission-line{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #e9edf4;padding-top:6px;margin-top:6px;font-size:12px}
.mcf-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e4e9f2;padding:13px 22px;color:#71819a;font-size:12px}.mcf-dialog-foot button{flex:none}
.mcf-form-body{display:flex;flex-direction:column;gap:13px;padding:18px 22px;overflow:auto}.mcf-form-body label{display:flex;flex-direction:column;gap:5px;font-weight:600;color:#354862;font-size:13px}.mcf-form-body :is(input,select,textarea){border:1px solid #dce4ee;border-radius:6px;padding:8px 10px;background:#fff;color:#172747;outline:0;font-weight:400}.mcf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.mcf-form-error{color:#d3293f;margin:0}.mcf-dialog-loading{padding:60px;color:#647795;text-align:center}
@media(max-width:1100px){.mcf-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){#view-campaign.is-market-channel-followup:not([hidden]){height:auto;min-height:calc(100dvh - 40px)}.mcf-heading{align-items:stretch;flex-direction:column}.mcf-heading-search.resource-search{flex:none;width:100%;max-width:none}.mcf-cards{grid-template-columns:1fr;overflow:visible}.mcf-library-panel{min-height:420px}.mcf-detail-body{grid-template-columns:1fr}.mcf-form-grid{grid-template-columns:1fr}.mcf-dialog-foot{flex-wrap:wrap}.mcf-pagination{flex-wrap:wrap}}

/* styles.css */
@font-face {
  font-family: "AIOS UI";
  src: url("../prototype/assets/fonts/InterVariable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue-700: #3145a7;
  --blue-600: #3e5abd;
  --blue-500: #4c6cda;
  --blue-100: #e9eeff;
  --blue-50: #f4f7ff;
  --ink: #1d2535;
  --muted: #718096;
  --muted-2: #9aa6b6;
  --line: #e8edf4;
  --line-strong: #dce3ee;
  --surface: #ffffff;
  --canvas: #f7f9fc;
  --green: #1a9b6c;
  --green-bg: #e7f7ef;
  --amber: #b97716;
  --amber-bg: #fff5dc;
  --red: #c84952;
  --red-bg: #fdebec;
  --sidebar: 238px;
  --topbar: 64px;
  --shadow: 0 12px 32px rgba(38, 55, 88, .06);
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #aeb8c7 transparent;
}
*::-webkit-scrollbar { width: 3px; height: 3px; }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-track { margin-block: 14px; margin-inline: 14px; background: transparent; }
*::-webkit-scrollbar-thumb { min-height: 30px; border-radius: 999px; background: #aeb8c7; }
*::-webkit-scrollbar-corner { background: transparent; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 13px; line-height: 1.5; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.preview-banner { position: fixed; z-index: 20; top: 12px; right: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid #eadfbf; border-radius: 999px; background: #fffaf0; color: #9b6d22; font-size: 11px; font-weight: 700; box-shadow: 0 4px 14px rgba(110, 84, 30, .07); }
.preview-dot { width: 6px; height: 6px; border-radius: 50%; background: #e2a22e; box-shadow: 0 0 0 3px rgba(226,162,46,.14); }

.app-shell { min-height: 100vh; display: flex; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 12; display: flex; flex-direction: column; width: var(--sidebar); padding: 24px 15px 16px; border-right: 1px solid var(--line); background: #fff; }
.brand-block { display: flex; align-items: flex-start; justify-content: space-between; padding: 0 8px 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: white; font-size: 13px; font-weight: 800; letter-spacing: -1px; box-shadow: 0 5px 12px rgba(76, 108, 218, .25); }
.brand strong { display: block; font-size: 15px; letter-spacing: -.3px; }
.brand small { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; }
.version-tag { margin-top: 4px; padding: 3px 6px; border: 1px solid var(--blue-100); border-radius: 5px; background: var(--blue-50); color: var(--blue-600); font-size: 9px; font-weight: 700; white-space: nowrap; }
.workspace-switcher { display: flex; align-items: center; gap: 9px; margin: 0 3px 23px; padding: 10px 9px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; }
.workspace-switcher > span:nth-child(2) { min-width: 0; flex: 1; }
.workspace-switcher b, .workspace-switcher small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switcher b { font-size: 11px; }
.workspace-switcher small { margin-top: 1px; color: var(--muted); font-size: 10px; }
.workspace-avatar, .user-avatar, .top-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-100); color: var(--blue-700); font-size: 11px; font-weight: 800; }
.chevron { color: var(--muted-2); font-size: 16px; }
.nav-label { margin: 0 10px 9px; color: var(--muted-2); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.main-nav { display: grid; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; min-height: 42px; padding: 0 11px; border-radius: 9px; background: transparent; color: #627084; text-align: left; transition: .18s ease; }
.nav-item svg { width: 17px; height: 17px; color: #8d9aaa; }
.nav-item span { flex: 1; font-size: 12px; font-weight: 600; }
.nav-item em { min-width: 19px; padding: 1px 5px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700); font-size: 10px; font-style: normal; text-align: center; }
.nav-item .nav-badge-muted { background: #f1f3f7; color: var(--muted); }
.nav-item:hover { background: #f5f7fb; color: var(--blue-700); }
.nav-item.is-active { background: var(--blue-50); color: var(--blue-700); box-shadow: inset 3px 0 0 var(--blue-500); }
.nav-item.is-active svg { color: var(--blue-500); }
.sidebar-bottom { margin-top: auto; }
.route-card { margin: 0 2px 15px; padding: 12px; border: 1px solid #e5eaf5; border-radius: 11px; background: linear-gradient(180deg, #f7f9ff, #fff); }
.route-card-head { display: flex; align-items: center; justify-content: space-between; color: #6d7a8c; font-size: 10px; font-weight: 700; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(26,155,108,.12); }
.route-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 10px 0 8px; padding: 3px; border-radius: 7px; background: #e9edf6; }
.route-switch button { padding: 5px 2px; border-radius: 5px; background: transparent; color: #728095; font-size: 10px; font-weight: 700; }
.route-switch button.is-active { background: white; color: var(--blue-700); box-shadow: 0 2px 6px rgba(41, 55, 88, .1); }
.network-preview-page { height: calc(100vh - 32px); margin: 0 !important; padding: 0 !important; overflow: hidden; }
.network-preview-page iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--canvas, #f4f6f9); }
.customer-head-actions { display: flex; align-items: center; gap: 8px; }
.network-entry { color: var(--ca-primary, #3e5abd) !important; white-space: nowrap; }
.network-entry.compact { min-height: 28px; padding: 0 10px; border: 1px solid var(--ca-line-strong, #cfd7e3); border-radius: 7px; background: #fff; font: 600 12px/1 var(--ui-font, sans-serif); }
.resource-table .data-row { grid-template-columns: minmax(235px, 1.5fr) minmax(135px, 1fr) 90px 82px 120px 88px; }
.resource-table.is-market .data-row { grid-template-columns: minmax(235px, 1.5fr) minmax(135px, 1fr) 90px 82px 120px 88px 88px; }
.resource-action-cell { display: flex; align-items: center; justify-content: center; }
.resource-action-cell .row-action { white-space: nowrap; }
.route-card small { color: var(--muted-2); font-size: 9px; line-height: 1.4; }
.user-block { display: flex; align-items: center; gap: 9px; padding: 12px 8px 2px; border-top: 1px solid var(--line); }
.user-block > span:nth-child(2) { flex: 1; min-width: 0; }
.user-block b, .user-block small { display: block; }
.user-block b { font-size: 11px; }
.user-block small { color: var(--muted); font-size: 10px; }
.icon-button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: transparent; color: var(--muted); }
.icon-button:hover { background: #f2f5f9; color: var(--ink); }
.icon-button svg { width: 16px; height: 16px; }

.main-content { min-width: 0; flex: 1; margin-left: var(--sidebar); }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: var(--topbar); padding: 0 34px; border-bottom: 1px solid rgba(232,237,244,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 11px; }
.breadcrumbs b { color: #c5ccd7; font-weight: 500; }
.breadcrumbs strong { color: var(--ink); font-weight: 700; }
.topbar-actions { display: flex; align-items: center; gap: 17px; color: var(--muted); }
.topbar-link { padding: 4px; background: transparent; color: var(--muted); font-size: 11px; }
.topbar-link:hover { color: var(--blue-600); }
.notice-button { position: relative; display: inline-grid; place-items: center; width: 27px; height: 27px; padding: 0; background: transparent; color: #63728a; }
.notice-button svg { width: 17px; height: 17px; }
.notice-button i { position: absolute; top: -4px; right: -4px; min-width: 14px; padding: 1px 3px; border: 2px solid white; border-radius: 99px; background: var(--red); color: white; font-size: 8px; font-style: normal; line-height: 10px; }
.topbar-divider { width: 1px; height: 18px; background: var(--line-strong); }
.topbar-user { font-size: 11px; font-weight: 600; }
.top-avatar { width: 27px; height: 27px; border-radius: 50%; }
.mobile-menu { display: none; align-items: center; justify-content: center; width: 32px; height: 32px; background: transparent; color: var(--ink); }

.content-wrap { max-width: 1560px; margin: 0 auto; padding: 34px 38px 50px; }
.page[hidden] { display: none; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.home-heading { align-items: center; }
.eyebrow { display: block; margin-bottom: 7px; color: var(--blue-500); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.page-heading h1 { margin: 0; font-size: clamp(24px, 2.25vw, 32px); line-height: 1.18; letter-spacing: -.055em; }
.page-heading p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.primary-button, .secondary-button, .small-select, .filter-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 8px; font-size: 11px; font-weight: 700; transition: .18s ease; }
.primary-button { background: linear-gradient(105deg, var(--blue-500), var(--blue-700)); color: white; box-shadow: 0 7px 15px rgba(76,108,218,.18); }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(76,108,218,.24); }
.primary-button svg { width: 15px; height: 15px; }
.secondary-button, .small-select, .filter-button { border: 1px solid var(--line-strong); background: white; color: #526176; }
.secondary-button:hover, .small-select:hover, .filter-button:hover { border-color: #bcc8db; background: #fbfcff; color: var(--blue-700); }
.small-select { min-height: 30px; padding: 0 10px; color: var(--muted); font-size: 10px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.metric-card { position: relative; min-height: 125px; padding: 18px 19px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.metric-card.metric-primary { border-color: #d9e1ff; background: linear-gradient(135deg, #f3f6ff, #fff); }
.metric-label { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }
.metric-card strong { display: block; margin-top: 9px; color: var(--ink); font-size: 27px; letter-spacing: -.05em; line-height: 1; }
.metric-card strong small { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; }
.metric-meta { display: block; margin-top: 10px; color: var(--muted-2); font-size: 10px; }
.metric-meta b { color: var(--blue-600); font-weight: 700; }
.metric-meta b.positive, .positive, .green-text { color: var(--green); }
.metric-icon { position: absolute; top: 16px; right: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--blue-100); color: var(--blue-600); }
.metric-icon svg { width: 16px; height: 16px; }
.metric-icon.soft-amber { background: var(--amber-bg); color: var(--amber); }
.metric-icon.soft-green { background: var(--green-bg); color: var(--green); }
.metric-progress { height: 4px; margin-top: 13px; border-radius: 99px; background: #edf0f5; overflow: hidden; }
.metric-progress i { display: block; height: 100%; border-radius: inherit; background: var(--blue-500); }

.dashboard-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .72fr); align-items: start; gap: 18px; }
.dashboard-primary { min-width: 0; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.task-panel { overflow: hidden; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 19px 21px; }
.panel-head h2 { margin: 0; font-size: 14px; letter-spacing: -.025em; }
.panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.segmented-control { display: inline-flex; padding: 3px; border-radius: 7px; background: #f2f4f8; }
.segmented-control button { min-height: 25px; padding: 0 9px; border-radius: 5px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 600; }
.segmented-control button.is-active { background: white; color: var(--blue-700); box-shadow: 0 2px 5px rgba(43,57,88,.1); }
.segmented-control button b { margin-left: 3px; font-size: 9px; font-weight: 700; }
.task-table { border-top: 1px solid var(--line); }
.task-row { display: grid; grid-template-columns: 30px minmax(150px, 1.18fr) minmax(115px, .9fr) 80px 105px; align-items: center; gap: 13px; min-height: 77px; padding: 11px 21px; border-bottom: 1px solid #f0f2f6; cursor: pointer; transition: .16s ease; }
.task-row:last-child { border-bottom: 0; }
.task-row:hover, .task-row.is-selected { background: #fbfcff; }
.tier { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.tier-s { background: #fbe6e7; color: #c14b55; }.tier-a { background: #fff0cf; color: #ad7619; }.tier-b { background: #e8edff; color: #4d66c3; }.tier-c { background: #f1f3f5; color: #5f6876; }.tier-d { background: #eef0f3; color: #707782; }
.task-customer { min-width: 0; }.task-customer strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.task-customer small { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.task-signal { min-width: 0; }.task-signal span { display: block; margin-bottom: 4px; color: var(--ink); font-size: 10px; font-weight: 600; }.task-signal small { display: block; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.score { color: var(--blue-700); font-size: 18px; font-weight: 800; letter-spacing: -.04em; }.score small { display: block; color: var(--muted-2); font-size: 9px; font-weight: 500; letter-spacing: 0; }
.task-action { display: flex; align-items: center; justify-content: flex-end; gap: 5px; white-space: nowrap; }.task-action span { color: var(--muted); font-size: 10px; }.task-action button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; border-radius: 6px; background: var(--blue-50); color: var(--blue-700); font-size: 10px; font-weight: 700; }.task-action button:hover { background: var(--blue-100); }.task-action svg { width: 13px; height: 13px; }
.panel-footer-link, .text-button { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--blue-600); font-size: 10px; font-weight: 700; }.panel-footer-link { margin: 0 21px 14px; padding: 8px 0; }.text-button:hover, .panel-footer-link:hover { color: var(--blue-700); }.text-button svg, .panel-footer-link svg { width: 14px; height: 14px; }
.customer-panel { position: sticky; top: 84px; min-width: 0; }
.customer-card { padding: 21px; border: 1px solid #dce4ff; border-radius: 12px; background: linear-gradient(180deg, #fbfcff, #fff); box-shadow: 0 14px 34px rgba(58, 81, 165, .08); }
.customer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }.customer-head h2 { margin: 0; font-size: 17px; line-height: 1.35; letter-spacing: -.045em; }.customer-head p { margin: 6px 0 0; color: var(--muted); font-size: 10px; }.customer-tier { padding: 4px 7px; border-radius: 5px; background: #fbe6e7; color: #bd4d55; font-size: 10px; font-weight: 800; }
.customer-score { display: flex; align-items: flex-end; justify-content: space-between; padding: 17px 0 12px; }.customer-score span { display: block; color: var(--muted); font-size: 10px; }.customer-score strong { display: block; margin-top: 3px; color: var(--blue-700); font-size: 31px; line-height: 1; letter-spacing: -.04em; }.score-grade { padding-bottom: 3px; color: var(--green); font-size: 11px; font-weight: 700; }.score-meter { position: relative; height: 6px; border-radius: 99px; background: #edf0f7; overflow: hidden; }.score-meter-fill { display: block; min-width: 3px; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7b91ea, var(--blue-700)); }
.customer-section { padding: 15px 0; border-bottom: 1px solid var(--line); }.customer-section:last-of-type { border-bottom: 0; }.customer-section h3 { margin: 0 0 9px; font-size: 11px; }.customer-section p { margin: 0; color: #657387; font-size: 10px; line-height: 1.65; }.evidence-list { display: grid; gap: 8px; }.evidence-list div { display: flex; gap: 7px; align-items: flex-start; color: #647287; font-size: 10px; }.evidence-list svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--blue-500); }.next-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border: 1px solid #dce4ff; border-radius: 8px; background: var(--blue-50); }.next-action span { color: var(--muted); font-size: 10px; }.next-action strong { color: var(--blue-700); font-size: 11px; text-align: right; }.readiness { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }.readiness span { display: flex; align-items: center; gap: 5px; padding: 7px 8px; border-radius: 6px; background: #f5f7fa; color: var(--muted); font-size: 9px; }.readiness span.is-ready { background: var(--green-bg); color: var(--green); }.readiness svg { width: 13px; height: 13px; }.customer-footer { display: flex; gap: 8px; margin-top: 16px; }.customer-footer button { flex: 1; }.customer-footer .secondary-button { min-height: 34px; }

.lower-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr); gap: 18px; margin-top: 18px; }.trend-panel, .insight-panel { min-width: 0; }.trend-chart { display: flex; gap: 10px; height: 177px; padding: 0 21px; }.chart-y-labels { display: flex; flex-direction: column; justify-content: space-between; padding: 5px 0 19px; color: var(--muted-2); font-size: 9px; }.chart-main { position: relative; flex: 1; min-width: 0; }.chart-gridlines { position: absolute; inset: 4px 0 21px; display: flex; flex-direction: column; justify-content: space-between; }.chart-gridlines i { height: 1px; background: #eef1f5; }.chart-main svg { position: absolute; inset: 0 0 21px; width: 100%; height: calc(100% - 21px); overflow: visible; }.trend-area { fill: url(#areaFill); stroke: none; }.trend-line { fill: none; stroke: var(--blue-500); stroke-width: 3; vector-effect: non-scaling-stroke; }.trend-line + circle { fill: var(--blue-700); stroke: white; stroke-width: 3; }.chart-x-labels { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; color: var(--muted-2); font-size: 8px; }.chart-summary { display: flex; align-items: center; gap: 6px; margin: 0 21px 15px; color: var(--muted); font-size: 9px; }.chart-summary b { color: var(--ink); font-size: 11px; }.legend-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); }.insight-panel { background: linear-gradient(145deg, #f7f9ff, #fff); }.spark-label { display: inline-flex; align-items: center; gap: 6px; }.spark-label svg { width: 16px; height: 16px; color: var(--blue-500); }.updated-label { color: var(--muted-2); font-size: 9px; white-space: nowrap; }.insight-body { padding: 0 21px 18px; }.insight-body > strong { font-size: 13px; }.insight-body > p { margin: 8px 0 13px; color: #657387; font-size: 10px; line-height: 1.65; }.insight-evidence { display: grid; gap: 4px; padding: 9px 10px; box-shadow: inset 2px 0 0 var(--blue-500); background: rgba(76,108,218,.06); }.insight-evidence span { color: var(--blue-600); font-size: 9px; font-weight: 700; }.insight-evidence b { color: #607087; font-size: 9px; font-weight: 500; line-height: 1.5; }.insight-body .text-button { margin-top: 14px; }

.resource-panel { overflow: hidden; }.resource-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; border-bottom: 1px solid var(--line); }.resource-search { position: relative; width: min(360px, 42%); }.resource-search svg { position: absolute; top: 9px; left: 11px; width: 15px; height: 15px; color: var(--muted-2); }.resource-search input { width: 100%; height: 34px; padding: 0 12px 0 34px; border: 1px solid var(--line-strong); border-radius: 7px; outline: none; background: white; color: var(--ink); font-size: 11px; }.resource-search input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(76,108,218,.1); }.filter-actions { display: flex; align-items: center; gap: 9px; }.filter-button { min-height: 32px; padding: 0 10px; font-size: 10px; }.filter-button svg { width: 14px; height: 14px; }.resource-tabs button { min-width: 72px; }.table-scroll { overflow-x: auto; }.data-table { min-width: 860px; }.data-row { display: grid; align-items: center; gap: 16px; min-height: 68px; padding: 0 20px; border-bottom: 1px solid #f0f2f6; }.data-row:last-child { border-bottom: 0; }.data-row.data-head { min-height: 42px; background: #fbfcfe; color: var(--muted-2); font-size: 10px; font-weight: 700; }.resource-table .data-row { grid-template-columns: minmax(235px, 1.5fr) minmax(135px, 1fr) 90px 82px 110px 100px; }.data-row > span { min-width: 0; }.resource-customer { display: flex; align-items: center; gap: 10px; min-width: 0; }.resource-customer > div { min-width: 0; }.company-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 31px; height: 31px; border-radius: 8px; background: var(--blue-100); color: var(--blue-700); font-size: 10px; font-weight: 800; }.resource-customer strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.resource-customer small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }.region-cell, .owner-cell { color: #66758a; font-size: 10px; }.score-cell { font-size: 14px; font-weight: 800; }.score-cell.high { color: var(--blue-700); }.score-cell.mid { color: var(--amber); }.status-chip { display: inline-flex; width: max-content; align-items: center; padding: 4px 7px; border-radius: 5px; background: #f2f4f8; color: #66758a; font-size: 9px; font-weight: 700; }.status-chip.ready { background: var(--green-bg); color: var(--green); }.status-chip.pending { background: var(--amber-bg); color: var(--amber); }.row-action { display: inline-flex; align-items: center; gap: 3px; padding: 5px 7px; border-radius: 5px; background: transparent; color: var(--blue-600); font-size: 10px; font-weight: 700; }.row-action:hover { background: var(--blue-50); }.row-action svg { width: 13px; height: 13px; }.table-footer { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; background: #fbfcfe; color: var(--muted-2); font-size: 10px; }

.followup-summary, .pack-kpis, .overview-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }.mini-stat, .pack-kpis > div, .overview-kpis article { min-height: 100px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 11px; background: white; box-shadow: var(--shadow); }.mini-stat span, .pack-kpis span, .overview-kpis span { display: block; color: var(--muted); font-size: 10px; }.mini-stat strong, .pack-kpis strong { display: block; margin-top: 8px; font-size: 25px; line-height: 1; letter-spacing: -.06em; }.mini-stat b { display: block; margin-top: 7px; color: var(--muted-2); font-size: 9px; font-weight: 600; }.amber-text { color: var(--amber) !important; }.mini-stat:nth-child(3) strong, .mini-stat:nth-child(3) b { color: var(--green); }.followup-table .data-row { grid-template-columns: minmax(210px,1.2fr) minmax(130px,1fr) minmax(150px,1fr) minmax(145px,1fr) 100px 78px; }.followup-customer strong, .followup-customer small { display: block; }.followup-customer strong { font-size: 11px; }.followup-customer small { margin-top: 3px; color: var(--muted); font-size: 9px; }.feedback-cell, .next-cell { color: #66758a; font-size: 10px; }.due-cell { color: var(--amber); font-size: 10px; font-weight: 700; }
.pack-kpis > div { position: relative; }.pack-kpis strong small { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0; }.pack-kpis p { margin: 8px 0 0; color: var(--muted-2); font-size: 9px; }.pack-kpis i { display: block; height: 5px; margin-top: 14px; border-radius: 99px; background: #edf0f5; overflow: hidden; }.pack-kpis i b { display: block; height: 100%; border-radius: inherit; background: var(--blue-500); }.pack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.pack-card { padding: 17px 18px; border: 1px solid var(--line); border-radius: 11px; background: white; box-shadow: var(--shadow); }.pack-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }.pack-card-head strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.pack-card-head small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }.pack-status { padding: 4px 7px; border-radius: 5px; background: var(--green-bg); color: var(--green); font-size: 9px; font-weight: 700; white-space: nowrap; }.pack-status.pending { background: var(--amber-bg); color: var(--amber); }.pack-bar { display: flex; gap: 3px; margin: 16px 0 10px; }.pack-bar i { height: 5px; flex: 1; border-radius: 99px; background: #e8edf4; }.pack-bar i.ready { background: var(--blue-500); }.pack-bar i.ai { background: #9bb0ff; }.pack-card-foot { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; }.pack-card-foot .text-button { font-size: 9px; }
.overview-kpis article { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; align-content: start; }.overview-kpis span { grid-column: 1/-1; }.overview-kpis strong { margin-top: 9px; font-size: 24px; letter-spacing: -.07em; }.overview-kpis strong small { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; }.overview-kpis b { align-self: end; margin-bottom: 3px; color: var(--green); font-size: 10px; }.overview-kpis small { grid-column: 1/-1; margin-top: 5px; color: var(--muted-2); font-size: 9px; }.analytics-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }.analytics-grid .panel { min-height: 230px; }.distribution-bars { display: grid; gap: 14px; padding: 4px 21px 17px; }.bar-row, .region-bars > div { display: grid; grid-template-columns: 50px 1fr 44px; align-items: center; gap: 10px; }.bar-row > span, .region-bars span { color: var(--muted); font-size: 10px; }.bar-row > i, .region-bars i { display: block; height: 8px; overflow: hidden; border-radius: 99px; background: #eff2f6; }.bar-row > i b, .region-bars i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8da3ef, var(--blue-500)); }.bar-row strong, .region-bars strong { color: var(--ink); font-size: 10px; text-align: right; }.funnel { display: grid; gap: 10px; padding: 5px 21px 20px; }.funnel div { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }.funnel span { position: relative; z-index: 1; padding-left: 9px; color: #66758a; font-size: 10px; }.funnel b { position: relative; z-index: 1; min-width: 32px; color: var(--blue-700); font-size: 10px; text-align: right; }.funnel div::before { content: ""; position: absolute; inset: 0; border-radius: 5px; background: var(--blue-50); }.funnel div:nth-child(2)::before { right: 14%; }.funnel div:nth-child(3)::before { right: 34%; }.funnel div:nth-child(4)::before { right: 54%; }.region-bars { display: grid; gap: 15px; padding: 6px 21px 23px; }.action-panel { grid-column: 2; }.alert-list { display: grid; gap: 1px; padding: 0 21px 17px; }.alert-item { display: flex; align-items: center; gap: 9px; padding: 11px 0; border-bottom: 1px solid #f0f2f6; }.alert-item:last-child { border-bottom: 0; }.alert-icon { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 7px; }.alert-icon.amber { background: var(--amber-bg); color: var(--amber); }.alert-icon.green { background: var(--green-bg); color: var(--green); }.alert-icon svg { width: 15px; height: 15px; }.alert-item > div { flex: 1; min-width: 0; }.alert-item b, .alert-item small { display: block; }.alert-item b { font-size: 10px; }.alert-item small { margin-top: 3px; color: var(--muted); font-size: 9px; }.alert-item .text-button { font-size: 9px; white-space: nowrap; }

.modal { width: min(520px, calc(100vw - 30px)); padding: 0; border: 0; border-radius: 13px; background: white; color: var(--ink); box-shadow: 0 24px 70px rgba(22, 35, 69, .24); }.modal::backdrop { background: rgba(25, 34, 52, .38); backdrop-filter: blur(2px); }.modal-card { padding: 22px; }.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.modal-head h2 { margin: 0; font-size: 19px; letter-spacing: -.04em; }.modal-head p { margin: 6px 0 0; color: var(--muted); font-size: 10px; }.modal-head .eyebrow { margin-bottom: 5px; }.import-steps { display: flex; align-items: center; gap: 9px; margin: 23px 0 19px; color: var(--muted-2); font-size: 10px; font-weight: 700; }.import-steps span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }.import-steps b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #eef1f6; color: var(--muted); font-size: 9px; }.import-steps span.is-active { color: var(--blue-700); }.import-steps span.is-active b { background: var(--blue-500); color: white; }.import-steps i { flex: 1; height: 1px; background: var(--line-strong); }.upload-zone { display: grid; place-items: center; gap: 6px; min-height: 160px; padding: 20px; border: 1px dashed #bfcbed; border-radius: 10px; background: var(--blue-50); color: var(--blue-700); text-align: center; }.upload-zone svg { width: 27px; height: 27px; margin-bottom: 3px; }.upload-zone strong { font-size: 12px; }.upload-zone small { color: var(--muted); font-size: 9px; }.upload-zone input { display: none; }.import-note { display: flex; gap: 9px; margin-top: 14px; padding: 10px; border-radius: 7px; background: #f5faf7; }.import-note > span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-bg); color: var(--green); }.import-note svg { width: 13px; height: 13px; }.import-note p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }.import-note b { color: var(--green); font-size: 10px; }.file-name { min-height: 16px; margin: 12px 0 0; color: var(--muted-2); font-size: 10px; }.modal-foot { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }.detail-modal { width: min(620px, calc(100vw - 30px)); }.detail-modal-card { max-height: 85vh; overflow: auto; }.modal-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 21px; }.detail-fact { padding: 11px; border-radius: 8px; background: #f7f9fc; }.detail-fact span, .detail-fact strong { display: block; }.detail-fact span { color: var(--muted); font-size: 9px; }.detail-fact strong { margin-top: 4px; color: var(--ink); font-size: 11px; }.modal-detail-note { margin-top: 12px; padding: 12px; box-shadow: inset 2px 0 0 var(--blue-500); background: var(--blue-50); color: #5f6f86; font-size: 10px; line-height: 1.65; }.toast { position: fixed; z-index: 30; right: 26px; bottom: 24px; max-width: min(360px, calc(100vw - 40px)); padding: 10px 14px; border: 1px solid #d6deef; border-radius: 8px; background: #202b42; color: white; font-size: 11px; box-shadow: 0 10px 24px rgba(21,35,69,.2); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .22s ease; }.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) { .content-wrap { padding-inline: 24px; }.dashboard-layout { grid-template-columns: minmax(0, 1fr); }.customer-panel { position: static; }.customer-card { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 24px; }.customer-head { grid-column: 1/-1; }.customer-score, .customer-section, .customer-footer { grid-column: 1; }.customer-score { align-self: start; }.customer-card > .customer-section:nth-of-type(2), .customer-card > .customer-section:nth-of-type(3) { grid-column: 2; }.customer-footer { grid-row: 3 / span 2; align-self: end; }.lower-grid { grid-template-columns: 1fr; }.analytics-grid { grid-template-columns: 1fr 1fr; }.action-panel { grid-column: 1/-1; } }
@media (max-width: 860px) { :root { --sidebar: 210px; }.topbar { padding-inline: 22px; }.metric-grid, .followup-summary, .pack-kpis, .overview-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }.home-heading { align-items: flex-start; }.page-heading { align-items: flex-start; flex-direction: column; }.heading-actions { width: 100%; justify-content: flex-start; }.resource-toolbar { align-items: flex-start; flex-direction: column; }.resource-search { width: min(100%, 390px); }.filter-actions { width: 100%; justify-content: space-between; }.customer-card { display: block; }.customer-card > .customer-section:nth-of-type(2), .customer-card > .customer-section:nth-of-type(3) { display: block; }.customer-footer { margin-top: 16px; }.pack-grid, .analytics-grid { grid-template-columns: 1fr; }.action-panel { grid-column: auto; } }
@media (max-width: 640px) { .preview-banner { top: 8px; right: 8px; max-width: calc(100vw - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }.sidebar { width: min(280px, 84vw); transform: translateX(-102%); transition: transform .22s ease; box-shadow: 14px 0 40px rgba(25, 38, 69, .16); }.sidebar.is-open { transform: translateX(0); }.main-content { margin-left: 0; }.topbar { padding: 0 15px; }.mobile-menu { display: inline-flex; }.breadcrumbs { margin-left: 3px; }.topbar-actions { gap: 9px; }.topbar-link, .topbar-user, .topbar-divider { display: none; }.content-wrap { padding: 26px 14px 38px; }.page-heading h1 { font-size: 25px; }.heading-actions { flex-wrap: wrap; }.metric-grid { gap: 9px; }.metric-card { min-height: 112px; padding: 14px; }.metric-card strong { font-size: 24px; }.panel-head { padding: 16px 14px; }.panel-head .segmented-control { max-width: 50%; overflow-x: auto; }.task-row { grid-template-columns: 26px minmax(0, 1fr) 50px; gap: 9px; padding: 11px 14px; }.task-signal { display: none; }.task-action { grid-column: 2/-1; justify-content: flex-start; margin-top: -2px; }.task-action span { display: none; }.panel-footer-link { margin-left: 14px; }.lower-grid { gap: 12px; }.trend-chart { padding-inline: 14px; }.chart-summary { margin-inline: 14px; }.insight-body { padding-inline: 14px; }.resource-toolbar { padding: 13px 14px; }.filter-actions { align-items: flex-start; flex-direction: column; }.resource-tabs { width: 100%; overflow-x: auto; }.resource-tabs button { flex: 1; white-space: nowrap; }.table-footer { padding-inline: 14px; }.followup-summary, .pack-kpis, .overview-kpis { gap: 9px; }.mini-stat, .pack-kpis > div, .overview-kpis article { min-height: 92px; padding: 13px; }.mini-stat strong, .pack-kpis strong { font-size: 22px; }.pack-grid { gap: 10px; }.modal-card { padding: 17px; }.import-steps { gap: 5px; }.import-steps span { font-size: 8px; }.import-steps b { width: 18px; height: 18px; }.modal-foot { flex-wrap: wrap; }.modal-foot button { flex: 1; }.modal-detail-grid { grid-template-columns: 1fr; }.toast { right: 14px; bottom: 14px; } }

/* .AIOS作战平台 typography pass: readable product scale for the Operate surface. */
.brand-block { padding-bottom: 30px; }
.brand-word { color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.main-content { min-height: 100vh; }
.content-wrap { padding-top: 42px; }
.mobile-menu-float { display: none; }
body { font-size: 14px; }
.nav-label { font-size: 12px; }
.nav-item { min-height: 46px; }
.nav-item span { font-size: 14px; }
.nav-item em { font-size: 11px; }
.route-card-head { font-size: 12px; }
.route-switch button { font-size: 12px; }
.route-card small, .user-block small { font-size: 11px; }
.user-block b { font-size: 13px; }
.page-heading h1 { font-size: clamp(28px, 2.35vw, 34px); }
.page-heading p { font-size: 14px; }
.eyebrow { font-size: 11px; }
.primary-button, .secondary-button, .small-select, .filter-button { font-size: 13px; }
.metric-card { min-height: 136px; }
.metric-label { font-size: 13px; }
.metric-card strong { font-size: 31px; }
.metric-card strong small { font-size: 13px; }
.metric-meta { font-size: 12px; }
.panel-head h2 { font-size: 17px; }
.panel-head p { font-size: 12px; }
.segmented-control button { font-size: 12px; }
.task-row { min-height: 84px; }
.task-customer strong { font-size: 14px; }
.task-customer small, .task-signal small { font-size: 11px; }
.task-signal span { font-size: 12px; }
.score { font-size: 22px; }
.score small { font-size: 11px; }
.task-action span, .task-action button { font-size: 12px; }
.panel-footer-link, .text-button { font-size: 12px; }
.customer-head h2 { font-size: 19px; }
.customer-head p, .customer-score span, .score-grade, .customer-section p, .evidence-list div, .next-action span, .next-action strong, .readiness span { font-size: 12px; }
.customer-section h3 { font-size: 13px; }
.customer-score strong { font-size: 34px; }
.insight-body > strong { font-size: 15px; }
.insight-body > p, .insight-evidence b { font-size: 12px; }
.insight-evidence span { font-size: 11px; }
.updated-label, .chart-summary { font-size: 11px; }
.chart-summary b { font-size: 13px; }
.resource-search input { font-size: 13px; }
.data-row.data-head { font-size: 12px; }
.data-row { min-height: 76px; }
.resource-customer strong { font-size: 13px; }
.resource-customer small, .region-cell, .owner-cell, .status-chip, .row-action, .table-footer { font-size: 11px; }
.score-cell { font-size: 17px; }
.mini-stat span, .pack-kpis span, .overview-kpis span { font-size: 12px; }
.mini-stat strong, .pack-kpis strong { font-size: 28px; }
.mini-stat b, .pack-kpis p, .overview-kpis small { font-size: 11px; }
.followup-customer strong, .feedback-cell, .next-cell, .due-cell { font-size: 12px; }
.followup-customer small { font-size: 11px; }
.pack-card-head strong { font-size: 14px; }
.pack-card-head small, .pack-card-foot, .pack-status { font-size: 11px; }
.overview-kpis strong { font-size: 29px; }
.overview-kpis b { font-size: 11px; }
.bar-row > span, .region-bars span, .bar-row strong, .region-bars strong, .funnel span, .funnel b { font-size: 12px; }
.alert-item b { font-size: 12px; }
.alert-item small, .alert-item .text-button { font-size: 11px; }
.modal-head h2 { font-size: 21px; }
.modal-head p, .upload-zone small, .import-note p, .file-name, .detail-fact span, .modal-detail-note { font-size: 12px; }
.upload-zone strong { font-size: 14px; }
.import-note b, .detail-fact strong { font-size: 13px; }

@media (max-width: 640px) {
  .mobile-menu-float { position: fixed; top: 12px; left: 12px; z-index: 20; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 5px 16px rgba(34, 49, 80, .12); }
  .mobile-menu-float svg { width: 19px; height: 19px; }
  .content-wrap { padding-top: 66px; }
  .sidebar.is-open .brand-block { padding-top: 48px; }
  .brand-word { font-size: 20px; }
  .page-heading h1 { font-size: 28px; }
  .page-heading p { font-size: 13px; }
  .metric-card { min-height: 122px; }
  .metric-label { font-size: 12px; }
  .metric-card strong { font-size: 27px; }
  .task-row { min-height: 94px; }
  .task-customer strong { font-size: 13px; }
  .panel-head h2 { font-size: 16px; }
  .panel-head p { font-size: 11px; }
}

/* Shared page heading and type clarity pass. */
body { font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif; font-synthesis: none; text-rendering: optimizeLegibility; }
.page-heading { align-items: center; min-height: 42px; margin-bottom: 24px; }
.page-heading > div:first-child { min-width: 0; }
.heading-actions { margin-left: auto; flex-shrink: 0; }
.page-heading h1 { font-weight: 700; letter-spacing: -.025em; }
.brand-word { font-weight: 700; letter-spacing: -.02em; }
.nav-item span { font-weight: 600; }
.customer-head h2 { font-weight: 700; letter-spacing: -.025em; }
.customer-score strong, .score, .score-cell { font-weight: 700; letter-spacing: -.035em; }
.metric-card strong, .mini-stat strong, .pack-kpis strong, .overview-kpis strong { font-weight: 700; letter-spacing: -.035em; }
.primary-button, .secondary-button, .small-select, .filter-button, .row-action, .text-button, .panel-footer-link { font-weight: 600; }
.eyebrow { display: none; }

@media (max-width: 860px) {
  .page-heading { align-items: flex-start; }
  .heading-actions { margin-left: 0; }
}

/* Final type scale: only 12 / 14 / 16 / 20px are used in the rendered UI. */
:root {
  --type-meta: 12px;
  --type-body: 14px;
  --type-section: 16px;
  --type-title: 20px;
}
body { font-size: var(--type-body); }
.brand-word { font-size: var(--type-section); }
.nav-label, .nav-item em, .route-card-head, .route-switch button, .route-card small, .user-block small { font-size: var(--type-meta); }
.nav-item span, .user-block b, .primary-button, .secondary-button, .small-select, .filter-button, .task-signal span, .task-action span, .task-action button, .panel-footer-link, .text-button, .resource-search input, .row-action, .followup-customer strong, .feedback-cell, .next-cell, .due-cell, .pack-card-head strong, .alert-item b, .upload-zone strong { font-size: var(--type-body); }
.page-heading h1, .metric-card strong, .score, .customer-score strong, .score-cell, .mini-stat strong, .pack-kpis strong, .overview-kpis strong, .modal-head h2 { font-size: var(--type-title); }
.panel-head h2, .customer-head h2, .customer-section h3, .insight-body > strong { font-size: var(--type-section); }
.panel-head p, .task-customer small, .task-signal small, .score small, .customer-head p, .customer-score span, .score-grade, .readiness span, .updated-label, .chart-summary, .chart-x-labels span, .insight-body > p, .insight-evidence b, .insight-evidence span, .resource-customer small, .region-cell, .owner-cell, .status-chip, .table-footer, .followup-customer small, .pack-card-head small, .pack-card-foot, .pack-status, .mini-stat span, .mini-stat b, .pack-kpis span, .pack-kpis p, .overview-kpis span, .overview-kpis b, .overview-kpis small, .bar-row > span, .region-bars span, .bar-row strong, .region-bars strong, .funnel span, .funnel b, .alert-item small, .alert-item .text-button, .modal-head p, .upload-zone small, .import-note p, .file-name, .detail-fact span, .detail-fact strong, .modal-detail-note { font-size: var(--type-meta); }
.customer-section p, .evidence-list div, .next-action strong { font-size: var(--type-body); }
.metric-card strong small, .overview-kpis strong small, .pack-kpis strong small { font-size: var(--type-meta); }
.chart-x-labels, .chart-y-labels, .chart-y-labels span, .customer-tier, .company-avatar, .user-avatar, .tier, .chart-summary b { font-size: var(--type-meta); }
.task-customer strong, .resource-customer strong { font-size: var(--type-body); }
.segmented-control button b, .pack-card-foot .text-button, .readiness-count { font-size: var(--type-body); }
.import-steps, .import-steps span, .import-steps b { font-size: var(--type-meta); }
.import-note b { font-size: var(--type-body); }

@media (max-width: 640px) {
  .brand-word, .page-heading h1 { font-size: var(--type-title); }
}

/* Shared canvas geometry: one full-width content frame for every page. */
.content-wrap { width: 100%; max-width: none; margin: 0; padding-left: 32px; padding-right: 32px; }
.nav-item.is-active { box-shadow: none; }

@media (max-width: 860px) {
  .content-wrap { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 640px) {
  .content-wrap { padding-left: 14px; padding-right: 14px; }
}

/* v5 experiment: DeepSeek-inspired system rendering, compact headers, gray-first UI. */
body {
  font-family: "AIOS UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:root {
  --ink: #20252d;
  --muted: #687383;
  --muted-2: #9aa3ae;
  --line: #e4e7ec;
  --line-strong: #d4d9e1;
  --blue-50: #f3f5f7;
  --blue-100: #e8ebef;
  --blue-500: #5c6f96;
  --blue-600: #435779;
  --blue-700: #2f3d56;
}

html { overflow-y: scroll; }

/* One compact top rhythm shared by home, resources, follow-ups, packs and analytics. */
.content-wrap { padding-top: 20px; }
.page-heading { min-height: 32px; margin-bottom: 16px; }
.page-heading h1 { line-height: 1.25; }
.dashboard-primary { display: flex; flex-direction: column; gap: 16px; }
.dashboard-primary > .insight-panel,
.dashboard-primary > .task-panel,
.dashboard-primary > .trend-panel { width: 100%; }
.dashboard-primary > .trend-panel { margin-top: 0; }

/* Reserve the brand color for data signals; actions and navigation use neutral ink. */
.primary-button { background: var(--ink); box-shadow: 0 7px 15px rgba(32, 37, 45, .14); }
.primary-button:hover { background: #11161e; box-shadow: 0 10px 20px rgba(32, 37, 45, .2); }
.nav-item.is-active { background: #f1f3f5; color: var(--ink); }
.nav-item.is-active svg { color: var(--ink); }
.nav-item:hover { background: #f7f8f9; color: var(--ink); }
.secondary-button, .small-select, .filter-button { color: #4f5968; }
.secondary-button:hover, .small-select:hover, .filter-button:hover { border-color: var(--line-strong); background: #f7f8f9; color: var(--ink); }
.segmented-control button.is-active { color: var(--ink); }
.task-row:hover, .task-row.is-selected { background: #f8f9fa; }
.task-action button { background: #f3f5f7; color: var(--ink); }
.task-action button:hover { background: #e9edf1; }
.panel-footer-link, .text-button, .row-action { color: var(--ink); }
.text-button:hover, .panel-footer-link:hover { color: #11161e; }
.row-action:hover { background: #f3f5f7; }
.score, .score-cell, .customer-score strong { color: var(--ink); }
.score-meter-fill { background: #6f7987; }
.customer-card { border-color: var(--line); background: #fff; box-shadow: var(--shadow); }
.next-action { border-color: var(--line); background: #f7f8fa; }
.next-action strong { color: var(--ink); }
.evidence-list svg { color: #6b7480; }
.insight-panel { background: #fff; }
.spark-label svg { color: var(--blue-500); }
.insight-evidence { box-shadow: inset 2px 0 0 #c4cad2; background: #f4f6f8; }
.insight-evidence span { color: var(--ink); }
.company-avatar { background: #eef0f2; color: var(--ink); }
.score-cell.high { color: var(--ink); }
.trend-line { stroke: var(--blue-500); }
.trend-line + circle { fill: var(--blue-700); }
.legend-dot { background: var(--blue-500); }

@media (max-width: 640px) {
  .content-wrap { padding-top: 66px; }
  .task-row { grid-template-columns: 28px minmax(0, 1fr) 64px; }
}

/* backend-system-generator: high-density queue / light theme pass. */
:root {
  --ca-bg: #f5f7fa;
  --ca-surface: #ffffff;
  --ca-surface-subtle: #f8fafc;
  --ca-ink: #0b1220;
  --ca-ink-2: #344054;
  --ca-ink-3: #667085;
  --ca-line: #e4eaf1;
  --ca-primary: #3e5abd;
  --ca-primary-hover: #334ca9;
  --ca-primary-soft: #eef1ff;
  --ca-primary-start: #4c6cda;
  --ca-primary-mid: #3e5abd;
  --ca-primary-end: #3145a7;
  --ca-primary-gradient: linear-gradient(105deg, #4c6cda 0%, #3e5abd 52%, #3145a7 100%);
  --ca-primary-gradient-hover: linear-gradient(105deg, #4563ca 0%, #334ca9 52%, #2b3c96 100%);
  --ca-ai: #6857f5;
  --ca-ai-soft: #f0eeff;
  --ca-ai-ink: #5545db;
  --ca-success: #13b981;
  --ca-success-soft: #e8f8f2;
  --ca-success-ink: #087f5b;
  --ca-info: #0ea5c6;
  --ca-info-soft: #e7f8fc;
  --ca-info-ink: #087f9a;
  --ca-warning: #f59e0b;
  --ca-warning-soft: #fff7e5;
  --ca-warning-ink: #a15c00;
  --ca-critical: #f0445a;
  --ca-critical-soft: #fff0f2;
  --ca-critical-ink: #c62842;
  --ca-chart-grid: #e7ecf2;
  --ca-chart-axis: #667085;
  --ca-chart-track: #eef2f6;
  --ca-font-sans: "AIOS UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --ca-shadow-card: 0 1px 2px rgb(16 24 40 / 4%);
  --ca-shadow-float: 0 8px 24px rgb(16 24 40 / 8%);
  --ca-shadow-primary: 0 4px 12px rgb(49 69 167 / 18%);
  --ca-focus: 0 0 0 3px rgb(62 90 189 / 26%);
  --blue-700: var(--ca-primary-end);
  --blue-600: var(--ca-primary-mid);
  --blue-500: var(--ca-primary-start);
  --blue-100: var(--ca-primary-soft);
  --blue-50: #f8faff;
  --ink: var(--ca-ink);
  --muted: var(--ca-ink-3);
  --muted-2: #98a2b3;
  --line: var(--ca-line);
  --line-strong: #d0d5dd;
  --surface: var(--ca-surface);
  --canvas: var(--ca-bg);
  --green: var(--ca-success);
  --green-bg: var(--ca-success-soft);
  --amber: var(--ca-warning-ink);
  --amber-bg: var(--ca-warning-soft);
  --red: var(--ca-critical-ink);
  --red-bg: var(--ca-critical-soft);
  --sidebar: 224px;
  --topbar: 60px;
  --shadow: var(--ca-shadow-card);
}

html { min-width: 320px; overflow-y: scroll; background: var(--ca-bg); }
body {
  color: var(--ca-ink);
  background: var(--ca-bg);
  font-family: var(--ca-font-sans);
  font-variant-numeric: tabular-nums;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
button, input { font-family: inherit; }
:focus-visible { outline: none; box-shadow: var(--ca-focus); }

.app-shell { display: block; min-height: 100vh; }
.sidebar {
  width: var(--sidebar);
  padding: 20px 12px 16px;
  border-right-color: var(--ca-line);
  background: var(--ca-surface);
}
.brand-block { padding: 0 8px 24px; }
.brand-word { color: var(--ca-ink); font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.nav-label, .route-card-head, .route-card small, .user-block small { color: var(--ca-ink-3); }
.nav-label { margin: 0 10px 8px; font-size: 11px; font-weight: 600; }
.nav-item {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ca-ink-2);
  font-size: 13px;
  font-weight: 500;
}
.nav-item svg { width: 16px; height: 16px; }
.nav-item.is-active { background: var(--ca-primary-soft); color: var(--ca-primary-end); box-shadow: none; font-weight: 600; }
.nav-item.is-active svg { color: var(--ca-primary); }
.nav-item:hover { background: var(--ca-surface-subtle); color: var(--ca-ink); }
.sidebar-bottom { gap: 12px; }
.route-card { padding: 12px; border-color: var(--ca-line); border-radius: 10px; box-shadow: none; }
.route-card-head { font-size: 11px; }
.route-switch { margin: 8px 0; background: var(--ca-surface-subtle); }
.route-switch button { min-height: 30px; border-radius: 6px; color: var(--ca-ink-3); font-size: 12px; }
.route-switch button.is-active { background: var(--ca-surface); color: var(--ca-primary); box-shadow: var(--ca-shadow-card); }
.user-block { padding: 12px 8px 0; border-top-color: var(--ca-line); }
.user-block b { font-size: 12px; }
.user-avatar { width: 30px; height: 30px; background: var(--ca-ink); color: #fff; font-size: 12px; }

.main-content { margin-left: var(--sidebar); min-height: 100vh; }
.mobile-menu-float { display: none !important; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar);
  padding: 0 24px;
  border-bottom: 1px solid var(--ca-line);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(8px);
}
.topbar-left, .topbar-actions, .breadcrumbs, .topbar-search, .topbar-user { display: flex; align-items: center; }
.topbar-left, .topbar-actions { gap: 12px; }
.breadcrumbs { gap: 8px; min-width: 0; color: var(--ca-ink-3); font-size: 11px; font-weight: 600; letter-spacing: .05em; }
.breadcrumbs strong { overflow: hidden; color: var(--ca-ink); font-size: 13px; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumbs i { color: var(--ca-ink-3); font-size: 16px; font-style: normal; }
.topbar-search { width: min(310px, 28vw); height: 34px; gap: 8px; padding: 0 9px; border: 1px solid var(--ca-line); border-radius: 8px; background: var(--ca-surface-subtle); color: var(--ca-ink-3); }
.topbar-search svg { width: 15px; height: 15px; flex: 0 0 auto; }
.topbar-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ca-ink); font-size: 12px; }
.topbar-search kbd { min-width: 18px; padding: 1px 5px; border: 1px solid var(--ca-line); border-radius: 4px; background: var(--ca-surface); color: var(--ca-ink-3); font-size: 10px; text-align: center; }
.topbar-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--ca-line); border-radius: 999px; color: var(--ca-ink-2); font-size: 11px; white-space: nowrap; }
.topbar-notice { position: relative; width: 30px; height: 30px; padding: 0; background: transparent; color: var(--ca-ink-3); }
.topbar-notice svg { width: 17px; height: 17px; }
.topbar-notice span { position: absolute; top: 5px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--ca-critical); }
.topbar-user { gap: 7px; padding: 2px 0; background: transparent; color: var(--ca-ink-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.topbar-user .user-avatar { width: 26px; height: 26px; flex-basis: 26px; }
.topbar-user svg { width: 13px; height: 13px; transform: rotate(45deg); }
.mobile-menu { display: none; }

.content-wrap { width: 100%; max-width: none; margin: 0; padding: 20px 30px 40px; }
.page-heading { min-height: 64px; margin-bottom: 16px; align-items: center; }
.page-heading h1 { color: var(--ca-ink); font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.035em; }
.heading-actions { gap: 8px; }
.primary-button, .secondary-button, .small-select, .filter-button { min-height: 32px; border-radius: 8px; padding: 0 12px; font-size: 12px; font-weight: 600; }
.primary-button { color: #fff; background-color: var(--ca-primary); background-image: var(--ca-primary-gradient); border: 1px solid var(--ca-primary-end); box-shadow: var(--ca-shadow-primary); }
.primary-button:hover { background-image: var(--ca-primary-gradient-hover); transform: none; }
.secondary-button, .small-select, .filter-button { border: 1px solid var(--ca-line); background: var(--ca-surface); color: var(--ca-ink-2); }
.secondary-button:hover, .small-select:hover, .filter-button:hover { border-color: #c5cdd8; background: var(--ca-surface-subtle); color: var(--ca-ink); }
.eyebrow { display: none; }

.dashboard-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; }
.dashboard-primary { display: block; }
.panel { border-color: var(--ca-line); border-radius: var(--ca-radius-card, 12px); background: var(--ca-surface); box-shadow: var(--ca-shadow-card); }
.panel-head { min-height: 40px; padding: 16px; }
.panel-head h2, .customer-section h3 { color: var(--ca-ink); font-size: 14px; line-height: 20px; font-weight: 700; }
.panel-head p { margin-top: 2px; color: var(--ca-ink-3); font-size: 12px; line-height: 16px; }
.segmented-control { padding: 3px; border-radius: 7px; background: var(--ca-surface-subtle); }
.segmented-control button { min-height: 26px; border-radius: 6px; color: var(--ca-ink-3); font-size: 12px; font-weight: 600; }
.segmented-control button.is-active { color: var(--ca-primary-end); box-shadow: var(--ca-shadow-card); }
.task-row { grid-template-columns: 28px minmax(170px, 1.18fr) minmax(170px, 1fr) 70px 106px; min-height: 64px; gap: 12px; padding: 10px 16px; border-bottom-color: var(--ca-line); }
.task-row:hover, .task-row.is-selected { background: #fbfcff; }
.tier { width: 28px; height: 24px; border-radius: 7px; font-size: 11px; font-weight: 700; }
.tier-s { background: var(--ca-critical-soft); color: var(--ca-critical-ink); }
.tier-a { background: var(--ca-warning-soft); color: var(--ca-warning-ink); }
.tier-b { background: var(--ca-primary-soft); color: var(--ca-primary-end); }
.task-customer strong, .task-signal span { font-size: 13px; font-weight: 600; }
.task-customer small, .task-signal small, .task-action span { color: var(--ca-ink-3); font-size: 12px; }
.score { color: var(--ca-ink); font-size: 16px; font-weight: 700; }
.score small { color: var(--ca-ink-3); font-size: 11px; }
.task-action button { background: var(--ca-primary-soft); color: var(--ca-primary-end); font-size: 12px; font-weight: 600; }
.task-action button:hover { background: #e3e8ff; }
.panel-footer-link, .text-button, .row-action { color: var(--ca-primary-mid); font-size: 12px; font-weight: 600; }
.panel-footer-link { margin: 0 16px 12px; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 16px; margin-top: 16px; }
.trend-panel, .insight-panel { min-width: 0; }
.trend-chart { height: 220px; padding: 0 16px; }
.chart-y-labels, .chart-x-labels { color: var(--ca-chart-axis); font-size: 11px; }
.chart-gridlines i { background: var(--ca-chart-grid); }
.trend-line { stroke: var(--ca-primary); stroke-width: 2; }
.trend-line + circle { fill: var(--ca-primary-end); }
.legend-dot { background: var(--ca-primary); }
.chart-summary { margin: 0 16px 14px; color: var(--ca-ink-3); font-size: 12px; }
.chart-summary b { color: var(--ca-ink); font-size: 12px; }
.insight-panel { background: var(--ca-surface); }
.spark-label svg { color: var(--ca-ai); }
.updated-label { color: var(--ca-ink-3); font-size: 11px; }
.insight-body { padding: 0 16px 16px; }
.insight-body > strong { color: var(--ca-ink); font-size: 14px; }
.insight-body > p { margin: 6px 0 12px; color: var(--ca-ink-2); font-size: 12px; line-height: 18px; }
.insight-evidence { padding: 9px 10px; box-shadow: inset 2px 0 0 var(--ca-ai); background: var(--ca-ai-soft); }
.insight-evidence span { color: var(--ca-ai-ink); font-size: 11px; }
.insight-evidence b { color: var(--ca-ink-2); font-size: 11px; line-height: 16px; }

.customer-panel { top: 76px; }
.customer-card { padding: 16px; border-color: var(--ca-line); border-radius: var(--ca-radius-card, 12px); background: var(--ca-surface); box-shadow: var(--ca-shadow-card); }
.customer-head h2 { color: var(--ca-ink); font-size: 16px; line-height: 20px; }
.customer-head p, .customer-score span, .customer-section p, .evidence-list div, .next-action span { color: var(--ca-ink-3); font-size: 12px; }
.customer-tier { background: var(--ca-critical-soft); color: var(--ca-critical-ink); font-size: 11px; }
.customer-score { padding: 14px 0 10px; }
.customer-score strong { color: var(--ca-ink); font-size: 28px; }
.score-grade { color: var(--ca-success-ink); font-size: 12px; }
.score-meter { height: 6px; background: var(--ca-chart-track); }
.score-meter-fill { background: var(--ca-primary-gradient); }
.customer-section { padding: 12px 0; border-bottom-color: var(--ca-line); }
.evidence-list { gap: 7px; }
.evidence-list svg { color: var(--ca-primary); }
.next-action { padding: 10px; border-color: var(--ca-line); background: var(--ca-surface-subtle); }
.next-action strong { color: var(--ca-ink); font-size: 12px; }
.readiness span { padding: 6px 8px; background: var(--ca-surface-subtle); color: var(--ca-ink-3); font-size: 11px; }
.readiness span.is-ready { background: var(--ca-success-soft); color: var(--ca-success-ink); }
.customer-footer { margin-top: 12px; }

.resource-panel, .table-card { border-radius: 12px; box-shadow: var(--ca-shadow-card); }
.resource-toolbar { padding: 12px 16px; border-bottom-color: var(--ca-line); }
.resource-search input { height: 32px; border-color: var(--ca-line); background: var(--ca-surface-subtle); font-size: 12px; }
.resource-search input:focus { border-color: var(--ca-primary); box-shadow: var(--ca-focus); }
.data-row { min-height: 52px; padding: 0 16px; border-bottom-color: var(--ca-line); }
.data-row.data-head { min-height: 40px; background: var(--ca-surface-subtle); color: var(--ca-ink-3); font-size: 11px; }
.resource-customer strong, .followup-customer strong, .pack-card-head strong { font-size: 13px; }
.resource-customer small, .followup-customer small, .region-cell, .owner-cell, .feedback-cell, .next-cell, .due-cell { font-size: 12px; }
.company-avatar { background: var(--ca-primary-soft); color: var(--ca-primary-end); }
.tier-avatar { border: 1px solid currentColor; border-radius: 7px; font-size: 13px !important; font-weight: 800; }
.tier-avatar.tier-s { background: #eef4ff; color: #315bc4; }
.tier-avatar.tier-a { background: #edf9f3; color: #16845b; }
.tier-avatar.tier-b { background: #fff6e8; color: #a86608; }
.home-recommendation-loading { display: grid; place-items: center; min-height: 260px; padding: 40px; color: var(--ca-ink-3); text-align: center; }
.home-recommendation-loading.is-logo { min-height: 420px; }
.home-loading-logo { display: block; width: 52px; height: 52px; animation: home-logo-pulse 1.35s ease-in-out infinite; }
@keyframes home-logo-pulse { 0%,100% { opacity: .42; transform: scale(.92) rotate(0deg); } 50% { opacity: 1; transform: scale(1.08) rotate(90deg); } }
.home-loading-row { display: grid; grid-template-columns: minmax(220px,1fr) 18px minmax(180px,.72fr); gap: 28px; align-items: center; min-height: 104px; padding: 18px 8px; border-bottom: 1px solid #e8ebf0; }
.home-loading-row > i { width: 14px; height: 14px; border-radius: 5px; background: #e8ebf0; }
.detail-skeleton { display: grid; gap: 10px; width: 100%; }
.detail-skeleton i { display: block; width: var(--skeleton-width, 88%); height: 13px; border-radius: 6px; background: linear-gradient(90deg,#edf0f4 20%,#f8f9fb 48%,#edf0f4 76%); background-size: 220% 100%; animation: detail-shimmer 1.25s ease-in-out infinite; }
@keyframes detail-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.home-recommendation-loading .home-recommendation-spinner { width: 26px; height: 26px; margin-bottom: 12px; border: 2px solid #dbe3ef; border-top-color: var(--ca-primary); border-radius: 50%; animation: spin .8s linear infinite; }
.home-recommendation-loading strong { color: var(--ca-ink); font-size: 15px; }
.home-recommendation-loading p { max-width: 480px; margin: 7px 0 0; font-size: 12px; line-height: 20px; }
.score-cell { font-size: 14px; }
.score-cell.high { color: var(--ca-ink); }
.status-chip, .pack-status { font-size: 11px; }
.row-action:hover { background: var(--ca-primary-soft); }
.table-footer { padding: 10px 16px; background: var(--ca-surface-subtle); color: var(--ca-ink-3); font-size: 11px; }
.followup-summary, .pack-kpis, .overview-kpis { gap: 12px; margin-bottom: 16px; }
.mini-stat, .pack-kpis > div, .overview-kpis article { min-height: 92px; padding: 14px 16px; border-color: var(--ca-line); border-radius: 12px; box-shadow: var(--ca-shadow-card); }
.mini-stat span, .pack-kpis span, .overview-kpis span { font-size: 12px; }
.mini-stat strong, .pack-kpis strong, .overview-kpis strong { font-size: 26px; }
.pack-grid { gap: 12px; }
.pack-card { padding: 16px; border-color: var(--ca-line); border-radius: 12px; box-shadow: var(--ca-shadow-card); }
.pack-card-head small, .pack-card-foot, .pack-status { font-size: 11px; }
.pack-bar i.ready { background: var(--ca-primary); }
.pack-bar i.ai { background: var(--ca-ai); }
.analytics-grid { gap: 16px; }
.bar-row > i b, .region-bars i b { background: var(--ca-primary); }
.funnel div::before { background: var(--ca-primary-soft); }
.funnel b { color: var(--ca-primary-end); }

.modal { border-radius: 12px; box-shadow: var(--ca-shadow-float); }
.modal-card { padding: 20px; }
.modal-head h2 { font-size: 16px; }
.upload-zone { border-color: #b9c7dd; background: var(--ca-surface-subtle); color: var(--ca-primary-end); }
.toast { background: var(--ca-ink); box-shadow: var(--ca-shadow-float); }

@media (max-width: 1180px) {
  .dashboard-layout { grid-template-columns: minmax(0, 1fr); }
  .customer-panel { position: static; }
}

/* Complete home advice copy and high-legibility company research dialog. */
#view-home .insight-body { overflow: visible; }
#view-home .insight-body .advice-paragraph { display: block; overflow: visible; margin: 8px 0 10px; font-size: 13px !important; line-height: 20px !important; }
#view-home .insight-evidence b { display: block; overflow: visible; font-size: 12px !important; line-height: 18px !important; text-overflow: clip; white-space: normal; }
.detail-modal .modal-head h2 { font-size: 20px !important; line-height: 28px !important; }
.detail-modal .modal-head p { color: #536174; font-size: 13px !important; line-height: 20px !important; }
.detail-modal .detail-overview dt { color: #59677a; font-size: 13px; line-height: 19px; }
.detail-modal .detail-overview dd { color: #172033; font-size: 14px; line-height: 22px; }
.detail-modal .detail-section h3 { margin-bottom: 8px; color: #111827; font-size: 15px; line-height: 22px; }
.detail-modal .detail-section p { color: #344054; font-size: 15px; line-height: 26px; }
.detail-modal .detail-next span, .detail-modal .detail-next small { color: #59677a; font-size: 13px; line-height: 20px; }
.detail-modal .detail-next strong { font-size: 15px; line-height: 22px; }
@media (max-width: 860px) {
  :root { --sidebar: 224px; }
  .topbar { padding-inline: 16px; }
  .topbar-search { width: 240px; }
}
@media (max-width: 640px) {
  .sidebar { width: min(288px, calc(100vw - 48px)); }
  .main-content { margin-left: 0; }
  .topbar { min-height: 56px; padding: 0 12px; }
  .mobile-menu { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; background: transparent; color: var(--ca-ink-2); }
  .topbar-search, .topbar-chip, .topbar-notice, .topbar-user > span:not(.user-avatar), .topbar-user > svg { display: none; }
  .content-wrap { padding: 16px 12px 32px; }
  .page-heading { min-height: auto; margin-bottom: 12px; align-items: flex-start; flex-direction: column; }
  .page-heading h1 { font-size: 24px; }
  .heading-actions { width: 100%; }
  .heading-actions button { flex: 1; }
  .task-row { grid-template-columns: 28px minmax(0, 1fr) 64px; gap: 9px; padding: 10px 12px; }
  .task-signal { display: none; }
  .task-action { grid-column: 2 / -1; justify-content: flex-start; margin-top: -2px; }
  .task-action span { display: none; }
  .lower-grid { grid-template-columns: 1fr; gap: 12px; }
  .trend-chart { padding-inline: 12px; }
  .chart-summary { margin-inline: 12px; }
  .insight-body { padding-inline: 12px; }
  .followup-summary, .pack-kpis, .overview-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack-grid, .analytics-grid { grid-template-columns: 1fr; }
}

/* Operations overview template: KPI row, primary workspace, exception rail, support modules. */
#view-analytics .overview-kpis { margin-bottom: 16px; }
#view-analytics .overview-workspace { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); gap: 16px; margin-bottom: 16px; }
#view-analytics .overview-workspace > .panel, #view-analytics .overview-support-grid > .panel { min-width: 0; }
#view-analytics .distribution-panel, #view-analytics .action-panel, #view-analytics .overview-support-grid .panel { min-height: 250px; }
#view-analytics .overview-support-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 0; }
#view-analytics .panel-head { padding-bottom: 13px; }
#view-analytics .distribution-bars, #view-analytics .funnel { padding: 13px 16px 0; }
#view-analytics .region-bars { padding: 13px 16px 4px; }
#view-analytics .alert-list { padding: 9px 16px 4px; }
#view-analytics .chart-summary { padding: 13px 16px 15px; }

/* Restored original pack content: category cards + material list, with route-aware files. */
#view-packs .pack-route-context { display: flex; align-items: baseline; gap: 9px; margin: 0 0 16px; color: var(--ca-ink-3); font-size: 12px; line-height: 18px; }
#view-packs .pack-route-context strong { color: var(--ca-ink); font-size: 18px; font-weight: 700; }
#view-packs .pack-route-context small { color: var(--ca-ink-3); font-size: 12px; }
#view-packs .pack-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
#view-packs .pack-category-card { position: relative; display: block; min-width: 0; min-height: 158px; padding: 0; overflow: hidden; border: 1px solid var(--ca-line); border-radius: 12px; background: var(--ca-surface); color: var(--ca-ink); text-align: left; cursor: pointer; box-shadow: var(--ca-shadow-card); }
#view-packs .pack-category-card:hover { border-color: #c8d2e3; box-shadow: var(--ca-shadow-float); }
#view-packs .pack-category-card.is-selected { outline: 2px solid var(--ca-primary); outline-offset: 2px; }
#view-packs .pack-category-visual { display: block; width: 100%; height: 158px; overflow: hidden; background: #e9eef5; }
#view-packs .pack-category-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
#view-packs .pack-category-copy { position: absolute; right: 12px; bottom: 12px; left: 12px; z-index: 1; display: grid; gap: 3px; color: #fff; text-shadow: 0 1px 2px rgb(15 23 42 / 28%); }
#view-packs .pack-category-copy::before { content: ""; position: absolute; inset: -42px -12px -12px; z-index: -1; background: linear-gradient(180deg, transparent, rgb(15 23 42 / 72%)); }
#view-packs .pack-category-copy strong { font-size: 15px; line-height: 20px; font-weight: 700; }
#view-packs .pack-category-copy small { overflow: hidden; color: rgb(255 255 255 / 88%); font-size: 11px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
#view-packs .pack-material-card { overflow: hidden; border: 1px solid var(--ca-line); border-radius: 12px; background: var(--ca-surface); box-shadow: var(--ca-shadow-card); }
#view-packs .pack-material-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 16px; border-bottom: 1px solid var(--ca-line); }
#view-packs .pack-material-head h2 { margin: 0 0 4px; color: var(--ca-ink); font-size: 15px; line-height: 20px; font-weight: 700; }
#view-packs .pack-material-head p { margin: 0; color: var(--ca-ink-3); font-size: 11px; line-height: 16px; }
#view-packs .pack-material-status { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: var(--ca-success-ink); font-size: 11px; line-height: 16px; white-space: nowrap; }
#view-packs .pack-material-status svg { width: 14px; height: 14px; }
#view-packs .pack-material-list-head, #view-packs .pack-material-row { display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(220px, 1.5fr) 110px 100px 128px; gap: 12px; align-items: center; padding: 0 16px; }
#view-packs .pack-material-list-head { min-height: 36px; background: var(--ca-surface-subtle); color: var(--ca-ink-3); font-size: 11px; }
#view-packs .pack-material-row { min-height: 58px; border-bottom: 1px solid var(--ca-line); color: var(--ca-ink-2); font-size: 12px; }
#view-packs .pack-material-row:last-child { border-bottom: 0; }
#view-packs .pack-material-row.is-unavailable { background: #fbfcfd; color: #aab4c2; }
#view-packs .pack-material-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
#view-packs .pack-material-name strong { min-width: 0; overflow: hidden; color: var(--ca-ink); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
#view-packs .pack-material-row.is-unavailable .pack-material-name strong { color: #aab4c2; }
#view-packs .pack-file-type { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 24px; border-radius: 6px; background: var(--ca-primary-soft); color: var(--ca-primary); font-size: 10px; font-weight: 700; }
#view-packs .pack-file-type.is-ai { background: var(--ca-ai-soft); color: var(--ca-ai-ink); }
#view-packs .pack-material-description, #view-packs .pack-material-updated { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-packs .pack-material-updated { color: var(--ca-ink-3); }
#view-packs .pack-material-ready { display: inline-flex; align-items: center; gap: 5px; color: var(--ca-success-ink); font-size: 11px; white-space: nowrap; }
#view-packs .pack-material-ready.is-unavailable { color: #98a4b4; }
#view-packs .pack-material-ready svg { width: 14px; height: 14px; }
#view-packs .pack-material-actions { display: flex; justify-content: flex-end; gap: 7px; }
#view-packs .pack-material-actions button { min-height: 28px; padding: 5px 10px; border: 1px solid var(--ca-line); border-radius: 7px; background: var(--ca-surface); color: var(--ca-ink-2); font-size: 11px; cursor: pointer; }
#view-packs .pack-material-actions button:disabled { cursor: not-allowed; opacity: .45; }
#view-packs .pack-material-all { display: grid; gap: 0; }
#view-packs .pack-material-section { border-bottom: 1px solid var(--ca-line); }
#view-packs .pack-material-section:last-child { border-bottom: 0; }
#view-packs .pack-material-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 16px 10px; background: #fbfcfd; }
#view-packs .pack-material-section-head h3 { margin: 0 0 3px; color: var(--ca-ink); font-size: 13px; line-height: 18px; font-weight: 700; }
#view-packs .pack-material-section-head p { margin: 0; color: var(--ca-ink-3); font-size: 11px; line-height: 16px; }
#view-packs .pack-material-section-head > span { color: var(--ca-ink-3); font-size: 11px; white-space: nowrap; }
#view-packs .pack-material-section .pack-material-list-head { border-top: 1px solid var(--ca-line); }

@media (max-width: 1023px) {
  #view-packs .pack-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #view-packs .pack-material-list { overflow-x: auto; }
  #view-packs .pack-material-list-head, #view-packs .pack-material-row { min-width: 740px; }
  #view-analytics .overview-workspace { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  #view-packs .pack-route-context { align-items: flex-start; flex-direction: column; gap: 2px; }
  #view-packs .pack-category-grid { gap: 8px; }
  #view-packs .pack-category-card, #view-packs .pack-category-visual { min-height: 126px; height: 126px; }
  #view-packs .pack-material-head { padding: 14px 12px; }
  #view-analytics .overview-support-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Final compact type contract requested for the front and admin previews. */
:root { --type-title: 18px; --type-section: 16px; --type-body: 14px; --type-meta: 12px; }
.topbar { display: none !important; }
.content-wrap { padding-top: 20px !important; }
.page-heading h1, .home-heading h1 { font-size: 18px !important; line-height: 24px !important; }
.panel-head h2, .customer-head h2, .customer-section h3, .insight-body > strong, .pack-material-head h2, .pack-material-section-head h3 { font-size: 16px !important; line-height: 22px !important; }
.page-heading p, .panel-head p, .primary-button, .secondary-button, .small-select, .filter-button, .segmented-control button, .task-customer strong, .task-signal span, .task-action button, .panel-footer-link, .text-button, .customer-section p, .evidence-list div, .next-action strong, .insight-body > p, .resource-customer strong, .feedback-cell, .next-cell, .due-cell, .row-action, .pack-material-row, .pack-material-name strong, .pack-material-description, .heading-actions button { font-size: 14px !important; }
.task-customer small, .task-signal small, .task-action span, .customer-head p, .customer-score span, .score-grade, .readiness span, .updated-label, .chart-summary, .resource-customer small, .region-cell, .owner-cell, .status-chip, .table-footer, .followup-customer small, .pack-material-head p, .pack-material-section-head p, .pack-material-section-head > span, .pack-material-status, .pack-category-copy small, .alert-item small, .alert-item .text-button, .route-card small, .user-block small { font-size: 12px !important; }
.metric-card strong, .score, .customer-score strong, .score-cell, .mini-stat strong, .overview-kpis strong { font-size: 26px !important; }
.metric-label, .mini-stat span, .pack-kpis span, .overview-kpis span { font-size: 14px !important; }
.pack-category-copy strong { font-size: 16px !important; }

/* Hierarchical region picker and route-aware customer briefing. */
.detail-modal { width: min(920px, calc(100vw - 40px)); max-height: none; overflow: visible; }
.detail-modal-card { max-height: none; overflow: visible; }
.detail-overview { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 24px; margin-top: 20px; padding: 18px; border-radius: 12px; background: var(--ca-surface-subtle); }
.detail-overview > div { display: grid; align-content: center; justify-items: start; border-right: 1px solid var(--ca-line); }
.detail-overview > div strong { margin-top: 12px; font-size: 30px; line-height: 1; }
.detail-overview > div small { margin-top: 5px; color: var(--ca-ink-3); font-size: 12px; }
.detail-overview dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 20px; margin: 0; }
.detail-overview dt { color: var(--ca-ink-3); font-size: 12px; }
.detail-overview dd { margin: 4px 0 0; color: var(--ca-ink); font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }
.detail-section { padding: 16px 0; border-bottom: 1px solid var(--ca-line); }
.detail-section h3 { margin: 0 0 7px; font-size: 14px; }
.detail-section p { margin: 0; color: var(--ca-ink-2); font-size: 13px; line-height: 22px; }
.detail-next { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--ca-primary-soft); }
.detail-next span,.detail-next small { color: var(--ca-ink-3); font-size: 12px; }
.detail-next strong { display: block; margin-top: 4px; color: var(--ca-ink); font-size: 14px; }
.company-research-intro { margin-top: 14px; }
.detail-action-bar { margin-inline: -22px; padding: 16px 22px 0; background: var(--ca-surface); }
.detail-action-bar .secondary-button[hidden] { display: none; }
.detail-action-bar .primary-button { min-width: 122px; }
.detail-modal { max-width: calc(100vw - 32px); overflow: hidden; }
.detail-modal-card { display: flex; width: min(900px, calc(100vw - 32px)); max-width: 100%; max-height: min(900px, calc(100vh - 32px)); padding: 24px; overflow: hidden; flex-direction: column; box-sizing: border-box; }
.detail-modal-card > #modalCustomerBody { min-width: 0; overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
.detail-action-bar { flex: 0 0 auto; margin: 0 !important; padding: 16px 0 0 !important; }
.assignment-modal-card { width: min(520px, calc(100vw - 32px)); }
.assignment-field { display: grid; margin-top: 16px; gap: 7px; color: #344054; font-size: 13px; font-weight: 600; }
.assignment-field select, .assignment-field input, .assignment-field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--ui-border); border-radius: 9px; background: #fff; color: #172033; font: inherit; box-sizing: border-box; }
.assignment-note { margin-top: 14px; padding: 11px 12px; border-radius: 9px; background: #f5f7ff; color: #59677a; font-size: 12px; line-height: 18px; }
.region-picker-menu { min-width: 280px; max-height: min(580px, calc(100vh - 150px)); scrollbar-width: thin; scrollbar-color: #aeb8c7 transparent; }
.region-picker-menu::-webkit-scrollbar { width: 3px; }
.region-picker-menu::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.region-picker-menu::-webkit-scrollbar-track { margin-block: 14px; background: transparent; }
.region-picker-menu::-webkit-scrollbar-thumb { min-height: 30px; border-radius: 99px; background: #aeb8c7; }
.region-option { grid-template-columns: 18px minmax(0,1fr) 14px; padding-inline: 12px; white-space: nowrap; writing-mode: horizontal-tb; }
.region-option.level-1 { padding-inline-start: 28px; }
.region-option.level-2 { padding-inline-start: 46px; }
.region-toggle,.region-toggle-placeholder { display: inline-grid; place-items: center; width: 18px; height: 18px; }
.region-toggle[aria-expanded="true"] { transform: rotate(90deg); }
.home-recommendation-loading .primary-button { margin-top: 16px; }
@media (max-width:640px){.detail-overview{grid-template-columns:1fr}.detail-overview>div{padding-bottom:14px;border-right:0;border-bottom:1px solid var(--ca-line)}.detail-overview dl{grid-template-columns:1fr}.detail-next{align-items:flex-start;flex-direction:column}}

/* OCTANS brand alignment and one-screen home density. */
.brand-block { padding: 0 12px 0; }
.brand { display: block; width: 156px; height: 34px; }
.brand-logo { display: block; width: 138px; height: auto; max-height: 42px; object-fit: contain; object-position: left center; }
.main-nav { margin-top: 70px; }
#view-home .dashboard-layout { min-height: 0 !important; gap: 12px; }
#view-home .lower-grid { flex: 0 0 auto !important; gap: 12px; margin-top: 12px; }
#view-home .task-row { min-height: 62px !important; padding-top: 8px !important; padding-bottom: 8px !important; }
#view-home .panel-footer-link { padding-top: 10px; padding-bottom: 10px; }
#view-home .lower-grid > .panel { height: 284px !important; min-height: 0; }
#view-home .trend-panel .trend-chart { height: 194px !important; margin-top: 0 !important; padding-top: 8px; }
#view-home .insight-body { min-height: 0; padding: 0 16px 14px; }
#view-home .insight-body .advice-paragraph { display: -webkit-box; margin: 8px 0 10px; overflow: hidden; font-size: 13px !important; line-height: 21px !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
#view-home .insight-evidence { gap: 2px; padding: 8px 10px; }
#view-home .insight-evidence > span { font-size: 12px !important; line-height: 18px !important; }
#view-home .insight-evidence b { overflow: hidden; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
#view-home .customer-section { padding-top: 12px; padding-bottom: 12px; }
#view-home .customer-card { min-height: 0; }
.trend-point-hit { cursor: crosshair; }
.trend-point-marker { shape-rendering: geometricPrecision; }

@media (max-width: 767px) {
  .content-wrap { padding-top: 16px !important; }
  .page-heading h1, .home-heading h1 { font-size: 18px !important; }
  .panel-head h2, .customer-head h2, .customer-section h3 { font-size: 16px !important; }
}

/* AIOS UI foundation v2: role-based type, local font rendering and semantic color. */
:root {
  --ui-font: "AIOS UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --ui-canvas: #f4f6f9;
  --ui-surface: #ffffff;
  --ui-surface-subtle: #f8fafc;
  --ui-surface-active: #eef2f7;
  --ui-border: #e2e7ee;
  --ui-border-strong: #cfd7e3;
  --ui-text: #101828;
  --ui-text-secondary: #475467;
  --ui-text-muted: #7a8699;
  --ui-brand: #3e5abd;
  --ui-brand-hover: #334ca9;
  --ui-brand-soft: #eef1ff;
  --ui-success: #168a63;
  --ui-success-soft: #e8f7f1;
  --ui-warning: #b76a00;
  --ui-warning-soft: #fff5e2;
  --ui-danger: #c73a4d;
  --ui-danger-soft: #fff0f2;
  --ui-info: #1677a3;
  --ui-info-soft: #eaf6fb;
  --ui-ai: #6757d9;
  --ui-ai-soft: #f1efff;
  --ca-bg: var(--ui-canvas);
  --ca-surface: var(--ui-surface);
  --ca-surface-subtle: var(--ui-surface-subtle);
  --ca-ink: var(--ui-text);
  --ca-ink-2: var(--ui-text-secondary);
  --ca-ink-3: var(--ui-text-muted);
  --ca-line: var(--ui-border);
  --ca-primary: var(--ui-brand);
  --ca-primary-hover: var(--ui-brand-hover);
  --ca-primary-soft: var(--ui-brand-soft);
  --ca-success: var(--ui-success);
  --ca-success-soft: var(--ui-success-soft);
  --ca-success-ink: var(--ui-success);
  --ca-warning: var(--ui-warning);
  --ca-warning-soft: var(--ui-warning-soft);
  --ca-critical: var(--ui-danger);
  --ca-critical-soft: var(--ui-danger-soft);
  --ca-ai: var(--ui-ai);
  --ca-ai-soft: var(--ui-ai-soft);
  --ink: var(--ui-text);
  --muted: var(--ui-text-secondary);
  --muted-2: var(--ui-text-muted);
  --line: var(--ui-border);
  --line-strong: var(--ui-border-strong);
  --surface: var(--ui-surface);
  --page-bg: var(--ui-canvas);
  --blue-50: var(--ui-brand-soft);
  --blue-500: var(--ui-brand);
  --blue-600: var(--ui-brand);
  --blue-700: var(--ui-brand-hover);
  --green: var(--ui-success);
  --green-bg: var(--ui-success-soft);
  --amber: var(--ui-warning);
  --amber-bg: var(--ui-warning-soft);
}

html, body, button, input, select, textarea { font-family: var(--ui-font) !important; font-synthesis: none; font-kerning: normal; }
*, *::before, *::after { letter-spacing: 0 !important; }
body { color: var(--ui-text); background: var(--ui-canvas); font-size: 14px; line-height: 20px; -webkit-font-smoothing: auto; text-rendering: optimizeLegibility; }
h1, h2, h3, strong, b { letter-spacing: 0 !important; }
.page-heading h1, .home-heading h1 { color: var(--ui-text); font-size: 18px !important; line-height: 24px !important; font-weight: 700; }
.panel-head h2, .customer-head h2, .modal-head h2, #view-packs .pack-material-head h2 { color: var(--ui-text); font-size: 16px !important; line-height: 22px !important; font-weight: 700; }
.customer-section h3, .insight-body > strong, .task-customer strong, .task-signal span, .resource-customer strong, .followup-customer strong, #view-packs .pack-material-name strong, #view-packs .pack-material-section-head h3, .alert-item b, .next-action strong { color: var(--ui-text); font-size: 14px !important; line-height: 20px !important; font-weight: 600; }
.primary-button, .secondary-button, .small-select, .filter-button, .segmented-control button, .task-action button, .panel-footer-link, .text-button, .row-action, .heading-actions button, .route-switch button, .nav-item span { font-size: 14px !important; line-height: 20px !important; font-weight: 600; }
.customer-section p, .evidence-list div, .insight-body > p, .insight-evidence b, .feedback-cell, .next-cell, .due-cell, #view-packs .pack-material-row, #view-packs .pack-material-description, .modal-detail-note { color: var(--ui-text-secondary); font-size: 14px !important; line-height: 22px !important; font-weight: 400; }
.page-heading p, .panel-head p, .task-customer small, .task-signal small, .task-action span, .customer-head p, .customer-score span, .score-grade, .readiness span, .updated-label, .chart-summary, .resource-customer small, .region-cell, .owner-cell, .status-chip, .table-footer, .followup-customer small, #view-packs .pack-material-head p, #view-packs .pack-material-section-head p, #view-packs .pack-material-section-head > span, #view-packs .pack-material-status, .pack-category-copy small, .alert-item small, .route-card small, .user-block small, .score small { color: var(--ui-text-muted); font-size: 12px !important; line-height: 18px !important; font-weight: 400; }
.score, .customer-score strong { color: var(--ui-text); font-size: 26px !important; line-height: 30px !important; font-weight: 700; font-variant-numeric: tabular-nums; }
.overview-kpis strong, .metric-card strong, .mini-stat strong, .score-cell { color: var(--ui-text); font-size: 24px !important; line-height: 28px !important; font-weight: 700; font-variant-numeric: tabular-nums; }

.primary-button { border-color: var(--ui-brand) !important; background: var(--ui-brand) !important; background-image: none !important; color: #fff !important; box-shadow: 0 4px 10px rgb(62 90 189 / 16%) !important; }
.primary-button:hover { border-color: var(--ui-brand-hover) !important; background: var(--ui-brand-hover) !important; }
.secondary-button, .small-select, .filter-button { border-color: var(--ui-border-strong) !important; background: var(--ui-surface) !important; color: var(--ui-text-secondary) !important; box-shadow: none !important; }
.text-button, .panel-footer-link, .row-action { color: var(--ui-brand) !important; }
.panel, .customer-card, #view-packs .pack-material-card { border-color: var(--ui-border) !important; background: var(--ui-surface) !important; box-shadow: 0 1px 2px rgb(16 24 40 / 4%) !important; }
.task-row:hover, .task-row.is-selected { background: var(--ui-surface-subtle) !important; }
.task-action button { background: var(--ui-brand-soft) !important; color: var(--ui-brand) !important; }
.segmented-control { background: var(--ui-surface-active) !important; }
.segmented-control button.is-active { background: var(--ui-surface) !important; color: var(--ui-text) !important; }
.tier-s, .customer-tier.tier-s { background: var(--ui-danger-soft) !important; color: var(--ui-danger) !important; }
.tier-a, .customer-tier.tier-a { background: var(--ui-warning-soft) !important; color: var(--ui-warning) !important; }
.tier-b, .customer-tier.tier-b { background: var(--ui-info-soft) !important; color: var(--ui-info) !important; }
.score-meter { background: var(--ui-surface-active) !important; }
.score-meter-fill { background: var(--ui-brand) !important; }
.score-grade { color: var(--ui-success) !important; font-weight: 600; }
.readiness span { background: var(--ui-surface-subtle) !important; color: var(--ui-text-muted) !important; }
.readiness span.is-ready { background: var(--ui-success-soft) !important; color: var(--ui-success) !important; font-weight: 500; }
.insight-panel { background: var(--ui-surface) !important; }
.spark-label svg { color: var(--ui-ai) !important; }
.insight-evidence { border: 1px solid #ded9ff; background: var(--ui-ai-soft) !important; box-shadow: none !important; }
.insight-evidence span { color: var(--ui-ai) !important; }

.dashboard-layout { align-items: stretch !important; }
.customer-panel { position: static !important; display: flex; align-self: stretch; min-height: 100%; }
.customer-card { display: flex !important; flex-direction: column; width: 100%; min-height: 100%; }
.customer-section h3 { margin-bottom: 8px; }
.customer-facts dl { display: grid; gap: 0; margin: 0; }
.customer-facts dl > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 7px 0; }
.customer-facts dt { color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }
.customer-facts dd { margin: 0; color: var(--ui-text-secondary); font-size: 14px; line-height: 20px; font-weight: 500; overflow-wrap: anywhere; }
.customer-footer { margin-top: auto !important; padding-top: 16px; }
#view-packs .pack-material-ready:not(.is-unavailable), #view-packs .pack-material-status { color: var(--ui-success) !important; }
#view-packs .pack-file-type.is-ai { background: var(--ui-ai-soft) !important; color: var(--ui-ai) !important; }

/* GEO scores use the original continuous scale on both business routes. */
.geo-score-value { color: var(--geo-score-color) !important; }
.score-meter-fill { background: var(--geo-score-color) !important; }
.score-meter.is-pending .score-meter-fill { background: var(--ui-border-strong) !important; opacity: .72; }

/* Direction arrows are intentionally absent across the experiment UI. */
svg:has(use[href="#i-arrow"]) { display: none !important; }

.route-card { padding: 8px; }
.route-switch { margin: 0; }

.task-panel .segmented-control { display: none !important; }
.insight-body > .text-button { display: none !important; }
.insight-body { display: flex; flex-direction: column; min-height: 236px; }
.advice-grid { display: grid; gap: 0; margin: 12px 0; border-top: 1px solid var(--ui-border); }
.advice-grid > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ui-border); }
.advice-grid span { color: var(--ui-text-muted); font-size: 12px; line-height: 20px; }
.advice-grid b { color: var(--ui-text-secondary); font-size: 14px; line-height: 20px; font-weight: 500; }
.insight-body .insight-evidence { margin-top: auto; }

/* Filled icon language shared by navigation, actions and statuses. */
.nav-item svg, .evidence-list svg, .readiness svg, .spark-label svg,
.primary-button svg, .upload-zone svg, .import-note svg, .pack-material-ready svg,
.pack-material-status svg, .alert-icon svg {
  fill: currentColor !important;
  stroke: none !important;
}
svg:has(use[href="#i-menu"]), svg:has(use[href="#i-search"]),
svg:has(use[href="#i-upload"]), svg:has(use[href="#i-close"]),
svg:has(use[href="#i-more"]), svg:has(use[href="#i-filter"]),
svg:has(use[href="#i-phone"]), svg:has(use[href="#i-bell"]) {
  fill: currentColor !important;
  stroke: none !important;
}
.nav-item svg { width: 18px; height: 18px; }

/* Homepage hierarchy after removing the page title. */
#view-home { padding-top: 0; }
#view-home .dashboard-layout { margin-top: 0; }
.task-row { grid-template-columns: 30px minmax(170px, 1.22fr) minmax(170px, 1fr) 80px 64px; }
.task-action { justify-content: flex-end; }

/* Lower the plot into the available card space without changing its data. */
.trend-panel .trend-chart { margin-top: 32px; }

.insight-body { min-height: 268px; }
.insight-body .advice-paragraph {
  margin: 14px 0 18px;
  color: var(--ui-text-secondary);
  font-size: 14px !important;
  line-height: 24px !important;
}

.aios-tabler { display: inline-block; flex: 0 0 auto; width: 1em; height: 1em; vertical-align: -.125em; shape-rendering: geometricPrecision; text-rendering: geometricPrecision; }
.aios-tabler[data-aios-icon^="arrow"], .aios-tabler[data-aios-icon^="chevron"] { display: none !important; }

/* Tabler: linear navigation/actions, filled semantic states. */
.nav-item .aios-tabler { width: 18px; height: 18px; align-self: center; }
.evidence-list .aios-tabler, .readiness .aios-tabler, .pack-material-ready .aios-tabler, .pack-material-status .aios-tabler { width: 18px !important; height: 18px !important; align-self: center; display: block; opacity: 1; }
.spark-label .aios-tabler { width: 18px !important; height: 18px !important; align-self: center; }
.alert-icon .aios-tabler, .metric-icon .aios-tabler { width: 20px !important; height: 20px !important; align-self: center; }

/* Override the legacy sprite rules: they must never flatten Tabler outline icons. */
.aios-tabler[data-tabler-theme="outline"] { fill: none !important; stroke: currentColor !important; stroke-width: 2 !important; }
.aios-tabler[data-tabler-theme="filled"] { fill: currentColor !important; stroke: none !important; }
.aios-tabler[data-tabler-theme="filled"] { shape-rendering: geometricPrecision; }

/* Trend interaction: the plot sits lower in the card and exposes seven readable hover targets. */
.trend-panel .panel-head .small-select { display: none !important; }
.trend-panel .trend-chart { height: 238px; margin-top: 32px !important; padding-top: 18px; box-sizing: border-box; }
.trend-panel .chart-main { overflow: visible; }
.trend-panel .chart-main svg { overflow: visible; }
.trend-hover-guide { display: none; pointer-events: none; stroke: #98a2b3; stroke-width: 1; stroke-dasharray: 3 3; opacity: .82; vector-effect: non-scaling-stroke; }
.trend-hover-guide.is-visible { display: block; }
.trend-point-hit { fill: transparent; stroke: none; cursor: pointer; }
.trend-point-marker { fill: var(--ui-surface); stroke: var(--ui-brand); stroke-width: 2; opacity: 0; pointer-events: none; vector-effect: non-scaling-stroke; transition: opacity .16s ease, r .16s ease; }
.trend-point-node:hover .trend-point-marker, .trend-point-node.is-active .trend-point-marker { opacity: 1; }
.trend-tooltip { position: fixed; z-index: 40; width: 218px; padding: 12px 14px; border: 1px solid var(--ui-border); border-radius: 10px; background: var(--ui-surface); color: var(--ui-text); box-shadow: 0 16px 32px rgb(16 24 40 / 30%); opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .16s ease, transform .16s ease; }
.trend-tooltip.show { opacity: 1; transform: translateY(0); }
.trend-tooltip strong, .trend-tooltip b, .trend-tooltip span, .trend-tooltip small { display: block; }
.trend-tooltip strong { color: var(--ui-text-muted); font-size: 12px; line-height: 18px; font-weight: 500; }
.trend-tooltip b { margin-top: 3px; color: var(--ui-brand); font-size: 16px; line-height: 22px; font-weight: 700; }
.trend-tooltip span { margin-top: 5px; color: var(--ui-text-secondary); font-size: 12px; line-height: 18px; }
.trend-tooltip small { margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--ui-border); color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }

/* All system messages use the same white floating surface. */
.toast { right: 24px !important; bottom: 24px !important; padding: 11px 15px !important; border-color: var(--ui-border) !important; border-radius: 10px !important; background: var(--ui-surface) !important; color: var(--ui-text-secondary) !important; box-shadow: 0 16px 32px rgb(16 24 40 / 30%) !important; font-size: 14px !important; line-height: 20px !important; }

/* AI recommendation title and shared list density/hover behavior. */
.brand-word { color: var(--ui-text) !important; font-size: 16px !important; line-height: 22px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.insight-panel .panel-head h2, .insight-panel .spark-label { font-size: 16px !important; line-height: 22px !important; font-weight: 700 !important; }
.task-row { min-height: 76px !important; padding-top: 14px !important; padding-bottom: 14px !important; transition: background .16s ease, box-shadow .16s ease; }
.task-row:hover, .task-row.is-selected { background: #f5f7ff !important; box-shadow: inset 3px 0 0 var(--ui-brand); }
.resource-table .data-row:not(.data-head), .followup-table .data-row:not(.data-head) { min-height: 78px; padding-top: 13px; padding-bottom: 13px; transition: background .16s ease, box-shadow .16s ease; }
.resource-table .data-row:not(.data-head):hover, .followup-table .data-row:not(.data-head):hover { background: #f5f7ff !important; box-shadow: inset 3px 0 0 var(--ui-brand); }
.nav-item, .evidence-list div, .readiness span, .spark-label, .primary-button, .secondary-button, .filter-button, .text-button, .panel-footer-link, .row-action { align-items: center; }

/* The trend footer repeats the chart's message and is intentionally removed from the home card. */
.trend-panel > .chart-summary { display: none !important; }

/* The resource import action is text-led; keep the upload glyph inside the modal only. */
#view-resources .heading-actions .primary-button .aios-tabler { display: none !important; }

/* Keep funnel labels readable as one semantic unit. */
#view-analytics .funnel span { white-space: nowrap; }

/* Selected navigation icons use one semantic accent per destination. */
.nav-item.is-active:nth-child(1) .aios-tabler { color: #3e5abd !important; }
.nav-item.is-active:nth-child(2) .aios-tabler { color: #168a63 !important; }
.nav-item.is-active:nth-child(3) .aios-tabler { color: #b76a00 !important; }
.nav-item.is-active:nth-child(4) .aios-tabler { color: #6757d9 !important; }
.nav-item.is-active:nth-child(5) .aios-tabler { color: #c73a4d !important; }

/* Keep SVG point markers visually circular even though the chart canvas is non-uniformly scaled. */
.trend-endpoint { fill: var(--ui-brand-hover); stroke: var(--ui-surface); stroke-width: 3; vector-effect: non-scaling-stroke; }

/* Selected rows retain the calm surface change without a decorative blue rail. */
.task-row:hover, .task-row.is-selected,
.resource-table .data-row:not(.data-head):hover, .followup-table .data-row:not(.data-head):hover { box-shadow: none !important; }

/* Route-aware resource actions: market adds a dedicated relationship column. */
.resource-table .data-row { grid-template-columns: minmax(220px, 1.5fr) minmax(125px, 1fr) 82px 74px 112px 84px; }
.resource-table.is-market .data-row { grid-template-columns: minmax(220px, 1.5fr) minmax(125px, 1fr) 82px 74px 112px 84px 84px; }
.resource-table .data-head > span:last-child,
.resource-table.is-market .data-head > span:nth-last-child(-n + 2) { text-align: center; }
.resource-action-cell { display: flex; align-items: center; justify-content: center; }
.resource-action-cell .row-action { white-space: nowrap; }

/* Navigation counts are not part of the action label. */
.main-nav .nav-item em { display: none !important; }

/* The evidence label is a section title, not secondary metadata. */
.insight-evidence > span { color: var(--ui-ai) !important; font-size: 14px !important; line-height: 20px !important; font-weight: 700 !important; }

/* The chart is intentionally anchored lower in its support card, leaving the title area calm. */
.trend-panel .trend-chart { height: 258px; margin-top: 14px !important; padding-top: 18px; }

@media (min-width: 1181px) {
  .content-wrap:has(#view-home.is-active) { padding-bottom: 16px; }
}

@media (min-width: 1181px) {
  #view-home .dashboard-layout { height: calc(100vh - 40px); min-height: 740px; align-items: stretch; }
  #view-home .dashboard-primary { display: grid; min-height: 0; grid-template-rows: minmax(0, 1fr) 284px; gap: 12px; }
  #view-home .task-panel { display: flex; min-height: 0; flex-direction: column; }
  #view-home #homeTasks { display: grid; min-height: 0; flex: 1 1 auto; grid-template-rows: repeat(5, minmax(0, 1fr)); }
  #view-home #homeTasks .task-row { min-height: 0 !important; height: auto; padding-top: 9px !important; padding-bottom: 9px !important; }
  #view-home .lower-grid { min-height: 0; margin-top: 0; }
  #view-home .lower-grid > .panel { height: 100%; min-height: 0; }
  #view-home .customer-panel, #view-home .customer-card { height: 100%; min-height: 0; }
  #view-home .customer-card { display: flex; overflow: auto; flex-direction: column; scrollbar-width: none; }
  #view-home .customer-card::-webkit-scrollbar { display: none; width: 0; height: 0; }
  #view-home .customer-action-dock { position: sticky; z-index: 3; bottom: 0; margin-top: auto; padding-top: 12px; background: var(--ui-surface); box-shadow: 0 -12px 18px var(--ui-surface); }
  #view-home .pack-readiness-section { margin-top: 0; padding-top: 16px; border-top: 1px solid var(--ui-border); }
  #view-home .customer-footer { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid var(--ui-border); }
  #view-home .insight-body { overflow: hidden; }
  #view-home .advice-paragraph { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
}

.drawer-backdrop { position: fixed; z-index: 109; inset: 0; background: rgb(16 24 40 / 24%); }
.material-drawer { position: fixed; inset: 0 0 0 auto; display: flex; width: min(520px, 94vw); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; flex-direction: column; overflow: hidden; border: 0; border-left: 1px solid var(--ui-border); border-radius: 0; background: var(--ui-surface); box-shadow: -12px 0 36px rgb(16 24 40 / 18%); transform: translateX(100%); opacity: 0; transition: transform .22s cubic-bezier(.2,.8,.2,1),opacity .16s ease; }
.material-drawer::backdrop { background: rgb(16 24 40 / 34%); backdrop-filter: blur(1px); }
.material-drawer.is-open { transform: translateX(0); opacity: 1; }
@media (max-width: 560px) { .material-drawer { width: 100vw; } }
.material-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--ui-border); }
.material-drawer,.readiness-card { font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif !important; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.material-drawer-head h2 { margin: 0; color: #101828; font-size: 18px; line-height: 26px; font-weight: 700; letter-spacing: 0; }
.material-drawer-head p { margin: 4px 0 0; color: #667085; font-size: 12px; line-height: 18px; font-weight: 400; }
.material-drawer-body { display: flex; overflow-y: auto; padding: 20px 24px; flex: 1; flex-direction: column; gap: 10px; }
.material-drawer-summary { display: flex; margin-bottom: 8px; padding: 14px 16px; flex-direction: column; gap: 4px; border-radius: 12px; background: #f5f7ff; }
.material-drawer-summary strong { color: #101828; font-size: 14px; line-height: 20px; font-weight: 700; }
.material-drawer-summary span { color: #667085; font-size: 12px; line-height: 18px; }
.drawer-material-item { display: grid; align-items: center; padding: 14px 0; grid-template-columns: 36px minmax(0,1fr) auto; gap: 12px; border-bottom: 1px solid var(--ui-border); }
.drawer-material-item p { margin: 3px 0 0; color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }
.drawer-material-item > b { color: var(--ui-text-muted); font-size: 12px; }
.drawer-material-status { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #f5f6f7; color: #8792a2; }
.drawer-material-status.is-ready { background: #edf8f3; color: #18865b; }
.drawer-material-status svg { width: 17px; height: 17px; }
.material-drawer-foot { display: grid; padding: 16px 24px 24px; grid-template-columns: 1fr; gap: 10px; border-top: 1px solid var(--ui-border); }
.pack-readiness-section { padding-bottom: 14px; }
.readiness.readiness-cards { display: grid; margin-top: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.readiness-card { display: grid; min-width: 0; min-height: 62px; padding: 10px; grid-template-columns: 26px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 8px; border: 1px solid var(--ui-border); border-radius: 9px; background: #fff; color: var(--ui-text); text-align: left; }
.readiness-card:hover { border-color: #b8c5e8; background: #f8faff; }
.readiness-card > span { display: grid; width: 26px; height: 26px; grid-row: 1/3; place-items: center; border-radius: 7px; background: #f3f5f8; color: #8a95a5; }
.readiness-card > span svg { width: 14px; height: 14px; }
.readiness-card.is-ready > span { background: #edf8f3; color: #18865b; }
.readiness-card.is-running > span { background: #eef2ff; color: var(--ui-brand); }
.readiness-card strong { overflow: hidden; color: #101828; font-size: 14px; line-height: 20px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.readiness-card small { color: #667085; font-size: 12px; line-height: 18px; }
.readiness-card.is-ready { border-color: #b9dfd0; background: #f7fcfa; }
.readiness-card.is-ready strong,.readiness-card.is-ready small { color: #18794e; }
.readiness-card.is-ready > span { background: #e7f6ef; color: #16845b; }
.readiness-card.is-ready > span .aios-tabler { width: 18px !important; height: 18px !important; color: #16845b !important; fill: #16845b !important; opacity: 1 !important; }
.material-groups { display: grid; gap: 10px; }
.material-group { overflow: hidden; border: 1px solid var(--ui-border); border-radius: 11px; background: #fff; }
.material-group-head { display: grid; width: 100%; min-height: 58px; padding: 0 15px; grid-template-columns: 24px minmax(0,1fr) auto auto 14px; align-items: center; gap: 9px; background: #fff; color: var(--ui-text); text-align: left; }
.material-group-head:hover { background: #f8faff; }
.material-group-head > span { color: var(--ui-brand); }
.material-group-head > span svg { width: 16px; height: 16px; }
.material-group-head strong { color: #101828; font-size: 15px; line-height: 21px; font-weight: 650; }
.material-group-head small,.material-group-head b { color: #475467; font-size: 13px; line-height: 19px; font-weight: 500; }
.material-group:has(.material-file-row) { border-color: #c6e3d7; }
.material-group:has(.material-file-row) .material-group-head > span { color: #16845b; }
.material-group:has(.material-file-row) .material-group-head > span .aios-tabler { width: 17px !important; height: 17px !important; color: #16845b !important; fill: #16845b !important; opacity: 1 !important; }
.material-group:has(.material-file-row) .material-group-head b { color: #16845b; font-weight: 700; }
.material-group-head > svg { width: 13px; height: 13px; transform: rotate(90deg); transition: transform .16s ease; }
.material-group.is-expanded .material-group-head > svg { transform: rotate(-90deg); }
.material-group-head::after { content: "›"; color: #7f8a9a; font-size: 18px; line-height: 1; transform: rotate(90deg); transition: transform .16s ease; }
.material-group.is-expanded .material-group-head::after { transform: rotate(-90deg); }
.material-group-content { display: none; padding: 0 12px 12px; }
.material-group.is-expanded .material-group-content { display: grid; gap: 8px; }
.material-file-row { display: grid; min-width: 0; padding: 11px; grid-template-columns: 36px minmax(0,1fr); gap: 10px; border: 1px solid #edf0f5; border-radius: 9px; background: #fbfcfe; }
.material-file-type { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 8px; background: #eef2ff; color: var(--ui-brand); font-size: 9px; font-weight: 800; }
.material-file-row > div { min-width: 0; }
.material-file-row > div > strong { display: block; overflow: hidden; color: #101828; font-size: 14px; line-height: 20px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.material-file-row > div > small { display: block; margin-top: 2px; color: #667085; font-size: 12px; line-height: 18px; }
.material-file-actions { display: flex; grid-column: 2; justify-content: flex-end; gap: 5px; }
.material-file-actions button { min-height: 30px; padding: 4px 9px; border-radius: 6px; color: var(--ui-brand); font-size: 13px; font-weight: 600; }
.material-file-actions button:hover { background: #eef2ff; }
.material-empty { display: grid; min-height: 132px; padding: 20px 14px; place-items: center; align-content: center; text-align: center; }
.material-empty > span { display:grid; width:36px; height:36px; place-items:center; border-radius:50%; background:#eef2ff; color:#4560c4; }
.material-empty > span svg { width:20px; height:20px; stroke-width:2.2; }
.material-empty strong { margin-top: 10px; color: #101828; font-size: 15px; line-height: 22px; font-weight:650; }
.material-empty p { margin: 6px 0 12px; max-width: 34ch; color: #475467; font-size: 13px; line-height: 20px; }
.material-empty > small { margin-top: 8px; color: #667085; font-size: 12px; line-height:18px; }
.generate-solution-button { min-height: 34px; padding: 0 12px; }
.solution-empty { display: grid; min-height: 124px; padding: 18px 14px; grid-template-columns: 38px minmax(0,1fr); align-items: start; gap: 12px; border: 1px solid #e6eaf1; border-radius: 9px; background: #fbfcfe; text-align: left; }
.solution-empty > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; background: #eef2ff; color: var(--ui-brand); }
.solution-empty > span svg { width: 19px; height: 19px; }
.solution-empty > div { min-width: 0; }
.solution-empty strong { display: block; color: #101828; font-size: 14px; line-height: 21px; font-weight: 650; }
.solution-empty p { margin: 4px 0 0; max-width: 46ch; color: #667085; font-size: 12px; line-height: 19px; }
.solution-empty .generate-solution-button { grid-column: 1 / -1; width: 100%; margin-top: 2px; }
.solution-empty > small { grid-column: 1 / -1; color: #667085; font-size: 11px; line-height: 17px; text-align: center; }
.solution-progress { min-height: 124px; padding: 18px; border: 1px solid #d9e2f5; border-radius: 9px; background: #f8faff; }
.solution-progress-head { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 12px; }
.solution-progress-head > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; background: #e9efff; color: var(--ui-brand); }
.solution-progress-head > span svg { width: 19px; height: 19px; }
.solution-progress-head strong { display: block; color: #101828; font-size: 14px; line-height: 21px; }
.solution-progress-head p { margin: 2px 0 0; color: #667085; font-size: 12px; line-height: 18px; }
.solution-progress-head > b { color: var(--ui-brand); font-size: 16px; font-variant-numeric: tabular-nums; }
.solution-progress-track { height: 7px; margin-top: 14px; overflow: hidden; border-radius: 7px; background: #e5eaf3; }
.solution-progress-track i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--ui-brand); transform: scaleX(var(--solution-progress,0)); transform-origin: left center; transition: transform .3s ease; }
.solution-progress > small { display: block; margin-top: 8px; color: #667085; font-size: 11px; line-height: 17px; }
@media (max-width: 640px) { .solution-empty { grid-template-columns: 38px minmax(0,1fr); } }
.solution-empty.is-input-required { border-color: #f0d5ad; background: #fffaf3; }
.solution-empty.is-input-required > span { background: #fff0d9; color: #b76612; }

.proposal-input-modal { width: min(660px, calc(100vw - 32px)); max-width: none; padding: 0; overflow: visible; border-radius: 22px; }
.proposal-input-card { width: 100%; max-width: none; max-height: min(820px, calc(100vh - 32px)); padding: 0; overflow: auto; border-radius: 22px; }
.proposal-input-head { display: grid; padding: 24px 26px 18px; grid-template-columns: 44px minmax(0,1fr) 36px; align-items: start; gap: 13px; border-bottom: 1px solid #edf0f5; }
.proposal-input-alert { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 11px; background: #eef2ff; color: var(--ui-brand); }
.proposal-input-alert svg { width: 21px; height: 21px; }
.proposal-input-head span { display: block; margin-bottom: 3px; color: var(--ui-brand); font-size: 12px; line-height: 18px; font-weight: 700; }
.proposal-input-head h2 { margin: 0; color: #101828; font-size: 20px; line-height: 29px; font-weight: 700; }
.proposal-input-head p { margin: 4px 0 0; color: #667085; font-size: 13px; line-height: 20px; }
.proposal-input-reason { margin: 18px 26px 0; padding: 13px 15px; border: 1px solid #f0d5ad; border-radius: 9px; background: #fffaf3; }
.proposal-input-reason strong { color: #934b0c; font-size: 13px; line-height: 20px; }
.proposal-input-reason p { margin: 3px 0 0; color: #6f4a24; font-size: 12px; line-height: 19px; }
.proposal-input-fields { display: grid; padding: 18px 26px 4px; gap: 15px; }
.proposal-input-fields > label,.proposal-source-details label { display: grid; gap: 6px; color: #344054; font-size: 13px; line-height: 20px; font-weight: 650; }
.proposal-input-fields label span b { margin-left: 6px; color: #d92d20; font-size: 11px; font-weight: 650; }
.proposal-input-fields label span em { margin-left: 6px; color: #667085; font-size: 11px; font-style: normal; font-weight: 500; }
.proposal-input-fields input,.proposal-input-fields textarea { width: 100%; padding: 10px 12px; border: 1px solid #d6dbe4; border-radius: 8px; outline: none; background: #fff; color: #101828; font: inherit; font-size: 14px; line-height: 21px; box-sizing: border-box; transition: border-color .16s ease, box-shadow .16s ease; }
.proposal-input-fields textarea { min-height: 82px; resize: vertical; }
.proposal-input-fields input:focus,.proposal-input-fields textarea:focus { border-color: var(--ui-brand); box-shadow: 0 0 0 3px rgba(27,75,229,.11); }
.proposal-input-fields label > small { color: #667085; font-size: 11px; line-height: 17px; font-weight: 400; }
.proposal-source-details { overflow: hidden; border: 1px solid #e3e7ee; border-radius: 9px; background: #fbfcfe; }
.proposal-source-details summary { padding: 11px 13px; color: #475467; font-size: 13px; line-height: 20px; font-weight: 600; cursor: pointer; }
.proposal-source-details[open] summary { border-bottom: 1px solid #e8ebf0; }
.proposal-source-details > div { display: grid; padding: 13px; grid-template-columns: 1fr 1fr; gap: 12px; }
.proposal-input-error { margin: 10px 26px 0; padding: 10px 12px; border-radius: 8px; background: #fff1f0; color: #b42318; font-size: 12px; line-height: 19px; }
.proposal-input-foot { margin-top: 18px; padding: 16px 26px 20px; justify-content: space-between; border-top: 1px solid #edf0f5; }
.proposal-input-foot > span { max-width: 29ch; color: #667085; font-size: 11px; line-height: 17px; }
.proposal-input-foot > div { display: flex; gap: 9px; }
.proposal-input-modal button:focus-visible,.proposal-source-details summary:focus-visible { outline: 2px solid var(--ui-brand); outline-offset: 2px; }
@media (max-width: 640px) {
  .proposal-input-modal { width: calc(100vw - 20px); }
  .proposal-input-card { max-height: calc(100vh - 20px); border-radius: 16px; }
  .proposal-input-head { padding: 19px 17px 15px; grid-template-columns: 38px minmax(0,1fr) 32px; gap: 10px; }
  .proposal-input-alert { width: 38px; height: 38px; }
  .proposal-input-head h2 { font-size: 18px; line-height: 26px; }
  .proposal-input-reason { margin: 14px 17px 0; }
  .proposal-input-fields { padding: 15px 17px 2px; }
  .proposal-input-fields input,.proposal-input-fields textarea { font-size: 16px; }
  .proposal-source-details > div { grid-template-columns: 1fr; }
  .proposal-input-error { margin-inline: 17px; }
  .proposal-input-foot { padding: 14px 17px 17px; align-items: stretch; flex-direction: column; }
  .proposal-input-foot > span { max-width: none; }
  .proposal-input-foot > div { display: grid; grid-template-columns: 1fr 1.35fr; }
}
.material-drawer-foot .primary-button:disabled { background: #dce2ef; color: #7d8899; box-shadow: none; cursor: not-allowed; }

.user-avatar { border: 0; cursor: pointer; }
.customer-alert-bell { position: relative; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; flex: 0 0 auto; border: 0; border-radius: 7px; background: transparent !important; color: #8a95a5; box-shadow: none !important; transition: color .18s ease; }
.customer-alert-bell .aios-tabler,.customer-alert-bell svg { width: 20px !important; height: 20px !important; color: currentColor !important; stroke: currentColor !important; stroke-width: 2.2 !important; opacity: 1 !important; shape-rendering: geometricPrecision; }
.customer-alert-bell.has-unread { border: 0; background: transparent !important; color: #e12d3f !important; box-shadow: none !important; animation: customer-bell-cycle 2s ease-in-out infinite; transform-origin: 50% 18%; }
.customer-alert-count { position: absolute; top: -3px; right: -5px; display: grid; min-width: 17px; height: 17px; padding: 0 4px; place-items: center; border: 2px solid #fff; border-radius: 9px; background: #e12d3f; color: #fff; font-size: 9px; line-height: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.customer-alert-count[hidden] { display: none; }
@keyframes customer-bell-cycle { 0%,24%,100%{transform:rotate(0)} 4%,12%{transform:rotate(-13deg)} 8%,16%{transform:rotate(13deg)} 20%{transform:rotate(-6deg)} }
@media (prefers-reduced-motion: reduce) { .customer-alert-bell.has-unread { animation: none; } }

.touch-tracking-note { margin: 0; padding: 12px 14px; border-radius: 8px; background: #f5f7fb; color: var(--ui-text-muted); font-size: 12px; line-height: 19px; }
.notification-modal { width: min(640px, calc(100vw - 32px)); overflow: hidden; }
.notification-modal,.notification-modal button { font-family: "Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif !important; -webkit-font-smoothing: auto; text-rendering: geometricPrecision; }
.notification-modal .modal-card { width: 100%; max-width: 100%; max-height: min(720px, calc(100vh - 40px)); padding: 22px; overflow: hidden; box-sizing: border-box; }
.notification-modal .modal-head { position: relative; display: flex; min-width: 0; justify-content: flex-start; text-align: left; }
.notification-modal .modal-head .icon-button { position: absolute; top: -4px; right: 0; }
.notification-modal .modal-head h2 { margin: 0; color: #101828; font-size: 18px !important; line-height: 26px !important; font-weight: 700; }
.notification-modal .modal-head p { margin: 2px 0 0; color: #667085; font-size: 12px; line-height: 18px; }
.notification-list { display: grid; width: 100%; min-width: 0; min-height: 180px; max-height: min(520px, 60vh); margin: 14px auto 0; padding-right: 3px; overflow-x: hidden; overflow-y: auto; gap: 8px; }
.notification-item { position: relative; display: grid; width: 100%; min-width: 0; min-height: 72px; padding: 13px 14px; grid-template-columns: 52px minmax(0,1fr) 100px; align-items: center; gap: 10px; border: 1px solid var(--ui-border); border-radius: 10px; background: #fff; color: var(--ui-text); text-align: left; box-sizing: border-box; }
.notification-item:hover { border-color: #b8c5e8; background: #f8faff; }
.notification-item.is-unread { background: #f8faff; }
.notification-unread-dot { position: absolute; top: 12px; right: 12px; width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.notification-item.is-unread .notification-unread-dot { background: #e12d3f; }
.notification-item .notification-route { width: max-content; align-self: center; padding: 3px 7px; border-radius: 5px; background: #eef2ff; color: var(--ui-brand); font-size: 11px; line-height: 17px; font-weight: 500; }
.notification-main { display: grid; min-width: 0; gap: 3px; }
.notification-main strong { min-width: 0; overflow: hidden; color: #101828; font-size: 14px; line-height: 20px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.notification-main small { min-width: 0; overflow: hidden; color: #667085; font-size: 12px; line-height: 18px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.notification-item > b { justify-self: end; color: var(--ui-brand); font-size: 14px; line-height: 20px; font-weight: 600; text-align: right; white-space: nowrap; }
.notification-loading,.notification-empty { display: grid; min-height: 180px; place-items: center; align-content: center; gap: 5px; color: #667085; text-align: center; }
.notification-loading { grid-template-columns: 1fr; }
.notification-loading-mark { display: block; width: 52px; height: 52px; object-fit: contain; transform: none; }
.notification-loading small { margin-top: 7px; font-size: 12px; }
.notification-empty strong { color: #344054; font-size: 14px; }.notification-empty span { font-size: 12px; }
.notification-foot { justify-content: space-between; }.notification-foot > span { color: #667085; font-size: 12px; line-height: 18px; }
.notification-foot-actions { display: flex; align-items: center; gap: 10px; }
.notification-clear { min-width: 72px; padding: 8px 10px; color: #475467; }
.notification-clear:hover { color: #101828; }
.notification-clear:disabled { color: #98a2b3; cursor: wait; }
@media (max-width: 560px) { .notification-modal .modal-card { padding: 18px; }.notification-item { grid-template-columns: 48px minmax(0,1fr); }.notification-item > b { grid-column: 2; justify-self: start; }.notification-main small { white-space: normal; }.notification-foot { align-items: stretch; gap: 12px; flex-direction: column; }.notification-foot > span { max-width: none; }.notification-foot-actions { justify-content: flex-end; } }
.feedback-modal { width: min(1020px, calc(100vw - 24px)); max-width: none; }
.feedback-modal .modal-card { width: 100%; max-height: min(760px, calc(100vh - 40px)); overflow: hidden; }
.feedback-workspace { display: grid; min-width: 0; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); border-top: 1px solid var(--ui-border); border-bottom: 1px solid var(--ui-border); }
.feedback-history,.feedback-compose { min-width: 0; padding: 20px 22px; }
.feedback-history { overflow-y: auto; max-height: 520px; border-right: 1px solid var(--ui-border); background: #fafbfc; }
.feedback-compose { display: grid; align-content: start; gap: 14px; }
.feedback-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.feedback-section-head h3 { margin: 0; font-size: 15px; }
.feedback-section-head span { color: var(--ui-text-muted); font-size: 12px; }
.feedback-history-item { padding: 14px 0; border-bottom: 1px solid var(--ui-border); }
.feedback-history-item:first-child { padding-top: 0; }
.feedback-history-item > div { display: flex; justify-content: space-between; gap: 12px; }
.feedback-history-item strong { font-size: 13px; }
.feedback-history-item time,.feedback-history-item small,.feedback-history-empty { color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }
.feedback-history-item p { margin: 8px 0; color: var(--ui-text); font-size: 13px; line-height: 20px; }
.feedback-time { display: grid; gap: 7px; font-size: 13px; font-weight: 600; }
.feedback-time input { height: 40px; padding: 0 11px; border: 1px solid var(--ui-border); border-radius: 8px; font: inherit; font-weight: 400; }
.feedback-file { display: grid; gap: 8px; padding: 14px; border: 1px dashed #b9c5d6; border-radius: 9px; color: var(--ui-text); font-size: 13px; }
.feedback-file input { font-size: 12px; }
.feedback-consent { display: flex; align-items: flex-start; gap: 8px; color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }
@media (max-width: 760px) { .feedback-workspace { grid-template-columns: 1fr; } .feedback-history { max-height: 220px; border-right: 0; border-bottom: 1px solid var(--ui-border); } }

@media (max-width: 1180px) {
  .customer-panel { min-height: auto; }
  .customer-card { min-height: 0; }
}

/* Final specificity: advice must finish inside the card without truncation. */
#view-home .insight-body { overflow: visible !important; }
#view-home .insight-body .advice-paragraph { display: block !important; overflow: visible !important; margin: 8px 0 10px !important; font-size: 13px !important; line-height: 20px !important; -webkit-line-clamp: unset !important; }

/* Customer communication feedback workspace · v2.7 */
.feedback-modal { width: min(1320px,calc(100vw - 48px)); max-width: none; padding: 0; border-radius: 22px; }
.feedback-modal .feedback-card { display: flex; width: 100%; max-width: none; height: min(820px,calc(100vh - 48px)); max-height: none; padding: 0; overflow: hidden; flex-direction: column; border-radius: 22px; box-sizing: border-box; }
.feedback-head { padding: 22px 26px 18px; }
.feedback-head h2 { margin: 0 0 5px; font-size: 20px; }
.feedback-head p { margin: 0; color: #697386; }
.feedback-head-actions { display: flex; align-items: center; gap: 12px; }
.feedback-service-status { display: inline-flex; min-height: 32px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--canvas); color: var(--ink-500); font: inherit; font-size: 12px; cursor: pointer; }
.feedback-service-status i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--ink-300); }
.feedback-service-status.is-connected { background: var(--surface); color: var(--success); }
.feedback-service-status.is-connected i { background: var(--success); }
.feedback-service-status.is-disconnected { background: var(--surface); color: var(--warning); }
.feedback-service-status.is-disconnected i { background: var(--warning); }
.feedback-service-status.is-checking i { animation: feedback-service-pulse 1s ease-in-out infinite; }
.feedback-service-status:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@keyframes feedback-service-pulse { 50% { opacity: .35; } }
.feedback-workspace { grid-template-columns: 390px minmax(0,1fr); min-height: 0; height: auto; flex: 1 1 auto; overflow: hidden; border-color: #e5e7eb; }
.feedback-library { position: relative; display: flex; min-width: 0; min-height: 0; overflow: hidden; flex-direction: column; background: #f7f8fa; border-right: 1px solid #e5e7eb; }
.feedback-library-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 12px; }
.feedback-library-head h3 { margin: 0 0 3px; font-size: 15px; }
.feedback-library-head h3 span { color: #697386; font-weight: 500; }
.feedback-library-head small { color: #8a94a3; }
.feedback-manage { border: 0; background: transparent; color: #1b4be5; cursor: pointer; font-weight: 600; }
.feedback-search { display: flex; height: 38px; align-items: center; gap: 8px; margin: 0 22px 12px; padding: 0 11px; border: 1px solid #dfe3e9; border-radius: 9px; background: #fff; }
.feedback-search svg { width: 16px; height: 16px; }
.feedback-search input { min-width: 0; flex: 1; border: 0; outline: 0; font: inherit; font-size: 13px; }
.feedback-tabs { display: flex; gap: 4px; padding: 0 22px 12px; }
.feedback-tabs button { flex: 1; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #697386; cursor: pointer; }
.feedback-tabs button.is-active { border: 1px solid #dfe3e9; background: #fff; color: #17191c; font-weight: 600; }
.feedback-history { min-height: 0; max-height: none; flex: 1; overflow: auto; padding: 0 14px 68px; border: 0; background: transparent; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #b8c1ce transparent; }
.feedback-history::-webkit-scrollbar { width: 10px; }
.feedback-history::-webkit-scrollbar-track { background: transparent; }
.feedback-history::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background: #b8c1ce; background-clip: padding-box; }
.feedback-history::-webkit-scrollbar-thumb:hover { background: #8d98a8; background-clip: padding-box; }
.feedback-history-item { display: grid; grid-template-columns: 18px 42px minmax(0,1fr) auto; gap: 10px; align-items: center; margin: 0; padding: 12px 10px; border: 1px solid transparent; border-bottom-color: #e5e7eb; border-radius: 10px; cursor: pointer; }
.feedback-history-item:hover,.feedback-history-item.is-selected { border-color: #d9e2ff; background: #eef3ff; }
.feedback-file-thumb { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; overflow: hidden; border: 0; border-radius: 9px; background: #fff; color: #1b4be5; cursor: pointer; }
.feedback-file-thumb:focus-visible { outline: 2px solid #1b4be5; outline-offset: 2px; }
.feedback-file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feedback-file-thumb svg { width: 20px; height: 20px; }
.feedback-file-thumb.is-unavailable { background: #f5f6f7; color: #8a94a3; }
.feedback-thumb-loading { width: 100%; height: 100%; background: #edf0f4; }
.feedback-thumb-loading::after { content: ""; display: block; width: 45%; height: 100%; background: rgba(255,255,255,.72); animation: feedback-thumb-loading 1.1s ease-in-out infinite; }
@keyframes feedback-thumb-loading { from { transform: translateX(-100%); } to { transform: translateX(230%); } }
.feedback-gallery { display: grid; min-height: 100%; grid-template-rows: auto minmax(0,1fr); gap: 14px; padding: 2px 0 8px; }
.feedback-gallery > header { display: flex; align-items: center; justify-content: space-between; }
.feedback-gallery > header div { display: grid; gap: 3px; }
.feedback-gallery > header strong { color: #17191c; font-size: 15px; }
.feedback-gallery > header small { color: #697386; font-size: 12px; }
.feedback-gallery-grid { display: grid; min-height: 0; padding: 2px 8px 12px 2px; grid-template-columns: repeat(auto-fill,minmax(148px,1fr)); gap: 14px; align-content: start; overflow: auto; scrollbar-gutter: stable; }
.feedback-gallery-grid::-webkit-scrollbar { width: 9px; }
.feedback-gallery-grid::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: #aab2bf; background-clip: padding-box; }
.feedback-gallery-item { display: grid; min-width: 0; gap: 8px; padding: 0; overflow: hidden; border: 1px solid #e3e7ed; border-radius: 12px; background: #fff; color: #343a40; text-align: left; cursor: pointer; }
.feedback-gallery-item:hover { border-color: #aebef1; background: #f8faff; }
.feedback-gallery-item:focus-visible { outline: 2px solid #1b4be5; outline-offset: 2px; }
.feedback-gallery-preview { display: grid; width: 100%; aspect-ratio: 4/3; place-items: center; overflow: hidden; background: #f3f5f8; }
.feedback-gallery-preview img { width: 100%; height: 100%; object-fit: contain; }
.feedback-gallery-file-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; background: #eef3ff; }
.feedback-gallery-file-icon svg { width: 22px; height: 22px; }
.feedback-gallery-copy { display: grid; min-width: 0; gap: 2px; padding: 0 10px 10px; }
.feedback-gallery-copy strong { overflow: hidden; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.feedback-gallery-copy small { color: #697386; font-size: 11px; }
.feedback-gallery-empty { display: grid; min-height: 260px; place-items: center; align-content: center; gap: 6px; color: #697386; text-align: center; }
.feedback-gallery-empty strong { color: #343a40; font-size: 14px; }
.feedback-file-copy { min-width: 0; }
.feedback-file-copy strong,.feedback-file-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feedback-file-copy strong { margin-bottom: 4px; font-size: 14px; font-weight: 600; line-height: 20px; }
.feedback-file-copy small { color: #697386; font-size: 12px; line-height: 18px; }
.feedback-file-status { display: flex; align-items: center; gap: 7px; padding: 4px 0; border: 0; background: transparent; color: #697386; font-size: 12px; line-height: 18px; cursor: pointer; white-space: nowrap; }
.feedback-file-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.feedback-file-status.is-analyzed { color: #18865b; }
.feedback-file-status.is-analyzed i { width: 7px; height: 7px; background: #18865b; }
.feedback-file-status.is-unrelated { color: var(--ca-critical-ink); }
.feedback-file-status.is-uncertain { color: var(--ca-warning-ink); }
.feedback-file-status.is-analyzing { color: #1b4be5; }
.feedback-file-status.is-analyzing i { width: 14px; height: 14px; border: 2px solid #c9d6ff; border-top-color: #1b4be5; background: transparent; animation: feedback-spin .8s linear infinite; }
.feedback-file-status:disabled { opacity: 1; cursor: default; }
.feedback-selectbox { width: 17px; height: 17px; accent-color: #1b4be5; }
.feedback-history-item:not(.is-managing) { grid-template-columns: 42px minmax(0,1fr) auto; }
.feedback-history-item:not(.is-managing) .feedback-selectbox { display: none; }
.feedback-bulkbar { position: absolute; right: 14px; bottom: 12px; left: 14px; display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border: 1px solid #dfe3e9; border-radius: 11px; background: #fff; box-shadow: 0 8px 24px rgba(16,24,40,.12); font-size: 12px; }
.feedback-bulkbar[hidden] { display: none; }
.feedback-bulkbar button { border: 0; background: transparent; color: #c4322a; cursor: pointer; font-weight: 600; }
.feedback-compose { align-content: start; overflow: auto; padding: 24px 30px 32px; gap: 18px; }
.feedback-section-head { align-items: flex-start; margin: 0; }
.feedback-section-head h3 { margin: 0 0 5px; font-size: 17px; }
.feedback-section-head p { margin: 0; color: #697386; font-size: 12px; }
.feedback-ai-badge { display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px; border-radius: 999px; background: #eef3ff; color: #1b4be5; font-size: 12px; font-weight: 600; }
.feedback-time,.feedback-note { display: grid; gap: 8px; color: #343a40; font-size: 13px; font-weight: 600; }
.feedback-time input,.feedback-note textarea { border: 1px solid #d3d7de; border-radius: 10px; background: #fff; font: inherit; font-weight: 400; outline: none; }
.feedback-time input { height: 42px; padding: 0 12px; }
.feedback-note textarea { min-height: 132px; padding: 12px; resize: vertical; line-height: 1.6; }
.feedback-time input:focus,.feedback-note textarea:focus { border-color: #1b4be5; box-shadow: 0 0 0 2px rgba(27,75,229,.1); }
.feedback-dropzone { display: grid; min-height: 148px; place-items: center; align-content: center; gap: 6px; border: 1px dashed #aebbd1; border-radius: 14px; background: #fafbfc; text-align: center; cursor: pointer; }
.feedback-dropzone.is-dragging { border-color: #1b4be5; background: #eef3ff; }
.feedback-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.feedback-upload-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: #eef3ff; }
.feedback-upload-icon svg { width: 20px; height: 20px; }
.feedback-dropzone strong { font-size: 13px; }
.feedback-dropzone small { color: #7d8795; font-size: 11px; }
.feedback-queue { display: grid; gap: 8px; }
.feedback-compose.is-reviewing > .feedback-section-head,.feedback-compose.is-reviewing > .feedback-time,.feedback-compose.is-reviewing > .feedback-note,.feedback-compose.is-reviewing > .feedback-dropzone { display: none; }
.feedback-compose.is-reviewing .feedback-queue { display: block; }
.feedback-review-panel { display: grid; gap: 18px; }
.feedback-detail-head { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 12px; }
.feedback-detail-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: #f1edff; }
.feedback-detail-icon svg { width: 25px; height: 25px; }
.feedback-detail-head strong,.feedback-detail-head small { display: block; }
.feedback-detail-head strong { font-size: 14px; line-height: 20px; font-weight: 600; }
.feedback-detail-head small { margin-top: 4px; color: #697386; font-size: 12px; line-height: 18px; }
.feedback-detail-state { display: flex; align-items: center; gap: 7px; color: #697386; font-size: 12px; }
.feedback-detail-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.feedback-detail-state.is-running { color: #1b4be5; }
.feedback-detail-state.is-complete { color: #18865b; }
.feedback-detail-state.is-unrelated { color: var(--ca-critical-ink); }
.feedback-detail-state.is-uncertain { color: var(--ca-warning-ink); }
.feedback-review-file { display: grid; gap: 14px; padding: 18px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; }
.feedback-review-file > div > strong,.feedback-review-file > div > small { display: block; }
.feedback-review-file > div > small { margin-top: 5px; color: #697386; }
.feedback-review-image { display: block; width: 100%; max-height: 360px; border-radius: 10px; object-fit: contain; background: #f5f6f7; }
.feedback-review-audio { width: 100%; }
.feedback-audio-player { display: grid; grid-template-columns: 46px minmax(0,1fr) 82px; align-items: center; gap: 14px; padding: 16px; border: 1px solid #dfe4ec; border-radius: 12px; }
.feedback-audio-player > div { min-width: 0; }
.feedback-play-button { display: grid; width: 46px; height: 46px; place-items: center; border: 0; border-radius: 50%; background: #1b4be5; color: #fff; cursor: pointer; font-size: 15px; }
.feedback-waveform { display: grid; width: 100%; height: 46px; grid-template-columns: repeat(70,minmax(1px,1fr)); align-items: center; gap: 2px; overflow: hidden; }
.feedback-waveform i { display: block; width: 100%; max-width: 3px; height: var(--h); justify-self: center; border-radius: 2px; background: #dce2ec; }
.feedback-waveform i.is-played { background: #1b4be5; }
.feedback-audio-time { display: block; margin-top: 3px; color: #697386; font-size: 12px; font-variant-numeric: tabular-nums; }
.feedback-play-button svg { width: 21px; height: 21px; }
.feedback-audio-player select { height: 38px; border: 1px solid #d3d7de; border-radius: 8px; background: #fff; font-size: 12px; }
.feedback-transcript-head { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; }
.feedback-transcript-head strong { font-size: 14px; }
.feedback-transcript-head span { color: #697386; font-size: 12px; }
.feedback-recognition-retry { display: inline-flex; width: fit-content; min-height: 34px; align-items: center; justify-content: center; margin-top: 2px; padding: 0 12px; border: 1px solid #d3d7de; border-radius: 999px; background: #fff; color: #343a40; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.feedback-recognition-retry:disabled { cursor: wait; opacity: .6; }
.feedback-recognition-retry:focus-visible { outline: 2px solid #1b4be5; outline-offset: 2px; }
.feedback-transcript { min-height: 180px; padding: 14px 16px; border: 1px solid #dfe4ec; border-radius: 10px; background: #fff; }
.feedback-transcript summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.feedback-transcript summary::-webkit-details-marker { display: none; }
.feedback-transcript summary span { display: flex; align-items: baseline; gap: 10px; }
.feedback-transcript summary strong { color: var(--ca-ink); font-size: 14px; line-height: 22px; }
.feedback-transcript summary small,.feedback-transcript summary b { color: var(--ca-ink-3); font-size: 13px; font-weight: 500; line-height: 21px; }
.feedback-transcript p { display: grid; grid-template-columns: 80px auto minmax(0,1fr); gap: 10px; margin: 0; padding: 9px 0; color: #4c5665; font-size: 12px; line-height: 20px; }
.feedback-transcript > p { display: block; max-height: 260px; margin-top: 12px; padding: 12px 0 0; overflow: auto; border-top: 1px solid var(--ca-line); color: var(--ca-ink-2); font-size: 14px; line-height: 23px; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-transcript time { color: #1b4be5; }
.feedback-material-relevance { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 12px; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--ca-critical); border-radius: 10px; background: var(--ca-critical-soft); }
.feedback-material-relevance > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 9px; background: var(--ca-surface); color: var(--ca-critical-ink); }
.feedback-material-relevance strong { display: block; color: var(--ca-critical-ink); font-size: 15px; line-height: 23px; }
.feedback-material-relevance p { margin: 4px 0 0; color: var(--ca-ink-2); font-size: 14px; line-height: 22px; }
.feedback-material-relevance small { display: block; margin-top: 5px; color: var(--ca-ink-3); font-size: 13px; line-height: 21px; }
.feedback-material-relevance.is-uncertain { border-color: var(--ca-warning); background: var(--ca-warning-soft); }
.feedback-material-relevance.is-uncertain > span { background: var(--ca-surface); color: var(--ca-warning-ink); }
.feedback-material-relevance.is-uncertain strong { color: var(--ca-warning-ink); }
.feedback-relevance-result { padding: 18px; }
.feedback-relevance-result h4 { margin: 16px 0 8px; color: var(--ca-ink); font-size: 20px; line-height: 28px; }
.feedback-relevance-result > p { margin: 0; color: var(--ca-ink-2); font-size: 15px; line-height: 24px; }
.feedback-relevance-result > div { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ca-line); }
.feedback-relevance-result > div strong,.feedback-relevance-result > div span { display: block; }
.feedback-relevance-result > div strong { color: var(--ca-ink); font-size: 14px; line-height: 22px; }
.feedback-relevance-result > div span { margin-top: 5px; color: var(--ca-ink-2); font-size: 14px; line-height: 23px; }
.feedback-relevance-result > small { display: block; margin-top: 16px; color: var(--ca-ink-3); font-size: 13px; line-height: 21px; }
.feedback-review-document { display: flex; min-height: 160px; align-items: center; justify-content: center; gap: 12px; border-radius: 10px; background: #f7f8fa; }
.feedback-review-document svg { width: 32px; height: 32px; }
.feedback-review-summary { padding: 16px; border-radius: 12px; background: #f7f8fa; }
.feedback-review-summary p { margin: 7px 0 0; color: #4c5665; line-height: 1.7; }
.feedback-foot .is-analysis-ready { background: #1b4be5; box-shadow: 0 6px 14px rgba(27,75,229,.2); }
@keyframes feedback-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .feedback-service-status span { display: none; } .feedback-service-status { width: 32px; justify-content: center; padding: 0; } }
.feedback-queue-item { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid #e5e7eb; border-radius: 10px; }
.feedback-queue-item > span:first-child { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; background: #f5f6f7; }
.feedback-queue-item strong,.feedback-queue-item small { display: block; }
.feedback-queue-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.feedback-queue-item small { margin-top: 3px; color: #7d8795; font-size: 11px; }
.feedback-queue-item button { border: 0; background: transparent; color: #697386; cursor: pointer; font-size: 18px; }
.feedback-foot { min-height: 72px; align-items: center; justify-content: space-between; margin: 0; padding: 14px 24px; box-sizing: border-box; }
.feedback-foot > span { color: #7d8795; font-size: 11px; }
.feedback-foot > div { display: flex; gap: 10px; }
.feedback-viewer { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: #101216; color: #fff; }
.feedback-viewer::backdrop { background: #101216; }
.feedback-viewer-head { position: absolute; z-index: 2; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; background: #101216; }
.feedback-viewer-head small { display: block; margin-top: 5px; color: #aeb4bf; }
.feedback-viewer-head button { border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 28px; }
.feedback-viewer-stage { display: grid; width: 100%; height: 100%; place-items: center; overflow: hidden; }
.feedback-viewer-stage img { max-width: 82vw; max-height: 80vh; object-fit: contain; transition: transform .18s ease; }
.feedback-viewer-tools { position: absolute; bottom: 22px; left: 50%; display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 12px; background: rgba(28,31,38,.94); transform: translateX(-50%); }
.feedback-viewer-tools button,.feedback-viewer-tools a,.feedback-viewer-tools span { min-width: 40px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: #fff; text-align: center; text-decoration: none; cursor: pointer; }
.feedback-viewer-tools button:hover,.feedback-viewer-tools a:hover { background: #343841; }
.feedback-viewer-tools .is-danger { color: #ff8b84; }
.feedback-analysis-modal { width: min(1120px,calc(100vw - 48px)); max-width: none; padding: 0; border-radius: 22px; }
.feedback-compose.is-reviewing { overflow: hidden; padding: 16px 20px 20px; }
.feedback-compose.is-reviewing .feedback-queue { min-height: 0; height: 100%; }
.feedback-image-view { display: grid; height: 100%; min-height: 0; grid-template-rows: auto minmax(0,1fr); gap: 12px; }
.feedback-image-view > header { display: grid; grid-template-columns: auto minmax(120px,1fr) auto; align-items: center; gap: 14px; min-height: 42px; }
.feedback-image-view > header > strong { overflow: hidden; font-size: 14px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.feedback-image-view > header > div { display: flex; align-items: center; gap: 6px; }
.feedback-exit-view,.feedback-image-view > header button,.feedback-image-view > header a { display: inline-flex; min-width: 34px; height: 34px; align-items: center; justify-content: center; gap: 6px; padding: 0 9px; border: 1px solid #dfe4ec; border-radius: 8px; background: #fff; color: #4c5665; text-decoration: none; cursor: pointer; }
.feedback-exit-view svg { width: 16px; height: 16px; transform: rotate(180deg); }
.feedback-image-view > header button svg,.feedback-image-view > header a svg { width: 17px; height: 17px; }
.feedback-image-status { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; color: #18865b; font-size: 12px; white-space: nowrap; }
.feedback-image-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.feedback-image-stage { position: relative; display: grid; width: 100%; height: 100%; min-height: 0; place-items: center; overflow: hidden; border: 1px solid #e3e7ed; border-radius: 12px; background: #f3f5f8; }
.feedback-image-stage img { display: block; margin: 0 auto; transition: transform .18s ease; cursor: zoom-in; }
.feedback-image-stage.is-fit-all img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; }
.feedback-image-stage.is-manual { display: block; overflow: auto; scrollbar-width: none; }
.feedback-image-stage.is-manual::-webkit-scrollbar { display: none; }
.feedback-image-stage.is-manual img { position: static; width: auto; height: auto; max-width: none; max-height: none; transform-origin: top center; }
.feedback-image-stage .feedback-media-loading { position: absolute; inset: 0; display: grid; place-items: center; }
.feedback-media-loading { color: #697386; font-size: 13px; }
.feedback-review-media { display: grid; min-height: 260px; place-items: center; overflow: hidden; border: 1px solid #e3e7ed; border-radius: 12px; background: #f3f5f8; }
.feedback-review-media img { width: 100%; max-height: 480px; object-fit: contain; }
.feedback-image-stage.is-unavailable,.feedback-review-media.is-unavailable,.analysis-card.is-unavailable { background: #fafafa; }
.feedback-media-error { display: grid; max-width: 360px; place-items: center; gap: 8px; padding: 24px; color: #697386; text-align: center; }
.feedback-media-error svg { width: 24px; height: 24px; color: #b96800; }
.feedback-media-error b { color: #343a40; font-size: 14px; }
.feedback-media-error small { font-size: 12px; }
.feedback-play-button:disabled,.feedback-audio-player select:disabled { cursor: wait; opacity: .55; }
.feedback-ocr { overflow: hidden; border: 1px solid #dfe4ec; border-radius: 10px; background: #fff; }
.feedback-ocr summary { display: flex; min-height: 52px; align-items: center; justify-content: space-between; padding: 0 14px; cursor: pointer; list-style: none; }
.feedback-ocr summary::-webkit-details-marker { display: none; }
.feedback-ocr summary span b,.feedback-ocr summary span small { display: block; }
.feedback-ocr summary span b { font-size: 13px; line-height: 19px; }
.feedback-ocr summary span small { margin-top: 2px; color: #697386; font-size: 12px; }
.feedback-ocr summary svg { width: 17px; height: 17px; transition: transform .18s ease; }
.feedback-ocr[open] summary svg { transform: rotate(180deg); }
.feedback-ocr p { max-height: 140px; overflow: auto; margin: 0; padding: 12px 14px; border-top: 1px solid #edf0f4; color: #4c5665; font-size: 13px; line-height: 22px; white-space: pre-wrap; }
.feedback-foot button:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; }
.analysis-foot-end { justify-content: flex-end !important; gap: 10px; }
.resource-table .resource-customer strong { font-size: 14px !important; line-height: 21px !important; }
.resource-table .resource-customer small { font-size: 12px !important; line-height: 18px !important; }
.resource-table .region-cell,.resource-table .owner-cell { color: #566174 !important; font-size: 13px !important; line-height: 20px !important; }
.next-action-copy { margin: 0; color: var(--ui-text-muted); font-size: 14px !important; line-height: 22px !important; text-align: left; }
.insight-body .advice-paragraph { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; }
.insight-body .insight-evidence b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.feedback-analysis-modal .feedback-analysis-card { display: flex; width: 100%; max-width: none; max-height: calc(100vh - 48px); padding: 0; overflow: hidden; flex-direction: column; border-radius: 22px; box-sizing: border-box; }
.feedback-analysis-modal .modal-head { padding: 22px 26px 18px; }
.feedback-analysis-modal .feedback-ai-badge { display: none; }
.feedback-analysis-modal .modal-head h2 { font-size: 20px !important; line-height: 28px !important; }
.feedback-analysis-modal .modal-head p { font-size: 12px !important; line-height: 18px !important; }
.feedback-analysis-modal .modal-foot { margin: 0; padding: 14px 24px; }
.feedback-analysis-body { overflow: auto; padding: 26px; background: #f7f8fa; }
.analysis-hero { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 24px; margin-bottom: 18px; padding: 24px; border-radius: 16px; background: #fff; }
.analysis-score strong { display: block; color: #17191c; font-size: 64px; line-height: 1; }
.analysis-score span { color: #697386; font-size: 12px; }
.analysis-conclusion h3 { margin: 0 0 8px; font-size: 22px; }
.analysis-conclusion p { margin: 0 0 14px; color: #697386; line-height: 1.6; }
.analysis-next { padding: 12px 14px; border-radius: 10px; background: #eef3ff; color: #183b9f; font-weight: 600; }
.analysis-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.analysis-card { padding: 18px; border-radius: 14px; background: #fff; }
.analysis-card h4 { margin: 0 0 12px; font-size: 14px; }
.analysis-card p,.analysis-card li { color: #4c5665; font-size: 13px; line-height: 1.65; }
.analysis-card ul { margin: 0; padding-left: 18px; }
.analysis-evidence { grid-column: 1/-1; }
.analysis-evidence button { margin: 4px 6px 4px 0; padding: 7px 10px; border: 1px solid #d9e2ff; border-radius: 8px; background: #eef3ff; color: #1b4be5; cursor: pointer; }
.analysis-file-results { display: grid; gap: 10px; }
.analysis-file-results article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 12px; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fafbfc; }
.analysis-file-results strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.analysis-file-results span { color: #18865b; font-size: 12px; font-weight: 600; }
.analysis-file-results span.is-failed,.analysis-file-results span.is-awaiting_provider { color: #b96800; }
.analysis-file-results p { grid-column: 1/-1; margin: 0; }
.feedback-modal,.feedback-analysis-modal { font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
.feedback-modal :is(button,input,textarea,select,p,span,small,time,a,td,th),.feedback-analysis-modal :is(button,input,textarea,select,p,span,small,time,a,td,th) { font-size: max(12px,1em); }
.analysis-metrics { display: grid; grid-template-columns: .8fr 1.1fr .8fr 1.25fr; border: 1px solid #dfe4ec; border-radius: 12px; background: #fff; }
.analysis-metrics > div { min-width: 0; padding: 20px; border-right: 1px solid #e5e7eb; }
.analysis-metrics > div:last-child { border-right: 0; }
.analysis-metrics span { display: block; margin-bottom: 12px; color: #17191c; font-size: 13px; font-weight: 600; }
.analysis-metrics strong { display: block; color: #1b4be5; font-size: 26px; line-height: 1.2; }
.analysis-metrics strong small { font-size: 12px; font-weight: 500; }
.analysis-metrics p { margin: 9px 0 0; color: #697386; font-size: 12px; line-height: 18px; }
.analysis-metrics b { display: block; min-height: 40px; font-size: 14px; line-height: 20px; }
.analysis-metrics button { margin-top: 10px; padding: 9px 14px; border: 0; border-radius: 8px; background: #17191c; color: #fff; font-weight: 600; cursor: pointer; }
.analysis-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 14px; margin-top: 14px; }
.analysis-left,.analysis-right { display: grid; align-content: start; border: 1px solid #dfe4ec; border-radius: 12px; background: #fff; overflow: hidden; }
.analysis-left > section,.analysis-right > section { padding: 18px; border-bottom: 1px solid #e5e7eb; }
.analysis-left > section:last-child,.analysis-right > section:last-child { border-bottom: 0; }
.analysis-layout h4 { margin: 0 0 12px; font-size: 14px; line-height: 20px; }
.analysis-layout p,.analysis-layout td { color: #4c5665; font-size: 12px; line-height: 20px; }
.analysis-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.analysis-tags span { padding: 6px 11px; border: 1px solid #9db7ff; border-radius: 6px; color: #1b4be5; }
.analysis-layout table { width: 100%; border-collapse: collapse; }
.analysis-layout td { padding: 8px 4px; border-bottom: 1px solid #eef0f3; }
.analysis-chain { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.analysis-chain b { font-size: 13px; }
.analysis-chain i { color: #697386; font-style: normal; }
.analysis-signal { display: grid; grid-template-columns: 24px 65px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #eef0f3; }
.analysis-signal button { width: 22px; height: 22px; padding: 0; border: 1px solid #9db7ff; border-radius: 50%; background: #fff; color: #1b4be5; }
.analysis-signal time,.analysis-signal button:last-child { color: #1b4be5; font-size: 12px; text-decoration: none; }
.analysis-signal button:last-child { width: auto; height: auto; border: 0; border-radius: 0; white-space: nowrap; }
.analysis-signal p { margin: 0; }
.analysis-action-row { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 0; }
.analysis-action-row b { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #1b4be5; color: #fff; font-size: 12px; }
.analysis-action-row span { font-size: 12px; }
.analysis-action-row small { color: #697386; font-size: 12px; }
@media (max-width: 900px) { .analysis-metrics { grid-template-columns: 1fr 1fr; }.analysis-metrics > div:nth-child(2) { border-right: 0; }.analysis-layout { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .feedback-modal { padding: 0; } .feedback-modal .feedback-card { width: 100vw; height: 100vh; border-radius: 0; } .feedback-workspace { grid-template-columns: 300px minmax(0,1fr); } }
@media (max-width: 760px) { .feedback-workspace { display: block; overflow: auto; } .feedback-library { min-height: 300px; border-right: 0; border-bottom: 1px solid #e5e7eb; } .feedback-history { max-height: 240px; } .feedback-compose { overflow: visible; padding: 20px; } .feedback-foot > span { display: none; } .analysis-hero,.analysis-grid { grid-template-columns: 1fr; } .analysis-evidence { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .feedback-viewer-stage img { transition: none; } }

/* Customer-level cumulative AI analysis — distilled 5-second reading view. */
.feedback-analysis-modal { width: min(1160px,calc(100vw - 48px)); }
.feedback-analysis-modal .feedback-analysis-card { max-height: calc(100vh - 40px); }
.feedback-analysis-modal .modal-head { align-items: flex-start; padding: 22px 28px 18px; }
.feedback-analysis-modal .modal-head h2 { margin: 0 0 7px; color: #17191c; font-size: 22px !important; font-weight: 650; }
.feedback-analysis-modal .modal-head p { color: #697386; font-size: 13px !important; }
.feedback-analysis-body { display: grid; gap: 16px; padding: 20px 28px 22px; background: #fff; }
.analysis-summary-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.analysis-summary-metrics article { display: flex; min-height: 94px; align-items: center; gap: 15px; padding: 16px 20px; border: 1px solid #dfe4ec; border-radius: 14px; background: #fff; box-sizing: border-box; }
.analysis-summary-metrics article > span { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 12px; background: #eef3ff; color: #1b4be5; }
.analysis-summary-metrics svg { width: 22px; height: 22px; }
.analysis-summary-metrics small { display: block; margin-bottom: 5px; color: #697386; font-size: 13px; }
.analysis-summary-metrics strong { display: block; overflow: hidden; color: #1b4be5; font-size: 22px; font-weight: 650; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.analysis-summary-metrics .metric-intent > span { background: #eef3ff; color: #1b4be5; }
.analysis-summary-metrics .metric-intent strong { color: #1b4be5; }
.analysis-summary-metrics .metric-state > span { background: #eaf7f1; color: #18865b; }
.analysis-summary-metrics .metric-state strong { color: #18865b; }
.analysis-summary-metrics .metric-concern > span { background: #fff4e5; color: #b96800; }
.analysis-summary-metrics .metric-concern strong { color: #b96800; }
.analysis-summary-metrics em { margin-left: 3px; color: #343a40; font-size: 13px; font-style: normal; font-weight: 500; }
.analysis-truth,.analysis-quotes { border: 1px solid #dfe4ec; border-radius: 14px; background: #fff; }
.analysis-truth { padding: 18px 22px 20px; }
.analysis-truth header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.analysis-truth h3,.analysis-quotes h3 { display: flex; align-items: center; gap: 9px; margin: 0; color: #17191c; font-size: 16px; font-weight: 650; }
.analysis-truth h3 svg,.analysis-quotes h3 svg { width: 20px; height: 20px; }
.analysis-truth header > span { padding: 5px 9px; border-radius: 999px; background: #eef3ff; color: #1b4be5; font-size: 12px; font-weight: 600; white-space: nowrap; }
.analysis-truth > p { max-width: 76ch; margin: 14px 0 0; color: #252a32; font-size: 15px; line-height: 1.85; }
.analysis-quotes { padding: 18px 20px 4px; }
.analysis-quotes > article { display: grid; grid-template-columns: 34px minmax(0,1.15fr) minmax(0,.95fr) auto; align-items: center; gap: 12px; min-height: 60px; border-bottom: 1px solid #eef0f3; }
.analysis-quotes > article:last-child { border-bottom: 0; }
.analysis-quote-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #f2efff; color: #7357e8; }
.analysis-quote-icon svg { width: 17px; height: 17px; }
.analysis-quotes p { min-width: 0; margin: 0; color: #343a40; font-size: 13px; line-height: 1.65; }
.analysis-quotes p b { color: #17191c; }
.analysis-quotes .analysis-reading { color: #1b4be5; }
.analysis-quotes small { max-width: 220px; overflow: hidden; color: #697386; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.analysis-change { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 14px 20px; border: 1px solid #b9caff; border-radius: 14px; background: #f5f8ff; }
.analysis-change > span { color: #1b4be5; }
.analysis-change > span svg { width: 24px; height: 24px; }
.analysis-change strong { color: #17191c; font-size: 14px; }
.analysis-change p { margin: 4px 0 0; color: #4c5665; font-size: 13px; }
.analysis-change > b { color: #1b4be5; font-size: 25px; font-weight: 650; white-space: nowrap; }
.feedback-analysis-modal .modal-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px 18px; }
.analysis-foot-actions { display: flex; gap: 10px; }
.feedback-analysis-modal :is(.primary-button,.secondary-button) { min-height: 40px; font-size: 14px; }
.analysis-loading,.analysis-error { padding: 48px 32px; border: 1px solid #dfe4ec; border-radius: 14px; text-align: center; }
.analysis-loading strong,.analysis-error strong { display: block; color: #17191c; font-size: 18px; line-height: 1.5; }
.analysis-loading p,.analysis-error p { max-width: 560px; margin: 10px auto 0; color: #697386; font-size: 14px; line-height: 1.7; }
.analysis-quotes [data-analysis-source] { margin: 4px 0 0; padding: 0; border: 0; background: transparent; color: #3159c9; font-size: 12px; cursor: pointer; }
.analysis-quotes [data-analysis-source]:hover { text-decoration: underline; }
.analysis-error button { margin-top: 20px; }

/* Fast, non-blocking loading states for analytics and team drill-downs. */
.team-workbench-loading { display: flex; align-items: center; gap: 14px; min-height: 320px; justify-content: center; color: var(--ui-text-muted); }
.team-workbench-loading > i { width: 22px; height: 22px; border: 2px solid #dfe5ef; border-top-color: var(--ca-primary); border-radius: 50%; animation: spin .8s linear infinite; }
.team-workbench-loading strong,.team-workbench-loading span { display: block; }
.team-workbench-loading strong { color: var(--ui-text); font-size: 14px; }
.team-workbench-loading span { margin-top: 3px; font-size: 12px; }
.analytics-skeleton { display: block; min-height: 430px; padding: 44px 34px; text-align: left; }
.analytics-skeleton-head { display: grid; gap: 12px; margin-bottom: 28px; }
.analytics-skeleton-head i,.analytics-skeleton-grid i { display: block; border-radius: 7px; background: linear-gradient(90deg,#edf0f4 20%,#f8f9fb 48%,#edf0f4 76%); background-size: 220% 100%; animation: detail-shimmer 1.25s ease-in-out infinite; }
.analytics-skeleton-head i:first-child { width: 38%; height: 20px; }
.analytics-skeleton-head i:last-child { width: 62%; height: 12px; }
.analytics-skeleton-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 30px; }
.analytics-skeleton-grid i { height: 82px; }
.analytics-skeleton > strong,.analytics-skeleton > span { display: block; text-align: center; }
.analytics-skeleton > strong { color: var(--ui-text); font-size: 15px; }
.analytics-skeleton > span { margin-top: 6px; color: var(--ui-text-muted); font-size: 12px; }
.analytics-single-loader { display: grid; place-items: center; align-content: center; min-height: 430px; padding: 44px 34px; color: var(--ui-text-muted); text-align: center; }
.analytics-single-loader img { display: block; width: 52px; height: 52px; margin-bottom: 18px; object-fit: contain; transform: none; animation: none; }
.analytics-single-loader strong { color: var(--ui-text); font-size: 15px; }
.analytics-single-loader span { margin-top: 7px; font-size: 12px; }
.analysis-node-recommendation { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 14px; padding: 14px 16px; border: 1px solid #dbe4f4; border-radius: 12px; background: #f7f9ff; }
.analysis-node-recommendation div { min-width: 0; }.analysis-node-recommendation small { display: block; color: #697386; font-size: 11px; }.analysis-node-recommendation strong { display: block; margin-top: 3px; color: #263249; font-size: 14px; }.analysis-node-recommendation p { margin: 4px 0 0; color: #697386; font-size: 12px; line-height: 18px; }.analysis-node-recommendation > span { flex: 0 0 auto; color: #18865b; font-size: 12px; }.analysis-node-recommendation.needs-confirmation { border-color: #f2d59b; background: #fffaf0; }.analysis-node-recommendation .primary-button { flex: 0 0 auto; }

/* System messages align to the top-center status area shown in the approved home layout. */
.toast { left: 50% !important; top: 34px !important; right: auto !important; bottom: auto !important; transform: translate(-50%,-8px) !important; }
.toast.show { transform: translate(-50%,0) !important; }
@media (max-width:640px) { .toast { top: 14px !important; max-width: calc(100vw - 28px); } .analytics-skeleton-grid { grid-template-columns: 1fr 1fr; } }
.analysis-decision { padding: 22px 24px; border: 1px solid #dfe4ec; border-radius: 14px; background: #fff; }
.analysis-decision > header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.analysis-decision > header div span { display: block; margin-bottom: 6px; color: #697386; font-size: 13px; }
.analysis-decision > header div strong { color: #17191c; font-size: 22px; line-height: 1.35; }
.analysis-decision > header > b { color: #1b4be5; font-size: 32px; line-height: 1; }
.analysis-decision > header > b small { margin-left: 3px; color: #697386; font-size: 13px; }
.analysis-decision > p { max-width: 74ch; margin: 18px 0 0; color: #252a32; font-size: 16px; font-weight: 500; line-height: 1.8; }
.analysis-concerns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.analysis-concerns > span { margin-right: 4px; color: #697386; font-size: 13px; }
.analysis-concerns > b { padding: 6px 10px; border-radius: 8px; background: #f5f6f7; color: #343a40; font-size: 13px; font-weight: 600; }
.analysis-recognized,.analysis-evidence-list { padding: 20px 22px; border: 1px solid #dfe4ec; border-radius: 14px; background: #fff; }
.analysis-recognized h3,.analysis-evidence-list h3 { display: flex; align-items: center; gap: 9px; margin: 0; color: #17191c; font-size: 17px; }
.analysis-recognized h3 svg,.analysis-evidence-list h3 svg { width: 20px; height: 20px; }
.analysis-section-help { margin: 7px 0 16px; color: #697386; font-size: 13px; line-height: 1.6; }
.analysis-recognized > div { display: grid; gap: 12px; }
.analysis-recognized article { padding: 15px 16px; border-radius: 10px; background: #f7f8fa; }
.analysis-recognized article header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.analysis-recognized article header strong { overflow-wrap: anywhere; color: #17191c; font-size: 14px; }
.analysis-recognized article header span { flex: 0 0 auto; color: #697386; font-size: 12px; }
.analysis-recognized article p { max-height: 150px; margin: 10px 0 0; overflow: auto; white-space: pre-wrap; color: #343a40; font-size: 14px; line-height: 1.75; }
.analysis-evidence-list { display: grid; gap: 0; }
.analysis-evidence-list h3 { margin-bottom: 6px; }
.analysis-evidence-list article { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid #eef0f3; }
.analysis-evidence-list article:last-child { border-bottom: 0; }
.analysis-evidence-list blockquote { margin: 0; color: #252a32; font-size: 14px; line-height: 1.75; }
.analysis-evidence-list article p { margin: 0; color: #1b4be5; font-size: 14px; line-height: 1.75; }
.analysis-empty-copy { margin: 12px 0 0; color: #697386; font-size: 14px; line-height: 1.7; }
@media (max-width: 900px) {
  .feedback-analysis-modal { width: 100vw; height: 100vh; margin: 0; }
  .feedback-analysis-modal .feedback-analysis-card { height: 100vh; max-height: none; border-radius: 0; }
  .analysis-summary-metrics { grid-template-columns: 1fr; }
  .analysis-summary-metrics article { min-height: 76px; }
  .analysis-quotes > article { grid-template-columns: 34px minmax(0,1fr); padding: 12px 0; }
  .analysis-quotes .analysis-reading,.analysis-quotes small { grid-column: 2; }
  .analysis-change { grid-template-columns: 32px minmax(0,1fr); }
  .analysis-change > b { grid-column: 2; font-size: 20px; }
  .analysis-evidence-list article { grid-template-columns: 1fr; gap: 8px; }
  .analysis-decision > header { align-items: flex-start; }
}
#view-home .insight-body .insight-evidence b { display: block !important; overflow: visible !important; font-size: 12px !important; line-height: 18px !important; text-overflow: clip !important; white-space: normal !important; }

/* 2026-08-19: stable home composition and centered high-resolution brand */
.brand-block { display: flex !important; align-items: center !important; justify-content: center !important; min-height: 64px; padding: 0 14px !important; }
.brand { display: flex !important; align-items: center; justify-content: center; width: 100% !important; height: 58px !important; }
.brand-logo { display: block; width: min(176px, 100%) !important; height: 56px !important; max-height: none !important; object-fit: contain !important; object-position: center !important; }
.brand-logo.animated-brand{display:flex!important;width:176px!important;height:56px!important;align-items:center;justify-content:center;gap:10px}.brand-logo.animated-brand img{width:46px;height:46px;object-fit:contain}.brand-logo.animated-brand strong{color:#050505;font-size:22px;font-weight:700;letter-spacing:.22em}.sidebar-bottom .user-avatar,.topbar-user .user-avatar{border-radius:50%!important;background:#4560c4!important;color:#fff!important}.tier,.tier-mark{border:0!important;box-shadow:none!important}.intent-score{display:block;color:#4560c4;font-size:18px;line-height:1}.intent-score+small{display:block;margin-top:4px;color:var(--muted);font-size:9px}
#view-home .insight-body .advice-paragraph { display: -webkit-box !important; overflow: hidden !important; margin: 8px 0 10px !important; max-height: 132px; font-size: 13px !important; line-height: 22px !important; -webkit-box-orient: vertical; -webkit-line-clamp: 6 !important; line-clamp: 6; }
#view-home .customer-section > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; }
#view-home .customer-section:not(.pack-readiness-section)>p,#view-home .customer-section:not(.pack-readiness-section) .evidence-list{min-height:44px}
.customer-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.customer-section-title h3 { margin: 0 !important; }
.customer-section-title button { flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: var(--blue-600, #3157d5); font: inherit; font-size: 12px; line-height: 20px; cursor: pointer; }
.customer-section-title button[hidden] { display: none !important; }
#view-home .homepage-copy-section .homepage-copy-text { display: -webkit-box; min-height: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
#view-home .homepage-copy-section.homepage-copy-need .homepage-copy-text { -webkit-line-clamp: 5; line-clamp: 5; }
#view-home .homepage-copy-section.is-expanded .homepage-copy-text { display: block; overflow: visible; -webkit-line-clamp: unset; line-clamp: unset; }
#view-home .insight-body .insight-evidence b { display: -webkit-box !important; overflow: hidden !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }

/* 2026-08 formal homepage cleanup: evidence and ownership modules were removed. */
#view-home .insight-body { min-height: 0 !important; }
#view-home .insight-evidence,
#view-home .customer-routing { display: none !important; }
#view-home .customer-action-dock { margin-top: 8px; }
.ai-advice-list { display: grid; gap: 10px; }
.ai-advice-item { display: grid; min-width: 0; padding: 10px 11px; grid-template-columns: 32px minmax(0,1fr); align-items: start; gap: 10px; border: 1px solid var(--ui-border); border-radius: 10px; background: #fbfcfe; }
.ai-advice-item.is-primary { border-color: #ded9ff; background: #faf9ff; }
.ai-advice-item.is-success { border-color: #cfe6dc; background: #f8fcfa; }
.ai-advice-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: var(--ui-ai-soft); color: var(--ui-ai); }
.ai-advice-item.is-success .ai-advice-icon { background: var(--ui-success-soft); color: var(--ui-success); }
.ai-advice-icon svg { width: 17px; height: 17px; }
.ai-advice-item strong { display: block; color: var(--ui-text); font-size: 14px; line-height: 20px; font-weight: 650; }
.ai-advice-item p { display: -webkit-box; margin: 3px 0 0; overflow: hidden; color: var(--ui-text-secondary); font-size: 12px; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.customer-content-scroll { min-height: 0; }
@media (min-width: 1181px) {
  #view-home .customer-card { overflow: hidden !important; }
  #view-home .customer-content-scroll { flex: 1 1 auto; overflow: auto; padding-right: 2px; scrollbar-width: none; }
  #view-home .customer-content-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }
  #view-home .customer-action-dock { position: static !important; z-index: auto; flex: 0 0 auto; margin-top: 0 !important; padding-top: 10px; background: var(--ui-surface); box-shadow: none; }
  #view-home .pack-readiness-section { padding-top: 12px; padding-bottom: 10px; }
  #view-home .customer-footer { margin-top: 8px !important; padding-top: 10px; }
}
.detail-v4-left section > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; }
.detail-evidence-list p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }

.research-source { display: inline-flex; margin-top: 8px; color: var(--ui-brand); font-size: 12px; line-height: 18px; text-decoration: none; }
.research-source:hover { text-decoration: underline; }
.research-source.is-pending { color: #9a6700; }
.brand-logo.animated-brand{width:166px!important;max-width:none!important;flex:0 0 166px!important;transform:translateX(-6px)!important}.brand-logo.animated-brand img{width:46px!important;height:46px!important}.brand-logo.animated-brand strong{font-family:var(--ui-font)!important;font-size:22px!important;font-weight:600!important;line-height:1!important;letter-spacing:.24em!important;white-space:nowrap}
.detail-action-bar [hidden]{display:none!important}
#view-home .task-row{grid-template-columns:30px minmax(230px,.82fr) minmax(340px,1.55fr) 80px 64px!important}
.market-crawl-summary{margin:3px 0 0!important;color:#697386;font-size:12px!important;line-height:18px}.detail-action-bar:has(#detailSecondaryAction[hidden]){padding-top:14px!important}.company-detail-module:nth-child(1) header>svg{color:#2563eb}.company-detail-module:nth-child(2) header>svg{color:#7c3aed}.company-detail-module:nth-child(3) header>svg{color:#059669}.company-detail-module:nth-child(4) header>svg{color:#d97706}.company-detail-module:nth-child(5) header>svg{color:#0284c7}.company-detail-module:nth-child(6) header>svg{color:#8b5cf6}
#view-packs .pack-upload-button{min-height:30px;padding:5px 12px;border:1px solid var(--ca-line);border-radius:7px;background:#fff;color:var(--ui-brand);font-size:11px;font-weight:600;cursor:pointer}
#view-packs .pack-delete-button{display:grid!important;place-items:center;width:17px!important;min-width:17px!important;height:17px!important;min-height:17px!important;padding:0 0 1px!important;border:0!important;border-radius:50%!important;background:rgba(105,115,134,.16)!important;color:rgba(52,58,64,.68)!important;font-family:var(--ui-font)!important;font-size:12px!important;font-weight:400!important;line-height:1!important}
#view-packs .pack-delete-button:hover{background:rgba(196,50,42,.14)!important;color:#c4322a!important}
.brand-logo.animated-brand .octans-mark-image{width:46px!important;height:46px!important;flex:0 0 46px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;object-fit:contain!important}
.brand-logo.animated-brand .brand-wordmark{width:107px!important;height:16px!important;flex:0 0 107px!important;object-fit:fill!important}
.evidence-list div{gap:0!important;padding-left:0!important}.readiness-card:not(.is-ready)>span{color:#98a2b3!important}
@media(max-width:1200px){#view-home .task-row{grid-template-columns:28px minmax(190px,.9fr) minmax(260px,1.4fr) 70px 64px!important}}

/* 客户详情：销售决策卡，结构与 2026-08-21 参考稿一致。 */
.detail-modal{width:min(980px,calc(100vw - 40px))!important;border-radius:20px!important;background:#fff!important}
.detail-modal-card{position:relative;display:flex;width:100%!important;height:min(820px,calc(100vh - 36px));max-height:min(820px,calc(100vh - 36px))!important;padding:24px 28px 18px!important;overflow:hidden!important;flex-direction:column}
.detail-modal .modal-head{align-items:center;min-height:42px;padding:0 2px}
.detail-modal .modal-head>div{display:flex;min-width:0;align-items:baseline;gap:12px}
.detail-modal .modal-head h2{overflow:hidden;color:#122033;font-size:23px!important;line-height:32px!important;font-weight:700;letter-spacing:-.025em!important;text-overflow:ellipsis;white-space:nowrap}
.detail-modal .modal-head p{margin:0!important;color:#7a879b;font-size:14px!important;line-height:22px!important;white-space:nowrap}
.detail-modal .icon-button{width:34px;height:34px;color:#7e8794}
.detail-modal-card>#modalCustomerBody{display:flex;min-height:0;margin-top:8px;padding-right:8px!important;overflow-x:hidden!important;overflow-y:auto!important;flex:1 1 auto;flex-direction:column;scrollbar-gutter:stable}
.detail-identity-tags{position:absolute;z-index:3;top:24px;right:72px;display:flex;min-height:28px;margin:0;align-items:center;justify-content:flex-end;gap:8px}
.detail-identity-tags span{display:inline-flex;min-height:26px;padding:4px 12px;align-items:center;border-radius:999px;background:#f0f4fa;color:#52657d;font-size:12px;line-height:18px;font-weight:600;white-space:nowrap}
.detail-identity-tags span::before{width:6px;height:6px;margin-right:6px;border-radius:50%;background:#ff3b9b;content:""}
.detail-identity-tags span.is-priority{background:#fff1c9;color:#8c6400}
.detail-identity-tags span.is-priority::before{background:#f6b800}
.detail-identity-tags span:last-child::before{border-radius:2px;background:#f2bd3a}
.detail-company-intro{display:block;margin-top:16px;padding:13px 16px;border-radius:12px;background:#f4f7fb}
.detail-company-intro p{margin:0;color:#34445a;font-size:14px;line-height:24px}
.detail-modal .detail-live-progress{margin:10px 0 0;padding:10px 14px;border:1px solid #dce5f4;border-radius:10px;background:#fbfcff}
.detail-modal .detail-live-progress header p,.detail-modal .detail-live-progress ul{display:none}
.detail-modal .detail-live-progress header>div{display:flex;justify-content:space-between;color:#52657d;font-size:12px}
.detail-modal .detail-live-progress-track{height:4px;margin-top:8px;border-radius:4px;background:#e8edf5;overflow:hidden}
.detail-modal .detail-live-progress-track i{display:block;height:100%;background:#1b4be5}
.detail-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.detail-metric-grid>div{display:grid;min-height:78px;padding:12px;place-content:center;text-align:center;border:1px solid #e1e6ee;border-radius:11px;background:#fafbfc}
.detail-metric-grid strong{color:#142237;font-size:28px;line-height:34px;font-weight:700;letter-spacing:-.035em}
.detail-metric-grid span{margin-top:2px;color:#78869a;font-size:12px;line-height:18px}
.detail-metric-grid>div.is-pending strong{color:#8995a7;font-size:18px;letter-spacing:0}
.detail-contact-card{margin-top:12px;padding:13px 16px;border:1px solid #e1e6ee;border-radius:11px;background:#fff}
.detail-contact-card h3{margin:0 0 10px;color:#172033;font-size:14px;line-height:20px}
.detail-contact-card dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0}
.detail-contact-card dl>div{min-width:0;padding-right:10px;border-right:1px solid #edf0f4}
.detail-contact-card dl>div:last-child{padding-right:0;border-right:0}
.detail-contact-card dt{color:#8995a7;font-size:11px;line-height:17px}
.detail-contact-card dd{margin:2px 0 0;overflow:hidden;color:#334155;font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}
.detail-contact-card a{color:#1b4be5;text-decoration:none}
.detail-contact-card a:hover{text-decoration:underline}
.detail-decision-grid{display:grid;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-top:16px;flex:1 1 auto}
.detail-decision-grid>section{min-width:0;padding:17px 18px;border:1px solid #e1e6ee;border-radius:12px;background:#fbfcfd;overflow:hidden}
.detail-decision-grid h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:#162238;font-size:15px;line-height:22px}
.detail-decision-grid h3::before{display:grid;width:14px;height:14px;place-items:center;border-radius:3px;background:#12b76a;content:"";box-shadow:inset 0 0 0 4px #12b76a}
.detail-script-card h3::before{background:#f2bc35;box-shadow:inset 0 0 0 4px #f2bc35}
.detail-activity-card ul,.detail-script-card ol{display:grid;gap:0;margin:0;padding:0;list-style:none}
.detail-activity-card li,.detail-script-card li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;padding:9px 0;border-bottom:1px dashed #dce2ea}
.detail-activity-card li:last-child,.detail-script-card li:last-child{border-bottom:0}
.detail-activity-card li.is-empty{display:block;padding:8px 0 10px}
.detail-activity-card li.is-empty p{width:100%;max-width:none;color:#667085;line-height:22px;overflow-wrap:break-word;word-break:normal}
.detail-activity-card li>span,.detail-script-card li>span{display:grid;width:16px;height:16px;margin-top:3px;place-items:center;border-radius:3px;background:#edf1f6;color:#5d6c80;font-size:10px;line-height:1;font-weight:700}
.detail-script-card li>span{background:#0797d6;color:#fff}
.detail-activity-card li p,.detail-script-card li p{min-width:0;margin:0;color:#334155;font-size:13px;line-height:21px;overflow-wrap:anywhere;word-break:normal}
.detail-activity-card li p b{display:block;color:#172033;font-size:12px;font-weight:650}
.detail-activity-card li p a{display:inline-block;margin-left:8px;color:#1b4be5;font-size:12px;text-decoration:none;white-space:nowrap}
.detail-activity-card li p a:hover{text-decoration:underline}
.detail-script-card li p b{display:inline-block;min-width:48px;margin-right:5px;color:#172033}
.detail-key-judgement,.detail-sales-goal{margin-top:12px;padding:11px 13px;border:1px solid #a9e7bd;border-radius:8px;background:#f0fff5;color:#287044;font-size:13px;line-height:21px}
.detail-sales-goal{border-color:#f1cf66;background:#fffbea;color:#6e5513}
.detail-evidence-panel{margin-top:14px;border:1px solid #e1e6ee;border-radius:10px;background:#fbfcfd}
.detail-evidence-panel summary{display:flex;min-height:42px;padding:10px 14px;align-items:center;justify-content:space-between;color:#334155;font-size:13px;font-weight:650;cursor:pointer;list-style:none}
.detail-evidence-panel summary::-webkit-details-marker{display:none}
.detail-evidence-panel summary span{color:#78869a;font-size:11px;font-weight:500}
.detail-evidence-panel>div{padding:0 14px 14px;border-top:1px solid #edf0f4}
.detail-evidence-panel ul{display:grid;gap:0;margin:0 0 12px;padding:0;list-style:none}
.detail-evidence-panel li{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:10px;padding:10px 0;align-items:start;border-bottom:1px dashed #e1e6ee;font-size:12px;line-height:19px}
.detail-evidence-panel li span{color:#718096}.detail-evidence-panel li p{margin:0;color:#334155}.detail-evidence-panel li a{color:#1b4be5;text-decoration:none;white-space:nowrap}
.detail-empty-evidence{margin:12px 0;color:#78869a;font-size:12px}
.detail-action-bar{align-items:center!important;margin-top:0!important;padding-top:14px!important;flex:0 0 auto}
.detail-action-bar #detailAssignAction{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center}
.detail-research-footer{display:flex;min-width:0;margin-right:auto;flex:1 1 auto;align-items:center}
.detail-research-summary{display:flex;min-width:0;max-width:390px;padding:0;border:0;background:transparent;align-items:center;gap:9px;color:#52657d;text-align:left;cursor:pointer}
.detail-research-summary strong{overflow:hidden;color:#52657d;font-size:12px;line-height:18px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.detail-research-summary span{flex:0 0 auto;color:#1b4be5;font-size:11px;line-height:18px}
.detail-research-footer .detail-live-progress{width:min(330px,100%);margin:0;padding:0;border:0;background:transparent}
.detail-research-footer .detail-live-progress header>div{gap:10px}.detail-research-footer .detail-live-progress strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.detail-verification-note{margin:7px 2px 0;color:#667085;font-size:11px;line-height:17px}
@media(max-height:760px) and (min-width:801px){.detail-modal-card{padding-top:18px!important;padding-bottom:14px!important}.detail-company-intro{margin-top:10px;padding:9px 13px}.detail-company-intro p{display:-webkit-box;overflow:hidden;line-height:21px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.detail-metric-grid{margin-top:10px}.detail-metric-grid>div{min-height:60px;padding:7px}.detail-metric-grid strong{font-size:22px;line-height:27px}.detail-contact-card{margin-top:9px;padding:9px 13px}.detail-contact-card h3{margin-bottom:6px}.detail-decision-grid{margin-top:10px}.detail-decision-grid>section{padding:11px 14px}.detail-decision-grid h3{margin-bottom:5px}.detail-activity-card li,.detail-script-card li{padding:5px 0}.detail-key-judgement,.detail-sales-goal{margin-top:7px;padding:7px 9px;line-height:18px}.detail-action-bar{padding-top:9px!important}}
@media(max-width:800px){.detail-modal{width:100vw!important;max-width:none!important;height:100vh;margin:0;border-radius:0!important}.detail-modal-card{height:100vh;max-height:none!important;padding:18px!important}.detail-modal-card>#modalCustomerBody{overflow-y:auto!important;scrollbar-width:none}.detail-modal-card>#modalCustomerBody::-webkit-scrollbar{display:none}.detail-identity-tags{position:static;margin:10px 0 12px;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.detail-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-contact-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-contact-card dl>div{border-right:0}.detail-decision-grid{grid-template-columns:1fr;flex:0 0 auto}.detail-modal .modal-head>div{display:block}.detail-modal .modal-head p{margin-top:2px!important}.detail-action-bar{display:grid!important;grid-template-columns:1fr 1fr 1.25fr;gap:8px}.detail-research-footer{display:none}.detail-action-bar button{min-width:0!important;padding-inline:8px!important;font-size:12px!important;white-space:nowrap}}

/* 客户跟进 2.1.0：卡片筛选、双路线节点和可解释意向画像。 */
.page-heading-copy { min-width: 0; }
.page-heading-copy p { margin: 5px 0 0; color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }
.followup-summary .followup-stat-card { appearance: none; width: 100%; min-height: 100px; padding: 16px 18px; border: 1px solid var(--ui-border); border-radius: 11px; background: #fff; color: var(--ui-text); font: inherit; text-align: left; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease; }
.followup-summary .followup-stat-card:hover { border-color: #b9c7ee; background: #fbfcff; box-shadow: 0 5px 14px rgba(27,75,229,.08); transform: translateY(-1px); }
.followup-summary .followup-stat-card.is-active { border-color: var(--ui-brand); background: #f5f8ff; box-shadow: 0 0 0 2px rgba(27,75,229,.12); }
.followup-summary .followup-stat-card:focus-visible { outline: 3px solid rgba(27,75,229,.22); outline-offset: 2px; }
.followup-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.followup-filter-chip { min-height: 25px; padding: 3px 9px; border: 1px solid #cdd7ee; border-radius: 999px; background: #f6f8ff; color: var(--ui-brand); font-size: 11px; line-height: 17px; cursor: pointer; }
.followup-filter-chip:hover { border-color: var(--ui-brand); background: #eef3ff; }
.followup-toolbar > div:first-child { min-width: 260px; }
.followup-toolbar .followup-search { width: min(360px, 100%); }
.followup-filter-actions { margin-left: auto; }
.followup-table { min-width: 1160px; }
.followup-table.is-market .data-row { grid-template-columns: 36px minmax(178px,1.15fr) minmax(118px,.82fr) minmax(350px,2.35fr) minmax(90px,.72fr) minmax(86px,.74fr) minmax(140px,.9fr); gap: 14px; }
.followup-table.is-operator { min-width: 1280px; }
.followup-table.is-operator .data-row { grid-template-columns: 36px minmax(180px,1.15fr) minmax(96px,.7fr) minmax(96px,.7fr) minmax(350px,2.25fr) minmax(92px,.72fr) minmax(78px,.58fr) minmax(140px,.9fr); gap: 14px; }
.followup-person-cell strong { display: block; overflow: hidden; color: #344054; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.followup-table .data-row:not(.data-head) { min-height: 112px; }
.followup-table .data-head { min-height: 42px; }
.followup-table .data-head span { white-space: nowrap; }
.followup-sort-button { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; cursor: pointer; }
.followup-sort-button:hover, .followup-sort-button:focus-visible, .followup-sort-button.is-active { color: var(--ui-text); }
.followup-sort-button:focus-visible { outline: 2px solid rgba(27,75,229,.28); outline-offset: 3px; border-radius: 4px; }
.followup-sort-indicator { position: relative; width: 8px; height: 12px; flex: 0 0 8px; }
.followup-sort-indicator::before, .followup-sort-indicator::after { content: ""; position: absolute; left: 1px; width: 6px; height: 4px; background: currentColor; opacity: .38; }
.followup-sort-indicator::before { top: 1px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.followup-sort-indicator::after { bottom: 1px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.followup-sort-button[data-direction="asc"] .followup-sort-indicator::before, .followup-sort-button[data-direction="desc"] .followup-sort-indicator::after { opacity: 1; }
.followup-sort-button[data-direction="asc"] .followup-sort-indicator::after, .followup-sort-button[data-direction="desc"] .followup-sort-indicator::before { opacity: .16; }
.followup-table .data-row.is-recently-touched { background: #eef3ff; box-shadow: inset 0 0 0 1px #c7d4ff; transition: background .8s ease, box-shadow .8s ease; }
.followup-new-label { display: inline-flex; margin-left: 8px; padding: 2px 6px; border-radius: 999px; background: #dfe8ff; color: var(--ui-brand); font-size: 10px; line-height: 16px; font-style: normal; font-weight: 600; vertical-align: 1px; }
.followup-pagination { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--ui-border); color: var(--ui-text-muted); font-size: 12px; }
.followup-pagination > div { display: flex; gap: 8px; }
.followup-pagination .secondary-button { min-width: 72px; min-height: 34px; padding: 6px 14px; }
.followup-pagination .secondary-button:disabled { cursor: not-allowed; opacity: .45; }
.followup-customer, .followup-customer > span, .followup-last-action, .followup-intent-cell { min-width: 0; }
.followup-customer > span, .followup-last-action, .followup-intent-cell { display: grid; align-content: center; gap: 4px; }
.followup-customer strong { overflow: hidden; color: var(--ui-text); font-size: 14px; line-height: 21px; text-overflow: ellipsis; white-space: nowrap; }
.followup-customer small, .followup-last-action small { color: var(--ui-text-muted); font-size: 12px; line-height: 18px; }
.followup-status-chip { border: 1px solid var(--status-line) !important; background: var(--status-soft) !important; color: var(--status-color) !important; }
.resource-plan-status { min-width: 82px; justify-content: center; white-space: nowrap; border: 1px solid var(--ui-border); background: var(--ui-surface-subtle); color: var(--ui-text-muted); }
.resource-plan-status.is-success { border-color: var(--ui-success); background: var(--ui-success-soft); color: var(--ui-success); }
.resource-plan-status.is-running { border-color: var(--ui-brand); background: var(--ui-brand-soft); color: var(--ui-brand); }
.resource-plan-status.is-pending { border-color: var(--ui-warning); background: var(--ui-warning-soft); color: var(--ui-warning); }
.resource-plan-status.is-failed { border-color: var(--ui-danger); background: var(--ui-danger-soft); color: var(--ui-danger); }
.followup-last-action strong { color: var(--ui-text); font-size: 13px; line-height: 19px; font-weight: 600; white-space: nowrap; }
.followup-intent-cell { justify-items: start; }
.followup-intent-cell .intent-score { font-size: 28px; line-height: 32px; font-weight: 600; font-variant-numeric: tabular-nums; }
.followup-node-cell { min-width: 0; align-self: center; }
.followup-node-track { display: grid; min-width: 390px; grid-template-columns: repeat(var(--node-count), minmax(42px, 1fr)); align-items: start; }
.followup-node { position: relative; display: grid; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ui-text-muted); font: inherit; text-align: center; cursor: pointer; }
.followup-node.is-pending { cursor: default; }
.followup-node.is-pending:hover span { color: var(--ui-text-muted); }
.followup-node::after { content: ""; position: absolute; z-index: 0; top: 8px; left: calc(50% + 9px); width: calc(100% - 18px); height: 1px; background: #dbe2ed; }
.followup-node.is-done::after { background: var(--node-line); }
.followup-node:last-child::after { display: none; }
.followup-node i { position: relative; z-index: 1; display: block; width: 15px; height: 15px; margin: 1px auto 8px; border: 2px solid var(--node-line); border-radius: 50%; background: #fff; box-sizing: border-box; }
.followup-node.is-done i { border-color: var(--node-color); background: var(--node-color); box-shadow: inset 0 0 0 3px #fff; }
.followup-node.is-current i { border-color: var(--node-color); background: var(--node-color); box-shadow: inset 0 0 0 3px #fff, 0 0 0 4px var(--node-soft); }
.followup-node span { display: block; min-height: 38px; padding: 0 2px; color: inherit; font-size: 12px; line-height: 18px; word-break: keep-all; }
.followup-node.is-current span { color: var(--node-color); font-weight: 700; }
.followup-node:hover span, .followup-node:focus-visible span { color: var(--node-color); }
.followup-node:focus-visible { outline: 0; }
.followup-node:focus-visible i { outline: 3px solid rgba(27,75,229,.2); outline-offset: 2px; }
.followup-actions { display: flex; align-items: center; align-content: center; flex-wrap: wrap; gap: 8px; }
.followup-actions .row-action { min-height: 32px; padding: 5px 9px; white-space: nowrap; }
.followup-node-popover { position: fixed; z-index: 80; max-width: calc(100vw - 24px); padding: 16px; border: 1px solid #cbd5e7; border-radius: 12px; background: #fff; box-shadow: 0 14px 34px rgba(31,48,80,.16); pointer-events: auto; }
.followup-node-popover[hidden] { display: none; }
.followup-popover-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid #edf0f5; }
.followup-popover-head span { color: var(--ui-text); font-size: 14px; font-weight: 700; }
.followup-popover-head b { color: var(--ui-brand); font-size: 11px; font-weight: 600; }
.followup-popover-event { margin-top: 12px; }
.followup-popover-time { display: grid; grid-template-columns: minmax(88px, auto) 1fr; align-items: baseline; column-gap: 16px; padding-bottom: 10px; border-bottom: 1px solid #edf0f5; }
.followup-popover-time p { margin-top: 0; font-variant-numeric: tabular-nums; text-align: right; }
.followup-popover-event strong { display: block; color: var(--ui-text-muted); font-size: 12px; line-height: 18px; font-weight: 600; }
.followup-popover-event p { margin: 3px 0 0; color: var(--ui-text); font-size: 13px; line-height: 20px; }
.followup-popover-facts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.followup-popover-facts span { padding: 3px 7px; border-radius: 5px; background: #f4f6fa; color: #667085; font-size: 10px; line-height: 16px; }
.followup-detail-modal { width: min(820px, calc(100vw - 24px)); max-width: none; }

/* DeepSeek-backed homepage brief and enterprise research detail. */
#view-home .customer-card,
#view-home .insight-panel,
.detail-modal { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
#view-home .customer-content-scroll { display: flex; min-height: 0; flex-direction: column; }
#view-home .deepseek-search-block { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--ui-border, #e5e7eb); }
#view-home .deepseek-search-block > header,
#view-home .geo-summary-card > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#view-home .deepseek-search-block h3,
#view-home .geo-summary-card h3 { margin: 0; color: var(--ui-text, #17191c); font-size: 14px; line-height: 20px; font-weight: 650; }
#view-home .deepseek-search-block > header span { color: var(--ui-success, #18865b); font-size: 12px; line-height: 18px; font-weight: 650; white-space: nowrap; }
#view-home .deepseek-search-block.is-empty > header span { color: var(--ui-warning, #b96800); }
#view-home .deepseek-search-summary { display: -webkit-box; margin: 10px 0 9px; overflow: hidden; color: var(--ui-text-secondary, #4c5665); font-size: 13px; line-height: 22px; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; }
#view-home .deepseek-key-facts { margin: 0; }
#view-home .deepseek-key-facts > div { display: grid; min-width: 0; padding: 6px 0; grid-template-columns: 66px minmax(0,1fr); gap: 8px; border-top: 1px solid #eef0f3; }
#view-home .deepseek-key-facts dt { color: #697386; font-size: 12px; line-height: 20px; }
#view-home .deepseek-key-facts dd { margin: 0; overflow: hidden; color: #343a40; font-size: 13px; line-height: 20px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
#view-home .deepseek-search-block > footer { display: flex; margin-top: 7px; align-items: center; justify-content: space-between; gap: 10px; }
#view-home .deepseek-search-block > footer span { overflow: hidden; color: #7a879b; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
#view-home .deepseek-search-block > footer button { flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: #1b4be5; font-size: 12px; line-height: 18px; cursor: pointer; }
#view-home .deepseek-search-block > footer button:focus-visible { border-radius: 4px; outline: 2px solid #1b4be5; outline-offset: 2px; }
#view-home .deepseek-empty-state { margin-top: 10px; padding: 11px 12px; border-radius: 10px; background: #f6f7f9; }
#view-home .deepseek-empty-state strong { display: block; color: #343a40; font-size: 12px; line-height: 18px; }
#view-home .deepseek-empty-state p { margin: 5px 0 8px; color: #697386; font-size: 12px; line-height: 19px; }
#view-home .deepseek-empty-state div { display: flex; flex-wrap: wrap; gap: 6px; }
#view-home .deepseek-empty-state div span { padding: 3px 8px; border: 1px solid #dfe4ec; border-radius: 999px; background: #fff; color: #697386; font-size: 12px; line-height: 18px; }
#view-home .deepseek-empty-state > button { margin-top: 9px; padding: 0; border: 0; background: transparent; color: #1b4be5; font-size: 12px; line-height: 18px; cursor: pointer; }
#view-home .deepseek-empty-state > button:focus-visible { border-radius: 4px; outline: 2px solid #1b4be5; outline-offset: 2px; }
#view-home .geo-summary-anchor { flex: 0 0 auto; margin-top: auto; padding-top: 16px; }
#view-home .geo-summary-card { margin-top: 0; padding: 14px 14px 13px; border: 1px solid #9eb8ff; border-radius: 10px; background: #f8faff; }
#view-home .geo-summary-card > header span { max-width: 172px; overflow: hidden; padding: 2px 8px; border: 1px solid #bed0ff; border-radius: 6px; color: #1b4be5; font-size: 12px; line-height: 18px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
#view-home .geo-summary-card > p { display: -webkit-box; margin: 10px 0 11px; overflow: hidden; color: #46556c; font-size: 13px; line-height: 22px; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; }
#view-home .geo-summary-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #697386; font-size: 12px; line-height: 18px; }
#view-home .geo-summary-card > footer b { color: #52657d; font-size: 12px; font-weight: 600; }
#view-home .geo-summary-card.is-empty { border-color: #d9e0ec; background: #fafbfc; }
#view-home .geo-summary-card.is-empty > header span { border-color: #d9e0ec; color: #697386; }

.detail-modal { width: min(1160px, calc(100vw - 48px)) !important; }
.detail-modal-card { box-sizing: border-box; height: min(820px, calc(100vh - 40px)) !important; max-height: min(820px, calc(100vh - 40px)) !important; padding: 22px 26px 16px !important; }
.detail-modal .modal-head { min-height: 48px; align-items: flex-start; }
.detail-modal .modal-head > div { display: block; min-width: 0; }
.detail-modal .modal-head h2 { max-width: 780px; font-size: 20px !important; line-height: 28px !important; }
.detail-modal .modal-head p { margin-top: 3px !important; font-size: 12px !important; line-height: 18px !important; }
.detail-modal .modal-head .icon-button { flex: 0 0 40px; width: 40px; height: 40px; }
.detail-modal-card > #modalCustomerBody { margin-top: 8px; padding: 0 4px 2px 0 !important; overflow-x: hidden !important; overflow-y: auto !important; -ms-overflow-style: none; scrollbar-gutter: auto; scrollbar-width: none; }
.detail-modal-card > #modalCustomerBody::-webkit-scrollbar { display: none; width: 0; height: 0; }
.deepseek-detail-status { display: flex; min-height: 40px; align-items: center; justify-content: space-between; gap: 16px; }
.deepseek-detail-status > div { display: flex; min-width: 0; align-items: center; gap: 12px; }
.deepseek-detail-status > div > span { display: inline-flex; align-items: center; gap: 7px; color: #18865b; font-size: 13px; line-height: 20px; font-weight: 650; white-space: nowrap; }
.deepseek-detail-status > div > span.is-not_found,
.deepseek-detail-status > div > span.is-failed,
.deepseek-detail-status > div > span.is-searching { color: #b96800; }
.deepseek-detail-status svg { width: 16px; height: 16px; }
.deepseek-detail-status small { overflow: hidden; color: #7a879b; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
.deepseek-detail-status .secondary-button { display: inline-flex; min-width: 92px; height: 38px; padding-inline: 16px; flex: 0 0 auto; align-items: center; justify-content: center; font-size: 13px; line-height: 20px; white-space: nowrap; }
.deepseek-detail-layout { display: grid; min-height: 0; margin-top: 12px; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .95fr); grid-template-rows: 412px 116px; column-gap: 18px; row-gap: 12px; flex: 0 0 auto; }
.deepseek-detail-main { display: grid; min-width: 0; height: 412px; grid-template-rows: 172px 228px; align-content: start; gap: 12px; overflow: hidden; }
.deepseek-detail-main > section,
.deepseek-detail-sidebar > section { border: 1px solid #dfe4ec; border-radius: 12px; background: #fff; }
.deepseek-detail-main h3,
.deepseek-detail-sidebar h3,
.deepseek-visibility-wide h3 { margin: 0; color: #17191c; font-size: 15px; line-height: 22px; font-weight: 650; }
.deepseek-overview-card { height: 172px; padding: 15px 17px; overflow: hidden; border-color: #cbd9ff !important; background: #f8faff !important; }
.deepseek-overview-card p { display: -webkit-box; margin: 7px 0 0; overflow: hidden; color: #46556c; font-size: 13px; line-height: 21px; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; }
.deepseek-business-section { padding: 13px 17px 10px; }
.deepseek-business-section dl { margin: 8px 0 0; }
.deepseek-business-section dl > div { display: grid; padding: 7px 0; grid-template-columns: 102px minmax(0,1fr); gap: 12px; border-top: 1px solid #eef0f3; }
.deepseek-business-section dt { color: #343a40; font-size: 13px; line-height: 21px; font-weight: 600; }
.deepseek-business-section dd { margin: 0; color: #52657d; font-size: 13px; line-height: 21px; }
.deepseek-signal-section { height: 228px; padding: 13px 17px 14px; overflow: hidden; }
.deepseek-signal-section > ol { display: grid; margin: 9px 0 0; padding: 0; gap: 4px; list-style: none; }
.deepseek-signal-section li { display: grid; min-width: 0; min-height: 40px; padding: 7px 10px; grid-template-columns: 24px minmax(0,1fr); align-items: start; gap: 9px; border-radius: 8px; background: #f8faff; }
.deepseek-signal-section li > span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 7px; background: #e8efff; color: #1b4be5; font-size: 12px; line-height: 1; font-weight: 700; }
.deepseek-signal-section li:nth-child(even) > span { background: #e7f5ef; color: #18865b; }
.deepseek-signal-section li p { display: -webkit-box; margin: 0; overflow: hidden; color: #46556c; font-size: 13px; line-height: 21px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.deepseek-visibility-section { padding: 13px 17px 14px; }
.deepseek-visibility-wide { grid-column: 1 / -1; padding: 0; border: 0; border-radius: 0; background: transparent; }
.deepseek-visibility-section > div { display: grid; margin-top: 9px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.deepseek-visibility-section > div > div { display: grid; min-width: 0; padding: 11px 12px; grid-template-columns: 22px minmax(0,1fr); align-items: center; gap: 2px 8px; border: 1px solid #e5e7eb; border-radius: 9px; background: #fbfcfe; }
.deepseek-visibility-section > div > div > span { grid-row: 1 / 3; }
.deepseek-visibility-section svg { width: 15px; height: 15px; }
.deepseek-visibility-section .is-success > span { color: #18865b; }
.deepseek-visibility-section .is-warning > span { color: #b96800; }
.deepseek-visibility-section b { color: #343a40; font-size: 13px; line-height: 20px; font-weight: 600; }
.deepseek-visibility-section em { overflow: hidden; color: #52657d; font-size: 12px; line-height: 20px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.deepseek-detail-sidebar { display: grid; min-width: 0; height: 412px; align-content: stretch; gap: 12px; overflow: hidden; }
.deepseek-geo-panel { height: 412px; padding: 16px; overflow: hidden; border-color: #9eb8ff !important; background: #f8faff !important; }
.deepseek-geo-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.deepseek-geo-panel > header span { max-width: 170px; overflow: hidden; padding: 2px 8px; border: 1px solid #bed0ff; border-radius: 6px; color: #1b4be5; font-size: 12px; line-height: 18px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.deepseek-geo-panel > p { margin: 12px 2px 13px; color: #46556c; font-size: 13px; line-height: 21px; }
.deepseek-geo-panel h4 { margin: 0; padding-top: 11px; border-top: 1px solid #d9e3ff; color: #343a40; font-size: 13px; line-height: 20px; }
.deepseek-geo-panel ol { display: grid; margin: 8px 0 0; padding: 0; gap: 7px; list-style: none; }
.deepseek-geo-panel li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 8px; align-items: start; }
.deepseek-geo-panel li > span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; background: #4f73e8; color: #fff; font-size: 12px; line-height: 1; font-weight: 650; }
.deepseek-geo-panel li p { margin: 0; color: #52657d; font-size: 13px; line-height: 21px; }
.deepseek-geo-panel li.is-empty { display: block; }
.deepseek-detail-empty { grid-column: 1/-1; padding: 13px; border-radius: 10px; background: #f6f7f9; }
.deepseek-detail-empty strong { color: #343a40; font-size: 12px; }
.deepseek-detail-empty p { margin: 4px 0 0; color: #697386; font-size: 11px; line-height: 18px; }
.detail-modal .detail-action-bar { min-height: 52px; margin-top: 11px !important; padding-top: 11px !important; flex: 0 0 auto; }
.detail-modal .detail-action-bar button { min-height: 40px; font-size: 13px; line-height: 20px; white-space: nowrap; }
.deepseek-footer-summary { display: flex; min-width: 0; align-items: center; gap: 9px; }
.deepseek-footer-summary strong { overflow: hidden; color: #52657d; font-size: 12px; line-height: 18px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.deepseek-footer-summary span { flex: 0 0 auto; color: #7a879b; font-size: 12px; line-height: 18px; }

@media (max-height: 760px) and (min-width: 801px) {
  .detail-modal-card { padding-top: 16px !important; padding-bottom: 12px !important; }
  .deepseek-detail-status { min-height: 32px; }
  .deepseek-detail-layout { margin-top: 8px; grid-template-rows: 340px 104px; gap: 12px; }
  .deepseek-detail-main,
  .deepseek-detail-sidebar { height: 340px; gap: 8px; }
  .deepseek-detail-main { height: 340px; grid-template-rows: 132px 200px; }
  .deepseek-overview-card { height: 132px; }
  .deepseek-overview-card p { -webkit-line-clamp: 3; line-clamp: 3; }
  .deepseek-signal-section { height: 200px; }
  .deepseek-signal-section li { min-height: 34px; padding-top: 4px; padding-bottom: 4px; }
  .deepseek-geo-panel { height: 340px; }
  .deepseek-overview-card,
  .deepseek-business-section,
  .deepseek-signal-section,
  .deepseek-visibility-section,
  .deepseek-geo-panel { padding-top: 10px; padding-bottom: 9px; }
}

@media (max-width: 900px) {
  .detail-modal-card > #modalCustomerBody { overflow-y: auto !important; }
  .deepseek-detail-layout { grid-template-columns: 1fr; grid-template-rows: auto; }
  .deepseek-detail-main,
  .deepseek-detail-sidebar { height: auto; grid-template-rows: auto; overflow: visible; }
  .deepseek-overview-card,
  .deepseek-signal-section,
  .deepseek-geo-panel { height: auto; }
  .deepseek-visibility-section > div { grid-template-columns: 1fr; }
  .deepseek-detail-status > div { display: block; }
  .deepseek-detail-status small { display: block; margin-top: 2px; }
}
.followup-detail-card { width: 100%; max-height: min(820px, calc(100vh - 30px)); overflow: hidden; }
.followup-detail-route { display: block; margin-bottom: 5px; color: var(--ui-brand); font-size: 11px; line-height: 17px; font-weight: 700; }
.followup-detail-card #followupDetailTitle { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.followup-detail-card .modal-head p { margin-top: 5px; }
#followupDetailBody { overflow-y: auto; padding: 2px 24px 20px; }
.followup-detail-overview { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--ui-border); }
.followup-detail-overview > div { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 12px 14px; border: 1px solid #e5e9f1; border-radius: 9px; background: #fbfcfe; }
.followup-detail-overview span, .followup-detail-overview small { color: var(--ui-text-muted); font-size: 11px; line-height: 17px; }
.followup-detail-overview strong { overflow: hidden; color: var(--ui-text); font-size: 15px; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.followup-detail-overview strong.is-warning { color: #ad6800; }
.followup-detail-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.followup-detail-section-head h3 { margin: 0; color: var(--ui-text); font-size: 15px; line-height: 22px; }
.followup-detail-section-head p { margin: 4px 0 0; color: var(--ui-text-muted); font-size: 11px; line-height: 17px; }
.followup-intent-detail { padding: 18px 0; border-bottom: 1px solid var(--ui-border); }
.followup-intent-weight { flex: 0 0 auto; padding: 4px 8px; border-radius: 5px; background: #eef3ff; color: var(--ui-brand); font-size: 11px; line-height: 17px; }
.followup-intent-dimensions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 22px; }
.followup-intent-dimensions > div { display: grid; grid-template-columns: 72px 38px minmax(0,1fr); align-items: center; gap: 8px; }
.followup-intent-dimensions span { color: #5c6677; font-size: 11px; }
.followup-intent-dimensions strong { color: var(--ui-text); font-size: 12px; text-align: right; }
.followup-intent-dimensions i { display: block; height: 5px; overflow: hidden; border-radius: 99px; background: #e8edf5; }
.followup-intent-dimensions i b { display: block; height: 100%; border-radius: inherit; background: var(--ui-brand); }
.followup-blockers { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; }
.followup-blockers span { color: var(--ui-text-muted); font-size: 11px; }
.followup-blockers em { padding: 3px 8px; border-radius: 5px; background: #fff6e5; color: #a66a00; font-size: 11px; font-style: normal; line-height: 17px; }
.followup-detail-timeline { padding: 18px 0 0; }
.followup-detail-node-list { position: relative; display: grid; gap: 0; }
.followup-detail-node-list::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 7px; width: 1px; background: #dfe5ef; }
.followup-detail-node { position: relative; display: grid; grid-template-columns: 16px minmax(0,1fr); gap: 12px; padding-bottom: 15px; }
.followup-detail-node > i { position: relative; z-index: 1; width: 15px; height: 15px; border: 2px solid var(--node-line); border-radius: 50%; background: #fff; box-sizing: border-box; }
.followup-detail-node.is-done > i { border-color: var(--node-color); background: var(--node-color); box-shadow: inset 0 0 0 3px #fff; }
.followup-detail-node.is-current > i { border-color: var(--node-color); background: var(--node-soft); box-shadow: 0 0 0 4px var(--node-soft); }
.followup-detail-node strong, .followup-detail-node span, .followup-detail-node small { display: block; }
.followup-detail-node strong { color: var(--ui-text); font-size: 13px; line-height: 20px; }
.followup-detail-node.is-current strong { color: var(--node-color); }
.followup-detail-node span { margin-top: 2px; color: var(--ui-text); font-size: 12px; line-height: 19px; }
.followup-detail-node small { margin-top: 2px; color: var(--ui-text-muted); font-size: 11px; line-height: 18px; }
@media (max-width: 1100px) { .followup-toolbar { align-items: flex-start; flex-direction: column; } .followup-filter-actions { width: 100%; margin-left: 0; flex-wrap: wrap; } }
@media (max-width: 900px) { .followup-summary { grid-template-columns: repeat(2, minmax(0,1fr)); } .followup-table { min-width: 1160px; } .followup-table.is-operator { min-width: 1280px; } }
@media (max-width: 640px) { .followup-summary { grid-template-columns: 1fr; } .followup-detail-overview, .followup-intent-dimensions { grid-template-columns: 1fr; } #followupDetailBody { padding-left: 16px; padding-right: 16px; } .followup-detail-card .modal-foot { flex-wrap: wrap; } }
.deepseek-detail-error{margin:0 0 14px;padding:12px 14px;border:1px solid #fecaca;border-radius:10px;background:#fff7f7;color:#991b1b}.deepseek-detail-error strong{display:block;font-size:14px}.deepseek-detail-error p{margin:5px 0 0;font-size:13px;line-height:1.55;color:#7f1d1d}.deepseek-detail-error.is-warning{border-color:#fde68a;background:#fffbeb;color:#92400e}.deepseek-detail-error.is-warning p{color:#78350f}

/* Record customer feedback · local redesign v3 */
.feedback-modal {
  width: min(1460px, calc(100vw - 48px));
  border-radius: 22px;
}
.feedback-modal .feedback-card {
  height: min(860px, calc(100vh - 40px));
  border-radius: 22px;
  font-size: 14px;
}
.feedback-modal :where(button,input,textarea,select,p,span,small,time,a,li) {
  font-size: 13px;
  line-height: 20px;
}
.feedback-head {
  min-height: 88px;
  align-items: center;
  padding: 18px 28px;
}
.feedback-head h2 {
  margin: 0;
  color: #17191c;
  font-size: 22px;
  line-height: 30px;
  font-weight: 680;
  letter-spacing: -.02em;
}
.feedback-head p {
  margin-top: 5px;
  color: #697386;
  font-size: 13px;
  line-height: 20px;
}
.feedback-head .icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid #d3d7de;
  border-radius: 11px;
}
.feedback-head .icon-button svg { width: 18px; height: 18px; }
.feedback-service-status {
  min-height: 36px;
  padding: 0 13px;
  border-color: #d3d7de;
  font-size: 13px;
  font-weight: 600;
}
.feedback-service-status.is-connected { border-color: #cfe4d9; background: #edf8f3; color: #176b4c; }
.feedback-service-status.is-degraded { border-color: #f1d6aa; background: #fff7e8; color: #965500; }
.feedback-service-status.is-disconnected { border-color: #ead6b5; background: #fff8ec; color: #965500; }
.feedback-flow {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 0 28px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #fbfcfd;
  color: #697386;
}
.feedback-flow span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.feedback-flow b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #d3d7de;
  border-radius: 50%;
  background: #fff;
  color: #697386;
  font-size: 13px;
}
.feedback-flow span.is-active { color: #1b4be5; font-weight: 650; }
.feedback-flow span.is-active b { border-color: #b9c8ff; background: #eef3ff; color: #1b4be5; }
.feedback-flow i { width: 38px; height: 1px; background: #d3d7de; }
.feedback-workspace {
  display: grid;
  min-height: 0;
  flex: 1 1 auto;
  grid-template-columns: 320px minmax(520px, 1.4fr) minmax(330px, .84fr);
  overflow: hidden;
  border-top: 0;
  border-bottom: 0;
}
.feedback-library {
  background: #fafbfc;
  border-right: 1px solid #e5e7eb;
}
.feedback-library-head { padding: 20px 18px 13px; }
.feedback-library-head h3 { margin-bottom: 3px; font-size: 16px; line-height: 23px; }
.feedback-library-head h3 span {
  display: inline-flex;
  min-width: 26px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eceff2;
  color: #596271;
  font-size: 13px;
}
.feedback-library-head small,.feedback-manage { font-size: 13px; line-height: 20px; }
.feedback-search { height: 40px; margin: 0 18px 12px; }
.feedback-search input { color: #343a40; font-size: 13px; }
.feedback-search input::placeholder { color: #697386; opacity: 1; }
.feedback-tabs { gap: 5px; padding: 0 18px 13px; }
.feedback-tabs button { height: 34px; font-size: 13px; }
.feedback-history { padding: 0 11px 18px; }
.feedback-history-item {
  grid-template-columns: 46px minmax(0,1fr) auto;
  gap: 11px;
  min-height: 70px;
  padding: 11px 10px;
  border-bottom-color: #e5e7eb;
  border-radius: 11px;
}
.feedback-history-item:not(.is-managing) { grid-template-columns: 46px minmax(0,1fr) auto; }
.feedback-history-item.is-managing { grid-template-columns: 20px 46px minmax(0,1fr); }
.feedback-history-item.is-managing .feedback-file-status { grid-column: 3; justify-self: start; }
.feedback-file-thumb { width: 46px; height: 46px; border: 1px solid #e1e5eb; }
.feedback-file-copy strong { margin-bottom: 2px; font-size: 14px; line-height: 21px; }
.feedback-file-copy small,.feedback-file-status { font-size: 13px; line-height: 20px; }
.feedback-file-status { align-self: end; justify-self: end; }
.feedback-history-empty { padding: 24px 12px; color: #697386; font-size: 13px; line-height: 21px; }
.feedback-privacy {
  margin: auto 0 0;
  padding: 13px 18px 16px;
  border-top: 1px solid #e5e7eb;
  color: #697386;
  font-size: 13px;
  line-height: 20px;
}
.feedback-compose {
  display: block;
  min-width: 0;
  overflow: auto;
  padding: 22px 24px 26px;
}
.feedback-section-head { display: flex; align-items: flex-start; justify-content: space-between; }
.feedback-section-head h3 { margin: 0 0 4px; font-size: 17px; line-height: 24px; }
.feedback-section-head p { font-size: 13px; line-height: 20px; }
.feedback-draft-state {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #f0f2f5;
  color: #697386;
  font-size: 13px;
  white-space: nowrap;
}
.feedback-compose-meta {
  display: grid;
  grid-template-columns: minmax(0,1fr) 205px;
  gap: 14px;
  margin-top: 18px;
}
.feedback-channel { min-width: 0; margin: 0; padding: 0; border: 0; }
.feedback-channel legend,.feedback-time > span,.feedback-note > span {
  display: block;
  margin-bottom: 8px;
  color: #343a40;
  font-size: 14px;
  line-height: 21px;
  font-weight: 650;
}
.feedback-channel > div {
  display: grid;
  height: 42px;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 5px;
  padding: 4px;
  border-radius: 10px;
  background: #f0f2f5;
}
.feedback-channel button { border: 0; border-radius: 8px; background: transparent; color: #697386; font-size: 13px; }
.feedback-channel button.is-active {
  border: 1px solid #dfe3e9;
  background: #fff;
  color: #17191c;
  font-weight: 650;
  box-shadow: 0 2px 6px rgba(16,24,40,.06);
}
.feedback-time { display: block; }
.feedback-time input { height: 42px; font-size: 14px; }
.feedback-note { display: block; margin-top: 15px; }
.feedback-note textarea {
  display: block;
  width: 100%;
  min-height: 126px;
  font-size: 14px;
  line-height: 22px;
}
.feedback-note textarea::placeholder { color: #697386; opacity: 1; }
.feedback-quick-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.feedback-quick-tags button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #dfe3e9;
  border-radius: 999px;
  background: #fff;
  color: #596271;
  font-size: 13px;
}
.feedback-quick-tags button:hover,.feedback-quick-tags button.is-selected { border-color: #bdcbfb; background: #eef3ff; color: #1b4be5; }
.feedback-evidence-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
}
.feedback-evidence-head strong { font-size: 14px; line-height: 21px; }
.feedback-evidence-head span { color: #697386; font-size: 13px; line-height: 20px; text-align: right; }
.feedback-dropzone {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  padding: 16px;
  border-color: #aebee8;
  border-radius: 12px;
  background: #fafcff;
  text-align: left;
}
.feedback-upload-icon { position: relative; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; }
.feedback-upload-icon:empty::before {
  content: "";
  width: 16px;
  height: 16px;
  border: solid #1b4be5;
  border-width: 0 2px 2px 0;
  transform: rotate(225deg) translate(-2px,-2px);
}
.feedback-upload-icon:empty::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 8px;
  margin-top: 9px;
  border: solid #1b4be5;
  border-width: 0 0 2px 0;
}
.feedback-dropzone > span:last-child { display: block; }
.feedback-dropzone strong { display: block; font-size: 14px; line-height: 21px; }
.feedback-dropzone small { display: block; margin-top: 3px; color: #697386; font-size: 13px; line-height: 20px; }
.feedback-queue { margin-top: 10px; }
.feedback-queue-item { min-height: 58px; padding: 10px 12px; }
.feedback-queue-item strong,.feedback-queue-item small { font-size: 13px; line-height: 20px; }
.feedback-compose.is-reviewing { overflow: hidden; padding: 18px 20px 22px; }
.feedback-compose.is-reviewing > .feedback-section-head,
.feedback-compose.is-reviewing > .feedback-compose-meta,
.feedback-compose.is-reviewing > .feedback-note,
.feedback-compose.is-reviewing > .feedback-quick-tags,
.feedback-compose.is-reviewing > .feedback-evidence-head,
.feedback-compose.is-reviewing > .feedback-dropzone { display: none; }
.feedback-detail-head strong,.feedback-transcript-head strong { font-size: 14px; line-height: 21px; }
.feedback-detail-head small,.feedback-detail-state,.feedback-transcript-head span,.feedback-audio-time,
.feedback-recognition-retry,.feedback-image-status,.feedback-ocr summary span small { font-size: 13px; line-height: 20px; }
.feedback-transcript p { font-size: 13px; line-height: 21px; }
.feedback-recognition-state { padding: 16px 0 0; border-top: 1px solid #e5e7eb; }
.feedback-recognition-state strong { display: block; font-size: 15px; line-height: 22px; }
.feedback-recognition-state p { margin: 5px 0 0; color: #566174; font-size: 14px; line-height: 22px; }
.feedback-insight {
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  flex-direction: column;
  border-left: 1px solid #e5e7eb;
  background: #fbfcfe;
}
.feedback-insight-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 18px 15px;
  border-bottom: 1px solid #e5e7eb;
}
.feedback-insight-head h3 { margin: 0 0 4px; font-size: 17px; line-height: 24px; }
.feedback-insight-head p { margin: 0; color: #697386; font-size: 13px; line-height: 20px; }
.feedback-ai-badge { min-height: 28px; padding: 0 9px; font-size: 13px; }
.feedback-insight-body { min-height: 0; flex: 1 1 auto; overflow: auto; padding: 17px 18px; }
.feedback-insight-empty { padding: 4px 0; }
.feedback-conclusion-mark { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 16px; border-radius: 13px; background: #eef3ff; color: #1b4be5; }
.feedback-conclusion-mark svg { width: 22px; height: 22px; }
.feedback-insight-empty strong { display: block; font-size: 15px; line-height: 22px; }
.feedback-insight-empty p { margin: 8px 0 14px; color: #566174; font-size: 13px; line-height: 21px; }
.feedback-insight-empty ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: #697386; }
.feedback-insight-empty li { font-size: 13px; line-height: 20px; }
.feedback-insight-progress { display: grid; align-content: start; }
.feedback-insight-progress-mark { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 13px; border-radius: 12px; background: #eef3ff; color: #1b4be5; }
.feedback-insight-progress-mark svg { width: 21px; height: 21px; }
.feedback-insight-progress > strong { font-size: 15px; line-height: 22px; }
.feedback-insight-progress > p { margin: 7px 0 14px; color: #566174; font-size: 13px; line-height: 21px; }
.feedback-insight-progress > div { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #e5e7eb; }
.feedback-insight-progress > div span,.feedback-insight-progress > div b { font-size: 13px; line-height: 20px; }
.feedback-insight-progress > div b { color: #697386; font-weight: 600; }
.feedback-insight-score { padding-bottom: 16px; border-bottom: 1px solid #e5e7eb; }
.feedback-insight-score > div:first-child { display: flex; align-items: flex-end; justify-content: space-between; }
.feedback-insight-score span { color: #566174; font-size: 13px; }
.feedback-insight-score strong { color: #1b4be5; font-size: 32px; line-height: 36px; }
.feedback-insight-score strong small { font-size: 13px; font-weight: 500; }
.feedback-insight-score-track { height: 6px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: #e5e9f0; }
.feedback-insight-score-track i { display: block; height: 100%; border-radius: inherit; background: #1b4be5; }
.feedback-insight-block { padding: 15px 0; border-bottom: 1px solid #e5e7eb; }
.feedback-insight-block h4 { margin: 0 0 8px; font-size: 14px; line-height: 21px; }
.feedback-insight-block > strong { display: block; margin-bottom: 5px; font-size: 15px; line-height: 22px; }
.feedback-insight-block p { margin: 0; color: #566174; font-size: 13px; line-height: 21px; }
.feedback-insight-block blockquote { margin: 0; padding: 11px 12px; border-radius: 10px; background: #f0f2f5; color: #4c5665; font-size: 13px; line-height: 21px; }
.feedback-insight-block button { margin-top: 8px; padding: 0; border: 0; background: transparent; color: #1b4be5; font-size: 13px; line-height: 20px; text-align: left; }
.feedback-insight-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.feedback-insight-tags span { padding: 4px 8px; border-radius: 7px; background: #f0f2f5; color: #566174; font-size: 13px; line-height: 20px; }
.feedback-insight-next { margin-top: 15px; padding: 13px; border: 1px solid #c7d3fb; border-radius: 12px; background: #f4f7ff; }
.feedback-insight-next > span { color: #1b4be5; font-size: 13px; font-weight: 650; }
.feedback-insight-next strong { display: block; margin-top: 5px; color: #26324c; font-size: 14px; line-height: 21px; }
.feedback-insight-next p { margin: 5px 0 0; color: #566174; font-size: 13px; line-height: 20px; }
.feedback-insight-source-count { margin: 13px 0 0; color: #697386; font-size: 13px; line-height: 20px; }
.feedback-conclusion { padding: 6px 0 24px; }
.feedback-conclusion h4 { margin: 0 0 14px; color: #17191c; font-size: 18px; line-height: 26px; }
.feedback-conclusion-main { margin: 0; color: #20242b; font-size: 16px; line-height: 27px; font-weight: 600; }
.feedback-conclusion-inference { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid #e5e7eb; color: #3f4855; font-size: 15px; line-height: 25px; }
.feedback-conclusion-inference b { color: #1b4be5; }
.feedback-conclusion > small { display: block; margin-top: 18px; color: #697386; font-size: 13px; line-height: 21px; }
.feedback-insight-service {
  display: none;
  grid-template-columns: 9px minmax(0,1fr);
  gap: 9px;
  align-items: start;
  padding: 14px 18px 16px;
  border-top: 1px solid #e5e7eb;
}
.feedback-insight-service > span { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: #aab2bf; }
.feedback-insight-service p { margin: 0; color: #697386; font-size: 13px; line-height: 20px; }
.feedback-insight-service.is-connected > span { background: #18865b; }
.feedback-insight-service.is-degraded > span,.feedback-insight-service.is-disconnected > span { background: #b96800; }
.feedback-foot {
  min-height: 72px;
  padding: 14px 24px;
}
.feedback-foot > span { color: #697386; font-size: 13px; line-height: 20px; }
.feedback-foot button { min-height: 40px; font-size: 14px; }
.feedback-modal :where(button,input,textarea,select):focus-visible { outline: 2px solid #1b4be5; outline-offset: 2px; }

@media (max-width: 1240px) {
  .feedback-modal { width: calc(100vw - 24px); }
  .feedback-workspace { grid-template-columns: 280px minmax(460px,1fr) 320px; }
  .feedback-compose { padding-inline: 20px; }
  .feedback-evidence-head span { display: none; }
}
@media (max-width: 1080px) {
  .feedback-modal .feedback-card { height: 100vh; max-height: none; border-radius: 0; }
  .feedback-modal { width: 100vw; max-width: none; margin: 0; border-radius: 0; }
  .feedback-workspace { overflow: auto; grid-template-columns: 270px minmax(500px,1fr); grid-template-areas: "library compose" "library insight"; }
  .feedback-library { grid-area: library; position: sticky; top: 0; height: 100%; }
  .feedback-compose { grid-area: compose; overflow: visible; }
  .feedback-insight { grid-area: insight; min-height: 520px; border-top: 1px solid #e5e7eb; border-left: 0; }
}
@media (max-width: 760px) {
  .feedback-head { min-height: 78px; padding: 15px 16px; }
  .feedback-head h2 { font-size: 20px; line-height: 28px; }
  .feedback-flow { padding: 0 16px; overflow-x: auto; }
  .feedback-workspace { display: block; overflow: auto; }
  .feedback-library { position: static; min-height: 300px; height: auto; }
  .feedback-compose,.feedback-insight { padding-inline: 16px; }
  .feedback-compose-meta { grid-template-columns: 1fr; }
  .feedback-insight { min-height: 480px; }
  .feedback-foot { align-items: stretch; flex-direction: column; }
  .feedback-foot > div { width: 100%; }
  .feedback-foot button { flex: 1; }
}

/* Author display:flex must not override route visibility. */
.main-nav .nav-item[hidden]{display:none!important}


/* overrides.css */
.route-switch button:disabled,
.route-switch button.is-locked {
  cursor: not-allowed;
  opacity: .42;
  box-shadow: none;
}

/* Customer analytics scoreboard v2 — approved local design. */
.detail-modal.is-analytics {
  width: min(1120px,calc(100vw - 44px)) !important;
  font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
}
.detail-modal.is-analytics .detail-modal-card {
  height: min(724px,calc(100vh - 48px)) !important;
  min-height: 0 !important;
  max-height: calc(100vh - 48px) !important;
  padding: 18px 24px 12px !important;
  overflow: hidden !important;
}
.detail-modal.is-analytics .modal-head {
  min-height: 50px !important;
  margin: 0 0 12px !important;
}
.detail-modal.is-analytics .modal-head h2 {
  max-width: 900px;
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 650;
}
.detail-modal.is-analytics .modal-head p {
  margin-top: 3px !important;
  color: #697386;
  font-size: 13px !important;
  line-height: 20px !important;
}
.detail-modal.is-analytics .detail-modal-card > #modalCustomerBody {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  flex: 1 1 auto !important;
}
.analytics-scoreboard {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  gap: 10px;
  flex-direction: column;
}
.analytics-scoreboard-grid {
  display: grid;
  min-height: 0;
  gap: 22px;
  grid-template-columns: 334px minmax(0,1fr);
  flex: 1 1 auto;
}
.analytics-score-column {
  display: flex;
  min-width: 0;
  min-height: 0;
  gap: 14px;
  flex-direction: column;
}
.analytics-score-panel,
.analytics-score-funnel,
.analytics-insight-panel {
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}
.analytics-score-panel {
  padding: 20px;
  background: #f5f6f7;
}
.analytics-score-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.analytics-score-panel > header span {
  color: #697386;
  font-size: 14px;
  line-height: 20px;
}
.analytics-score-panel > header b {
  padding: 5px 8px;
  border-radius: 999px;
  background: #e6f4ee;
  color: #18865b;
  font-size: 12px;
  line-height: 18px;
  font-weight: 650;
}
.analytics-score-value {
  display: flex;
  margin-top: 14px;
  align-items: end;
}
.analytics-score-value strong {
  color: #17191c;
  font-size: 62px;
  line-height: .9;
  letter-spacing: -.04em;
}
.analytics-score-value span {
  margin: 0 0 5px 7px;
  color: #697386;
  font-size: 13px;
}
.analytics-score-track {
  position: relative;
  display: grid;
  height: 7px;
  margin-top: 20px;
  border-radius: 999px;
  grid-template-columns: 40fr 30fr 30fr;
}
.analytics-score-track i {
  display: block;
  height: 7px;
}
.analytics-score-track i:first-child {
  border-radius: 999px 0 0 999px;
  background: #c7cbd2;
}
.analytics-score-track i:nth-child(2) {
  background: #d6a951;
}
.analytics-score-track i:nth-child(3) {
  border-radius: 0 999px 999px 0;
  background: #5baf8f;
}
.analytics-score-track > b {
  position: absolute;
  top: 50%;
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: #17191c;
  transform: translate(-50%,-50%);
}
.analytics-score-scale {
  display: flex;
  margin-top: 7px;
  color: #8a94a3;
  font-size: 12px;
  line-height: 18px;
  justify-content: space-between;
}
.analytics-score-panel dl {
  display: grid;
  margin: 18px 0 0;
  border-top: 1px solid #dde1e7;
}
.analytics-score-panel dl > div {
  display: grid;
  padding: 11px 0;
  border-bottom: 1px solid #dde1e7;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.analytics-score-panel dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.analytics-score-panel dt {
  color: #697386;
  font-size: 13px;
  line-height: 20px;
}
.analytics-score-panel dd {
  margin: 0;
  color: #17191c;
  font-size: 14px;
  line-height: 20px;
  font-weight: 650;
}
.analytics-score-funnel {
  padding: 16px 17px;
}
.analytics-score-funnel h3,
.analytics-insight-panel h3 {
  margin: 0;
  color: #17191c;
  font-size: 15px;
  line-height: 22px;
}
.analytics-score-funnel > div {
  display: grid;
  margin-top: 16px;
  gap: 13px 8px;
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.analytics-score-funnel article {
  display: grid;
  min-width: 0;
  gap: 7px;
  grid-template-columns: 22px minmax(0,1fr);
  align-items: center;
}
.analytics-score-funnel article > i {
  position: relative;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #d3d7de;
  border-radius: 50%;
  color: #8a94a3;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.analytics-score-funnel article.is-reached > i {
  border-color: #18865b;
  background: #18865b;
}
.analytics-score-funnel article.is-reached > i::after {
  width: 7px;
  height: 4px;
  border-bottom: 1.5px solid #fff;
  border-left: 1.5px solid #fff;
  content: "";
  transform: translateY(-1px) rotate(-45deg);
}
.analytics-score-funnel article p {
  min-width: 0;
  margin: 0;
}
.analytics-score-funnel article strong,
.analytics-score-funnel article span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.analytics-score-funnel article strong {
  color: #303741;
  font-size: 13px;
  line-height: 19px;
}
.analytics-score-funnel article span {
  margin-top: 2px;
  color: #8a94a3;
  font-size: 12px;
  line-height: 18px;
}
.analytics-insight-panel {
  display: flex;
  min-height: 0;
  overflow: hidden;
  flex-direction: column;
}
.analytics-insight-panel > header {
  display: flex;
  min-height: 53px;
  padding: 0 18px;
  border-bottom: 1px solid #e5e7eb;
  align-items: center;
}
.analytics-ai-mark {
  display: grid;
  width: 24px;
  height: 24px;
  margin-right: 9px;
  place-items: center;
  border-radius: 8px;
  background: #eef3ff;
  color: #1b4be5;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}
.analytics-insight-panel > header > b {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff3d9;
  color: #8b5a00;
  font-size: 12px;
  line-height: 18px;
  font-weight: 650;
}
.analytics-insight-scroll {
  min-height: 0;
  padding: 16px 18px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  flex: 1 1 auto;
}
.analytics-conclusion {
  padding: 16px 18px;
  border-radius: 12px;
  background: #eef3ff;
}
.analytics-conclusion p {
  margin: 0;
  color: #27364d;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.72;
  overflow-wrap: anywhere;
}
.analytics-interpretation-grid {
  display: grid;
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}
.analytics-interpretation-grid section + section {
  padding-left: 24px;
  border-left: 1px solid #e5e7eb;
}
.analytics-interpretation-grid h4 {
  margin: 0;
  color: #17191c;
  font-size: 14px;
  line-height: 21px;
  font-weight: 650;
}
.analytics-interpretation-grid section:last-child h4 {
  color: #a86500;
}
.analytics-interpretation-grid ul {
  margin: 11px 0 0;
  padding-left: 17px;
  color: #4f5968;
  font-size: 13px;
  line-height: 1.75;
}
.analytics-interpretation-grid li + li {
  margin-top: 7px;
}
.analytics-stage-summary {
  display: grid;
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 12px;
  background: #f5f6f7;
  grid-template-columns: 126px minmax(0,1fr);
  align-items: center;
}
.analytics-stage-summary > span {
  color: #697386;
  font-size: 12px;
}
.analytics-stage-summary strong {
  color: #17191c;
  font-size: 15px;
  line-height: 21px;
}
.analytics-stage-summary p {
  margin: 4px 0 0;
  color: #697386;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.analytics-data-note {
  margin: 0;
  color: #8a94a3;
  font-size: 12px;
  line-height: 18px;
}
.detail-modal.is-analytics .detail-action-bar {
  min-height: 52px !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
  background: #fff;
}
.detail-modal.is-analytics .detail-action-bar #detailPrimaryAction {
  min-width: 104px;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid var(--ui-brand,#3e5abd) !important;
  border-radius: 8px;
  background: var(--ui-brand,#3e5abd) !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgb(62 90 189 / 16%) !important;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.detail-modal.is-analytics .detail-action-bar #detailPrimaryAction:hover {
  border-color: var(--ui-brand-hover,#334ca9) !important;
  background: var(--ui-brand-hover,#334ca9) !important;
}
@media (max-width:760px) {
  .detail-modal.is-analytics {
    width: 100vw !important;
    height: 100dvh;
    margin: 0;
    border-radius: 0 !important;
  }
  .detail-modal.is-analytics .detail-modal-card {
    width: 100%;
    height: 100dvh !important;
    max-height: none !important;
    padding: 14px 13px 10px !important;
  }
  .detail-modal.is-analytics .modal-head {
    min-height: 42px !important;
    margin-bottom: 8px !important;
  }
  .detail-modal.is-analytics .modal-head h2 {
    max-width: calc(100vw - 76px);
    font-size: 17px !important;
    line-height: 24px !important;
  }
  .detail-modal.is-analytics .modal-head p {
    display: none !important;
  }
  .detail-modal.is-analytics .detail-modal-card > #modalCustomerBody {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }
  .analytics-scoreboard {
    height: auto;
  }
  .analytics-scoreboard-grid {
    display: block;
  }
  .analytics-score-column {
    gap: 10px;
  }
  .analytics-score-panel {
    padding: 15px;
  }
  .analytics-score-value strong {
    font-size: 48px;
  }
  .analytics-score-panel dl {
    gap: 0;
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .analytics-score-panel dl > div {
    display: block;
    padding: 10px 8px 0;
    border-right: 1px solid #dde1e7;
    border-bottom: 0;
    text-align: center;
  }
  .analytics-score-panel dl > div:first-child {
    padding-left: 0;
  }
  .analytics-score-panel dl > div:last-child {
    padding-right: 0;
    border-right: 0;
  }
  .analytics-score-panel dd {
    margin-top: 4px;
    font-size: 13px;
  }
  .analytics-score-funnel {
    margin-bottom: 10px;
    padding: 14px;
  }
  .analytics-score-funnel > div {
    gap: 12px 7px;
  }
  .analytics-insight-panel {
    overflow: visible;
  }
  .analytics-insight-panel > header {
    min-height: 48px;
    padding: 0 14px;
  }
  .analytics-insight-scroll {
    padding: 14px;
    overflow: visible;
  }
  .analytics-conclusion {
    padding: 15px;
  }
  .analytics-conclusion p {
    font-size: 13px;
    line-height: 1.68;
  }
  .analytics-interpretation-grid {
    grid-template-columns: 1fr;
  }
  .analytics-interpretation-grid section + section {
    padding: 15px 0 0;
    border-top: 1px solid #e5e7eb;
    border-left: 0;
  }
  .analytics-interpretation-grid ul {
    font-size: 12px;
  }
  .analytics-stage-summary {
    gap: 7px;
    grid-template-columns: 1fr;
  }
  .analytics-data-note {
    padding: 2px 2px 8px;
    font-size: 12px;
    line-height: 18px;
  }
  .detail-modal.is-analytics .detail-action-bar {
    min-height: 46px !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
  }
}

/* Sales-facing company detail: compact, evidence-first and useful with sparse data. */
#detailModal:not(.is-analytics) { width: min(1060px, calc(100vw - 40px)); }
#detailModal:not(.is-analytics) .detail-modal-card { max-height: calc(100vh - 32px) !important; padding: 20px 24px 14px !important; }
#detailModal:not(.is-analytics) #modalCustomerBody { min-height: 0; max-height: calc(100vh - 170px); overflow-y: auto !important; padding: 0 4px 2px 0 !important; scrollbar-gutter: stable; }
#detailModal:not(.is-analytics) .detail-identity-tags { position: static; justify-content: flex-start; margin: 0 0 12px; }
#detailModal:not(.is-analytics) .detail-identity-tags span { min-height: 24px; padding: 3px 10px; font-size: 12px; font-weight: 500; }
.detail-quick-summary { padding: 15px 17px 16px; border: 1px solid #dbe5fb; border-radius: 14px; background: #f3f6fc; }
.detail-quick-summary header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.detail-quick-summary h3 { margin: 0; color: #17191c; font-size: 15px; font-weight: 600; }
.detail-quick-summary header span { color: #52657d; font-size: 12px; white-space: nowrap; }
.detail-quick-summary p { max-width: 96ch; margin: 0; color: #34445a; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.detail-overview-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); gap: 16px; margin-top: 16px; }
.detail-overview-main,.detail-sales-sidebar { display: grid; align-content: start; gap: 16px; min-width: 0; }
.detail-fact-section,.detail-overview-layout .detail-contact-card,.detail-overview-layout .detail-activity-card,.detail-overview-layout .detail-script-card { margin: 0; padding: 17px 18px; border: 1px solid #e2e7ee; border-radius: 14px; background: #fff; }
.detail-fact-section > header,.detail-overview-layout .detail-activity-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.detail-fact-section h3,.detail-overview-layout .detail-contact-card h3,.detail-overview-layout .detail-activity-card h3,.detail-overview-layout .detail-script-card h3 { margin: 0; color: #17191c; font-size: 15px; font-weight: 600; line-height: 1.4; }
.detail-fact-section header p,.detail-overview-layout .detail-activity-card header p { max-width: 46ch; margin: 0; color: #7a8493; font-size: 12px; line-height: 1.55; text-align: right; }
.detail-fact-section dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-block-start: 1px solid #edf0f4; }
.detail-fact-section dl > div { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 8px; padding: 11px 8px 11px 0; border-block-end: 1px solid #edf0f4; }
.detail-fact-section dt,.detail-overview-layout .detail-contact-card dt { color: #7a8493; font-size: 12px; }
.detail-fact-section dd,.detail-overview-layout .detail-contact-card dd { min-width: 0; margin: 0; color: #343a40; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.detail-source-state { margin-top: 12px; color: #697386; font-size: 12px; line-height: 1.6; }
.detail-overview-layout .detail-contact-card dl { display: grid; grid-template-columns: 1fr; gap: 0; margin: 10px 0 0; }
.detail-overview-layout .detail-contact-card dl > div { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 10px; padding: 9px 0; border: 0; border-block-end: 1px solid #edf0f4; }
.detail-overview-layout .detail-contact-card dl > div:last-child { border-block-end: 0; }
.detail-compact-empty { display: grid; gap: 5px; margin-top: 10px; padding: 13px 14px; border-radius: 10px; background: #f5f6f7; }
.detail-compact-empty strong { color: #343a40; font-size: 13px; font-weight: 600; }
.detail-compact-empty span { color: #697386; font-size: 12px; line-height: 1.6; }
.detail-overview-layout .detail-activity-card ul,.detail-overview-layout .detail-script-card ol { margin-top: 9px; }
.detail-overview-layout .detail-activity-card li,.detail-overview-layout .detail-script-card li { padding: 9px 0; }
.detail-overview-layout .detail-activity-card li p,.detail-overview-layout .detail-script-card li p { font-size: 13px; line-height: 1.65; }
.detail-overview-layout .detail-script-card li p b { display: block; margin: 0 0 2px; color: #17191c; }
.detail-sales-goal { display: grid; gap: 5px; margin-top: 12px; padding: 12px 13px; border-radius: 10px; background: #f5f6f7; color: #343a40; font-size: 12px; line-height: 1.6; }
.detail-sales-goal b { color: #17191c; font-size: 12px; }
#detailModal:not(.is-analytics) .detail-live-progress { margin: 12px 0 0; }
.feedback-detail-state.is-waiting { color: #b96800; }
.feedback-file-status.is-pending { max-width: 132px; text-align: right; line-height: 1.35; }

@media (max-width: 820px) {
  #detailModal:not(.is-analytics) { width: 100vw; }
  #detailModal:not(.is-analytics) .detail-modal-card { padding: 18px !important; }
  .detail-overview-layout { grid-template-columns: 1fr; }
  .detail-fact-section > header,.detail-overview-layout .detail-activity-card > header { display: block; }
  .detail-fact-section header p,.detail-overview-layout .detail-activity-card header p { margin-top: 4px; text-align: left; }
  .detail-fact-section dl { grid-template-columns: 1fr; }
}

/* OCTANS brand motion is inline so the orbital satellite cannot be flattened
   into a static external image by browser caching or image rendering policy. */
.brand-logo.animated-brand .octans-mark-image {
  overflow: visible;
}
.brand-logo.animated-brand .octans-brand-orbit {
  fill: none;
  stroke: #3e5abd;
  stroke-width: 2.7;
  stroke-linecap: round;
}
.brand-logo.animated-brand .octans-brand-satellite-static {
  display: none;
}

.brand-logo.animated-brand .octans-brand-satellite {
  display: block;
  transform-box: view-box;
  transform-origin: 0 0;
  animation: octans-brand-satellite-orbit 2s linear infinite;
  will-change: transform;
}

@keyframes octans-brand-satellite-orbit {
  0% { transform: translate(332.4px, 129.6px); }
  6.25% { transform: translate(338.9px, 166px); }
  12.5% { transform: translate(324.2px, 207.6px); }
  18.75% { transform: translate(290.6px, 248.1px); }
  25% { transform: translate(243.2px, 281.2px); }
  31.25% { transform: translate(189.2px, 302px); }
  37.5% { transform: translate(136.9px, 307.2px); }
  43.75% { transform: translate(94.2px, 296.1px); }
  50% { transform: translate(67.6px, 270.4px); }
  56.25% { transform: translate(61.1px, 234px); }
  62.5% { transform: translate(75.8px, 192.4px); }
  68.75% { transform: translate(109.4px, 151.9px); }
  75% { transform: translate(156.8px, 118.8px); }
  81.25% { transform: translate(210.8px, 98px); }
  87.5% { transform: translate(263.1px, 92.8px); }
  93.75% { transform: translate(305.8px, 103.9px); }
  100% { transform: translate(332.4px, 129.6px); }
}

@media (max-height: 760px) and (min-width: 821px) {
  #detailModal:not(.is-analytics) .detail-modal-card {
    height: calc(100vh - 20px) !important;
    min-height: 0 !important;
    padding-top: 16px !important;
    padding-bottom: 10px !important;
  }
  #detailModal:not(.is-analytics) .deepseek-detail-layout {
    grid-template-rows: 330px 88px;
    row-gap: 8px;
  }
  #detailModal:not(.is-analytics) .deepseek-detail-main {
    height: 330px;
    grid-template-rows: 132px 190px;
    gap: 8px;
  }
  #detailModal:not(.is-analytics) .deepseek-overview-card { height: 132px; }
  #detailModal:not(.is-analytics) .deepseek-overview-card p { -webkit-line-clamp: 4; }
  #detailModal:not(.is-analytics) .deepseek-signal-section { height: 190px; }
  #detailModal:not(.is-analytics) .deepseek-signal-section li { min-height: 43px; }
  #detailModal:not(.is-analytics) .deepseek-detail-sidebar,
  #detailModal:not(.is-analytics) .deepseek-geo-panel { min-height: 330px; height: auto; }
  #detailModal:not(.is-analytics) .deepseek-visibility-section > div > div { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo.animated-brand .octans-brand-satellite {
    display: none;
  }
  .brand-logo.animated-brand .octans-brand-satellite-static {
    display: block;
  }
}

/* Homepage workbench rhythm: the five-customer list and team progress share
   one card body, while the rest of the dashboard keeps its original layout. */
#view-home .home-workbench-panel {
  display: flex;
  min-height: 0;
  flex-direction: column;
}
#view-home #mineWorkbenchContent {
  min-height: 0;
}
#view-home .home-team-workbench {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  scrollbar-width: thin;
}
#view-home .home-team-workbench[hidden] {
  display: none !important;
}
#view-home .home-team-workbench .team-progress-table {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
}
#view-home .home-team-workbench .team-progress-row {
  flex: 1 1 54px;
  grid-template-columns: minmax(120px, 1.35fr) 64px 56px 48px 64px minmax(160px, 1.4fr);
  gap: 10px;
  min-height: 54px;
  padding: 8px 16px;
}
#view-home .home-team-workbench .team-progress-row.is-head {
  flex: 0 0 42px;
  min-height: 42px;
}
#view-home .home-team-workbench .team-rate {
  width: 100%;
  gap: 12px;
}
#view-home .home-team-workbench .team-rate i {
  width: auto;
  flex: 1 1 auto;
}
#view-home .home-team-workbench .team-rate small {
  min-width: 42px;
  flex: 0 0 42px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
#view-home .home-team-workbench {
  overflow: hidden;
}
#view-home .home-team-workbench .team-progress-table {
  min-height: 0;
  max-height: 546px;
  overflow-x: hidden;
  overflow-y: auto;
  flex: 0 1 auto;
  scrollbar-width: thin;
  scrollbar-color: #aeb8c7 transparent;
}
#view-home .home-team-workbench .team-progress-table::-webkit-scrollbar {
  width: 3px;
}
#view-home .home-team-workbench .team-progress-table::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
#view-home .home-team-workbench .team-progress-table::-webkit-scrollbar-track {
  margin-block: 14px;
  background: transparent;
}
#view-home .home-team-workbench .team-progress-table::-webkit-scrollbar-thumb {
  min-height: 30px;
  border-radius: 999px;
  background: #aeb8c7;
}
#view-home .home-team-workbench .team-progress-table::-webkit-scrollbar-thumb:hover {
  background: #8d98a8;
}
#view-home .home-team-workbench .team-progress-row:not(.is-head) {
  min-height: 84px;
  height: 84px;
  flex: 0 0 84px;
  color: #17191c;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
#view-home .home-team-workbench .team-progress-row.is-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}
#view-home .home-team-workbench .team-member b {
  color: #17191c;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
#view-home .home-team-workbench .team-member small,
#view-home .home-team-workbench .team-rate small {
  color: #697386;
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
}

@media (min-width: 1181px) {
  #view-home #mineWorkbenchContent,
  #view-home .home-team-workbench {
    flex: 1 1 auto;
  }
  #view-home #mineWorkbenchContent {
    display: flex;
    flex-direction: column;
  }
  #view-home #mineWorkbenchContent[hidden] {
    display: none !important;
  }
  #view-home #homeTasks {
    height: 100%;
    flex: 1 1 auto;
    grid-template-rows: repeat(5, minmax(72px, 1fr));
  }
  #view-home #homeTasks .task-row {
    min-height: 72px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}

@media (max-width: 767px) {
  #view-home .home-team-workbench {
    overflow: visible;
  }
  #view-home .home-team-workbench .team-progress-row {
    flex: none;
    min-height: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 16px;
  }
  #view-home .home-team-workbench .team-progress-table {
    max-height: none;
    overflow: visible;
  }
  #view-home .home-team-workbench .team-progress-row:not(.is-head) {
    height: auto;
    min-height: 0;
    flex-basis: auto;
  }
}

/* Homepage supervisor entry: integrated into the live OCTANS task-card header. */
#mineWorkbenchContent[hidden] { display: none !important; }
.home-workbench-head {
  min-height: 72px;
  padding: 13px 16px;
  align-items: center;
}
.home-workbench-head > div:first-child { min-width: 0; }
.home-workbench-head h2 { font-size: 16px; }
.home-workbench-head p { margin-top: 4px; }
.home-workbench-head .workbench-tabs {
  display: inline-flex;
  width: auto;
  flex: 0 0 auto;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-color: #d7deec;
  border-radius: 7px;
  background: #fff;
}
.home-workbench-head .workbench-tabs[hidden] { display: none !important; }
.home-workbench-head .workbench-tabs button {
  min-height: 32px;
  padding: 0 18px;
  border: 0;
  border-inline-start: 1px solid #e4e8f0;
  border-radius: 0;
  color: #343a40;
  font-size: 13px;
  box-shadow: none;
}
.home-workbench-head .workbench-tabs button:first-child {
  border-inline-start: 0;
  border-radius: 6px 0 0 6px;
}
.home-workbench-head .workbench-tabs button:last-child {
  border-radius: 0 6px 6px 0;
}
.home-workbench-head .workbench-tabs button.is-active {
  border-color: transparent;
  background: #f0f4ff;
  color: #3157c8;
  box-shadow: inset 0 0 0 1px #b9c9ff;
}
.home-workbench-head .workbench-tabs b {
  min-width: 17px;
  height: 17px;
  margin-inline-start: 3px;
  font-size: 10px;
}
.dashboard-layout.is-management { grid-template-columns: minmax(0, 1fr); }
.dashboard-layout.is-management .dashboard-primary {
  display: grid !important;
  grid-column: 1 / -1;
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: 0;
}
.dashboard-layout.is-management .home-workbench-panel {
  min-height: 0;
  border-radius: 10px 10px 0 0;
  box-shadow: none;
}
.dashboard-layout.is-management .lower-grid,
.dashboard-layout.is-management #customerDetail { display: none !important; }
.dashboard-layout.is-management .team-workbench,
.dashboard-layout.is-management .pending-workbench {
  min-height: 0;
  margin-top: -1px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #e1e6ee;
  border-radius: 0 0 10px 10px;
  background: #fff;
}
.dashboard-layout.is-management .team-workbench-head {
  justify-content: flex-end;
  margin-bottom: 12px;
}
.dashboard-layout.is-management .team-workbench-head > div { display: none; }

@media (max-width: 767px) {
  .home-workbench-head { align-items: stretch; flex-direction: column; gap: 12px; }
  .home-workbench-head .workbench-tabs { display: flex; width: 100%; }
  .home-workbench-head .workbench-tabs button { min-width: max-content; flex: 1 1 0; padding-inline: 10px; }
  .dashboard-layout.is-management .team-workbench,
  .dashboard-layout.is-management .pending-workbench { padding: 12px; }
  #view-home .task-row:has(.market-pack-state) {
    min-height: 108px;
    grid-template-columns: 28px minmax(0, 1fr) 58px !important;
    grid-template-rows: auto auto;
    gap: 7px 10px;
  }
  #view-home .task-row:has(.market-pack-state) .task-customer { grid-column: 2; grid-row: 1; }
  #view-home .task-row:has(.market-pack-state) .score { grid-column: 3; grid-row: 1; }
  #view-home .task-row:has(.market-pack-state) .market-pack-state { grid-column: 2; grid-row: 2; }
  #view-home .task-row:has(.market-pack-state) .market-pack-state small { display: none !important; }
  #view-home .task-row:has(.market-pack-state) .task-action { grid-column: 3; grid-row: 2; justify-content: flex-end; margin: 0; }
}

#detailModal.is-analytics #detailPrimaryAction {
  border-color: var(--ui-brand,#3e5abd) !important;
  border-radius: 8px !important;
  background: var(--ui-brand,#3e5abd) !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgb(62 90 189 / 16%) !important;
}
#detailModal.is-analytics #detailPrimaryAction:hover {
  border-color: var(--ui-brand-hover,#334ca9) !important;
  background: var(--ui-brand-hover,#334ca9) !important;
}

.upload-zone {
  cursor: pointer;
}

.upload-zone:hover {
  border-color: var(--ca-primary);
  background: #f3f6ff;
}

.upload-zone:focus-within {
  outline: 2px solid rgba(62, 90, 189, .18);
  outline-offset: 2px;
}

.customer-tier {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  white-space: nowrap;
  word-break: keep-all;
}

/* Route switching, import feedback and touch conversion states. */
.route-loading {
  position: fixed;
  inset: 0 0 0 var(--sidebar);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--canvas, #f7f9fc);
  color: var(--ui-text, #27364d);
  font-size: 14px;
  text-align: center;
}
.route-loading[hidden] { display: none; }

.data-loading-screen {
  position: fixed;
  z-index: 100;
  inset: 0 0 0 var(--sidebar);
  display: grid;
  place-items: center;
  background: var(--canvas, #f7f9fc);
}
.data-loading-screen[hidden] { display: none; }
.data-loading-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  color: var(--muted, #718096);
  text-align: center;
}
.data-loading-mark { display: block; width: 52px; height: 52px; }
.data-loading-content p { margin: 0; color: var(--muted, #718096); font-size: 14px; line-height: 22px; }
.loading-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid #d8e2f7;
  border-top-color: var(--ui-brand, #4c6cda);
  border-radius: 50%;
  animation: route-spin .75s linear infinite;
}

.resource-loading-state {
  display: grid;
  min-height: clamp(280px, 46vh, 440px);
  place-items: center;
  background: radial-gradient(circle at 50% 42%, rgba(76, 108, 218, .055), transparent 34%);
}
.resource-loading-state > div { display: grid; justify-items: center; gap: 12px; padding: 30px; text-align: center; }
.resource-loading-state img { display: block; width: 52px; height: 52px; }
.resource-loading-state p { margin: 0; color: #697386; font-size: 13px; line-height: 20px; }
.resource-filter-empty {
  display: grid !important;
  width: 100%;
  min-height: clamp(280px,46vh,440px);
  padding: 32px;
  place-items: center;
  box-sizing: border-box;
  color: #697386;
  text-align: center;
}
@keyframes route-spin { to { transform: rotate(360deg); } }

.loading-mark { display: block; width: 52px; height: 52px; flex: 0 0 auto; }
.loading-mark-home { width: 52px; height: 52px; margin-bottom: 8px; }

.company-avatar { flex: 0 0 auto; text-transform: none; }
.task-row .company-avatar { width: 30px; height: 30px; }

/* 市场化首页：5家推荐企业自动生成方案的逐家进度。 */
#view-home .task-row:has(.market-pack-state) {
  grid-template-columns: 30px minmax(190px, .9fr) minmax(250px, 1.25fr) 76px minmax(150px, .72fr) 64px !important;
}
.market-pack-state { min-width: 0; }
.market-pack-state > div { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.market-pack-state strong { color: #283346; font-size: 12px; font-weight: 650; white-space: nowrap; }
.market-pack-state small { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; color: #8290a4; font-size: 11px; white-space: nowrap; }
.market-pack-state small span { margin-left: 3px; color: #56647a; font-variant-numeric: tabular-nums; }
.market-pack-state i { display: block; height: 5px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: #e9edf3; }
.market-pack-state i b { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#1b4be5,#54a8e8); transform: scaleX(var(--bar-scale,0)); transform-origin: left center; transition: transform .45s ease; }
.market-pack-state.is-ready strong { color: #118255; }
.market-pack-state.is-ready small, .market-pack-state.is-failed small, .market-pack-state.is-pending small { display: block; margin-top: 3px; }
.market-pack-state.is-failed strong { color: #c84444; }
@media (max-width: 1180px) {
  #view-home .task-row:has(.market-pack-state) { grid-template-columns: 28px minmax(170px,1fr) 70px minmax(135px,.8fr) 60px !important; }
  #view-home .task-row:has(.market-pack-state) .task-signal { display: none; }
}

/* 方案访问数据看板：保持真实详情窗口结构，增加纵向空间和可读字号。 */
.detail-modal { width: min(1020px, calc(100vw - 40px)) !important; }
.detail-modal-card {
  height: min(690px, calc(100vh - 32px)) !important;
  min-height: min(620px, calc(100vh - 32px));
  padding: 22px 28px 16px !important;
}
.detail-modal-card .modal-head { margin-bottom: 14px; }
.detail-modal-card .modal-head h2 { font-size: 23px !important; line-height: 32px !important; font-weight: 650; }
.detail-modal-card .modal-head p { margin-top: 6px; font-size: 13px !important; line-height: 20px !important; }
.detail-modal-card > #modalCustomerBody {
  display: flex !important;
  min-height: 0;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}
.proposal-analytics {
  width: 100%;
  height: 100%;
  grid-template-rows: auto minmax(150px, .9fr) minmax(190px, 1.1fr) auto auto;
  gap: 12px;
}
.analytics-metrics article { padding: 13px 16px; }
.analytics-metrics span,.analytics-metrics small { font-size: 13px; line-height: 18px; }
.analytics-metrics strong { font-size: 24px; }
.analytics-metrics strong.is-status { font-size: 18px; }
.analytics-card > header { padding: 13px 16px 10px; }
.analytics-card h3 { font-size: 16px; line-height: 23px; }
.analytics-card header p { font-size: 13px; line-height: 19px; }
.analytics-icon { width: 28px; height: 28px; font-size: 11px; }
.analytics-path ol { padding: 0 16px 12px; }
.analytics-path li { min-height: 38px; }
.analytics-path li strong,.analytics-path li span,.analytics-path time { font-size: 13px; line-height: 19px; }
.analytics-bars { gap: 10px; padding: 2px 16px 12px; }
.analytics-bars > div > div,.analytics-bars b { font-size: 13px; }
.analytics-bars i { height: 7px; }
.analytics-basis { margin: 0 16px 12px; padding: 9px 11px; font-size: 13px; line-height: 19px; white-space: normal; }
.analytics-level { font-size: 13px; }
.analytics-ai-grid article { padding: 13px 16px; }
.analytics-ai-grid article > span,.analytics-ai-grid p,.analytics-ai-grid li,.analytics-ai-grid dt,.analytics-ai-grid dd { font-size: 13px; line-height: 20px; }
.analytics-ai-grid p { margin: 7px 0 10px; -webkit-line-clamp: 4; }
.analytics-ai-grid dl > div { padding: 9px 11px; }
.analytics-recommendation { grid-template-columns: 76px minmax(0,1fr); padding: 11px 14px; }
.analytics-recommendation span,.analytics-recommendation p,.analytics-disclaimer { font-size: 13px; line-height: 20px; }
.analytics-recommendation p { white-space: normal; }
.detail-action-bar { min-height: 48px; margin-top: 12px !important; padding-top: 12px !important; }
@media (max-height: 700px) {
  .detail-modal-card { height: calc(100vh - 20px) !important; min-height: 0; }
  .proposal-analytics { grid-template-rows: auto auto auto auto auto; }
}
.resource-table .data-row { grid-template-columns: 54px minmax(190px, 1.45fr) minmax(120px, 1fr) 78px 72px 108px 102px 80px; }
.resource-table.is-market .data-row { grid-template-columns: 54px minmax(190px, 1.45fr) minmax(120px, 1fr) 78px 72px 108px 102px 80px; }
.resource-table .data-head > span:nth-last-child(-n + 2) { text-align: center; }
.followup-table .data-row { grid-template-columns: 54px minmax(190px, 1.2fr) minmax(120px, .9fr) 100px minmax(135px, 1fr) 108px 150px; }
.tier-cell { display: flex; align-items: center; }
.resource-city-filter { display: inline-flex; min-height: 34px; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--ui-border); border-radius: 10px; background: #fff; color: var(--ui-muted); font-size: 12px; }
.resource-city-filter svg { width: 14px; height: 14px; }
.resource-city-filter select { min-width: 96px; border: 0; outline: 0; background: transparent; color: var(--ui-text); font: inherit; cursor: pointer; }
.resource-city-filter:focus-within { border-color: var(--ui-blue); box-shadow: 0 0 0 2px rgba(27, 75, 229, .12); }
.followup-customer { display: flex !important; align-items: center; gap: 9px; min-width: 0; }
.followup-customer > span { min-width: 0; }
.followup-customer strong, .followup-customer small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.followup-actions { display: flex; align-items: center; justify-content: flex-end; gap: 3px; white-space: nowrap; }
.row-action:disabled, button:disabled { cursor: wait; opacity: .58; }

.import-progress { margin-top: 14px; padding: 12px; border: 1px solid #e2e8f4; border-radius: 9px; background: #fbfcff; }
.import-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ui-text, #27364d); font-size: 12px; }
.import-progress-head span { color: var(--ui-brand, #4c6cda); font-weight: 800; }
.import-progress-track { height: 7px; margin-top: 10px; overflow: hidden; border-radius: 99px; background: #e9eef8; }
.import-progress-track i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7d98ee, #4c6cda); transform: scaleX(var(--progress-scale,0)); transform-origin: left center; transition: transform .25s ease; }
.import-progress p { margin: 8px 0 0; color: var(--ui-text-secondary, #6f7e93); font-size: 11px; line-height: 1.55; }

/* v118: proposal generation progress stays visible above collapsed material groups. */
.material-group-content .solution-progress { min-height: 0; border-color: #d9dde5; background: #f8f9fa; }
.material-group-content .solution-progress-head > span { background: #e8f5ef; color: #18865b; }
.material-group-content .solution-progress-head > b { color: #18865b; }
.material-group-content .solution-progress-track { height: 9px; background: #dcebe4; }
.material-group-content .solution-progress-track i { background: #18865b; transition: transform 100ms linear; }
@media (prefers-reduced-motion:reduce) { .material-group-content .solution-progress-track i { transition: none; } }
.import-steps span.is-complete { color: var(--ui-success, #16834b); }
.import-steps span.is-complete b { background: #dff3e8; color: var(--ui-success, #16834b); }
.import-result { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #eff9f2; color: #237b4b; font-size: 11px; }
.import-result strong { font-size: 12px; }
#importModal { width: min(600px, calc(100vw - 28px)); max-height: calc(100vh - 32px); overflow-x: hidden; overflow-y: auto; }
.import-modal-card { width: 100%; box-sizing: border-box; }
.import-result[hidden] { display: none; }
.import-modal-foot { align-items: center; justify-content: space-between; }
.import-modal-foot > div { display: flex; gap: 9px; }
.single-import-trigger { display: inline-flex; min-height: 38px; padding: 0 10px; align-items: center; gap: 7px; border-radius: 8px; color: var(--ui-brand, #4c6cda); font-size: 13px; font-weight: 650; }
.single-import-trigger:hover { background: #eef3ff; }
.single-import-trigger svg { width: 17px; height: 17px; }
.single-import-trigger.is-active { background: #e9efff; }
.single-import-panel { display: grid; margin-top: 14px; padding: 15px; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 12px; border: 1px solid #d9e2f5; border-radius: 10px; background: #f8faff; }
.single-import-panel[hidden] { display: none; }
.single-import-panel > div,.single-import-panel > label { min-width: 0; }
.single-import-panel > div { grid-column: 1 / -1; }
.single-import-panel > div strong { display: block; color: #182230; font-size: 14px; line-height: 21px; }
.single-import-panel > div p { margin: 3px 0 0; color: #667085; font-size: 12px; line-height: 18px; }
.single-import-panel label { display: grid; gap: 6px; }
.single-import-panel label span { color: #344054; font-size: 12px; font-weight: 650; }
.single-import-panel input { width: 100%; min-height: 39px; padding: 0 11px; border: 1px solid #cfd7e6; border-radius: 8px; background: #fff; color: #101828; font: inherit; outline: 0; }
.single-import-panel input:focus { border-color: var(--ui-brand, #4c6cda); box-shadow: 0 0 0 3px rgba(76,108,218,.13); }
.single-import-panel .primary-button { min-height: 39px; white-space: nowrap; }
.single-import-error { grid-column: 1 / -1; margin: -4px 0 0; color: #b42318; font-size: 12px; line-height: 18px; }
@media (max-width: 640px) { .import-modal-foot { align-items: stretch; flex-direction: column; } .import-modal-foot > div { display: grid; grid-template-columns: 1fr 1fr; } .single-import-trigger { justify-content: center; } .single-import-panel { grid-template-columns: 1fr; } .single-import-panel > div,.single-import-panel > label,.single-import-panel .primary-button { grid-column: 1; width: 100%; } }

/* Single resource entry: compact identity correction inside the existing import dialog. */
.single-import-panel { grid-template-columns: 1fr; align-items: stretch; max-height: 420px; overflow-y: auto; padding: 16px; gap: 12px; background: #f8faff; }
.single-import-heading,.single-import-panel > div,.single-import-panel > label,.single-import-panel .primary-button { grid-column: 1; width: 100%; }
.single-kind-switch { display: inline-grid; width: fit-content !important; padding: 3px; grid-template-columns: repeat(3, auto); gap: 2px; border: 1px solid #d7dfec; border-radius: 9px; background: #fff; }
.single-import-panel .single-kind-switch,
.single-import-panel .single-resolve-status,
.single-import-panel .single-candidates,
.single-import-panel .single-legal-field { display: none !important; }
.single-kind-switch button { min-height: 30px; padding: 0 12px; border-radius: 6px; color: #667085; font-size: 12px; font-weight: 650; }
.single-kind-switch button:hover { color: #2849b8; background: #f1f4fb; }
.single-kind-switch button.is-active { color: #fff; background: #4c6cda; box-shadow: 0 1px 2px rgba(37,56,111,.18); }
.single-name-field,.single-legal-field { display: grid; gap: 6px; }
.single-legal-field[hidden] { display: none; }
.single-legal-field small { color: #7b8798; font-size: 11px; line-height: 1.55; }
.single-resolve-status { display: flex !important; width: 100% !important; min-height: 36px; padding: 8px 10px; box-sizing: border-box; align-items: center; gap: 8px; border: 1px solid #e1e6ef; border-radius: 8px; background: #fff; color: #667085; font-size: 11px; line-height: 1.45; }
.single-resolve-status strong { flex: 0 0 auto; color: #344054; font-size: 11px; }
.single-resolve-status.is-loading { color: #4c6cda; border-color: #d8e1fa; background: #f5f7ff; }
.single-resolve-status.is-warning { border-color: #eadfbf; background: #fffaf0; color: #806522; }
.single-resolve-status.is-success { border-color: #cfe9d9; background: #f2faf5; color: #287a4d; }
.single-resolve-status.is-error { border-color: #f1d1ce; background: #fff6f5; color: #b42318; }
.single-candidates { display: grid !important; width: 100% !important; gap: 7px; }
.single-candidates[hidden] { display: none !important; }
.single-candidate-wrap { display: grid; width: 100%; gap: 0; }
.single-candidate { display: flex; width: 100%; min-height: 50px; padding: 9px 10px; box-sizing: border-box; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #dce3ef; border-radius: 8px; background: #fff; text-align: left; }
.single-candidate:hover,.single-candidate.is-selected { border-color: #8199e5; background: #f5f7ff; box-shadow: 0 0 0 2px rgba(76,108,218,.08); }
.single-candidate span { min-width: 0; }
.single-candidate strong,.single-candidate small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.single-candidate strong { color: #202939; font-size: 12px; }
.single-candidate small { margin-top: 4px; color: #778397; font-size: 11px; }
.single-candidate > b { flex: 0 0 auto; color: #8a6d22; font-size: 10px; font-weight: 650; }
.single-source-links { display: flex !important; width: auto !important; margin: -1px 7px 0; padding: 7px 4px 2px; align-items: center; gap: 9px; overflow: hidden; border-top: 1px solid #edf0f5; color: #8490a1; font-size: 10px; }
.single-source-links span { flex: 0 0 auto; }
.single-source-links a { overflow: hidden; max-width: 170px; color: #4c6cda; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.single-source-links a:hover { text-decoration: underline; }
.single-manual-choice { justify-self: start; padding: 3px 1px; color: #4c6cda; font-size: 11px; font-weight: 650; }
.single-manual-choice:hover { text-decoration: underline; }
.single-import-panel > .primary-button { justify-self: end; width: fit-content; }
.single-entry-grid { display: grid !important; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: end; gap: 10px; }
.single-entry-grid label { min-width: 0; }
.single-entry-or { padding-bottom: 11px; color: #98a2b3; font-size: 11px; }
.single-brand-field input { border-color: #b9c8ef; background: #fbfcff; }
.single-entry-help { margin: -4px 0 0; color: #536ba9; font-size: 11px; line-height: 1.55; }
@media (max-width: 640px) { .single-kind-switch { width: 100% !important; grid-template-columns: repeat(3, 1fr); } .single-import-panel > .primary-button { width: 100%; } }
@media (max-width: 640px) { .single-entry-grid { grid-template-columns: 1fr; } .single-entry-or { padding: 0; text-align: center; } }

/* 客户跟进 2.1.0 final overrides: 保证完整节点轨迹拥有独立的横向空间。 */
.followup-table { min-width: 1160px; }
.followup-table .data-row { grid-template-columns: 36px minmax(178px,1.15fr) minmax(118px,.82fr) minmax(350px,2.35fr) minmax(90px,.72fr) minmax(86px,.74fr) minmax(140px,.9fr); gap: 14px; }
.followup-table .data-row:not(.data-head) { min-height: 112px; padding-top: 13px; padding-bottom: 13px; }
.followup-customer { display: grid !important; align-items: center; }
.followup-customer > span { display: grid; align-content: center; gap: 4px; }
.followup-actions { align-content: center; flex-wrap: wrap; gap: 8px; white-space: normal; }
@media (max-width: 900px) { .followup-table { min-width: 1160px; } }

.touch-modal { width: min(600px, calc(100vw - 30px)); }
.touch-modal .modal-card { padding: 24px; }
.touch-summary { display: flex; align-items: flex-start; gap: 9px; margin-top: 19px; padding: 12px 13px; border: 1px solid #dbe9ff; border-radius: 9px; background: #f4f8ff; color: #33538f; }
.touch-summary .status-dot { margin-top: 4px; }
.touch-summary strong, .touch-summary small { display: block; }
.touch-summary strong { font-size: 12px; }
.touch-summary small { margin-top: 4px; color: #71809a; font-size: 11px; line-height: 1.5; }
.touch-field { position: relative; display: block; margin-top: 17px; }
.touch-field > span { display: block; margin-bottom: 7px; color: #66758a; font-size: 11px; font-weight: 700; }
.touch-field textarea { display: block; width: 100%; resize: vertical; padding: 11px 12px; border: 1px solid #dce4f1; border-radius: 8px; outline: none; background: #fbfcfe; color: #33435b; font: inherit; font-size: 12px; line-height: 1.65; }
.touch-field textarea:focus { border-color: #8da5eb; box-shadow: 0 0 0 3px rgba(76,108,218,.1); }
.touch-field .secondary-button { margin-top: 8px; min-height: 30px; font-size: 11px; }
.touch-link-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 12px 13px; border: 1px solid #dfe5ef; border-radius: 9px; background: #fff; }
.touch-link-box span, .touch-link-box small { display: block; }
.touch-link-box span { color: #33435b; font-size: 11px; font-weight: 700; }
.touch-link-box small { margin-top: 4px; color: #8490a1; font-size: 10px; }
.touch-link-box a { flex: 0 0 auto; color: #4262c3; font-size: 11px; font-weight: 700; text-decoration: none; }
.touch-link-box a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .data-loading-screen { left: 0; }
  .route-loading { left: 0; }
  .touch-modal .modal-card { padding: 17px; }
  .touch-link-box { align-items: flex-start; flex-direction: column; gap: 9px; }
  .touch-link-box a { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
  .followup-actions { justify-content: flex-start; flex-wrap: wrap; }
}

/* frontend-v2 UI unification: preserve the current visual language and make all
   operational controls share one interaction and spacing system. */
.resource-search,
.region-picker-trigger,
.primary-button,
.secondary-button,
.small-select,
.filter-button { min-height: 40px; }

.resource-region-filter { position: relative; flex: 0 0 154px; width: 154px; min-width: 154px; }
.resource-import-filter { position: relative; flex: 0 1 250px; width: 250px; min-width: 190px; }
.region-picker.import-batch-picker { width: 100%; }
.region-picker-trigger.import-batch-trigger { height: 32px; min-height: 32px; }
.region-picker-menu.import-batch-menu { width: 340px; min-width: 340px; max-width: min(340px, calc(100vw - 28px)); }
.import-batch-option { min-height: 44px; padding-block: 5px; }
.import-batch-option-main { display: grid; min-width: 0; gap: 2px; }
.import-batch-option-main strong { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.import-batch-option-main small { color: #697386; font-size: 11px; font-weight: 400; }
.import-batch-option.is-selected .import-batch-option-main small { color: #4562b8; }
.region-picker { position: relative; width: 154px; }
.region-picker-trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 14px;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 32px;
  min-height: 32px;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--ui-line-strong, #d3d7de);
  border-radius: 10px;
  background: #fff;
  color: var(--ui-text, #17191c);
  font-size: 13px;
  cursor: pointer;
}
.region-picker-trigger > span:not(.region-picker-caret) { color: #697386; }
.region-picker-trigger strong { overflow: hidden; font-weight: 600; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.region-picker-caret { color: #697386; font-size: 16px; transition: transform .16s ease; }
.region-picker.is-open .region-picker-caret { transform: rotate(180deg); }
.region-picker-trigger:hover { border-color: #aab2bf; }
.region-picker-trigger:focus-visible { border-color: #1b4be5; box-shadow: 0 0 0 2px rgba(27,75,229,.12); outline: 0; }
.region-picker-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  right: auto;
  left: 0;
  width: 188px;
  min-width: 188px;
  max-width: min(188px, calc(100vw - 28px));
  max-height: min(248px, calc(100vh - 180px));
  padding: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,24,40,.12);
  scrollbar-width: thin;
  scrollbar-color: #c7ccd4 transparent;
}
.region-picker-menu::-webkit-scrollbar { width: 5px; }
.region-picker-menu::-webkit-scrollbar-track { background: transparent; }
.region-picker-menu::-webkit-scrollbar-thumb { border-radius: 999px; background: #c7ccd4; }
.region-picker-menu::-webkit-scrollbar-thumb:hover { background: #aab2bf; }
.region-picker-menu[hidden] { display: none; }

/* Customer resource filters must float above the table without being clipped. */
#view-resources .resource-panel { overflow: visible; }
#view-resources .resource-toolbar {
  position: relative;
  z-index: 120;
  border-radius: 12px 12px 0 0;
  background: #fff;
}
#view-resources .table-scroll,
#view-resources .table-footer { position: relative; z-index: 1; }
#view-resources .region-picker-menu {
  z-index: 240;
  max-height: min(340px, calc(100vh - 180px));
}
.resource-table { position: relative; }
.resource-table.is-loading::after {
  content: none;
  display: none;
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 4;
  padding: 5px 9px;
  border: 1px solid #dbe3f4;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #4562b8;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(24,39,75,.08);
}
.followup-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; white-space: nowrap; }
.region-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 0 8px;
  box-sizing: border-box;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #343a40;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.region-option[hidden] { display: none; }
.region-option:first-child { grid-template-columns: minmax(0, 1fr) 14px; }
.region-option:hover { background: #f5f6f7; }
.region-option.is-selected { background: #eef3ff; color: #1b4be5; font-weight: 600; }
.region-option-label { display: block; min-width: 0; overflow: hidden; writing-mode: horizontal-tb; word-break: keep-all; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.region-option i { width: 6px; height: 10px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; opacity: 0; transform: rotate(45deg); }
.region-option.is-selected i { opacity: 1; }
.region-province { display: block; }
.region-province + .region-province { margin-top: 2px; }
.region-province-toggle {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 36px;
  gap: 6px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #343a40;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.region-province-toggle:hover { background: #f5f6f7; }
.region-province-toggle strong { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.region-province-toggle small { color: #a0a7b2; font-size: 11px; }
.region-province-caret,.region-picker-caret { display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); transition: transform .16s ease; }
.region-province.is-expanded .region-province-caret { transform: rotate(45deg); }
.region-picker.is-open .region-picker-caret { transform: rotate(225deg); }
.region-child { padding-left: 28px; }
.resource-region-province-row { display: grid; min-height: 36px; grid-template-columns: 30px minmax(0,1fr); align-items: center; border-radius: 8px; }
.resource-region-province-row:hover { background: #f5f6f7; }
.resource-region-province-row.is-selected { background: #eef3ff; color: #1b4be5; }
.resource-region-province-toggle { width: 30px; min-height: 36px; padding: 0; place-items: center; }
.resource-region-province-toggle:hover { background: rgba(255,255,255,.72); }
.resource-region-province-select { padding: 0 8px 0 0; grid-template-columns: minmax(0,1fr) auto 14px; gap: 8px; border-radius: 0; }
.resource-region-province-select:hover,.resource-region-province-select.is-selected { background: transparent; }
.resource-region-province-select small { color: #a0a7b2; font-size: 10px; font-weight: 400; }
.resource-region-child { padding: 0 8px; grid-template-columns: 14px minmax(0,1fr) 14px; gap: 6px; }
.resource-region-dot { width: 7px; height: 7px; justify-self: center; border-radius: 50%; background: #9aa4b2; }
.resource-region-dot.is-small { width: 5px; height: 5px; background: #c2c8d0; }
.region-all { margin-bottom: 3px; }
.region-picker-empty { padding: 20px 12px; color: #697386; font-size: 13px; text-align: center; }

.confirm-modal { width: min(430px, calc(100vw - 32px)); }
.confirm-modal-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 24px; }
.confirm-modal-card h2 { margin: 2px 0 6px; color: #17191c; font-size: 18px; }
.confirm-modal-card p { margin: 0; color: #697386; font-size: 14px; line-height: 1.65; }
.confirm-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #f5f6f7; color: #343a40; }
.confirm-icon svg { width: 20px; height: 20px; }
.confirm-modal-card .modal-foot { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; margin-top: 8px; }
.confirm-actions { display: flex; gap: 9px; margin-left: auto; }
.confirm-actions button { flex: 0 0 auto; }
#confirmAccept[data-tone="danger"] { background: #15171a; color: #fff; }

.export-modal { width: min(720px, calc(100vw - 32px)); }
.export-modal-card { width: 100%; max-width: none; padding: 24px; }
.export-modal .modal-head p { max-width: 42ch; margin: 6px 0 0; color: #697386; font-size: 13px; line-height: 1.55; }
.export-fields { display: grid; gap: 22px; margin-top: 22px; }
.export-field { display: grid; gap: 8px; color: #343a40; font-size: 13px; font-weight: 600; }
.export-field select { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #d3d7de; border-radius: 10px; background: #fff; color: #17191c; font: inherit; font-weight: 400; }
.export-field select:focus-visible { border-color: #1b4be5; box-shadow: 0 0 0 2px rgba(27,75,229,.12); outline: 0; }
.export-field small { color: #697386; font-size: 12px; font-weight: 400; }
.export-tier-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.export-tier-field legend { margin-bottom: 10px; color: #343a40; font-size: 13px; font-weight: 600; }
.export-tier-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.export-tier-options label { position: relative; display: flex; min-width: 0; min-height: 70px; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid #dfe3e9; border-radius: 12px; background: #fff; cursor: pointer; box-sizing: border-box; }
.export-tier-options label:has(input:checked) { border-color: #1b4be5; background: #eef3ff; }
.export-tier-options input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: #1b4be5; }
.export-tier-options b,.export-tier-options small { display: block; min-width: 0; }
.export-tier-options b { color: #17191c; font-size: 13px; }
.export-tier-options small { margin-top: 3px; color: #697386; font-size: 11px; }
.export-error { margin: 8px 0 0; color: #c4322a; font-size: 12px; }
.export-summary { min-height: 22px; padding: 12px 14px; border-radius: 10px; background: #f5f6f7; color: #4f5968; font-size: 13px; line-height: 1.55; }
.export-summary strong { color: #17191c; }
.export-steps{display:grid;grid-template-columns:1fr 42px 1fr 42px 1fr;align-items:center;margin:22px 0 4px;color:#8a94a5;font-size:13px}.export-steps span{display:flex;align-items:center;gap:8px;white-space:nowrap}.export-steps b{width:25px;height:25px;display:grid;place-items:center;border:1px solid #d7dce5;border-radius:50%;font-size:12px}.export-steps i{height:1px;background:#dde2ea}.export-steps .is-active{color:#1b4be5;font-weight:700}.export-steps .is-active b{border-color:#1b4be5;background:#1b4be5;color:#fff}.export-integrity-note{display:flex;gap:9px;padding:11px 13px;border:1px solid #cce6db;border-radius:10px;background:#f0faf6;color:#256b55;font-size:12px;line-height:1.55}.export-integrity-note svg{width:17px;height:17px;flex:0 0 auto}.export-columns{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;border:1px solid #e1e5eb;border-radius:10px;color:#5f6a7c;font-size:12px}.export-columns strong{margin-right:4px;color:#303948}.export-columns span{padding-right:10px;border-right:1px solid #e2e6ec}.export-generate-stage,.export-complete-stage{padding:26px 0 8px}.export-generate-stage>h3,.export-complete-stage>h3,.export-error-stage h3{text-align:center;margin:0 0 8px;color:#17191c}.export-generate-stage>p,.export-complete-stage>p,.export-error-stage p{text-align:center;margin:0;color:#697386;font-size:13px}.export-spinner{width:42px;height:42px;margin:0 auto 18px;border:3px solid #e4e9f2;border-top-color:#1b4be5;border-radius:50%;animation:export-spin .85s linear infinite}.export-progress-head{display:flex;justify-content:space-between;margin:24px 0 9px;color:#667184;font-size:13px}.export-progress-head strong{color:#1b4be5}.export-progress-track{height:8px;border-radius:4px;background:#edf0f4;overflow:hidden}.export-progress-track i{display:block;width:100%;height:100%;border-radius:4px;background:#1b4be5;transform:scaleX(var(--progress-scale,.08));transform-origin:left center;transition:transform .45s cubic-bezier(.22,1,.36,1)}.export-progress-stats{display:flex;justify-content:center;gap:30px;margin:18px 0;color:#697386;font-size:13px}.export-progress-stats b{margin-right:4px;color:#17191c}.export-current{display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px;padding:14px 0;border-top:1px solid #e5e8ed;border-bottom:1px solid #e5e8ed}.export-current strong,.export-current small{display:block}.export-current small{margin-top:5px;color:#748095}.export-current>b{color:#1b4be5}.export-phase-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:16px}.export-phase-grid span{padding:10px;border-radius:9px;background:#f5f7fa;color:#718096;font-size:11px}.export-phase-grid b{display:block;margin-bottom:4px;color:#2c3544;font-size:12px}.export-phase-grid .is-active{background:#edf2ff;color:#1b4be5}.export-phase-grid .is-active b{color:#1b4be5}.export-phase-grid .is-done{background:#eff8f4;color:#28735c}.export-background-note{text-align:left!important;margin-top:14px!important;font-size:12px!important}.export-complete-icon{width:52px;height:52px;margin:0 auto 16px;display:grid;place-items:center;border-radius:50%;background:#eaf8f2;color:#16805d}.export-complete-icon svg{width:27px;height:27px}.export-complete-summary{display:grid;grid-template-columns:repeat(3,1fr);margin:22px 0 16px;padding:14px 0;border-top:1px solid #e3e7ed;border-bottom:1px solid #e3e7ed;text-align:center;color:#6d788b;font-size:12px}.export-complete-summary b{display:block;margin-bottom:3px;color:#17191c;font-size:18px}.export-file-row{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:10px;background:#f6f8fb}.export-file-row>svg{width:25px;height:25px;color:#1b4be5}.export-file-row strong,.export-file-row small{display:block}.export-file-row small{margin-top:4px;color:#738095}.export-error-stage{padding:35px 0}.export-error-stage h3{color:#b52620}@keyframes export-spin{to{transform:rotate(360deg)}}

@media (max-width: 560px) {
  .export-tier-options { grid-template-columns: 1fr; }
  .export-tier-options label { min-height: 56px; }
  .export-steps{grid-template-columns:1fr 18px 1fr 18px 1fr;font-size:11px}.export-phase-grid{grid-template-columns:1fr 1fr}.export-progress-stats{gap:12px;flex-wrap:wrap}.export-columns span{padding-right:6px}
}

.next-action { align-items: flex-start; }
.next-action strong { order: 1; }
.next-action span { order: 2; color: #697386; }
.relationship-readiness{display:block;width:max-content;max-width:100%;margin-top:5px;padding:2px 7px;border-radius:999px;background:#f5f6f7;color:#697386;font-size:11px;font-style:normal;font-weight:600;line-height:18px}.relationship-readiness.success{background:#edf8f3;color:#18865b}.relationship-readiness.insufficient{background:#fff6e8;color:#9a5a00}
.primary-button:disabled,
.secondary-button:disabled,
.text-button:disabled { cursor: not-allowed; opacity: .5; }
.route-switch button[aria-selected="true"],
.segmented-control button[aria-pressed="true"] { background: #fff; color: #17191c; }

@media (max-width: 760px) {
  .resource-toolbar { align-items: stretch; }
  .filter-actions { width: 100%; }
  .resource-region-filter { width: 100%; }
  .resource-import-filter { width: 100%; }
  .resource-import-filter { flex-basis: 100%; }
  .import-batch-menu { width: min(320px, calc(100vw - 28px)); }
  .region-picker-trigger { width: 100%; }
  .region-picker-menu { right: auto; left: 0; width: min(320px, calc(100vw - 28px)); }
  .confirm-modal-card { grid-template-columns: 36px minmax(0, 1fr); padding: 20px; }
  .confirm-icon { width: 36px; height: 36px; }
}

/* Final readable sizing for the proposal analytics dialog. */
.detail-modal { width: min(1020px,calc(100vw - 40px)) !important; }
.detail-modal-card { height: min(690px,calc(100vh - 32px)) !important; min-height: min(620px,calc(100vh - 32px)); padding: 22px 28px 16px !important; }
.detail-modal-card > #modalCustomerBody { display: flex !important; flex: 1 1 auto !important; overflow: hidden !important; }
.proposal-analytics { width: 100%; height: 100%; grid-template-rows: auto minmax(150px,.9fr) minmax(190px,1.1fr) auto auto; gap: 12px; }
.detail-modal-card .modal-head h2 { font-size: 23px !important; line-height: 32px !important; }
.detail-modal-card .modal-head p,.analytics-metrics span,.analytics-metrics small,.analytics-card header p,.analytics-path li strong,.analytics-path li span,.analytics-path time,.analytics-bars > div > div,.analytics-bars b,.analytics-basis,.analytics-level,.analytics-ai-grid article > span,.analytics-ai-grid p,.analytics-ai-grid li,.analytics-ai-grid dt,.analytics-ai-grid dd,.analytics-recommendation span,.analytics-recommendation p,.analytics-disclaimer { font-size: 13px !important; line-height: 20px !important; }
.analytics-metrics article { padding: 13px 16px; }
.analytics-metrics strong { font-size: 24px; }
.analytics-metrics strong.is-status { font-size: 18px; }
.analytics-card > header { padding: 13px 16px 10px; }
.analytics-card h3 { font-size: 16px; line-height: 23px; }
.analytics-icon { width: 28px; height: 28px; font-size: 11px; }
.analytics-path ol { padding: 0 16px 12px; }
.analytics-path li { min-height: 38px; }
.analytics-bars { gap: 10px; padding: 2px 16px 12px; }
.analytics-bars i { height: 7px; }
.analytics-basis { margin: 0 16px 12px; padding: 9px 11px; white-space: normal; }
.analytics-ai-grid article { padding: 13px 16px; }
.analytics-ai-grid p { margin: 7px 0 10px; -webkit-line-clamp: 4; }
.analytics-ai-grid dl > div { padding: 9px 11px; }
.analytics-recommendation { grid-template-columns: 76px minmax(0,1fr); padding: 11px 14px; }
.analytics-recommendation p { white-space: normal; }
.detail-action-bar { min-height: 48px; margin-top: 12px !important; padding-top: 12px !important; }
@media (max-height:700px) { .detail-modal-card { height: calc(100vh - 20px) !important; min-height: 0; }.proposal-analytics { grid-template-rows:auto auto auto auto auto; } }

/* Proposal conversion analytics: preserve the current visual system while exposing the complete sales funnel. */
.detail-modal.is-analytics .detail-modal-card { height: min(780px,calc(100vh - 24px)) !important; min-height: 0 !important; }
.detail-modal.is-analytics .detail-modal-card > #modalCustomerBody { overflow-y: auto !important; overscroll-behavior: contain; scrollbar-gutter: stable; }
.detail-modal.is-analytics .proposal-analytics { height: auto !important; grid-template-rows: auto auto auto auto auto auto !important; padding-right: 4px; }
.analytics-funnel > header { border-bottom: 1px solid #edf0f4; }
.analytics-context { margin-left: auto; color: #727d8c; font-size: 12px; white-space: nowrap; }
.analytics-funnel-track { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); padding: 12px 16px 15px; }
.analytics-funnel-track article { position: relative; display: flex; min-width: 0; align-items: center; gap: 9px; color: #8a94a3; }
.analytics-funnel-track article:not(:last-child)::after { position: absolute; top: 14px; right: 7px; left: 38px; height: 2px; background: #e3e8f0; content: ""; }
.analytics-funnel-track article.is-reached:not(:last-child)::after { background: #b9ddcf; }
.analytics-funnel-track i { position: relative; z-index: 1; display: grid; width: 28px; height: 28px; place-items: center; flex: 0 0 auto; border: 1px solid #d9e0e9; border-radius: 50%; background: #fff; color: #8a94a3; font-size: 11px; font-style: normal; font-weight: 700; }
.analytics-funnel-track article.is-reached i { border-color: #18865b; background: #18865b; color: #fff; box-shadow: 0 0 0 4px #e9f5f0; }
.analytics-funnel-track article > div { position: relative; z-index: 1; min-width: 0; padding-right: 8px; background: #fff; }
.analytics-funnel-track strong,.analytics-funnel-track span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.analytics-funnel-track strong { color: #303741; font-size: 12px; line-height: 18px; }
.analytics-funnel-track span { color: #8a94a3; font-size: 11px; line-height: 16px; }
.analytics-ai-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
.analytics-path ol { height: auto !important; max-height: 210px; overflow-y: auto !important; }

@media (max-width:760px) {
  .detail-modal.is-analytics { width: 100vw !important; height: 100vh; margin: 0; border-radius: 0 !important; }
  .detail-modal.is-analytics .detail-modal-card { height: 100vh !important; max-height: none !important; padding: 18px 14px 12px !important; }
  .analytics-context { display: none; }
  .analytics-funnel-track { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 16px; padding-inline: 13px; }
  .analytics-funnel-track article:nth-child(3)::after { display: none; }
  .analytics-ai-grid { grid-template-columns: 1fr !important; }
}

/* The same dialog has two explicit modes: resource profile and follow-up analytics. */
.detail-modal:not(.is-analytics) { width: min(1120px, calc(100vw - 40px)) !important; }
.detail-modal:not(.is-analytics) .detail-modal-card {
  height: min(820px, calc(100vh - 36px)) !important;
  min-height: min(660px, calc(100vh - 36px)) !important;
  max-height: min(820px, calc(100vh - 36px)) !important;
}
.detail-modal:not(.is-analytics) .detail-modal-card > #modalCustomerBody {
  display: flex !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  flex: 1 1 auto !important;
  flex-direction: column;
  scrollbar-gutter: stable;
}
.detail-modal.is-analytics { width: min(1020px, calc(100vw - 40px)) !important; }
.detail-modal.is-analytics .detail-modal-card {
  height: min(690px, calc(100vh - 32px)) !important;
  min-height: min(620px, calc(100vh - 32px)) !important;
  max-height: min(690px, calc(100vh - 32px)) !important;
}
.detail-modal.is-analytics .detail-modal-card > #modalCustomerBody {
  display: flex !important;
  overflow: hidden !important;
  flex: 1 1 auto !important;
}

/* GEO demand is a complete two-part business explanation, never a clamped excerpt. */
.deepseek-geo-copy { display: grid; gap: 14px; margin-top: 14px; }
.deepseek-geo-copy article { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; align-items: start; padding: 13px 12px; border: 1px solid #dfe7fa; border-radius: 12px; background: #fff; }
.deepseek-geo-copy article > div { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #eef3ff; color: #1b4be5; }
.deepseek-geo-copy article > div svg { width: 17px; height: 17px; }
.deepseek-geo-copy section { min-width: 0; }
.deepseek-geo-copy strong { display: block; margin-bottom: 5px; color: #202634; font-size: 13px; line-height: 20px; }
.deepseek-geo-copy p { display: block !important; margin: 0 !important; overflow: visible !important; color: #596579; font-size: 13px; line-height: 1.75; -webkit-box-orient: initial !important; -webkit-line-clamp: unset !important; }
@media (max-width:760px) { .deepseek-geo-copy article { grid-template-columns: 30px minmax(0,1fr); padding: 12px 10px; }.deepseek-geo-copy article > div { width: 30px; height: 30px; } }
.export-generate-stage > .export-eta { width: max-content; max-width: 100%; margin: 10px auto 0; padding: 5px 10px; border-radius: 999px; background: #eef3ff; color: #1b4be5; font-size: 12px; font-weight: 650; }
@media (prefers-reduced-motion: reduce) { .export-spinner { animation-duration: 1.8s; } }
@media (max-width: 800px) {
  .detail-modal:not(.is-analytics),.detail-modal.is-analytics { width: 100vw !important; height: 100vh; margin: 0; border-radius: 0 !important; }
  .detail-modal:not(.is-analytics) .detail-modal-card,.detail-modal.is-analytics .detail-modal-card { height: 100vh !important; min-height: 0 !important; max-height: none !important; }
  .detail-modal.is-analytics .detail-modal-card > #modalCustomerBody { overflow-y: auto !important; }
}

/* Customer resource details: restore the enterprise profile sheet. */
.detail-modal { width: min(1120px, calc(100vw - 40px)) !important; }
.detail-modal-card {
  display: flex !important;
  width: 100% !important;
  height: min(820px, calc(100vh - 36px)) !important;
  min-height: min(660px, calc(100vh - 36px)) !important;
  max-height: min(820px, calc(100vh - 36px)) !important;
  padding: 24px 28px 18px !important;
  overflow: hidden !important;
  flex-direction: column;
}
.detail-modal-card > #modalCustomerBody {
  display: flex !important;
  min-height: 0 !important;
  margin-top: 8px !important;
  padding-right: 8px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  flex: 1 1 auto !important;
  flex-direction: column;
  scrollbar-gutter: stable;
}
.detail-modal-card .modal-head { min-height: auto; margin-bottom: 0 !important; }
.detail-modal-card .modal-head h2 { max-width: 800px; font-size: 23px !important; line-height: 32px !important; }
.detail-modal-card .modal-head p { margin-top: 2px !important; font-size: 13px !important; line-height: 20px !important; }
@media (max-width: 800px) {
  .detail-modal { width: 100vw !important; height: 100vh; margin: 0; border-radius: 0 !important; }
  .detail-modal-card { height: 100vh !important; min-height: 0 !important; max-height: none !important; padding: 18px !important; }
}

/* Auditable crawl results. */
.crawl-result-button svg{width:16px;height:16px}.crawl-results-card{width:min(1120px,calc(100vw - 48px));max-width:none!important;padding:0!important;overflow:hidden;border-radius:22px!important}.crawl-results-card .modal-head{padding:22px 24px 18px;border-bottom:1px solid var(--ui-border,#e5e9f0)}.crawl-results-card .modal-head h2{margin-top:3px;font-size:22px!important;line-height:30px!important}.crawl-results-card .modal-head p{margin:4px 0 0;color:var(--ui-text-muted,#6b7280);font-size:13px!important;line-height:20px}.crawl-results-eyebrow{color:#1b4be5;font-size:12px;line-height:18px;font-weight:700}.crawl-results-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:16px 24px 12px;overflow:hidden;border:1px solid var(--ui-border,#e5e9f0);border-radius:12px;background:#fafbfc}.crawl-results-summary>div{min-width:0;padding:12px 16px;border-right:1px solid var(--ui-border,#e5e9f0)}.crawl-results-summary>div:last-child{border-right:0}.crawl-results-summary span{display:block;color:var(--ui-text-muted,#6b7280);font-size:12px;line-height:18px}.crawl-results-summary strong{display:block;margin-top:2px;color:var(--ui-text,#151821);font-size:20px;line-height:26px}.crawl-results-filters{display:flex;align-items:center;gap:6px;padding:0 24px 12px}.crawl-results-filters button{min-height:32px;padding:0 12px;border:1px solid var(--ui-border,#e5e9f0);border-radius:8px;background:#fff;color:var(--ui-text-muted,#6b7280);font-size:13px;font-weight:600}.crawl-results-filters button:hover{border-color:#c9d2e3;color:var(--ui-text,#151821)}.crawl-results-filters button.is-active{border-color:#1b4be5;background:#eef3ff;color:#1b4be5}.crawl-results-head,.crawl-result-row{display:grid;grid-template-columns:minmax(220px,1.5fr) 105px minmax(220px,1.35fr) 150px 90px;gap:18px;align-items:center}.crawl-results-head{min-height:38px;margin:0 24px;padding:0 14px;border:1px solid var(--ui-border,#e5e9f0);border-bottom:0;border-radius:10px 10px 0 0;background:#f7f8fa;color:var(--ui-text-muted,#6b7280);font-size:12px;font-weight:700}.crawl-results-list{min-height:210px;max-height:min(46vh,430px);margin:0 24px;overflow-y:auto;border:1px solid var(--ui-border,#e5e9f0);border-radius:0 0 10px 10px;background:#fff}.crawl-result-row{min-height:88px;padding:12px 14px;border-bottom:1px solid #edf0f4}.crawl-result-row:last-child{border-bottom:0}.crawl-result-row:hover{background:#fafbfc}.crawl-company strong{display:block;overflow:hidden;color:var(--ui-text,#151821);font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.crawl-company span,.crawl-company a,.crawl-evidence span,.crawl-contact small,.crawl-error{display:block;margin-top:3px;color:var(--ui-text-muted,#6b7280);font-size:12px;line-height:18px}.crawl-company a{width:max-content;color:#1b4be5;font-weight:600}.crawl-quality{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:3px}.crawl-quality b{font-size:19px;line-height:24px}.crawl-quality span{color:var(--ui-text-muted,#6b7280);font-size:11px}.crawl-quality i{grid-column:1/-1;width:100%;height:4px;overflow:hidden;border-radius:999px;background:#e9edf3}.crawl-quality em{display:block;height:100%;border-radius:inherit;background:#1b4be5}.crawl-contact span{display:block;overflow:hidden;font-size:13px;line-height:19px;text-overflow:ellipsis;white-space:nowrap}.crawl-contact .is-muted{color:var(--ui-text-muted,#6b7280)}.crawl-outcome{display:inline-flex;padding:5px 8px;border-radius:7px;background:#f0f2f5;color:#535d6b;font-size:12px;line-height:18px;font-weight:700}.crawl-outcome-new{background:#eaf8f1;color:#087a4b}.crawl-outcome-updated{background:#eef3ff;color:#1b4be5}.crawl-outcome-review{background:#fff6df;color:#9a6200}.crawl-outcome-rejected,.crawl-outcome-failed{background:#fff0f0;color:#b42318}.crawl-evidence b{display:block;font-size:14px;line-height:20px}.crawl-results-empty{display:grid;min-height:210px;place-items:center;padding:24px;color:var(--ui-text-muted,#6b7280);font-size:14px}.crawl-results-card .modal-foot{margin-top:16px;padding:14px 24px 18px;border-top:1px solid var(--ui-border,#e5e9f0)}.crawl-results-policy{margin-right:auto;color:var(--ui-text-muted,#6b7280);font-size:12px;line-height:18px}
@media(max-width:900px){.crawl-results-card{width:min(760px,calc(100vw - 24px))}.crawl-results-summary{grid-template-columns:repeat(3,1fr)}.crawl-results-summary>div:nth-child(3){border-right:0}.crawl-results-head{display:none}.crawl-results-list{border-radius:10px}.crawl-result-row{grid-template-columns:minmax(0,1fr) 88px}.crawl-contact,.crawl-result-row>div:nth-child(4),.crawl-evidence{grid-column:1/-1}}

/* Follow-up record board — same operational hierarchy as the customer insight dashboard. */
.followup-detail-modal.is-record-board { width:min(1180px,calc(100vw - 40px)); max-width:none; }
.followup-detail-modal.is-record-board .followup-detail-card { display:flex; width:100%; height:min(760px,calc(100vh - 32px)); max-height:calc(100vh - 32px); padding:20px 24px 14px; overflow:hidden; flex-direction:column; font-family:"AIOS UI","Microsoft YaHei UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif; }
.followup-detail-modal.is-record-board .modal-head { flex:0 0 auto; margin:0; padding:0 0 14px; border-bottom:1px solid #e4e8ef; }
.followup-detail-modal.is-record-board .modal-head>div { width:auto !important; min-width:0; flex:1 1 auto; }
.followup-detail-modal.is-record-board .modal-head .icon-button { position:static; margin-left:auto; flex:0 0 32px; }
.followup-detail-modal.is-record-board #followupDetailTitle { max-width:850px; margin:0; overflow:visible; color:#151b2a; font-size:24px !important; line-height:34px !important; font-weight:700; text-overflow:clip; white-space:normal; overflow-wrap:anywhere; }
.followup-detail-modal.is-record-board .modal-head p { margin:3px 0 0; color:#5f6b7d; font-size:14px; line-height:22px; }
.followup-detail-modal.is-record-board .followup-detail-route { display:none !important; }
.followup-detail-modal.is-record-board #followupDetailBody { min-height:0; padding:14px 0 0; overflow:hidden; flex:1 1 auto; }
.followup-detail-modal.is-record-board .modal-foot { flex:0 0 auto; margin-top:12px; padding-top:12px; border-top:1px solid #e4e8ef; }
.followup-record-board { display:grid; height:100%; min-height:0; grid-template-rows:auto minmax(0,1fr); gap:12px; }
.followup-record-summary { display:grid; margin:0; overflow:hidden; border:1px solid #e1e6ee; border-radius:12px; background:#f8fafc; grid-template-columns:repeat(4,minmax(0,1fr)); }
.followup-record-summary>div { min-width:0; padding:10px 14px; border-right:1px solid #e1e6ee; }
.followup-record-summary>div:last-child { border-right:0; }
.followup-record-summary dt { color:#667085; font-size:13px; line-height:20px; }
.followup-record-summary dd { margin:2px 0 0; overflow:hidden; color:#172033; font-size:15px; line-height:22px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.followup-record-layout { display:grid; min-height:0; gap:12px; grid-template-columns:196px minmax(350px,1fr) 278px; }
.followup-record-nodes,.followup-record-brief,.followup-record-focus { min-width:0; min-height:0; overflow:hidden; border:1px solid #e1e6ee; border-radius:12px; background:#fff; }
.followup-record-focus { overflow-y:auto; scrollbar-gutter:stable; }
.followup-record-nodes>header,.followup-record-brief>header,.followup-record-focus>header { display:flex; min-height:54px; box-sizing:border-box; padding:10px 13px; border-bottom:1px solid #e8ecf2; align-items:center; justify-content:space-between; gap:10px; }
.followup-record-nodes h3,.followup-record-brief h3,.followup-record-focus h3 { margin:0; color:#172033; font-size:15px; line-height:22px; font-weight:650; }
.followup-record-nodes>header span,.followup-record-brief>header>span { max-width:104px; overflow:hidden; color:#667085; font-size:13px; line-height:20px; text-overflow:ellipsis; white-space:nowrap; }
.followup-record-nodes>div { display:grid; padding:7px; gap:2px; }
.followup-record-nodes button { display:flex; width:100%; min-height:58px; padding:8px; border:0; border-radius:9px; background:transparent; align-items:center; gap:9px; color:#344054; text-align:left; cursor:pointer; }
.followup-record-nodes button:hover { background:#f6f8fb; }
.followup-record-nodes button:focus-visible { outline:2px solid var(--node-color); outline-offset:1px; }
.followup-record-nodes button.is-selected { background:var(--node-soft); color:var(--node-color); }
.followup-record-nodes button>i { width:12px; height:12px; box-sizing:border-box; border:2px solid #c7d0dd; border-radius:50%; background:#fff; flex:0 0 auto; }
.followup-record-nodes button.is-done>i,.followup-record-nodes button.is-current>i { border-color:var(--node-color); box-shadow:inset 0 0 0 2px #fff; background:var(--node-color); }
.followup-record-nodes button>span { display:grid; min-width:0; gap:1px; }
.followup-record-nodes button strong { overflow:hidden; color:inherit; font-size:14px; line-height:21px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.followup-record-nodes button small { color:#667085; font-size:13px; line-height:20px; }
.followup-record-brief { display:grid; grid-template-rows:auto minmax(0,1fr); }
.followup-record-brief>header>div { min-width:0; }
.followup-record-brief>header p { margin:2px 0 0; overflow:hidden; color:#667085; font-size:13px; line-height:20px; text-overflow:ellipsis; white-space:nowrap; }
.followup-record-brief-body { display:grid; min-height:0; padding:16px 18px; overflow-y:auto; align-content:start; scrollbar-gutter:stable; }
.followup-record-brief-body span { display:block; color:#697386; font-size:12px; line-height:18px; font-weight:600; }
.followup-record-brief-body strong { display:block; color:#263247; font-size:14px; line-height:22px; font-weight:650; overflow-wrap:anywhere; }
.followup-record-brief-body p { margin:4px 0 0; color:#667085; font-size:13px; line-height:20px; overflow-wrap:anywhere; }
.followup-record-progress { padding:0 0 16px; border-bottom:1px solid #e8ecf2; }
.followup-record-progress strong { margin-top:5px; color:#172033; font-size:20px; line-height:28px; font-weight:700; }
.followup-record-context { display:grid; border-bottom:1px solid #e8ecf2; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); }
.followup-record-context>section { min-width:0; padding:16px 14px 16px 0; }
.followup-record-context>section+section { padding:16px 0 16px 18px; border-left:1px solid #e8ecf2; }
.followup-record-context strong { margin-top:5px; }
.followup-record-next { margin-top:16px; padding:14px 16px; border-radius:12px; background:#eef3ff; }
.followup-record-next>div>span { color:#1b4be5; }
.followup-record-next>div>strong { margin-top:5px; color:#172033; font-size:16px; line-height:24px; }
.followup-record-next>footer { display:grid; margin-top:12px; padding-top:12px; border-top:1px solid #d8e2fb; grid-template-columns:86px minmax(0,1fr); gap:2px 12px; }
.followup-record-next>footer span { grid-row:1/3; padding-top:1px; }
.followup-record-next>footer strong { color:#344054; }
.followup-record-next>footer p { margin:1px 0 0; }
.followup-record-empty { display:grid; min-height:220px; padding:24px; place-content:center; text-align:center; }
.followup-record-empty strong { color:#344054; font-size:14px; line-height:21px; }
.followup-record-empty p { max-width:34ch; margin:5px auto 0; color:#667085; font-size:14px; line-height:22px; }
.followup-record-focus { display:flex; flex-direction:column; }
.followup-record-focus>header { align-items:flex-start; background:var(--node-soft); border-bottom-color:var(--node-line); }
.followup-record-focus>header>div { min-width:0; }
.followup-record-focus>header h3 { color:var(--node-color); }
.followup-record-focus>header p { margin:3px 0 0; color:#526075; font-size:13px; line-height:20px; }
.followup-record-focus>header>span { padding:3px 8px; border-radius:999px; background:#fff; color:var(--node-color); font-size:13px; line-height:20px; font-weight:650; white-space:nowrap; }
.followup-record-focus>section { padding:13px 14px; border-bottom:1px solid #edf0f4; }
.followup-record-focus>section strong,.followup-record-focus>footer>span { color:#667085; font-size:13px; line-height:20px; font-weight:600; }
.followup-record-focus>section p { margin:5px 0 0; color:#263247; font-size:14px; line-height:22px; }
.followup-record-focus>dl { margin:0; padding:3px 14px; }
.followup-record-focus>dl>div { display:grid; padding:8px 0; border-bottom:1px solid #edf0f4; grid-template-columns:88px minmax(0,1fr); gap:9px; }
.followup-record-focus dt { color:#667085; font-size:13px; line-height:20px; }
.followup-record-focus dd { margin:0; color:#344054; font-size:13px; line-height:20px; font-weight:600; text-align:right; overflow-wrap:anywhere; }
.followup-record-focus>footer { margin-top:auto; padding:11px 14px 13px; background:#fafbfc; }
.followup-record-focus>footer p { margin:4px 0 0; color:#3f4d63; font-size:13px; line-height:20px; overflow-wrap:anywhere; }
.followup-record-focus>footer small { display:block; margin-top:5px; color:#667085; font-size:13px; line-height:20px; overflow-wrap:anywhere; }
.followup-detail-modal.is-record-board .modal-foot button { min-height:40px; font-size:14px; line-height:20px; }
@media(max-width:1040px){.followup-record-layout{grid-template-columns:188px minmax(360px,1fr)}.followup-record-focus{grid-column:1/-1;display:grid;grid-template-columns:minmax(220px,.8fr) minmax(260px,1fr);grid-template-rows:auto auto}.followup-record-focus>header{grid-column:1/-1}.followup-record-focus>dl{grid-column:2;grid-row:2/4}.followup-record-focus>footer{margin-top:0}.followup-detail-modal.is-record-board .followup-detail-card{height:min(840px,calc(100vh - 24px));max-height:calc(100vh - 24px)}}
@media(max-width:760px){.followup-detail-modal.is-record-board{width:100vw;height:100vh;margin:0;border-radius:0}.followup-detail-modal.is-record-board .followup-detail-card{height:100vh;max-height:none;padding:16px 14px 12px}.followup-detail-modal.is-record-board #followupDetailTitle{font-size:20px !important;line-height:28px !important}.followup-detail-modal.is-record-board #followupDetailBody{overflow-y:auto}.followup-record-board{height:auto}.followup-record-summary{grid-template-columns:1fr 1fr}.followup-record-summary>div:nth-child(2){border-right:0}.followup-record-summary>div:nth-child(-n+2){border-bottom:1px solid #e1e6ee}.followup-record-layout{grid-template-columns:1fr}.followup-record-nodes>div{grid-template-columns:1fr 1fr}.followup-record-brief{min-height:360px}.followup-record-context{grid-template-columns:1fr}.followup-record-context>section{padding:16px 0}.followup-record-context>section+section{padding:16px 0;border-top:1px solid #e8ecf2;border-left:0}.followup-record-next>footer{grid-template-columns:1fr}.followup-record-next>footer span{grid-row:auto}.followup-record-focus{display:flex;grid-column:auto;overflow-y:visible}.followup-record-focus>dl{grid-column:auto;grid-row:auto}.followup-detail-modal.is-record-board .modal-foot{flex-wrap:wrap}.followup-detail-modal.is-record-board .modal-foot .primary-button{flex:1 1 100%}}

/* The market crawl result has one business-facing metric: verified new records. */
.crawl-results-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:18px 24px 14px;padding:16px 18px;border-radius:12px;background:#f5f6f7}
.crawl-results-overview>div{display:flex;align-items:baseline;gap:7px}.crawl-results-overview span{color:#697386;font-size:13px}.crawl-results-overview strong{color:#17191c;font-size:28px;line-height:1.1;font-variant-numeric:tabular-nums}.crawl-results-overview b{color:#343a40;font-size:14px}.crawl-results-overview p{margin:0;color:#697386;font-size:13px}.crawl-results-overview p strong{margin:0 3px;font-size:16px}
.crawl-results-table-wrap{min-height:208px;max-height:min(48vh,420px);margin:0 24px;overflow:auto;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.crawl-results-table{width:100%;border-collapse:collapse;table-layout:fixed}.crawl-results-table th{position:sticky;top:0;z-index:1;height:38px;padding:0 14px;background:#f8f9fa;color:#697386;font-size:12px;font-weight:600;text-align:left}.crawl-results-table th:nth-child(1){width:34%}.crawl-results-table th:nth-child(2){width:22%}.crawl-results-table th:nth-child(3){width:17%}.crawl-results-table th:nth-child(4){width:27%}.crawl-results-table td{min-height:52px;padding:12px 14px;border-top:1px solid #edf0f4;color:#343a40;font-size:13px;line-height:20px;vertical-align:middle;overflow-wrap:anywhere}.crawl-results-table tbody tr:hover{background:#fafbfc}.crawl-results-table a,.crawl-results-table td>strong{color:#17191c;font-weight:600;text-decoration:none}.crawl-results-table a:hover{color:#1b4be5;text-decoration:underline;text-underline-offset:3px}.crawl-results-table .is-pending{color:#8a6100}.crawl-results-table-state{height:208px!important;color:#697386!important;text-align:center!important}.crawl-results-table-state.is-error{color:#c4322a!important}
.crawl-result-simple-foot{align-items:center}
.crawl-result-simple-foot .crawl-results-policy{max-width:560px}
@media(max-width:680px){.crawl-results-overview{align-items:flex-start;flex-direction:column;gap:8px;margin:14px 16px 12px}.crawl-results-table-wrap{margin:0 16px;border:0;overflow:visible}.crawl-results-table,.crawl-results-table tbody,.crawl-results-table tr,.crawl-results-table td{display:block;width:100%}.crawl-results-table thead{display:none}.crawl-results-table tbody{display:grid;gap:8px}.crawl-results-table tr{padding:12px 14px;border:1px solid #e5e7eb;border-radius:12px}.crawl-results-table td{display:grid;grid-template-columns:92px minmax(0,1fr);min-height:0;padding:5px 0;border:0}.crawl-results-table td::before{content:attr(data-label);color:#697386;font-size:12px}.crawl-results-table-state{display:block!important;height:auto!important;min-height:150px;padding:56px 16px!important}.crawl-results-table-state::before{display:none}.crawl-result-simple-foot{align-items:stretch}.crawl-result-simple-foot .crawl-results-policy{max-width:none}}
.crawl-evidence a{display:block;width:max-content;margin-top:3px;color:#1b4be5;font-size:12px;line-height:18px;font-weight:600}

.crawl-result-button[hidden]{display:none!important}
.crawl-results-modal{width:min(1120px,calc(100vw - 48px));max-width:none!important;padding:0!important;border:0!important;overflow:visible!important;background:transparent!important}
.crawl-results-card{display:flex!important;flex-direction:column;width:100%!important;max-height:calc(100vh - 40px);}
.crawl-results-list{min-height:180px;max-height:min(42vh,390px)}
@media(max-width:900px){.crawl-results-modal{width:min(760px,calc(100vw - 24px))}.crawl-results-card{width:100%!important}}


/* Analytics layout authority — keep this block last. */
.detail-modal{width:min(1040px,calc(100vw - 40px))!important}.detail-modal-card{height:min(730px,calc(100vh - 28px))!important;min-height:min(660px,calc(100vh - 28px))!important;padding:22px 28px 16px!important;overflow:hidden!important}.detail-modal-card .modal-head{display:flex!important;align-items:flex-start!important;min-height:50px;margin:0 0 12px!important}.detail-modal-card .modal-head>div{display:block!important;min-width:0}.detail-modal-card .modal-head h2{max-width:760px;overflow:hidden;font-size:22px!important;line-height:30px!important;text-overflow:ellipsis;white-space:nowrap}.detail-modal-card .modal-head p{display:block!important;margin:2px 0 0!important;font-size:13px!important;line-height:20px!important}.detail-modal-card>#modalCustomerBody{display:block!important;min-height:0!important;flex:1 1 auto!important;overflow:hidden!important}.proposal-analytics{display:grid!important;width:100%;height:100%;min-height:0;grid-template-rows:70px 190px minmax(210px,1fr) auto 20px!important;gap:10px!important}.analytics-metrics,.analytics-upper-grid,.analytics-card,.analytics-ai,.analytics-ai-grid,.analytics-ai-grid article{min-height:0}.analytics-metrics article{display:flex;flex-wrap:wrap;align-content:center;padding:10px 16px!important}.analytics-metrics article>span{width:100%}.analytics-upper-grid{grid-template-columns:1.05fr .95fr!important;gap:10px!important}.analytics-card{overflow:hidden}.analytics-card>header{min-height:54px;box-sizing:border-box;padding:10px 15px 8px!important}.analytics-path ol{height:130px;padding:0 15px 8px!important;overflow:hidden}.analytics-path li{min-height:32px!important}.analytics-path li span{white-space:nowrap}.analytics-bars{gap:7px!important;padding:0 15px 7px!important}.analytics-basis{margin:0 15px 8px!important;padding:6px 9px!important;overflow:hidden;font-size:12px!important;line-height:18px!important;text-overflow:ellipsis;white-space:nowrap!important}.analytics-ai{display:grid;grid-template-rows:55px minmax(0,1fr)}.analytics-ai-grid{grid-template-columns:1.2fr .8fr!important;overflow:hidden}.analytics-ai-grid article{padding:12px 15px!important;overflow:hidden}.analytics-ai-grid p{display:-webkit-box;margin:6px 0 9px!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3!important}.analytics-ai-grid ul{margin:6px 0 0;padding-inline-start:18px}.analytics-ai-grid li{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.analytics-ai-grid dl>div{padding:7px 9px!important}.analytics-recommendation{min-height:48px;box-sizing:border-box;padding:9px 13px!important}.analytics-recommendation p{display:-webkit-box;overflow:hidden;white-space:normal!important;-webkit-box-orient:vertical;-webkit-line-clamp:2}.analytics-disclaimer{align-self:center;margin:0 2px!important;overflow:hidden;font-size:12px!important;line-height:18px!important;text-overflow:ellipsis;white-space:nowrap}.detail-action-bar{min-height:48px!important;margin-top:10px!important;padding-top:10px!important}
@media(max-height:760px) and (min-width:761px){.detail-modal-card{height:calc(100vh - 18px)!important;min-height:0!important;padding-block:16px 12px!important}.proposal-analytics{grid-template-rows:62px 164px minmax(176px,1fr) auto 18px!important;gap:8px!important}.analytics-card>header{min-height:48px;padding-block:7px!important}.analytics-path ol{height:112px}}

/* Proposal analytics v3 final cascade: stable tracks prevent overlap. */
.detail-modal { width: min(1040px, calc(100vw - 40px)) !important; }
.detail-modal-card { height: min(730px, calc(100vh - 28px)) !important; min-height: min(660px, calc(100vh - 28px)) !important; padding: 22px 28px 16px !important; overflow: hidden !important; }
.detail-modal-card .modal-head { display:flex !important; align-items:flex-start !important; min-height:50px; margin:0 0 12px !important; }
.detail-modal-card .modal-head>div { display:block !important; min-width:0; }
.detail-modal-card .modal-head h2 { max-width:760px; overflow:hidden; font-size:22px !important; line-height:30px !important; text-overflow:ellipsis; white-space:nowrap; }
.detail-modal-card .modal-head p { display:block !important; margin:2px 0 0 !important; font-size:13px !important; line-height:20px !important; }
.detail-modal-card>#modalCustomerBody { display:block !important; min-height:0 !important; flex:1 1 auto !important; overflow:hidden !important; }
.proposal-analytics { display:grid !important; width:100%; height:100%; min-height:0; grid-template-rows:70px 190px minmax(210px,1fr) auto 20px !important; gap:10px !important; }
.analytics-metrics,.analytics-upper-grid,.analytics-card,.analytics-ai,.analytics-ai-grid,.analytics-ai-grid article { min-height:0; }
.analytics-metrics article { display:flex; flex-wrap:wrap; align-content:center; padding:10px 16px !important; }
.analytics-metrics article>span { width:100%; }
.analytics-upper-grid { grid-template-columns:1.05fr .95fr !important; gap:10px !important; }
.analytics-card { overflow:hidden; }
.analytics-card>header { min-height:54px; box-sizing:border-box; padding:10px 15px 8px !important; }
.analytics-path ol { height:130px; padding:0 15px 8px !important; overflow:hidden; }
.analytics-path li { min-height:32px !important; }
.analytics-path li span { text-overflow:ellipsis; white-space:nowrap; }
.analytics-bars { gap:7px !important; padding:0 15px 7px !important; }
.analytics-basis { margin:0 15px 8px !important; padding:6px 9px !important; overflow:hidden; font-size:12px !important; line-height:18px !important; text-overflow:ellipsis; white-space:nowrap !important; }
.analytics-ai { display:grid; grid-template-rows:55px minmax(0,1fr); }
.analytics-ai-grid { grid-template-columns:1.2fr .8fr !important; overflow:hidden; }
.analytics-ai-grid article { padding:12px 15px !important; overflow:hidden; }
.analytics-ai-grid p { display:-webkit-box; margin:6px 0 9px !important; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3 !important; }
.analytics-ai-grid ul { margin:6px 0 0; padding-inline-start:18px; }
.analytics-ai-grid li { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.analytics-ai-grid dl>div { padding:7px 9px !important; }
.analytics-recommendation { min-height:48px; box-sizing:border-box; padding:9px 13px !important; }
.analytics-recommendation p { display:-webkit-box; overflow:hidden; white-space:normal !important; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.analytics-disclaimer { align-self:center; margin:0 2px !important; overflow:hidden; font-size:12px !important; line-height:18px !important; text-overflow:ellipsis; white-space:nowrap; }
.detail-action-bar { min-height:48px !important; margin-top:10px !important; padding-top:10px !important; }
@media (max-height:760px) and (min-width:761px) {
  .detail-modal-card { height:calc(100vh - 18px) !important; min-height:0 !important; padding-block:16px 12px !important; }
  .proposal-analytics { grid-template-rows:62px 164px minmax(176px,1fr) auto 18px !important; gap:8px !important; }
  .analytics-card>header { min-height:48px; padding-block:7px !important; }
  .analytics-path ol { height:112px; }
}

/* Proposal analytics v3 — stable tracks, readable copy and no panel collisions. */
.detail-modal { width: min(1040px, calc(100vw - 40px)) !important; }
.detail-modal-card { height: min(730px, calc(100vh - 28px)) !important; min-height: min(660px, calc(100vh - 28px)) !important; padding: 22px 28px 16px !important; overflow: hidden !important; }
.detail-modal-card .modal-head { display: flex !important; align-items: flex-start !important; min-height: 50px; margin: 0 0 12px !important; }
.detail-modal-card .modal-head > div { display: block !important; min-width: 0; }
.detail-modal-card .modal-head h2 { max-width: 760px; overflow: hidden; font-size: 22px !important; line-height: 30px !important; text-overflow: ellipsis; white-space: nowrap; }
.detail-modal-card .modal-head p { display: block !important; margin: 2px 0 0 !important; font-size: 13px !important; line-height: 20px !important; }
.detail-modal-card > #modalCustomerBody { display: block !important; min-height: 0 !important; flex: 1 1 auto !important; overflow: hidden !important; }
.proposal-analytics { display: grid !important; width: 100%; height: 100%; min-height: 0; grid-template-rows: 70px 190px minmax(210px,1fr) auto 20px !important; gap: 10px !important; }
.analytics-metrics,.analytics-upper-grid,.analytics-card,.analytics-ai,.analytics-ai-grid,.analytics-ai-grid article { min-height: 0; }
.analytics-metrics article { display: flex; flex-wrap: wrap; align-content: center; padding: 10px 16px !important; }
.analytics-metrics article > span { width: 100%; }
.analytics-upper-grid { grid-template-columns: 1.05fr .95fr !important; gap: 10px !important; }
.analytics-card { overflow: hidden; }
.analytics-card > header { min-height: 54px; box-sizing: border-box; padding: 10px 15px 8px !important; }
.analytics-path ol { height: 130px; padding: 0 15px 8px !important; overflow: hidden; }
.analytics-path li { min-height: 32px !important; }
.analytics-path li span { text-overflow: ellipsis; white-space: nowrap; }
.analytics-bars { gap: 7px !important; padding: 0 15px 7px !important; }
.analytics-basis { margin: 0 15px 8px !important; padding: 6px 9px !important; overflow: hidden; font-size: 12px !important; line-height: 18px !important; text-overflow: ellipsis; white-space: nowrap !important; }
.analytics-ai { display: grid; grid-template-rows: 55px minmax(0,1fr); }
.analytics-ai-grid { grid-template-columns: 1.2fr .8fr !important; overflow: hidden; }
.analytics-ai-grid article { padding: 12px 15px !important; overflow: hidden; }
.analytics-ai-grid p { display: -webkit-box; margin: 6px 0 9px !important; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3 !important; }
.analytics-ai-grid ul { margin: 6px 0 0; padding-inline-start: 18px; }
.analytics-ai-grid li { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.analytics-ai-grid dl > div { padding: 7px 9px !important; }
.analytics-recommendation { min-height: 48px; box-sizing: border-box; padding: 9px 13px !important; }
.analytics-recommendation p { display: -webkit-box; overflow: hidden; white-space: normal !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.analytics-disclaimer { align-self: center; margin: 0 2px !important; overflow: hidden; font-size: 12px !important; line-height: 18px !important; text-overflow: ellipsis; white-space: nowrap; }
.detail-action-bar { min-height: 48px !important; margin-top: 10px !important; padding-top: 10px !important; }
@media (max-height: 760px) and (min-width: 761px) {
  .detail-modal-card { height: calc(100vh - 18px) !important; min-height: 0 !important; padding-block: 16px 12px !important; }
  .proposal-analytics { grid-template-rows: 62px 164px minmax(176px,1fr) auto 18px !important; gap: 8px !important; }
  .analytics-card > header { min-height: 48px; padding-block: 7px !important; }
  .analytics-path ol { height: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* V4 company intelligence: cached facts first, no decorative progress bar. */
.detail-v4-summary { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid #e3e8f0; border-radius:10px; margin:8px 0 14px; }
.detail-v4-summary div { display:grid; place-items:center; gap:5px; padding:13px; border-inline-end:1px solid #e3e8f0; }
.detail-v4-summary div:last-child { border:0; }
.detail-v4-summary span { color:#697386; font-size:12px; }
.detail-v4-summary strong { color:#126c49; font-size:20px; }
.detail-live-progress { margin: 0 0 14px; padding: 14px 16px; border: 1px solid #d8e0ec; border-radius: 12px; background: #f8fafc; }
.detail-live-progress header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.detail-live-progress header div { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.detail-live-progress header strong { color: #17191c; font-size: 14px; font-weight: 600; }
.detail-live-progress header span { color: #1b4be5; font-size: 13px; font-weight: 600; }
.detail-live-progress header p { margin: 0; color: #697386; font-size: 12px; line-height: 1.5; text-align: end; }
.detail-live-progress-track { height: 6px; margin-block: 12px; overflow: hidden; border-radius: 999px; background: #e5e9ef; }
.detail-live-progress-track > i { display: block; width: 100%; height: 100%; border-radius: inherit; background: #1b4be5; transform: scaleX(var(--progress-scale,0)); transform-origin: left center; transition: transform .25s ease-out; }
.detail-live-progress ul { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.detail-live-progress li { display: flex; align-items: center; min-width: 0; gap: 6px; color: #7a8493; font-size: 11px; }
.detail-live-progress li i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #c9d0da; }
.detail-live-progress li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-live-progress li b { display: none; }
.detail-live-progress li.is-running { color: #1b4be5; }
.detail-live-progress li.is-running i { background: #1b4be5; box-shadow: 0 0 0 3px #dfe8ff; }
.detail-live-progress li.is-done { color: #18865b; }
.detail-live-progress li.is-done i { background: #18865b; }
.detail-v4-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(320px,1fr); border:1px solid #e3e8f0; border-radius:10px; overflow:hidden; }
.detail-v4-left { border-inline-end:1px solid #e3e8f0; }
.detail-v4-grid section { padding:16px 18px; border-block-end:1px solid #e3e8f0; }
.detail-v4-grid section:last-child { border-block-end:0; }
.detail-v4-grid h3 { margin:0 0 10px; color:#172033; font-size:15px; }
.detail-v4-grid p { margin:0; color:#404b5d; font-size:13px; line-height:1.65; }
.detail-evidence-list,.detail-presence-list,.detail-provider-list { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.detail-evidence-list li { display:grid; grid-template-columns:100px minmax(0,1fr) 54px; align-items:start; gap:10px; padding:9px 10px; border:1px solid #edf0f4; border-radius:7px; }
.detail-evidence-list li>span { color:#526174; font-size:12px; font-weight:600; }
.detail-evidence-list li p { display:-webkit-box; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.detail-evidence-list a { color:#1b5ce5; font-size:12px; text-decoration:none; }
.detail-presence-list li,.detail-provider-list li { display:flex; justify-content:space-between; gap:12px; font-size:13px; }
.detail-presence-list span,.detail-provider-list span { color:#687386; }
.detail-presence-list b { color:#21835e; font-weight:600; }
.detail-provider-list b { color:#21835e; font-size:12px; }
.detail-provider-list b.is-cooldown,.detail-provider-list b.is-needs_login { color:#b46a09; }
.detail-job-state { margin-block-end:10px!important; color:#172033!important; font-weight:600; }
.detail-muted { color:#7a8493!important; }
@media (max-width:900px) { .detail-v4-summary { grid-template-columns:repeat(2,1fr); } .detail-v4-grid { grid-template-columns:1fr; } .detail-v4-left { border:0; } .detail-live-progress header { flex-direction: column; gap: 4px; } .detail-live-progress header p { text-align: start; } .detail-live-progress ul { grid-template-columns: 1fr; } .detail-live-progress li b { display: inline; margin-inline-start: auto; color: inherit; font-weight: 500; } }

/* Keep the customer-detail sheet and its content on the same width. */
.detail-modal {
  width: min(920px, calc(100vw - 32px));
  padding: 0;
  box-sizing: border-box;
}

.detail-modal-card {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.detail-modal-card > #modalCustomerBody {
  width: 100%;
  box-sizing: border-box;
}

/* v2.6 enterprise research: useful immediately, progressive by module. */
.detail-modal { width: min(1240px, calc(100vw - 48px)); }
.detail-modal-card { max-height: min(920px, calc(100vh - 40px)); padding: 26px 30px 22px; }
.detail-modal-card > #modalCustomerBody { padding-inline-end: 0; }
.company-detail-intro { padding: 4px 0 18px; }
.company-detail-intro p { max-width: 92ch; margin: 0; color: #343a40; font-size: 14px; line-height: 1.75; }
.detail-analysis-progress { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0 16px; border-block: 1px solid #e5e7eb; }
.detail-analysis-progress > div { display: flex; align-items: center; gap: 14px; min-width: 0; }
.detail-analysis-progress strong { color: #17191c; font-size: 15px; font-weight: 600; white-space: nowrap; }
.detail-analysis-progress p { margin: 0; color: #697386; font-size: 13px; text-align: end; }
.detail-progress-dots { display: flex; gap: 8px; }
.detail-progress-dots i { width: 10px; height: 10px; border-radius: 50%; background: #dce1e9; }
.detail-progress-dots i.is-done { background: #1c9a68; }
.detail-progress-dots i.is-active { border: 3px solid #dbe8ff; background: #1b4be5; box-sizing: border-box; }
.company-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.company-detail-module { min-width: 0; min-height: 176px; padding: 22px 20px 18px 8px; border-block-end: 1px solid #e5e7eb; }
.company-detail-module:nth-child(odd) { padding-inline-end: 28px; border-inline-end: 1px solid #e5e7eb; }
.company-detail-module:nth-child(even) { padding-inline-start: 28px; }
.company-detail-module header { display: flex; align-items: center; gap: 9px; margin-block-end: 18px; }
.company-detail-module header > svg { width: 22px; height: 22px; flex: 0 0 auto; color: #1b4be5; stroke: currentColor; }
.company-detail-module:nth-child(2) header > svg { color: #7357e8; }
.company-detail-module:nth-child(3) header > svg { color: #18865b; }
.company-detail-module:nth-child(4) header > svg { color: #b96800; }
.company-detail-module:nth-child(5) header > svg { color: #2775c9; }
.company-detail-module:nth-child(6) header > svg { color: #6b57d9; }
.company-detail-module h3 { margin: 0; color: #17191c; font-size: 16px; font-weight: 600; }
.detail-module-status { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 3px; padding: 4px 9px; border-radius: 999px; font-size: 12px; line-height: 1; font-weight: 500; }
.detail-module-status.is-done { color: #18865b; background: #eaf7f1; }
.detail-module-status.is-analyzing { color: #1b4be5; background: #eef3ff; }
.detail-module-status.is-queued { color: #b96800; background: #fff4e5; }
.detail-module-status.is-empty { color: #697386; background: #f5f6f7; }
.detail-module-status.is-failed { color: #c4322a; background: #fff0ef; }
.detail-spinner { width: 12px; height: 12px; border: 2px dotted currentColor; border-radius: 50%; animation: detail-spinner 1.1s linear infinite; }
@keyframes detail-spinner { to { transform: rotate(360deg); } }
.detail-fact-list,.detail-check-list { display: grid; gap: 12px; margin: 0; }
.detail-fact-list > div,.detail-check-list > div { display: grid; grid-template-columns: 128px minmax(0,1fr); gap: 14px; }
.detail-fact-list dt,.detail-check-list dt { color: #697386; font-size: 14px; }
.detail-fact-list dd,.detail-check-list dd { min-width: 0; margin: 0; color: #343a40; font-size: 14px; overflow-wrap: anywhere; }
.detail-check-list dd { color: #1b4be5; }
.detail-check-list.is-geo dd { color: #b96800; }
.detail-skeleton { display: grid; gap: 10px; margin: 2px 0 18px; }
.detail-skeleton i { width: var(--skeleton-width); height: 14px; border-radius: 7px; background: #edf0f4; overflow: hidden; position: relative; }
.detail-skeleton i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); transform: translateX(-100%); animation: detail-shimmer 1.5s ease-in-out infinite; }
@keyframes detail-shimmer { to { transform: translateX(100%); } }
.detail-working-copy,.detail-no-result { margin: 0; color: #4f5968; font-size: 14px; line-height: 1.65; }
.detail-working-copy::after { content: "•••"; float: inline-end; color: #1b4be5; letter-spacing: 4px; }
.detail-action-bar { padding-block-start: 16px; }

@media (max-width: 900px) {
  .detail-modal { width: min(720px, calc(100vw - 24px)); }
  .detail-modal-card { padding: 22px 20px 18px; }
  .detail-analysis-progress { align-items: flex-start; flex-direction: column; gap: 8px; }
  .detail-analysis-progress p { text-align: start; }
  .company-detail-grid { grid-template-columns: 1fr; }
  .company-detail-module:nth-child(n) { padding: 20px 4px; border-inline-end: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .detail-spinner,.detail-skeleton i::after { animation: none; }
}

/* Customer proposal analytics: compact, evidence-led and aligned with the existing detail dialog. */
.detail-modal { width: min(980px, calc(100vw - 40px)); }
.detail-modal-card { height: auto !important; max-height: calc(100vh - 24px) !important; padding: 18px 24px 12px !important; overflow: hidden !important; }
.detail-modal-card .modal-head { margin-bottom: 10px; }
.detail-modal-card .modal-head h2 { margin: 0; color: #17191c; font-size: 22px; line-height: 1.25; }
.detail-modal-card .modal-head p { margin: 5px 0 0; color: #7a8493; font-size: 12px; }
.detail-modal-card > #modalCustomerBody { display: block !important; min-height: 0; margin-top: 4px !important; overflow: hidden !important; padding-right: 0 !important; flex: 0 0 auto !important; scrollbar-gutter: auto !important; }
.proposal-analytics { display: grid; gap: 8px; }
.analytics-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid #e3e8f0; border-radius: 12px; background: #f8fafc; }
.analytics-metrics article { position: relative; min-width: 0; padding: 9px 14px; border-right: 1px solid #e3e8f0; }
.analytics-metrics article:last-child { border-right: 0; }
.analytics-metrics span { display: block; margin-bottom: 3px; color: #7a8493; font-size: 11px; }
.analytics-metrics strong { color: #17191c; font-size: 20px; line-height: 1; }
.analytics-metrics strong.is-status { font-size: 16px; }
.analytics-metrics small { margin-left: 4px; color: #7a8493; font-size: 11px; }
.analytics-upper-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 8px; }
.analytics-card { min-width: 0; border: 1px solid #e3e8f0; border-radius: 12px; background: #fff; }
.analytics-card > header { display: flex; align-items: center; gap: 8px; padding: 9px 13px 7px; }
.analytics-card > header > div { min-width: 0; }
.analytics-card h3 { margin: 0; color: #17191c; font-size: 15px; line-height: 1.35; }
.analytics-card header p { margin: 2px 0 0; color: #8a94a3; font-size: 11px; }
.analytics-icon { display: grid; width: 24px; height: 24px; place-items: center; flex: 0 0 auto; border-radius: 7px; color: #fff; font-size: 9px; font-weight: 700; }
.analytics-icon.is-green { background: #18865b; }
.analytics-icon.is-gold { background: #b96800; }
.analytics-icon.is-blue { background: #1b4be5; }
.analytics-path ol { display: grid; margin: 0; padding: 0 13px 8px; list-style: none; }
.analytics-path li { display: grid; grid-template-columns: 12px minmax(0,1fr) auto; align-items: center; min-height: 31px; gap: 7px; border-top: 1px solid #edf0f4; }
.analytics-path li > i { width: 8px; height: 8px; border: 2px solid #c6ced9; border-radius: 50%; background: #fff; }
.analytics-path li.is-current > i { border-color: #1d8b62; box-shadow: 0 0 0 3px #e6f4ee; }
.analytics-path li div { display: flex; align-items: baseline; min-width: 0; gap: 8px; }
.analytics-path li strong { color: #22262b; font-size: 12px; white-space: nowrap; }
.analytics-path li span { min-width: 0; overflow: hidden; color: #7a8493; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.analytics-path time { color: #8a94a3; font-size: 10px; white-space: nowrap; }
.analytics-bars { display: grid; gap: 7px; padding: 0 13px 7px; }
.analytics-bars > div > div { display: flex; justify-content: space-between; margin-bottom: 6px; color: #525d6d; font-size: 12px; }
.analytics-bars b { color: #2e3948; font-size: 11px; }
.analytics-bars i { display: block; height: 5px; overflow: hidden; border-radius: 999px; background: #edf0f4; }
.analytics-bars em { display: block; height: 100%; border-radius: inherit; background: #1b4be5; }
.analytics-basis { margin: 0 13px 8px; padding: 6px 8px; overflow: hidden; border-radius: 7px; background: #f7f8fa; color: #7a8493; font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.analytics-ai > header { border-bottom: 1px solid #edf0f4; }
.analytics-level { margin-left: auto; padding: 5px 9px; border-radius: 999px; background: #fff3d9; color: #916319; font-size: 11px; font-weight: 600; }
.analytics-ai-grid { display: grid; grid-template-columns: 1.18fr .82fr; }
.analytics-ai-grid article { min-width: 0; padding: 9px 13px; }
.analytics-ai-grid article + article { border-left: 1px solid #edf0f4; }
.analytics-ai-grid article > span { color: #1b4be5; font-size: 11px; font-weight: 700; }
.analytics-ai-grid p,.analytics-ai-grid li { color: #4f5968; font-size: 11px; line-height: 1.48; }
.analytics-ai-grid p { display: -webkit-box; margin: 4px 0 6px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.analytics-ai-grid ul { display: grid; gap: 3px; margin: 4px 0 0; padding-left: 15px; }
.analytics-ai-grid dl { display: flex; gap: 8px; margin: 0; }
.analytics-ai-grid dl > div { flex: 1; padding: 6px 8px; border-radius: 7px; background: #f7f8fa; }
.analytics-ai-grid dt { color: #8a94a3; font-size: 10px; }
.analytics-ai-grid dd { margin: 3px 0 0; color: #2e3948; font-size: 11px; font-weight: 600; }
.analytics-recommendation { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: start; gap: 8px; padding: 8px 11px; border: 1px solid #ead5a5; border-radius: 9px; background: #fff9eb; }
.analytics-recommendation span { color: #8f6219; font-size: 12px; font-weight: 700; }
.analytics-recommendation p { margin: 0; overflow: hidden; color: #5b4c31; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.analytics-disclaimer { margin: -2px 2px 0; color: #949cab; font-size: 10px; }
.analytics-loading { display: grid; min-height: 420px; place-content: center; justify-items: center; gap: 10px; color: #697386; }
.analytics-loading i { width: 28px; height: 28px; border: 3px solid #e1e6ee; border-top-color: #1b4be5; border-radius: 50%; animation: detail-spinner .9s linear infinite; }
.analytics-loading strong { color: #272c33; font-size: 14px; }
.analytics-loading span { font-size: 12px; }
.detail-action-bar { min-height: 42px; margin-top: 8px !important; padding-top: 8px !important; }
.detail-action-bar #detailPrimaryAction { min-width: 112px; }
.detail-action-bar #detailPrimaryAction { border-color: var(--ui-brand,#3e5abd); background: var(--ui-brand,#3e5abd); color: #fff; }

@media (max-width: 760px) {
  .detail-modal { width: min(calc(100% - 20px), 620px); }
  .detail-modal-card { max-height: calc(100vh - 20px); padding: 20px 16px 14px; }
  .analytics-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .analytics-metrics article:nth-child(2) { border-right: 0; }
  .analytics-metrics article:nth-child(-n+2) { border-bottom: 1px solid #e3e8f0; }
  .analytics-upper-grid,.analytics-ai-grid { grid-template-columns: 1fr; }
  .analytics-ai-grid article + article { border-top: 1px solid #edf0f4; border-left: 0; }
}

/* Readable proposal analytics sizing — intentionally last in the cascade. */
.detail-modal { width: min(1020px,calc(100vw - 40px)) !important; }
.detail-modal-card { height: min(690px,calc(100vh - 32px)) !important; min-height: min(620px,calc(100vh - 32px)); padding: 22px 28px 16px !important; }
.detail-modal-card > #modalCustomerBody { display: flex !important; flex: 1 1 auto !important; overflow: hidden !important; }
.proposal-analytics { width: 100%; height: 100%; grid-template-rows: auto minmax(150px,.9fr) minmax(190px,1.1fr) auto auto; gap: 12px; }
.detail-modal-card .modal-head h2 { font-size: 23px !important; line-height: 32px !important; }
.detail-modal-card .modal-head p,.analytics-metrics span,.analytics-metrics small,.analytics-card header p,.analytics-path li strong,.analytics-path li span,.analytics-path time,.analytics-bars > div > div,.analytics-bars b,.analytics-basis,.analytics-level,.analytics-ai-grid article > span,.analytics-ai-grid p,.analytics-ai-grid li,.analytics-ai-grid dt,.analytics-ai-grid dd,.analytics-recommendation span,.analytics-recommendation p,.analytics-disclaimer { font-size: 13px !important; line-height: 20px !important; }
.analytics-metrics article { padding: 13px 16px; }
.analytics-metrics strong { font-size: 24px; }
.analytics-metrics strong.is-status { font-size: 18px; }
.analytics-card > header { padding: 13px 16px 10px; }
.analytics-card h3 { font-size: 16px; line-height: 23px; }
.analytics-icon { width: 28px; height: 28px; font-size: 11px; }
.analytics-path ol { padding: 0 16px 12px; }
.analytics-path li { min-height: 38px; }
.analytics-bars { gap: 10px; padding: 2px 16px 12px; }
.analytics-bars i { height: 7px; }
.analytics-basis { margin: 0 16px 12px; padding: 9px 11px; white-space: normal; }
.analytics-ai-grid article { padding: 13px 16px; }
.analytics-ai-grid p { margin: 7px 0 10px; -webkit-line-clamp: 4; }
.analytics-ai-grid dl > div { padding: 9px 11px; }
.analytics-recommendation { grid-template-columns: 76px minmax(0,1fr); padding: 11px 14px; }
.analytics-recommendation p { white-space: normal; }
.detail-action-bar { min-height: 48px; margin-top: 12px !important; padding-top: 12px !important; }
@media (max-height:700px) { .detail-modal-card { height: calc(100vh - 20px) !important; min-height: 0; }.proposal-analytics { grid-template-rows:auto auto auto auto auto; } }

/* Simplified proposal analytics — single final authority. */
.detail-modal.is-analytics {
  width: min(960px,calc(100vw - 40px)) !important;
}
.detail-modal.is-analytics .detail-modal-card {
  display: flex;
  height: auto !important;
  min-height: 0 !important;
  max-height: min(680px,calc(100vh - 32px)) !important;
  overflow: hidden !important;
}
.detail-modal.is-analytics .modal-head {
  flex: 0 0 auto;
}
.detail-modal.is-analytics .modal-head > div {
  min-width: 0;
}
.detail-modal.is-analytics .modal-head h2 {
  max-width: 760px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-modal.is-analytics .detail-modal-card > #modalCustomerBody {
  display: block !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  flex: 1 1 auto !important;
}
.detail-modal.is-analytics .proposal-analytics {
  display: flex !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 4px 2px 0;
  gap: 12px !important;
  flex-direction: column;
}
.detail-modal.is-analytics .proposal-analytics > * {
  min-height: 0 !important;
  flex: 0 0 auto;
}
.detail-modal.is-analytics .analytics-metrics {
  display: grid;
  min-height: 0 !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}
.detail-modal.is-analytics .analytics-metrics article {
  display: grid;
  min-width: 0;
  min-height: 74px !important;
  box-sizing: border-box;
  padding: 11px 16px !important;
  align-content: center;
  grid-template-columns: auto minmax(0,1fr);
}
.detail-modal.is-analytics .analytics-metrics article:nth-child(2) {
  border-right: 1px solid #e3e8f0;
}
.detail-modal.is-analytics .analytics-metrics article > span {
  width: 100%;
  margin: 0 0 5px;
  grid-column: 1 / -1;
}
.detail-modal.is-analytics .analytics-metrics strong {
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-modal.is-analytics .analytics-metrics small {
  min-width: 0;
  margin-left: 7px;
  overflow: hidden;
  align-self: end;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-modal.is-analytics .analytics-card {
  min-width: 0;
  overflow: visible;
}
.detail-modal.is-analytics .analytics-card > header {
  display: flex;
  min-height: 48px !important;
  box-sizing: border-box;
  padding: 11px 16px 9px !important;
  align-items: center;
}
.detail-modal.is-analytics .analytics-card > header > svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  color: #1b4be5;
  flex: 0 0 auto;
}
.detail-modal.is-analytics .analytics-card h3 {
  min-width: 0;
  margin: 0;
}
.detail-modal.is-analytics .analytics-context {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  color: #727d8c;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-modal.is-analytics .analytics-funnel-track {
  display: grid;
  min-height: 0 !important;
  padding: 14px 16px 16px;
  grid-template-columns: repeat(6,minmax(0,1fr));
}
.detail-modal.is-analytics .analytics-funnel-track article {
  min-width: 0;
}
.detail-modal.is-analytics .analytics-funnel-track article > div {
  min-width: 0;
}
.detail-modal.is-analytics .analytics-action > header {
  border-bottom: 1px solid #edf0f4;
}
.detail-modal.is-analytics .analytics-level {
  margin-left: auto;
  white-space: nowrap;
}
.detail-modal.is-analytics .analytics-action-body {
  display: grid;
  grid-template-columns: minmax(150px,.72fr) minmax(0,1.65fr) minmax(110px,.55fr);
}
.detail-modal.is-analytics .analytics-action-body article {
  min-width: 0;
  padding: 14px 16px;
}
.detail-modal.is-analytics .analytics-action-body article + article {
  border-left: 1px solid #edf0f4;
}
.detail-modal.is-analytics .analytics-action-body span {
  display: block;
  margin-bottom: 6px;
  color: #1b4be5;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
}
.detail-modal.is-analytics .analytics-action-body p {
  margin: 0;
  color: #4f5968;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.detail-modal.is-analytics .analytics-action-body p strong {
  color: #17191c;
  font-size: 18px;
}
.detail-modal.is-analytics .analytics-action footer {
  padding: 8px 16px 10px;
  border-top: 1px solid #f1f3f6;
  color: #8a94a3;
  font-size: 11px;
  line-height: 16px;
  overflow-wrap: anywhere;
}
.detail-modal.is-analytics .detail-action-bar {
  min-height: 48px !important;
  margin-top: 12px !important;
  padding-top: 12px !important;
  background: #fff;
  flex: 0 0 auto;
}
@media (max-width:760px) {
  .detail-modal.is-analytics {
    width: 100vw !important;
    height: 100dvh;
    margin: 0;
    border-radius: 0 !important;
  }
  .detail-modal.is-analytics .detail-modal-card {
    width: 100%;
    height: 100dvh !important;
    max-height: none !important;
    padding: 16px 13px 10px !important;
  }
  .detail-modal.is-analytics .modal-head {
    min-height: 0;
    margin-bottom: 10px !important;
  }
  .detail-modal.is-analytics .modal-head h2 {
    max-width: calc(100vw - 82px);
    font-size: 18px !important;
    line-height: 25px !important;
  }
  .detail-modal.is-analytics .modal-head p {
    display: none !important;
  }
  .detail-modal.is-analytics .detail-modal-card > #modalCustomerBody {
    padding-right: 0 !important;
    scrollbar-gutter: auto;
  }
  .detail-modal.is-analytics .proposal-analytics {
    padding-right: 0;
    gap: 10px !important;
  }
  .detail-modal.is-analytics .analytics-metrics {
    min-height: 0 !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
  .detail-modal.is-analytics .analytics-metrics article {
    min-height: 74px !important;
    padding: 10px 8px !important;
    border-bottom: 0 !important;
    grid-template-columns: 1fr;
  }
  .detail-modal.is-analytics .analytics-metrics article:not(:last-child) {
    border-right: 1px solid #e3e8f0 !important;
  }
  .detail-modal.is-analytics .analytics-metrics article > span {
    margin-bottom: 5px;
    font-size: 10px !important;
    line-height: 15px !important;
  }
  .detail-modal.is-analytics .analytics-metrics strong,
  .detail-modal.is-analytics .analytics-metrics strong.is-status {
    overflow: hidden;
    font-size: 17px !important;
    line-height: 22px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .detail-modal.is-analytics .analytics-metrics small {
    margin: 2px 0 0;
    overflow: hidden;
    font-size: 9px !important;
    line-height: 14px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .detail-modal.is-analytics .analytics-card > header {
    min-height: 43px !important;
    padding: 9px 11px 7px !important;
  }
  .detail-modal.is-analytics .analytics-card > header > svg {
    width: 18px;
    height: 18px;
  }
  .detail-modal.is-analytics .analytics-card h3 {
    font-size: 14px;
    line-height: 20px;
  }
  .detail-modal.is-analytics .analytics-context {
    max-width: 52%;
    font-size: 10px;
  }
  .detail-modal.is-analytics .analytics-funnel-track {
    padding: 11px 11px 13px;
    row-gap: 13px;
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .detail-modal.is-analytics .analytics-funnel-track article {
    gap: 7px;
  }
  .detail-modal.is-analytics .analytics-funnel-track article::after {
    display: none !important;
  }
  .detail-modal.is-analytics .analytics-funnel-track i {
    width: 24px;
    height: 24px;
  }
  .detail-modal.is-analytics .analytics-funnel-track strong {
    font-size: 11px;
    line-height: 16px;
  }
  .detail-modal.is-analytics .analytics-funnel-track span {
    font-size: 9px;
    line-height: 14px;
  }
  .detail-modal.is-analytics .analytics-action-body {
    grid-template-columns: 1fr;
  }
  .detail-modal.is-analytics .analytics-action-body article {
    padding: 10px 12px;
  }
  .detail-modal.is-analytics .analytics-action-body article + article {
    border-top: 1px solid #edf0f4;
    border-left: 0;
  }
  .detail-modal.is-analytics .analytics-action-body span {
    margin-bottom: 3px;
    font-size: 10px;
    line-height: 15px;
  }
  .detail-modal.is-analytics .analytics-action-body p {
    font-size: 12px;
    line-height: 1.55;
  }
  .detail-modal.is-analytics .analytics-action-body p strong {
    font-size: 15px;
  }
  .detail-modal.is-analytics .analytics-action footer {
    padding: 7px 12px 8px;
    font-size: 9px;
    line-height: 14px;
  }
  .detail-modal.is-analytics .detail-action-bar {
    min-height: 44px !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
  }
}
/* Supervisor workbench: preserves the live OCTANS visual language. */
.workbench-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 14px;
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f5f6f7;
}
.workbench-tabs[hidden] { display: none !important; }
.workbench-tabs button {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #697386;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.workbench-tabs button.is-active {
  border-color: #dfe3e8;
  background: #fff;
  color: #17191c;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .06);
}
.workbench-tabs button:focus-visible { outline: 2px solid #1b4be5; outline-offset: 2px; }
.workbench-tabs b {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  place-items: center;
  border-radius: 999px;
  background: #eef3ff;
  color: #1b4be5;
  font-size: 12px;
}
.team-workbench[hidden], .pending-workbench[hidden], #personalWorkbench[hidden] { display: none !important; }
.team-workbench, .pending-workbench { min-width: 0; }
.team-workbench-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.team-workbench-head h1 { margin: 0 0 5px; color: #17191c; font-size: 22px; line-height: 1.3; }
.team-workbench-head p { margin: 0; color: #697386; font-size: 13px; }
.team-workbench-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  align-items: start;
}
.team-progress-panel, .pending-assignment-panel, .pending-full-panel { overflow: hidden; }
.team-progress-table { min-width: 760px; }
.team-progress-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.35fr) 82px 70px 62px 82px minmax(120px, .9fr) 90px;
  gap: 12px;
  min-height: 64px;
  padding: 10px 16px;
  align-items: center;
  border-bottom: 1px solid #edf0f3;
  color: #343a40;
  font-size: 13px;
}
.team-progress-row:last-child { border-bottom: 0; }
.team-progress-row.is-head { min-height: 44px; color: #697386; font-size: 12px; font-weight: 500; }
.team-member { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.team-member b { overflow: hidden; color: #17191c; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.team-member small { color: #697386; font-size: 12px; }
.team-done { color: #18865b; }
.team-overdue { color: #c4322a; }
.team-rate { display: flex; align-items: center; gap: 8px; }
.team-rate i { display: block; width: 72px; height: 6px; overflow: hidden; border-radius: 999px; background: #eceff2; }
.team-rate i b { display: block; height: 100%; border-radius: inherit; background: #18865b; }
.team-rate small { min-width: 30px; color: #697386; font-size: 12px; }
.pending-assignment-panel .panel-head { min-height: 70px; }
.pending-assignment-panel .panel-head > span { color: #697386; font-size: 12px; }
.pending-mini-row {
  display: flex;
  min-height: 67px;
  padding: 11px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf0f3;
}
.pending-mini-row > div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.pending-mini-row strong { overflow: hidden; color: #17191c; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pending-mini-row small { color: #697386; font-size: 12px; }
.pending-mini-row button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #1b4be5;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.team-empty-state { padding: 56px 24px; text-align: center; }
.team-empty-state.compact { padding: 38px 18px; }
.team-empty-state strong { color: #343a40; font-size: 14px; }
.team-empty-state p { margin: 7px 0 0; color: #697386; font-size: 12px; line-height: 1.6; }
.pending-full-toolbar {
  display: flex;
  min-height: 66px;
  padding: 12px 16px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #e5e7eb;
}
.pending-full-toolbar > span { margin-right: auto; color: #697386; font-size: 13px; }
.pending-full-toolbar label { display: flex; align-items: center; gap: 8px; color: #697386; font-size: 12px; }
.pending-full-toolbar select {
  min-width: 160px;
  height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid #d3d7de;
  border-radius: 10px;
  background: #fff;
  color: #343a40;
  font: inherit;
  font-size: 13px;
}
.pending-full-row {
  display: grid;
  grid-template-columns: 42px minmax(220px, 1.5fr) minmax(170px, 1fr) 72px 110px 92px;
  gap: 14px;
  min-height: 62px;
  padding: 9px 16px;
  align-items: center;
  border-bottom: 1px solid #edf0f3;
  color: #343a40;
  font-size: 13px;
}
.pending-full-row.is-head { min-height: 43px; color: #697386; font-size: 12px; font-weight: 500; }
.pending-full-row > span { min-width: 0; }
.pending-full-row > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.pending-full-row > span:nth-child(2) strong { overflow: hidden; color: #17191c; text-overflow: ellipsis; white-space: nowrap; }
.pending-full-row > span:nth-child(2) small { color: #697386; font-size: 12px; }
.pending-check { position: relative; display: grid; width: 22px; height: 22px; place-items: center; }
.pending-check input { position: absolute; opacity: 0; }
.pending-check span { width: 17px; height: 17px; border: 1px solid #aab2bf; border-radius: 5px; background: #fff; }
.pending-check input:checked + span { border-color: #1b4be5; background: #1b4be5; box-shadow: inset 0 0 0 4px #fff; }
.pending-check input:focus-visible + span { outline: 2px solid #1b4be5; outline-offset: 2px; }
.pack-ready-label { color: #18865b; font-size: 12px; font-weight: 500; }
.daily-task-chip {
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef3ff;
  color: #1b4be5;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}
.daily-task-chip.is-completed { background: #edf8f3; color: #18865b; }
.task-row.is-completed { background: #fbfdfc; }

@media (max-width: 1280px) {
  .team-workbench-layout { grid-template-columns: 1fr; }
  .pending-assignment-panel { display: none; }
  .team-progress-panel, .pending-full-panel { overflow-x: auto; }
}
@media (max-width: 767px) {
  .workbench-tabs { display: flex; width: 100%; overflow-x: auto; }
  .workbench-tabs button { flex: 1 0 auto; }
  .team-workbench-head { align-items: flex-start; flex-direction: column; }
  .team-workbench-head .secondary-button { width: 100%; }
  .team-progress-panel, .pending-full-panel { overflow-x: hidden; }
  .team-progress-table, .pending-full-list { min-width: 0; }
  .team-progress-row.is-head, .pending-full-row.is-head { display: none; }
  .team-progress-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 8px;
    min-height: 0;
    padding: 16px;
  }
  .team-progress-row .team-member { grid-column: 1 / 4; }
  .team-progress-row > button { grid-column: 4; grid-row: 1; align-self: center; justify-self: end; }
  .team-progress-row > strong { display: flex; min-width: 0; flex-direction: column; gap: 3px; font-size: 13px; }
  .team-progress-row > strong::before { color: #8a94a3; font-size: 10px; font-weight: 400; }
  .team-progress-row > strong:nth-child(2)::before { content: "今日"; }
  .team-progress-row > strong:nth-child(3)::before { content: "已处理"; }
  .team-progress-row > strong:nth-child(4)::before { content: "逾期"; }
  .team-progress-row > strong:nth-child(5)::before { content: "名下"; }
  .team-progress-row .team-rate { grid-column: 1 / 5; }
  .team-progress-row .team-rate i { width: 100%; }
  .pending-full-toolbar { align-items: stretch; flex-direction: column; }
  .pending-full-toolbar > span { margin-right: 0; }
  .pending-full-toolbar label { justify-content: space-between; }
  .pending-full-toolbar select { width: min(100%, 220px); min-width: 0; }
  .pending-full-row {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 4px 10px;
    min-height: 82px;
    padding: 12px 14px;
  }
  .pending-full-row .pending-check { grid-column: 1; grid-row: 1 / 4; align-self: center; }
  .pending-full-row > span:nth-child(2) { grid-column: 2; grid-row: 1; }
  .pending-full-row > span:nth-child(2) strong { white-space: normal; }
  .pending-full-row > span:nth-child(3) { grid-column: 2; grid-row: 2; color: #697386; font-size: 12px; }
  .pending-full-row > strong:nth-child(4) { grid-column: 3; grid-row: 2; font-size: 12px; }
  .pending-full-row > strong:nth-child(4)::after { content: "分"; color: #697386; font-weight: 400; }
  .pending-full-row > span:nth-child(5) { grid-column: 2; grid-row: 3; }
  .pending-full-row > button:nth-child(6) { grid-column: 3; grid-row: 1; align-self: center; white-space: nowrap; }
}

/* Analytics scoreboard activation — keep after legacy analytics rules. */
.detail-modal.is-analytics {
  width: min(1120px,calc(100vw - 44px)) !important;
}
.detail-modal.is-analytics .detail-modal-card {
  height: min(724px,calc(100vh - 48px)) !important;
  min-height: 0 !important;
  max-height: calc(100vh - 48px) !important;
  padding: 18px 24px 12px !important;
  overflow: hidden !important;
}
.detail-modal.is-analytics .modal-head {
  min-height: 50px !important;
  margin: 0 0 12px !important;
}
.detail-modal.is-analytics .modal-head h2 {
  max-width: 900px;
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 650;
}
.detail-modal.is-analytics .modal-head p {
  display: block !important;
  margin-top: 3px !important;
  color: #697386;
  font-size: 13px !important;
  line-height: 20px !important;
}
.detail-modal.is-analytics .detail-modal-card > #modalCustomerBody {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  flex: 1 1 auto !important;
}
.detail-modal.is-analytics .detail-action-bar {
  min-height: 52px !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
}
@media (max-width:760px) {
  .detail-modal.is-analytics {
    width: 100vw !important;
    height: 100dvh;
    margin: 0;
    border-radius: 0 !important;
  }
  .detail-modal.is-analytics .detail-modal-card {
    width: 100%;
    height: 100dvh !important;
    max-height: none !important;
    padding: 14px 13px 10px !important;
  }
  .detail-modal.is-analytics .modal-head {
    min-height: 42px !important;
    margin-bottom: 8px !important;
  }
  .detail-modal.is-analytics .modal-head h2 {
    max-width: calc(100vw - 76px);
    font-size: 17px !important;
    line-height: 24px !important;
  }
  .detail-modal.is-analytics .modal-head p {
    display: none !important;
  }
  .detail-modal.is-analytics .detail-modal-card > #modalCustomerBody {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  .detail-modal.is-analytics .detail-action-bar {
    min-height: 46px !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
  }
}
/* Source-backed daily intelligence: one bounded flow inside the fixed home card. */
#view-home .insight-panel {
  display: grid;
  min-height: 0;
  overflow: hidden;
  grid-template-rows: auto minmax(0, 1fr);
}
#view-home .insight-body {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 12px 18px 14px !important;
  overflow: hidden !important;
  box-sizing: border-box;
}
#view-home .daily-advice-topic {
  display: grid;
  min-width: 0;
  min-height: 0;
  gap: 7px;
  align-content: start;
  overflow: hidden;
}
#view-home .daily-advice-topic > strong {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ui-text, #17191c);
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
#view-home .insight-body .daily-advice-topic .advice-paragraph {
  display: -webkit-box !important;
  max-height: 40px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: var(--ui-text-secondary, #566276) !important;
  font-size: 13px !important;
  line-height: 20px !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
}
#view-home .daily-intelligence-actions {
  display: grid;
  min-height: 0;
  gap: 4px;
  margin: 1px 0 0;
  padding-top: 7px;
  border-top: 1px solid var(--ui-line, #e5e7eb);
}
#view-home .daily-intelligence-actions span {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ui-text-secondary, #697386);
  font-size: 13px !important;
  line-height: 19px !important;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

/* Customer behavior analytics v2 — one desktop dialog, visitor pagination instead of inner scrollbars. */
.detail-modal.is-analytics { width:min(1260px,calc(100vw - 40px)) !important; }
.detail-modal.is-analytics .detail-modal-card { height:min(760px,calc(100vh - 30px)) !important; max-height:calc(100vh - 30px) !important; padding:18px 24px 12px !important; }
.detail-modal.is-analytics .detail-modal-card > #modalCustomerBody { overflow:hidden !important; }
.analytics-behavior { display:grid; height:100%; min-height:0; gap:10px; grid-template-rows:minmax(0,1fr) auto 18px; }
.analytics-behavior-main { display:grid; min-height:0; gap:12px; grid-template-columns:230px minmax(440px,1.55fr) minmax(250px,.78fr); }
.analytics-behavior-left,.analytics-behavior-right { display:grid; min-height:0; gap:10px; grid-template-rows:auto minmax(0,1fr); }
.analytics-score-panel,.analytics-compact-funnel,.analytics-visitors,.analytics-page-time,.analytics-cause,.analytics-behavior-bottom { border:1px solid #e2e7f0; border-radius:10px; background:#fff; }
.analytics-score-panel { padding:14px 15px 10px; }
.analytics-score-panel header { display:flex; align-items:center; justify-content:space-between; }
.analytics-score-panel header span,.analytics-compact-funnel h3,.analytics-visitors h3,.analytics-page-time h3,.analytics-cause h3,.analytics-behavior-bottom h3 { margin:0; color:#172033; font-size:14px; line-height:20px; }
.analytics-score-panel header b { padding:3px 8px; border-radius:6px; color:#16805d; background:#e9f7f1; font-size:11px; }
.analytics-score-value { display:flex; gap:5px; margin:9px 0 7px; align-items:flex-end; }
.analytics-score-value strong { color:#102452; font-size:34px; line-height:38px; }
.analytics-score-value span { padding-bottom:3px; color:#667085; font-size:12px; }
.analytics-score-track { position:relative; display:grid; height:6px; grid-template-columns:repeat(3,1fr); }
.analytics-score-track i { background:#cbd2dc; }.analytics-score-track i:nth-child(2){background:#95a9de}.analytics-score-track i:nth-child(3){background:#7bc6aa}.analytics-score-track i:first-child{border-radius:99px 0 0 99px}.analytics-score-track i:nth-child(3){border-radius:0 99px 99px 0}
.analytics-score-track b { position:absolute; top:50%; width:13px; height:13px; border:2px solid #2861e9; border-radius:50%; background:#fff; transform:translate(-50%,-50%); }
.analytics-score-scale { display:flex; margin-top:6px; justify-content:space-between; color:#8390a3; font-size:10px; }
.analytics-score-panel dl { margin:10px 0 3px; }.analytics-score-panel dl div { display:flex; padding:6px 0; border-top:1px solid #eef1f5; justify-content:space-between; font-size:12px; }.analytics-score-panel dt{color:#667085}.analytics-score-panel dd{margin:0;color:#202939;font-weight:650}.analytics-score-panel>small{display:block;color:#8a94a3;font-size:10px;line-height:16px}
.analytics-compact-funnel { padding:12px 14px; }.analytics-compact-funnel>div{display:flex;margin-top:13px;justify-content:space-between}.analytics-compact-funnel span{position:relative;display:grid;gap:5px;color:#8792a3;font-size:10px;text-align:center}.analytics-compact-funnel span:not(:last-child)::after{position:absolute;top:4px;left:calc(50% + 8px);width:calc(100% + 10px);height:1px;background:#dce2eb;content:""}.analytics-compact-funnel i{position:relative;z-index:1;width:9px;height:9px;margin:auto;border:2px solid #c8d0dd;border-radius:50%;background:#fff}.analytics-compact-funnel .is-reached{color:#2458d8}.analytics-compact-funnel .is-reached i{border-color:#2861e9;background:#2861e9;box-shadow:inset 0 0 0 2px #fff}
.analytics-visitors { min-width:0; overflow:hidden; }.analytics-visitors>header{display:flex;height:56px;box-sizing:border-box;padding:0 14px;border-bottom:1px solid #e7ebf1;align-items:center;justify-content:space-between}.analytics-visitors>header>div{display:flex;gap:6px;align-items:center;color:#7a8699;font-size:11px}.analytics-visitors>header button{width:24px;height:24px;padding:0;border:1px solid #dce2eb;border-radius:6px;background:#fff;color:#315fd5}.analytics-visitors>header button:disabled{opacity:.35}.analytics-visitors>header b{font-size:10px;font-weight:600}
.analytics-visitor-head,.analytics-visitor-row { display:grid; min-width:0; grid-template-columns:.7fr 1.08fr 1.12fr .52fr .78fr .9fr; align-items:center; }.analytics-visitor-head{height:36px;padding:0 14px;background:#f8f9fb;color:#697386;font-size:10px}.analytics-visitor-row{min-height:62px;padding:0 14px;border-top:1px solid #edf0f4;color:#465166;font-size:11px}.analytics-visitor-row>*{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-visitor-row strong{color:#202939;font-size:12px}.analytics-visitor-row em{width:max-content;max-width:100%;padding:3px 6px;border-radius:5px;background:#fff3d7;color:#a56300;font-style:normal;font-size:10px}.analytics-visitor-row em.is-internal{background:#eef1f6;color:#667085}.analytics-visitor-row em.is-customer_high,.analytics-visitor-row em.is-customer_medium{background:#eaf1ff;color:#2357d3}.analytics-visitor-empty,.analytics-page-empty{display:grid;height:160px;place-items:center;color:#8993a4;font-size:12px}
.analytics-page-time{padding:13px 14px}.analytics-page-time header small{display:block;margin-top:3px;color:#7d899b;font-size:10px;line-height:16px}.analytics-page-time>div{display:grid;gap:11px;margin-top:13px}.analytics-page-time p{display:grid;margin:0;grid-template-columns:68px minmax(50px,1fr) 64px;gap:8px;align-items:center}.analytics-page-time p strong{overflow:hidden;color:#394457;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.analytics-page-time p i{height:5px;border-radius:99px;background:#edf0f5;overflow:hidden}.analytics-page-time p i b{display:block;height:100%;border-radius:inherit;background:#2f63e8}.analytics-page-time p span{color:#5f6b7d;font-size:10px;text-align:right}
.analytics-cause{padding:13px 14px;background:linear-gradient(135deg,#f4f7ff,#edf3ff);border-color:#dbe5ff}.analytics-cause h3{color:#2358dc}.analytics-cause p{display:-webkit-box;margin:8px 0 0;overflow:hidden;color:#40506a;font-size:11px;line-height:18px;-webkit-box-orient:vertical;-webkit-line-clamp:7}
.analytics-behavior-bottom{display:grid;grid-template-columns:1fr 1fr}.analytics-behavior-bottom article{min-width:0;padding:9px 14px}.analytics-behavior-bottom article+article{border-left:1px solid #e7ebf1}.analytics-behavior-bottom ul{display:grid;gap:3px;margin:5px 0 0;padding-left:16px;color:#566276;font-size:10px;line-height:16px}.analytics-behavior-bottom li{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-data-note{margin:0;color:#8490a2;font-size:10px;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.analytics-behavior{height:auto}.analytics-behavior-main{grid-template-columns:1fr}.analytics-behavior-left,.analytics-behavior-right{grid-template-columns:1fr 1fr;grid-template-rows:auto}.detail-modal.is-analytics .detail-modal-card>#modalCustomerBody{overflow-y:auto!important}.analytics-behavior-bottom{grid-template-columns:1fr}.analytics-behavior-bottom article+article{border-left:0;border-top:1px solid #e7ebf1}}
.followup-delete-button{min-width:84px;height:38px;padding:0 18px;border:1px solid #ef4444;border-radius:8px;background:#fff;color:#d62f3f;font-size:13px;font-weight:650;transition:.16s ease}.followup-delete-button:hover,.followup-delete-button.is-active{background:#d93645;color:#fff}.followup-delete-button:disabled{cursor:wait;opacity:.6}.followup-table .tier-cell{display:flex;gap:7px;align-items:center}.followup-select-box{display:grid;width:23px;height:21px;padding:0;border:1px solid #b9c4d7;border-radius:6px;background:#fff;color:transparent;place-items:center;flex:0 0 auto}.followup-select-box i{font-size:13px;font-style:normal;line-height:1}.followup-select-box[aria-pressed="true"]{border-color:#2d62e7;background:#2d62e7;color:#fff;box-shadow:0 0 0 2px rgba(45,98,231,.12)}.followup-table .data-row.is-selecting{cursor:pointer}.followup-table .data-row.is-selected{background:#f1f5ff!important;box-shadow:inset 3px 0 0 #2d62e7}
.followup-table.is-loading .data-head{visibility:hidden}
.followup-loading-state{display:grid;grid-column:1/-1;width:100%;min-height:320px;place-items:center;align-content:center;gap:12px;color:#667085;text-align:center;box-sizing:border-box}.followup-loading-state img{display:block;width:52px;height:52px}.followup-loading-state p{margin:0;color:#5f6b7d;font-size:13px;line-height:20px}.followup-load-error{display:grid;grid-column:1/-1;min-height:240px;place-items:center;align-content:center;gap:7px;color:#667085;text-align:center}.followup-load-error strong{color:#263249;font-size:14px}.followup-load-error p{margin:0;font-size:12px;line-height:18px}.followup-load-error .text-button{margin-top:4px}
#view-home .daily-intelligence-actions b {
  display: inline-block;
  min-width: 58px;
  margin-inline-end: 8px;
  color: var(--ui-text, #343a40);
  font-weight: 600;
}
#view-home .daily-advice-topic footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0;
  color: var(--ui-text-muted, #697386);
  font-size: 11px;
  line-height: 17px;
}
#view-home .daily-advice-topic footer a {
  min-width: 0;
  color: var(--brand, #1b4be5);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-home .daily-advice-topic footer small { flex: none; font: inherit; }
#view-home .daily-intelligence-state { padding-block: 4px 12px; }
#view-home .daily-intelligence-state strong { color: var(--ui-text, #17191c); font-size: 14px; line-height: 21px; }
#view-home .daily-intelligence-state p { margin: 8px 0 12px; color: var(--ui-text-secondary, #697386); font-size: 13px; line-height: 20px; }
#view-home .daily-intelligence-state.is-error strong { color: var(--danger, #c4322a); }
#view-home .daily-intelligence-state .text-button { display: inline-flex !important; margin-top: 0; }

@media (max-width: 640px) {
  #view-home .daily-advice-topic footer { align-items: flex-start; flex-direction: column; gap: 4px; }
}
/* Follow-up list: search-first toolbar and a tighter node column. */
#view-campaign .followup-panel { margin-top: 0; }
#view-campaign .followup-toolbar { min-height: 64px; padding: 12px 16px; align-items: center; }
#view-campaign .followup-toolbar > div:first-child { min-width: 0; flex: 1 1 auto; }
#view-campaign .followup-search { width: min(360px, 42%); }
#view-campaign .followup-search input { height: 32px; }
#view-campaign .followup-filter-chips:empty { display: none; }
#view-campaign .followup-table { min-width: 1080px; }
#view-campaign .followup-table .data-row { grid-template-columns: 36px minmax(170px,1.2fr) minmax(300px,2fr) minmax(112px,.8fr) minmax(96px,.7fr) minmax(76px,.58fr) minmax(132px,.84fr); gap: 12px; }
#view-campaign .followup-table.is-operator { min-width: 1280px; }
#view-campaign .followup-table.is-operator .data-row { grid-template-columns: 36px minmax(180px,1.15fr) minmax(480px,2.45fr) minmax(96px,.7fr) minmax(96px,.7fr) minmax(92px,.72fr) minmax(78px,.58fr) minmax(140px,.9fr); gap: 14px; }
#view-campaign .followup-table.is-market { min-width: 1160px; }
#view-campaign .followup-table.is-market .data-row { grid-template-columns: 36px minmax(178px,1.15fr) minmax(480px,2.45fr) minmax(118px,.82fr) minmax(90px,.72fr) minmax(86px,.74fr) minmax(140px,.9fr); gap: 14px; }
#view-campaign .followup-node-track { min-width: 300px; }
#view-campaign .followup-table.is-operator .data-head > span:nth-child(n+4),
#view-campaign .followup-table.is-market .data-head > span:nth-child(n+4) { display: flex; align-items: center; justify-content: center; min-width: 0; text-align: center; }
#view-campaign .followup-table .followup-person-cell { display: grid; align-content: center; }
#view-campaign .followup-table :is(.followup-person-cell,.followup-last-action,.followup-intent-cell) { justify-items: center; text-align: center; }
#view-campaign .followup-table .followup-actions { justify-content: center; text-align: center; }
@media (max-width: 860px) {
  #view-campaign .followup-toolbar { align-items: flex-start; flex-direction: column; }
  #view-campaign .followup-toolbar > div:first-child, #view-campaign .followup-search { width: 100%; }
  #view-campaign .followup-tier-tabs { max-width: 100%; overflow-x: auto; }
}

/* Customer lists share one operational type system. */
#view-resources .resource-toolbar,
#view-campaign .resource-toolbar {
  font-family: "AIOS UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
#view-resources .resource-toolbar .resource-search input,
#view-campaign .resource-toolbar .resource-search input,
#view-resources .resource-toolbar .region-picker-trigger,
#view-campaign .resource-toolbar .region-picker-trigger,
#view-resources .resource-toolbar .segmented-control button,
#view-campaign .resource-toolbar .segmented-control button,
#view-campaign .followup-filter-chip {
  font-family: inherit;
  font-size: 13px !important;
  line-height: 20px !important;
}
#view-resources .resource-toolbar .region-picker-trigger > span,
#view-resources .resource-toolbar .region-picker-trigger > strong,
#view-campaign .resource-toolbar .region-picker-trigger > span,
#view-campaign .resource-toolbar .region-picker-trigger > strong {
  font-size: inherit;
  line-height: inherit;
}
#view-resources .data-row.data-head,
#view-campaign .data-row.data-head,
#view-campaign .followup-sort-button {
  font-family: inherit;
  font-size: 12px;
  line-height: 18px;
}
#view-resources .owner-cell,
#view-campaign .followup-person-cell strong {
  color: #344054;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}

.assignment-modal { width: min(440px, calc(100vw - 32px)); }
.assignment-card { padding: 22px; }
.assignment-body { display: grid; margin-top: 22px; gap: 14px; }
.assignment-body > strong { overflow: hidden; color: #17191c; font-size: 16px; line-height: 24px; text-overflow: ellipsis; white-space: nowrap; }
.assignment-body label { display: grid; gap: 8px; }
.assignment-body label > span { color: #343a40; font-size: 13px; line-height: 20px; font-weight: 600; }
.assignment-body select { width: 100%; height: 40px; padding: 0 36px 0 12px; border: 1px solid #d3d7de; border-radius: 10px; background: #fff; color: #17191c; font-family: inherit; font-size: 14px; line-height: 20px; font-weight: 500; outline: none; }
.assignment-body select:focus { border-color: #1b4be5; box-shadow: 0 0 0 2px rgba(27,75,229,.12); }
.assignment-body select:disabled { background: #f5f6f7; color: #aab2bf; }
.assignment-help, .assignment-error { margin: 0; font-size: 12px; line-height: 19px; }
.assignment-help { color: #697386; }
.assignment-error { padding: 9px 10px; border-radius: 8px; background: #fff1f0; color: #c4322a; }

/* Customer behavior analytics typography — readable desktop product scale. */
.detail-modal.is-analytics .modal-head h2 {
  color: #151b2a;
  font-size: 24px !important;
  line-height: 32px !important;
  font-weight: 700;
}
.detail-modal.is-analytics .modal-head p {
  color: #5f6b7d;
  font-size: 14px !important;
  line-height: 22px !important;
}
.analytics-score-panel header span,
.analytics-compact-funnel h3,
.analytics-visitors h3,
.analytics-page-time h3,
.analytics-cause h3,
.analytics-behavior-bottom h3 {
  font-size: 15px;
  line-height: 22px;
  font-weight: 650;
}
.analytics-score-panel header b {
  font-size: 12px;
  line-height: 18px;
  font-weight: 650;
}
.analytics-score-value span,
.analytics-score-scale,
.analytics-score-panel > small,
.analytics-compact-funnel span,
.analytics-visitors > header > div,
.analytics-visitors > header b,
.analytics-page-time header small,
.analytics-page-time p span,
.analytics-data-note {
  font-size: 12px;
  line-height: 18px;
}
.analytics-score-panel dl div {
  padding-block: 4px;
  color: #344054;
  font-size: 14px;
  line-height: 20px;
}
.analytics-score-panel { padding: 12px 15px 8px; }
.analytics-score-value { margin-block: 7px 5px; }
.analytics-score-panel dl { margin: 6px 0 0; }
.analytics-score-panel dt { color: #526075; }
.analytics-score-panel dd { color: #172033; }
.analytics-visitor-head {
  height: 40px;
  color: #526075;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
}
.analytics-visitor-row {
  min-height: 66px;
  color: #344054;
  font-size: 14px;
  line-height: 20px;
}
.analytics-visitor-row strong {
  color: #172033;
  font-size: 14px;
  line-height: 20px;
  font-weight: 650;
}
.analytics-visitor-row em {
  padding: 3px 7px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
}
.analytics-visitor-empty,
.analytics-page-empty {
  color: #667085;
  font-size: 14px;
  line-height: 22px;
}
.analytics-page-time > div { gap: 12px; }
.analytics-page-time p {
  grid-template-columns: 76px minmax(50px,1fr) 68px;
}
.analytics-page-time p strong {
  color: #303b4f;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}
.analytics-page-time p span {
  color: #526075;
  font-weight: 500;
}
.analytics-cause p {
  margin-top: 9px;
  color: #33425d;
  font-size: 14px;
  line-height: 22px;
  -webkit-line-clamp: 6;
}
.analytics-behavior-bottom article { padding: 10px 14px; }
.analytics-behavior-bottom ul {
  gap: 4px;
  margin-top: 6px;
  color: #3f4d63;
  font-size: 13px;
  line-height: 20px;
}
.analytics-data-note { color: #667085; }

/* 客户跟进：让“客户节点”表头与整条节点时间线共用同一条中心轴。 */
#view-campaign .followup-table .data-head > span:nth-child(3) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
}
#view-campaign .followup-table .followup-node-cell {
  display: grid;
  align-items: center;
  justify-items: center;
}
#view-campaign .followup-table .followup-node-track {
  width: 100%;
  min-width: 480px;
  max-width: 500px;
  margin-inline: auto;
}
#view-campaign .followup-table .followup-node span {
  padding-inline: 4px;
  white-space: normal;
  text-wrap: balance;
}

/* Follow-up route model: remove the duplicate owner field and give the node track priority. */
#view-campaign .followup-table.is-operator {
  min-width: 1200px;
}
#view-campaign .followup-table.is-operator .data-row {
  grid-template-columns: 36px minmax(180px,1.1fr) minmax(520px,2.8fr) minmax(108px,.72fr) minmax(96px,.68fr) minmax(78px,.54fr) minmax(140px,.9fr);
  gap: 14px;
}
#view-campaign .followup-table.is-market {
  min-width: 1080px;
}
#view-campaign .followup-table.is-market .data-row {
  grid-template-columns: 36px minmax(184px,1.12fr) minmax(540px,3fr) minmax(96px,.68fr) minmax(78px,.54fr) minmax(140px,.9fr);
  gap: 14px;
}
#view-campaign .followup-node-track {
  min-width: 520px;
  max-width: 560px;
}
#view-campaign .followup-node::after {
  top: 9px;
  left: calc(50% + 10px);
  width: calc(100% - 20px);
  height: 2px;
  border-radius: 2px;
  background: #d7dde7;
}
#view-campaign .followup-node i {
  width: 17px;
  height: 17px;
  margin-bottom: 9px;
  border-width: 2px;
}
#view-campaign .followup-node.is-done i {
  box-shadow: inset 0 0 0 4px #fff;
}
#view-campaign .followup-node.is-current i {
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 4px var(--node-soft);
}
#view-campaign .followup-node span {
  min-height: 36px;
  color: #697386;
  font-size: 12px;
  line-height: 18px;
}
#view-campaign .followup-node.is-done span {
  color: #445064;
  font-weight: 600;
}
#view-campaign .followup-node.is-current span {
  color: var(--node-color);
  font-weight: 700;
}
.followup-popover-summary {
  display: grid;
  gap: 8px;
  padding: 12px 0 2px;
}
.followup-popover-summary p {
  margin: 0;
  color: #344054;
  font-size: 13px;
  line-height: 20px;
}
.followup-popover-summary span {
  color: #697386;
  font-size: 12px;
  line-height: 18px;
}
.followup-popover-summary b {
  margin-left: 8px;
  color: #344054;
  font-weight: 650;
}
.followup-node.is-pending { cursor: pointer; }
.followup-node-popover { padding: 12px; border-color: #d7dde7; border-radius: 12px; box-shadow: 0 12px 30px rgba(16,24,40,.14); }
.followup-popover-head { gap: 9px; padding-bottom: 8px; }
.followup-popover-head > strong { min-width: 0; overflow: hidden; color: #17191c; font-size: 13px; line-height: 19px; text-overflow: ellipsis; white-space: nowrap; }
.followup-popover-head > b { flex: 0 0 auto; padding: 2px 7px; border-radius: 999px; background: var(--node-soft); color: var(--node-color); font-size: 10px; line-height: 16px; }
.followup-popover-summary { padding: 8px 0; border-bottom: 1px solid #edf0f5; }
.followup-popover-summary p { display: -webkit-box; margin: 0; overflow: hidden; color: #343a40; font-size: 12px; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.followup-popover-meta { display: grid; gap: 0; margin: 1px 0 0; }
.followup-popover-meta > div { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 8px; padding: 6px 0; border-bottom: 1px solid #f0f2f5; }
.followup-popover-meta dt { color: #697386; font-size: 11px; line-height: 18px; }
.followup-popover-meta dd { margin: 0; color: #343a40; font-size: 11px; font-weight: 600; line-height: 18px; text-align: right; overflow-wrap: anywhere; }
.followup-popover-action { display: flex; width: 100%; min-height: 32px; align-items: center; justify-content: space-between; margin-top: 6px; padding: 0 2px; border: 0; border-radius: 6px; background: transparent; color: #495466; font-size: 12px; font-weight: 600; cursor: pointer; }
.followup-popover-action span { color: var(--node-color); font-size: 14px; font-weight: 500; transition: transform 160ms ease; }
.followup-popover-action:hover { color: var(--node-color); background: var(--node-soft); }
.followup-popover-action:hover span { transform: translateX(2px); }
.followup-popover-action:focus-visible { outline: 2px solid var(--node-color); outline-offset: 2px; }

@media (max-width: 900px) {
  #view-campaign .followup-table.is-operator { min-width: 1200px; }
  #view-campaign .followup-table.is-market { min-width: 1080px; }
}
@media (max-width: 640px) {
  .followup-node-popover { top: auto !important; right: auto; bottom: 12px; left: 50% !important; width: min(300px, calc(100vw - 24px)) !important; max-height: calc(100vh - 24px); overflow-y: auto; border-radius: 14px; transform: translateX(-50%); }
  .followup-popover-action { min-height: 44px; }
}

/* v115 enterprise/channel detail: compact, factual and score-consistent. */
#detailModal:not(.is-analytics) {
  width: min(1080px, calc(100vw - 40px)) !important;
}
#detailModal:not(.is-analytics) .detail-modal-card {
  height: min(760px, calc(100vh - 28px)) !important;
  min-height: 640px !important;
  max-height: calc(100vh - 28px) !important;
  padding: 20px 26px 14px !important;
}
#detailModal:not(.is-analytics) .modal-head {
  min-height: 48px !important;
  margin: 0 0 8px !important;
}
#detailModal:not(.is-analytics) .modal-head h2 {
  max-width: 760px;
  color: #17191c;
  font-size: 22px !important;
  font-weight: 650;
  line-height: 30px !important;
}
#detailModal:not(.is-analytics) .modal-head p {
  margin-top: 2px !important;
  color: #7a8493;
  font-size: 12px !important;
  line-height: 18px !important;
}
#detailModal:not(.is-analytics) .modal-head .icon-button {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}
#detailModal:not(.is-analytics) #modalCustomerBody {
  display: block !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0 2px 0 0 !important;
  flex: 1 1 auto !important;
}
.detail-score-strip {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fafbfc;
}
.detail-score-strip > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #697386;
  font-size: 12px;
  line-height: 18px;
}
.detail-score-strip svg {
  width: 16px;
  height: 16px;
  color: #1b4be5;
}
.detail-score-strip strong {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 9px;
  color: #1b4be5;
  font-size: 20px;
  line-height: 24px;
}
.detail-score-strip strong span {
  color: #52657d;
  font-size: 12px;
  font-weight: 600;
}
.detail-inline-loading {
  position: relative;
  height: 26px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f5f8;
}
.detail-inline-loading i {
  position: absolute;
  inset: 0 auto 0 0;
  max-width: 100%;
  background: #e8efff;
}
.detail-inline-loading span {
  position: relative;
  display: block;
  padding: 4px 10px;
  color: #52657d;
  font-size: 12px;
  line-height: 18px;
}
#detailModal:not(.is-analytics) .deepseek-detail-layout {
  display: grid;
  min-height: 0;
  margin-top: 10px;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .9fr);
  grid-template-rows: 378px 96px;
  column-gap: 14px;
  row-gap: 10px;
}
#detailModal:not(.is-analytics) .deepseek-detail-main {
  display: grid;
  height: 378px;
  grid-template-rows: 154px 214px;
  gap: 10px;
}
#detailModal:not(.is-analytics) .deepseek-detail-main > section,
#detailModal:not(.is-analytics) .deepseek-detail-sidebar > section {
  border: 1px solid #dfe4ec;
  border-radius: 12px;
  background: #fff;
}
#detailModal:not(.is-analytics) .deepseek-detail-main h3,
#detailModal:not(.is-analytics) .deepseek-detail-sidebar h3,
#detailModal:not(.is-analytics) .deepseek-visibility-wide h3 {
  margin: 0;
  color: #17191c;
  font-size: 14px;
  font-weight: 650;
  line-height: 21px;
}
#detailModal:not(.is-analytics) .deepseek-overview-card {
  height: 154px;
  padding: 14px 16px;
  border-color: #cbd9ff !important;
  background: #f8faff !important;
}
#detailModal:not(.is-analytics) .deepseek-overview-card p {
  margin-top: 7px;
  color: #46556c;
  font-size: 13px;
  line-height: 21px;
  -webkit-line-clamp: 5;
}
#detailModal:not(.is-analytics) .deepseek-signal-section {
  height: 214px;
  padding: 13px 16px;
}
#detailModal:not(.is-analytics) .deepseek-signal-section > ol {
  margin-top: 8px;
  gap: 5px;
}
#detailModal:not(.is-analytics) .deepseek-signal-section li {
  min-height: 48px;
  padding: 6px 9px;
  grid-template-columns: 24px minmax(0, 1fr);
  background: #f7f8fa;
}
#detailModal:not(.is-analytics) .deepseek-signal-section li:nth-child(even) > span,
#detailModal:not(.is-analytics) .deepseek-signal-section li > span {
  background: #e8efff;
  color: #1b4be5;
}
#detailModal:not(.is-analytics) .deepseek-signal-section li > div {
  min-width: 0;
}
#detailModal:not(.is-analytics) .deepseek-signal-section li strong {
  display: block;
  overflow: hidden;
  color: #343a40;
  font-size: 12px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#detailModal:not(.is-analytics) .deepseek-signal-section li p {
  display: block;
  overflow: hidden;
  color: #697386;
  font-size: 12px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#detailModal:not(.is-analytics) .deepseek-detail-sidebar {
  height: 378px;
}
#detailModal:not(.is-analytics) .deepseek-geo-panel {
  height: 378px;
  padding: 15px 16px;
  border-color: #9eb8ff !important;
  background: #f8faff !important;
}
#detailModal:not(.is-analytics) .deepseek-geo-panel > header span {
  max-width: 116px;
  padding: 2px 7px;
  border-color: #bed0ff;
  background: #fff;
  color: #1b4be5;
  font-size: 11px;
  line-height: 17px;
}
#detailModal:not(.is-analytics) .deepseek-geo-panel > p {
  display: -webkit-box;
  margin: 11px 0 12px;
  overflow: hidden;
  color: #46556c;
  font-size: 13px;
  line-height: 21px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}
#detailModal:not(.is-analytics) .deepseek-geo-panel h4 {
  padding-top: 10px;
  border-top-color: #d9e3ff;
  font-size: 13px;
}
#detailModal:not(.is-analytics) .deepseek-geo-panel ol {
  margin-top: 8px;
  gap: 7px;
}
#detailModal:not(.is-analytics) .deepseek-geo-panel li > span {
  width: 20px;
  height: 20px;
  background: #1b4be5;
  font-size: 11px;
}
#detailModal:not(.is-analytics) .deepseek-geo-panel li p {
  display: -webkit-box;
  overflow: hidden;
  color: #52657d;
  font-size: 12px;
  line-height: 19px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
#detailModal:not(.is-analytics) .deepseek-visibility-wide {
  grid-column: 1 / -1;
}
#detailModal:not(.is-analytics) .deepseek-visibility-section > div {
  margin-top: 7px;
  gap: 8px;
}
#detailModal:not(.is-analytics) .deepseek-visibility-section > div.is-channel {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#detailModal:not(.is-analytics) .deepseek-visibility-section > div > div {
  min-height: 54px;
  padding: 7px 10px;
  border-radius: 9px;
  background: #fafbfc;
}
#detailModal:not(.is-analytics) .deepseek-visibility-section .is-muted > span {
  color: #aab2bf;
}
#detailModal:not(.is-analytics) .deepseek-visibility-section b {
  font-size: 12px;
  line-height: 18px;
}
#detailModal:not(.is-analytics) .deepseek-visibility-section em {
  font-size: 11px;
  line-height: 17px;
}
#detailModal:not(.is-analytics) .deepseek-detail-error.is-muted {
  margin: 8px 0 0;
  border-color: #e5e7eb;
  background: #f8f9fa;
  color: #343a40;
}
#detailModal:not(.is-analytics) .deepseek-detail-error.is-muted p {
  color: #697386;
}
.detail-source-panel {
  min-height: 460px;
  padding: 4px 0;
}
.detail-source-panel > header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 14px;
  border-bottom: 1px solid #e5e7eb;
}
.detail-source-panel > header > div {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: #eef3ff;
  color: #1b4be5;
}
.detail-source-panel > header svg { width: 17px; height: 17px; }
.detail-source-panel h3 { margin: 0; color: #17191c; font-size: 15px; line-height: 22px; }
.detail-source-panel header p { margin: 1px 0 0; color: #7a8493; font-size: 12px; line-height: 18px; }
.detail-source-panel ol { display: grid; margin: 0; padding: 0; list-style: none; }
.detail-source-panel li {
  display: grid;
  min-width: 0;
  padding: 13px 2px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #edf0f4;
}
.detail-source-panel li > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 6px;
  background: #eef3ff;
  color: #1b4be5;
  font-size: 11px;
  font-weight: 650;
}
.detail-source-panel li > div { min-width: 0; }
.detail-source-panel li strong,
.detail-source-panel li p { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-source-panel li strong { color: #343a40; font-size: 13px; line-height: 20px; }
.detail-source-panel li p { margin: 2px 0 0; color: #697386; font-size: 12px; line-height: 18px; }
.detail-source-panel li a { color: #1b4be5; font-size: 12px; font-weight: 600; text-decoration: none; }
#detailModal:not(.is-analytics) .detail-action-bar {
  min-height: 46px !important;
  margin-top: 8px !important;
  padding-top: 8px !important;
}
#detailModal:not(.is-analytics) .detail-action-bar button {
  min-width: 78px;
  min-height: 36px;
  height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 13px;
}
#detailModal:not(.is-analytics) .detail-action-bar #detailPrimaryAction {
  min-width: 116px;
  border-color: #1b4be5;
  background: #1b4be5;
  color: #fff;
}

@media (max-width: 820px) {
  #detailModal:not(.is-analytics) {
    width: calc(100vw - 20px) !important;
  }
  #detailModal:not(.is-analytics) .detail-modal-card {
    height: calc(100vh - 20px) !important;
    min-height: 0 !important;
    padding: 16px 16px 12px !important;
  }
  #detailModal:not(.is-analytics) .deepseek-detail-layout {
    display: block;
  }
  #detailModal:not(.is-analytics) .deepseek-detail-main,
  #detailModal:not(.is-analytics) .deepseek-detail-sidebar {
    height: auto;
  }
  #detailModal:not(.is-analytics) .deepseek-detail-main { display: grid; grid-template-rows: auto auto; }
  #detailModal:not(.is-analytics) .deepseek-overview-card,
  #detailModal:not(.is-analytics) .deepseek-signal-section,
  #detailModal:not(.is-analytics) .deepseek-geo-panel { height: auto; min-height: 0; margin-bottom: 10px; }
  #detailModal:not(.is-analytics) .deepseek-visibility-wide { margin-bottom: 8px; }
  #detailModal:not(.is-analytics) .deepseek-visibility-section > div,
  #detailModal:not(.is-analytics) .deepseek-visibility-section > div.is-channel { grid-template-columns: 1fr; }
  #detailModal:not(.is-analytics) .detail-action-bar { flex-wrap: wrap; }
  #detailModal:not(.is-analytics) .detail-research-footer { width: 100%; }
}

/* v124 typography scale: improve operational readability without changing the
   established OCTANS hierarchy or any business-score presentation. */
body { font-size: 14px; }
.brand strong { font-size: 16px; }
.brand small,.workspace-switcher small,.user-block small { font-size: 11px; }
.nav-label { font-size: 11px; }
.nav-item span { font-size: 13px; }
.route-card-head,.route-switch button,.workspace-switcher b,.user-block b { font-size: 12px; }
.breadcrumbs,.topbar-link,.topbar-user { font-size: 12px; }
.page-heading p { font-size: 14px; line-height: 22px; }
.primary-button,.secondary-button,.filter-button { font-size: 13px; }
.small-select { font-size: 12px; }
.metric-label { font-size: 13px; }
.metric-meta { font-size: 12px; }
.panel-head h2 { font-size: 16px; }
.panel-head p { font-size: 12px; line-height: 19px; }
.segmented-control button { font-size: 12px; }
.task-customer strong { font-size: 14px; }
.task-customer small,.task-signal span,.task-signal small,.task-action span { font-size: 12px; }
.task-action button,.panel-footer-link,.text-button { font-size: 12px; }
.customer-head p,.customer-score span,.customer-section p,.evidence-list div,.next-action span { font-size: 12px; }
.customer-section h3,.next-action strong { font-size: 13px; }
.analytics-compact-funnel span { min-width: 30px; font-size: 13px; line-height: 19px; }

/* v138 company detail: readable research state and verified public information. */
#detailModal:not(.is-analytics) .deepseek-detail-layout {
  grid-template-rows: 378px 96px 72px;
}
#detailModal:not(.is-analytics) .deepseek-overview-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.detail-reading-state {
  position: relative;
  display: grid;
  min-height: 96px;
  margin-top: 8px;
  padding: 1px 0 0 30px;
  align-content: start;
  overflow: hidden;
}
.detail-reading-state.is-geo {
  min-height: 276px;
  margin-top: 14px;
  padding: 4px 2px 0 34px;
}
.detail-reading-spinner {
  position: absolute;
  top: 2px;
  left: 1px;
  width: 18px;
  height: 18px;
  border: 2px solid #dce6ff;
  border-top-color: #1b4be5;
  border-radius: 50%;
  animation: detail-reading-spin .85s linear infinite;
}
.detail-reading-state strong {
  color: #25324a;
  font-size: 12px;
  line-height: 19px;
}
.detail-reading-state p {
  display: block !important;
  margin: 2px 0 10px !important;
  color: #718096 !important;
  font-size: 12px !important;
  line-height: 18px !important;
}
.detail-reading-state i {
  display: block;
  width: 100%;
  height: 7px;
  margin-top: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, #edf1f7 20%, #f9fbff 46%, #edf1f7 72%);
  background-size: 220% 100%;
  animation: detail-reading-shimmer 1.25s ease-in-out infinite;
}
.detail-reading-state i:nth-of-type(2) { width: 86%; }
.detail-reading-state i:nth-of-type(3) { width: 62%; }
.deepseek-public-info-section {
  grid-column: 1 / -1;
  min-width: 0;
  height: 72px;
  padding: 5px 14px 6px;
  border: 1px solid #dfe4ec;
  border-radius: 12px;
  background: #fff;
}
.deepseek-public-info-section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.deepseek-public-info-section > header h3 {
  margin: 0;
  color: #17191c;
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
}
.deepseek-public-info-section > header span {
  color: #8993a3;
  font-size: 11px;
  line-height: 17px;
}
.deepseek-public-info-section dl {
  display: grid;
  margin: 3px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 1px;
}
.deepseek-public-info-section dl > div {
  display: grid;
  min-width: 0;
  grid-template-columns: 18px 58px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}
.deepseek-public-info-section dl > div > span,
.deepseek-public-info-section dl > div > span svg {
  width: 15px;
  height: 15px;
}
.deepseek-public-info-section dt {
  color: #697386;
  font-size: 11px;
  line-height: 17px;
  white-space: nowrap;
}
.deepseek-public-info-section dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #34445a;
  font-size: 11px;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deepseek-public-info-section dd a {
  color: #1b4be5;
  text-decoration: none;
}
.deepseek-public-info-section dd em {
  color: #98a2b3;
  font-style: normal;
}
.deepseek-public-info-section dl > div.is-loading dd em::after {
  display: inline-block;
  width: 12px;
  content: "…";
  animation: detail-reading-dots 1.15s steps(4, end) infinite;
}
@keyframes detail-reading-spin { to { transform: rotate(360deg); } }
@keyframes detail-reading-shimmer { to { background-position: -220% 0; } }
@keyframes detail-reading-dots { 0% { width: 0; } 100% { width: 12px; } }

@media (max-height: 760px) and (min-width: 821px) {
  #detailModal:not(.is-analytics) .deepseek-detail-layout {
    grid-template-rows: 330px 88px 68px;
  }
  #detailModal:not(.is-analytics) .deepseek-public-info-section {
    height: 68px;
    padding-block: 3px 4px;
  }
  #detailModal:not(.is-analytics) .deepseek-public-info-section dl { margin-top: 2px; row-gap: 0; }
}

@media (max-width: 820px) {
  #detailModal:not(.is-analytics) .deepseek-public-info-section {
    height: auto;
    min-height: 0;
    margin-bottom: 8px;
  }
  #detailModal:not(.is-analytics) .deepseek-public-info-section dl { grid-template-columns: 1fr; }
  .detail-reading-state.is-geo { min-height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  .detail-reading-spinner,
  .detail-reading-state i,
  .deepseek-public-info-section dl > div.is-loading dd em::after { animation: none; }
}

/* v139 joint release: modal typography, bounded GEO copy and semantic public-info icons. */
#detailModal:not(.is-analytics) {
  --detail-section-size: 14px;
  --detail-section-line: 21px;
  --detail-body-size: 12px;
  --detail-body-line: 19px;
  --detail-meta-size: 11px;
  --detail-meta-line: 17px;
}
#detailModal:not(.is-analytics) .deepseek-detail-main h3,
#detailModal:not(.is-analytics) .deepseek-detail-sidebar h3,
#detailModal:not(.is-analytics) .deepseek-visibility-wide h3,
#detailModal:not(.is-analytics) .deepseek-public-info-section > header h3 {
  font-size: var(--detail-section-size);
  line-height: var(--detail-section-line);
}
#detailModal:not(.is-analytics) .deepseek-overview-card p,
#detailModal:not(.is-analytics) .deepseek-signal-section li p,
#detailModal:not(.is-analytics) .deepseek-geo-copy p,
#detailModal:not(.is-analytics) .deepseek-public-info-section dd {
  font-size: var(--detail-body-size);
  line-height: var(--detail-body-line);
}
#detailModal:not(.is-analytics) .deepseek-signal-section li strong,
#detailModal:not(.is-analytics) .deepseek-geo-copy strong,
#detailModal:not(.is-analytics) .deepseek-visibility-section b {
  font-size: var(--detail-body-size);
  line-height: 18px;
}
#detailModal:not(.is-analytics) .deepseek-visibility-section em,
#detailModal:not(.is-analytics) .deepseek-public-info-section dt,
#detailModal:not(.is-analytics) .deepseek-public-info-section > header span,
#detailModal:not(.is-analytics) .deepseek-geo-panel > header span {
  font-size: var(--detail-meta-size);
  line-height: var(--detail-meta-line);
}
#detailModal:not(.is-analytics) .deepseek-geo-copy {
  display: grid;
  min-height: 0;
  margin-top: 12px;
  gap: 10px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}
#detailModal:not(.is-analytics) .deepseek-geo-copy article {
  min-height: 0;
  padding: 11px 10px;
  overflow: hidden;
}
#detailModal:not(.is-analytics) .deepseek-geo-copy section {
  min-height: 0;
  overflow: hidden;
}
#detailModal:not(.is-analytics) .deepseek-geo-copy p {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 5 !important;
}
#detailModal:not(.is-analytics) .deepseek-public-info-section dl > div > span {
  display: grid;
  place-items: center;
}
#detailModal:not(.is-analytics) .deepseek-public-info-section dl > div > span svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}
#detailModal:not(.is-analytics) .deepseek-public-info-section dl > div:nth-child(1) > span { color: #3e5abd; }
#detailModal:not(.is-analytics) .deepseek-public-info-section dl > div:nth-child(2) > span { color: #6757d9; }
#detailModal:not(.is-analytics) .deepseek-public-info-section dl > div:nth-child(3) > span { color: #168a63; }
#detailModal:not(.is-analytics) .deepseek-public-info-section dl > div:nth-child(4) > span { color: #b76a00; }

/* v145 customer detail readability: complete status copy, consistent type and aligned facts. */
#detailModal:not(.is-analytics) {
  --detail-section-size: 15px;
  --detail-section-line: 22px;
  --detail-body-size: 14px;
  --detail-body-line: 22px;
  --detail-meta-size: 13px;
  --detail-meta-line: 20px;
}
#detailModal:not(.is-analytics) .modal-head p,
#detailModal:not(.is-analytics) .detail-score-strip > div,
#detailModal:not(.is-analytics) .detail-score-strip strong span,
#detailModal:not(.is-analytics) .detail-inline-loading span,
#detailModal:not(.is-analytics) .detail-reading-state p,
#detailModal:not(.is-analytics) .deepseek-footer-summary,
#detailModal:not(.is-analytics) .deepseek-footer-summary strong,
#detailModal:not(.is-analytics) .deepseek-footer-summary span {
  font-size: var(--detail-meta-size) !important;
  line-height: var(--detail-meta-line) !important;
}
#detailModal:not(.is-analytics) .detail-modal-card { min-height: 0 !important; }
#detailModal:not(.is-analytics) .deepseek-detail-layout { grid-template-rows: auto auto auto; }
#detailModal:not(.is-analytics) .deepseek-detail-layout.is-enterprise { grid-template-rows: auto auto; }
#detailModal:not(.is-analytics) .deepseek-detail-main {
  height: auto;
  grid-template-rows: 154px minmax(238px, auto);
}
#detailModal:not(.is-analytics) .deepseek-signal-section { height: auto; }
#detailModal:not(.is-analytics) .deepseek-detail-sidebar { height: auto; align-self: stretch; }
#detailModal:not(.is-analytics) .deepseek-geo-panel { height: 100%; min-height: 402px; }
#detailModal:not(.is-analytics) .deepseek-signal-section li strong,
#detailModal:not(.is-analytics) .deepseek-geo-copy strong,
#detailModal:not(.is-analytics) .deepseek-visibility-section b { line-height: var(--detail-body-line); }
#detailModal:not(.is-analytics) .detail-source-panel p,
#detailModal:not(.is-analytics) .detail-source-panel li > span,
#detailModal:not(.is-analytics) .detail-source-panel li a {
  font-size: var(--detail-meta-size);
  line-height: var(--detail-meta-line);
}
#detailModal:not(.is-analytics) .deepseek-geo-panel > header {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#detailModal:not(.is-analytics) .deepseek-geo-panel > header h3 {
  min-width: 0;
  flex: 1 1 auto;
}
#detailModal:not(.is-analytics) .deepseek-geo-panel > header span {
  width: auto;
  min-width: max-content;
  max-width: none;
  flex: 0 0 auto;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
#detailModal:not(.is-analytics) .deepseek-public-info-section {
  display: flex;
  min-height: 72px;
  align-items: center;
  padding: 10px 16px;
}
#detailModal:not(.is-analytics) .deepseek-public-info-section dl {
  width: 100%;
  margin: 0;
  column-gap: 32px;
  row-gap: 6px;
}
#detailModal:not(.is-analytics) .deepseek-public-info-section dl > div {
  grid-template-columns: 18px 68px minmax(0, 1fr);
  gap: 8px;
}
#detailModal:not(.is-analytics) .deepseek-public-info-section dt,
#detailModal:not(.is-analytics) .deepseek-public-info-section dd {
  font-size: var(--detail-meta-size);
  line-height: var(--detail-meta-line);
}
@media (max-height: 760px) and (min-width: 821px) {
  #detailModal:not(.is-analytics) .deepseek-public-info-section {
    height: 68px;
    min-height: 68px;
    padding-block: 8px;
  }
  #detailModal:not(.is-analytics) .deepseek-public-info-section dl {
    margin: 0;
    row-gap: 2px;
  }
}
@media (max-width: 820px) {
  #detailModal:not(.is-analytics) .deepseek-detail-main { grid-template-rows: auto auto; }
  #detailModal:not(.is-analytics) .deepseek-geo-panel { height: auto; min-height: 0; }
  #detailModal:not(.is-analytics) .deepseek-public-info-section {
    height: auto;
    min-height: 0;
    align-items: stretch;
    padding-block: 12px;
  }
  #detailModal:not(.is-analytics) .deepseek-public-info-section dl {
    row-gap: 8px;
  }
}
/* Homepage facts replace recommendation prose; keep a compact narrow-screen fallback. */
#view-home .task-location span, #view-home .task-location small { font-size: 13px !important; line-height: 20px !important; font-weight: 400; color: var(--ui-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-home .task-location em { display: inline-block; margin-right: 12px; font-style: normal; color: var(--ui-text-muted); }
@media (min-width: 1181px) { #view-home .task-mobile-meta { display: none; } }
#view-home #homeTasks { container-type: inline-size; grid-template-rows: none !important; grid-auto-rows: minmax(min-content, auto); overflow-y: auto; }
/* Shared operator/market list typography; keep score hierarchy without oversized text. */
#view-home #homeTasks .task-row,
#view-home #homeTasks .task-row :where(strong, small, span, em, button, .company-avatar) {
  font-family: var(--ui-font) !important;
  font-size: 13px !important;
  line-height: 20px !important;
}
#view-home #homeTasks .task-row .score {
  font-family: var(--ui-font) !important;
  font-size: 24px !important;
  line-height: 28px !important;
}
@container (max-width: 900px) {
  #view-home #homeTasks .task-row { grid-template-columns: 30px minmax(0, 1fr) 76px !important; grid-template-rows: auto auto auto; width: 100%; min-width: 0; min-height: 150px !important; gap: 6px 12px; }
  #view-home #homeTasks .task-row .company-avatar { grid-column: 1; grid-row: 1; }
  #view-home #homeTasks .task-row .task-customer { grid-column: 2; grid-row: 1; }
  #view-home #homeTasks .task-row .score { grid-column: 3; grid-row: 1 / 3; }
  #view-home #homeTasks .task-row .task-location { display: block; grid-column: 2; grid-row: 2; }
  #view-home #homeTasks .task-row .task-mobile-meta { display: none; }
  #view-home #homeTasks .task-row .market-pack-state { grid-column: 2; grid-row: 3; }
  #view-home #homeTasks .task-row .task-action { grid-column: 3; grid-row: 3; justify-content: flex-end; margin: 0; }
}

/* v186: error cards use full-width readable status and action rows. */
.solution-empty.solution-notice { grid-template-columns:minmax(0,1fr); gap:8px; }
.solution-notice > strong,.solution-notice > p,.solution-notice > button { grid-column:1/-1; overflow-wrap:anywhere; }
.solution-notice > button { justify-self:start; }
.solution-progress[role="status"] strong { display:block; line-height:1.5; }
.solution-progress[role="status"] p { line-height:1.6; overflow-wrap:anywhere; }
#exportBatchCreate[hidden] { display:none; }

/* Keep score geometry stable when the business text grows. */
#view-home .customer-content-scroll > .score-meter{height:6px!important;min-height:6px;flex:0 0 6px;}
#view-home .customer-content-scroll > .customer-head,#view-home .customer-content-scroll > .customer-score{flex-shrink:0;}
#view-home .cp-home-business ul{grid-template-columns:repeat(2,minmax(0,1fr));}

.task-stage-progress{height:6px;min-height:6px;flex-shrink:0;background:#e8edf8;border-radius:4px;overflow:hidden;margin:16px 0 8px}.task-stage-progress i{height:100%;display:block;background:#4056c5;transition:width .25s ease}.cp-search-progress{margin:0;border-radius:0}.task-stage-progress.is-indeterminate i{animation:task-scan 1.4s ease-in-out infinite}@keyframes task-scan{from{transform:translateX(-100%)}to{transform:translateX(350%)}}@media(prefers-reduced-motion:reduce){.task-stage-progress i{transition:none}.task-stage-progress.is-indeterminate i{animation:none;width:100%!important;opacity:.45}}

/* v190: the removed decoration no longer reserves a narrow text column. */
.solution-empty { grid-template-columns: minmax(0,1fr); }
.solution-empty > div, .solution-empty > strong, .solution-empty > p { grid-column: 1 / -1; min-width: 0; }

/* Batch export owns the single primary action on the filter screen. */
#exportModal [hidden]{display:none!important;}

/* Import deletion: distinct focusable action before each table name. */
.import-batch-row { display:flex; align-items:center; gap:2px; min-width:0; }
.import-batch-row > .import-batch-option { flex:1; min-width:0; }
.import-batch-delete { display:grid; place-items:center; flex:0 0 28px; width:28px; height:32px; padding:3px; border:0; border-radius:6px; color:#667085; background:transparent; cursor:pointer; }
.import-batch-delete svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; }
.import-batch-delete:hover { color:#b42318; background:#fef3f2; }
.import-batch-delete:focus-visible { outline:2px solid #1b4be5; outline-offset:1px; }
.import-batch-delete:disabled { opacity:.45; cursor:wait; }
#confirmMessage { white-space:pre-line; overflow-wrap:anywhere; }

#importResult.is-error { background: #fff1f0; color: #a52b24; }
:root[data-theme="dark"] #importResult.is-error { background: #3a2225; color: #ffb4ab; }


/* dashboard.css */
/* 经营总览：沿用线上同构 UI 的灰阶、边线和节点语义色。 */
#view-analytics .dashboard-shell {
  --dashboard-brand: var(--ui-brand, #3e5abd);
  --dashboard-blue-muted: hsl(214 51% 45%);
  --dashboard-cyan: hsl(190 51% 35%);
  --dashboard-violet: hsl(260 51% 49%);
  --dashboard-amber: hsl(34 51% 36%);
  --dashboard-green: hsl(155 51% 32%);
  --dashboard-brand-soft: hsl(227 55% 96%);
  --dashboard-blue-muted-soft: hsl(214 45% 96%);
  --dashboard-cyan-soft: hsl(190 45% 95%);
  --dashboard-violet-soft: hsl(260 45% 96%);
  --dashboard-amber-soft: hsl(34 55% 95%);
  --dashboard-green-soft: hsl(155 42% 95%);
  --dashboard-brand-line: hsl(227 42% 80%);
  --dashboard-blue-muted-line: hsl(214 38% 80%);
  --dashboard-cyan-line: hsl(190 38% 76%);
  --dashboard-violet-line: hsl(260 38% 81%);
  --dashboard-amber-line: hsl(34 42% 76%);
  --dashboard-green-line: hsl(155 34% 76%);
  width: 100%;
  min-height: 100%;
  color: var(--ca-ink, #17191c);
  font-family: var(--ca-font-sans, "AIOS UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif);
}

#view-analytics .dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  margin-bottom: 16px;
}

#view-analytics .dashboard-heading-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

#view-analytics .dashboard-heading h1 {
  margin: 0;
  color: var(--ca-ink, #17191c);
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -.035em;
}

#view-analytics .dashboard-heading p {
  margin: 5px 0 0;
  color: var(--ui-text-muted, #697386);
  font-size: 12px;
  line-height: 18px;
}

.dashboard-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dashboard-scope {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid #e0e5ee;
  border-radius: 9px;
  background: #f5f6f8;
}

.dashboard-scope button {
  min-width: 58px;
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #697386;
  font: inherit;
  font-size: var(--type-meta, 12px);
  font-weight: 500;
  cursor: pointer;
}

.dashboard-scope button:hover,
.dashboard-scope button:focus-visible {
  color: #17191c;
  outline: none;
}

.dashboard-scope button.is-active {
  border: 1px solid var(--dashboard-brand-line);
  background: #fff;
  color: var(--dashboard-brand);
  box-shadow: 0 1px 3px rgba(20, 33, 61, .06);
  font-weight: 600;
}

.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-kpi {
  min-height: 106px;
  padding: 16px 18px;
  border: 1px solid var(--ui-border, #e5e7eb);
  border-radius: 11px;
  background: #fff;
}

.dashboard-kpi span,
.dashboard-kpi small {
  display: block;
}

.dashboard-kpi span {
  color: var(--ui-text-muted, #697386);
  font-size: var(--type-body, 14px);
}

.dashboard-kpi strong {
  display: block;
  margin-top: 9px;
  color: #17191c;
  font-size: 28px;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.dashboard-kpi small {
  margin-top: 8px;
  color: #8791a1;
  font-size: var(--type-meta, 12px);
  line-height: 18px;
}

.dashboard-kpi-primary strong { color: var(--dashboard-brand); }
.dashboard-kpi-warning strong { color: var(--dashboard-amber); }
.dashboard-kpi-success strong { color: var(--dashboard-green); }
.dashboard-kpi-focus strong { color: var(--dashboard-violet); }

.dashboard-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-primary-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dashboard-secondary-grid { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); }

.dashboard-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ui-border, #e5e7eb);
  border-radius: 12px;
  background: #fff;
}

.dashboard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 13px;
  border-bottom: 1px solid #eef0f3;
}

.dashboard-panel-head h2 {
  margin: 0;
  color: #17191c;
  font-size: var(--type-section, 16px);
  line-height: 22px;
}

.dashboard-panel-head p {
  margin: 4px 0 0;
  color: #8791a1;
  font-size: var(--type-meta, 12px);
  line-height: 20px;
}

.dashboard-route-bars {
  display: grid;
  gap: 16px;
  padding: 18px 18px 8px;
}

.dashboard-route-bar-label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  color: #343a40;
  font-size: var(--type-body, 14px);
}

.dashboard-route-bar-label b {
  color: #17191c;
  font-size: var(--type-body, 14px);
  font-weight: 600;
}

.dashboard-route-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dashboard-route-color);
}

.dashboard-progress-track {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f4;
}

.dashboard-progress-track i {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: inherit;
}

.dashboard-route-bar > small {
  display: block;
  margin-top: 4px;
  color: #8791a1;
  font-size: var(--type-meta, 12px);
  text-align: right;
}

.dashboard-total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 18px 18px;
  padding-top: 13px;
  border-top: 1px solid #eef0f3;
  color: #697386;
  font-size: var(--type-meta, 12px);
}

.dashboard-total-line strong { color: #17191c; font-size: var(--type-body, 14px); }

.dashboard-team-table { padding: 0 18px 14px; }
.dashboard-team-head,
.dashboard-team-row {
  display: grid;
  grid-template-columns: minmax(110px, 1.3fr) minmax(120px, 1.3fr) 70px 70px;
  align-items: center;
  gap: 12px;
}

.dashboard-team-head {
  min-height: 35px;
  border-bottom: 1px solid #eef0f3;
  color: #8791a1;
  font-size: var(--type-meta, 12px);
}

.dashboard-team-row {
  min-height: 43px;
  border-bottom: 1px solid #f0f2f5;
  color: #697386;
  font-size: var(--type-body, 14px);
}

.dashboard-team-row:last-child { border-bottom: 0; }
.dashboard-team-row strong { color: #343a40; font-weight: 600; }
.dashboard-team-row b { display: flex; align-items: center; gap: 8px; color: #343a40; font-weight: 500; white-space: nowrap; }
.dashboard-team-row b i { display: block; flex: 0 0 var(--dashboard-team-width, 0%); width: var(--dashboard-team-width, 0%); height: 6px; border-radius: 99px; background: var(--dashboard-brand); }
.dashboard-team-row .dashboard-warning-count.is-warning { color: var(--dashboard-amber); font-weight: 700; }

.dashboard-dimension-panel { margin-bottom: 16px; }
.dashboard-dimension-switch { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid #e3e7ee; border-radius: 8px; background: #f7f8fa; }
.dashboard-dimension-switch button { min-height: 28px; padding: 0 12px; border-radius: 6px; color: #697386; font-size: var(--type-meta, 12px); font-weight: 600; }
.dashboard-dimension-switch button.is-active { background: #fff; color: var(--dashboard-brand); box-shadow: 0 2px 8px rgba(27, 43, 75, .08); }
.dashboard-dimension-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #eef0f3; }
.dashboard-dimension-kpis > div { min-width: 0; padding: 15px 18px; border-right: 1px solid #eef0f3; }
.dashboard-dimension-kpis > div:last-child { border-right: 0; }
.dashboard-dimension-kpis span { display: block; color: #8791a1; font-size: var(--type-meta, 12px); }
.dashboard-dimension-kpis strong { display: block; margin-top: 5px; color: #17191c; font-size: 18px; font-weight: 700; }
.dashboard-dimension-panel .dashboard-route-bars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-dimension-panel .dashboard-route-bar-label strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dashboard-stage-list { display: grid; gap: 18px; padding: 14px 18px 16px; }
.dashboard-stage-track { min-width: 0; }
.dashboard-stage-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: #343a40; font-size: var(--type-body, 14px); }
.dashboard-stage-title span { color: #697386; font-size: var(--type-meta, 12px); }
.dashboard-stage-nodes { display: flex; align-items: flex-start; min-width: 0; padding-top: 2px; }
.dashboard-stage-node { position: relative; min-width: 68px; flex: 1; border-radius: 6px; outline: none; cursor: help; text-align: center; }
.dashboard-stage-node:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: 8px; left: calc(50% + 8px); width: calc(100% - 16px); height: 1px; background: var(--dashboard-node-line); }
.dashboard-stage-node-dot { position: relative; z-index: 1; display: block; width: 16px; height: 16px; margin: 0 auto 6px; border: 2px solid var(--dashboard-node-color); border-radius: 50%; background: #fff; transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease; }
.dashboard-stage-node.is-populated .dashboard-stage-node-dot { background: var(--dashboard-node-color); color: #fff; }
.dashboard-stage-node.is-current .dashboard-stage-node-dot { background: var(--dashboard-node-color); color: #fff; box-shadow: 0 0 0 4px var(--dashboard-node-soft); animation: dashboard-current-node-in .55s cubic-bezier(.16, 1, .3, 1) both; }
.dashboard-stage-node.is-current small { color: var(--dashboard-node-color); font-weight: 700; }
.dashboard-stage-node small { display: block; color: #697386; font-size: var(--type-meta, 12px); line-height: 18px; white-space: nowrap; }
.dashboard-stage-node:hover .dashboard-stage-node-dot,
.dashboard-stage-node.is-hovered .dashboard-stage-node-dot,
.dashboard-stage-node:focus-visible .dashboard-stage-node-dot { transform: scale(1.16); box-shadow: 0 0 0 4px var(--dashboard-node-soft); }
.dashboard-stage-node:hover small,
.dashboard-stage-node.is-hovered small,
.dashboard-stage-node:focus-visible small { color: var(--dashboard-node-color); font-weight: 600; }
.dashboard-stage-tooltip { position: absolute; z-index: 3; bottom: calc(100% + 7px); left: 50%; width: max-content; max-width: 210px; padding: 6px 8px; border: 1px solid var(--ca-line-strong, #d3d7de); border-radius: 7px; background: var(--ca-surface, #fff); box-shadow: var(--ca-shadow-card, 0 4px 14px rgba(16, 24, 40, .08)); color: var(--ca-ink-2, #343a40); font-size: 11px; line-height: 16px; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .14s ease, transform .14s ease; white-space: normal; }
.dashboard-stage-node:first-child .dashboard-stage-tooltip { left: 0; transform: translateY(4px); }
.dashboard-stage-node:last-child .dashboard-stage-tooltip { right: 0; left: auto; transform: translateY(4px); }
.dashboard-stage-node:hover .dashboard-stage-tooltip,
.dashboard-stage-node.is-hovered .dashboard-stage-tooltip,
.dashboard-stage-node:focus-visible .dashboard-stage-tooltip { opacity: 1; transform: translate(-50%, 0); }
.dashboard-stage-node:first-child:hover .dashboard-stage-tooltip,
.dashboard-stage-node:first-child.is-hovered .dashboard-stage-tooltip,
.dashboard-stage-node:first-child:focus-visible .dashboard-stage-tooltip,
.dashboard-stage-node:last-child:hover .dashboard-stage-tooltip,
.dashboard-stage-node:last-child.is-hovered .dashboard-stage-tooltip,
.dashboard-stage-node:last-child:focus-visible .dashboard-stage-tooltip { transform: translateY(0); }

@keyframes dashboard-current-node-in {
  from { box-shadow: 0 0 0 8px transparent; }
  to { box-shadow: 0 0 0 4px var(--dashboard-node-soft); }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-stage-node-dot,
  .dashboard-stage-tooltip { transition: none; animation: none; }
}

.dashboard-note-list { display: grid; gap: 0; padding: 2px 18px 15px; }
.dashboard-note-list div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; border-bottom: 1px solid #f0f2f5; color: #697386; font-size: var(--type-body, 14px); }
.dashboard-note-list div:last-child { border-bottom: 0; }
.dashboard-note-list strong { color: #343a40; font-size: var(--type-body, 14px); font-weight: 600; }

.dashboard-risk-panel { margin-bottom: 16px; }
.dashboard-text-button { padding: 4px 0; border: 0; background: transparent; color: var(--dashboard-brand); font: inherit; font-size: var(--type-meta, 12px); cursor: pointer; white-space: nowrap; }
.dashboard-text-button:hover { color: var(--ui-brand-hover, #334ca9); text-decoration: underline; }
.dashboard-risk-table { overflow-x: auto; }
.dashboard-risk-head,
.dashboard-risk-row { display: grid; grid-template-columns: minmax(180px, 1.35fr) 90px 92px 118px minmax(160px, 1.25fr) 72px 68px; align-items: center; gap: 12px; min-width: 910px; padding: 0 18px; }
.dashboard-risk-head { min-height: 40px; background: #fbfcfe; color: #697386; font-size: var(--type-meta, 12px); }
.dashboard-risk-row { min-height: 60px; border-top: 1px solid #f0f2f5; color: #697386; font-size: var(--type-body, 14px); }
.dashboard-risk-row strong { overflow: hidden; color: #343a40; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-risk-row > span:nth-child(5) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-node-chip,
.dashboard-risk-chip { display: inline-flex; align-items: center; width: max-content; min-height: 26px; padding: 0 8px; border-radius: 6px; background: var(--dashboard-node-soft); color: var(--dashboard-node-color); font-size: var(--type-meta, 12px); font-weight: 600; white-space: nowrap; }
.dashboard-risk-chip { background: #f5f6f8; color: #697386; }
.dashboard-risk-warning { background: var(--dashboard-amber-soft); color: var(--dashboard-amber); }
.dashboard-risk-danger { background: #fff0ef; color: #c4322a; }
.dashboard-risk-重点 { background: var(--dashboard-violet-soft); color: var(--dashboard-violet); }
.dashboard-risk-muted { background: #f5f6f7; color: #8791a1; }

.dashboard-empty { padding: 28px 18px; color: #697386; font-size: var(--type-body, 14px); text-align: center; }

.route-card.is-dashboard-locked .route-switch { cursor: not-allowed; }
.route-card.is-dashboard-locked .route-switch::after { content: "经营总览请使用右上角切换"; display: block; grid-column: 1 / -1; padding: 5px 4px 2px; color: var(--ca-ink-3, #697386); font-size: var(--type-meta, 12px); line-height: 18px; text-align: center; }

@media (max-width: 1180px) {
  .dashboard-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard-primary-grid,
  .dashboard-secondary-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  #view-analytics .dashboard-heading { flex-direction: column; }
  .dashboard-heading-actions { width: 100%; justify-content: flex-start; }
  .dashboard-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .dashboard-kpi { min-height: 96px; padding: 13px; }
  .dashboard-kpi strong { font-size: 23px; }
  .dashboard-stage-nodes { overflow-x: auto; padding-bottom: 4px; }
  .dashboard-stage-node { min-width: 82px; }
  .dashboard-team-table { overflow-x: auto; }
  .dashboard-team-head, .dashboard-team-row { min-width: 460px; }
  .dashboard-dimension-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-dimension-kpis > div:nth-child(2) { border-right: 0; }
  .dashboard-dimension-panel .dashboard-route-bars { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 460px) {
  .dashboard-kpi-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-kpi span { font-size: 12px; }
  .dashboard-kpi strong { font-size: 21px; }
  .dashboard-scope { width: 100%; }
  .dashboard-scope button { flex: 1; }
}

/* Business overview v5: customer resource and proposal propagation */
.dashboard-v5 { --v5-border: #e7eaf0; --v5-soft: #f7f8fb; --v5-ink: #242a36; }
.dashboard-v5 .dashboard-panel { overflow: hidden; border-color: var(--v5-border); border-radius: 10px; box-shadow: 0 1px 2px rgba(27, 35, 52, .03); }
.dashboard-v5 .dashboard-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 68px; padding: 15px 18px 13px; border-bottom: 1px solid var(--v5-border); }
.dashboard-v5 .dashboard-panel-head h2 { margin: 0; color: var(--v5-ink); font-size: 15px; line-height: 22px; }
.dashboard-v5 .dashboard-panel-head p { margin: 3px 0 0; color: #858d9b; font-size: 12px; line-height: 18px; }
.dashboard-v5 .dashboard-panel-head > span { padding-top: 2px; color: #697386; font-size: 12px; white-space: nowrap; }

.dashboard-v5-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.dashboard-v5-kpis .dashboard-kpi { min-height: 112px; padding: 16px 17px; }
.dashboard-v5-kpis .dashboard-kpi > span { color: #697386; }
.dashboard-v5-kpis .dashboard-kpi > strong { margin-top: 7px; color: var(--v5-ink); font-size: 28px; line-height: 34px; }
.dashboard-v5-kpis .dashboard-kpi > small { margin-top: 5px; color: #8a93a1; }
.dashboard-v5-kpis .dashboard-kpi-primary { border-top: 2px solid #516bcc; }
.dashboard-v5-kpis .dashboard-kpi-success { border-top: 2px solid #32936f; }
.dashboard-v5-kpis .dashboard-kpi-warning { border-top: 2px solid #cf8d25; }
.dashboard-v5-kpis .dashboard-kpi-focus { border-top: 2px solid #7b5cc7; }

.dashboard-v5-management { display: grid; grid-template-columns: minmax(680px, 1.65fr) minmax(300px, .72fr); gap: 14px; margin-bottom: 14px; }
.dashboard-v5-team-head,
.dashboard-v5-team-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) 76px minmax(120px, .9fr) minmax(105px, .8fr) minmax(118px, .88fr) 72px; align-items: center; gap: 12px; min-width: 720px; padding: 0 18px; }
.dashboard-v5-team-head { min-height: 38px; background: #fafbfc; color: #89919f; font-size: 11px; }
.dashboard-v5-team-list { max-height: 384px; overflow: auto; }
.dashboard-v5-team-row { width: 100%; min-height: 64px; border: 0; border-top: 1px solid #f0f2f5; background: #fff; color: #697386; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.dashboard-v5-team-row:hover { background: #f8f9fd; }
.dashboard-v5-team-row.is-selected { background: #f2f4fc; box-shadow: inset 3px 0 #5068c6; }
.dashboard-v5-team-row > span > strong { display: block; color: var(--v5-ink); font-size: 13px; font-weight: 650; }
.dashboard-v5-team-row > span > small { display: block; margin-top: 3px; color: #9299a5; font-size: 11px; }
.dashboard-v5-owner { display: flex; align-items: center; gap: 9px; min-width: 0; }
.dashboard-v5-owner > b { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; background: #e9edfb; color: #4059b7; font-size: 12px; }
.dashboard-v5-owner > span { min-width: 0; }
.dashboard-v5-owner strong,
.dashboard-v5-owner small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-v5-team-row i { display: block; width: 100%; height: 4px; margin-top: 5px; overflow: hidden; border-radius: 999px; background: #edf0f4; }
.dashboard-v5-team-row i b { display: block; height: 100%; border-radius: inherit; background: #536cc9; }
.dashboard-v5-rate { color: #4059b7; font-weight: 700; }
.dashboard-v5-rate.is-warning { color: #bd7312; }

.dashboard-v5-owner-detail .dashboard-panel-head > strong { color: #4059b7; font-size: 25px; line-height: 28px; text-align: right; }
.dashboard-v5-owner-detail .dashboard-panel-head > strong small { display: block; color: #8a93a1; font-size: 10px; font-weight: 500; line-height: 15px; }
.dashboard-v5-owner-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #edf0f4; }
.dashboard-v5-owner-kpis > div { min-height: 70px; padding: 12px 15px; background: #fff; }
.dashboard-v5-owner-kpis span { display: block; color: #8a93a1; font-size: 11px; }
.dashboard-v5-owner-kpis strong { display: block; margin-top: 6px; color: var(--v5-ink); font-size: 17px; }
.dashboard-v5-owner-states { padding: 5px 15px 3px; }
.dashboard-v5-owner-states > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid #f0f2f5; }
.dashboard-v5-owner-states span { color: #505866; font-size: 12px; }
.dashboard-v5-owner-states strong { color: var(--v5-ink); font-size: 13px; }
.dashboard-v5-owner-states small { grid-column: 1 / -1; color: #989fab; font-size: 10px; }
.dashboard-v5-owner-states .is-warning strong { color: #bd7312; }
.dashboard-v5-owner-states .is-danger strong { color: #c54943; }
.dashboard-v5-detail-action { width: calc(100% - 30px); min-height: 36px; margin: 9px 15px 15px; border: 1px solid #cfd6ee; border-radius: 7px; background: #f5f7ff; color: #4059b7; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.dashboard-v5-detail-action:hover { border-color: #9ba9dc; background: #edf1ff; }

.dashboard-v5-bottom,
.dashboard-v5-personal-top { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr); gap: 14px; margin-bottom: 14px; }
.dashboard-v5-alerts > div:last-child,
.dashboard-v5-tasks > div:last-child { padding: 4px 17px 8px; }
.dashboard-v5-alerts button,
.dashboard-v5-tasks button { display: grid; width: 100%; min-height: 50px; align-items: center; gap: 10px; padding: 8px 0; border: 0; border-bottom: 1px solid #f0f2f5; background: transparent; color: #697386; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.dashboard-v5-alerts button { grid-template-columns: 24px 76px 1fr auto; }
.dashboard-v5-alerts button:last-child,
.dashboard-v5-tasks button:last-child { border-bottom: 0; }
.dashboard-v5-alerts button:hover,
.dashboard-v5-tasks button:hover { background: #fafbfe; }
.dashboard-v5-alerts button > i,
.dashboard-v5-tasks button > i { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; background: #e9edfb; color: #4059b7; font-size: 11px; font-style: normal; font-weight: 800; }
.dashboard-v5-alerts button > i.is-warning,
.dashboard-v5-tasks button > i.is-warning { background: #fff3df; color: #b66b09; }
.dashboard-v5-alerts button > i.is-danger,
.dashboard-v5-tasks button > i.is-danger { background: #fff0ef; color: #c54943; }
.dashboard-v5-alerts button > strong { color: var(--v5-ink); font-size: 12px; }
.dashboard-v5-alerts button > b,
.dashboard-v5-tasks button > b { color: #4059b7; font-size: 11px; white-space: nowrap; }

.dashboard-v5-flow { display: flex; align-items: center; gap: 9px; padding: 22px 18px 18px; }
.dashboard-v5-flow-step { flex: 0 0 auto; min-width: 72px; text-align: center; }
.dashboard-v5-flow-step strong { display: block; color: var(--v5-ink); font-size: 21px; line-height: 27px; }
.dashboard-v5-flow-step span { display: block; margin-top: 3px; color: #7e8795; font-size: 11px; }
.dashboard-v5-flow > i { position: relative; height: 1px; flex: 1; background: #dfe4ed; }
.dashboard-v5-flow > i::after { content: ""; position: absolute; top: -3px; right: 0; width: 6px; height: 6px; border-top: 1px solid #aab3c1; border-right: 1px solid #aab3c1; transform: rotate(45deg); }
.dashboard-v5-rates { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--v5-border); background: #fafbfc; }
.dashboard-v5-rates > div { min-height: 62px; padding: 11px 16px; border-right: 1px solid var(--v5-border); }
.dashboard-v5-rates > div:last-child { border-right: 0; }
.dashboard-v5-rates span { display: block; color: #8a93a1; font-size: 10px; }
.dashboard-v5-rates strong { display: block; margin-top: 4px; color: #4059b7; font-size: 16px; }

.dashboard-v5-tasks > div:last-child { padding-top: 3px; }
.dashboard-v5-tasks button { grid-template-columns: 24px 1fr auto; min-height: 58px; }
.dashboard-v5-tasks button span strong { display: block; color: var(--v5-ink); font-size: 12px; }
.dashboard-v5-tasks button span small { display: block; margin-top: 3px; color: #8c94a1; font-size: 11px; }

.dashboard-v5-customers { overflow-x: auto; }
.dashboard-v5-customer-head,
.dashboard-v5-customer-row { display: grid; grid-template-columns: minmax(170px, 1.25fr) 86px 86px minmax(130px, 1fr) 100px minmax(190px, 1.4fr) 70px; align-items: center; gap: 12px; min-width: 920px; padding: 0 18px; }
.dashboard-v5-customer-head { min-height: 38px; background: #fafbfc; color: #89919f; font-size: 11px; }
.dashboard-v5-customer-row { min-height: 58px; border-top: 1px solid #f0f2f5; color: #697386; font-size: 12px; }
.dashboard-v5-customer-row > strong,
.dashboard-v5-customer-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-v5-customer-row > strong { color: var(--v5-ink); font-weight: 650; }
.dashboard-v5-customer-row > b { width: max-content; padding: 4px 7px; border-radius: 5px; background: #f1f3f6; color: #697386; font-size: 10px; font-weight: 650; }
.dashboard-v5-customer-row > b.is-shared { background: #eef1fb; color: #4059b7; }
.dashboard-v5-customer-row > b.is-opened { background: #eaf7f2; color: #287d60; }
.dashboard-v5-customer-row > button { border: 0; background: transparent; color: #4059b7; font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; }

@media (max-width: 1180px) {
  .dashboard-v5-management,
  .dashboard-v5-bottom,
  .dashboard-v5-personal-top { grid-template-columns: minmax(0, 1fr); }
  .dashboard-v5-team-list { max-height: 330px; }
}

@media (max-width: 760px) {
  .dashboard-v5-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-v5-team { overflow-x: auto; }
  .dashboard-v5-flow { overflow-x: auto; }
  .dashboard-v5-flow-step { min-width: 78px; }
}

/* Business overview v5.1 typography system */
#view-analytics .dashboard-v5 {
  --v5-type-caption: 13px;
  --v5-type-body: 14px;
  --v5-type-emphasis: 14px;
  --v5-type-section: 16px;
  --v5-type-title: 24px;
  --v5-type-metric: 32px;
  --v5-font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-family: var(--v5-font);
  font-size: var(--v5-type-body);
  line-height: 20px;
  text-rendering: auto;
  -webkit-font-smoothing: auto;
}

#view-analytics .dashboard-v5 :is(strong, b) {
  font-synthesis: none;
}

#view-analytics .dashboard-v5 :is(.dashboard-kpi strong, .dashboard-v5-owner-detail .dashboard-panel-head > strong, .dashboard-v5-owner-kpis strong, .dashboard-v5-team-row > span > strong, .dashboard-v5-flow-step strong, .dashboard-v5-rates strong, .dashboard-v5-owner-states strong) {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

#view-analytics .dashboard-v5 .dashboard-heading {
  min-height: 70px;
  margin-bottom: 16px;
}

#view-analytics .dashboard-v5 .dashboard-heading h1 {
  font-size: var(--v5-type-title);
  font-weight: 700;
  line-height: 30px;
}

#view-analytics .dashboard-v5 .dashboard-heading p {
  margin-top: 4px;
  color: #536174;
  font-size: var(--v5-type-body);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5 .dashboard-scope button {
  min-width: 62px;
  height: 32px;
  font-size: var(--v5-type-body);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5 .dashboard-scope button.is-active {
  font-weight: 700;
}

#view-analytics .dashboard-v5 [data-dashboard-refresh] {
  min-height: 38px;
  font-size: var(--v5-type-body) !important;
  font-weight: 700;
  line-height: 20px !important;
}

#view-analytics .dashboard-v5-kpis .dashboard-kpi {
  min-height: 118px;
  padding: 17px 18px 16px;
}

#view-analytics .dashboard-v5-kpis .dashboard-kpi > span {
  color: #536174;
  font-size: var(--v5-type-body);
  font-weight: 700;
  line-height: 20px;
}

#view-analytics .dashboard-v5-kpis .dashboard-kpi > strong {
  margin-top: 6px;
  font-size: var(--v5-type-metric);
  font-weight: 700;
  line-height: 38px;
}

#view-analytics .dashboard-v5-kpis .dashboard-kpi > small {
  margin-top: 4px;
  color: #536174;
  font-size: var(--v5-type-caption);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5 .dashboard-panel-head {
  min-height: 72px;
  padding: 16px 18px 14px;
}

#view-analytics .dashboard-v5 .dashboard-panel-head h2 {
  font-size: var(--v5-type-section);
  font-weight: 700;
  line-height: 24px;
}

#view-analytics .dashboard-v5 .dashboard-panel-head p {
  margin-top: 2px;
  color: #536174;
  font-size: var(--v5-type-caption);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5 .dashboard-panel-head > span {
  color: #536174;
  font-size: var(--v5-type-caption);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5-team-head,
#view-analytics .dashboard-v5-customer-head {
  color: #536174;
  font-size: var(--v5-type-caption);
  font-weight: 700;
  line-height: 20px;
}

#view-analytics .dashboard-v5-team-head {
  min-height: 40px;
}

#view-analytics .dashboard-v5-team-row {
  min-height: 68px;
  color: #536174;
  font-size: var(--v5-type-body);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5-team-row > span > strong {
  font-size: var(--v5-type-emphasis);
  font-weight: 700;
  line-height: 20px;
}

#view-analytics .dashboard-v5-team-row > span > small,
#view-analytics .dashboard-v5-owner small {
  color: #536174;
  font-size: var(--v5-type-caption);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5-owner > b {
  font-size: var(--v5-type-body);
  font-weight: 700;
  line-height: 20px;
}

#view-analytics .dashboard-v5-rate {
  font-size: var(--v5-type-body);
  font-weight: 700;
  line-height: 20px;
}

#view-analytics .dashboard-v5-owner-detail .dashboard-panel-head > strong {
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
}

#view-analytics .dashboard-v5-owner-detail .dashboard-panel-head > strong small {
  font-size: var(--v5-type-caption);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5-owner-kpis span {
  color: #536174;
  font-size: var(--v5-type-caption);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5-owner-kpis strong {
  margin-top: 5px;
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
}

#view-analytics .dashboard-v5-owner-states span {
  color: #536174;
  font-size: var(--v5-type-body);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5-owner-states strong {
  font-size: var(--v5-type-emphasis);
  font-weight: 700;
  line-height: 20px;
}

#view-analytics .dashboard-v5-owner-states small {
  color: #536174;
  font-size: var(--v5-type-caption);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5-detail-action {
  font-size: var(--v5-type-body);
  font-weight: 700;
  line-height: 20px;
}

#view-analytics .dashboard-v5-alerts button,
#view-analytics .dashboard-v5-tasks button {
  color: #536174;
  font-size: var(--v5-type-body);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5-alerts button > strong,
#view-analytics .dashboard-v5-tasks button span strong {
  color: var(--v5-ink);
  font-size: var(--v5-type-body);
  font-weight: 700;
  line-height: 20px;
}

#view-analytics .dashboard-v5-tasks button span strong {
  font-size: var(--v5-type-emphasis);
}

#view-analytics .dashboard-v5-tasks button span small {
  color: #536174;
  font-size: var(--v5-type-caption);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5-alerts button > b,
#view-analytics .dashboard-v5-tasks button > b {
  font-size: var(--v5-type-caption);
  font-weight: 700;
  line-height: 20px;
}

#view-analytics .dashboard-v5-flow-step strong {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

#view-analytics .dashboard-v5-flow-step span {
  color: #536174;
  font-size: var(--v5-type-caption);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5-rates span {
  color: #536174;
  font-size: var(--v5-type-caption);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5-rates strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

#view-analytics .dashboard-v5-customer-head {
  min-height: 40px;
}

#view-analytics .dashboard-v5-customer-row {
  min-height: 62px;
  color: #536174;
  font-size: var(--v5-type-body);
  font-weight: 400;
  line-height: 20px;
}

#view-analytics .dashboard-v5-customer-row > strong {
  font-size: var(--v5-type-emphasis);
  font-weight: 700;
  line-height: 20px;
}

#view-analytics .dashboard-v5-customer-row > b {
  font-size: var(--v5-type-caption);
  font-weight: 700;
  line-height: 20px;
}

#view-analytics .dashboard-v5-customer-row > button {
  font-size: var(--v5-type-caption);
  font-weight: 700;
  line-height: 20px;
}

#view-analytics .dashboard-v5 .dashboard-empty {
  color: #536174;
  font-size: var(--v5-type-body);
  font-weight: 400;
  line-height: 20px;
}

@media (max-width: 760px) {
  #view-analytics .dashboard-v5 {
    --v5-type-title: 24px;
    --v5-type-metric: 32px;
  }

  #view-analytics .dashboard-v5 .dashboard-heading h1 { line-height: 28px; }
  #view-analytics .dashboard-v5-kpis .dashboard-kpi { min-height: 108px; padding: 14px; }
  #view-analytics .dashboard-v5-kpis .dashboard-kpi > strong { line-height: 34px; }
}

/* One family and role scale for Chinese text, digits, and controls. */
#view-analytics .dashboard-v5, #view-analytics .dashboard-v5 * {
  font-family: var(--v5-font) !important;
  font-synthesis: none;
  -webkit-font-smoothing: auto;
  text-rendering: auto;
}
#view-analytics .dashboard-v5 { color: #243247; }
#view-analytics .dashboard-v5 .dashboard-resource-filters label { font-size: var(--v5-type-caption); line-height: 20px; color: #536174; }
#view-analytics .dashboard-v5 .dashboard-resource-filters :is(select,button) { font-size: var(--v5-type-body); line-height: 22px; font-weight: 400; }
#view-analytics .dashboard-v5 .dashboard-heading h1 { line-height: 34px; }
#view-analytics .dashboard-v5 :is(.dashboard-kpi > strong,.dashboard-v5-owner-detail .dashboard-panel-head > strong,.dashboard-v5-owner-kpis strong,.dashboard-v5-flow-step strong) { letter-spacing: 0; }
@media(max-width:640px) { #view-analytics .dashboard-v5 .dashboard-resource-filters select { font-size: 16px; } }
#businessDashboard { position: relative; min-height: calc(100dvh - 32px); }
.overview-shell-loading { position: absolute; inset: 0; min-height: calc(100dvh - 32px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #667085; font-size: 13px; background: #f7f9fc; }
.overview-shell-loading img { display: block; width: 52px; height: 52px; }


/* reliability-v4.css */
/* Local reliability pass: one authoritative layer after legacy overrides. */
:root {
  --truth-ink: #172033;
  --truth-muted: #667085;
  --truth-line: #e2e7ef;
  --truth-soft: #f7f9fc;
  --truth-blue: #3157d5;
  --truth-green: #158f63;
  --truth-amber: #a86406;
  --truth-red: #b42318;
}

/* Home: keep real-data state and analysis readable at the existing card size. */
#view-home .insight-panel .panel-head { align-items: flex-start; }
#view-home .insight-body { display: grid; gap: 12px; padding: 2px 20px 18px; }
.action-advice-head { display: grid; gap: 7px; }
.action-advice-head > strong { color: var(--truth-ink); font-size: 14px; line-height: 21px; }
.platform-advice-head > p { margin: 0; color: var(--truth-muted); font-size: 12px; line-height: 18px; }
.research-state,
.customer-research-state > span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  color: var(--truth-muted);
  font-size: 11px;
  line-height: 18px;
  font-weight: 700;
}
.research-state::before,
.customer-research-state > span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #98a2b3;
  content: "";
}
.research-state.is-verified,
.customer-research-state.is-verified > span { color: var(--truth-green); }
.research-state.is-verified::before,
.customer-research-state.is-verified > span::before { background: var(--truth-green); }
.research-state.is-researching,
.customer-research-state.is-researching > span { color: var(--truth-blue); }
.research-state.is-researching::before,
.customer-research-state.is-researching > span::before { background: var(--truth-blue); box-shadow: 0 0 0 4px rgba(49,87,213,.1); }
.research-state.is-no-result,
.customer-research-state.is-no-result > span { color: var(--truth-amber); }
.research-state.is-no-result::before,
.customer-research-state.is-no-result > span::before { background: var(--truth-amber); }
.action-advice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--truth-line); border-radius: 9px; overflow: hidden; }
.action-advice-grid section { min-width: 0; padding: 10px 11px; background: #fff; }
.action-advice-grid section + section { border-left: 1px solid var(--truth-line); }
.action-advice-grid span { color: var(--truth-blue); font-size: 10px; line-height: 16px; font-weight: 700; }
.action-advice-grid p { display: -webkit-box; margin: 4px 0 0; overflow: hidden; color: #536174; font-size: 11px; line-height: 17px; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
#view-home .insight-evidence { padding: 9px 11px; border: 1px solid #e3e8f3; border-radius: 8px; box-shadow: none; background: #f8faff; }
#view-home .insight-evidence span { color: #65718a; }
#view-home .insight-evidence b { color: #536174; font-size: 10px; line-height: 16px; }

/* The right card never presents an unverified fallback as a researched conclusion. */
.customer-research-state { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 10px; margin: 10px 0 4px; padding: 10px 11px; border: 1px solid var(--truth-line); border-radius: 9px; background: var(--truth-soft); }
.customer-research-state > span { grid-column: 1; }
.customer-research-state p { grid-column: 1/-1; margin: 0; color: var(--truth-muted); font-size: 11px; line-height: 18px; }
.customer-research-state small { grid-column: 2; grid-row: 1; color: var(--truth-muted); font-size: 10px; line-height: 18px; }
.customer-routing dl { display: grid; gap: 0; margin: 0; }
.customer-routing dl > div { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--truth-line); }
.customer-routing dt { color: var(--truth-muted); font-size: 12px; line-height: 20px; }
.customer-routing dd { margin: 0; color: var(--truth-ink); font-size: 13px; line-height: 20px; font-weight: 600; overflow-wrap: anywhere; }
.customer-routing > small { display: block; margin-top: 6px; color: var(--truth-muted); font-size: 11px; line-height: 18px; }

/* Customer detail: explicit research state, compact hierarchy, no false completeness. */
.detail-modal:not(.is-analytics) { width: min(1080px,calc(100vw - 36px)) !important; }
.detail-modal:not(.is-analytics) .detail-modal-card { height: min(760px,calc(100vh - 28px)) !important; min-height: 0 !important; padding: 20px 26px 14px !important; }
.detail-modal:not(.is-analytics) .detail-modal-card > #modalCustomerBody { display: flex !important; min-height: 0 !important; overflow-y: auto !important; flex: 1 1 auto !important; }
.detail-modal .detail-verification-note { margin: 9px 0 0; padding: 8px 11px; border: 1px solid #e6eaf0; border-radius: 8px; background: #fafbfc; color: var(--truth-muted); font-size: 12px; line-height: 19px; }
.detail-modal .detail-decision-grid { min-height: 190px; }
.detail-modal .detail-decision-grid > section { min-height: 0; }

/* Crawl details: the run total can never conceal a missing per-company ledger. */
.crawl-results-modal { width: min(900px,calc(100vw - 36px)) !important; }
.crawl-results-card { width: 100% !important; max-height: calc(100vh - 28px) !important; border-radius: 16px; background: #fff; overflow: hidden; }
.crawl-results-integrity { display: flex; gap: 10px; margin: 0 24px 12px; padding: 10px 12px; border: 1px solid #f3c7c2; border-radius: 9px; background: #fff5f4; color: var(--truth-red); font-size: 12px; line-height: 18px; }
.crawl-results-integrity[hidden] { display: none; }
.crawl-results-integrity strong { white-space: nowrap; }
.crawl-results-summary > div { min-width: 0; }
.crawl-results-head,
.crawl-result-row { grid-template-columns: minmax(180px,1.4fr) 105px minmax(180px,1.2fr) 135px 100px !important; }
.crawl-results-list { min-height: 230px !important; max-height: min(45vh,390px) !important; }
.crawl-results-empty { min-height: 230px; color: var(--truth-muted); }

@media (max-width: 800px) {
  .action-advice-grid { grid-template-columns: 1fr; }
  .action-advice-grid section + section { border-top: 1px solid var(--truth-line); border-left: 0; }
  .crawl-results-head { display: none; }
  .crawl-result-row { grid-template-columns: minmax(0,1fr) 84px !important; }
}

/* Home v5: the existing one-screen frame owns the height; content may never grow it. */
#view-home .insight-panel { overflow: hidden; }
#view-home .insight-panel .panel-head { min-height: 66px; padding-bottom: 10px; }
#view-home .insight-body {
  display: block;
  min-height: 0 !important;
  height: calc(100% - 66px);
  overflow: hidden !important;
  padding: 0 18px 14px;
}
.daily-advice-topic {
  display: flex;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 18px 0 10px;
  flex-direction: column;
  justify-content: flex-start;
}
.daily-advice-topic > strong {
  display: block;
  overflow: hidden;
  color: var(--truth-ink);
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.daily-advice-topic > p {
  display: -webkit-box;
  margin: 9px 0 0;
  overflow: hidden;
  color: var(--truth-muted);
  font-size: 14px !important;
  line-height: 22px !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
}

#view-home .home-customer-card { overflow: hidden !important; }
#view-home .home-customer-card .customer-content-scroll {
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible !important;
  padding-right: 0;
}
#view-home .home-customer-card .customer-head h2 {
  max-width: 24ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#view-home .home-customer-card .customer-score { padding: 12px 0 8px; }
#view-home .home-customer-card .customer-score.is-review .score-grade { color: var(--truth-amber); }
#view-home .home-customer-card .score-meter { height: 5px; }
.home-customer-facts {
  display: grid;
  margin: 12px 0 0;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-block: 1px solid var(--truth-line);
}
.home-customer-facts > div { min-width: 0; padding: 9px 10px 9px 0; }
.home-customer-facts > div:nth-child(even) { padding-left: 10px; border-left: 1px solid var(--truth-line); }
.home-customer-facts > div:nth-child(n+3) { border-top: 1px solid var(--truth-line); }
.home-customer-facts dt { color: var(--truth-muted); font-size: 10px; line-height: 16px; }
.home-customer-facts dd {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--truth-ink);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-customer-decision,
.home-customer-next { padding: 11px 0 0; }
.home-customer-decision h3,
.home-customer-next h3 { margin: 0 0 4px; color: var(--truth-ink); font-size: 13px; line-height: 19px; }
.home-customer-decision p,
.home-customer-next p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--truth-muted);
  font-size: 11px;
  line-height: 18px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.home-customer-decision.is-review { margin-top: 10px; padding: 9px 10px; border-radius: 8px; background: var(--truth-soft); }
.home-customer-decision.is-review h3 { color: var(--truth-amber); }
#view-home .home-customer-card .customer-action-dock { margin-top: auto !important; }
#view-home .home-customer-card .pack-readiness-section { padding-top: 12px; padding-bottom: 8px; }
#view-home .home-customer-card .readiness.readiness-cards { margin-top: 8px; gap: 6px; }
#view-home .home-customer-card .readiness-card { min-height: 54px; padding: 8px; }
#view-home .home-customer-card .customer-footer { margin-top: 8px !important; padding-top: 10px; }

@media (max-width: 1180px) {
  #view-home .home-customer-card .customer-content-scroll { overflow: visible !important; }
}


/* followup-share.css */
@font-face{font-family:Inter;src:url('/prototype/assets/fonts/InterVariable-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--ui-brand:#3e5abd;--share-font:Inter,system-ui,-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI Variable","Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--share-ink:#101828;--share-muted:#59677d;--share-line:#e2e7ee;--share-canvas:#f4f6f9;--share-soft:#eef1ff}
.share-page,.share-page button,.share-page input,.followup-share-dialog,.followup-share-dialog :is(button,input,select),.followup-share-button{font-family:var(--share-font);font-synthesis:none;font-variant-numeric:tabular-nums;font-size:15px;line-height:1.55;letter-spacing:normal}
.share-page{margin:0;background:var(--share-canvas);color:var(--share-ink)}
.share-page *,.followup-share-dialog *{box-sizing:border-box}
.share-page [hidden],.followup-share-dialog [hidden],.followup-share-button[hidden]{display:none!important}
.share-page :is(button,input),.followup-share-dialog :is(button,input,select){color:inherit}
.share-page button,.followup-share-dialog button{cursor:pointer}
.share-page button:disabled,.followup-share-dialog button:disabled{cursor:not-allowed;opacity:.5}
.share-page :is(button,input):focus-visible,.followup-share-dialog :is(button,input,select,a):focus-visible,.followup-share-button:focus-visible{outline:2px solid var(--ui-brand);outline-offset:3px}
.share-page svg,.followup-share-dialog svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.share-layout{display:grid;grid-template-columns:minmax(0,1fr);min-height:100vh}
.share-layout.analysis-open{grid-template-columns:minmax(0,1fr) clamp(410px,30vw,550px)}
.share-main{min-width:0}
.share-brandbar{min-height:82px;display:flex;align-items:center;gap:24px;padding:10px 36px;background:white;border-bottom:1px solid var(--share-line)}
.share-brand{display:flex;align-items:center;gap:12px;flex-shrink:0}
.share-brand svg{width:40px;height:44px;color:var(--ui-brand);stroke:none}
.share-brand img{width:132px;height:auto}
.share-brand-context{display:grid;gap:3px;min-width:0;border-left:1px solid var(--share-line);padding-left:24px}.share-brand-context strong{font-size:17px;line-height:24px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.share-brand-context>span{max-width:52vw;color:var(--share-muted);font-size:14px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.share-top-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0}.share-update-copy{display:grid;justify-items:end;margin-right:4px;color:var(--share-muted);font-size:13px;line-height:19px}.share-top-actions .share-button{white-space:nowrap}
.share-content{padding:22px 36px 24px}
.share-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;min-height:84px}
.share-heading h1{font-size:16px;font-weight:600;line-height:1.35;margin:0 0 16px}
.share-heading p{font-size:14px;margin:0;color:var(--share-muted);overflow-wrap:anywhere}
.share-updates{flex-shrink:0;text-align:right}
.share-updates p{font-size:12px;line-height:20px}
.share-updates button{margin-bottom:12px}
.share-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 18px;min-height:40px;background:white;border:1px solid #cfd7e3;border-radius:7px;font-weight:500;text-decoration:none;color:var(--share-ink)}
.share-button:hover{border-color:var(--ui-brand);color:var(--ui-brand);background:#fafbff}
.share-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--share-line);border-radius:8px;background:white;margin-bottom:18px;padding:18px 0}
.share-kpis button{position:relative;border:0;border-right:1px solid var(--share-line);padding:0 16px 10px;background:transparent;display:grid;justify-items:center;gap:12px;min-height:78px}
.share-kpis button:last-child{border-right:0}
.share-kpis button strong{font-size:28px;line-height:1;font-weight:600}
.share-kpis button.active:after{content:"";position:absolute;bottom:0;width:38px;height:3px;border-radius:4px;background:var(--ui-brand)}
.share-kpis button:hover{background:#fafbff}
.share-table-panel{border:1px solid var(--share-line);border-radius:9px;background:#fff;overflow:hidden}
.share-toolbar{padding:16px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--share-line);flex-wrap:wrap}
.share-search{display:flex;align-items:center;gap:8px;border:1px solid var(--share-line);border-radius:6px;height:38px;padding:0 10px;min-width:190px;flex:1 1 180px;color:var(--share-muted)}
.share-search input{min-width:0;width:100%;border:0;background:transparent;outline:0}
.share-search input::placeholder{color:var(--share-muted)}
.share-search:focus-within{outline:2px solid var(--ui-brand);outline-offset:2px}
.share-scope{display:flex;align-items:center;gap:6px;background:#f8fafc;border:1px solid var(--share-line);border-radius:6px;padding:7px 10px;max-width:245px;font-size:14px;min-height:40px}
.share-scope span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.share-scope svg{width:14px;height:14px;color:var(--share-muted)}
.share-tiers{display:flex;border:1px solid var(--share-line);border-radius:6px;overflow:hidden;background:#f8fafc;margin-left:auto}
.share-tiers button{border:0;border-right:1px solid var(--share-line);background:transparent;padding:7px 12px;min-height:40px;font-size:14px;white-space:nowrap}
.share-tiers button:last-child{border-right:0}.share-tiers .active{background:white;font-weight:600;box-shadow:inset 0 0 0 1px #cfd7e3}
.share-table-scroll{overflow-x:auto}
.share-table{width:100%;min-width:880px;table-layout:fixed;border-collapse:collapse}
.col-tier{width:6%}.col-company{width:20%}.col-nodes{width:33%}.col-time{width:13%}.col-intent{width:16%}.col-action{width:12%}
.share-table th{background:#f8fafc;font-weight:600;font-size:14px;text-align:left;padding:12px 12px 8px;height:60px;border-bottom:1px solid var(--share-line)}
.share-table th:nth-child(n+3){text-align:center}.share-table th button{border:0;background:transparent;padding:0;font-size:14px}
.share-table td{height:68px;padding:10px 12px;border-bottom:1px solid #edf0f5;vertical-align:middle}
.share-table tr:last-child td{border-bottom:0}.share-table tr.selected{background:#f5f7ff}.share-table tbody tr:hover{background:#f8faff}
.share-table .company-name{display:block;font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.share-table .company-meta{display:block;color:var(--share-muted);font-size:13px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.share-grade{display:grid;place-items:center;width:28px;height:30px;border:1px solid currentColor;border-radius:5px;font-size:14px;background:white;color:#59677d}
.share-grade.tier-S{color:#c4324a}.share-grade.tier-A{color:#9c5c00}.share-grade.tier-B{color:#2e7d32}
.share-node-labels{display:grid;grid-template-columns:repeat(6,1fr);margin-top:5px;font-size:13px;font-weight:400;color:var(--share-muted)}
.share-node-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center}
.share-node{display:flex;justify-content:center;position:relative;background:transparent;border:0;padding:7px 0;min-height:30px;isolation:isolate}
.share-node:not(:last-child):after{content:"";position:absolute;height:1px;background:#d8dfeb;left:calc(50% + 9px);width:calc(100% - 18px);top:50%;z-index:-1}
.share-node i{display:block;height:15px;width:15px;border:1.5px solid var(--node-color);border-radius:50%;background:white;opacity:.55}
.share-node.done i{background:var(--node-color);box-shadow:inset 0 0 0 3px white;opacity:1}
.share-node.current i{outline:3px solid var(--node-soft);opacity:1}
.share-current-node{display:block;text-align:center;font-size:13px;color:var(--share-muted);margin-top:3px}
.share-time{text-align:center;white-space:nowrap;color:#475467;font-size:14px}
.share-intent{display:flex;align-items:center;justify-content:center;gap:8px}.share-intent strong{font-size:16px;font-weight:600}.share-intent>i{height:5px;width:50px;flex-shrink:0;border-radius:5px;background:#e9ecf2;overflow:hidden}.share-intent>i>b{display:block;height:100%;background:var(--ui-brand);border-radius:5px}.share-intent small{font-size:13px;white-space:nowrap;color:var(--share-muted)}
.share-analysis-link{padding:7px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ui-brand)!important;font-size:14px;white-space:nowrap}.selected .share-analysis-link,.share-analysis-link:hover{border-color:var(--ui-brand)}
.share-table td:last-child{text-align:center}
.share-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--share-line);padding:16px 20px;min-height:62px;font-size:14px}.share-pagination nav{display:flex;align-items:center;gap:6px}.share-pagination button{border:0;background:transparent;border-radius:5px;min-width:30px;height:32px}.share-pagination button.active{background:var(--ui-brand);color:white}.share-pagination button:hover:not(.active):not(:disabled){background:var(--share-soft)}
.share-footnote{display:flex;justify-content:space-between;gap:20px;padding:20px 4px 0;color:var(--share-muted);font-size:13px}
.share-drawer{background:white;border-left:1px solid var(--share-line);padding:0 30px;position:sticky;top:0;min-width:0;height:100dvh;overflow-y:auto;overscroll-behavior-y:contain;display:flex;flex-direction:column}
.drawer-top{display:flex;align-items:center;justify-content:space-between;min-height:56px;flex-shrink:0}.drawer-top h2{font-size:16px;line-height:1.35;color:var(--ui-brand);font-weight:600;margin:0}
.share-icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;width:36px;height:36px;border-radius:6px}.share-icon-button:hover{background:#f0f2f6}
.analysis-company{padding:8px 0 12px;border-bottom:1px solid var(--share-line);margin-bottom:12px}.analysis-company h3{margin:0 0 4px;font-size:16px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}.analysis-company p{margin:0;color:var(--share-muted);font-size:14px}
.analysis-score-title{font-size:14px;margin:0 0 8px}.analysis-score-line{display:flex;justify-content:space-between;align-items:center}.analysis-score-line strong{font-size:28px;line-height:1;font-weight:600}.analysis-score-line small{font-size:14px;margin-left:7px}.analysis-score-line .level{font-size:12px;border:1px solid #ccd5f1;color:var(--ui-brand);background:#f8faff;border-radius:5px;padding:4px 7px}
.analysis-score-scale{position:relative;margin:16px 0 8px;display:grid;grid-template-columns:repeat(5,1fr);gap:3px;height:6px}.analysis-score-scale i{background:#ef6664}.analysis-score-scale i:nth-child(2){background:#e9a349}.analysis-score-scale i:nth-child(3){background:#ccbe40}.analysis-score-scale i:nth-child(4){background:#92bb63}.analysis-score-scale i:nth-child(5){background:#57a870}.analysis-score-scale b{position:absolute;top:-11px;transform:translateX(-50%);width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:9px solid var(--ui-brand)}
.analysis-small{font-size:12px;line-height:20px;color:var(--share-muted);margin:0}
.analysis-metrics{display:grid;grid-template-columns:1fr 1fr;margin:12px 0 0}.analysis-metrics div{padding:8px 0;border-bottom:1px solid var(--share-line)}.analysis-metrics div:nth-child(even){padding-left:22px;border-left:1px solid var(--share-line)}.analysis-metrics div:nth-last-child(-n+2){border-bottom:0}.analysis-metrics dt{font-size:14px;color:var(--share-muted);margin-bottom:4px}.analysis-metrics dd{font-size:16px;margin:0}.analysis-metrics dd strong{font-size:28px;line-height:1;font-weight:500}.analysis-metrics dd small{font-size:12px;margin-left:5px}
.analysis-section{margin-top:16px}.analysis-section h3{font-size:16px;font-weight:600;margin:0 0 8px}.analysis-bars{display:grid;gap:8px}.analysis-bar{display:grid;grid-template-columns:64px minmax(40px,1fr) 70px;gap:12px;align-items:center;font-size:14px}.analysis-bar i{height:5px;border-radius:5px;background:#e9ecf2;overflow:hidden}.analysis-bar b{display:block;height:100%;background:var(--ui-brand);border-radius:5px}.analysis-bar small{text-align:right;font-size:12px;white-space:nowrap}.analysis-section p{font-size:14px;line-height:1.6;margin:4px 0;color:#475467}
.analysis-node-summary{margin-top:12px;padding:10px 12px;border-radius:7px;border:1px solid #ced7f3;background:#f6f8ff}.analysis-node-summary strong{font-size:14px;color:var(--ui-brand);font-weight:600}.analysis-node-summary p{margin:4px 0 0;font-size:14px;color:var(--share-muted)}
.drawer-bottom{padding:16px 0;margin-top:0;flex-shrink:0}.drawer-bottom p{font-size:12px;line-height:20px;color:var(--share-muted);margin:0 0 10px}.drawer-bottom button{width:100%}
.share-alert{padding:12px 16px;border:1px solid #edc1bc;background:#fff5f3;border-radius:7px;margin-bottom:18px;color:#963b31;font-size:14px}.share-empty{text-align:center!important;padding:48px 20px!important;color:var(--share-muted);font-size:14px}.share-empty button{margin-top:16px}
.share-node-dialog{width:min(460px,calc(100vw - 32px));padding:24px;border:1px solid var(--share-line);border-radius:12px;color:var(--share-ink)}.share-node-dialog::backdrop,.followup-share-dialog::backdrop{background:rgba(16,24,40,.32)}.share-node-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.share-node-dialog h2{font-size:16px;margin:0}.share-node-dialog p{font-size:14px;line-height:1.6}
.followup-share-button{min-width:84px;min-height:38px;padding:7px 18px;border:1px solid var(--ui-brand);border-radius:8px;background:var(--ui-brand);background-image:none;color:white!important;font-weight:500;cursor:pointer}
.followup-share-button:hover{background:#334ca9}
.followup-share-dialog{width:min(660px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:24px;border:1px solid var(--share-line);border-radius:12px;overflow:auto;background:white;color:var(--share-ink)}
.followup-share-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.followup-share-dialog h2{font-size:16px;font-weight:600;margin:0}.followup-share-dialog p{font-size:14px;color:var(--share-muted);margin:8px 0 16px}.share-manager-tabs{display:flex;gap:8px;border-bottom:1px solid var(--share-line);margin-bottom:20px}.share-manager-tabs button{padding:8px 14px;border:0;border-bottom:2px solid transparent;background:white}.share-manager-tabs button.active{color:var(--ui-brand);border-bottom-color:var(--ui-brand)}
.share-manager-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.share-manager-fields label{display:grid;gap:8px;font-size:14px;min-width:0}.share-manager-fields .wide{grid-column:1/-1}.followup-share-dialog :is(input,select){height:40px;border:1px solid #cfd7e3;border-radius:6px;background:white;padding:8px 10px;width:100%;min-width:0;font-size:14px}.share-manager-notice{padding:12px 14px;border-radius:7px;background:#f8fafc;margin-top:18px;font-size:14px;line-height:1.6}.share-manager-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.followup-share-dialog .primary{background:var(--ui-brand);color:white;border-color:var(--ui-brand)}.followup-share-dialog .primary:hover{background:#334ca9}.followup-share-dialog .share-error{color:#a83f34;font-size:14px;margin-top:12px}.share-created{border-top:1px solid var(--share-line);margin-top:20px;padding-top:20px}.share-created>strong{font-size:16px;font-weight:600}.share-created input{margin-top:12px}.share-created .share-manager-actions{margin-top:12px}.share-history-item{padding:16px 0;border-bottom:1px solid var(--share-line)}.share-history-item>strong{font-weight:600;font-size:14px}.share-history-item p{font-size:12px;margin:6px 0 12px}.share-history-actions{display:flex;gap:8px;flex-wrap:wrap}.share-history-actions button,.share-history-actions a{font-size:12px;min-height:36px;padding:6px 12px}.share-history-item .danger{color:#b43c40}
@media(min-width:1800px){.share-content{padding:32px 40px 24px}.share-table td{height:76px}.share-table{min-width:1000px}.share-drawer{padding-inline:32px}}
@media(max-width:1390px){.share-content{padding-inline:24px}.share-brandbar{padding-inline:24px}.share-drawer{padding-inline:24px}.share-layout.analysis-open{grid-template-columns:minmax(0,1fr) 400px}.share-toolbar{gap:8px}.share-scope{max-width:210px}.share-heading{gap:16px}.share-heading p{max-width:42ch}}
@media(max-width:1320px){.share-layout.analysis-open{grid-template-columns:minmax(0,1fr)}.share-drawer{position:fixed;z-index:20;right:0;top:0;width:min(440px,100vw);height:100dvh;box-shadow:-12px 0 36px rgba(16,24,40,.14)}.share-layout.analysis-open .share-main{pointer-events:none}.share-table{min-width:900px}}
@media(max-width:760px){.share-brandbar{padding:10px 16px;gap:12px;flex-wrap:wrap}.share-brand svg{width:30px;height:36px}.share-brand img{width:104px}.share-brand-context{padding-left:12px;flex:1}.share-brand-context strong{font-size:16px}.share-brand-context>span{max-width:calc(100vw - 190px);font-size:13px}.share-top-actions{width:100%;margin-left:0}.share-update-copy{justify-items:start;margin-right:auto;font-size:12px}.share-top-actions .share-button{padding-inline:12px}.share-content{padding:18px 16px}.share-kpis{padding:14px 0}.share-kpis button{padding-inline:4px;gap:10px;min-height:74px}.share-kpis button span{font-size:13px}.share-kpis strong{font-size:28px}.share-toolbar{padding:12px;gap:8px}.share-search{flex-basis:100%;min-height:42px}.share-scope{flex:1;max-width:100%;min-width:0}.share-tiers{width:100%;margin:0}.share-tiers button{flex:1;min-height:40px}.share-pagination{padding:14px 12px;flex-wrap:wrap}.share-pagination nav{gap:4px}.share-pagination button{min-width:32px;height:36px}.share-footnote{flex-direction:column;gap:8px;font-size:13px}.share-drawer{width:100%;padding:0 22px}.drawer-top{min-height:56px}.share-manager-fields{grid-template-columns:1fr}.followup-share-dialog{padding:20px}.share-manager-actions{flex-wrap:wrap}.share-manager-actions .share-button{flex:1}}
@media(max-width:480px){.share-update-copy{display:none}.share-top-actions .share-button{flex:1}.share-top-actions .share-button span{font-size:13px}}
@media(prefers-reduced-motion:no-preference){.share-drawer{animation:share-drawer-in .16s ease-out}@keyframes share-drawer-in{from{transform:translateX(16px);opacity:.85}to{transform:translateX(0);opacity:1}}}

@media(min-width:1321px){.share-search{flex:0 1 235px}.share-scope{font-size:14px}.share-tiers button{font-size:14px}.share-table th{font-size:14px}.share-table th button{font-size:14px}.share-table td:not(:last-child){border-right:1px solid #edf0f5}}

/* Compact analysis: hide scrollbars, retain wheel/touch/keyboard access to overflow. */
html:has(body.share-page),.share-page,.share-drawer,.share-table-scroll{scrollbar-width:none}
html:has(body.share-page)::-webkit-scrollbar,.share-page::-webkit-scrollbar,.share-drawer::-webkit-scrollbar,.share-table-scroll::-webkit-scrollbar{display:none;width:0;height:0}
@media(max-width:1320px){html:has(.share-page .analysis-open){overflow:hidden}}


/* company-detail.css */
/* Company detail: keep the existing product palette, let the content set the height. */
#detailModal:not(.is-analytics) .detail-modal-card {
  display: flex;
  flex-direction: column;
  height: auto !important;
  min-height: 0 !important;
  max-height: 90dvh !important;
  overflow: hidden;
}
#detailModal:not(.is-analytics) #modalCustomerBody { flex: 1 1 auto; min-height: 0; scrollbar-width: thin; }
#detailModal:not(.is-analytics) .detail-content-v1 { --detail-ink: #252d3a; --detail-muted: #5c6778; --detail-line: #e1e5ec; }
#detailModal:not(.is-analytics) .detail-content-v1 [hidden] { display: none !important; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-status { gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--detail-line); }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-status > div { flex-wrap: wrap; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-status > div > span { color: var(--detail-muted); font-weight: 500; white-space: normal; }
#detailModal:not(.is-analytics) .detail-content-v1 .detail-status-actions { justify-content: flex-end; flex-shrink: 0; gap: 12px; }
#detailModal:not(.is-analytics) .detail-content-v1 .detail-geo-score { padding: 0; min-width: 0; border: 0; background: transparent; }
.detail-refresh-button, .detail-retry-button { min-height: 32px; padding: 5px 10px; border: 1px solid #cdd3de; border-radius: 6px; background: #fff; color: #38465a; font: inherit; font-size: 12px; cursor: pointer; }
.detail-refresh-button:hover, .detail-retry-button:hover { background: #f2f5fa; }
.detail-refresh-button:disabled, .detail-retry-button:disabled { cursor: default; color: #657083; background: #f4f5f7; }
#detailModal:not(.is-analytics) .detail-content-v1 button:focus-visible, #detailModal:not(.is-analytics) .detail-content-v1 a:focus-visible { outline: 2px solid #1b4be5; outline-offset: 3px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-layout { grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); grid-template-rows: auto !important; height: auto !important; gap: 16px; margin-top: 18px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-main { height: auto !important; grid-template-rows: auto auto !important; gap: 16px; overflow: visible; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-sidebar { height: auto !important; overflow: visible; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-overview-card,
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-signal-section,
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-geo-panel { height: auto; padding: 19px 20px; overflow: visible; border-color: var(--detail-line) !important; background: #fff !important; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-overview-card p { display: block; margin: 12px 0 0; overflow: visible; color: #435066; font-size: 14px; line-height: 1.85; -webkit-line-clamp: unset; line-clamp: unset; overflow-wrap: anywhere; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-geo-panel { display: flex; flex-direction: column; background: #f8faff !important; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-geo-panel h4 { margin: 20px 0 0; color: var(--detail-ink); font-size: 16px; line-height: 1.55; font-weight: 650; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-geo-panel > p { margin: 11px 0 18px; font-size: 14px; line-height: 1.85; color: #435066; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-geo-panel > header span { color: #365293; border: 0; background: #eaf0fb; padding: 3px 8px; }
#detailModal:not(.is-analytics) .detail-content-v1 [data-demand-level="clear"] > header span { color: #126540; background: #e4f3ec; }
#detailModal:not(.is-analytics) .detail-content-v1 [data-demand-level="unknown"] > header span,
#detailModal:not(.is-analytics) .detail-content-v1 [data-demand-level="low"] > header span { color: #566174; background: #edf0f4; }
.detail-demand-basis { margin: 0 0 20px; }
.detail-demand-basis > small { display: block; margin-bottom: 7px; color: var(--detail-muted); font-size: 12px; }
.detail-demand-basis > div { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.detail-demand-basis span { color: #3b5483; font-size: 12px; line-height: 20px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-next-actions { margin-top: auto; padding-top: 16px; border-color: #dfe6f1; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-next-actions > p { margin: 6px 0 0; color: var(--detail-muted); font-size: 13px; line-height: 1.75; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-signal-section > ol { gap: 0; margin-top: 10px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-signal-section li { grid-template-columns: 22px minmax(0, 1fr); align-items: start; padding: 12px 0; gap: 10px; border-radius: 0; border-bottom: 1px solid #edf0f4; background: transparent; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-signal-section li:last-child { border-bottom: 0; padding-bottom: 0; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-signal-section li > span { background: #eef2f8; color: #445c8a; font-weight: 500; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-signal-section li strong { color: var(--detail-ink); font-size: 13px; line-height: 21px; white-space: normal; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-signal-section li p { margin: 3px 0 5px; overflow: visible; color: #435066; font-size: 13px; line-height: 1.7; white-space: normal; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-signal-section li small { display: block; color: var(--detail-muted); font-size: 11px; line-height: 18px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-signal-section a { color: var(--detail-muted); text-decoration: underline; text-underline-offset: 2px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-empty { padding: 17px 0 4px; background: transparent; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-empty p { color: var(--detail-muted); font-size: 13px; line-height: 1.8; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-public-info { background: #fff; grid-column: 1 / -1; padding: 16px 20px; border: 1px solid var(--detail-line); border-radius: 12px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-public-info > header h3 { margin: 0 0 14px; color: var(--detail-ink); font-size: 14px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-public-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 24px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-public-info-item { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-public-info-item > div { min-width: 0; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-public-info-icon { padding-top: 2px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-public-info-icon svg { width: 16px; height: 16px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-public-info-item small { display: block; margin-bottom: 3px; color: var(--detail-muted); font-size: 12px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-public-info-item strong,
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-public-info-item a { display: block; color: #435066; font-size: 13px; line-height: 1.7; font-weight: 400; overflow-wrap: anywhere; white-space: normal; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-source-list a { grid-template-columns: 1fr; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-source-list a strong,
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-source-list a span { white-space: normal; overflow-wrap: anywhere; }
.detail-modal .detail-live-progress { padding: 13px 16px; margin: 14px 0 0; border: 0; background: #f3f6fb; }
.detail-modal .detail-live-progress header { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.detail-modal .detail-live-progress header > div { flex: 1; flex-wrap: wrap; gap: 8px 16px; color: #425573; }
.detail-modal .detail-live-progress header strong { font-size: 13px; font-weight: 600; }
.detail-modal .detail-live-progress.is-delayed { background: #f9f5ed; }
.detail-modal .detail-live-progress-track { height: 4px; margin-top: 11px; background: #dce3ef; }
.detail-modal .detail-live-progress-track i { transition: none; }
.detail-modal .detail-live-progress .detail-progress-stages { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 12px 0 0; padding: 0; }
.detail-progress-stages li { display: flex; align-items: center; gap: 7px; color: #606d80; font-size: 12px; line-height: 20px; }
.detail-progress-stages li > i { width: 6px; height: 6px; border: 1px solid #64758d; border-radius: 50%; }
.detail-progress-stages li svg { width: 13px; height: 13px; }
.detail-progress-stages .is-running { color: #1b4be5; font-weight: 600; }
.detail-progress-stages .is-running > i { background: #1b4be5; border-color: #1b4be5; }
.detail-progress-stages .is-done { color: #166d49; }
.detail-modal .detail-progress-hint { margin: 9px 0 0; color: #5d6b7f; font-size: 12px; line-height: 1.7; }
.detail-request-error { color: #994026; font-size: 13px; line-height: 1.75; }
.detail-modal .deepseek-footer-summary > span { color: #5c6778; white-space: normal; }
@media (max-width: 900px) {
  #detailModal:not(.is-analytics) { width: calc(100vw - 24px) !important; height: auto !important; max-height: 94dvh !important; margin: auto !important; inset: 0 !important; }
  #detailModal:not(.is-analytics) .modal-head h2 { white-space: normal !important; overflow: visible !important; font-size: 18px !important; line-height: 26px !important; }
  #detailModal:not(.is-analytics) .detail-modal-card { width: 100%; max-height: 94dvh !important; padding: 18px 16px 12px !important; }
  #detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-layout { grid-template-columns: minmax(0, 1fr); }
  #detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-status { flex-wrap: wrap; }
  #detailModal:not(.is-analytics) .detail-content-v1 .detail-status-actions { flex: 1; justify-content: space-between; }
  #detailModal:not(.is-analytics) .detail-content-v1 .deepseek-public-info-grid { grid-template-columns: 1fr; }
  #detailModal:not(.is-analytics) .detail-content-v1 .deepseek-overview-card,
  #detailModal:not(.is-analytics) .detail-content-v1 .deepseek-signal-section,
  #detailModal:not(.is-analytics) .detail-content-v1 .deepseek-geo-panel { padding: 16px; }
  .detail-modal .detail-live-progress .detail-progress-stages { gap: 8px 16px; }
  .detail-modal .detail-action-bar { flex-wrap: wrap; gap: 8px; }
  .detail-modal .detail-action-bar .detail-research-footer { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .detail-modal .detail-live-progress-track i { transition: none; }
}

#detailModal:not(.is-analytics) #modalCustomerBody { display: block !important; width: 100%; overflow-y: auto !important; }
#detailModal:not(.is-analytics) .modal-head, #detailModal:not(.is-analytics) .detail-action-bar { flex-shrink: 0; }
#detailModal .detail-ai-source { padding: 16px 0; border-top: 1px solid #e1e5ec; }
#detailModal .detail-ai-source p { white-space: pre-wrap; line-height: 1.75; overflow-wrap: anywhere; color: #435066; }
#detailModal .detail-ai-source small { color: #5c6778; }

#detailModal .detail-live-progress-track > i { transform: none; }

/* Shared detail typography and the approved enterprise overview. */
#detailModal:not(.is-analytics) {
  --detail-title-size: 20px;
  --detail-section-size: 16px;
  --detail-body-size: 14px;
  --detail-meta-size: 12px;
  font-family: var(--ui-font);
  width: min(1184px, calc(100vw - 48px)) !important;
  height: min(790px, 90dvh) !important;
  max-height: 94dvh !important;
  border-radius: 16px !important;
}
#detailModal:not(.is-analytics) .detail-modal-card { height: 100% !important; max-height: 94dvh !important; padding: 26px 30px 18px !important; }
#detailModal:not(.is-analytics) #modalCustomerName { font-size: var(--detail-title-size) !important; line-height: 1.4 !important; font-weight: 600; white-space: normal !important; overflow-wrap: anywhere; }
#detailModal:not(.is-analytics) .detail-content-v1 { --detail-ink: #252d3a; --detail-muted: #5c6778; --detail-line: #e1e5ec; }
#detailModal:not(.is-analytics) #modalCustomerBody { scrollbar-width: none !important; scrollbar-gutter: auto !important; padding-top: 18px; overflow-y: auto !important; overflow-x: hidden; }
#detailModal:not(.is-analytics) #modalCustomerBody::-webkit-scrollbar,
#detailModal:not(.is-analytics) .detail-tabs-v2::-webkit-scrollbar { display: none; width: 0; height: 0; }
#detailModal:not(.is-analytics) .detail-content-v1 :is(p,dd,li,a,strong,button),
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-public-info-item :is(strong,a) { font-size: var(--detail-body-size); line-height: 1.75; }
#detailModal:not(.is-analytics) .detail-content-v1 :is(h3,h4) { font-size: var(--detail-section-size) !important; line-height: 1.5 !important; font-weight: 600; color: var(--detail-ink); }
#detailModal:not(.is-analytics) .detail-content-v1 h3 { margin: 0 0 12px; }
#detailModal:not(.is-analytics) #modalCustomerMeta,
#detailModal:not(.is-analytics) .detail-content-v1 small,
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-status,
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-status > div > span,
#detailModal:not(.is-analytics) .deepseek-footer-summary > span,
#detailModal:not(.is-analytics) .detail-content-v1 .detail-panel-note { font-size: var(--detail-meta-size) !important; line-height: 1.65; color: #5c6778; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-layout { grid-template-columns: minmax(0,1.65fr) minmax(300px,1fr); gap: 30px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-main { display: block; }
#detailModal:not(.is-analytics) .detail-content-v1 :is(.deepseek-overview-card,.deepseek-signal-section) { border: 0 !important; border-radius: 0; padding: 0; background: transparent !important; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-signal-section { border-top: 1px solid #e1e5ec !important; padding-top: 22px; margin-top: 24px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-geo-panel { padding: 22px; background: #f6f7f9 !important; border: 0 !important; border-radius: 14px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-geo-panel header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-geo-panel header > span { font-size: var(--detail-meta-size); line-height: 1.6; color: #315393; background: #eaf0fe; padding: 3px 7px; border-radius: 5px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-geo-panel h4 { margin: 14px 0 10px; }
#detailModal:not(.is-analytics) .detail-content-v1 .deepseek-geo-panel p { font-size: var(--detail-body-size); line-height: 1.85; margin: 8px 0 0; color: #435066; }
#detailModal:not(.is-analytics) .detail-content-v1 .detail-demand-finding { border-top: 1px solid #dde2e9; padding: 16px 0; }
#detailModal:not(.is-analytics) .detail-demand-findings { margin-top: 18px; }
#detailModal:not(.is-analytics) .detail-demand-finding > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
#detailModal:not(.is-analytics) .detail-demand-finding > small { display: block; margin-top: 7px; overflow-wrap: anywhere; }
#detailModal:not(.is-analytics) .detail-content-v1 .detail-demand-boundary { border-top: 1px solid #dde2e9; padding-top: 14px; font-size: var(--detail-meta-size); }
#detailModal:not(.is-analytics) .detail-demand-evidence { margin-top: 14px; }
#detailModal:not(.is-analytics) .detail-demand-evidence summary { cursor: pointer; color: #1b4be5; font-size: var(--detail-meta-size); line-height: 1.65; }
#detailModal:not(.is-analytics) .detail-demand-evidence dl > div { margin-top: 14px; }
#detailModal:not(.is-analytics) .detail-demand-evidence dt { font-size: var(--detail-meta-size); font-weight: 600; }
#detailModal:not(.is-analytics) .detail-content-v1 .detail-demand-evidence dd,
#detailModal:not(.is-analytics) .detail-content-v1 .detail-demand-evidence > p { margin: 6px 0 0; font-size: var(--detail-meta-size); line-height: 1.8; color: #5c6778; }
#detailModal:not(.is-analytics) .detail-demand-evidence small { display: block; }
#detailModal:not(.is-analytics) .detail-tabs-v2 { display: flex; gap: 28px; margin-top: 18px; border-bottom: 1px solid #e1e5ec; flex-shrink: 0; overflow-x: auto; scrollbar-width: none; }
#detailModal:not(.is-analytics) .detail-tabs-v2 button { font: inherit; font-size: var(--detail-body-size); line-height: 24px; padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; color: #5c6778; background: transparent; white-space: nowrap; cursor: pointer; }
#detailModal:not(.is-analytics) .detail-tabs-v2 button[aria-selected=true] { color: #1b4be5; border-bottom-color: #1b4be5; font-weight: 600; }
#detailModal:not(.is-analytics) .detail-tabs-v2 button:focus-visible,
#detailModal:not(.is-analytics) summary:focus-visible,
#detailModal:not(.is-analytics) #modalCustomerBody:focus-visible { outline: 2px solid #1b4be5; outline-offset: -2px; }
#detailModal:not(.is-analytics) [data-detail-panel]:not([hidden]) { padding: 20px 0 24px; }
#detailModal:not(.is-analytics) .detail-customer-questions { padding-left: 24px; }
#detailModal:not(.is-analytics) .detail-customer-questions li { padding: 16px 0; border-bottom: 1px solid #e1e5ec; }
#detailModal:not(.is-analytics) .detail-customer-questions p { margin: 0 0 7px; }
#detailModal:not(.is-analytics) .detail-trace-facts { margin-top: 20px; }
#detailModal:not(.is-analytics) .detail-trace-facts > div { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #e1e5ec; }
#detailModal:not(.is-analytics) .detail-trace-facts dt { font-size: var(--detail-meta-size); color: #5c6778; }
#detailModal:not(.is-analytics) .detail-trace-facts dd { margin: 0; overflow-wrap: anywhere; }
#detailModal:not(.is-analytics) .detail-action-bar { display: flex !important; gap: 10px !important; flex-wrap: nowrap; padding-top: 18px !important; }
#detailModal:not(.is-analytics) .detail-action-bar .detail-research-footer { flex: 1; margin-right: auto; min-width: 0; }
#detailModal:not(.is-analytics):not(.profile-detail) :is(#detailPrimaryAction,#detailAssignAction) { min-width: 112px; height: 40px !important; min-height: 40px !important; padding: 0 20px !important; border: 1px solid #1b4be5 !important; border-radius: 8px !important; background: #1b4be5 !important; color: #fff !important; font-size: var(--detail-body-size) !important; font-weight: 500; line-height: 1.4 !important; white-space: nowrap; }
#detailModal:not(.is-analytics):not(.profile-detail) #detailPrimaryAction { order: 1; }
#detailModal:not(.is-analytics):not(.profile-detail) #detailAssignAction { order: 2; }
#detailModal:not(.is-analytics):not(.profile-detail) :is(#detailPrimaryAction,#detailAssignAction):hover:not(:disabled) { background: #153dbe !important; border-color: #153dbe !important; }
#detailModal:not(.is-analytics):not(.profile-detail) :is(#detailPrimaryAction,#detailAssignAction):disabled { background: #657490 !important; border-color: #657490 !important; cursor: not-allowed; }
#detailModal:not(.is-analytics) .detail-action-bar [hidden], #detailModal [data-detail-tabs][hidden] { display: none !important; }
#detailModal.is-analytics [data-detail-tabs] { display: none !important; }
@media(max-width:900px) {
  #detailModal:not(.is-analytics) { width: calc(100vw - 24px) !important; }
  #detailModal:not(.is-analytics) .detail-modal-card { padding: 20px !important; }
  #detailModal:not(.is-analytics) .detail-content-v1 .deepseek-detail-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
}
@media(max-width:600px) {
  #detailModal:not(.is-analytics) { width: calc(100vw - 16px) !important; height: 94dvh !important; }
  #detailModal:not(.is-analytics) .detail-modal-card { padding: 18px 16px 14px !important; }
  #detailModal:not(.is-analytics) .detail-tabs-v2 { gap: 20px; }
  #detailModal:not(.is-analytics) .detail-action-bar .detail-research-footer { display: none; }
  #detailModal:not(.is-analytics) :is(#detailPrimaryAction,#detailAssignAction) { flex: 1; min-width: 0; padding: 0 12px !important; }
  #detailModal:not(.is-analytics) .detail-content-v1 .deepseek-geo-panel { padding: 18px; }
  #detailModal:not(.is-analytics) .detail-trace-facts > div { grid-template-columns: 96px minmax(0,1fr); }
}


/* company-detail-v161.css */
/* Uses the existing UI foundation and AIOSTabler library. Local detail surface only. */
#detailModal.detail-v161:not(.is-analytics){width:min(1280px,calc(100vw - 40px))!important;height:min(900px,92dvh)!important;max-height:92dvh!important;padding:0!important;border:0!important;border-radius:16px!important}
#detailModal.detail-v161:not(.is-analytics) .detail-modal-card{padding:0!important;display:flex!important;flex-direction:column!important;height:100%!important;max-height:100%!important;overflow:hidden!important;min-height:0!important}
#detailModal.detail-v161:not(.is-analytics) .modal-head{padding:22px 28px 16px!important;flex:0 0 auto;border:0!important;align-items:flex-start!important}
#detailModal.detail-v161:not(.is-analytics) .modal-head h2{font-size:22px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere}
#detailModal.detail-v161:not(.is-analytics) .modal-head p{font-size:12px!important;color:var(--ui-text-muted);margin-top:7px}
#detailModal.detail-v161:not(.is-analytics) .detail-tabs-v2{padding:0 28px!important;margin:0!important;gap:12px!important;display:flex!important;align-items:center;justify-content:space-between;overflow-x:auto;border-color:var(--ui-border)!important}
#detailModal.detail-v161:not(.is-analytics) .detail-tabs-v2 [role=tablist]{display:flex;gap:25px}
#detailModal.detail-v161:not(.is-analytics) .detail-tabs-v2 button{display:inline-flex;align-items:center;gap:8px;padding:12px 0!important;font:600 14px/22px var(--ui-font)!important;border-bottom:3px solid transparent;color:var(--ui-text-secondary);border-radius:0;background:none}
#detailModal.detail-v161:not(.is-analytics) .detail-tabs-v2 button[aria-selected=true]{color:var(--ui-brand)!important;border-bottom-color:var(--ui-brand)!important}
#detailModal.detail-v161:not(.is-analytics) .detail-tabs-v2 .d161-log-button{font-size:12px!important;color:var(--ui-text-muted)}
#detailModal.detail-v161:not(.is-analytics) #modalCustomerBody{padding:0!important;flex:1 1 auto!important;min-height:0!important;overflow:auto!important;background:var(--ui-canvas);scrollbar-width:thin;scrollbar-color:#aeb8c7 transparent}
#detailModal.detail-v161:not(.is-analytics) .deepseek-detail-status{margin:0!important;padding:10px 28px!important;min-height:0!important;height:auto!important;display:flex!important;justify-content:space-between;border:0!important;background:white;position:static!important}
#detailModal.detail-v161:not(.is-analytics) .detail-geo-score{display:none!important}
#detailModal.detail-v161:not(.is-analytics) .detail-refresh-button{background:white!important;color:var(--ui-text-secondary)!important;border:1px solid var(--ui-border-strong)!important;border-radius:8px!important;padding:6px 12px!important}
#detailModal.detail-v161:not(.is-analytics) [data-detail-progress]:not(:empty),#detailModal.detail-v161 .detail-request-error,#detailModal.detail-v161 .detail-progress-hint{margin:12px 28px!important}
#detailModal.detail-v161:not(.is-analytics) [data-detail-panel]:not([hidden]){padding:0!important}
#detailModal.detail-v161 .d161-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:24px;padding:22px 28px 28px;align-items:start}
#detailModal.detail-v161 .d161-main{min-width:0}
#detailModal.detail-v161 .d161-paper{padding:22px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:12px;margin:0}
#detailModal.detail-v161 .d161-paper+.d161-paper,#detailModal.detail-v161 [data-detail-supplement-panel]:not([hidden]){margin-bottom:18px}
#detailModal.detail-v161 .d161-paper+.d161-paper{margin-top:18px;margin-bottom:0}
#detailModal.detail-v161 .d161-paper header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
#detailModal.detail-v161 .d161-layout h3{display:flex;gap:8px;align-items:center;font:650 17px/26px var(--ui-font)!important;margin:0 0 10px;color:var(--ui-text)}
#detailModal.detail-v161 .d161-layout h4{font:600 14px/24px var(--ui-font)!important;margin:0;color:var(--ui-text)}
#detailModal.detail-v161 .d161-layout p{display:block;font:400 14px/1.9 var(--ui-font)!important;color:var(--ui-text-secondary);margin:0;max-height:none!important;-webkit-line-clamp:unset!important;overflow:visible!important;overflow-wrap:anywhere;white-space:normal}
#detailModal.detail-v161 .d161-layout small{font:400 12px/20px var(--ui-font)!important;color:var(--ui-text-secondary);display:block}
#detailModal.detail-v161 .d161-link{display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:var(--ui-brand);font:500 12px/20px var(--ui-font);padding:6px 0;text-align:left}
#detailModal.detail-v161 svg.aios-tabler{width:18px!important;height:18px!important;flex-shrink:0}
#detailModal.detail-v161 .d161-tag{padding:3px 8px;border-radius:5px;background:var(--ui-brand-soft);color:var(--ui-brand);font-size:12px;white-space:nowrap}
#detailModal.detail-v161 .d161-facts{display:flex;flex-wrap:wrap;gap:10px 25px;margin:16px 0 0;border-top:1px solid var(--ui-border);padding-top:14px}
#detailModal.detail-v161 .d161-facts div{display:flex;gap:10px;max-width:100%;font-size:13px}
#detailModal.detail-v161 .d161-facts dt{flex-shrink:0;color:var(--ui-text-secondary)}
#detailModal.detail-v161 .d161-facts dd{margin:0;overflow-wrap:anywhere}
#detailModal.detail-v161 .d161-demand{padding:0;overflow:hidden}
#detailModal.detail-v161 .d161-demand>header{padding:18px 22px;margin:0}
#detailModal.detail-v161 .d161-takeaway{padding:20px 22px;background:var(--ui-brand-soft)}
#detailModal.detail-v161 .d161-takeaway h4{font-size:19px!important;line-height:30px!important;color:var(--ui-brand-hover);margin-bottom:10px}
#detailModal.detail-v161 .d161-finding{display:grid;grid-template-columns:110px minmax(0,1fr);gap:15px;margin:0 22px;padding:20px 0;border-bottom:1px solid var(--ui-border)}
#detailModal.detail-v161 .d161-finding h4{display:flex;gap:6px;align-items:center}
#detailModal.detail-v161 .d161-finding small{margin:5px 0 0 24px}
#detailModal.detail-v161 p.d161-boundary{display:flex;gap:8px;padding:16px 22px;background:var(--ui-surface-subtle);font-size:12px!important}
#detailModal.detail-v161 .d161-sidebar{display:flex;flex-direction:column;gap:20px;min-width:0}
#detailModal.detail-v161 .d161-coverage{background:var(--ui-text);border-radius:12px;padding:20px;color:white}
#detailModal.detail-v161 .d161-coverage h3{font-size:15px!important;color:white}
#detailModal.detail-v161 .d161-coverage p{color:#c7cfdf;font-size:12px!important}
#detailModal.detail-v161 .d161-coverage dl{display:grid;gap:14px;margin:18px 0 0}
#detailModal.detail-v161 .d161-coverage dl>div{display:flex;justify-content:space-between;gap:10px;font-size:12px}
#detailModal.detail-v161 .d161-coverage dt{color:#c7cfdf}
#detailModal.detail-v161 .d161-coverage dd{margin:0;color:white}
#detailModal.detail-v161 .d161-coverage dd.is-available{color:#8bd7bb}
#detailModal.detail-v161 .d161-side{padding:0 4px}
#detailModal.detail-v161 .d161-side h3{font-size:14px!important}
#detailModal.detail-v161 .d161-side div{margin:12px 0}
#detailModal.detail-v161 .d161-side strong{font-size:13px}
#detailModal.detail-v161 .d161-side p,#detailModal.detail-v161 .d161-note,#detailModal.detail-v161 .d161-score p{font-size:12px!important}
#detailModal.detail-v161 .d161-note{padding:14px;background:var(--ui-brand-soft);border-radius:10px}
#detailModal.detail-v161 .d161-score{border-top:1px solid var(--ui-border);padding-top:14px;font-size:12px;color:var(--ui-text-secondary)}
#detailModal.detail-v161 .d161-score strong{font-size:20px;color:var(--ui-text);margin-left:12px}
#detailModal.detail-v161 .d161-source{padding:20px 0;border-bottom:1px solid var(--ui-border);scroll-margin:20px;outline-offset:5px}
#detailModal.detail-v161 .d161-source h4{margin:12px 0 7px}
#detailModal.detail-v161 .d161-source a{display:inline-flex;gap:5px;color:var(--ui-brand);font-size:12px;margin-top:8px;overflow-wrap:anywhere}
#detailModal.detail-v161 .d161-source small{margin-top:10px}
#detailModal.detail-v161 .d161-subhead{margin-top:24px!important}
#detailModal.detail-v161 .d161-question{display:flex;gap:12px;padding:18px 0;border-top:1px solid var(--ui-border)}
#detailModal.detail-v161 .d161-question svg{margin-top:5px}
#detailModal.detail-v161 p.d161-hint{font-size:12px!important;margin:10px 0 18px}
#detailModal.detail-v161 .d161-answer{white-space:pre-wrap!important;margin-top:12px!important}
#detailModal.detail-v161 .d161-trace{margin:15px 0 0}
#detailModal.detail-v161 .d161-trace>div{display:grid;grid-template-columns:100px 1fr;padding:12px 0;border-bottom:1px solid var(--ui-border)}
#detailModal.detail-v161 .d161-trace dd{margin:0;overflow-wrap:anywhere}
#detailModal.detail-v161 summary{cursor:pointer;color:var(--ui-brand);font-size:13px;margin-top:12px}
#detailModal.detail-v161 .d161-empty h3{margin:16px 0 10px}
#detailModal.detail-v161 .d161-empty button{margin-top:16px}
#detailModal.detail-v161 .d161-skeleton{height:16px;margin:15px 0;background:var(--ui-surface-active);border-radius:4px}
#detailModal.detail-v161 .d161-skeleton:nth-of-type(2){width:72%}
#detailModal.detail-v161 .d161-form{display:grid;gap:14px;margin-top:18px}
#detailModal.detail-v161 .d161-form label{display:grid;gap:6px;font-size:13px}
#detailModal.detail-v161 .d161-form input:not([type=checkbox]),#detailModal.detail-v161 .d161-form textarea{width:100%;padding:9px 11px;border:1px solid var(--ui-border-strong);border-radius:8px;font:14px/22px var(--ui-font);color:var(--ui-text);background:white}
#detailModal.detail-v161 .d161-form .d161-check{display:flex;align-items:center}
#detailModal.detail-v161 .d161-form [role=alert]{color:var(--ui-danger);font-size:13px!important}
#detailModal.detail-v161 .d161-form>div:last-child{display:flex;gap:10px;justify-content:flex-end}
#detailModal.detail-v161:not(.is-analytics) .detail-action-bar{flex:0 0 auto;padding:14px 28px!important;border-top:1px solid var(--ui-border);margin:0!important;display:flex!important;gap:10px!important;background:white}
#detailModal.detail-v161:not(.is-analytics) #detailPrimaryAction{order:2;background:var(--ui-brand)!important;border-color:var(--ui-brand)!important;min-height:36px!important;height:36px!important;color:white!important}
#detailModal.detail-v161:not(.is-analytics) #detailAssignAction{order:1;background:white!important;border-color:var(--ui-border-strong)!important;color:var(--ui-text-secondary)!important;min-height:36px!important;height:36px!important}
#detailModal.detail-v161:not(.is-analytics) #detailPrimaryAction:disabled{background:var(--ui-surface-active)!important;border-color:var(--ui-border)!important;color:var(--ui-text-secondary)!important;cursor:not-allowed}
#detailModal.detail-v161 .detail-research-footer{font-size:12px!important;line-height:20px}
#detailModal.detail-v161 :is(button,summary,input,textarea):focus-visible{outline:2px solid var(--ui-brand);outline-offset:3px}
#detailModal.detail-v161 [hidden]{display:none!important}
@media(max-width:900px){#detailModal.detail-v161 .d161-layout{grid-template-columns:minmax(0,1fr);padding:16px}#detailModal.detail-v161 .d161-coverage dl{grid-template-columns:1fr 1fr}#detailModal.detail-v161 .d161-coverage dl>div{display:block}#detailModal.detail-v161 .d161-coverage dd{margin-top:4px}}
@media(max-width:600px){#detailModal.detail-v161:not(.is-analytics){width:calc(100vw - 16px)!important;height:94dvh!important;max-height:94dvh!important}#detailModal.detail-v161:not(.is-analytics) .modal-head{padding:16px!important}#detailModal.detail-v161:not(.is-analytics) .modal-head h2{font-size:18px!important}#detailModal.detail-v161:not(.is-analytics) .detail-tabs-v2{padding:0 16px!important}#detailModal.detail-v161:not(.is-analytics) .detail-tabs-v2 [role=tablist]{gap:18px}#detailModal.detail-v161:not(.is-analytics) .detail-tabs-v2 button{font-size:12px!important;white-space:nowrap}#detailModal.detail-v161 .detail-tabs-v2 svg{display:none}#detailModal.detail-v161 .d161-layout{padding:12px}#detailModal.detail-v161 .d161-paper{padding:17px}#detailModal.detail-v161 .d161-demand{padding:0}#detailModal.detail-v161 .d161-finding{display:block;margin:0 17px}#detailModal.detail-v161 .d161-finding>div:first-child{display:flex;justify-content:space-between;margin-bottom:10px}#detailModal.detail-v161 .d161-finding small{margin:0}#detailModal.detail-v161 .d161-takeaway{padding:17px}#detailModal.detail-v161 .d161-takeaway h4{font-size:17px!important}#detailModal.detail-v161:not(.is-analytics) .detail-action-bar{padding:12px!important;flex-wrap:wrap}#detailModal.detail-v161:not(.is-analytics) .detail-action-bar .detail-research-footer{display:block!important;flex-basis:100%;font-size:11px!important}#detailModal.detail-v161:not(.is-analytics) .deepseek-detail-status{padding:8px 16px!important;font-size:12px}#detailModal.detail-v161 .d161-facts div{display:block}#detailModal.detail-v161 .d161-facts dd{margin-top:3px}}

/* Semantic icon colors from the shared system palette. */
#detailModal.detail-v161 svg.aios-tabler.d161-icon-brand{color:var(--ui-brand)!important}
#detailModal.detail-v161 svg.aios-tabler.d161-icon-success{color:var(--ui-success)!important}
#detailModal.detail-v161 svg.aios-tabler.d161-icon-warning{color:var(--ui-warning)!important}
#detailModal.detail-v161 svg.aios-tabler.d161-icon-ai{color:var(--ui-ai)!important}
#detailModal.detail-v161 .d161-coverage svg.aios-tabler.d161-icon-success{color:#8bd7bb!important}


/* company-profile-view.css */
/* Reuse the platform type, colour and button tokens. */
#detailModal.profile-detail:not(.is-analytics){width:min(1080px,calc(100vw - 32px))!important;height:min(700px,90dvh)!important;max-height:90dvh!important;padding:0!important;color:var(--ui-text);background:var(--ui-surface);font-family:var(--ui-font)}
#detailModal.profile-detail:not(.is-analytics) .detail-modal-card{width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;padding:0!important;display:flex!important;flex-direction:column;background:var(--ui-surface);border-radius:12px;overflow:hidden}
.profile-detail .modal-head{padding:20px 24px 16px;border-bottom:1px solid var(--ui-border);flex-shrink:0}
.profile-detail .modal-head h2{font-size:20px;line-height:28px;color:var(--ui-text);margin:0}
.profile-detail #modalCustomerMeta{font-size:12px;line-height:18px;color:var(--ui-text-muted);margin-top:6px}
#detailModal.profile-detail:not(.is-analytics) #modalCustomerBody{min-height:0!important;padding:0!important;flex:1;overflow:auto;overscroll-behavior:contain;background:var(--ui-surface)}
.profile-detail .cp-toolbar{min-height:56px;padding:8px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--ui-border)}
.profile-detail .cp-ready{font-size:12px;color:var(--ui-text-secondary)}
.profile-detail .cp-status{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 24px;color:var(--ui-text-secondary);font-size:13px;line-height:22px}
.profile-detail .cp-status button,.profile-detail .cp-supplement{border:0;background:transparent;color:var(--ui-brand);font:inherit;font-size:13px;cursor:pointer;padding:5px 0}
.profile-detail .cp-content{padding:24px}
.profile-detail .cp-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}
.profile-detail .cp-content section+section{margin-top:24px}
.profile-detail h3{font-size:14px;line-height:20px;color:var(--ui-text);font-weight:650;margin:0 0 10px}
.profile-detail .cp-content p{font-size:14px;line-height:24px;overflow-wrap:anywhere;margin:0;color:var(--ui-text-secondary)}
.profile-detail .cp-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;list-style:none;padding:0;margin:0}
.profile-detail .cp-products li{padding:10px 0;border-bottom:1px solid var(--ui-border);font-size:14px;line-height:22px;overflow-wrap:anywhere}
.profile-detail .cp-note{padding-top:18px;border-top:1px solid var(--ui-border)}
.profile-detail .cp-note p,.profile-detail .cp-content .cp-muted{font-size:13px;line-height:22px;color:var(--ui-text-muted)}
.profile-detail .cp-empty{padding:12px 0 24px}
.profile-detail .cp-empty p{margin:12px 0 20px}
.profile-detail .cp-geo{padding:16px;border:1px solid #9eb8ff;border-radius:10px;background:var(--theme-accent-soft,#f8faff)}
.profile-detail .cp-geo header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.profile-detail .cp-geo header h3{margin:0}
.profile-detail .cp-geo header span{padding:2px 8px;border:1px solid #bed0ff;border-radius:6px;color:var(--ui-brand);font-size:12px;line-height:18px;white-space:nowrap}
.profile-detail .cp-geo footer{margin-top:14px;font-size:12px;line-height:20px;color:var(--ui-text-muted)}
.profile-detail .cp-need-points{border-top:1px solid var(--ui-border);margin-top:16px;padding-top:16px}
.profile-detail .cp-need-points section+section{margin-top:14px}
.profile-detail .cp-need-points h4{margin:0 0 6px;font-size:13px;line-height:20px;font-weight:600;color:var(--ui-text)}
.profile-detail .cp-need-points p{font-size:13px;line-height:22px}
.profile-detail .cp-source-fold{border-top:1px solid var(--ui-border);padding-top:16px;margin-top:24px;font-size:13px;line-height:22px;color:var(--ui-text-muted)}
.profile-detail .cp-source-fold summary{cursor:pointer;color:var(--ui-text-secondary);margin-bottom:10px}
.profile-detail .cp-sources{list-style:none;padding:0;margin:0}
.profile-detail .cp-sources li{padding:12px 0;border-bottom:1px solid var(--ui-border)}
.profile-detail .cp-sources a{color:var(--ui-brand);overflow-wrap:anywhere}
.profile-detail .cp-sources small{font-size:12px;color:var(--ui-text-muted)}
.profile-detail .cp-form{margin-bottom:24px;padding:20px;background:var(--ui-surface-subtle);border-radius:10px}
.profile-detail .cp-form label{display:block;font-size:14px;margin:14px 0;color:var(--ui-text)}
.profile-detail .cp-form input,.profile-detail .cp-form textarea{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid var(--ui-border-strong);border-radius:8px;background:var(--ui-surface);color:var(--ui-text);font:inherit}
.profile-detail .cp-form textarea{min-height:100px;resize:vertical}
.profile-detail .cp-form p{font-size:13px;margin:12px 0}
.profile-detail .cp-form [role=alert]{color:var(--ui-danger)}
.profile-detail .cp-form [type=submit]{margin-right:10px}
#detailModal.profile-detail:not(.is-analytics) .detail-action-bar{display:flex!important;margin:0!important;padding:14px 24px!important;border-top:1px solid var(--ui-border);flex-shrink:0;background:var(--ui-surface);gap:12px}
#detailModal.profile-detail:not(.is-analytics) .detail-research-footer{display:block!important;margin-right:auto;min-width:0}
.profile-detail #detailAssignAction{order:1}
.profile-detail #detailPrimaryAction{order:2}
.profile-detail [hidden]{display:none!important}
.profile-detail button:disabled{cursor:not-allowed;opacity:.55}
.profile-detail button:focus-visible,.profile-detail a:focus-visible{outline:2px solid var(--ui-brand);outline-offset:3px}
#view-home .cp-home-profile .deepseek-search-summary{display:block;overflow:visible;-webkit-line-clamp:unset;line-clamp:unset;margin:10px 0 16px;font-size:13px;line-height:22px;color:var(--ui-text-secondary)}
#view-home .cp-home-business ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;list-style:none;padding:0;margin:6px 0 12px}
#view-home .cp-home-business li{padding:7px 0;border-bottom:1px solid var(--ui-border);font-size:13px;line-height:20px;color:var(--ui-text-secondary);overflow-wrap:anywhere}
#view-home .cp-home-demand{margin-top:0;padding-top:20px}
#view-home .cp-home-demand .cp-demand-text{display:block;overflow:visible;-webkit-line-clamp:unset;line-clamp:unset;margin:10px 0 0;font-size:13px;line-height:22px;color:var(--ui-text-secondary)}
#view-home .cp-home-demand .geo-summary-card footer{margin-top:12px}
@media(max-width:760px){.profile-detail .cp-columns{grid-template-columns:1fr;gap:24px}.profile-detail .cp-content{padding:18px}.profile-detail .cp-toolbar{padding:8px 18px}}
@media(max-width:640px){#detailModal.profile-detail:not(.is-analytics) .detail-action-bar{flex-wrap:wrap!important;justify-content:flex-end!important}#detailModal.profile-detail:not(.is-analytics) .detail-research-footer{flex:0 0 100%!important;min-height:30px!important}.profile-detail .modal-head{padding:18px}.profile-detail .modal-head h2{font-size:18px}}
.profile-detail .detail-action-bar :is(.primary-button,.secondary-button){height:40px;min-width:112px;font-size:14px!important}
/* v7: company narrative on the left; conclusion and practical questions on the right. */
#detailModal.profile-detail:not(.is-analytics){width:min(1180px,calc(100vw - 32px))!important;height:min(740px,90dvh)!important}
.profile-detail .cp-content{padding:0;min-height:100%}
.profile-detail .cp-columns{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:0;align-items:stretch}
.profile-detail .cp-company-panel{padding:28px;display:flex;flex-direction:column;min-width:0}
.profile-detail .cp-demand-panel{padding:28px;border-left:1px solid var(--ui-border);min-width:0}
.profile-detail .cp-section-heading,#view-home .cp-section-heading{display:flex;align-items:center;gap:8px}
.profile-detail .cp-icon,#view-home .cp-icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle}
.profile-detail .cp-section-heading{font-size:16px;line-height:24px;margin-bottom:16px}
.profile-detail .cp-business p{line-height:26px}
.profile-detail .cp-company-panel>section+section{margin-top:28px}
.profile-detail .cp-source-area{margin-top:auto;padding-top:28px}
.profile-detail .cp-source-area .cp-toolbar{padding:0 0 12px;min-height:40px;border:0}
.profile-detail .cp-source-fold{margin-top:0;padding-top:12px}
.profile-detail .cp-content>.cp-form{margin:20px 24px}
.profile-detail .cp-demand-overview{padding:18px 20px;background:var(--ui-brand-soft);border-radius:8px}
.profile-detail .cp-demand-overview>strong{display:block;color:var(--ui-brand);font-size:16px;line-height:24px;font-weight:600;margin-bottom:8px}
.profile-detail .cp-demand-overview .cp-demand-text{color:var(--ui-text-secondary);line-height:25px}
.profile-detail .cp-geo-detail .cp-need-points{border:0;margin:6px 0 0;padding:0}
.profile-detail .cp-geo-detail .cp-need-points>section{margin:0;padding:18px 0;border-bottom:1px solid var(--ui-border)}
.profile-detail .cp-geo-detail .cp-need-points>section:last-child{border-bottom:0;padding-bottom:4px}
.profile-detail .cp-geo-detail h4{display:flex;align-items:center;gap:8px;font-size:14px;line-height:22px;margin:0 0 8px}
.profile-detail .cp-geo-detail .cp-need-points p{padding-left:28px;font-size:14px;line-height:24px}
.profile-detail .cp-geo-detail footer{margin-top:20px;padding-top:14px;border-top:1px solid var(--ui-border);font-size:12px;line-height:20px;color:var(--ui-text-muted)}
@media(max-width:760px){.profile-detail .cp-columns{grid-template-columns:1fr}.profile-detail .cp-company-panel,.profile-detail .cp-demand-panel{padding:20px}.profile-detail .cp-demand-panel{border-left:0;border-top:1px solid var(--ui-border)}.profile-detail .cp-source-area{padding-top:20px}.profile-detail .cp-section-heading{font-size:15px}}
.profile-detail .cp-icon.cp-tone-brand,#view-home .cp-icon.cp-tone-brand{color:var(--ui-brand)!important}
.profile-detail .cp-icon.cp-tone-success,#view-home .cp-icon.cp-tone-success{color:var(--ui-success)!important}
.profile-detail .cp-icon.cp-tone-ai,#view-home .cp-icon.cp-tone-ai{color:var(--ui-ai,#6757d9)!important}
.profile-detail .cp-icon.cp-tone-warning,#view-home .cp-icon.cp-tone-warning{color:var(--ui-warning)!important}
/* Two pages: immediate company record and deliberate public research. */
.profile-detail .cp-tabs{display:flex;gap:28px;padding:0 28px;background:var(--ui-surface);border-bottom:1px solid var(--ui-border);position:sticky;top:0;z-index:2}
.profile-detail .cp-tabs [role=tab]{padding:17px 0 14px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--ui-text-secondary);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.profile-detail .cp-tabs [aria-selected=true]{color:var(--ui-brand);border-bottom-color:var(--ui-brand)}
.profile-detail .cp-tabs [role=tab]:hover{color:var(--ui-brand)}
.profile-detail .cp-basic-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:36px;padding:28px}
.profile-detail .cp-basic-info{min-width:0}
.profile-detail .cp-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:0}
.profile-detail .cp-facts>div{padding:12px 0;border-bottom:1px solid var(--ui-border);min-width:0}
.profile-detail .cp-facts>div:first-child{grid-column:1/-1}
.profile-detail .cp-facts dt{font-size:12px;line-height:20px;color:var(--ui-text-muted);margin-bottom:5px}
.profile-detail .cp-facts dd{margin:0;font-size:14px;line-height:22px;color:var(--ui-text);overflow-wrap:anywhere}
.profile-detail .cp-facts dd.cp-missing{color:var(--ui-text-muted)}
.profile-detail .cp-record-business{margin-top:24px}
.profile-detail .cp-record-business p{font-size:14px;line-height:24px;color:var(--ui-text-secondary);margin:0;overflow-wrap:anywhere}
.profile-detail .cp-score-panel{border-left:1px solid var(--ui-border);padding-left:32px;min-width:0}
.profile-detail .cp-score-value{display:flex;align-items:baseline;gap:8px;margin:20px 0 10px;color:var(--ui-text-muted)}
.profile-detail .cp-score-value strong{font-size:48px;line-height:1.15;font-weight:650;letter-spacing:-.025em;color:var(--ui-brand);font-variant-numeric:tabular-nums}
.profile-detail .cp-score-value span{font-size:14px}
.profile-detail .cp-score-value b{font-size:13px;font-weight:500;color:var(--ui-text);margin-left:auto}
.profile-detail .cp-score-explanation{font-size:13px;line-height:22px;color:var(--ui-text-secondary);margin:0 0 20px}
.profile-detail .cp-score-dimensions{margin:0}
.profile-detail .cp-score-dimensions>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:11px 0;border-bottom:1px solid var(--ui-border);font-size:13px;line-height:20px}
.profile-detail .cp-score-dimensions dt{color:var(--ui-text-secondary)}
.profile-detail .cp-score-dimensions dd{margin:0;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.profile-detail .cp-score-dimensions dd span{font-weight:400;color:var(--ui-text-muted)}
.profile-detail .cp-score-date,.profile-detail .cp-score-empty,.profile-detail .cp-footer-note{font-size:12px;line-height:20px;color:var(--ui-text-muted)}
.profile-detail .cp-research-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 28px;background:var(--ui-surface-subtle);border-bottom:1px solid var(--ui-border)}
.profile-detail .cp-research-toolbar strong{font-size:14px;color:var(--ui-text)}
.profile-detail .cp-research-toolbar p{font-size:12px;line-height:20px;color:var(--ui-text-muted);margin:5px 0 0}
.profile-detail .cp-research-toolbar button{flex-shrink:0}
.profile-detail .cp-research-sources{border-top:1px solid var(--ui-border);padding-top:20px}
.profile-detail .cp-research-sources ol{margin:0;padding-left:18px;color:var(--ui-text-muted)}
.profile-detail .cp-research-sources li+li{margin-top:14px}
.profile-detail .cp-research-sources a{font-size:13px;line-height:22px;color:var(--ui-brand);overflow-wrap:anywhere}
.profile-detail .cp-research-sources p{font-size:12px;line-height:20px;margin-top:5px}
@media(max-width:760px){.profile-detail .cp-basic-layout{grid-template-columns:1fr;gap:24px;padding:20px}.profile-detail .cp-score-panel{border-left:0;border-top:1px solid var(--ui-border);padding:24px 0 0}.profile-detail .cp-tabs{padding:0 20px}.profile-detail .cp-research-toolbar{padding:16px 20px}.profile-detail .cp-facts{gap:0 20px}.profile-detail .cp-score-value strong{font-size:40px}}
@media(max-width:420px){.profile-detail .cp-research-toolbar{align-items:flex-start;flex-direction:column}.profile-detail .cp-facts{grid-template-columns:1fr}.profile-detail .cp-facts>div:first-child{grid-column:auto}}

.profile-detail .cp-mobile-score{display:none}
@media(max-width:760px){.profile-detail .cp-mobile-score{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--ui-border)}.profile-detail .cp-mobile-score>span{font-size:14px;font-weight:600}.profile-detail .cp-mobile-score>span small{display:block;margin-top:4px;font-size:12px;font-weight:400;color:var(--ui-text-secondary)}.profile-detail .cp-mobile-score>strong{font-size:32px;line-height:1.1;color:var(--ui-brand);font-variant-numeric:tabular-nums}.profile-detail .cp-mobile-score>strong small{font-size:12px;color:var(--ui-text-secondary);font-weight:400}.profile-detail .cp-score-panel .cp-score-value{display:none}}


/* operator-proposal-card.css */
.operator-proposal-card{padding:20px 0}.operator-proposal-card>strong{display:block;font-size:14px;margin-bottom:16px}.operator-proposal-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:560px}.operator-proposal-buttons button{min-height:44px;padding:10px 16px;background:#fff;color:#272727;border:1px solid #dcdfe4;border-radius:8px;font:inherit;font-size:13px;cursor:pointer}.operator-proposal-buttons button:hover{background:#f4f6f9;border-color:#aab3c2}.operator-proposal-buttons button:focus-visible{outline:3px solid #8a672b;outline-offset:3px}.operator-proposal-card>small{display:block;font-size:12px;color:#6b7280;margin-top:13px}.operator-proposal-notice{font-size:13px;color:#72582b;padding:10px 0}.operator-generation-management{text-align:right;padding:7px 10px 15px;font-size:12px}.operator-generation-management a{color:#50617c;text-decoration:underline;text-underline-offset:3px}

.export-modal .modal-foot{flex-wrap:wrap}

.operator-generation-progress{padding:14px 0 8px;color:#35455c;font-size:13px}.operator-generation-progress>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.operator-generation-progress strong{font-size:13px;font-weight:600}.operator-generation-progress progress{display:block;appearance:none;width:100%;height:8px;border:0;border-radius:4px;overflow:hidden;accent-color:#3e5abd;background:#edf1f7}.operator-generation-progress progress::-webkit-progress-bar{background:#edf1f7;border-radius:4px}.operator-generation-progress progress::-webkit-progress-value{background:#3e5abd;border-radius:4px}.operator-generation-progress progress::-moz-progress-bar{background:#3e5abd;border-radius:4px}.operator-generation-progress p{margin:9px 0 0;color:#61718b;font-size:12px;line-height:1.6}


/* operator-resources.css */
.op-workspace{max-width:1600px;margin:auto;color:#1d293d}.op-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.op-heading h1{font-size:28px;margin:0 0 10px}.op-heading p,.op-detail-section>p{color:#5e6c80;line-height:1.7;margin:0}.op-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.op-actions a{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.op-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;padding:20px;background:#fff;border:1px solid #dfe5ef;border-radius:12px}.op-filters label,.op-dialog label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#46566e}.op-filters input,.op-filters select,.op-dialog input,.op-dialog textarea,.op-dialog select{font:inherit;font-size:14px;min-height:40px;padding:9px 11px;border:1px solid #cbd4e1;border-radius:6px;background:#fff;color:#1c2d47;max-width:100%;box-sizing:border-box}.op-filters select{min-width:115px}.op-search{flex:1;min-width:170px}.op-batches{position:relative;min-width:180px;font-size:13px}.op-batches summary{cursor:pointer;list-style:none;border:1px solid #cbd4e1;border-radius:6px;padding:11px;background:#fff;min-height:40px;box-sizing:border-box}.op-batches summary span{margin-left:10px;color:#5e6c80}.op-batches>div{position:absolute;top:46px;left:0;min-width:290px;max-height:300px;overflow:auto;background:#fff;box-shadow:0 8px 26px #192e5020;border-radius:8px;z-index:20;padding:12px}.op-batches label{flex-direction:row;align-items:center;line-height:1.5;padding:8px}.op-batches input{min-height:16px;flex-shrink:0}.op-summary{display:flex;gap:26px;flex-wrap:wrap;align-items:center;padding:23px 0;font-size:14px}.op-summary b{font-size:19px;font-weight:650;margin:0 3px}.op-summary-note{margin-left:auto;font-size:12px;color:#67758a}.op-list-actions{display:flex;align-items:center;gap:12px;margin:2px 0 14px}.op-list-actions>span{flex:1;color:#67758a;font-size:13px}.op-table-wrap{overflow:auto;background:white;border:1px solid #dfe5ef;border-radius:12px}.op-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.op-table th{background:#f2f5f9;color:#4a5870;padding:14px 12px;font-weight:600;white-space:nowrap}.op-table td{padding:16px 12px;border-bottom:1px solid #e8edf4;line-height:1.6;vertical-align:middle}.op-table tr:last-child td{border-bottom:0}.op-table small{display:block;color:#67758a;margin-top:4px;font-size:12px}.op-table input[type=checkbox]{width:16px;height:16px;accent-color:#425fc4}.op-company{min-width:230px;max-width:380px}.op-link{padding:0;border:0;background:none;font:inherit;color:#3559b7;cursor:pointer;text-align:left;line-height:1.6}.op-link:hover{text-decoration:underline}.op-company .op-link{font-weight:600;color:#273d65}.op-status{font-size:12px;color:#64728a;white-space:nowrap}.op-status.ready{color:#20715a}.op-pagination{display:flex;justify-content:space-between;align-items:center;padding:20px 0;gap:16px;font-size:13px;color:#5c6d84}.op-pagination>div{display:flex;gap:15px;align-items:center}.op-empty{text-align:center;padding:60px 20px!important;color:#5d6a7c}.op-dialog{border:0;border-radius:14px;padding:0;width:min(650px,calc(100vw - 32px));max-height:88vh;color:#25354e;box-shadow:0 20px 70px #10254140;background:white}.op-dialog::backdrop{background:#152a4c65}.op-dialog.op-wide{width:min(900px,calc(100vw - 32px))}.op-dialog header{display:flex;align-items:center;justify-content:space-between;padding:22px 28px;border-bottom:1px solid #e2e8f1;position:sticky;top:0;background:white;z-index:2}.op-dialog header h2{font-size:20px;margin:0}.op-close{border:0;background:none;color:#57687c;font-size:28px;padding:0 6px;cursor:pointer}.op-dialog-body{padding:25px 28px;line-height:1.75}.op-dialog-body>p{color:#56667b;margin:0 0 18px}.op-upload{padding:25px;border:1px dashed #9dadc8;border-radius:8px;background:#f7f9fc}.op-upload input{border:0;background:none}.op-import-count{padding:22px 0}.op-import-count b{font-size:20px}.op-detail-company{padding-bottom:20px}.op-detail-company h3{font-size:24px;line-height:1.4;margin:0 0 10px}.op-detail-company>span{font-size:13px;color:#65758b}.op-detail-company>p{margin-bottom:0}.op-detail-section{border-top:1px solid #e3e8f0;padding:24px 0}.op-detail-section h3{font-size:17px;margin:0 0 12px}.op-detail-section .op-actions{margin-top:16px}.op-detail-section form{display:grid;gap:14px;margin-top:15px}.op-detail-section form button{justify-self:start}.op-basic-note{color:#82642f!important}.op-history{list-style:none;padding:0;margin:26px 0 0}.op-history li{padding:12px 0;border-top:1px solid #edf0f5;font-size:13px}.op-history time{color:#6e7d91;margin-right:18px}.op-history p{margin:7px 0 0}.op-progress{display:flex;gap:16px;align-items:center;padding:18px 0}.op-progress progress{width:100%;height:10px;accent-color:#405fc3}.op-progress b{white-space:nowrap}.op-batch-errors{max-height:230px;overflow:auto;font-size:13px}.op-overview{display:grid;grid-template-columns:1fr 1fr;gap:24px}.op-overview>section{padding:25px;background:white;border:1px solid #dfe5ef;border-radius:12px}.op-overview h2{font-size:18px;margin:0 0 8px}.op-overview p{font-size:13px;color:#63738a;margin:0 0 24px}.op-stage-chart{display:grid;gap:20px}.op-stage-chart button{display:grid;grid-template-columns:90px 1fr 40px;align-items:center;gap:15px;border:0;background:transparent;text-align:left;font:inherit;font-size:13px;cursor:pointer}.op-stage-chart i{height:8px;background:#edf1f8;border-radius:2px;overflow:hidden}.op-stage-chart em{height:100%;display:block;background:#526cc6;min-width:0}.op-stage-chart b{text-align:right}.op-share-history{padding:15px 0;border-bottom:1px solid #e6ebf3}.op-share-history h3{font-size:16px;margin:0}.op-share-history p{font-size:13px;color:#637087}.op-notice{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);z-index:10000;background:#23354c;color:white;padding:13px 22px;border-radius:8px;max-width:80vw;font-size:14px;box-shadow:0 8px 24px #11253c30}.op-error{padding:25px;color:#a43838}.op-error button{margin-left:15px}.danger{color:#a23d3d}.op-dialog button:disabled,.op-workspace button:disabled{opacity:.55;cursor:wait} .op-dialog :focus-visible,.op-workspace :focus-visible{outline:2px solid #4968d1;outline-offset:3px}
@media(max-width:900px){.op-heading{flex-direction:column;gap:16px}.op-overview{grid-template-columns:1fr}.op-summary{gap:12px 18px}.op-summary-note{width:100%;margin:0}.op-filters{gap:12px;padding:15px}.op-filters label{flex:1;min-width:130px}.op-filters input,.op-filters select,.op-dialog input,.op-dialog textarea,.op-dialog select{font-size:16px}.op-batches{width:100%}.op-batches>div{max-width:100%;box-sizing:border-box}.op-list-actions{flex-wrap:wrap}.op-list-actions>span{flex-basis:100%}.op-pagination{align-items:flex-start;flex-direction:column}.op-dialog header,.op-dialog-body{padding:20px}.op-heading h1{font-size:24px}.op-table{min-width:900px}.op-dialog .op-table,.op-overview .op-table{min-width:0;font-size:12px}.op-dialog .op-table th,.op-dialog .op-table td{padding:9px 6px}.op-detail-company h3{font-size:21px}.op-overview>section{padding:18px}}
@media(max-width:640px){body:has(.op-workspace:not([hidden])) .mobile-menu-float{display:inline-flex!important;position:fixed;top:12px;right:14px;left:auto;bottom:auto;z-index:45;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid #dfe5ef;background:#fff;border-radius:8px;color:#3654ad}body:has(.op-workspace:not([hidden])) .op-heading h1{padding-right:48px}}

.dashboard-resource-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:0 0 20px}
.dashboard-resource-filters label{display:flex;flex-direction:column;gap:6px;color:var(--text-muted,#66758b);font-size:12px}
.dashboard-resource-filters select{height:36px;min-width:138px;max-width:320px;padding:0 32px 0 11px;background:#fff;border:1px solid #d5dff0;border-radius:7px;color:#233650;font:inherit;font-size:13px}
.dashboard-resource-filters select[data-dashboard-filter="import_batch_id"]{width:280px}
.dashboard-resource-filters .secondary-button{height:36px;min-height:36px;padding:0 13px}
.dashboard-resource-filters :focus-visible{outline:2px solid #4968d1;outline-offset:2px}
#exportModal [hidden], #importModal [hidden] { display: none !important; }
@media(max-width:640px){.dashboard-resource-filters{gap:10px}.dashboard-resource-filters label:first-child{flex-basis:100%}.dashboard-resource-filters label{flex:1;min-width:0}.dashboard-resource-filters select,.dashboard-resource-filters select[data-dashboard-filter="import_batch_id"]{width:100%;max-width:100%;min-width:0;font-size:16px}.dashboard-resource-filters .secondary-button{flex:1}}
@media(max-width:640px){.dashboard-resource-filters label{flex:1 1 calc(50% - 5px)}.dashboard-resource-filters .secondary-button{flex:1 1 calc(50% - 5px);white-space:nowrap}}

.resource-pending-controls { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:12px 20px; border-bottom:1px solid #e3e8ef; font-size:13px; color:#536174; }
.resource-pending-controls[hidden], .resource-pending-controls [hidden] { display:none!important; }
.resource-pending-controls > span { flex:1 1 260px; }


/* operator-feedback.css */
.operator-feedback-dialog{width:min(660px,calc(100vw - 32px));max-height:90vh;padding:24px;border:1px solid #d9dee8;border-radius:14px;color:#17191c;background:#fff}.operator-feedback-dialog::backdrop{background:#17203266}.operator-feedback-dialog header{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:22px}.operator-feedback-dialog h2{font-size:22px;margin:0 0 8px}.operator-feedback-dialog p{font-size:14px;line-height:1.6}.operator-feedback-dialog header p{margin:0;color:#697386}.operator-feedback-dialog button{min-height:40px;border:1px solid #d3d7de;border-radius:8px;padding:8px 16px;background:#fff;color:#17191c;cursor:pointer}.operator-feedback-dialog button.primary{background:#15171a;color:#fff}.operator-feedback-dialog button:disabled{opacity:.55;cursor:wait}.operator-feedback-dialog header button{font-size:24px;line-height:1}.operator-feedback-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.operator-feedback-fields label{display:grid;gap:8px;font-size:14px}.operator-feedback-fields .wide{grid-column:1/-1}.operator-feedback-fields input,.operator-feedback-fields select,.operator-feedback-fields textarea{width:100%;min-height:42px;padding:9px 12px;border:1px solid #d3d7de;border-radius:7px;font:inherit;color:#17191c;background:#fff;box-sizing:border-box}.operator-feedback-dialog footer{display:flex;justify-content:flex-end;gap:12px;padding-top:12px}.operator-feedback-history{color:#697386}.operator-feedback-dialog [data-feedback-message]{color:#a23722;min-height:22px}.operator-feedback-dialog :focus-visible,.operator-followup-stats :focus-visible{outline:2px solid #1b4be5;outline-offset:3px}.operator-followup-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.operator-followup-stats button{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #e5e7eb;background:#fff;color:#343a40;padding:16px;border-radius:10px;font:inherit;cursor:pointer}.operator-followup-stats b{font-size:25px;font-variant-numeric:tabular-nums}.operator-followup-stats button.is-active{border-color:#1b4be5;background:#eef3ff;color:#1b4be5}.share-feedback-permission{display:flex;gap:8px;align-items:center;font-size:14px;margin:14px 0}.operator-progress-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.operator-progress-actions button{white-space:nowrap}.op-feedback-note{font-size:12px;color:#697386;line-height:1.5}.op-table button[data-feedback]{border:0;background:transparent;color:#1b4be5;padding:10px;cursor:pointer;font:inherit}.operator-progress-status{min-height:24px;font-size:14px;color:#697386}@media(max-width:700px){.operator-feedback-fields{grid-template-columns:1fr}.operator-followup-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.operator-feedback-dialog{padding:18px}.operator-followup-stats button{padding:12px;font-size:13px}.operator-followup-stats b{font-size:22px}}

.operator-feedback-dialog[open]{display:flex;flex-direction:column;height:min(740px,90vh);box-sizing:border-box;overflow:hidden}.operator-feedback-dialog form{display:flex;flex-direction:column;min-height:0;flex:1}.operator-feedback-fields{overflow-y:auto;min-height:0;padding:2px 4px 8px 2px}.operator-feedback-dialog header,.operator-feedback-dialog footer,.operator-feedback-history,.operator-feedback-dialog [data-feedback-message]{flex-shrink:0}.operator-feedback-dialog footer{margin-top:auto}.operator-feedback-dialog [data-feedback-message]{margin:4px 0}.operator-feedback-history{margin:10px 0 4px}

.operator-followup-stats[hidden]{display:none}


/* platform-overlay.css */
/* Retain the production customer / node / manager / activity / intent / action structure. */
#view-campaign .followup-table.is-operator,.fu2-shared .followup-table{min-width:950px!important}
#view-campaign .followup-table.is-operator .data-row,.fu2-shared .followup-table .data-row{grid-template-columns:32px minmax(174px,1.7fr) minmax(296px,2.8fr) 88px 96px 62px 100px!important;gap:10px!important}
#view-campaign .followup-node-track,.fu2-shared .followup-node-track{min-width:285px!important;grid-template-columns:repeat(5,minmax(50px,1fr))!important}
.fu2-track .followup-node{cursor:default}.fu2-track .followup-node span{font-size:11px;line-height:17px;white-space:normal}.fu2-track .followup-node small{display:block;font-size:10px;color:#97a1b0;line-height:15px;white-space:nowrap}
.fu2-links{display:flex;gap:9px;margin-top:7px;align-items:center}.fu2-link{border:0;background:none;padding:0!important;color:#315bc9;font-size:11px;cursor:pointer;text-decoration:none}.fu2-link:hover{text-decoration:underline}.fu2-minor{display:block;color:#8b95a4;font-size:11px;line-height:1.7;margin-top:5px}.fu2-manager-flag{display:inline-block;margin-top:8px;background:#f1f4f9;border-radius:4px;padding:2px 6px;color:#758197;font-size:10px;white-space:nowrap}.fu2-manager-flag.needed{background:#fff1e5;color:#ab681e}.fu2-manual-intent{color:#63718a;font-size:12px;margin-bottom:5px}.fu2-behavior{color:#99a3b0;font-size:10px}.fu2-heading-action{border:1px solid #dfe5ef;border-radius:7px;background:white;color:#4c5e78;padding:9px 14px;font:inherit;cursor:pointer}.fu2-prototype-label{color:#9099a9;font-size:11px;line-height:1.7;padding:14px 0}
#view-campaign .followup-customer strong{font-size:12px;line-height:1.6}#view-campaign .followup-actions{gap:5px}#view-campaign .followup-actions .row-action{font-size:11px;min-height:27px;padding:4px 7px}.fu2-shared .row-action{font-size:11px}
.fu2-share-header{height:66px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid #e4e9f1}.fu2-share-brand{display:flex;align-items:center;gap:18px}.fu2-share-brand img{width:120px}.fu2-share-brand span{font-size:12px;color:#7b8799;padding-left:18px;border-left:1px solid #e1e6ee}.fu2-readonly{font-size:12px;color:#64728a;background:#f0f3f8;padding:6px 11px;border-radius:5px}.fu2-shared{max-width:1500px;padding:30px;margin:auto}.fu2-shared .page-heading{margin-bottom:22px}.fu2-shared .page-heading h1{font-size:24px}.fu2-shared .page-heading p{color:#8290a3;font-size:12px;margin-top:9px}.fu2-shared .resource-panel{padding:0;overflow:hidden}.fu2-shared .resource-toolbar{padding:18px;display:flex;justify-content:space-between;gap:12px}.fu2-shared .resource-toolbar input,.fu2-shared .resource-toolbar select{border:1px solid #dfe5ef;border-radius:6px;padding:9px 12px;background:white;color:#576982;font-size:12px}.fu2-shared .resource-toolbar small{color:#8a96a7;align-self:center}.fu2-shared .table-scroll{overflow:auto}.fu2-shared .data-row{padding:18px 16px;border-bottom:1px solid #edf0f5;align-items:center;min-height:120px}.fu2-shared .data-head{min-height:52px;background:#f7f9fc;color:#6b7b93;font-size:12px;padding-top:12px;padding-bottom:12px}.fu2-shared .data-row strong{font-size:13px}.fu2-shared .followup-customer{display:block}.fu2-shared .followup-customer small{display:block;color:#8a96a7;margin-top:6px;font-size:11px}
.fu2-dialog{width:860px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:13px;color:#2f3d52;box-shadow:0 22px 80px #172c4f40;font:13px/1.6 Arial,'Microsoft YaHei',sans-serif}.fu2-dialog::backdrop{background:#1a294555;backdrop-filter:blur(2px)}.fu2-dialog header{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 25px 16px;border-bottom:1px solid #e8edf4}.fu2-dialog h2{font-size:20px;margin:0 0 6px}.fu2-dialog header p{margin:0;color:#8290a2;font-size:12px}.fu2-close{border:0;background:#f0f3f8;width:29px;height:29px;color:#7b889a;border-radius:50%;font-size:20px;cursor:pointer}.fu2-dialog form{padding:0 25px}.fu2-section{padding:14px 0;border-bottom:1px solid #e9edf3}.fu2-section h3{margin:0 0 11px;font-size:13px;color:#4b5c75}.fu2-section h3 span{color:#315bc9;margin-right:7px;font-weight:500}.fu2-formgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 14px}.fu2-formgrid label{display:grid;gap:5px;color:#7d8ba0;font-size:11px}.fu2-formgrid input,.fu2-formgrid select,.fu2-formgrid textarea{border:1px solid #dce3ed;border-radius:6px;background:white;padding:7px 9px;font:12px/1.5 inherit;color:#3d4e68;width:100%;box-sizing:border-box}.fu2-formgrid [readonly],.fu2-formgrid [disabled]{background:#f6f8fb;color:#7d8ba0}.fu2-formgrid .wide{grid-column:1/-1}.fu2-facts{display:flex;gap:12px 23px;flex-wrap:wrap;font-size:12px;color:#64758c}.fu2-facts b{font-weight:500;color:#35465f;margin-left:5px}.fu2-dialog footer{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 0;background:white}.fu2-dialog footer span{font-size:11px;color:#8996a7}.fu2-button{border:1px solid #dce3ed;border-radius:6px;background:white;padding:9px 14px;font-size:12px;color:#4d607b;cursor:pointer}.fu2-button.primary{background:#315bc9;color:white;border-color:#315bc9}.fu2-message{font-size:12px;color:#a85529}.fu2-dialog .fu2-section:first-child{padding-top:13px}.fu2-dialog .fu2-section:first-child h3{margin-bottom:8px}.fu2-notice{padding:10px 13px;background:#f3f6fc;border-radius:6px;color:#6e809a;font-size:11px;margin-top:12px}
#detailModal.fu2-insight .modal-card{width:min(1180px,calc(100vw - 36px));max-width:none}#detailModal.fu2-insight .modal-head{padding:20px 24px 12px}#detailModal.fu2-insight #modalCustomerBody{padding:0 22px 15px;overflow:auto}.fu2-insight-tabs{display:flex;gap:26px;border-bottom:1px solid #e1e7f0;margin-bottom:18px;padding:0 2px}.fu2-insight-tabs button{border:0;background:none;color:#7a879b;padding:13px 2px;font-size:13px;cursor:pointer;border-bottom:2px solid transparent}.fu2-insight-tabs button.is-active{color:#315bc9;border-bottom-color:#315bc9;font-weight:600}.fu2-insight-tabs small{margin-left:auto;align-self:center;color:#9ba4b1;font-size:11px}.fu2-communication .feedback-head,.fu2-communication .feedback-flow,.fu2-communication .feedback-service-status,.fu2-communication .feedback-insight-service{display:none!important}.fu2-communication .feedback-card{width:100%;max-width:none;padding:0;box-shadow:none;border:0;max-height:none;overflow:visible}.fu2-communication .feedback-workspace{display:grid;grid-template-columns:190px minmax(320px,1fr) 235px;gap:15px;min-height:385px;max-height:none}.fu2-communication .feedback-library,.fu2-communication .feedback-compose,.fu2-communication .feedback-insight{min-width:0;border:1px solid #e4eaf2;border-radius:9px;padding:15px}.fu2-communication .feedback-section-head p{font-size:11px}.fu2-communication .feedback-note textarea{min-height:72px;max-height:95px}.fu2-communication .feedback-quick-tags{display:none}.fu2-communication .feedback-dropzone{padding:14px;min-height:82px}.fu2-communication .feedback-evidence-head{display:block}.fu2-communication .feedback-evidence-head span{display:block;font-size:10px;margin:5px 0 10px}.fu2-communication .feedback-privacy{font-size:10px;margin-top:18px}.fu2-communication .feedback-foot{padding:13px 0 0;border:0}.fu2-communication .feedback-foot #feedbackSubmitHint{font-size:11px}.fu2-communication .feedback-insight-empty{font-size:12px}.fu2-empty-logs{padding:30px 2px;color:#8d99aa;font-size:12px;line-height:1.8}.fu2-insight .analytics-workspace{padding-top:0}.fu2-insight #detailResearchFooter{display:none!important}
.fu2-online{font:13px/1.6 Arial,'Microsoft YaHei',sans-serif;margin:0;color:#354760;background:#f6f8fc}.fu2-online-top{padding:22px 26px;background:white;border-bottom:1px solid #e1e7ef;display:flex;justify-content:space-between;align-items:center}.fu2-online-top h1{font-size:20px;margin:0 0 5px}.fu2-online-top p{margin:0;color:#8492a5;font-size:12px}.fu2-online-nav{display:flex;padding:15px 26px;gap:9px;align-items:center}.fu2-online-nav button{border:1px solid #dce4ef;background:white;border-radius:5px;padding:7px 13px;color:#52667e;cursor:pointer}.fu2-online-nav button.active{color:#315bc9;border-color:#8da4df;background:#eff4ff}.fu2-online-scroll{overflow:auto;background:white;margin:0 26px;border:1px solid #e1e7ef;border-radius:8px;max-height:68vh}.fu2-online-table{border-collapse:separate;border-spacing:0;white-space:nowrap}.fu2-online-table th{font-weight:500;background:#edf2fb;padding:13px 14px;text-align:left;border-right:1px solid #e2e8f1;position:sticky;top:0;z-index:2;min-width:125px;font-size:12px}.fu2-online-table th.editable{background:#fff4cb}.fu2-online-table td{border-top:1px solid #e7ecf3;border-right:1px solid #edf1f6;padding:15px 14px;font-size:12px;min-height:65px}.fu2-online-table td:first-child,.fu2-online-table th:first-child{position:sticky;left:0;z-index:1;background:white;min-width:250px}.fu2-online-table th:first-child{background:#edf2fb;z-index:3}.fu2-online-table td.editable{cursor:pointer;background:#fffdf5}.fu2-online-table td.editable:hover{background:#fff4cb}.fu2-online-table td small{display:block;color:#99a4b3;font-size:10px}.fu2-online-bottom{margin:17px 26px;color:#8190a5;font-size:12px}.fu2-online-bottom p{margin:7px 0}
#view-campaign .followup-toolbar{flex-wrap:wrap;gap:12px}#view-campaign .followup-toolbar>div:first-child{min-width:180px;flex:1}#view-campaign .followup-search{width:180px;min-width:180px}#view-campaign .followup-filter-actions{flex-wrap:wrap;gap:8px}#view-campaign .followup-tier-tabs button{white-space:nowrap;min-width:52px;padding:8px 10px}#view-campaign .followup-import-filter{min-width:155px}#view-campaign .followup-customer strong{white-space:normal!important;overflow:visible!important}
#detailModal.fu2-insight>.detail-modal-card>.detail-action-bar{display:none!important}#detailModal.fu2-insight #modalCustomerBody{max-height:calc(100dvh - 140px)!important;padding:0 12px 8px!important}.fu2-insight-tabs{margin-bottom:12px}.fu2-communication .feedback-workspace{grid-template-columns:210px minmax(320px,1fr) 225px!important;gap:13px;min-height:365px}.fu2-communication .feedback-library,.fu2-communication .feedback-compose,.fu2-communication .feedback-insight{padding:12px!important}.fu2-communication .feedback-library-head,.fu2-communication .feedback-insight-head{padding:0 0 12px!important}.fu2-communication .feedback-manage{white-space:nowrap}.fu2-communication .feedback-tabs button{padding:6px!important;white-space:nowrap;font-size:11px}.fu2-communication .feedback-tabs{gap:4px!important}.fu2-communication .feedback-compose-meta{margin-top:8px;margin-bottom:10px;gap:12px}.fu2-communication .feedback-section-head{margin-bottom:10px}.fu2-communication .feedback-section-head h3{font-size:14px}.fu2-communication .feedback-note textarea{min-height:62px!important;height:62px!important}.fu2-communication .feedback-evidence-head{margin-top:10px;margin-bottom:6px}.fu2-communication .feedback-dropzone{min-height:65px!important;padding:9px!important}.fu2-communication .feedback-note{gap:7px}.fu2-communication .feedback-foot{padding:9px 0 0!important;min-height:45px;height:auto!important}.fu2-communication .feedback-insight-empty{padding:14px 0!important}.fu2-communication .feedback-privacy{font-size:10px;line-height:1.65}.fu2-communication .feedback-library .feedback-search{margin:8px 0}.fu2-communication .feedback-insight-head p{font-size:11px}.fu2-communication .feedback-insight-head h3{font-size:14px}.fu2-communication .feedback-empty-logs{padding:20px 0}
@media(max-width:800px){.fu2-dialog{max-width:calc(100vw - 20px)}.fu2-formgrid{grid-template-columns:1fr 1fr}.fu2-share-header{padding:0 16px}.fu2-shared{padding:22px 16px}.fu2-shared .resource-toolbar{flex-wrap:wrap}.fu2-shared .page-heading{flex-wrap:wrap}.fu2-communication .feedback-workspace{grid-template-columns:1fr!important}.fu2-communication .feedback-library{display:none}}

/* Two actions from first paint; keep space for nodes and the company name. */
#view-campaign .followup-table.is-operator .data-row{grid-template-columns:28px minmax(180px,240px) minmax(285px,1fr) 84px 112px 72px 152px!important;gap:8px!important}
#view-campaign .followup-table.is-operator .followup-actions{display:flex;flex-flow:row nowrap;justify-content:center;gap:4px;min-width:152px}
#view-campaign .followup-table.is-operator .followup-actions .row-action{white-space:nowrap;font-size:12px}
#view-campaign .followup-table.is-operator .followup-node-cell{min-width:0}
.fu2-loading{padding:40px 25px;text-align:center;color:#708097;min-height:110px;display:grid;place-content:center;gap:16px}
/* One record form for the platform and the read-only share. */
.fu2-record{font:13px/1.6 Arial,'Microsoft YaHei',sans-serif;color:#35455c}.fu2-record header{padding:22px 24px 18px}.fu2-record h2,.share-page .fu2-record header h2{font-size:20px;color:#253a55}.fu2-record header p{color:#61718b}.fu2-record form{padding:0 24px}.fu2-record .fu2-section{padding:18px 0}.fu2-record .fu2-section h3{font-size:14px;color:#35455c;margin-bottom:12px}.fu2-record .fu2-facts{gap:10px 22px;color:#61718b}.fu2-record .exact-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fu2-record .exact-fields label{display:grid;gap:7px;background:none;color:#53647d;font-size:12px}.fu2-record .exact-fields input,.fu2-record .exact-fields select,.fu2-record .exact-fields output{display:block;box-sizing:border-box;width:100%;min-height:40px;margin:0;padding:9px 11px;border:1px solid #dce3ed;border-radius:6px;font:13px/1.5 Arial,'Microsoft YaHei',sans-serif;color:#35455c;background:white}.fu2-record .exact-fields output{background:#f6f8fb;overflow-wrap:anywhere}.fu2-outreach{max-height:144px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8fb;border:1px solid #dce3ed;border-radius:6px;padding:12px 14px;color:#4b5c75;font-size:13px;line-height:1.8}.fu2-record footer{gap:16px;padding:16px 0}.fu2-record footer span{color:#61718b;font-size:12px}.fu2-record footer>div{display:flex;gap:8px;flex-shrink:0}.fu2-record .fu2-button{min-height:40px;font-size:13px;padding:9px 16px}.fu2-record .fu2-message:empty{display:none}.fu2-record :focus-visible{outline:2px solid #315bc9;outline-offset:3px}
.fu2-record .fu2-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.fu2-record .fu2-section-title h3{margin:0}.fu2-record .fu2-company-title{min-height:38px}.fu2-record .fu2-edition-field{display:flex;align-items:center;gap:8px;color:#61718b;font-size:12px}.fu2-record .fu2-edition-field span{white-space:nowrap}.fu2-record .fu2-edition-field select{box-sizing:border-box;min-width:112px;height:36px;padding:7px 30px 7px 10px;border:1px solid #dce3ed;border-radius:6px;color:#35455c;background-color:#fff;font:13px/1.4 Arial,'Microsoft YaHei',sans-serif}
@media(max-width:640px){.fu2-record .exact-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.fu2-record header{padding:18px}.fu2-record form{padding:0 18px}.fu2-record footer{align-items:flex-start;flex-direction:column}.fu2-record footer>div{align-self:flex-end}}
@media(max-width:380px){.fu2-record .exact-fields{grid-template-columns:1fr}}

/* Market and operator follow-up use the same five-node workbench. */
#view-campaign .followup-table.is-operator,#view-campaign .followup-table.is-market{min-width:950px!important}
#view-campaign .followup-table.is-operator .data-row,#view-campaign .followup-table.is-market .data-row{grid-template-columns:28px minmax(180px,240px) minmax(320px,1fr) 84px 112px 152px!important;gap:8px!important}
#view-campaign .followup-table.is-operator .followup-actions,#view-campaign .followup-table.is-market .followup-actions{display:flex;flex-flow:row nowrap;justify-content:center;gap:4px;min-width:152px}
#view-campaign .followup-table.is-operator .followup-actions .row-action,#view-campaign .followup-table.is-market .followup-actions .row-action{white-space:nowrap;font-size:12px}
#view-campaign .followup-table.is-operator .followup-node-cell,#view-campaign .followup-table.is-market .followup-node-cell{min-width:0}
@media(max-width:1400px){#view-campaign .followup-table.is-operator .data-row,#view-campaign .followup-table.is-market .data-row{grid-template-columns:28px 180px minmax(285px,1fr) 76px 96px 152px!important}}

/* Compact feedback form shared by writable platform and read-only public view. */
.fu2-record .fu2-note{display:grid;gap:7px;margin-top:16px;color:#53647d;font-size:12px}.fu2-record .fu2-note textarea,.fu2-record .fu2-note output{box-sizing:border-box;width:100%;min-height:88px;padding:10px 11px;border:1px solid #dce3ed;border-radius:6px;font:13px/1.6 Arial,'Microsoft YaHei',sans-serif;color:#35455c;background:white;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}.fu2-record .fu2-note output{background:#f6f8fb}.fu2-record select{appearance:none;padding-right:32px!important;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2353647d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center!important;background-size:14px!important}.fu2-record :disabled{cursor:wait;opacity:.6}.fu2-record .fu2-button{font-family:inherit}.fu2-record .fu2-section{padding:14px 0}.fu2-record .exact-fields{gap:12px 16px}
@media(max-width:1400px){#view-campaign .followup-table.is-operator .data-row,#view-campaign .followup-table.is-market .data-row{grid-template-columns:28px 180px minmax(285px,1fr) 76px 96px 152px!important}}


/* leader-v3.css */
.share-kpis[hidden]{display:none!important}.leader-plan,.leader-accompany{display:block;font-size:11px;color:#7c8aa1;line-height:1.7;margin-top:6px}.leader-accompany{text-align:center}.share-intent strong.leader-manual-intent{font-size:13px;line-height:1.5;color:#4f607b}.leader-detail{display:block;margin:8px auto 0}.share-node-track,.share-node-labels{grid-template-columns:repeat(5,minmax(0,1fr))!important}.share-heading{min-height:70px;margin-bottom:18px}.share-heading h1{font-size:22px;margin-bottom:10px}.share-heading p{font-size:12px}.share-updates p{margin:4px 0}.share-table .company-name{white-space:normal;line-height:1.6;font-size:13px}.share-current-node{font-size:11px}.share-node-labels span{font-size:10px}.share-page .fu2-dialog header h2{font-size:19px}.share-page .fu2-dialog button{font-size:12px}.exact-outreach{width:100%;box-sizing:border-box;border:1px solid #dce3ed;border-radius:6px;background:#f8fafc;padding:10px 12px;font:12px/1.75 'Microsoft YaHei',sans-serif;color:#546681;resize:vertical}.exact-head-label{margin-left:8px;color:#8793a4;font-weight:400;font-size:11px}.exact-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:11px 15px}.exact-fields label{font-size:11px;color:#78869a;display:grid;gap:6px}.exact-fields input,.exact-fields select{width:100%;box-sizing:border-box;border:1px solid #dbe3ee;border-radius:5px;padding:8px 10px;background:white;color:#40526c;font-size:12px}.exact-fields :is(input,select,textarea):disabled,.exact-fields :is(input,textarea):read-only{background:#f7f9fc}.exact-meta{font-size:11px;color:#97a2b0;line-height:1.8}
@media(min-width:1321px){.share-layout.analysis-open{grid-template-columns:minmax(0,1fr) 330px!important}.share-drawer{position:sticky!important;right:auto;top:0;width:auto!important;box-shadow:none!important;padding:0 20px;z-index:auto}.share-layout.analysis-open .share-main{pointer-events:auto!important}.share-content{padding:22px 22px 18px}.share-brandbar{padding:12px 22px;min-height:76px}.share-table{min-width:760px!important}.col-tier{width:5%}.col-company{width:25%}.col-nodes{width:27%}.col-time{width:15%}.col-intent{width:12%}.col-action{width:16%}.share-table th,.share-table td{padding-left:8px;padding-right:8px}.share-table td{height:112px}.share-scope{max-width:180px;font-size:11px;min-height:35px}.share-scope:first-of-type{max-width:175px}.share-tiers button{font-size:11px;padding:6px 9px;min-height:35px}.share-search{min-width:150px;flex:1 1 150px}.share-search input{font-size:12px}.share-toolbar{padding:12px}.share-brandbar>span{font-size:13px}.share-brand img{width:122px}.share-brand svg{width:35px}.analysis-company h3{font-size:17px;line-height:1.6}.drawer-top{min-height:76px}.analysis-content{padding-top:20px}.analysis-metrics{gap:16px 12px}.analysis-section{margin-top:18px}.analysis-section h3{font-size:13px}.analysis-section p,.analysis-small{font-size:12px}html:has(.share-page .analysis-open){overflow:auto!important}.drawer-bottom{font-size:11px}}
.exact-online{margin:0;background:#f5f7fa;color:#35455c;font:13px/1.6 'Microsoft YaHei',Arial,sans-serif}.exact-online header{background:white;padding:20px 24px;border-bottom:1px solid #e1e6ed;display:flex;justify-content:space-between;align-items:center}.exact-online h1{font-size:20px;margin:0 0 6px}.exact-online header p{margin:0;font-size:12px;color:#8491a3}.exact-online a{color:#315bc9}.exact-online-nav{display:flex;align-items:center;padding:13px 24px;gap:9px}.exact-online-nav button{border:1px solid #d9e1eb;border-radius:5px;background:white;color:#53677e;padding:7px 12px;cursor:pointer}.exact-online-nav button.active{border-color:#8fa6d9;color:#315bc9;background:#f1f5ff}.exact-table-wrap{margin:0 24px;overflow:auto;max-height:68vh;border:1px solid #ccd4df;background:white}.exact-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content}.exact-table th,.exact-table td{box-sizing:border-box;border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:9px 8px;font-family:'Microsoft YaHei',sans-serif;font-size:11pt;color:#1e2734;vertical-align:middle;white-space:normal}.exact-table th{font-weight:bold;background:white;position:sticky;top:0;z-index:2;height:45px;min-width:70px}.exact-table th.edit{background:#ff0}.exact-table td{height:82px;max-height:82px}.exact-table td:first-child,.exact-table th:first-child{position:sticky;left:0;background:white;z-index:1;min-width:216px}.exact-table th:first-child{z-index:3}.exact-table .talk-cell{cursor:pointer;color:#315bc9}.exact-table .talk-cell>div{max-height:66px;overflow:hidden;line-height:1.55}.exact-table td.edit{cursor:pointer}.exact-table td.edit:hover{background:#fffce2}.exact-online footer{padding:14px 24px;font-size:12px;color:#8190a4;line-height:1.8}.exact-empty{color:#a2aaba;font-size:11px}.exact-online footer a{margin-right:20px}
.share-intent{flex-direction:column;gap:4px}.leader-manual-intent{white-space:nowrap}.share-table td{height:100px}
.ow-dialog{max-height:90vh;overflow:auto}.ow-record{display:flex;justify-content:space-between;gap:16px;border:1px solid #dde4ed;background:white;padding:18px;margin:12px 0;border-radius:8px}.ow-record p{margin:5px 0}.ow-record small{color:#7d8999}.ow-record nav{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.ow-record a,.ow-record button{color:#315bc9;font:12px system-ui;background:white;border:1px solid #d9e2f2;border-radius:4px;padding:6px;text-decoration:none}.ow-record label{font-size:12px}.ow-record input{width:240px;padding:8px}

/* Current share: five node totals, scoped independently of pagination. */
.share-page .share-content{padding-top:20px}.share-page .share-heading{min-height:0;margin-bottom:18px;align-items:center}.share-page .share-heading h1{font-size:16px;margin:0 0 6px;line-height:1.5}.share-page .share-heading p{margin:0;max-width:none}.share-page .share-heading .share-button{flex-shrink:0}
.share-page .share-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:0;margin:0 0 20px;border:0;background:transparent}.share-stat{display:flex;flex-direction:column;gap:7px;min-width:0;padding:18px 16px;border:1px solid #dce3ed;border-top:2px solid #526bd6;border-radius:10px;background:white}.share-stat:nth-child(2){border-top-color:#238d79}.share-stat:nth-child(3){border-top-color:#bb801e}.share-stat:nth-child(4){border-top-color:#7960bf}.share-stat:nth-child(5){border-top-color:#478b60}.share-stat>span{font-size:13px;font-weight:600;color:#4f607b}.share-page .share-stat strong{font-size:32px;line-height:1.15;font-variant-numeric:tabular-nums;color:#253a55}.share-stat strong::after{content:' 家';font-size:17px;font-weight:500}.share-stat small{font-size:11px;color:#6e7e95;line-height:1.5}.share-page .share-analysis-link{display:inline-block;margin:0 4px;white-space:nowrap}.share-page .share-table td:last-child{white-space:nowrap}
.ow-dialog{width:min(860px,calc(100vw - 32px));padding:0}.ow-dialog form{padding:0!important}.ow-dialog .fu2-section{padding:22px 24px;margin:0}.ow-dialog .ow-history{border-top:1px solid #e1e6ed}.ow-dialog header{padding:24px}.ow-dialog header h2{font-size:20px}.ow-dialog header p{font-size:13px}.ow-dialog .exact-fields label{font-size:13px;background:transparent}.ow-dialog .exact-fields input,.ow-dialog .exact-fields select{height:40px;font-size:13px}.ow-wide{grid-column:1/-1}.ow-submit{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e5eaf1;padding-top:18px;margin-top:18px}.ow-submit p{margin:0;font-size:14px;color:#425571}.ow-submit strong{font-size:22px;color:#283d5a;font-variant-numeric:tabular-nums}.ow-dialog .fu2-button,.ow-record a,.ow-record button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;box-sizing:border-box;font:13px/1.4 inherit;border-radius:6px;padding:9px 14px}.ow-record{align-items:center;padding:16px;gap:12px}.ow-record>div{min-width:0;flex:1}.ow-record b{overflow-wrap:anywhere;font-size:13px}.ow-record nav{flex-shrink:0}.ow-muted{font-size:12px;color:#718098;line-height:1.7}.ow-dialog [data-message]{font-size:13px;line-height:1.6}.ow-dialog button:disabled{opacity:.55;cursor:default}
.share-page .col-tier{width:6%}.share-page .col-company{width:23%}.share-page .col-nodes{width:27%}.share-page .col-time{width:13%}.share-page .col-intent{width:11%}.share-page .col-action{width:20%}.share-page .share-stat small{color:#61718b}
@media(max-width:1100px){.share-page .share-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.ow-dialog .exact-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-record{align-items:flex-start;flex-direction:column}.ow-submit{align-items:flex-start;flex-direction:column}.ow-submit>button{width:100%}}
@media(max-width:520px){.share-page .share-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.share-stat{padding:14px}.share-page .share-stat strong{font-size:28px}.share-page .share-heading{display:flex;gap:12px}.ow-dialog .exact-fields{grid-template-columns:1fr}.ow-dialog .fu2-section,.ow-dialog header{padding:20px}}
.share-region{position:relative;flex:0 1 auto;min-width:0}.share-region>button{cursor:pointer;max-width:240px;min-height:36px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:24px;background:#f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2353647d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 6px center;background-size:14px}.share-region-panel{position:absolute;right:0;top:calc(100% + 8px);width:300px;max-width:calc(100vw - 40px);padding:20px;background:white;border-radius:10px;box-shadow:0 10px 36px #1e33582b;z-index:20}.share-region-panel[hidden]{display:none}.share-region-panel h3{margin:0 0 16px;font-size:14px;color:#35455c}.share-region-panel label{display:grid;gap:6px;font-size:12px;color:#53647d;margin-bottom:12px}.share-region-panel select{min-height:40px;padding:8px;border:1px solid #dce3ed;border-radius:6px;font:13px inherit;color:#35455c;background:white;width:100%}.share-region-panel select:disabled{background:#f6f8fb;color:#61718b}.share-region-panel p{font-size:12px;line-height:1.6;color:#61718b}.share-region-panel :focus-visible{outline:2px solid #315bc9;outline-offset:2px}.share-proposal{display:flex;justify-content:center;text-decoration:none;box-sizing:border-box;background:#3e5abd;color:white;border-color:#3e5abd}.share-proposal:hover{background:#324fae;color:white}#proposalActions{display:grid;gap:8px}#proposalActions button:disabled{color:#61718b;background:#f6f8fb;cursor:default}
@media(max-width:640px){.share-region-panel{position:fixed;left:20px;right:20px;top:25vh;width:auto;max-width:none}}

.ow-history>summary{cursor:pointer;min-height:40px;display:list-item;align-content:center;font-size:13px;font-weight:600;color:#425571;list-style-position:inside}.ow-history>summary:focus-visible{outline:2px solid #315bc9;outline-offset:3px}.ow-history:not([open]){padding-bottom:12px}
.ow-tier-field{position:relative;display:grid;gap:6px;font-size:13px;color:#61718b}.ow-tier-select{position:relative}.ow-tier-trigger{display:flex;align-items:center;min-height:40px;box-sizing:border-box;padding:9px 32px 9px 11px;border:1px solid #dce3ed;border-radius:8px;background-color:#fff!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2361718b' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:14px;color:#263750;cursor:pointer;list-style:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ow-tier-trigger::-webkit-details-marker{display:none}.ow-tier-trigger:focus-visible{outline:2px solid #315bc9;outline-offset:2px}.ow-tier-panel{position:absolute;z-index:40;top:calc(100% + 6px);left:0;width:100%;min-width:190px;box-sizing:border-box;padding:7px;background:white;border:1px solid #dce3ed;border-radius:10px;box-shadow:0 12px 30px rgba(31,48,76,.18)}.ow-tier-panel button,.ow-tier-panel label{display:flex;width:100%;min-height:36px;box-sizing:border-box;align-items:center;gap:9px;margin:0;padding:7px 9px;border:0;border-radius:6px;background:white;color:#40526c;font:13px/1.4 var(--follow-font,'Microsoft YaHei',sans-serif);text-align:left;cursor:pointer}.ow-tier-panel button:hover,.ow-tier-panel label:hover{background:#f1f4fb}.ow-tier-panel input{width:16px!important;height:16px!important;min-height:0!important;margin:0;accent-color:#315bc9}.ow-tier-panel input:focus-visible{outline:2px solid #315bc9;outline-offset:2px}

.exact-outreach-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.exact-outreach-head h3{margin:0}.exact-online .share-access-badge{display:inline-flex;align-items:center;border:1px solid #b9decf;border-radius:999px;background:#eefaf5;color:#187356;padding:5px 10px;font-size:12px}.exact-online.is-shared header{gap:16px}.exact-online.is-shared header>div{min-width:0}.exact-online.is-shared header h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.exact-online.is-shared footer{display:flex;justify-content:space-between;gap:18px;align-items:center}.exact-online.is-shared footer span{max-width:900px}@media(max-width:700px){.exact-online header,.exact-online.is-shared footer{align-items:flex-start;flex-direction:column}.exact-table-wrap{margin:0 12px}.exact-online-nav{padding-inline:12px;overflow:auto}.exact-meta{white-space:nowrap}}
.ow-current{border-top:1px solid #e1e6ed}.ow-current h3{margin:0 0 10px;font-size:14px;color:#344967}.ow-tier-field.is-invalid .ow-tier-trigger{border-color:#dce3ed;box-shadow:none}.ow-record [data-delete-export]{color:#b4232c;border-color:#efc9cc}.ow-record [data-delete-export]:hover{background:#fff3f3}
.ow-dialog[open]{display:flex;max-height:min(90vh,760px);overflow:hidden;flex-direction:column}.ow-dialog>header{flex:0 0 auto}.ow-tabs{display:flex;height:48px;padding:0 24px;border-bottom:1px solid #e1e6ed;background:#fff;align-items:flex-end;gap:28px;flex:0 0 auto}.ow-tabs button{position:relative;height:48px;padding:0;border:0;background:transparent;color:#718098;font:600 13px/48px inherit;cursor:pointer}.ow-tabs button.is-active{color:#253a55}.ow-tabs button.is-active:after{position:absolute;right:0;bottom:-1px;left:0;height:2px;background:#315bc9;content:""}.ow-tabs button:focus-visible{border-radius:4px;outline:2px solid #315bc9;outline-offset:2px}.ow-view{min-height:0;overflow:auto}.ow-view[hidden]{display:none!important}.ow-history-view{display:flex;min-height:460px;padding:0 24px 24px;overflow:hidden;flex:1;flex-direction:column}.ow-history-heading{display:flex;min-height:72px;border-bottom:1px solid #e9edf3;align-items:center;justify-content:space-between;gap:18px;flex:0 0 auto}.ow-history-heading h3{margin:0;color:#253a55;font-size:15px}.ow-history-heading p{margin:3px 0 0;color:#718098;font-size:12px}.ow-history-scroll{min-height:0;padding:4px 4px 12px 0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#aeb8c7 transparent;flex:1}.ow-history-scroll::-webkit-scrollbar{width:4px}.ow-history-scroll::-webkit-scrollbar-thumb{border-radius:999px;background:#aeb8c7}.ow-history-view .ow-record{width:100%;margin:12px 0}.ow-history-empty,.ow-history-error{display:flex;min-height:360px;color:#718098;text-align:center;align-items:center;justify-content:center;flex-direction:column}.ow-history-empty>span{display:grid;width:58px;height:58px;margin-bottom:14px;border-radius:16px;background:#f0f4ff;color:#315bc9;place-items:center}.ow-history-empty svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.ow-history-empty strong,.ow-history-error strong{color:#253a55;font-size:15px}.ow-history-empty button,.ow-history-error button{min-height:36px;margin-top:14px;padding:0 14px;border:1px solid #d9e2f2;border-radius:6px;background:#fff;color:#315bc9;cursor:pointer}.ow-history-error p{margin:7px 0 0}.ow-batch-field{align-content:start}.ow-batch-field select:disabled{opacity:1;color:#35465f;background-color:#f6f8fb!important;cursor:not-allowed}
.ow-history-heading>button{flex:0 0 auto;white-space:nowrap}
@media(max-width:720px){.ow-dialog[open]{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.ow-tabs{padding-inline:20px}.ow-view{flex:1}.ow-history-view{min-height:0;padding-inline:16px}.ow-history-heading{min-height:68px}.ow-history-scroll{padding-right:0}}


/* refinement-v255.css */
/* Shared operating surfaces: compact summaries and consistent input controls. */
.node-overview{font:13px/1.6 Arial,"Microsoft YaHei",sans-serif;color:#35455c}.overview-heading,.overview-heading-actions,.overview-pages,.overview-pages>div,.overview-personnel>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.overview-heading{margin-bottom:22px}.overview-heading h1{font-size:24px;margin:0}.overview-heading p,.overview-personnel p{margin:4px 0 0;color:#61718b;font-size:13px}.overview-scope{display:flex;background:#eef1f7;padding:3px;border-radius:7px}.overview-scope button{border:0;background:none;border-radius:5px;padding:7px 12px;color:#61718b;font:inherit;cursor:pointer}.overview-scope button[aria-pressed=true]{background:white;color:#3e56bf}.overview-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:20px}.overview-kpis em{font-style:normal;font-size:12px;margin-left:4px}.overview-table-panel,.overview-personnel{background:white;border:1px solid #dce3ed;border-radius:12px;overflow:hidden}.overview-personnel{margin-top:24px}.overview-personnel>header{padding:18px 20px}.overview-personnel h2{margin:0;font-size:16px}.overview-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;padding:16px 20px 10px}.overview-filters label{display:grid;gap:6px;font-size:12px;color:#61718b;flex:1;min-width:110px}.overview-filters .overview-search{min-width:180px;flex:1.5}.overview-filters input,.overview-filters select{width:100%;min-height:38px;border:1px solid #dce3ed;border-radius:6px;background:#fff;padding:8px 10px;color:#35455c;font:13px/20px Arial,"Microsoft YaHei",sans-serif}.overview-filter-note{padding:0 20px 12px;color:#61718b;font-size:12px}.overview-scroll{overflow:auto}.node-overview table{width:100%;border-collapse:collapse;table-layout:auto;min-width:950px}.node-overview th{background:#f7f9fc;color:#61718b;text-align:left;font-weight:500;white-space:nowrap;padding:12px 16px}.node-overview td{padding:16px;border-top:1px solid #e5eaf2;vertical-align:middle}.node-overview tbody tr:nth-child(even){background:#fafbfe}.node-overview td strong{display:block;min-width:150px;font-size:13px}.node-overview td small{display:block;color:#61718b;font-size:12px;margin-top:5px;max-width:230px}.overview-track{display:flex;min-width:290px}.overview-track span{position:relative;flex:1;text-align:center;color:#8490a2;font-size:12px}.overview-track i{display:block;width:12px;height:12px;margin:0 auto 7px;border:1px solid #bbc6d8;border-radius:50%;background:white;position:relative;z-index:1}.overview-track span:not(:last-child):after{content:"";position:absolute;left:50%;top:6px;right:-50%;border-top:1px solid #dce3ed}.overview-track .done{color:#3e56bf}.overview-track .done i{background:#3e56bf;border:3px solid #e5eaff;outline:1px solid #3e56bf}.overview-action{background:transparent;border:0;padding:6px 0;color:#3e56bf;cursor:pointer;font:inherit;white-space:nowrap}.overview-action:hover{text-decoration:underline}.overview-grade{display:inline-grid;place-items:center;width:28px;height:28px;background:#eef2ff;border-radius:6px;color:#3e56bf}.overview-time{white-space:nowrap}.overview-pages{padding:14px 20px;border-top:1px solid #e5eaf2}.node-overview .secondary-button{min-height:38px;font:13px/20px Arial,"Microsoft YaHei",sans-serif;padding:8px 14px;border-radius:6px}.overview-personnel tr.selected{background:#eef2ff}.overview-empty{text-align:center;height:140px;color:#61718b}.overview-muted{color:#61718b}.overview-error{padding:12px;background:#fff3ee;color:#a24826;border-radius:6px}.node-overview button:focus-visible,.node-overview select:focus-visible,.node-overview input:focus-visible{outline:2px solid #3e56bf;outline-offset:2px}@media(max-width:1000px){.overview-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-heading{align-items:flex-start;flex-wrap:wrap}.overview-filters label{min-width:140px}.overview-heading h1{font-size:22px}}@media(max-width:600px){.overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-heading-actions{width:100%;justify-content:space-between}.overview-personnel>header{align-items:flex-start;flex-direction:column}}
:root{--follow-font:Arial,"Microsoft YaHei",sans-serif;--follow-ink:#35455c;--follow-muted:#61718b;--follow-line:#dce3ed;--follow-blue:#3e56bf;--follow-radius:6px}
#detailModal.fu2-insight #feedbackForm{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
#detailModal.fu2-insight .feedback-workspace{grid-template-columns:180px minmax(280px,1fr) 200px!important;grid-template-areas:none!important;width:100%;box-sizing:border-box}
#detailModal.fu2-insight #modalCustomerBody{display:flex;flex-direction:column;min-width:0}
#detailModal.fu2-insight #fu2BehaviorPane{min-width:0}
@media(max-width:900px){#detailModal.fu2-insight .feedback-workspace{grid-template-columns:1fr!important}}
.fu2-insight .fu2-communication .feedback-foot #feedbackLocalAiStatus{display:inline-flex!important;align-items:center;gap:5px}
.fu2-insight .analytics-behavior-grid{min-width:0}
.fu2-insight .fu2-communication .feedback-workspace{grid-template-areas:none;grid-template-columns:180px minmax(280px,1fr) 200px;overflow:visible}
.fu2-insight .fu2-communication .feedback-workspace>aside,.fu2-insight .fu2-communication .feedback-workspace>section{grid-area:auto;min-width:0}
.fu2-insight .feedback-foot{position:sticky;bottom:0;background:white;z-index:2;padding-bottom:8px!important}
.fu2-insight .feedback-search{border:0;padding:0}
@media(max-width:900px){.fu2-insight .fu2-communication .feedback-workspace{grid-template-columns:1fr}.fu2-insight .fu2-communication .feedback-library{display:none}.fu2-insight .fu2-communication .feedback-insight{min-height:150px}.fu2-insight .feedback-foot{flex-wrap:wrap}}
.node-overview .overview-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;border:0;background:none;box-shadow:none}
.node-overview .share-stat strong::after{content:none}
.share-kpis .share-stat>span{grid-column:1;grid-row:1}
.share-kpis .share-stat>small{grid-row:2}
@media(max-width:1200px){.node-overview .overview-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.node-overview .overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.share-kpis .share-stat,.node-overview .share-stat{min-height:88px;height:auto;padding:12px 16px;display:grid;grid-template-columns:1fr auto;gap:5px 12px;text-align:left;font:13px/1.5 var(--follow-font);color:var(--follow-ink);background:white;cursor:pointer;border:1px solid var(--follow-line);border-top:2px solid var(--node-accent,#5268df);border-radius:10px;box-shadow:none}
.share-kpis .share-stat:nth-child(2){--node-accent:#159977}.share-kpis .share-stat:nth-child(3){--node-accent:#ba800c}.share-kpis .share-stat:nth-child(4){--node-accent:#8367bc}.share-kpis .share-stat:nth-child(5){--node-accent:#408963}
.share-kpis .share-stat strong,.node-overview .share-stat strong{font-size:28px;line-height:32px;grid-column:2;grid-row:1/3;align-self:center}.share-kpis .share-stat span{align-self:end}.share-kpis .share-stat small{font-size:12px;line-height:18px;color:var(--follow-muted);grid-column:1}
.share-kpis .share-stat.active,.node-overview .share-stat[aria-pressed=true]{background:#eef2ff;border-color:var(--follow-blue)}
.share-stat:hover{background:#f6f8ff}.share-stat:focus-visible{outline:2px solid var(--follow-blue);outline-offset:3px}
.ow-dialog,.fu2-record,.fu2-insight{font-family:var(--follow-font);color:var(--follow-ink)}
.ow-dialog h2,.fu2-insight #modalCustomerName,.fu2-record h2{font:600 20px/1.5 var(--follow-font)!important}
.ow-dialog header,.fu2-insight .modal-head{padding:22px 24px 18px!important;align-items:flex-start}
.ow-dialog p,.ow-dialog label,.fu2-insight p,.fu2-insight label,.fu2-insight h3,.fu2-insight button,.fu2-insight input,.fu2-insight textarea{font-family:var(--follow-font)!important}
.ow-dialog .exact-fields{gap:14px 16px}.ow-dialog .exact-fields label{font-size:13px;color:var(--follow-muted);background:none}
.ow-dialog .exact-fields input,.ow-dialog .exact-fields select,.fu2-insight input,.fu2-insight textarea{font:13px/1.5 var(--follow-font)!important;color:var(--follow-ink);border:1px solid var(--follow-line);border-radius:var(--follow-radius);min-height:40px}
.ow-dialog select{appearance:none;padding:9px 32px 9px 11px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2361718b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center!important;background-size:14px!important}
.ow-dialog .fu2-button,.ow-record nav a,.fu2-insight .feedback-foot button{min-height:40px;padding:9px 16px;font:13px/20px var(--follow-font);border-radius:var(--follow-radius)}
.ow-dialog .fu2-close,.fu2-insight .modal-head .icon-button,.fu2-record .fu2-close{display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:6px;border:0;background:transparent;color:var(--follow-muted);border-radius:6px}.fu2-close svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none}.fu2-close:hover{background:#edf1f8}
.fu2-insight #modalCustomerBody{display:flex;flex-direction:column;min-height:0;flex:1}.fu2-insight #fu2CommunicationPane:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}.fu2-insight #feedbackForm{flex:1;display:flex;flex-direction:column;min-height:0}.fu2-insight .feedback-workspace{flex:1;min-height:360px}.fu2-insight .feedback-foot{margin-top:auto;padding-top:16px!important;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}.fu2-insight .feedback-foot>div{margin-left:auto;display:flex;gap:8px}.fu2-insight .feedback-foot #feedbackLocalAiStatus{font-size:12px;min-height:36px;padding:6px 0;background:transparent;border:0;box-shadow:none;text-align:left;white-space:normal}.fu2-insight .feedback-foot #feedbackLocalAiStatus i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#9a6d28;margin-right:7px}.fu2-insight .feedback-foot #feedbackLocalAiStatus.is-connected i{background:#21835b}
.fu2-insight .feedback-foot #feedbackSubmitHint:empty{display:none}.fu2-insight .feedback-section-head h3,.fu2-insight .analytics-behavior h3{font-size:14px!important;line-height:20px}.fu2-insight .analytics-data-note{font-size:12px;color:var(--follow-muted)}
@media(max-width:800px){.share-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fu2-insight .feedback-foot{flex-wrap:wrap}.fu2-insight .feedback-workspace{min-height:0}.fu2-insight .feedback-foot>div{width:100%;justify-content:flex-end}.ow-dialog .exact-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* refinement-v256.css */

/* One palette shared by cards and all five customer-stage timelines. */
#detailModal.fu2-insight .feedback-search{display:none!important}
.ow-dialog .ow-record.is-current-export{background:#fffdf2;border-color:#eadca6}
.ow-record .ow-current-label{display:inline-block;margin-left:10px;padding:2px 7px;border-radius:4px;background:#f8efce;color:#806521;font-size:11px;font-weight:400;vertical-align:middle}
:root{--stage-1:#3e56bf;--stage-1-soft:#eef1fc;--stage-2:#087f8c;--stage-2-soft:#e9f5f6;--stage-3:#b46912;--stage-3-soft:#fff4e5;--stage-4:#7851b5;--stage-4-soft:#f3eefa;--stage-5:#21835b;--stage-5-soft:#eaf5ef}
.share-kpis .share-stat:nth-child(1),.overview-track>span:nth-child(1),.analytics-compact-funnel>div>span:nth-child(1){--node-accent:var(--stage-1);--node-color:var(--stage-1);--node-soft:var(--stage-1-soft)}
.share-kpis .share-stat:nth-child(2),.overview-track>span:nth-child(2),.analytics-compact-funnel>div>span:nth-child(2){--node-accent:var(--stage-2);--node-color:var(--stage-2);--node-soft:var(--stage-2-soft)}
.share-kpis .share-stat:nth-child(3),.overview-track>span:nth-child(3),.analytics-compact-funnel>div>span:nth-child(3){--node-accent:var(--stage-3);--node-color:var(--stage-3);--node-soft:var(--stage-3-soft)}
.share-kpis .share-stat:nth-child(4),.overview-track>span:nth-child(4),.analytics-compact-funnel>div>span:nth-child(4){--node-accent:var(--stage-4);--node-color:var(--stage-4);--node-soft:var(--stage-4-soft)}
.share-kpis .share-stat:nth-child(5),.overview-track>span:nth-child(5),.analytics-compact-funnel>div>span:nth-child(5){--node-accent:var(--stage-5);--node-color:var(--stage-5);--node-soft:var(--stage-5-soft)}
.share-kpis .share-stat.active,.node-overview .share-stat[aria-pressed=true]{background:var(--node-soft);border-color:var(--node-accent)}
.share-kpis .share-stat strong,.share-kpis .share-stat>span{color:var(--node-accent)}
.overview-track span.done,.analytics-compact-funnel>div>span.is-reached{color:var(--node-color)!important}
.overview-track .done i,.analytics-compact-funnel>div>span.is-reached i{background:var(--node-color)!important;border:3px solid var(--node-soft)!important;outline:1px solid var(--node-color)!important}
.overview-track span:not(.done) i,.analytics-compact-funnel>div>span:not(.is-reached) i{border-color:var(--node-color);opacity:.45}
#detailModal.fu2-insight .modal-head{padding:22px 24px 18px!important;border-bottom:1px solid var(--follow-line);margin-bottom:12px}
#detailModal.fu2-insight #modalCustomerName{font:600 20px/30px var(--follow-font)!important;color:var(--follow-ink);margin:0}
#detailModal.fu2-insight #modalCustomerMeta{font:12px/20px var(--follow-font)!important;color:var(--follow-muted);margin:6px 0 0}
#detailModal.fu2-insight #modalCustomerBody{padding:0 24px 16px!important;overflow:auto!important;max-height:none!important}
#detailModal.fu2-insight .feedback-workspace{display:grid!important;grid-template-columns:minmax(240px,.95fr) minmax(320px,1.8fr) minmax(260px,1fr)!important;grid-template-areas:none!important;gap:14px;flex:1 0 auto;min-height:400px;height:auto;max-height:none;overflow:visible;align-items:stretch}
#detailModal.fu2-insight .feedback-workspace>aside,#detailModal.fu2-insight .feedback-workspace>section{position:static;height:auto;min-height:0;overflow:visible;min-width:0;grid-area:auto!important}
#detailModal.fu2-insight .feedback-history{padding:0;max-height:360px;min-height:160px;overflow:auto;flex:1 1 auto}
#detailModal.fu2-insight .feedback-history-item:not(.is-managing){grid-template-columns:46px minmax(0,1fr);gap:8px}
#detailModal.fu2-insight .feedback-file-status{grid-column:2;justify-self:start;overflow-wrap:anywhere;white-space:normal}
#detailModal.fu2-insight .feedback-file-copy{min-width:0}
#detailModal.fu2-insight .feedback-insight-body{padding:16px 0;max-height:440px;overflow:auto;overflow-wrap:anywhere;word-break:normal}
#detailModal.fu2-insight .feedback-insight-body p{white-space:normal;overflow-wrap:anywhere}
#detailModal.fu2-insight .feedback-privacy{position:static;margin:16px 0 0;padding:12px 0 0;flex-shrink:0;font-size:12px;line-height:1.65}
#detailModal.fu2-insight .feedback-compose-meta{grid-template-columns:1fr}
#detailModal.fu2-insight .feedback-foot{position:sticky;bottom:-16px;margin-top:0;padding:16px 0!important;min-height:72px;background:white;border-top:1px solid var(--follow-line);flex-direction:row;align-items:center}
@media(max-width:1100px){#detailModal.fu2-insight .feedback-workspace{grid-template-columns:230px minmax(0,1fr)!important}#detailModal.fu2-insight .feedback-workspace>.feedback-insight{grid-column:1/-1!important}#detailModal.fu2-insight .feedback-insight-body{max-height:260px}}
@media(max-width:700px){#detailModal.fu2-insight #modalCustomerBody{padding:0 16px 12px!important}#detailModal.fu2-insight .feedback-workspace{grid-template-columns:minmax(0,1fr)!important}#detailModal.fu2-insight .feedback-library{display:flex!important}#detailModal.fu2-insight .feedback-foot{flex-wrap:wrap;bottom:-12px}#detailModal.fu2-insight .feedback-foot>div{flex-wrap:wrap}}

.scope-news article+article{border-top:1px solid var(--follow-line);padding-top:14px;margin-top:14px}.scope-news h3{font-size:14px;line-height:1.65;margin:0 0 7px}.scope-news h3 a{color:inherit}.scope-news p,.scope-news li{font-size:13px;line-height:1.75}.scope-news footer{font-size:12px;color:var(--follow-muted);margin-top:8px}.scope-news summary{cursor:pointer;font-size:13px;color:var(--follow-blue);padding:10px 0}.scope-news-status{color:#9a641b}

/* Keep daily news inside its card, without trailing metadata or links. */
#view-home .insight-panel{overflow:hidden!important}
#view-home .insight-panel .insight-body{min-height:0!important;overflow:hidden!important}
#view-home .scope-news{overflow:hidden}
#view-home .scope-news article{overflow:hidden}
#view-home .scope-news h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
#view-home .scope-news p{display:-webkit-box;overflow:hidden;margin:0;-webkit-box-orient:vertical;-webkit-line-clamp:6;line-clamp:6}
#view-home .daily-intelligence-detail-link{display:inline-block;padding:2px 0;color:#1b4be5;font:600 13px/1.5 inherit;text-decoration:none;text-underline-offset:3px;cursor:pointer}
#view-home .daily-intelligence-detail-link:hover,#view-home .daily-intelligence-detail-link:focus-visible{color:#1239bd;text-decoration:underline}
.daily-intelligence-dialog{width:min(760px,calc(100vw - 32px));max-height:min(820px,calc(100dvh - 32px));padding:0;border:0;border-radius:22px;background:#fff;color:#17191c;box-shadow:0 16px 48px rgba(16,24,40,.18);overflow:hidden}
.daily-intelligence-dialog::backdrop{background:rgba(18,24,38,.42)}
.daily-intelligence-reader{display:grid;max-height:min(820px,calc(100dvh - 32px));grid-template-rows:auto minmax(0,1fr) auto}
.daily-intelligence-reader>header{display:flex;gap:20px;padding:26px 30px 20px;border-bottom:1px solid #e5e7eb;align-items:flex-start;justify-content:space-between}
.daily-intelligence-reader>header span{color:#1b4be5;font-size:12px;font-weight:700}.daily-intelligence-reader>header h2{margin:7px 0 5px;font-size:24px;line-height:1.4}.daily-intelligence-reader>header p{margin:0;color:#697386;font-size:13px}.daily-intelligence-reader>header .icon-button{flex:0 0 auto;font-size:24px;line-height:1}
.daily-intelligence-reader-body{padding:24px 30px 30px;overflow:auto;overscroll-behavior:contain}.daily-intelligence-reader-body section+section{margin-top:26px}.daily-intelligence-reader-body h3{margin:0 0 10px;font-size:17px;line-height:1.5}.daily-intelligence-reader-body p,.daily-intelligence-reader-body li{color:#434d5e;font-size:15px;line-height:1.9}.daily-intelligence-reader-body p{margin:0 0 12px}.daily-intelligence-reader-body .daily-intelligence-lead{color:#252d3a;font-size:16px}.daily-intelligence-reader-body ul{display:grid;gap:8px;margin:0;padding-left:22px}
.daily-intelligence-reader>footer{display:flex;min-height:62px;padding:12px 30px;border-top:1px solid #e5e7eb;align-items:center;justify-content:space-between;color:#697386;font-size:12px}.daily-intelligence-reader>footer nav{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}.daily-intelligence-reader>footer a{color:#1b4be5;font-weight:600}
@media(max-width:640px){.daily-intelligence-reader>header,.daily-intelligence-reader-body,.daily-intelligence-reader>footer{padding-left:20px;padding-right:20px}.daily-intelligence-reader>header h2{font-size:20px}.daily-intelligence-reader>footer{align-items:flex-start;flex-direction:column;gap:8px}.daily-intelligence-reader>footer nav{justify-content:flex-start}}


/* release-notes.css */
.release-notes-modal { width: min(640px, calc(100vw - 30px)); max-width: 640px; overflow: hidden; border: 1px solid rgba(226, 231, 238, .96); border-radius: 18px; box-shadow: 0 28px 80px rgba(16, 24, 40, .28), 0 3px 12px rgba(16, 24, 40, .08); }
.release-notes-modal::backdrop { background: rgba(16, 24, 40, .46); backdrop-filter: blur(2px); }
.release-notes-card { max-height: min(820px, calc(100vh - 48px)); overflow: auto; background: #fff; }
.release-notes-hero { position: relative; padding: 27px 30px 23px; border-bottom: 1px solid #e2e7ee; background: radial-gradient(circle at 88% 12%, rgba(67, 204, 248, .15), transparent 34%), linear-gradient(135deg, #f4f6ff 0%, #fff 62%); }
.release-notes-close { position: absolute; top: 18px; right: 18px; background: rgba(255, 255, 255, .76); color: #667085; }
.release-notes-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: #475467; font-size: 12px; line-height: 18px; font-weight: 600; }
.release-notes-mark { display: grid; width: 34px; height: 34px; place-items: center; margin-right: 1px; overflow: hidden; border-radius: 10px; background: #3e5abd; box-shadow: 0 6px 16px rgba(62, 90, 189, .22); }
.release-notes-mark svg { width: 21px; height: 21px; color: #fff; }
.release-notes-meta b { padding: 2px 8px; border: 1px solid #d9e0fb; border-radius: 999px; background: rgba(255, 255, 255, .8); color: #3e5abd; font-weight: 600; font-variant-numeric: tabular-nums; }
.release-notes-hero h2 { margin: 0; color: #101828; font-size: 22px !important; line-height: 30px !important; font-weight: 700; letter-spacing: 0 !important; }
.release-notes-hero p { margin: 7px 0 0; color: #475467; font-size: 14px; line-height: 22px; }
.release-notes-body { padding: 20px 30px 8px; }
.release-notes-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.release-notes-heading strong { color: #101828; font-size: 14px; line-height: 20px; }
.release-notes-heading span { color: #7a8699; font-size: 12px; line-height: 18px; }
.release-notes-list { display: grid; gap: 8px; }
.release-note-item { display: grid; min-height: 72px; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; border: 1px solid #e2e7ee; border-radius: 12px; background: #fff; }
.release-note-item > div { min-width: 0; }
.release-note-item strong { display: block; color: #101828; font-size: 14px; line-height: 20px; font-weight: 700; }
.release-note-item p { margin: 3px 0 0; color: #475467; font-size: 13px; line-height: 19px; }
.release-note-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; }
.release-note-icon svg { width: 19px; height: 19px; }
.release-note-icon.is-new { background: #eef1ff; color: #3e5abd; }
.release-note-icon.is-improved { background: #f1efff; color: #6757d9; }
.release-note-icon.is-fixed { background: #e8f7f1; color: #168a63; }
.release-note-tag { align-self: start; padding: 3px 8px; border-radius: 999px; font-size: 11px; line-height: 16px; font-weight: 700; white-space: nowrap; }
.release-note-tag.is-new { background: #eef1ff; color: #3e5abd; }
.release-note-tag.is-improved { background: #f1efff; color: #6757d9; }
.release-note-tag.is-fixed { background: #e8f7f1; color: #168a63; }
.release-notes-details { margin-top: 12px; padding: 14px 16px; border-radius: 11px; background: #f8fafc; }
.release-notes-details h3 { margin: 0 0 8px; color: #101828; font-size: 14px; line-height: 20px; }
.release-notes-details ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; color: #475467; }
.release-notes-details li { padding-left: 2px; font-size: 13px; line-height: 20px; }
.release-notes-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 30px 20px; }
.release-notes-hint { display: flex; min-width: 0; align-items: center; gap: 7px; color: #7a8699; font-size: 12px; line-height: 18px; }
.release-notes-hint svg { width: 15px; height: 15px; flex: 0 0 15px; }
.release-notes-foot > div { display: flex; gap: 10px; flex: 0 0 auto; }
.release-notes-foot button { min-height: 38px; padding-inline: 16px; border-radius: 9px; font-size: 14px; }
.release-notes-foot .primary-button { min-width: 106px; background: #3e5abd; box-shadow: 0 5px 12px rgba(62, 90, 189, .18); }

@media (max-width: 700px) {
  .release-notes-modal { width: calc(100vw - 20px); max-height: 86vh; margin-block: auto 10px; border-radius: 18px; }
  .release-notes-card { max-height: 86vh; }
  .release-notes-hero { padding: 23px 20px 19px; }
  .release-notes-body { padding: 16px 20px 7px; }
  .release-note-item { grid-template-columns: 38px minmax(0, 1fr); }
  .release-note-tag { display: none; }
  .release-notes-foot { align-items: stretch; flex-direction: column; padding: 13px 20px 18px; }
  .release-notes-foot > div { width: 100%; }
  .release-notes-foot button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .release-notes-modal { scroll-behavior: auto; }
}


/* customer-node-view.css */
/* The same node names and feedback notes on the customer list, share and overview. */
.customer-node-track{display:grid!important;grid-template-columns:repeat(5,minmax(56px,1fr))!important;align-items:start;gap:8px;min-width:320px;width:100%}
.customer-node-track .customer-node{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;min-width:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none;color:#53647d;font:12px/18px Arial,'Microsoft YaHei',sans-serif;text-align:center;cursor:default}
.customer-node-track button.customer-node{cursor:pointer}
.customer-node-track .customer-node::after{content:'';position:absolute;z-index:0;top:5px;left:calc(50% + 10px);width:calc(100% - 12px);height:1px;background:#e0e6ee}
.customer-node-track .customer-node:last-child::after{display:none}
.customer-node-track .customer-node i{display:block;z-index:1;flex:none;width:10px;height:10px;margin:0 0 8px;border:1px solid #d4dce8;border-radius:50%;background:#eef1f6;box-sizing:border-box}
.customer-node-track .customer-node.is-done i{background:var(--node-color);border-color:var(--node-color)}
.customer-node-track .customer-node-label{display:block;white-space:nowrap;color:#53647d;font-size:12px;font-weight:500;line-height:18px}
.customer-node-track .customer-node small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;padding:0;color:#909aaa;font-size:11px;font-weight:400;line-height:17px}
.customer-node-track .customer-node:focus-visible{outline:2px solid #315bc9;outline-offset:4px;border-radius:3px}
#view-campaign .followup-table.is-operator .data-row{grid-template-columns:28px minmax(180px,240px) minmax(320px,1fr) 84px 112px 152px!important;gap:8px!important}
.share-page .share-table-panel table{table-layout:auto!important;min-width:960px}
.share-page .share-table-panel th:nth-child(3),.share-page .share-table-panel td:nth-child(3){width:360px!important;min-width:340px}
.share-page .share-table-panel th:nth-child(4),.share-page .share-table-panel td:nth-child(4){width:110px!important}
.share-page .share-table-panel th:nth-child(5),.share-page .share-table-panel td:nth-child(5){width:145px!important;min-width:145px}
.share-page .share-node-head{display:none!important}
.node-overview .overview-table-panel .overview-scroll table{min-width:1080px}
.node-overview .overview-table-panel .overview-scroll th:nth-child(3),.node-overview .overview-table-panel .overview-scroll td:nth-child(3){min-width:440px;width:480px}
.node-overview .overview-table-panel .overview-scroll td{padding-top:24px;padding-bottom:24px}
.node-overview .customer-node-track{min-width:408px;gap:12px}
.node-overview .customer-node-track small{display:block;margin:2px 0 0;font-size:11px;color:#909aaa}
.customer-node-track .customer-node.is-positive small{color:var(--node-color);font-weight:500}

.node-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px;color:#8290a3;font-size:12px}.node-loading img{width:36px;height:36px}.overview-filter-note .node-loading{justify-content:flex-start}

/* Keep the company close to its grade; let the five nodes use the remaining width. */
.node-overview .overview-table-panel .overview-scroll table{table-layout:fixed;min-width:1060px}
.node-overview .overview-table-panel th:first-child{width:48px}
.node-overview .overview-table-panel th:nth-child(2){width:250px}
.node-overview .overview-table-panel th:nth-child(3),.node-overview .overview-table-panel td:nth-child(3){width:auto;min-width:408px}
.node-overview .overview-table-panel th:nth-child(3){text-align:center}
.node-overview .overview-table-panel th:nth-child(4){width:108px}
.node-overview .overview-table-panel th:nth-child(5){width:96px}
.node-overview .overview-table-panel th:nth-child(6){width:108px}
.node-overview .overview-table-panel th,.node-overview .overview-table-panel td{padding-left:12px;padding-right:12px}
.node-overview .overview-table-panel td:nth-child(2) strong{min-width:0;overflow-wrap:anywhere}


/* typography.css */
@font-face {
  font-family: "Inter";
  src: url("../prototype/assets/fonts/InterVariable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* ScopeAI-aligned platform typography. Loaded last across every runtime page. */
:root {
  --font-ui: "Inter", "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", SFMono-Regular, Consolas, monospace;
  --type-xs: 12px;
  --type-sm: 13px;
  --type-body: 14px;
  --type-lead: 15px;
  --type-subhead: 16px;
  --type-section: 20px;
  --type-metric: 28px;
  --weight-regular: 400;
  --weight-medium: 570;
  --weight-active: 640;
  --weight-semibold: 650;
  --weight-bold: 700;
  --leading-meta: 1.4;
  --leading-title: 1.48;
  --leading-body: 1.65;
  --leading-copy: 1.8;
}

html {
  font-family: var(--font-ui);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, button, input, textarea, select, option, dialog {
  font-family: var(--font-ui) !important;
  font-synthesis: none;
  font-kerning: normal;
}

body :is(h1, h2, h3, h4, h5, h6, p, span, strong, b, small, label, legend, li, dt, dd, th, td, a, time, button, input, textarea, select, option) {
  font-family: var(--font-ui) !important;
}

body .report-shell :is(h1, h2, h3, h4, h5, h6, p, span, strong, b, small, label, li, dt, dd, th, td, a, time, button) {
  font-family: var(--font-ui) !important;
}

body {
  font-size: var(--type-body) !important;
  font-weight: var(--weight-regular) !important;
  line-height: var(--leading-body) !important;
  letter-spacing: normal;
}

body :is(p, li, dt, dd, td) {
  font-size: var(--type-body) !important;
  font-weight: var(--weight-regular) !important;
  line-height: var(--leading-body) !important;
  letter-spacing: normal !important;
}

body :is(small, time, figcaption, caption) {
  font-size: var(--type-xs) !important;
  font-weight: var(--weight-regular) !important;
  line-height: var(--leading-meta) !important;
  letter-spacing: normal !important;
}

body :is(button, input, textarea, select) {
  font-size: var(--type-sm) !important;
  font-weight: var(--weight-semibold) !important;
  line-height: var(--leading-body) !important;
  letter-spacing: normal !important;
}

body :is(th, legend) {
  font-size: var(--type-xs) !important;
  font-weight: var(--weight-semibold) !important;
  line-height: var(--leading-meta) !important;
  letter-spacing: .02em !important;
}

body h1 {
  font-size: var(--type-section) !important;
  font-weight: var(--weight-bold) !important;
  line-height: 1.4 !important;
  letter-spacing: -.01em !important;
}

body h2 {
  font-size: var(--type-subhead) !important;
  font-weight: var(--weight-semibold) !important;
  line-height: var(--leading-title) !important;
  letter-spacing: -.012em !important;
}

body h3 {
  font-size: var(--type-lead) !important;
  font-weight: var(--weight-semibold) !important;
  line-height: var(--leading-body) !important;
  letter-spacing: normal !important;
}

body h4 {
  font-size: var(--type-body) !important;
  font-weight: var(--weight-medium) !important;
  line-height: var(--leading-body) !important;
  letter-spacing: normal !important;
}

body :is(strong, b) { font-weight: var(--weight-medium); }

body :is(.page-heading h1, .resource-heading h1, .admin-header h1, .page-intro h2, .share-heading h1, .dashboard-heading h1, .boot-error h1) {
  font-size: var(--type-section) !important;
  font-weight: var(--weight-bold) !important;
  line-height: 1.4 !important;
  letter-spacing: -.01em !important;
}

body :is(.panel-head h2, .panel-heading h2, .section-heading h2, .queue-heading h2, .card-heading h3, .modal-head h2, .drawer-top h2, .followup-share-dialog h2, .share-node-dialog h2, .analysis-company h3, .analysis-section h3, .customer-head h2, .credential-card h2, .credential-dialog-card h2, .release-notes-modal h2) {
  font-size: var(--type-subhead) !important;
  font-weight: var(--weight-semibold) !important;
  line-height: var(--leading-title) !important;
  letter-spacing: -.012em !important;
}

body :is(.nav-item, .nav-link, .main-nav button, .admin-nav button) {
  font-size: var(--type-body) !important;
  font-weight: var(--weight-regular) !important;
  line-height: var(--leading-body) !important;
}

body :is(.nav-item.is-active, .nav-item.active, .nav-link.is-active, .nav-link.active, .main-nav button.is-active, .admin-nav button.active) {
  font-weight: var(--weight-active) !important;
}

body :is(.nav-item, .nav-link, .main-nav button, .admin-nav button) :is(span, strong) {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

body :is(.nav-label, .eyebrow, .section-kicker, .dialog-kicker) {
  font-size: var(--type-xs) !important;
  font-weight: var(--weight-semibold) !important;
  line-height: var(--leading-meta) !important;
  letter-spacing: .02em !important;
}

body :is(.company-name, .company h3, .task-customer strong, .info-brief-link, .recent-batch-card > strong, .signal-focus strong, .region-tracking-card header strong, .batch-row strong, .account-identity strong, .share-history-item > strong) {
  font-size: var(--type-body) !important;
  font-weight: var(--weight-medium) !important;
  line-height: var(--leading-body) !important;
  letter-spacing: normal !important;
}

body :is(.breadcrumbs, .panel-head p, .panel-heading p, .metric-label, .metric-meta, .company-meta, .chart-y-labels, .chart-x-labels, .chart-summary, .updated-label, .table-pagination, .caption-note, .legend-note, .status-tag, .tier-mark, .analysis-small, .drawer-bottom p, .share-footnote, .material-inline-status, .recent-batch-card__meta, .chart-series-legend, .signal-summary small, .signal-context dt, .info-brief-row time, .region-tracking-meta small, .region-stage-row small) {
  font-size: var(--type-xs) !important;
  font-weight: var(--weight-regular) !important;
  line-height: var(--leading-meta) !important;
  letter-spacing: normal !important;
}

body :is(.company-intro p, .detail-block p, .insight-body > p, .analysis-section p, .share-node-dialog p, .followup-share-dialog p, .release-notes-body p, .semantic-content > p, .semantic-final p) {
  font-size: var(--type-lead) !important;
  font-weight: var(--weight-regular) !important;
  line-height: var(--leading-copy) !important;
  letter-spacing: normal !important;
}

body :is(.metric-card > strong, .metric-card strong, .metric strong, .dashboard-kpi strong, .share-kpis button strong, .analysis-score-line strong, .analysis-metrics dd strong, .customer-score strong, .rule-score strong) {
  font-size: var(--type-metric) !important;
  font-weight: var(--weight-bold) !important;
  line-height: 1 !important;
  letter-spacing: -.01em !important;
  font-variant-numeric: tabular-nums;
}

body :is(time, code, .score-value, .metric-card strong, .dashboard-kpi strong, .share-kpis strong, .analysis-score-line strong, .analysis-metrics dd strong, .recent-batch-card__top b, .batch-plan-count, .batch-countdown, .region-stage-row strong) {
  font-variant-numeric: tabular-nums;
}

body code { font-family: var(--font-mono) !important; }

body :is(.modal-card, .share-drawer, .followup-share-dialog, .share-node-dialog, .credential-card, .credential-dialog-card) {
  font-size: var(--type-body) !important;
  font-weight: var(--weight-regular) !important;
  line-height: var(--leading-body) !important;
}

body :is(.modal-head p, .assignment-help, .share-manager-notice, .touch-tracking-note, .notification-foot) {
  font-size: var(--type-body) !important;
  font-weight: var(--weight-regular) !important;
  line-height: var(--leading-body) !important;
}


/* followup-progress-preview.css */
/* Customer-followup progress view, shared by AI营销助手 and OCTANS. */
html[data-followup-progress-view="true"] body:has(#view-campaign:not([hidden])) .topbar{display:none}
html[data-followup-progress-view="true"] body:has(#view-campaign:not([hidden])) .content-wrap{display:flex;box-sizing:border-box;min-height:100vh;padding-top:24px;padding-bottom:0}
html[data-followup-progress-view="true"] #view-campaign:not([hidden]){display:flex;min-height:0;flex:1;flex-direction:column}
html[data-followup-progress-view="true"] #view-campaign .page-heading{margin-bottom:14px}
.amp-tabs{display:flex;align-items:flex-end;gap:28px;height:46px;padding:0 16px;border:1px solid var(--ui-border,#e3e8f1);border-bottom:0;border-radius:12px 12px 0 0;background:#fff}
.amp-tabs button{position:relative;height:46px;padding:0;background:transparent;color:#7b8798;font-size:14px;font-weight:620}
.amp-tabs button.is-active{color:var(--ui-text,#1d2535)}
.amp-tabs button.is-active:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;background:var(--ui-brand,#3e5abd)}
.amp-overview{display:flex;min-height:420px;flex:1;flex-direction:column;border:1px solid var(--ui-border,#e3e8f1);border-bottom:0;border-radius:0;background:#fbfcfe;box-shadow:0 12px 32px rgba(38,55,88,.06)}.amp-overview[hidden]{display:none}
#aiMarketingCustomerList{margin-top:0;border-radius:0 0 12px 12px}
.amp-toolbar{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:65px;padding:12px 16px;border-bottom:1px solid var(--ui-border,#e3e8f1)}
.amp-toolbar-left{display:flex;align-items:center;gap:10px}
.amp-preview-badge{display:inline-flex;align-items:center;height:26px;padding:0 9px;border:1px solid #b8c9f2;border-radius:999px;background:#edf3ff;color:#315bc9;font-size:11px;font-weight:650}
.amp-search{display:flex;align-items:center;gap:8px;width:285px;height:38px;padding:0 11px;border:1px solid #dce3ee;border-radius:8px;background:#fbfcfe;color:#91a0b4}
.amp-search svg{width:16px;height:16px}.amp-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--ui-text,#1d2535);font-size:13px;font-weight:500}.amp-search input::placeholder{color:#9aa6b6}
.amp-filters{display:flex;align-items:center;gap:8px}.amp-region-filter{position:relative}.amp-filter-button{display:flex;align-items:center;gap:7px;height:38px;padding:0 11px;border:1px solid #dce3ee;border-radius:8px;background:#fff;color:#617086;font-size:12px}.amp-filter-button strong{max-width:94px;overflow:hidden;color:var(--ui-text,#1d2535);font-weight:650;text-overflow:ellipsis;white-space:nowrap}.amp-filter-button i{width:7px;height:7px;margin:-3px 1px 0 3px;border-right:1.5px solid #7d8999;border-bottom:1.5px solid #7d8999;transform:rotate(45deg)}.amp-filter-button:disabled{cursor:not-allowed;background:#f6f8fb;color:#98a3b2}.amp-filter-button:disabled strong{color:#69778b}.amp-region-filter:not(.is-locked) .amp-filter-button:disabled{opacity:.62}.amp-region-filter.is-locked .amp-filter-button i{display:none}
.amp-region-menu{position:absolute;z-index:40;top:44px;right:0;width:260px;max-height:420px;overflow:auto;padding:7px;border:1px solid #dce3ee;border-radius:10px;background:#fff;box-shadow:0 18px 45px rgba(31,43,67,.16)}.amp-region-menu[hidden]{display:none}.amp-region-menu button{width:100%;padding:9px 10px;border-radius:7px;background:#fff;text-align:left}.amp-region-menu button:hover,.amp-region-menu button.is-active{background:#f4f7ff}.amp-region-menu span,.amp-region-menu small{display:block}.amp-region-menu span{color:var(--ui-text,#1d2535);font-size:13px;font-weight:650}.amp-region-menu small{margin-top:1px;color:#6f7d90;font-size:11px}
.amp-statistics{display:flex;align-items:center;gap:0;min-height:58px;padding:9px 18px;border-bottom:1px solid #edf0f4;background:#fbfcff}.amp-statistics>span{display:flex;align-items:baseline;gap:6px;min-width:96px;padding-right:20px}.amp-statistics>span+span{padding-left:20px;border-left:1px solid #e6eaf0}.amp-statistics small{color:#8995a5;font-size:11px}.amp-statistics strong{color:var(--ui-text,#1d2535);font-size:18px;font-weight:720;font-variant-numeric:tabular-nums}.amp-statistics p{margin:0 0 0 auto;color:#7d8999;font-size:11px}
.amp-crumb{display:flex;align-items:center;gap:8px;padding:15px 18px 0;color:#8b98aa;font-size:12px}.amp-crumb:empty{display:none}.amp-crumb button{padding:2px 0;background:transparent;color:var(--ui-brand,#3e5abd);font-size:12px;font-weight:650}.amp-crumb button:hover{text-decoration:underline;text-underline-offset:3px}.amp-crumb strong{color:var(--ui-text,#1d2535);font-weight:650}
.amp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-content:start;align-items:start;min-height:0;flex:1;padding:16px 18px 28px;background:#fbfcfe}
.amp-card{min-width:0;padding:19px;border:1px solid #dfe5ee;border-radius:11px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.amp-card:hover{border-color:#bec9df;box-shadow:0 10px 24px rgba(38,55,88,.08);transform:translateY(-1px)}.amp-card.is-expanded{box-shadow:0 10px 28px rgba(38,55,88,.09)}
.amp-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.amp-card-head h3{margin:0;color:var(--ui-text,#1d2535);font-size:16px;font-weight:700;line-height:1.5}.amp-card-head p{margin:2px 0 0;color:#8995a5;font-size:12px;line-height:1.5}.amp-rate{text-align:right}.amp-rate strong{display:block;font-size:26px;line-height:1;font-weight:740;font-variant-numeric:tabular-nums}.amp-rate span{display:block;margin-top:3px;color:#8a96a7;font-size:11px}
.amp-overall-label{display:flex;justify-content:space-between;margin-top:25px;color:#718096;font-size:12px}.amp-overall-label strong{color:var(--ui-text,#1d2535);font-weight:650}.amp-overall-track{height:5px;margin-top:8px;overflow:hidden;border-radius:999px;background:#e9edf3}.amp-overall-track i{display:block;height:100%;border-radius:inherit}
.amp-card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:16px;padding-top:13px;border-top:1px solid #edf0f4}.amp-card-foot>span{color:#7d8999;font-size:11px}.amp-card-foot>span b{color:var(--ui-text,#1d2535);font-weight:650}.amp-expand{padding:6px 10px;border-radius:7px;background:#f2f5ff;color:var(--ui-brand,#3e5abd);font-size:11px;font-weight:650}
.amp-node-detail{margin-top:16px;padding:17px 4px 3px;border-top:1px solid #edf0f4}.amp-node-line{position:relative;display:grid;grid-template-columns:repeat(5,1fr)}.amp-node-line:before{content:"";position:absolute;top:5px;right:10%;left:10%;height:1px;background:#dfe4ec}.amp-node{position:relative;text-align:center}.amp-node-dot{position:relative;z-index:1;display:block;width:10px;height:10px;margin:0 auto 7px;border:2px solid #fff;border-radius:50%;background:#dfe4ec;box-shadow:0 0 0 1px #d4dbe6}.amp-node.is-done .amp-node-dot{background:var(--amp-node-color);box-shadow:0 0 0 1px var(--amp-node-color)}.amp-node.is-current .amp-node-dot{background:var(--amp-node-color);box-shadow:0 0 0 1px var(--amp-node-color),0 0 0 4px var(--amp-node-soft)}.amp-node strong,.amp-node small{display:block}.amp-node strong{color:#5e6c80;font-size:11px;font-weight:620}.amp-node small{margin-top:1px;color:#315bc9;font-size:10px;font-weight:650;font-variant-numeric:tabular-nums}
.amp-subregion{margin-top:16px;padding-top:14px;border-top:1px dashed #dfe5ee}.amp-subregion-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.amp-subregion-head strong{font-size:12px;font-weight:680}.amp-subregion-head span{color:#758398;font-size:10px}.amp-subregion-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}.amp-subregion-card{display:block;width:100%;padding:11px;border:1px solid #e1e6ee;border-radius:8px;background:#fbfcfe;text-align:left}.amp-subregion-card:hover{border-color:#bec9df;background:#f7f9ff}.amp-subregion-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.amp-subregion-top>span{display:flex;align-items:center;gap:8px}.amp-subregion-top strong{font-size:12px;font-weight:650}.amp-subregion-top b{font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.amp-subregion-top em{color:#315bc9;font-size:10px;font-style:normal;font-weight:650}.amp-subregion-track{height:4px;margin-top:8px;overflow:hidden;border-radius:99px;background:#e9edf3}.amp-subregion-track i{display:block;height:100%;border-radius:inherit}
.amp-person-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}.amp-person-card{padding:12px;border:1px solid #e1e6ee;border-radius:8px;background:#fbfcfe}.amp-person-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.amp-person-summary strong,.amp-person-summary small{display:block}.amp-person-summary strong{font-size:12px;font-weight:680}.amp-person-summary small{margin-top:2px;color:#758398;font-size:10px}.amp-person-summary b{font-size:16px;font-weight:720;font-variant-numeric:tabular-nums}.amp-person-card footer{display:flex;align-items:center;justify-content:space-between;margin-top:9px;color:#758398;font-size:10px}.amp-person-card footer button{padding:5px 8px;border-radius:6px;background:#edf3ff;color:#315bc9;font-size:10px;font-weight:650}
.amp-list-manager-filter{position:relative;flex:0 0 154px;width:154px;min-width:154px;height:38px}.amp-list-manager-filter>.region-picker{width:100%}.amp-list-manager-filter .region-picker-menu{right:auto;left:0}.amp-list-manager-filter .region-option{grid-template-columns:minmax(0,1fr)}

/* The overview and customer list use one toolbar geometry so tab switching never jumps. */
#aiMarketingCustomerList .followup-toolbar{box-sizing:border-box;min-height:65px;height:65px;padding:12px 16px;align-items:center;flex-flow:row nowrap;gap:16px;border-bottom:1px solid var(--ui-border,#e3e8f1);background:#fff}
#aiMarketingCustomerList .followup-toolbar>div:first-child{display:flex;min-width:0;flex:1 1 auto;align-items:center;gap:10px}
#aiMarketingCustomerList .followup-search{position:relative;box-sizing:border-box;width:285px;min-width:285px;height:38px;min-height:38px;padding:0;border:0}
#aiMarketingCustomerList .followup-search svg{top:11px;left:11px;width:16px;height:16px;color:#91a0b4}
#aiMarketingCustomerList .followup-search input{box-sizing:border-box;width:100%;height:38px;padding:0 11px 0 34px;border:1px solid #dce3ee;border-radius:8px;background:#fbfcfe;color:var(--ui-text,#1d2535);font-size:13px;font-weight:500}
#aiMarketingCustomerList .followup-filter-actions{display:flex;min-width:0;height:38px;align-items:center;justify-content:flex-end;flex:0 1 auto;flex-flow:row nowrap;gap:8px;margin-left:auto}
#aiMarketingCustomerList .followup-filter-actions .region-picker-trigger{box-sizing:border-box;height:38px;min-height:38px;padding:0 11px;border:1px solid #dce3ee;border-radius:8px;background:#fff}
#aiMarketingCustomerList .followup-filter-actions .segmented-control{height:38px;padding:3px;border-radius:8px;white-space:nowrap}
#aiMarketingCustomerList .followup-filter-actions .segmented-control button{height:32px;min-height:32px;padding:0 9px;border-radius:6px}
#aiMarketingCustomerList .followup-filter-chips{margin:0}
.amp-empty{display:flex;min-height:clamp(300px,48vh,520px);grid-column:1/-1;color:#7a8798;font-size:13px;text-align:center;align-items:center;justify-content:center;flex-direction:column}.amp-empty>strong{color:var(--ui-text,#1d2535);font-size:15px;font-weight:650}.amp-followup-empty>span{display:grid;width:64px;height:64px;margin-bottom:16px;border-radius:18px;background:#f0f4ff;color:var(--ui-brand,#3e5abd);place-items:center}.amp-followup-empty svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.followup-empty-state{display:flex;min-height:clamp(260px,42vh,420px);padding:40px 24px;color:#7b8798;text-align:center;align-items:center;justify-content:center;flex-direction:column}.followup-empty-state>span{display:grid;width:64px;height:64px;border-radius:18px;background:#f0f4ff;color:var(--ui-brand,#3e5abd);place-items:center}.followup-empty-state svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.followup-empty-state strong{margin-top:16px;color:var(--ui-text,#1d2535);font-size:16px;line-height:24px}.followup-empty-state p{margin:6px 0 0;color:#8793a5;font-size:13px;line-height:21px}
@media(max-width:1280px){.amp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.amp-preview-badge{display:none}#aiMarketingCustomerList .followup-toolbar{height:auto;min-height:65px;flex-wrap:wrap}#aiMarketingCustomerList .followup-filter-actions{height:auto;flex-wrap:wrap}}
@media(max-width:980px){.amp-toolbar{align-items:stretch;flex-direction:column}.amp-toolbar-left{justify-content:space-between}.amp-filters{overflow-x:auto;padding-bottom:2px}.amp-filter-button{white-space:nowrap}.amp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){html[data-followup-progress-view="true"] body:has(#view-campaign:not([hidden])) .content-wrap{padding-bottom:0}.amp-search{width:min(100%,360px)}.amp-toolbar-left{align-items:stretch;flex-direction:column}.amp-grid{grid-template-columns:1fr}.amp-card.is-expanded{grid-column:auto}.amp-subregion-head{align-items:flex-start;flex-direction:column;gap:3px}}
html[data-followup-progress-view="true"] .amp-overview-loading{min-height:520px;overflow:hidden}
html[data-followup-progress-view="true"] .amp-skeleton{display:block;background:linear-gradient(90deg,#eef1f6 25%,#f8f9fb 50%,#eef1f6 75%);background-size:200% 100%;animation:amp-skeleton 1.25s ease-in-out infinite;border-radius:8px}
html[data-followup-progress-view="true"] .amp-skeleton-search{width:min(360px,70vw);height:38px}
html[data-followup-progress-view="true"] .amp-skeleton-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:16px}
html[data-followup-progress-view="true"] .amp-skeleton-grid>div{height:188px;border:1px solid #edf0f4;border-radius:14px;background:linear-gradient(90deg,#f3f5f8 25%,#fbfcfd 50%,#f3f5f8 75%);background-size:200% 100%;animation:amp-skeleton 1.25s ease-in-out infinite}
@keyframes amp-skeleton{to{background-position:-200% 0}}
@media (max-width:900px){html[data-followup-progress-view="true"] .amp-skeleton-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){html[data-followup-progress-view="true"] .amp-skeleton,html[data-followup-progress-view="true"] .amp-skeleton-grid>div{animation:none}}


/* ../server/diagnosis/platform.css */
.detailed-diagnosis-entry { min-width: 0; padding: 16px; border: 1px solid #ead7a5; border-radius: 11px; background: #fffaeb; color: #664c1b; }
.detailed-diagnosis-entry h3 { margin: 0; color: #513b14; font-size: 14px; font-weight: 650; line-height: 21px; }
.detailed-diagnosis-entry p { margin: 5px 0 12px; color: #765b28; font-size: 13px; line-height: 20px; }
.detailed-diagnosis-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.detailed-diagnosis-actions button { min-width: 0; min-height: 40px; padding: 8px 6px; border: 1px solid #d6b96d; border-radius: 8px; font: inherit; font-size: 13px; line-height: 20px; font-weight: 600; cursor: pointer; }
.diagnosis-request-button { background: #f3d78d; color: #513b14; }
.diagnosis-request-button:hover { background: #edcc72; }
.diagnosis-case-button { background: #fffdf7; color: #664c1b; }
.diagnosis-case-button:hover { background: #fff0ca; }
.detailed-diagnosis-actions button:focus-visible { outline: 2px solid #805e1b; outline-offset: 3px; }
.detailed-diagnosis-entry > small { display: block; margin-top: 10px; color: #765b28; font-size: 12px; line-height: 18px; }
.user-block{position:relative}.user-block>span{cursor:pointer}.diag-avatar-menu{position:absolute;bottom:53px;left:0;width:310px;max-width:calc(100vw - 30px);padding:9px;background:#fff;color:#24262b;border-radius:16px;box-shadow:0 12px 35px rgba(25,36,60,.16);z-index:100;text-align:left;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}.diag-avatar-menu[hidden]{display:none}.diag-avatar-menu header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 10px 17px;border-bottom:1px solid #eee;margin-bottom:8px}.diag-avatar-menu header strong{font-size:15px}.diag-avatar-menu header small{font-size:12px;color:#667085}.diag-avatar-menu a,.diag-avatar-menu>button{display:flex;align-items:center;gap:10px;min-height:43px;width:100%;padding:10px;border:0;border-radius:7px;background:none;text-decoration:none;color:#24262b;font-size:14px;text-align:left;line-height:1.5}.diag-avatar-menu a:hover,.diag-avatar-menu>button:hover{background:#f5f5f6}.diag-avatar-menu a:focus-visible,.diag-avatar-menu>button:focus-visible{outline:2px solid #4056be;outline-offset:1px}.diag-avatar-menu a>span{margin-left:auto;border-radius:4px;background:#24262b;color:#fff;font-size:11px;padding:1px 5px}.diag-avatar-menu svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;fill:none;flex-shrink:0}.diag-avatar-menu hr{border:0;border-top:1px solid #eee;margin:10px 0}.diag-avatar-menu>p{margin:4px 10px 9px;color:#667085;font-size:12px}.detailed-diagnosis-entry{background:#fff8e8!important;border-color:#f0dfb5!important}.detailed-diagnosis-entry p{font-size:13px!important}
.solution-empty.diagnosis-aligned-empty{grid-template-columns:minmax(0,1fr);padding:16px;gap:12px;text-align:left}
.solution-empty.diagnosis-aligned-empty strong,.detailed-diagnosis-entry h3{font-size:14px;line-height:21px;font-weight:650;text-align:left}
.solution-empty.diagnosis-aligned-empty p,.detailed-diagnosis-entry p{font-size:13px;line-height:20px;max-width:none;text-align:left}
.solution-empty.diagnosis-aligned-empty>small,.detailed-diagnosis-entry>small{font-size:12px;line-height:18px;text-align:left}
.solution-empty.diagnosis-aligned-empty .generate-solution-button,.detailed-diagnosis-actions button{min-height:40px;font-size:13px!important;line-height:20px;text-align:center}
.detailed-diagnosis-entry{padding-inline:29px}
.detailed-diagnosis-actions .diagnosis-single{grid-column:1/-1}
.detailed-diagnosis-actions .diagnosis-single:disabled{opacity:1;cursor:default;color:#79581c;background:#f7e9c5;border-color:#e7d49f}
.detailed-diagnosis-entry>small{overflow-wrap:anywhere}
.diagnosis-popover-dialog{width:min(520px,calc(100vw - 32px));max-height:85svh;overflow:auto;border:0;border-radius:14px;padding:26px;background:#fff;color:#172033;box-shadow:0 16px 48px rgba(16,24,40,.18);font:14px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.diagnosis-popover-dialog::backdrop{background:rgba(21,23,26,.35)}.diagnosis-popover-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.diagnosis-popover-dialog h2{font-size:21px;margin:0}.ds-close{border:0;background:none;font-size:24px;cursor:pointer;min-width:36px;min-height:36px}
.diagnosis-popover-dialog label{display:grid;gap:8px;margin:16px 0}.diagnosis-popover-dialog input,.diagnosis-popover-dialog select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd3e2;border-radius:8px;background:#fff;color:inherit;font:inherit;box-sizing:border-box}
.diagnosis-popover-dialog .ds-primary,.diagnosis-popover-dialog .ds-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 15px;border:1px solid #4056be;border-radius:8px;font:inherit;cursor:pointer;text-decoration:none}.diagnosis-popover-dialog .ds-primary{background:#4056be;color:#fff}.diagnosis-popover-dialog .ds-secondary{color:#344054;background:#fff;border-color:#cbd3e2}.diagnosis-popover-dialog .ds-actions{display:flex;gap:12px}.diagnosis-popover-dialog #dsCreate{width:100%}
.diagnosis-popover-dialog .ds-muted{color:#667085;font-size:13px}.diagnosis-popover-dialog .ds-error{padding:10px 12px;background:#fff5ef;color:#9b3413;border-radius:8px}.ds-existing{padding:14px 0;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;gap:12px;overflow-wrap:anywhere}.ds-request{display:block}.ds-request p{margin:5px 0}.ds-text{color:#4056be;border:0;background:none;font:inherit;cursor:pointer}.diagnosis-popover-dialog button:disabled{opacity:.6;cursor:default}.diagnosis-popover-dialog :is(button,a,input,select):focus-visible{outline:2px solid #4056be;outline-offset:3px}
@media(max-width:600px){.diagnosis-popover-dialog{padding:20px}.diagnosis-popover-dialog input,.diagnosis-popover-dialog select{font-size:16px}}

/* Admin service monitor extends the existing account menu. */
.diag-avatar-menu{position:fixed;max-height:calc(100dvh - 96px);overflow-y:auto}
.diag-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:14px 10px 6px}
.diag-service{display:flex;align-items:center;gap:8px;position:relative;min-width:0;color:#4c5565;font-size:12px;line-height:20px;cursor:default}
.diag-service>i{display:block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#7b8493}
.diag-service[data-status="online"]>i{background:#21864b}.diag-service[data-status="offline"]>i{background:#c43737}.diag-service[data-status="degraded"]>i{background:#a96408}
.diag-service:focus-visible{outline:2px solid #4056be;outline-offset:4px;border-radius:2px}
.diag-service-tooltip{display:none;position:absolute;bottom:calc(100% + 8px);left:0;z-index:2;width:190px;max-width:calc(100vw - 50px);padding:8px 10px;border-radius:6px;background:#24262b;color:#fff;font-size:12px;line-height:1.5;font-weight:400;pointer-events:none}
.diag-service:nth-child(even) .diag-service-tooltip{left:auto;right:0}.diag-service:hover .diag-service-tooltip,.diag-service:focus-visible .diag-service-tooltip{display:block}
@media(max-width:760px){.diag-avatar-menu{position:fixed;left:12px;bottom:76px;max-height:calc(100dvh - 96px);overflow-y:auto}}

/* One icon family and compact service status rows in the account menu. */
.diag-avatar-menu .diag-menu-icon{display:inline-block;flex:0 0 20px;width:20px;height:20px;font-size:20px;line-height:20px;text-align:center}
.diag-menu-icon--release{color:#365ac3}.diag-menu-icon--requests{color:#365ac3}.diag-menu-icon--file{color:#7850aa}.diag-menu-icon--logout{color:#a45c35}
.diag-services>.diag-service:last-child:nth-child(odd){grid-column:1/-1}
.ds-request-tabs{display:flex;gap:20px;margin:2px 0 18px;border-bottom:1px solid #e5e7eb}
.ds-request-tabs [role="tab"]{padding:10px 0;border:0;border-bottom:2px solid transparent;background:none;color:#596579;font:inherit;font-size:14px;cursor:pointer}
.ds-request-tabs [aria-selected="true"]{color:#365ac3;border-bottom-color:#365ac3;font-weight:600}
.ds-request-tabs [role="tab"]:focus-visible{outline:2px solid #4056be;outline-offset:3px;border-radius:2px}
.trend-panel .panel-head .small-select { display: inline-flex !important; }
.trend-panel > .chart-summary { display: flex !important; flex-wrap: wrap; gap: 7px; }
.trend-panel .trend-touch-line { fill: none; stroke: #168a63; stroke-width: 2; vector-effect: non-scaling-stroke; }
.trend-panel .legend-dot.touch { background: #168a63; margin-left: 12px; }

.market-detail .md-tabs{position:sticky;top:0;z-index:1;background:var(--ui-surface);gap:24px}
.market-detail .md-tabs button{display:flex;align-items:center;gap:7px}
.market-detail svg{width:18px;height:18px;flex:none}
.market-detail h3{display:flex;align-items:center;gap:8px;font-size:14px;margin:0 0 16px}
.market-detail h3 svg{color:var(--ui-brand)}
.market-detail :is(.md-overview,.md-assessment){display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:32px;padding:28px}
.market-detail :is(.md-overview>aside,.md-assessment>section+section){padding-left:28px;border-left:1px solid var(--ui-border)}
.market-detail :is(p,li,dd){font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.market-detail p{margin:0 0 16px;color:var(--ui-text-secondary)}
.market-detail .md-muted,.market-detail dt{color:var(--ui-text-muted);font-size:12px}
.market-detail .md-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:20px 0 0}
.market-detail :is(.md-facts,.md-contact)>div{padding:12px 0;border-bottom:1px solid var(--ui-border)}
.market-detail dd{margin:5px 0 0;color:var(--ui-text)}
.market-detail .md-contact{margin:0 0 12px}
.market-detail .md-next{margin-top:24px}.market-detail ol{padding-left:20px}
.market-detail .md-score{display:flex;align-items:baseline;gap:10px;margin:22px 0 12px}
.market-detail .md-score strong{font-size:48px;font-weight:650;color:#18865b;font-variant-numeric:tabular-nums;line-height:1}
.market-detail .md-score small{margin-left:auto;color:var(--ui-text-muted)}
.market-detail .md-score-boundary{padding-top:18px;border-top:1px solid var(--ui-border);font-size:12px;margin-top:24px}
.market-detail .md-checks{padding:0;list-style:none}.market-detail .md-checks li{padding:10px 0;border-bottom:1px solid var(--ui-border)}
.market-detail .md-assessment h3:not(:first-child){margin-top:28px}
.market-detail .md-sources{padding:28px}.market-detail .md-source-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.market-detail .md-source-head button{flex:none}.market-detail .md-source-list{padding:0;list-style:none;margin:14px 0}
.market-detail .md-source-list li{display:flex;gap:12px;padding:18px 0;border-top:1px solid var(--ui-border)}
.market-detail .md-source-list svg{color:var(--ui-text-muted);margin-top:3px}.market-detail .md-source-list small{display:block;color:var(--ui-text-muted);font-size:12px;margin:4px 0}
.market-detail a{color:var(--ui-brand)}.market-detail .md-empty{background:var(--ui-surface-subtle);padding:20px;border-radius:8px}.market-detail .md-empty p{margin:8px 0 0}
.market-detail .md-products{list-style:none;display:flex;gap:8px;flex-wrap:wrap;padding:0}.market-detail .md-products li{background:var(--ui-surface-subtle);padding:4px 10px;font-size:12px;border-radius:4px}
.market-detail .md-notice{padding:12px;background:var(--ui-surface-subtle);border-radius:6px}
.market-detail #md-panel:focus-visible{outline:2px solid var(--ui-brand);outline-offset:-3px}
@media(max-width:760px){.market-detail :is(.md-overview,.md-assessment){grid-template-columns:1fr;padding:20px;gap:24px}.market-detail :is(.md-overview>aside,.md-assessment>section+section){padding:24px 0 0;border-left:0;border-top:1px solid var(--ui-border)}.market-detail .md-tabs{gap:18px}.market-detail .md-tabs button{font-size:12px}.market-detail .md-source-head{flex-direction:column}.market-detail .md-sources{padding:20px}.market-detail .md-facts{gap:0 16px}}

/* Market route: one family and one type scale across pages and modal layers. */
body:has([data-route="market"].is-active){--market-font:"AIOS UI","Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif;--market-page:20px;--market-dialog:18px;--market-section:16px;--market-body:14px;--market-meta:12px;--market-regular:400;--market-emphasis:600;--ui-text-secondary:#475467;--ui-text-muted:#667085;font-family:var(--market-font)!important;font-size:var(--market-body)!important;font-weight:var(--market-regular)!important;line-height:1.65!important}
body:has([data-route="market"].is-active) :is(dialog,button,input,textarea,select,option,h1,h2,h3,h4,p,span,strong,b,small,label,legend,li,dt,dd,th,td,a,time){font-family:var(--market-font)!important;letter-spacing:normal!important}
body:has([data-route="market"].is-active) :is(p,span,li,dd,td,a){font-size:var(--market-body)!important;font-weight:var(--market-regular)!important;line-height:1.65!important}
body:has([data-route="market"].is-active) :is(strong,b){font-size:var(--market-body)!important;font-weight:var(--market-emphasis)!important;line-height:1.5!important}
body:has([data-route="market"].is-active) :is(h1,.mcv-heading h1,.mcf-heading h1){font-size:var(--market-page)!important;font-weight:var(--market-emphasis)!important;line-height:1.4!important}
body:has([data-route="market"].is-active) :is(h2,.modal-head h2,.modal-head h3,dialog header h2,.mcf-dialog-head h2){font-size:var(--market-dialog)!important;font-weight:var(--market-emphasis)!important;line-height:1.45!important}
body:has([data-route="market"].is-active) #detailModal #modalCustomerName{font-size:var(--market-dialog)!important;font-weight:var(--market-emphasis)!important;line-height:1.45!important}
body:has([data-route="market"].is-active) :is(h3,h4,.md-overview h3,.md-assessment h3,.mcv-panel h2,.mcv-overview-section-head h3,.mcf-section-head h3){font-size:var(--market-section)!important;font-weight:var(--market-emphasis)!important;line-height:1.5!important}
body:has([data-route="market"].is-active) :is(small,time,dt,legend,th,.mcv-resource-row.is-head span,.mcv-enterprise-row.is-head span,.data-head span,.mcv-list-footer span,.mcv-resource-pager span,.mcv-resource-tabbar small,.mcv-resource-score small,.mcv-detail-meta span,.mcf-stage span,.mcf-card footer>span,.mcf-next>span,.status-chip,.mcv-state,.mcv-profile-status,.md-muted,.md-score-boundary,.material-summary-card p,.drawer header>p){font-size:var(--market-meta)!important;font-weight:var(--market-regular)!important;line-height:1.5!important}
body:has([data-route="market"].is-active) :is(th,.mcv-resource-row.is-head span,.mcv-enterprise-row.is-head span,.data-head span,legend){font-weight:var(--market-emphasis)!important}
body:has([data-route="market"].is-active) :is(small,dt,.md-muted,.mcv-list-business){color:#667085!important}
body:has([data-route="market"].is-active) :is(button,input,textarea,select,option){font-size:var(--market-body)!important;line-height:1.5!important}
body:has([data-route="market"].is-active) :is(button,.row-action,.mcv-list-name,.mcv-link){font-weight:var(--market-emphasis)!important}
body:has([data-route="market"].is-active) :is(input,textarea,select,option){font-weight:var(--market-regular)!important}
body:has([data-route="market"].is-active) label{font-size:var(--market-meta)!important;font-weight:var(--market-emphasis)!important;line-height:1.5!important}
body:has([data-route="market"].is-active) :is(h1,h2,h3,h4,button) :is(span,strong,b){font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}
body:has([data-route="market"].is-active) :is(input,textarea)::placeholder{color:#667085;opacity:1}
body:has([data-route="market"].is-active) :is(.primary-button,.secondary-button,.mcv-primary,.mcv-secondary,.region-picker-trigger,.mcf-dialog-foot button){min-height:40px;border-radius:8px}
body:has([data-route="market"].is-active) :is(.mcv-list-name,.mcv-resource-name strong,.mcv-enterprise-row strong,.mcf-card header strong){font-size:var(--market-body)!important;font-weight:var(--market-emphasis)!important;line-height:1.5!important}
body:has([data-route="market"].is-active) .mcv-list-score{font-size:26px!important;font-weight:700!important;line-height:1.2!important;font-variant-numeric:tabular-nums}
body:has([data-route="market"].is-active) :is(.md-score strong,.metric-value,.mcv-overview-kpis strong,#crawlResultsSummary strong){font-size:32px!important;font-weight:var(--market-emphasis)!important;line-height:1.2!important;font-variant-numeric:tabular-nums}
body:has([data-route="market"].is-active) .mcv-resource-score strong{font-size:var(--market-body)!important}
body:has([data-route="market"].is-active) :is(.mcv-resource-name small,.mcv-enterprise-row small,.mcf-card header small){margin-top:4px}
body:has([data-route="market"].is-active) :is(.md-intro,.mcv-intro,.mcf-detail-body p){max-width:72ch;line-height:1.8!important}
.mcv-customer-cell{display:flex;align-items:center;gap:12px}.mcv-customer-cell>div{min-width:0}
.mcv-selection-toolbar{display:flex;align-items:center;gap:20px;margin:0 0 12px;padding:12px 16px;background:#fff;border:1px solid var(--ui-border,#e2e7ee);border-radius:8px}
.mcv-selection-toolbar label{display:flex;align-items:center;gap:8px}
.mcv-customer-cell input[type="checkbox"],.mcv-selection-toolbar input[type="checkbox"]{width:18px;height:18px;flex:none;accent-color:#3e5abd;cursor:pointer}
.mcv-list-row.is-selected td{background:#edf2ff}
.mcv-delete.is-active{border-color:#c73a4d;color:#b42318;background:#fff5f5}
@media(max-width:760px){.mcv-selection-toolbar{gap:12px}.mcv-list-heading-actions{flex-wrap:wrap;justify-content:flex-start}}

.mci-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;max-height:calc(100dvh - 48px);padding:0;border:0;border-radius:20px;box-shadow:0 16px 48px rgba(16,24,40,.18);color:#17213b;background:#fff}
.mci-dialog::backdrop{background:rgba(20,30,50,.4)}
.mci-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 48px);margin:0;font-family:inherit}
.mci-shell header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 28px 20px;border-bottom:1px solid #e1e7f0}
.mci-shell h2{margin:0;font-size:20px;font-weight:700;line-height:1.4}.mci-shell header p{margin:6px 0 0;color:#56657c;font-size:13px;line-height:1.6}
.mci-close{flex:none;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:#56657c;font:inherit;font-size:24px;cursor:pointer}.mci-close:hover{background:#f0f3f8}
.mci-body{overflow:auto;padding:24px 28px}.mci-body section+section{margin-top:24px}.mci-body h3{margin:0 0 14px;font-size:14px;font-weight:650;line-height:1.5}
.mci-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px}.mci-wide{grid-column:1/-1}.mci-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:#33435a;font-size:13px}.mci-field>span{font-weight:550}
.mci-field input,.mci-field select,.mci-field textarea{width:100%;min-height:40px;padding:9px 12px;border:1px solid #c4cfdf;border-radius:8px;box-sizing:border-box;background:#fff;color:#17213b;font:inherit;line-height:1.5}.mci-field textarea{resize:vertical;min-height:64px}.mci-field input::placeholder,.mci-field textarea::placeholder{color:#64748b}.mci-field input:focus,.mci-field textarea:focus,.mci-field select:focus{outline:2px solid #3d58ae;outline-offset:2px}
.mci-options{display:flex;gap:28px}.mci-options label{display:flex;align-items:flex-start;gap:9px;cursor:pointer;font-size:13px}.mci-options input{margin-top:3px;accent-color:#3d58ae}.mci-options strong{display:block;font-weight:600}.mci-options small,.mci-review small{display:block;margin-top:5px;color:#56657c;font-size:12px;line-height:1.5}.mci-review{margin-top:16px}.mci-review[hidden],.mci-error[hidden]{display:none}
.mci-shell footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 28px;border-top:1px solid #e1e7f0}.mci-shell footer>span{color:#56657c;font-size:12px}.mci-shell footer>div{display:flex;gap:10px}.mci-shell footer button{min-height:40px;white-space:nowrap}
.mci-error{margin:20px 0 0;color:#b42318;font-size:13px;line-height:1.6}.mci-error:focus{outline:2px solid #b42318;outline-offset:4px}.mci-success{text-align:center;padding:40px 28px 48px}.mci-success svg{width:44px;height:44px;color:#16875c}.mci-success h3{margin:18px 0 10px;font-size:17px;line-height:1.5}.mci-success p{margin:0;color:#33435a;font-size:14px}.mci-success small{display:block;margin-top:10px;color:#56657c;font-size:12px}
@media(max-width:600px){.mci-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:16px}.mci-shell{max-height:calc(100dvh - 24px)}.mci-shell header,.mci-body,.mci-shell footer{padding:20px}.mci-grid{grid-template-columns:1fr;gap:14px}.mci-options{flex-direction:column;gap:14px}.mci-shell footer{align-items:flex-end}.mci-shell footer>span{max-width:120px;line-height:1.5}.mci-shell footer>div{gap:8px}}

/* Preserve the online design. Keep its existing navigation button reachable
   when a narrow-screen task page has hidden the top bar. */
@media (max-width: 640px) {
  body:has(:is(#view-resources,#view-campaign,#view-packs,#view-analytics):not([hidden])) #mobileMenu {
    display: inline-flex !important;
    position: fixed;
    inset: auto 16px 20px auto;
    z-index: 50;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong, #d8dee8);
    border-radius: 9px;
    background: var(--surface, #fff);
    color: var(--ink, #101828);
  }
  body:has(dialog[open]) #mobileMenu { display: none !important; }
}

/* Shared desktop geometry for both business routes, including their loading shells. */
@media (min-width: 901px) {
  :root { --sidebar: 224px; }
  .sidebar { width: 224px !important; padding: 20px 12px 16px !important; height: 100dvh; background: #fff; }
  .shell > #main { margin-left: 224px; }
}
@media (min-width: 701px) {
.sidebar .sidebar-bottom { margin-top: auto; padding: 0; flex: 0 0 auto; }
.sidebar .route-card { display: block; padding: 8px 10px; margin: 0 2px 16px; border: 1px solid #e0e7f1; border-radius: 9px; background: #f8fafd; }
.sidebar .route-switch { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3px; width: 100%; height: 36px; min-height: 36px; margin: 0; padding: 3px; border: 0; border-radius: 7px; background: #f8fafc; }
.sidebar .route-switch > :is(a, button, strong) { display: flex; align-items: center; justify-content: center; width: 100%; height: 30px; min-height: 30px; margin: 0; padding: 0 6px; border: 0; border-radius: 6px; background: transparent; color: #697386; font-family: inherit; font-size: 13px !important; font-weight: 600; line-height: 20px !important; text-decoration: none; white-space: nowrap; }
.sidebar .route-switch > :is(.is-active, strong, [aria-selected="true"]) { color: #3e5abd; background: #fff; box-shadow: 0 1px 3px rgb(16 24 40 / 6%); }
.sidebar .user-block { display: flex; align-items: center; gap: 9px; height: 51px; min-height: 51px; margin: 0; padding: 12px 8px 0; border-top: 1px solid #e0e7f1; }
.sidebar .user-block > .user-avatar { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; min-height: 30px; padding: 0; border: 0; border-radius: 50% !important; background: #4560c4 !important; color: #fff !important; font-size: 14px; line-height: 20px; }
.sidebar .user-block > span { flex: 1; min-width: 0; }
.sidebar .user-block :is(b, small) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px !important; line-height: 18px !important; }
.sidebar .user-block b { color: #14213d; font-weight: 600; }
.sidebar .user-block small { color: #697386; font-weight: 400; }
.sidebar .user-block > .icon-button { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; min-height: 30px; padding: 5px; border: 0; background: transparent; color: #8795ae; }
.sidebar .user-block > .icon-button svg { width: 20px; height: 20px; }
}
@media (max-width: 700px) { .shell .sidebar .route-card { display: none; } }

.octans-loader{display:flex;align-items:center;justify-content:center;gap:12px;min-height:140px;color:var(--ink-700,#343a40);font-size:14px}
.octans-loader.is-inline{display:inline-flex;min-height:0;gap:8px;font-size:13px}
.octans-loader svg{width:36px;height:36px;flex:none;color:var(--brand,#1b4be5)}
.octans-loader.is-inline svg{width:22px;height:22px}
.octans-loader-orbit{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;transform-origin:20px 20px;animation:octans-loader-spin 1.2s linear infinite}
.octans-loader-star{fill:currentColor}
.mcv-job-summary{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;color:#343a40;font-size:13px}
.mcv-job-summary strong{color:#17191c;font-variant-numeric:tabular-nums}
.mcv-job-note{margin:8px 0 0;color:#697386;font-size:13px;line-height:1.65}
.mcv-job-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.mcv-job.is-waiting{background:#f5f6f7}
.mcv-job.is-error{color:#a9342b}
.mcv-job small{color:#697386}
.mcv-job button{flex:none}
@keyframes octans-loader-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.octans-loader-orbit{animation:none}}

/* One loading animation, 40px, centred in the active work area. */
.octans-loading-signal,.octans-loader,.loading-mark,.data-loading-mark,.home-loading-logo,.notification-loading-mark,.analytics-loading-mark,.resource-loading-state img,.followup-loading-state img,.analytics-loading i,.team-workbench-loading>i,.home-recommendation-spinner{display:none!important}
.octans-global-loading{position:fixed;left:calc(50% + 112px);top:50%;transform:translate(-50%,-20px);display:flex;flex-direction:column;align-items:center;gap:12px;width:max-content;max-width:min(360px,calc(100vw - 48px));z-index:10050;pointer-events:none;color:var(--ui-brand,#3f57bc);transition:none!important}
.octans-global-loading[hidden]{display:none!important}
.octans-global-loading svg{display:block;width:40px;height:40px;flex:none}
.octans-global-loading[role="status"] .octans-global-loading-label{display:block;color:#667085;font-family:"AIOS UI","Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;font-weight:400;line-height:22px!important;text-align:center;overflow-wrap:anywhere}
dialog .octans-global-loading{left:50%}
@media(max-width:760px){.octans-global-loading{left:50%}}

#authLoginTransition img{display:none!important}body:has(.auth-shell) .octans-global-loading{left:50%}

/* Finish review: route export, detail, overview, media and node reads also share the singleton. */
.export-spinner,.detail-spinner,.overview-shell-loading img,.node-loading img,.detail-reading-spinner,.loading-spinner,.feedback-file-status.is-analyzing i,.feedback-service-status.is-checking i,.feedback-media-loading{display:none!important}
.detail-reading-state i,.detail-reading-state i::after,.detail-skeleton i::after,.analytics-skeleton-head i,.analytics-skeleton-grid i,.amp-skeleton,.amp-skeleton-grid>div,.feedback-thumb-loading::after,.deepseek-public-info.is-loading>header svg{animation:none!important}

/* Figure 3: the same 40px mark at the centre of the active content viewport. */
.octans-global-loading{left:calc(50% + 112px)!important;top:50%!important;transform:translate(-50%,-20px)!important;color:#3f57bc!important;gap:12px!important;pointer-events:none!important}
.octans-global-loading>svg{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
dialog .octans-global-loading,body:has(.auth-shell) .octans-global-loading,body:not(:has(.sidebar)) .octans-global-loading{left:50%!important}
.route-loading,.data-loading-screen{pointer-events:none!important}
.market-load-error{display:grid;place-content:center;justify-items:center;min-height:240px;gap:12px;color:#697386}
.market-load-error p{margin:0}
@media(max-width:900px){.octans-global-loading{left:50%!important}}
@media(prefers-reduced-motion:reduce){.octans-loader-orbit{animation:none!important}}
