SPB Git

spb/qwhpi Public

QHPI — Quebec Housing Price Index: quality-adjusted, hierarchically pooled housing price indexes.

Python 63.9% TypeScript 25.4% CSS 5.5% TeX 3.5% SQL 0.8% Makefile 0.5% Dockerfile 0.5%
21.1 KB · 592 lines css
Raw Blame History
1/**2 * =============================================================================3 * QWHPI — Quebec Weekly Housing Price Index4 * Author  : Simon-Pierre Boucher5 * Contact : contact@spboucher.ai6 * File    : web/styles/globals.css7 * Purpose : Global styles — validated palette tokens (light + dark),8 *           editorial layout, refined cards, hero, chart chrome.9 * =============================================================================10 */1112:root {13  color-scheme: light;14  --surface-0: #f6f5f1;15  --surface-1: #fcfcfb;16  --surface-2: #f0efec;17  --border: #e3e2db;18  --border-strong: #d2d1c8;19  --text-primary: #0b0b0b;20  --text-secondary: #52514e;21  --text-muted: #716f66;22  --series-1: #2a78d6;23  --series-2: #eb6834;24  --series-3: #1baf7a;25  --series-4: #eda100;26  --series-5: #e87ba4;27  --band: rgba(42, 120, 214, 0.14);28  --accent-soft: rgba(42, 120, 214, 0.08);29  --good: #008300;30  --serious: #e34948;31  --shadow-card: 0 1px 2px rgba(20, 20, 15, 0.04), 0 4px 16px rgba(20, 20, 15, 0.05);32  --shadow-card-hover: 0 2px 4px rgba(20, 20, 15, 0.06), 0 10px 28px rgba(20, 20, 15, 0.09);33}3435:root[data-theme="dark"] {36  color-scheme: dark;37  --surface-0: #131312;38  --surface-1: #1a1a19;39  --surface-2: #262624;40  --border: #33332f;41  --border-strong: #45453f;42  --text-primary: #ffffff;43  --text-secondary: #c3c2b7;44  --text-muted: #98968d;45  --series-1: #3987e5;46  --series-2: #d95926;47  --series-3: #199e70;48  --series-4: #c98500;49  --series-5: #d55181;50  --band: rgba(57, 135, 229, 0.22);51  --accent-soft: rgba(57, 135, 229, 0.12);52  --good: #37a437;53  --serious: #e66767;54  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.25);55  --shadow-card-hover: 0 2px 4px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(0, 0, 0, 0.35);56}5758@media (prefers-color-scheme: dark) {59  :root:not([data-theme="light"]) {60    color-scheme: dark;61    --surface-0: #131312;62    --surface-1: #1a1a19;63    --surface-2: #262624;64    --border: #33332f;65    --border-strong: #45453f;66    --text-primary: #ffffff;67    --text-secondary: #c3c2b7;68    --text-muted: #98968d;69    --series-1: #3987e5;70    --series-2: #d95926;71    --series-3: #199e70;72    --series-4: #c98500;73    --series-5: #d55181;74    --band: rgba(57, 135, 229, 0.22);75    --accent-soft: rgba(57, 135, 229, 0.12);76    --good: #37a437;77    --serious: #e66767;78    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.25);79    --shadow-card-hover: 0 2px 4px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(0, 0, 0, 0.35);80  }81}8283* { box-sizing: border-box; }8485html { scroll-behavior: smooth; }8687body {88  margin: 0;89  background:90    radial-gradient(1200px 400px at 50% -200px, var(--accent-soft), transparent),91    var(--surface-0);92  color: var(--text-primary);93  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI",94    Roboto, "Helvetica Neue", sans-serif);95  line-height: 1.55;96  font-feature-settings: "tnum";97}9899a { color: var(--series-1); text-decoration: none; }100a:hover { text-decoration: underline; }101102.container { max-width: 1160px; margin: 0 auto; padding: 0 24px 24px; }103104/* ------------------------------------------------------------------ header */105.site-header {106  position: sticky; top: 0; z-index: 40;107  display: flex; align-items: center; justify-content: space-between;108  gap: 16px; flex-wrap: wrap;109  padding: 12px 24px;110  background: color-mix(in srgb, var(--surface-1) 82%, transparent);111  backdrop-filter: blur(14px);112  -webkit-backdrop-filter: blur(14px);113  border-bottom: 1px solid var(--border);114}115.brand {116  display: flex; align-items: baseline; gap: 10px;117  font-family: var(--font-display, serif);118  font-weight: 700; font-size: 20px; letter-spacing: -0.01em;119  color: var(--text-primary);120}121.brand:hover { text-decoration: none; }122.brand small {123  font-family: var(--font-sans);124  color: var(--text-muted); font-weight: 400; font-size: 12.5px;125}126.site-header nav { display: flex; gap: 4px; flex-wrap: wrap; }127.site-header nav a {128  color: var(--text-secondary); font-size: 14px; font-weight: 500;129  padding: 6px 12px; border-radius: 999px;130  transition: background 0.15s, color 0.15s;131}132.site-header nav a:hover {133  color: var(--text-primary); background: var(--surface-2);134  text-decoration: none;135}136137.site-footer {138  border-top: 1px solid var(--border);139  color: var(--text-muted); font-size: 13px;140  padding: 28px 24px 36px; text-align: center; margin-top: 56px;141}142143/* -------------------------------------------------------------------- hero */144.hero {145  display: flex; align-items: flex-end; justify-content: space-between;146  gap: 24px; flex-wrap: wrap;147  padding: 40px 0 8px;148}149.hero h1 {150  font-family: var(--font-display, serif);151  font-size: clamp(28px, 4vw, 42px);152  font-weight: 700; letter-spacing: -0.02em;153  margin: 0 0 6px; line-height: 1.15;154}155.hero .lede { margin: 0; }156.hero-kicker {157  display: inline-flex; align-items: center; gap: 8px;158  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;159  text-transform: uppercase; color: var(--series-1);160  margin-bottom: 12px;161}162.hero-kicker::before {163  content: ""; width: 22px; height: 2px; background: var(--series-1);164  border-radius: 2px;165}166167/* ------------------------------------------------------------------- cards */168.card {169  background: var(--surface-1);170  border: 1px solid var(--border);171  border-radius: 16px;172  padding: 20px;173  box-shadow: var(--shadow-card);174  transition: box-shadow 0.2s, transform 0.2s;175}176.card.hoverable:hover {177  box-shadow: var(--shadow-card-hover);178  transform: translateY(-1px);179}180.card-title {181  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;182  color: var(--text-secondary); margin: 0 0 10px;183}184185.stat-tile { display: flex; flex-direction: column; gap: 3px; }186.stat-tile .label {187  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;188  text-transform: uppercase; color: var(--text-muted);189}190.stat-tile .value {191  font-size: 32px; font-weight: 700; letter-spacing: -0.02em;192  font-family: var(--font-display, serif); line-height: 1.15;193}194.stat-tile .value.money { font-variant-numeric: tabular-nums; }195.stat-tile .delta { font-size: 13px; color: var(--text-secondary); }196.delta.up { color: var(--good); font-weight: 600; }197.delta.down { color: var(--serious); font-weight: 600; }198199.grid { display: grid; gap: 16px; }200.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }201.grid.cols-5 { grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }202.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }203204/* ---------------------------------------------------------------- controls */205.controls {206  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;207  margin: 18px 0;208}209.controls label {210  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;211  text-transform: uppercase; color: var(--text-muted);212}213select, button.ctrl, input[type="date"] {214  background: var(--surface-1); color: var(--text-primary);215  border: 1px solid var(--border-strong); border-radius: 10px;216  padding: 8px 13px; font-size: 14px; font-family: inherit;217  box-shadow: 0 1px 2px rgba(20, 20, 15, 0.03);218}219button.ctrl { cursor: pointer; transition: background 0.15s, border-color 0.15s; }220button.ctrl:hover { background: var(--surface-2); }221button.ctrl[aria-pressed="true"] {222  border-color: var(--series-1); color: var(--series-1);223  background: var(--accent-soft);224}225a.ctrl {226  background: var(--surface-1); border: 1px solid var(--border-strong);227  border-radius: 10px; padding: 8px 13px; font-size: 14px;228}229a.ctrl:hover { background: var(--surface-2); text-decoration: none; }230231.seg {232  display: inline-flex; border: 1px solid var(--border-strong);233  border-radius: 10px; overflow: hidden;234  box-shadow: 0 1px 2px rgba(20, 20, 15, 0.03);235}236.seg button {237  border: none; background: var(--surface-1); color: var(--text-secondary);238  padding: 8px 14px; font-size: 13.5px; font-weight: 500; cursor: pointer;239  font-family: inherit;240}241.seg button + button { border-left: 1px solid var(--border); }242.seg button[aria-pressed="true"] {243  background: var(--series-1); color: #fff; font-weight: 600;244}245246/* ------------------------------------------------------------------ badges */247.badge {248  display: inline-flex; align-items: center; gap: 6px;249  border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 600;250  border: 1px solid var(--border); color: var(--text-secondary);251  background: var(--surface-1);252}253.badge .dot { width: 8px; height: 8px; border-radius: 50%; }254255.chip {256  display: inline-flex; align-items: center; gap: 7px;257  border: 1px solid var(--border-strong); border-radius: 999px;258  background: var(--surface-1); color: var(--text-primary);259  padding: 6px 13px; font-size: 13.5px; cursor: pointer;260  transition: border-color 0.15s, background 0.15s;261  font-family: inherit;262}263.chip:hover { border-color: var(--serious); background: var(--surface-2); }264265/* ------------------------------------------------------------------ tables */266table.data { width: 100%; border-collapse: collapse; font-size: 14px; }267table.data th, table.data td {268  text-align: right; padding: 9px 12px; border-bottom: 1px solid var(--border);269  font-variant-numeric: tabular-nums;270}271table.data th:first-child, table.data td:first-child { text-align: left; }272table.data th {273  color: var(--text-muted); font-weight: 600; font-size: 12px;274  letter-spacing: 0.05em; text-transform: uppercase;275}276table.data tr:last-child td { border-bottom: none; }277table.data tbody tr { transition: background 0.12s; }278table.data tbody tr:hover { background: var(--surface-2); }279280/* ---------------------------------------------------------------- headings */281h1 {282  font-family: var(--font-display, serif);283  font-size: 30px; letter-spacing: -0.02em; margin: 30px 0 6px;284}285h2 {286  font-family: var(--font-display, serif);287  font-size: 21px; letter-spacing: -0.01em; margin: 34px 0 12px;288}289p.lede { color: var(--text-secondary); margin-top: 0; font-size: 15.5px; }290291.note { font-size: 13px; color: var(--text-muted); }292.low-reliability-note {293  font-size: 13px; color: var(--text-secondary);294  background: var(--surface-2); border-radius: 10px; padding: 10px 14px;295  border-left: 3px solid var(--series-4);296  margin: 10px 0;297}298299/* ------------------------------------------------------------ chart pieces */300.chart-tooltip {301  background: var(--surface-1);302  border: 1px solid var(--border-strong);303  border-radius: 10px;304  padding: 9px 13px;305  font-size: 13px;306  box-shadow: var(--shadow-card-hover);307}308.chart-tooltip .tt-label { color: var(--text-muted); font-size: 12px; }309.chart-tooltip .tt-value { font-weight: 700; font-size: 15px; }310.chart-tooltip .tt-ci { color: var(--text-muted); font-weight: 400; font-size: 12.5px; }311.chart-tooltip .tt-raw { color: var(--text-secondary); }312.chart-tooltip .tt-n { color: var(--text-muted); font-size: 12px; }313314code {315  background: var(--surface-2);316  border-radius: 6px; padding: 1px 6px; font-size: 0.9em;317}318319/* ------------------------------------------------------------- v3: pulse */320button.primary, a.primary {321  background: var(--series-1); color: #fff; border: none;322  border-radius: 10px; padding: 9px 16px; font-size: 14px; font-weight: 600;323  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;324  box-shadow: 0 2px 8px rgba(42, 120, 214, 0.3);325  transition: transform 0.15s, box-shadow 0.15s;326}327button.primary:hover, a.primary:hover {328  transform: translateY(-1px);329  box-shadow: 0 4px 14px rgba(42, 120, 214, 0.4);330  text-decoration: none;331}332333table.pulse { width: 100%; border-collapse: collapse; font-size: 13.5px; }334table.pulse th, table.pulse td {335  text-align: right; padding: 8px 10px; border-bottom: 1px solid var(--border);336  font-variant-numeric: tabular-nums; white-space: nowrap;337}338table.pulse th:first-child, table.pulse td:first-child { text-align: left; }339table.pulse th {340  color: var(--text-muted); font-weight: 600; font-size: 11px;341  letter-spacing: 0.05em; text-transform: uppercase;342  background: var(--surface-1);343}344table.pulse tbody tr { cursor: pointer; transition: background 0.12s; }345table.pulse tbody tr:hover { background: var(--surface-2); }346td.heat { font-weight: 600; border-radius: 4px; }347348.record-chip {349  display: inline-flex; align-items: center; gap: 4px;350  font-size: 11px; font-weight: 700; color: var(--good);351}352353.mini-tile { padding: 12px 14px; }354.mini-tile .label { font-size: 10.5px; }355.mini-tile .value { font-size: 20px; }356.grid.cols-8 { grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); }357358/* ---------------------------------------------------------- v4 foundations */359body, .card, .site-header, .site-footer, select, button.ctrl, a.ctrl,360input, .seg button, .badge, .chip, table.pulse th {361  transition: background-color 0.25s ease, color 0.25s ease,362    border-color 0.25s ease, box-shadow 0.2s ease;363}364365@keyframes qhpi-fade-up {366  from { opacity: 0; transform: translateY(10px); }367  to { opacity: 1; transform: none; }368}369.fade-up { animation: qhpi-fade-up 0.45s cubic-bezier(0.2, 0.7, 0.3, 1) both; }370.fade-up.d1 { animation-delay: 0.06s; }371.fade-up.d2 { animation-delay: 0.12s; }372.fade-up.d3 { animation-delay: 0.18s; }373374@keyframes qhpi-shimmer {375  0% { background-position: 180% 0; }376  100% { background-position: -20% 0; }377}378.skeleton {379  border-radius: 10px;380  background: linear-gradient(100deg, var(--surface-2) 40%,381    color-mix(in srgb, var(--border) 65%, var(--surface-2)) 50%,382    var(--surface-2) 60%);383  background-size: 200% 100%;384  animation: qhpi-shimmer 1.4s linear infinite;385}386387@media (prefers-reduced-motion: reduce) {388  *, *::before, *::after {389    animation-duration: 0.01ms !important;390    animation-iteration-count: 1 !important;391    transition-duration: 0.01ms !important;392  }393}394395.brand-mark { flex: none; display: inline-flex; align-self: center; }396397:focus-visible {398  outline: 2px solid var(--series-1);399  outline-offset: 2px;400  border-radius: 4px;401}402403@media (max-width: 680px) {404  .container { padding: 0 14px 20px; }405  .site-header { padding: 10px 14px; gap: 8px; }406  .site-header nav a { padding: 5px 9px; font-size: 13px; }407  .hero { padding: 22px 0 4px; }408  .stat-tile .value { font-size: 25px; }409  .card { padding: 14px; border-radius: 13px; }410  .controls { gap: 8px; margin: 12px 0; }411  table.pulse { font-size: 12.5px; }412  table.pulse th, table.pulse td { padding: 6px 7px; }413  h1 { font-size: 25px; }414  h2 { font-size: 18px; }415}416417/* -------------------------------------------------------------- v5: hot */418/* Subtle film grain over the whole app */419body::before {420  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;421  opacity: 0.35; mix-blend-mode: overlay;422  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");423}424main, header, footer { position: relative; z-index: 2; }425426/* Ticker tape */427.ticker-shell {428  overflow: hidden; white-space: nowrap;429  border-bottom: 1px solid var(--border);430  background: var(--surface-1);431  margin: 0 -24px; padding: 7px 0; min-height: 36px;432}433.ticker-track { display: inline-flex; }434.ticker-group {435  display: inline-flex; align-items: center;436  animation: ticker-scroll 55s linear infinite;437}438.ticker-shell:hover .ticker-group { animation-play-state: paused; }439@keyframes ticker-scroll {440  from { transform: translateX(0); }441  to { transform: translateX(-100%); }442}443.ticker-item {444  display: inline-flex; align-items: baseline; gap: 7px;445  padding: 0 18px; font-size: 12.5px; color: var(--text-primary);446  border-right: 1px solid var(--border);447}448.ticker-item:hover { text-decoration: none; background: var(--surface-2); }449.ticker-name { color: var(--text-secondary); font-weight: 600; }450.ticker-val { font-variant-numeric: tabular-nums; font-weight: 700; }451.ticker-item .delta { font-size: 11.5px; }452453/* Mega hero number */454.hero-mega {455  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;456}457.hero-mega .big {458  font-family: var(--font-display, serif);459  font-size: clamp(52px, 7vw, 84px); font-weight: 700;460  line-height: 1; letter-spacing: -0.03em;461  background: linear-gradient(160deg, var(--text-primary) 55%, var(--series-1));462  -webkit-background-clip: text; background-clip: text;463  -webkit-text-fill-color: transparent;464}465.hero-mega .sub { font-size: 13.5px; color: var(--text-secondary); }466467/* Hero chart draw-in */468.hero-chart { padding: 14px 14px 6px; overflow: hidden; }469.hero-line {470  stroke-dasharray: 1; stroke-dashoffset: 1;471  animation: hero-draw 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;472}473.hero-area, .hero-band { opacity: 0; animation: hero-fade 0.8s ease 1.25s forwards; }474.hero-dot { opacity: 0; animation: hero-fade 0.5s ease 1.6s forwards; }475.hero-pulse {476  opacity: 0; transform-origin: center; transform-box: fill-box;477  animation: hero-fade 0.5s ease 1.6s forwards,478    hero-ping 2.4s ease-out 2.1s infinite;479}480@keyframes hero-draw { to { stroke-dashoffset: 0; } }481@keyframes hero-fade { to { opacity: 1; } }482@keyframes hero-ping {483  0% { transform: scale(0.6); opacity: 0.45; }484  70% { transform: scale(1.7); opacity: 0; }485  100% { opacity: 0; }486}487488/* Podium */489.podium { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }490.podium .card { position: relative; overflow: hidden; }491.podium .card::after {492  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;493}494.podium .p1::after { background: linear-gradient(90deg, #eda100, #ffd977); }495.podium .p2::after { background: linear-gradient(90deg, #9a9a94, #d8d8d2); }496.podium .p3::after { background: linear-gradient(90deg, #b0713d, #dda67a); }497.podium .medal { font-size: 20px; }498499/* Command palette */500.palette-backdrop {501  position: fixed; inset: 0; z-index: 90;502  background: color-mix(in srgb, var(--surface-0) 55%, transparent);503  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);504  display: flex; align-items: flex-start; justify-content: center;505  padding: 12vh 16px 0;506  animation: qhpi-fade-up 0.18s ease both;507}508.palette {509  width: 100%; max-width: 560px;510  background: var(--surface-1); border: 1px solid var(--border-strong);511  border-radius: 16px; box-shadow: var(--shadow-card-hover);512  overflow: hidden;513}514.palette-input {515  width: 100%; border: none; outline: none;516  background: transparent; color: var(--text-primary);517  padding: 16px 18px; font-size: 16px; font-family: inherit;518  border-bottom: 1px solid var(--border);519}520.palette-list { list-style: none; margin: 0; padding: 6px; max-height: 320px; overflow-y: auto; }521.palette-item {522  width: 100%; display: flex; justify-content: space-between; gap: 10px;523  border: none; background: none; text-align: left; cursor: pointer;524  padding: 10px 12px; border-radius: 10px; font-size: 14px;525  color: var(--text-primary); font-family: inherit;526}527.palette-item.active { background: var(--accent-soft); color: var(--series-1); }528.palette-hint { color: var(--text-muted); font-size: 12px; }529.palette-empty { padding: 14px; color: var(--text-muted); font-size: 13.5px; }530.palette-foot {531  display: flex; gap: 16px; padding: 8px 16px;532  border-top: 1px solid var(--border);533  color: var(--text-muted); font-size: 11.5px;534}535.kbd-btn {536  display: inline-flex; align-items: center; gap: 6px;537  background: var(--surface-1); color: var(--text-secondary);538  border: 1px solid var(--border-strong); border-radius: 10px;539  padding: 6px 11px; font-size: 13px; cursor: pointer; font-family: inherit;540}541.kbd-btn:hover { background: var(--surface-2); }542.kbd-btn kbd {543  background: var(--surface-2); border: 1px solid var(--border);544  border-radius: 5px; padding: 0 5px; font-size: 11px;545  font-family: inherit; color: var(--text-muted);546}547548@media (max-width: 680px) {549  .ticker-shell { margin: 0 -14px; }550  .hero-mega { align-items: flex-start; }551}552553/* -------------------------------------------------- v5.1: mobile polish */554@media (max-width: 680px) {555  /* Compact header: brand + toggle on one row, nav scrolls on its own row */556  .brand small { display: none; }557  .kbd-btn { display: none; }558  .site-header { row-gap: 6px; }559  .site-header nav {560    order: 3; flex: 1 0 100%;561    flex-wrap: nowrap; overflow-x: auto;562    scrollbar-width: none; -webkit-overflow-scrolling: touch;563    margin: 0 -4px; padding: 0 4px;564  }565  .site-header nav::-webkit-scrollbar { display: none; }566  .site-header nav a { flex: none; }567568  /* Hero: number below the title, full width */569  .hero { flex-direction: column; align-items: stretch; gap: 12px; }570  .hero-mega { align-items: flex-start; }571572  /* Pulse table: drop secondary columns (1m, 6m, vs peak, $ value) —573     the full set remains in Explore's data table and the CSV/PDF exports */574  table.pulse th:nth-child(4), table.pulse td:nth-child(4),575  table.pulse th:nth-child(6), table.pulse td:nth-child(6),576  table.pulse th:nth-child(9), table.pulse td:nth-child(9),577  table.pulse th:nth-child(11), table.pulse td:nth-child(11) { display: none; }578579  .controls input[type="text"] { flex: 1 1 160px; min-width: 0; }580  .controls input[type="range"] { flex: 1 1 110px; min-width: 0; }581  .ticker-item { padding: 0 12px; }582  .hero-chart { padding: 10px 8px 4px; }583  .primary, a.primary { padding: 8px 13px; font-size: 13.5px; }584  .palette-backdrop { padding: 8vh 10px 0; }585}586587@media (max-width: 400px) {588  .stat-tile .value { font-size: 22px; }589  .mini-tile .value { font-size: 17px; }590  h2 { font-size: 17px; }591}592