/* dubai-property-prices — page-local rules (★#59 M6). Moved verbatim from dubai-property-prices.html's inline <style>. Token-only; shared components live in chrome.css. */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Hero — shared light .page-hero (chrome.css); accent on the year + stat band below */
.page-hero .page-cta { margin-top: 20px; }
.stat-band { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 48px; margin: 28px auto 4px; max-width: 720px; }
.stat-val { font-family: 'Inter Tight', sans-serif; font-size: var(--fs-7); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--text); }
.stat-label { font-size: var(--fs-1); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }

/* Data column — wider than the 760px prose scaffold */
.data-wrap { max-width: var(--page-max); margin: 0 auto; padding: 8px 20px 80px; }
.section { margin-top: 48px; }
.section-title { font-family: 'Inter Tight', sans-serif; font-size: var(--fs-6); font-weight: 700; letter-spacing: -.02em; color: var(--text); margin: 0 0 8px; }
.section-intro { color: var(--text-muted); font-size: var(--fs-3); line-height: 1.6; margin: 0 0 20px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow), var(--highlight); }
.card strong { color: var(--text); font-weight: 600; }
.retry-link { background: none; border: none; padding: 0; font: inherit; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* Community table */
.comm-table { width: 100%; border-collapse: collapse; font-size: var(--fs-3); }
.comm-table th { text-align: left; font-size: var(--fs-1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-subtle); padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface-alt); }
.comm-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); }
.comm-table tbody tr:last-child td { border-bottom: none; }
.comm-table tbody tr { transition: background var(--transition); }
.comm-table tbody tr:hover td { background: var(--surface-alt); }
.comm-table .right { text-align: right; font-variant-numeric: tabular-nums; }
.comm-name-link { font-weight: 600; color: var(--text); }
.comm-name-link:hover { color: var(--accent); text-decoration: none; }
.trend-up { color: var(--pos); font-weight: 600; font-size: var(--fs-2); }
.trend-dn { color: var(--danger); font-weight: 600; font-size: var(--fs-2); }
.trend-fl { color: var(--text-subtle); font-size: var(--fs-2); }

/* Chart */
.chart-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow), var(--highlight); }

@media (max-width: 640px) {
  .stat-band { gap: 14px 30px; }
  .stat-val { font-size: var(--fs-6); }
  .comm-table .hide-mobile { display: none; }
  .comm-table th, .comm-table td { padding: 11px 12px; }
  .data-wrap { padding: 8px 16px 64px; }
}

/* ★#59 M6 — classes that replace this page's static style="" attributes (values unchanged). */
.explainer-body { color: var(--text-muted); font-size: var(--fs-3); margin-top: 6px; }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.promise-title { font-weight: 700; margin-bottom: 6px; }
.promise-body { font-size: var(--fs-2); color: var(--text-muted); }
