.store-picker{margin:12px 14px 18px;padding:12px;background:var(--hub-surface-soft);border:1px solid var(--hub-border);border-radius:12px}.store-picker label{display:block;font-size:9px;letter-spacing:1px;color:var(--hub-muted);margin-bottom:7px}.store-picker select{width:100%;padding:8px 2px;border:0;background:transparent;color:var(--hub-text);font-weight:700;font-size:12px}.store-picker button{margin-top:6px;font-size:10px}.store-list>div{display:flex;align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--hub-border)}.store-list>div span{flex:1;color:var(--hub-muted);font-size:11px}.insights-panel{padding:20px;margin-bottom:20px}.insights-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.insights-heading h3{margin:0 0 8px}.insights-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.insights-controls select,.insights-controls input{padding:8px 10px;background:var(--hub-table);border:1px solid var(--hub-border);border-radius:7px;font-size:12px;color:var(--hub-text)}.insights-note{font-size:11px;color:var(--hub-muted);line-height:1.7;margin:10px 0}.insights-chart{position:relative;width:100%;height:340px;margin:8px 0;touch-action:pan-y}.insights-chart svg{display:block;width:100%;height:100%;outline:none}.insights-tooltip{position:absolute;z-index:6;padding:12px 15px;border:1px solid var(--hub-border);background:var(--hub-tooltip);border-radius:10px;color:var(--hub-on-accent);box-shadow:0 10px 28px var(--hub-shadow-ink);font-size:12px;pointer-events:none;min-width:245px;max-width:360px}.insights-tooltip b{display:block;margin-bottom:8px}.insights-tip-row{display:flex;justify-content:space-between;gap:14px;margin:6px 0}.insights-tip-row span{font-size:11px}.insights-legend{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.insights-legend button{display:flex;gap:7px;align-items:center;border:1px solid var(--hub-border);background:var(--hub-table);padding:7px 10px;border-radius:18px;font-size:11px;color:var(--hub-text);cursor:pointer}.insights-legend button.off{opacity:.38}.insights-legend i{width:22px;height:5px;border-radius:4px;display:inline-block}.insights-summary{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--hub-border);padding-top:18px;margin-top:10px;gap:14px}.insights-summary small{display:block;color:var(--hub-muted);margin-bottom:5px}.insights-summary b{font-size:25px;color:var(--hub-text);display:block}.insights-warning{padding:10px 14px;border-left:3px solid var(--hub-warning-border);background:var(--hub-warning-soft);color:var(--hub-warning);font-size:11px;line-height:1.6;border-radius:4px}.insights-table-wrap{overflow:auto;max-height:590px}.insights-table{min-width:1120px;font-size:11px}.insights-table th{position:sticky;top:0;background:var(--hub-surface-soft);z-index:1;cursor:pointer}.insights-table td,.insights-table th{padding:11px 12px;white-space:nowrap}.insights-table td.title{white-space:normal;min-width:240px;max-width:350px}.insights-table tfoot td{position:sticky;bottom:0;background:var(--hub-surface-soft);font-weight:700;border-top:2px solid var(--hub-border)}.insights-pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:15px 0 0}.insights-scope{display:inline-flex;align-items:center;font-size:10px;background:var(--hub-surface-soft);color:var(--hub-accent);padding:5px 8px;border-radius:5px}.insights-units{color:var(--hub-muted);font-size:12px;margin-top:4px}.insights-tooltip[hidden]{display:none}.insights-coverage{font-size:11px;color:var(--hub-muted);display:flex;gap:16px;flex-wrap:wrap}.insights-search{min-width:200px}@media(max-width:950px){.insights-heading{flex-direction:column}.insights-summary b{font-size:20px}.insights-chart{height:290px}.insights-controls{width:100%}}@media(prefers-reduced-motion:no-preference){.insights-chart .series-line{transition:opacity .2s}.insights-legend button{transition:opacity .2s}}

.insights-share{display:block;color:var(--hub-muted);font-size:12px;line-height:1.6;margin-top:6px}.metric-foot{line-height:1.6}
.insights-order-history>div{padding:12px 0;border-bottom:1px solid var(--hub-border)}.insights-order-history small{display:block;color:var(--hub-muted);margin-top:5px}#analytics-fulfillment{min-width:220px;font-weight:600}#analytics-source-info{font-size:12px;line-height:1.7}@media(max-width:700px){#analytics-fulfillment{width:100%;min-width:0}}

/* 1.8.3: a canonical product, marketplace drill-down and persisted analysis. */
.insight-money-basis{margin-top:14px;border:1px solid var(--hub-border);border-radius:9px;padding:10px 13px;background:var(--hub-surface-soft);font-size:12px;color:var(--hub-muted);line-height:1.7}.insight-money-basis summary{cursor:pointer;font-weight:600;color:var(--hub-accent)}.insight-money-basis p{margin:10px 0 0}
.insight-table-intro{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:19px 0 12px}.insight-table-intro span{font-size:11px;color:var(--hub-muted)}.insights-products-table{min-width:1060px;width:100%;border-collapse:collapse}.insights-products-table th{cursor:default}.insights-products-table th>button{border:0;background:none;font:inherit;font-weight:600;color:inherit;cursor:pointer;padding:4px 0;text-align:left}.insights-products-table th>button:focus-visible,.insight-product-toggle:focus-visible,.insight-analysis-link:focus-visible{outline:2px solid var(--hub-border);outline-offset:3px;border-radius:4px}.insights-products-table th:nth-child(1){min-width:280px}.insights-products-table th:nth-child(2),.insights-products-table th:nth-child(3){min-width:165px}.insights-products-table th:nth-child(6){min-width:250px}.insights-products-table td{vertical-align:top}.insights-products-table td.title{min-width:280px;max-width:370px}.insight-product-row.is-open{background:var(--hub-surface-soft)}.insight-product-toggle{display:flex;gap:10px;align-items:flex-start;border:0;background:none;cursor:pointer;text-align:left;padding:0;font:inherit;color:var(--hub-text);width:100%;white-space:normal}.insight-product-toggle b{display:block;font-size:12px;line-height:1.55}.insight-product-toggle small{display:block;color:var(--hub-muted);font-size:10px;margin:5px 0 7px;line-height:1.5}.insight-product-chevron{color:var(--hub-accent);margin-top:2px;flex:none;width:10px}.insight-product-markets{display:flex;flex-wrap:wrap;gap:5px}.insight-product-markets>span{display:inline-flex;border-radius:4px;padding:2px 6px;font-size:9px;line-height:1.5;background:var(--hub-accent-soft);color:var(--hub-accent)}.insight-product-markets>span.wb{background:var(--hub-wb-soft);color:var(--hub-wb)}.insight-product-markets>span.unmatched{background:var(--hub-warning-soft);color:var(--hub-warning)}.insight-money{display:block;font-size:12px;font-weight:700;line-height:1.6;white-space:normal;color:var(--hub-text);max-width:210px}.insight-quantity{display:block!important;margin-top:5px;color:var(--hub-muted)!important;font-size:10px!important}.insights-products-table tfoot td>small{display:block;color:var(--hub-muted);font-size:10px;font-weight:400;margin-top:5px}.insight-breakdown-row[hidden]{display:none}.insights-products-table .insight-breakdown-row>td{padding:0 13px 15px 22px;background:var(--hub-surface-soft);white-space:normal}.insight-breakdown{border:1px solid var(--hub-border);border-radius:9px;background:var(--hub-table);padding:13px 16px}.insight-breakdown-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px}.insight-breakdown-table{min-width:800px;width:100%;margin-top:10px}.insights-products-table .insight-breakdown-table th{position:static;z-index:auto;min-width:0;background:var(--hub-surface-soft);padding:9px 11px;font-size:10px;font-weight:500}.insights-products-table .insight-breakdown-table td{padding:10px 11px;border-bottom:1px solid var(--hub-border)}.insight-breakdown-table small{display:block;color:var(--hub-muted);font-size:10px;margin-top:5px}.insight-breakdown .insights-note{margin-bottom:0}
.insight-analysis-panel{border:1px solid var(--hub-border);background:linear-gradient(120deg,var(--hub-surface-soft) 0%,var(--hub-table) 85%);border-radius:12px;padding:18px 20px;margin:16px 0}.insight-analysis-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:25px}.insight-analysis-heading h3{font-size:14px;margin:0 0 7px;color:var(--hub-text)}.insight-analysis-heading p{font-size:11px;line-height:1.7;color:var(--hub-muted);max-width:650px;margin:0}.insight-analysis-controls{display:flex;gap:10px;align-items:flex-end;flex:none}.insight-analysis-controls label{font-size:10px;color:var(--hub-muted);display:block}.insight-analysis-controls select{display:block;min-width:110px;padding:9px 10px;font-size:12px;margin-top:4px;background:var(--hub-table);border:1px solid var(--hub-border);border-radius:7px;color:var(--hub-text)}.insight-analysis-controls .btn{white-space:normal;max-width:240px}.insight-analysis-status{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:13px;font-size:10px;color:var(--hub-muted)}.insight-analysis-status .text-button{font-size:10px}.insight-analysis-method{border-top:1px solid var(--hub-border);padding-top:10px;margin-top:10px;color:var(--hub-muted);font-size:11px;line-height:1.7}.insight-analysis-method summary{cursor:pointer;color:var(--hub-accent);font-weight:600}.insight-analysis-method p{margin-bottom:0}.insight-analysis-cell{min-width:240px;max-width:300px;white-space:normal!important}.insight-analysis-link{display:flex;flex-direction:column;align-items:flex-start;gap:6px;border:0;background:none;padding:0;text-align:left;cursor:pointer;white-space:normal;font:inherit;line-height:1.5;color:var(--hub-accent)}.insight-analysis-link>span:not(.insight-analysis-badge){font-size:10px}.insight-analysis-link>small{font-size:10px;color:var(--hub-accent)}.insight-analysis-badge{display:inline-flex;padding:4px 8px;font-size:10px;border-radius:6px;line-height:1.5;font-weight:600;background:var(--hub-accent-soft);color:var(--hub-muted)}.insight-analysis-badge.is-attention{background:var(--hub-warning-soft);color:var(--hub-warning)}.insight-analysis-badge.is-watch{background:var(--hub-warning-soft);color:var(--hub-warning)}.insight-analysis-badge.is-ok{background:var(--hub-success-soft);color:var(--hub-success)}.insight-analysis-badge.is-insufficient{background:var(--hub-accent-soft);color:var(--hub-muted)}.insight-analysis-muted{font-size:10px;color:var(--hub-muted);line-height:1.7}.insight-analysis-product-title{font-weight:600;font-size:14px;color:var(--hub-text);line-height:1.6}.insight-analysis-detail{font-size:12px;line-height:1.75}.insight-analysis-reason{padding:16px 0;border-top:1px solid var(--hub-border)}.insight-analysis-reason h3,.insight-analysis-limitations h3{font-size:14px;color:var(--hub-text);margin:0 0 8px}.insight-analysis-reason p{color:var(--hub-muted);margin:7px 0 12px}.insight-analysis-reason h4{margin:12px 0 5px;font-size:12px;color:var(--hub-accent)}.insight-analysis-reason ul,.insight-analysis-limitations ul{padding-left:19px;margin:7px 0 0;color:var(--hub-muted)}.insight-analysis-reason li,.insight-analysis-limitations li{margin:7px 0}.insight-analysis-evidence{background:var(--hub-surface-soft);border:1px solid var(--hub-border);border-radius:8px;padding:8px 13px;margin:10px 0}.insight-analysis-evidence>div{display:grid;grid-template-columns:minmax(180px,1fr) minmax(90px,1fr);gap:15px;padding:7px 0}.insight-analysis-evidence dt{color:var(--hub-muted)}.insight-analysis-evidence dd{margin:0;color:var(--hub-text);font-weight:600;overflow-wrap:anywhere}.insight-analysis-limitations{background:var(--hub-surface-soft);padding:15px 18px;border:1px solid var(--hub-border);border-radius:9px;margin:10px 0 14px}.insight-analysis-limitations h3{font-size:12px}
@media(max-width:1250px){.insight-analysis-heading{flex-direction:column;gap:14px}.insight-analysis-controls{flex-wrap:wrap}.insight-analysis-heading p{max-width:none}}@media(max-width:700px){.insight-analysis-panel{padding:15px 13px}.insight-analysis-controls{width:100%}.insight-analysis-controls .btn{flex:1}.insight-table-intro{display:block}.insight-table-intro span{display:block;margin-top:7px;line-height:1.6}.insight-analysis-evidence>div{grid-template-columns:1fr;gap:2px}.insight-analysis-heading p{font-size:11px}.insight-analysis-status{gap:8px 12px}.insights-summary{grid-template-columns:1fr}.insights-products-table{font-size:10px}}
