.market-module{min-width:0}.market-module .market-heading{align-items:flex-start}.market-module .market-heading p{margin:8px 0 0}.market-module .market-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:18px 0}.market-module .market-toolbar label{display:flex;flex-direction:column;gap:6px;min-width:150px}.market-module .market-toolbar select{max-width:320px}.market-module .market-search{flex:1}.market-module .market-search input{width:100%}.market-module .market-search-form{display:flex;gap:8px;align-items:flex-end;flex:1;min-width:240px}.market-module .market-search-form label{flex:1}.market-module .market-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.market-module .market-period-card{min-width:0;padding:14px;background:#f7f9fd;border:1px solid var(--border);border-radius:10px}.market-module .market-period-card label{display:grid;gap:7px}.market-module .market-period-card select{width:100%;font-size:14px}.market-module .market-period-card small{display:block;margin-top:7px}.market-module .market-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.market-module .market-metric{border:1px solid var(--border);border-radius:10px;padding:15px;background:white;min-width:0}.market-module .market-metric strong{display:block;font-size:25px;margin:5px 0;color:#263f62;font-variant-numeric:tabular-nums}.market-module .market-metric small{font-size:13px}.market-module .market-table{min-width:1700px;table-layout:fixed}.market-module .market-table th,.market-module .market-table td{padding:13px 12px;overflow-wrap:anywhere}.market-module .market-table th{white-space:normal}.market-module .market-table th.num,.market-module .market-table td.num{text-align:center}.market-module .market-word{position:sticky;left:0;z-index:1;background:white;box-shadow:3px 0 4px -4px #7d94b4}.market-module th.market-word{background:#f6f8fc;z-index:2}.market-module .market-word button{border:0;background:none;color:#274e7e;padding:0;text-align:left;font:inherit;font-weight:600}.market-module .market-word button:hover{text-decoration:underline}.market-module .market-word small{display:block;font-size:12px;margin-top:5px}.market-module .market-verdict{display:inline-block;padding:5px 9px;border:0;border-radius:6px;background:#edf3ff;color:#235fae;font:inherit;font-size:13px;font-weight:600;text-align:left}.market-module .market-verdict.fill{background:#fff3df;color:#9a5c04}.market-module .market-verdict.accelerate{background:#e7f7f0;color:#087d5a}.market-module .market-verdict.optimize{background:#fff0eb;color:#ac492e}.market-module .market-verdict.trend{background:#f2eafe;color:#7851ad}.market-module .market-signal{display:block;margin-top:6px;color:#7851ad;font-size:12px}.market-module .market-advice{font-size:13px;line-height:1.65;color:#576d89}.market-module .market-state{white-space:nowrap;font-size:13px}.market-module .market-priority{display:inline-block;margin-top:6px;color:#9a5c04;font-size:12px}.market-module .market-table tbody tr:hover td{background:#f8faff}.market-module .market-rule-form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-top:14px}.market-module .market-rule-form label{display:grid;gap:6px}.market-module .market-rule-form input{width:110px}.market-module details>summary{cursor:pointer;color:#385b8c}.market-module .market-rules{margin:16px 0}.market-module .market-rules p{font-size:14px;color:var(--muted);line-height:1.7}.market-module .market-detail{border-top:3px solid #527ed0}.market-module .market-evidence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.market-module .market-evidence>div{padding:16px;background:#f7f9fd;border-radius:9px;min-width:0;overflow-wrap:anywhere}.market-module .market-evidence h3{margin-top:0}.market-module .market-evidence p{font-size:14px;margin:8px 0}.market-module .market-action-form{margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.market-module .market-action-form textarea{width:100%;min-height:88px;display:block;margin-top:7px}.market-module .market-action-form .market-action-fields{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;margin-bottom:14px}.market-module .market-action-fields label{display:grid;gap:6px}.market-module .market-action-fields .check{display:flex}.market-module .market-action-form .dialog-actions{margin-top:12px}.market-module .market-feedback{overflow-wrap:anywhere;white-space:pre-wrap}.market-module .market-feedback:empty{display:none}.market-module .market-history-table{min-width:880px}.market-module .market-history-table td:first-child{max-width:350px;overflow-wrap:anywhere}.market-module .market-history-table small{display:block}.market-module .market-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}.market-module .market-pagination .pager{margin:0}.market-module .market-pagination label{display:flex;align-items:center;gap:7px}.market-module .market-upload-preview{margin-top:20px;background:#f6f9ff;border:1px solid #cbdcff;border-radius:12px;padding:18px}.market-module .market-upload-preview ul{padding-left:22px}.market-module .market-upload-preview li{margin:8px 0;overflow-wrap:anywhere}.market-module .market-upload-preview .import-counts{grid-template-columns:repeat(5,minmax(0,1fr))}.market-module .market-upload-preview small{display:block}.market-module .market-import-confirm{display:flex;gap:9px;align-items:flex-start;margin-top:18px}.market-module .market-import-confirm input{flex:none;margin-top:5px}.market-module .market-warning{color:#976212;background:#fff6e5;border:1px solid #efdbb7;border-radius:9px;padding:12px 15px;font-size:14px}.market-module .market-file-label{flex:1;min-width:250px}.market-module .market-file-label input{width:100%}.market-module .market-history-controls{display:flex;gap:10px;align-items:center}.market-module .market-empty{padding:32px;text-align:center;color:var(--muted)}.market-module .market-help{font-size:13px;color:var(--muted);line-height:1.65}.market-module .market-rank{font-weight:650}.market-module .market-table-scroll{border:1px solid var(--border);border-radius:9px;max-height:760px}.market-module .market-table thead th{position:sticky;top:0;z-index:2}.market-module .market-table thead th.market-word{z-index:3}.market-module .market-missing{color:#8a98ad}.market-module .market-loading{padding:30px;text-align:center;color:var(--muted)}
@media(max-width:1000px){.market-module .market-periods{grid-template-columns:1fr}.market-module .market-period-card label{grid-template-columns:150px minmax(0,1fr);align-items:center}.market-module .market-evidence{grid-template-columns:1fr}.market-module .market-toolbar label{min-width:130px}.market-module .market-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.market-module .market-period-card label{grid-template-columns:1fr}.market-module .market-toolbar label,.market-module .market-search-form{width:100%;min-width:0}.market-module .market-toolbar select{max-width:100%;width:100%}.market-module .market-upload-preview .import-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.market-module .market-rule-form label{flex:1}.market-module .market-rule-form input{width:100%}.market-module .market-word{position:static;box-shadow:none}.market-module .market-table thead th.market-word{left:auto}.market-module .market-pagination .pager{justify-content:flex-start}}
/* Non-modal detail drawer is visible immediately, without moving the list. */
.market-module .market-detail{position:fixed;z-index:30;top:24px;bottom:24px;right:24px;width:min(820px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;margin:0;border:1px solid #c6d6ef;border-top:3px solid #527ed0;box-shadow:0 12px 70px #223d6c40;overscroll-behavior:contain;scrollbar-gutter:stable}
.market-module .market-detail>.panel-head{position:sticky;top:-22px;z-index:1;background:white;padding:12px 0;border-bottom:1px solid var(--border)}.market-module .market-detail>.panel-head>div{flex:1;min-width:0}.market-module .market-detail>.panel-head .btn{flex:none}.market-module .market-detail .market-evidence{grid-template-columns:1fr}.market-module .market-detail .market-feedback{margin-bottom:12px}
@media(max-width:600px){.market-module .market-detail{top:8px;bottom:8px;right:8px;width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.market-module .market-detail>.panel-head{top:-16px}}
/* Column dimensions live in the approved stylesheet, never inline style. */
.market-module .market-table{width:1885px;min-width:1885px}
.market-module .market-table col:nth-child(1){width:210px}.market-module .market-table col:nth-child(2){width:160px}.market-module .market-table col:nth-child(3){width:260px}.market-module .market-table col:nth-child(4){width:95px}.market-module .market-table col:nth-child(5){width:135px}.market-module .market-table col:nth-child(6),.market-module .market-table col:nth-child(7),.market-module .market-table col:nth-child(8),.market-module .market-table col:nth-child(9),.market-module .market-table col:nth-child(12){width:95px}.market-module .market-table col:nth-child(10),.market-module .market-table col:nth-child(13),.market-module .market-table col:nth-child(14){width:105px}.market-module .market-table col:nth-child(11){width:120px}.market-module .market-table col:nth-child(15){width:115px}
.market-module .market-table th[aria-sort=ascending],.market-module .market-table th[aria-sort=descending]{background:#e6efff;color:#1758b8;box-shadow:inset 0 -2px var(--blue)}
/* Analysis controls use complete report periods; compact source context stays visible. */
.market-module .market-analysis-controls{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:24px;margin-top:20px;align-items:end}
.market-module .market-analysis-controls>.market-toolbar{margin:0}.market-module .market-analysis-controls>.market-toolbar label{min-width:130px}
.market-module .market-analysis-controls>.market-toolbar select{max-width:220px}
.market-module .market-time-controls{display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.market-module .market-period-buttons{display:flex;flex-wrap:wrap;gap:7px}.market-module .market-period-buttons .btn{white-space:nowrap}
.market-module .market-range-form{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.market-module .market-range-form label{display:grid;gap:6px;font-size:13px}
.market-module .market-range-form input{width:148px;min-width:0}.market-module .market-range-form>.btn{white-space:nowrap}
.market-module .market-range-hint{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0 12px;font-size:13px;color:#526c8d}
.market-module .market-range-hint>small{color:var(--muted);font-size:12px}.market-module .market-chosen{display:inline-flex;border-radius:5px;padding:4px 8px;background:#eaf1ff;color:#195dbf;font-weight:600}
.market-module .market-actual-periods{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:11px 14px;border:1px solid #e3eafa;border-radius:9px;background:#f8faff}
.market-module .market-source-actual{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:#5d7190}.market-module .market-source-actual>b{font-weight:600;color:#405879}
.market-module .market-source-actual>em{font-style:normal;font-size:11px;padding:2px 5px;border-radius:4px;background:#eef2f8;color:#5a7191}
.market-module .market-source-actual>em.approximate{color:#9b641a;background:#fff1d9}.market-module .market-source-actual>em.missing{color:#a93e42;background:#fff0f0}
.market-module .market-source-details{margin:10px 0 18px;border-bottom:1px solid var(--border);padding-bottom:12px}
.market-module .market-source-details>summary{font-size:14px;padding:6px 0}.market-module .market-source-details>summary small{margin-left:10px;color:var(--muted);font-size:12px}
.market-module .market-source-details .market-periods{margin-bottom:12px}.market-module .market-source-details .market-warning{margin:8px 0}
.market-module button.market-metric{display:block;width:100%;text-align:left;font:inherit;cursor:pointer;transition:background-color .12s,border-color .12s}
.market-module button.market-metric:hover:not(:disabled){border-color:#7fa6ec;background:#f5f9ff}.market-module button.market-metric.active{border-color:#2970e8;background:#edf4ff;box-shadow:0 0 0 1px #2970e8}
.market-module button.market-metric.active strong,.market-module button.market-metric.active small{color:#185abe}.market-module button.market-metric:focus-visible{outline:3px solid #88b1f7;outline-offset:3px}
.market-module button.market-metric:disabled{cursor:not-allowed;background:#f8f9fc;opacity:.7}.market-module .market-metric-help{margin:-4px 0 12px}
@media(max-width:1250px){.market-module .market-analysis-controls{grid-template-columns:1fr;gap:14px}.market-module .market-time-controls{justify-content:flex-start}.market-module .market-range-hint{margin:0 0 2px}}
@media(max-width:600px){.market-module .market-analysis-controls>.market-toolbar label{flex:1;min-width:110px;width:auto}.market-module .market-analysis-controls>.market-toolbar select{max-width:none}.market-module .market-time-controls,.market-module .market-range-form{width:100%}.market-module .market-range-form label{flex:1;min-width:0}.market-module .market-range-form input{width:100%}.market-module .market-range-form>.btn{padding-left:10px;padding-right:10px}.market-module .market-actual-periods{align-items:flex-start;flex-direction:column}.market-module .market-source-details>summary small{display:block;margin:5px 0 0 17px}}
/* Import history and management use the same stable scroll surfaces as analysis. */
.market-module .market-history-table{min-width:1510px}.market-module .market-history-table th{white-space:nowrap}.market-module .market-history-table th button{white-space:nowrap}.market-module .market-history-table td{vertical-align:top;overflow-wrap:anywhere}.market-module .market-history-table td:first-child{min-width:200px}.market-module .market-history-table td:nth-child(3){min-width:180px}.market-module .market-history-period{min-width:220px}.market-module .market-history-table td:nth-child(8),.market-module .market-history-table td:nth-child(9){min-width:120px}.market-module .market-history-table td:last-child{min-width:160px}.market-module .market-history-table th[aria-sort=ascending],.market-module .market-history-table th[aria-sort=descending]{background:#e6efff;color:#1758b8;box-shadow:inset 0 -2px var(--blue)}
.market-module .market-row-actions{display:flex;gap:7px;flex-wrap:wrap}.market-module .market-row-actions .btn{white-space:nowrap}.market-module .market-history-expanded>td{background:#f7f9fd;padding:14px 18px}.market-module .market-snapshot-list{display:grid;gap:10px}.market-module .market-snapshot-list article,.market-module .market-version-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--border);border-radius:8px;background:white;padding:12px}.market-module .market-snapshot-list article>div:first-child,.market-module .market-version-list article>div{min-width:0;overflow-wrap:anywhere}.market-module .market-snapshot-list small,.market-module .market-version-list small{display:block;line-height:1.65;margin-top:4px}
.market-module .market-manage{width:min(740px,calc(100vw - 48px))}.market-module .market-manage-facts{margin:14px 0;display:grid;gap:0;border:1px solid var(--border);border-radius:9px;overflow:hidden}.market-module .market-manage-facts>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;padding:11px 14px;border-bottom:1px solid var(--border)}.market-module .market-manage-facts>div:last-child{border-bottom:0}.market-module .market-manage-facts dt{color:var(--muted);font-size:13px}.market-module .market-manage-facts dd{margin:0;overflow-wrap:anywhere}.market-module .market-update-file{display:grid;gap:8px;margin:16px 0;padding:14px;background:#f7f9fd;border:1px solid var(--border);border-radius:9px}.market-module .market-update-file input{width:100%;min-width:0}.market-module .market-manage-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}.market-module .market-manage-counts>div{background:#f2f6fd;border:1px solid #dce6f7;border-radius:8px;text-align:center;padding:12px 8px}.market-module .market-manage-counts span{display:block;color:var(--muted);font-size:13px}.market-module .market-manage-counts strong{display:block;font-size:23px;margin-top:4px;font-variant-numeric:tabular-nums}.market-module .market-manage .market-upload-preview{padding:14px}.market-module .market-version-list{display:grid;gap:12px;margin:16px 0}.market-module .market-version-list .btn{flex:none}.market-module .market-manage .dialog-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:18px}.market-module .market-manage p{line-height:1.75}.market-module .market-version-id{font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:600px){.market-module .market-manage{width:calc(100vw - 16px)}.market-module .market-manage-facts>div{grid-template-columns:100px minmax(0,1fr);gap:8px;padding:10px}.market-module .market-manage-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.market-module .market-snapshot-list article,.market-module .market-version-list article{align-items:flex-start;flex-direction:column}}
/* Related-keyword analysis stays in the same nonmodal drawer and scope. */
.market-module .market-detail-wide{width:min(1520px,calc(100vw - 48px))}
.market-module .market-detail>.market-detail-heading{z-index:5}
.market-module .market-detail-heading{align-items:flex-start;gap:14px;flex-wrap:wrap}.market-module .market-detail-heading>div:first-child{min-width:250px}.market-module .market-detail-buttons{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 1 auto!important}.market-module .market-detail-buttons .btn{white-space:nowrap}
.market-module .market-detail-tabs{display:flex;gap:8px;border-bottom:1px solid var(--border);padding:8px 0 15px;margin-bottom:18px;flex-wrap:wrap}.market-module .market-detail-tabs .btn.active,.market-module .market-related-analysis .market-period-buttons .btn.active{background:#2875ed;color:white;border-color:#2875ed;box-shadow:0 2px 6px #2875ed22}
.market-module .market-inline-import{padding:18px;border:1px solid #d8e5fb;border-radius:12px;background:#f8fbff;margin:0 0 20px}.market-module .market-inline-import .panel-head{margin-bottom:10px}.market-module .market-inline-import h3{margin:0}.market-module .market-inline-import input[type=file]{max-width:100%;width:300px}.market-module .market-inline-import .market-upload-preview{background:white}
.market-module .market-related-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:16px 0}.market-module .market-related-summary>span{padding:12px;border:1px solid #e0e8f5;background:#f7faff;border-radius:9px;color:#5e7291;font-size:13px}.market-module .market-related-summary b{display:block;font-size:23px;color:#263f62;margin-top:5px;font-variant-numeric:tabular-nums}
.market-module .market-related-parent{margin:12px 0;padding:12px;border:1px dashed #d7e2f3;border-radius:8px;font-size:13px}.market-module .market-related-parent p{margin:9px 0}
.market-module .market-related-table{width:2270px;min-width:2270px;table-layout:fixed}.market-module .market-related-table th,.market-module .market-related-table td{text-align:center;padding:13px 10px;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.market-module .market-related-table th:first-child,.market-module .market-related-table td:first-child{width:230px;text-align:left}.market-module .market-related-table th:nth-child(2){width:245px}.market-module .market-related-table th:nth-child(3){width:75px}.market-module .market-related-table th:nth-child(4),.market-module .market-related-table th:nth-child(7){width:145px}.market-module .market-related-table th:nth-child(5),.market-module .market-related-table th:nth-child(6),.market-module .market-related-table th:nth-child(8),.market-module .market-related-table th:nth-child(9){width:140px}.market-module .market-related-table th:last-child{width:150px}.market-module .market-related-table th[aria-sort=ascending],.market-module .market-related-table th[aria-sort=descending]{background:#e6efff;color:#1758b8;box-shadow:inset 0 -2px var(--blue)}
.market-module .market-related-table tbody tr:hover td{background:#f8faff}.market-module .market-related-table .market-word{z-index:2}.market-module .market-related-table th:first-child{position:sticky;left:0;z-index:3;background:#f6f8fc}.market-module .market-related-table .btn{display:block;margin:7px auto 0}.market-module .market-related-growth{display:block;color:#6d7e99;font-size:12px;margin-top:5px}.market-module .market-related-advice{display:block;line-height:1.65;color:#62758f;font-size:12px;text-align:left;margin-top:6px}
.market-module .market-related-focus{margin-top:18px;border:1px solid #d5e2f6;border-radius:10px;padding:16px;background:#fbfdff}.market-module .market-related-focus>.panel-head{align-items:center;gap:12px}.market-module .market-related-focus h3{margin:0}.market-module .market-related-focus>small{display:block;overflow-wrap:anywhere;margin:7px 0}.market-module .market-related-focus ul{font-size:14px;color:#526b8c;line-height:1.8}.market-module .market-conflict-table{min-width:850px;font-size:13px}.market-module .market-conflict-table td,.market-module .market-conflict-table th{text-align:center}.market-module .market-action-form input[name=productId]{min-width:180px}
.market-module .market-related-table .market-related-growth-sort{display:block;margin:5px auto 0;font-size:12px;color:#607da5}.market-module .market-related-table .market-related-growth-sort[aria-pressed=true]{color:#1758b8;font-weight:700}
.market-module .market-conflict-evidence .market-conflict-table{width:2170px;min-width:2170px;table-layout:fixed}.market-module .market-conflict-evidence .market-conflict-table th,.market-module .market-conflict-evidence .market-conflict-table td{padding:10px;white-space:normal;overflow-wrap:anywhere}.market-module .market-conflict-evidence .market-conflict-table th:nth-child(3){width:210px}.market-module .market-conflict-evidence .market-conflict-table th:first-child,.market-module .market-conflict-evidence .market-conflict-table th:nth-child(2){width:85px}.market-module .market-conflict-evidence>details{margin:10px 0}.market-module .market-conflict-evidence>details>summary{font-size:13px}
.market-module .market-related-method{margin:10px 0;border:1px solid #efe2c4;border-radius:8px;background:#fffaf0;padding:10px 12px}.market-module .market-related-method>summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;color:#8b641d;font-size:13px;list-style:none}.market-module .market-related-method>summary::before{content:'▸'}.market-module .market-related-method[open]>summary::before{content:'▾'}.market-module .market-related-method>summary>strong{font-weight:600}.market-module .market-related-method>summary>span{color:#8e7950;font-size:12px}.market-module .market-related-method .market-warning{padding:8px 0;background:none;border:0;margin:7px 0 0;font-size:12px;line-height:1.65}.market-module .market-related-analysis>.market-toolbar{margin:12px 0}.market-module .market-related-analysis>.market-help{font-size:12px;margin:8px 0}.market-module .market-related-analysis .market-related-summary{margin:12px 0}
@media(max-width:700px){.market-module .market-related-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.market-module .market-detail-wide{width:calc(100vw - 16px)}.market-module .market-detail-heading>div:first-child{min-width:180px}.market-module .market-detail-buttons{justify-content:flex-start}.market-module .market-inline-import{padding:12px}.market-module .market-detail .market-toolbar select{max-width:100%}.market-module .market-detail .market-toolbar label{max-width:100%}}
