.weekly-market-article { max-width: 1080px; }
.wm-home[hidden] { display: none; }
.wm-home { --wm-blue: #245c9c; --wm-green: #087f78; --wm-ink: #18364f; --wm-surface: #f4f8fc; }
.wm-home-card { display: grid; gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.wm-home-copy { display: grid; gap: .8rem; min-width: 0; }
.wm-home-copy :is(p, h3, dl) { margin: 0; }
.wm-home .wm-kpis { grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr)); }
.wm-home .wm-kpi { padding: .65rem .85rem; }
.wm-home .wm-kpi dd { font-size: 1.35rem; }
.wm-home-report-link { justify-self: start; align-self: end; text-align: center; }
.wm-home .wm-home-report-link:is(:hover, :focus-visible) { color: var(--white); text-decoration: none; }
.wm-home .wm-chart { min-width: 0; }
.wm-home .wm-chart .wm-trend { margin-block-end: 0; }
@media (min-width: 851px) {
  .wm-home-card-trend { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .wm-home-card-trend .wm-chart { grid-column: 2; grid-row: 1 / span 2; }
}
.insights-main > [data-weekly-market-summary],
.insights-main > [data-weekly-market-summary] .weekly-market-article { max-width: none; min-width: 0; }
.weekly-report { --wm-blue: #245c9c; --wm-green: #087f78; --wm-ink: #18364f; --wm-surface: #f4f8fc; display: grid; gap: clamp(1.25rem, 4vw, 2.25rem); }
.weekly-report :where(h3, h4) { margin: 0 0 .65rem; line-height: 1.23; }
.weekly-report h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
.weekly-report :where(ol, ul, dl) { margin: 0; }
.weekly-report :where(section, figure) { min-width: 0; }
.wm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: .75rem; }
.wm-kpi { padding: 1rem; border: 1px solid #cfdde8; border-radius: 13px; background: var(--wm-surface); color: var(--wm-ink); }
.wm-kpi dt { font-size: .86rem; font-weight: 650; }
.wm-kpi dd { margin: .36rem 0 0; line-height: 1.15; font-size: clamp(1.32rem, 3vw, 2rem); font-weight: 760; overflow-wrap: anywhere; }
.wm-kpi dd.wm-context { font-size: .75rem; font-weight: 500; line-height: 1.4; }
.wm-charts, .wm-rankings { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); }
.wm-chart { margin: 0; padding: clamp(.85rem, 2.4vw, 1.25rem); border: 1px solid #cfdde8; border-radius: 14px; background: var(--wm-surface); color: var(--wm-ink); }
.wm-chart figcaption { font-size: 1.08rem; font-weight: 750; margin-bottom: .5rem; }
.wm-chart-key { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .82rem; }
.wm-chart-key span { display: inline-flex; align-items: center; gap: .38rem; }
.wm-chart-key span::before { content: ''; width: .7rem; height: .7rem; border-radius: 2px; background: var(--wm-blue); }
.wm-chart-key span + span::before { background: var(--wm-green); }
.wm-chart-note { font-size: .82rem; }
.wm-trend, .wm-sectors, .wm-opportunities { list-style: none; padding: 0; display: grid; gap: .7rem; }
.wm-trend { font-size: .81rem; }
.wm-trend li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; }
.wm-series { display: grid; gap: .2rem; }
.wm-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(2.5rem, max-content); gap: .4rem; align-items: center; text-align: right; font-variant-numeric: tabular-nums; }
.wm-trend .wm-bar { grid-template-columns: minmax(0, 1fr) 7ch; }
.wm-meter { width: 100%; height: .8rem; appearance: none; }
.wm-meter::-webkit-meter-bar { background: #e1e9f3; border: 0; border-radius: 3px; }
.wm-meter::-webkit-meter-optimum-value { background: var(--wm-blue); border-radius: 3px; }
.wm-meter-open::-webkit-meter-optimum-value { background: var(--wm-green); }
.wm-meter::-moz-meter-bar { background: var(--wm-blue); border-radius: 3px; }
.wm-meter-open::-moz-meter-bar { background: var(--wm-green); }
.wm-sectors { font-size: .85rem; }
.wm-table { max-width: 100%; overflow-x: auto; }
.wm-table:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.wm-table table { width: 100%; min-width: 29rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.wm-table :where(th, td) { padding: .6rem .7rem; border-bottom: 1px solid #8197a74d; text-align: left; }
.wm-table thead { background: #8197a719; }
.wm-ranking { list-style: none; padding: 0; }
.wm-ranking li { display: flex; justify-content: space-between; gap: .8rem; padding-bottom: .4rem; border-bottom: 1px solid #8197a74d; }
.wm-opportunity { padding: .9rem 1rem; border: 1px solid #8197a770; border-radius: 11px; }
.wm-opportunity h4 { margin: .45rem 0 .3rem; }
.wm-opportunity p { margin: .25rem 0; }
.wm-badge { display: inline-block; background: #dff3ee; color: #07534e; padding: .18rem .5rem; border-radius: 5px; font-size: .76rem; font-weight: 700; }
.wm-badge-upcoming { background: #e4edfa; color: #1a4e85; }
.wm-opp-value { display: inline-block; margin-inline-start: .7rem; }
.wm-method { border-top: 1px solid #8197a770; padding-top: 1rem; }
@media (max-width: 540px) {
  .wm-opp-value { display: block; margin-inline-start: 0; }
}

[data-home-bidding-guides] { background: var(--paper); }

.home-portal-visual { min-width: 0; padding: clamp(10px, 2vw, 28px); }
.home-portal-visual img { position: relative; display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow); }

.home-data-sources { width: min(1180px, calc(100% - 44px)); margin: 17px auto 22px; color: #52677b; font-size: 14px; }
.home-data-sources strong { margin-inline-end: .35em; color: var(--ink); }
.home-data-sources a, .home-analysis-example a { color: #11677d; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.home-data-sources a { display: inline-block; margin-inline-start: .4em; }
.home-analysis-example { margin: 0 0 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.home-analysis-example h3, .home-sector-links h3 { margin: 0 0 10px; }
.home-analysis-example p { margin: 0 0 9px; color: #52677b; line-height: 1.5; }
.home-sector-links { margin-top: clamp(24px, 4vw, 44px); padding-top: 24px; border-top: 1px solid var(--line); }
.home-sector-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.home-sector-actions .button { white-space: normal; }

.home-supplier-plan { min-width: 0; padding-block: clamp(48px, 7vw, 92px); background: var(--white); }
.home-supplier-plan + .opportunities, .home-supplier-plan ~ .wm-home { background: var(--paper); }
.home-supplier-plan ~ #suppliers, .home-supplier-plan ~ [data-home-bidding-guides] { background: var(--white); }
.home-supplier-plan-header h2 { max-width: 21ch; margin-bottom: 12px; }
.home-supplier-plan-header p { margin: 0; color: #52677b; line-height: 1.5; }
.home-supplier-plan-price { margin: 0 0 12px; color: #52677b; line-height: 1.5; }
.home-supplier-plan-price strong { color: var(--ink); }
.home-supplier-plan-showcase { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 3vw, 32px); margin: 24px 0; padding: clamp(14px, 2vw, 24px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.home-supplier-plan-preview-column { flex: 2 1 360px; min-width: 0; }
.home-supplier-plan-preview { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.home-supplier-plan-preview img { display: block; width: 100%; height: auto; border-radius: inherit; }
.home-supplier-plan-caption { flex: 1 1 215px; min-width: 0; }
.home-supplier-plan-caption h3 { margin: 12px 0 8px; font-size: clamp(19px, 2vw, 24px); }
.home-supplier-plan-caption p { margin: 0 0 12px; color: #52677b; line-height: 1.55; }
.home-supplier-plan-score { display: inline-block; border-radius: 6px; padding: 5px 9px; background: #dcf3e8; color: #126447; font-weight: 800; }
.home-supplier-plan-features { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.home-supplier-plan-features h3 { margin: 0 0 12px; font-size: 20px; }
.home-supplier-plan-features ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.home-supplier-plan-features li { display: flex; align-items: baseline; gap: 8px; color: #52677b; line-height: 1.5; }
.home-supplier-plan-features li span { color: #126447; font-weight: 800; }
.home-supplier-plan-offer { margin-top: 22px; }
.home-supplier-plan-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.home-supplier-plan-actions .button { white-space: normal; }
