/* Readable Arabic controls and familiar information cards. */
body { font-size: 16px; }
.topbar nav { font-size: 16px; }
.page-name b { font-size: 19px; }
.page-name span { font-size: 16px; }
.contact-link { font-size: 16px; }
.explorer { padding-inline: 22px; }
.panel-heading h1 { font-size: 28px; margin-bottom: 12px; }
.coordinate-mark { font-size: 64px; }
.eyebrow { font-size: 16px; letter-spacing: 0; }
.statistics { padding-block: 14px; margin-bottom: 18px; }
.statistics b { font-size: 27px; }
.statistics span { font-size: 16px; color: #d0c4b2; }
.panel-tabs button { font-size: 16px; padding: 11px 5px; min-height: 46px; font-weight: 700; }
.panel-tabs span { font-size: 16px; }
.search-box input { font-size: 16px; padding-block: 10px; }
.explorer label { font-size: 16px; color: #d1c4b0; }
.explorer select, .explorer input:not(#search) { font-size: 16px; min-height: 46px; }
.filter-toggle { font-size: 16px; height: 46px; }
.filter-actions button, .city-shortcuts button { font-size: 16px; min-height: 44px; }
.intro { font-size: 16px; line-height: 1.85; margin-top: 18px; }
.example-card { margin-top: 18px; }
.example-card small, .example-card em { font-size: 16px; }
.example-card b { font-size: 17px; }
.help-line { font-size: 16px; color: #c0b39f; margin-top: 16px; }
.panel-footer { font-size: 16px; color: #c5b79e; }
.results-heading, .results-heading select { font-size: 16px; }
.result-open small, .result-meta { font-size: 16px; color: #c7b89f; }
.result-open b { font-size: 19px; }
.result-open em { font-size: 16px; }
.empty-state { font-size: 16px; }
.saved-intro p, .fine { font-size: 16px; }
.compare-select { font-size: 16px !important; }
.basemap-quick, .mobile-market { font-size: 16px; }
.map-heading .eyebrow { font-size: 16px; letter-spacing: 0; }
.map-heading b { font-size: 17px; font-weight: 700; }
.map-tools { top: 183px; }
.floating-panel h2 { font-size: 18px; }
.floating-panel label { font-size: 16px; padding-block: 9px; }
.floating-panel p, .basemap-options button { font-size: 16px; }
.legend, #mapStatus { font-size: 16px; }
.legend { flex-wrap: wrap; }
.detail-top .eyebrow { font-size: 16px; }
.detail .address { font-size: 16px; color: #726044; }
.usage-pill { font-size: 16px; }
.diagram-caption { font-size: 16px; color: #74603c; gap: 10px; }
.parcel-diagram text { font-size: 16px; }
.area-hero span, .area-hero small { font-size: 16px; }
.property-fields > div { font-size: 16px; padding-block: 10px; }
.property-fields dt { font-size: 16px; color: #766142; }
.dimension-title h3 { font-size: 16px; }
.dimension-title span { font-size: 16px; color: #766142; }
.dimension-list span { font-size: 16px; padding: 7px 10px; }
.detail-note, .review-note { font-size: 16px; color: #78603d; }
.detail-actions button, .detail-actions a { font-size: 16px; min-height: 44px; }
.detail details { font-size: 16px; }
.raw-fields dt { font-size: 16px; color: #766142; }
.raw-fields dd { font-size: 16px; }
dialog p, dialog a { font-size: 16px; }
.about-stats span { font-size: 16px; }
#toast { font-size: 16px; }

/* The market panel uses a quiet light surface and white data cards. */
.market-open .explorer { background: #f3f1eb; color: #302921; border-color: #ddd6c7; }
.market-open .panel-tabs { background: #f3f1eb; border-color: #ddd6c7; padding: 5px; }
.market-open .panel-tabs button { color: #6b604e; }
.market-open .panel-tabs .active { background: #362b21; color: #fff3d6; }
.market-heading h2 { color: #302921; font-size: 24px; font-weight: 700; letter-spacing: 0; margin: 8px 0 5px; }
.market-heading p { font-size: 16px; color: #716554; line-height: 1.8; margin-bottom: 17px; }
.explorer .market-selectors label { font-size: 16px; color: #655943; font-weight: 700; }
.explorer .market-selectors select { font-size: 16px; background: #fff; color: #302921; border-color: #d7cebc; padding: 9px; }
.market-toolbar { margin: 12px 0 19px; }
.market-toolbar button { font-size: 16px; color: #69502c; background: #fff; border-color: #d7cebc; min-height: 42px; }
.market-location { flex-wrap: wrap; }
.market-location h3 { font-size: 25px; font-weight: 700; }
.market-location small { color: #716554; font-size: 16px; }
.market-dot { background: #987436; box-shadow: 0 0 0 4px #98743616; }
.market-period { font-size: 16px; color: #776b57; margin: 7px 0 16px; flex-wrap: wrap; }
.market-period b { color: #544735; font-weight: 700; }
.market-kpis { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 10px; }
.market-kpi { background: #fff; border: 1px solid #e3ded3; padding: 16px 12px; gap: 8px; border-radius: 10px; }
.market-kpi > span:first-child { font-size: 16px; color: #756851; }
.market-kpi strong { font-size: 25px; font-weight: 700; letter-spacing: -.7px; line-height: 1.3; color: #352b1e; }
.market-kpi small { font-size: 16px; color: #7b6b53; }
.market-change { font-size: 16px; font-weight: 700; color: #236848; }
.market-change.falling { color: #a83e33; }
.market-change.neutral { color: #686052; }
.market-comparison { font-size: 16px; color: #70624e; line-height: 1.9; margin: 10px 0 15px; }
.market-price-hero { background: #eae1cd; border-color: #d8c59d; padding: 15px 17px; margin: 15px 0 21px; color: #5e4623; }
.market-price-hero:after { display: none; }
.market-price-hero > span { font-size: 16px; font-weight: 700; }
.market-price-hero > strong { font-size: 35px; font-weight: 700; letter-spacing: -1px; line-height: 1.6; }
.market-price-hero > small { font-size: 16px; color: #746044; }
.market-price-hero > p { font-size: 16px; color: #6b5739; margin: 0; }
.market-types-title { margin: 20px 0 12px; flex-wrap: wrap; }
.market-types-title h3 { font-size: 18px; font-weight: 700; }
.market-types-title > span { font-size: 16px; color: #78613a; }
.market-type { background: #fff; border-color: #ddd7cb; padding: 17px; margin-bottom: 12px; }
.market-type-head { gap: 12px; }
.market-type-head > div:first-child { min-width: 0; }
.market-type h4 { font-size: 18px; font-weight: 700; line-height: 1.65; color: #352c20; margin-bottom: 5px; }
.market-type-head > div > span { font-size: 16px; color: #786a55; }
.type-meter { gap: 6px; }
.type-meter small { font-size: 16px; color: #786a55; }
.type-meter b { font-size: 26px; font-weight: 700; color: #8a6329; }
.market-rail { background: #eae3d6; margin: 15px 0; }
.market-rail span { background: #b89452; }
.market-type-bottom { gap: 14px; }
.market-type-bottom > div { min-width: 0; }
.market-type-bottom span { font-size: 16px; color: #7b6c56; }
.market-type-bottom b { font-size: 16px; font-weight: 700; color: #443722; overflow-wrap: anywhere; }
.market-type-bottom time { font-size: 16px; color: #766141; }
.market-historical > summary { font-size: 16px; color: #6b583b; }
.market-historical .market-type { opacity: 1; }
.market-actions button, .market-detail-button { font-size: 16px; min-height: 46px; }
.market-actions button { background: #fff; color: #68502c; border-color: #d6c7a9; }
.market-fetched { font-size: 16px; color: #786a55; }
.market-source { font-size: 16px; color: #74644c; border-color: #d6cdbb; }
.market-source b { font-weight: 700; }
.market-source a, .market-source button { color: #79571f; }
.market-source p, .market-source button { font-size: 16px; }
.market-error, .market-warning, .market-empty, .market-loading { font-size: 16px; color: #6d512b; }
.market-error p { color: #776244; }
.market-open .panel-footer { background: transparent; border-color: #ddd3c1; color: #71634c; font-size: 16px; }
.market-open .panel-footer button { color: #795c2b; }

@media (min-width: 1121px) {
  :root { --sidebar: 380px; }
  .market-open .explorer { width: 430px; padding-inline: 22px; }
  .market-open #map { right: 430px; }
  .market-open .map-bottom { right: 454px; }
}
@media (min-width: 761px) and (max-width: 1120px) {
  .topbar nav { font-size: 16px; gap: 13px; }
  .contact-link { font-size: 16px; }
  .market-kpis { grid-template-columns: 1fr; }
  .market-kpi { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .market-kpi strong { font-size: 25px; }
  .market-kpi .market-change { justify-self: end; }
  .market-type { padding: 12px; }
  .market-type h4 { font-size: 16px; }
  .type-meter b { font-size: 24px; }
  .market-type-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topbar { padding-inline: 12px; gap: 10px; }
  .page-name b { font-size: 16px; }
  .page-name span { font-size: 16px; }
  .contact-link { font-size: 16px; padding: 6px; gap: 4px; }
  .contact-link span { display: none; }
  .explorer, .market-open .explorer { padding-inline: 18px; }
  .panel-tabs button { font-size: 16px; }
  .statistics b { font-size: 25px; }
  .market-heading h2 { font-size: 23px; }
  .market-kpi { padding: 14px 10px; }
  .market-kpi strong { font-size: 24px; }
  .market-type { padding: 15px; }
  .market-type h4 { font-size: 17px; }
  .market-type-bottom b { font-size: 16px; }
  .basemap-quick, .mobile-market { font-size: 16px; min-height: 42px; }
  .map-heading { top: 69px; }
  .map-heading .eyebrow { font-size: 16px; }
  .map-heading b { font-size: 16px; }
  .map-tools { top: 159px; }
  .legend { font-size: 16px; gap: 10px; justify-content: center; }
  #mapStatus { font-size: 16px; }
  .mobile-explore span { font-size: 16px; }
  .mobile-explore b { font-size: 16px; }
  .explorer.is-open ~ .mobile-close { font-size: 16px; min-height: 48px; }
  .detail { padding-inline: 18px; }
  .detail #expandDetail { font-size: 16px; min-height: 36px; margin-inline-end: 6px; }
  .detail .address, .property-fields > div { font-size: 16px; }
  .property-fields dt { font-size: 16px; }
  .detail .diagram-caption { font-size: 16px; }
  .detail .parcel-diagram { height: 158px; }
  .detail-actions button, .detail-actions a { font-size: 16px; }
}
@media (max-width: 360px) {
  .market-kpis { grid-template-columns: 1fr; }
  .market-kpi { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .market-kpi .market-change { justify-self: end; }
  .market-type-head { align-items: start; }
  .market-type-bottom { grid-template-columns: 1fr; }
  .panel-tabs button { font-size: 16px; }
  .market-type h4 { font-size: 16px; }
  .diagram-caption { flex-wrap: wrap; }
}
