.market-setup,.market-empty,.market-history,.market-report-head,.market-map-panel,.market-table-panel,.market-advice,.market-method { padding:24px; margin-bottom:20px; }
.market-form { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) 140px; gap:18px; align-items:start; }
.market-form label,.market-table-panel label { display:grid; gap:8px; font-size:13px; font-weight:700; }
.market-form input,.market-form textarea,.market-form select,.market-table-panel input { width:100%; min-width:0; padding:12px; border:1px solid var(--border); border-radius:10px; background:var(--card); color:var(--foreground); font:inherit; }
.market-form small,.market-history small,.market-map-panel small,.market-empty small { display:block; color:var(--muted-foreground); line-height:1.6; font-size:12px; font-weight:400; }
.market-form button { grid-column:1/-1; justify-self:start; }
#market-error { color:var(--foreground); font-weight:700; }
.market-setup p,.market-empty p,.market-report-head p,.market-method p { line-height:1.65; }
.market-report-head,.market-history-row { display:flex; justify-content:space-between; align-items:center; gap:18px; }
.market-history-row { width:100%; text-align:left; padding:16px 0; border:0; border-bottom:1px solid var(--border); background:transparent; color:var(--foreground); cursor:pointer; }
.market-history-row strong { display:block; margin-bottom:5px; }
.market-history-row span { min-width:0; overflow-wrap:anywhere; }
.market-map-panel h2,.market-advice h2,.market-method h2 { margin-bottom:16px; }
#market-map { height:360px; border-radius:12px; z-index:0; margin-bottom:12px; }
.market-advice ol { padding-left:24px; line-height:1.7; }
.market-advice li+li { margin-top:12px; }
.market-method { color:var(--muted-foreground); font-size:13px; }
.market-method h2 { color:var(--foreground); }
.market-table-panel td { white-space:normal; min-width:100px; overflow-wrap:anywhere; }
.market-table-panel td:first-child { min-width:180px; }
.market-table-panel a { color:var(--foreground); text-decoration:underline; }
@media(max-width:800px) { .market-form { grid-template-columns:1fr; }.market-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.market-report-head,.market-table-panel .panel-header { flex-direction:column; align-items:stretch; }.market-setup,.market-empty,.market-history,.market-report-head,.market-map-panel,.market-table-panel,.market-advice,.market-method { padding:16px; } #market-map { height:290px; }.market-form input,.market-form textarea,.market-form select,.market-table-panel input { font-size:16px; } }
