/* Shared record layout: compact rows, quiet grouping, accessible actions. */
.content{min-width:0}.content>.heading{gap:20px}.content .heading p{max-width:74ch;line-height:1.65}.records-table-wrap{max-width:100%;overscroll-behavior-x:contain;scrollbar-width:thin}.records-table{border-collapse:separate;border-spacing:0;font-size:13px}.records-table th,.records-table td{padding:14px 16px;border-right:1px solid #dfe6f2;border-bottom:1px solid #dfe6f2;vertical-align:middle}.records-table thead th{background:#f7f9fd;color:#52627a;font-size:11px;font-weight:650;letter-spacing:.04em;text-transform:uppercase}.records-table tbody tr:not(.record-group):hover td{background:#f8faff}.records-table .record-group th{background:#ecf1fb;color:#182b45;padding:12px 16px}.records-table .record-group-toggle{font-weight:700}.records-table td>small{display:block;margin-top:5px;color:var(--muted)}.records-table .record-actions{position:sticky;right:0;background:#fff;box-shadow:-3px 0 5px #14223a05;text-align:right;white-space:nowrap;z-index:1}.records-table .record-actions button{margin-left:6px}.records-table th.record-actions{background:#f7f9fd;z-index:2}.records-table .record-index{width:44px;color:#7d8ca4;text-align:center}.records-table button{min-height:36px}.records-table-wrap:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #829dff;outline-offset:3px}.page-summary{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 22px}.page-summary>span{padding:12px 18px;border:1px solid var(--line);background:#fff;border-radius:10px;color:#5d6e87}.page-summary strong{font-size:19px;color:var(--ink);margin-right:7px}.knowledge-workspace{padding:22px 24px}.knowledge-toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:20px 0}.knowledge-toolbar .field{margin:0;min-width:200px;flex:1}.knowledge-toolbar p{flex:2;min-width:240px;margin:0;color:var(--muted);font-size:12px;line-height:1.6}.knowledge-table .records-table{width:100%;min-width:720px}.knowledge-table .knowledge-description{max-width:480px;white-space:normal;line-height:1.6}.knowledge-license{margin:22px 0;line-height:1.7;color:var(--muted)}.knowledge-license p{max-width:95ch}.knowledge-modal{width:100%;padding:26px 28px}.knowledge-modal .field{margin-bottom:16px}.knowledge-modal textarea{min-height:90px}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:22px}.dialog-heading h2{margin:0}.dialog-actions{position:sticky;bottom:-28px;background:#fff;border-top:1px solid var(--line);padding:18px 0 4px;display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.knowledge-tasks{padding-left:22px;line-height:1.85}.knowledge-history article{padding:12px 0}.knowledge-modal a{overflow-wrap:anywhere}.operation-records .records-table{min-width:850px;width:100%}.operation-title{max-width:290px;white-space:normal;line-height:1.55}.operation-summary{max-width:390px;white-space:normal;line-height:1.55}
/* Analyses and design examples. No fabricated data on real report screens. */
.insight-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.insight-tabs button{padding:11px 17px;white-space:nowrap}.insight-tabs .selected{background:var(--brand,#355cde);color:#fff}.insight-demo{display:flex;gap:15px;flex-wrap:wrap;padding:17px 22px;background:#fff4d9;border:1px solid #f4dfaa;border-radius:12px;margin-bottom:24px;color:#765109;line-height:1.6}.insight-demo strong{font-size:12px;letter-spacing:.05em}.insight-demo span{font-size:13px}.insight-scope{color:var(--muted);font-size:13px;margin-bottom:22px}.insight-controls{padding:20px 24px;display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.insight-controls .field{margin:0;flex:1;min-width:130px}.insight-controls button{min-height:44px}.insight-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.insight-kpi{padding:22px 24px;min-width:0}.insight-kpi>span{font-size:12px;color:var(--muted);display:block;margin-bottom:14px}.insight-kpi>strong{font-size:clamp(21px,2vw,30px);letter-spacing:-.7px;display:block;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.insight-kpi small{display:block;color:var(--muted);font-size:11px;margin-top:13px;line-height:1.6}.insight-kpi small b{color:#3c5d91}.insight-chart-grid{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(260px,1fr);gap:22px;margin-bottom:24px}.insight-panel{padding:26px 28px;min-width:0;margin-bottom:22px}.insight-chart-grid .insight-panel{margin-bottom:0}.insight-section-head{display:flex;align-items:start;justify-content:space-between;gap:16px}.insight-panel h2{font-size:20px;margin:10px 0}.insight-panel p{font-size:12px;line-height:1.75;color:var(--muted)}.chart-legend{display:flex;gap:15px;font-size:12px;white-space:nowrap}.chart-legend span:before{content:'';display:inline-block;width:9px;height:9px;background:var(--brand,#355cde);border-radius:3px;margin-right:6px}.chart-legend .previous:before{background:#c6d2e6}.insight-chart{display:block;width:100%;margin-top:26px;overflow:visible}.insight-chart text{font-size:11px;fill:#6a7a91;font-family:inherit}.chart-current{fill:var(--brand,#355cde)}.chart-previous{fill:#c6d2e6}.chart-selected{stroke:#1c3054;stroke-width:1.3}.insight-ring{width:176px;height:176px;border-radius:50%;margin:23px auto;background:conic-gradient(var(--brand,#355cde) calc(var(--ratio)*1%),#e7edf6 0);display:grid;place-items:center}.insight-ring>div{background:white;width:136px;height:136px;border-radius:50%;display:grid;align-content:center;text-align:center}.insight-ring strong{font-size:33px;letter-spacing:-1px}.insight-ring small{color:var(--muted);font-size:11px;margin-top:7px}.insight-split{display:grid;grid-template-columns:1fr 1fr;gap:20px;font-size:12px;color:var(--muted)}.insight-split b{display:block;color:var(--ink);margin-top:8px;font-size:16px}.insight-comparison{width:100%;min-width:850px}.insight-comparison td{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.insight-comparison th:first-child{min-width:180px}.insight-notes{color:var(--muted);line-height:1.8;font-size:13px;margin:18px 0 24px}.insight-mini{padding:24px 28px;margin:0 0 26px}.insight-mini .insight-section-head h2{margin:0;font-size:19px}.insight-mini>p{font-size:12px;color:var(--muted)}.insight-mini a{font-size:13px;font-weight:650}.insight-mini .insight-chart{max-height:230px;margin-top:14px}.insight-empty{font-size:13px;padding:15px 0;color:var(--muted)}
@media(max-width:1100px){.insight-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-chart-grid{grid-template-columns:1fr}.insight-chart-grid>.insight-panel:last-child{display:grid;grid-template-columns:1fr 190px;gap:0 20px}.insight-chart-grid>.insight-panel:last-child .insight-ring{grid-column:2;grid-row:1/5}.insight-chart-grid>.insight-panel:last-child h2{grid-column:1}.insight-chart-grid>.insight-panel:last-child .insight-split{grid-column:1}}
@media(max-width:760px){.records-table td,.records-table th{padding:13px 14px}.records-table button,.insight-tabs button{min-height:44px}.records-table .record-actions button{padding:10px 12px}.records-table .record-actions{max-width:180px}.knowledge-workspace{padding:16px}.knowledge-toolbar{align-items:stretch}.knowledge-toolbar .field{min-width:0;flex-basis:100%}.knowledge-toolbar p{min-width:0;flex-basis:100%}.knowledge-table .records-table{min-width:450px}.knowledge-table .knowledge-description,.knowledge-table .knowledge-source{display:none}.knowledge-table thead th:nth-child(3),.knowledge-table thead th:nth-child(4){display:none}.knowledge-table tbody td:nth-child(4){display:none}.knowledge-table .record-actions button{display:block;width:100%;margin:4px 0}.knowledge-table td:nth-child(2){max-width:210px;white-space:normal}.insight-tabs{flex-wrap:nowrap;overflow:auto;padding:0 0 8px}.insight-controls{padding:18px;gap:14px}.insight-controls .field{flex-basis:42%;min-width:0}.insight-controls button{width:100%}.insight-kpi{padding:18px 16px}.insight-metrics{gap:12px}.insight-kpi>strong{font-size:22px}.insight-panel,.insight-mini{padding:20px 18px}.insight-section-head{flex-wrap:wrap}.insight-panel h2{font-size:18px}.insight-chart{min-width:0}.insight-chart-grid>.insight-panel:last-child{display:block}.insight-ring{width:158px;height:158px}.insight-ring>div{width:120px;height:120px}.insight-demo{padding:16px 18px;gap:5px}.knowledge-modal{padding:20px}.dialog-actions{bottom:-20px;flex-wrap:wrap}.dialog-actions button{min-height:44px;flex:1}.content input,.content select,.modal-body input,.modal-body select,.modal-body textarea{font-size:16px}.page-summary{gap:8px}.page-summary>span{padding:10px 12px;font-size:11px}.page-summary strong{font-size:17px}.insight-tabs button{flex-shrink:0}.nav>a{min-height:44px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.operation-details{margin-top:10px;font-size:12px}.operation-details>summary{cursor:pointer;color:var(--muted)}.operation-details .notice{margin-top:12px;padding:14px;white-space:normal}.operation-details .notice button{display:block;width:100%;margin:8px 0}

.insight-chart-box{max-width:100%;overflow-x:auto}.chart-mobile-hint{display:none}.insight-chart-box:focus-visible{outline:3px solid #829dff;outline-offset:3px}@media(max-width:760px){.insight-chart-box .insight-chart{min-width:600px}.chart-mobile-hint{display:block}}

.insight-ring{position:relative;background:none}.insight-ring>svg{position:absolute;inset:0;width:100%;height:100%}.insight-ring>div{position:relative;width:116px;height:116px}.ring-current{stroke:var(--brand,#355cde)}@media(max-width:760px){.insight-ring>div{width:104px;height:104px}}

.insight-comparison th:first-child{position:sticky;left:0;background:#f7f9fd;z-index:1}.insight-comparison tbody th:first-child{background:#fff}.records-table .record-group th>div{flex-wrap:wrap;gap:8px}.records-table .record-group-toggle{white-space:normal;text-align:left;overflow-wrap:anywhere}@media(max-width:760px){.knowledge-table .records-table{min-width:100%}.knowledge-table [data-template]{display:none!important}.knowledge-table td:nth-child(2){max-width:170px}.knowledge-table .record-actions{min-width:105px}.knowledge-workspace .records-table-wrap{border-radius:8px}}

/* Compact research results and accessible detail actions */
.research-workspace{min-width:0}.research-controls{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:18px;margin:20px 0}.research-controls .field{margin:0;min-width:240px}.research-table .records-table{min-width:970px;width:100%}.research-company{max-width:340px;white-space:normal}.research-name{border:0!important;background:transparent!important;box-shadow:none!important;color:var(--ink)!important;padding:0!important;text-align:left;font-weight:650;line-height:1.5;white-space:normal}.research-table tbody tr{cursor:pointer}.research-table .record-actions{min-width:96px}.research-modal{width:min(820px,calc(100vw - 24px))}.research-detail{padding:20px 22px}.research-detail .preserve{white-space:pre-wrap;overflow-wrap:anywhere}.research-detail a,.research-detail blockquote{overflow-wrap:anywhere}.research-detail .panel{padding:20px;border:1px solid var(--line);border-radius:12px;margin:24px 0}.research-detail details{margin:20px 0}.research-detail summary{cursor:pointer;font-weight:600;line-height:1.6}.research-facts{display:grid;gap:16px;margin:24px 0}.research-facts dt{font-size:12px;color:var(--muted);margin-bottom:4px}.research-facts dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.research-detail .dialog-actions{flex-wrap:wrap;bottom:-20px;gap:10px}.research-detail textarea{width:100%}.research-detail .danger{color:#ac2929!important;border-color:#ead2d2}.research-table .badge{white-space:normal;line-height:1.5}
@media(max-width:760px){.research-controls{align-items:stretch}.research-controls .field{min-width:0;width:100%}.research-table .records-table{min-width:100%}.research-table .research-secondary,.research-table .record-index,.research-table thead th:first-child{display:none}.research-table .research-company{max-width:180px;min-width:110px}.research-table td,.research-table th{padding:12px 10px}.research-table .record-actions{min-width:80px}.research-table .badge{font-size:10px}.research-detail{padding:12px 8px}.research-detail .form-grid{grid-template-columns:1fr}.research-detail .dialog-actions{bottom:-12px}.research-detail .dialog-actions button{min-height:44px;flex-basis:42%}.research-modal .dialog-heading{align-items:center}.research-modal h2{font-size:20px}}

/* Keep mobile status text visible beside the fixed action column. */
@media(max-width:760px){.research-table .records-table{table-layout:fixed;width:100%;min-width:0}.research-table .research-company{min-width:0;max-width:none}.research-table th:nth-child(2){width:46%}.research-table th:nth-child(5){width:27%}.research-table th:last-child{width:27%}.research-table .record-actions{width:27%;min-width:0}.research-table .record-actions button{width:100%;min-width:0;padding:8px 5px;min-height:44px}.research-table .badge{display:block;overflow-wrap:anywhere}.research-company small{overflow-wrap:anywhere;word-break:break-word}}
