body {
  background: #f7f8fb;
  color: #161b2c;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
button, input { font: inherit; }
button { cursor: pointer; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { border-bottom: 1px solid #e5e8ef; background: #fff; position: sticky; top: 0; z-index: 10; }
.topbar-inner { max-width: 1480px; margin: auto; min-height: 74px; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { color: #151a2b; display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 850; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.brand b { color: #ff6b3d; }
.brand-slash { color: #9fa5b3; font-weight: 400; }
.brand-mark { width: 36px; height: 36px; background: #171b2c; color: #fff; border-radius: 10px; display: grid; place-items: center; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.live-status { color: #4b627e; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; }
.live-status svg { color: #3272d8; }
.refresh-button { border: 1px solid #dfe3eb; background: #fff; color: #242d42; padding: 9px 13px; border-radius: 9px; display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; box-shadow: 0 1px 2px #161b2c0a; }
.refresh-button:hover, .back-button:hover { border-color: #b7c4d7; background: #f9fbff; }
.refresh-button:disabled { opacity: .6; cursor: wait; }
.main-content { width: min(100%, 1480px); margin: auto; flex: 1; padding: 44px 32px 72px; }
.eyebrow { margin: 0; color: #69768d; font-size: 12px; font-weight: 800; letter-spacing: .13em; display: flex; align-items: center; gap: 8px; }
.eyebrow-line { width: 19px; height: 3px; border-radius: 3px; background: #ff7044; display: inline-block; }
.overview-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
h1, h2, h3, p { margin-top: 0; }
.overview-heading h1, .detail-heading h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.055em; margin: 11px 0 11px; font-weight: 850; }
.heading-period { color: #ff6b3d; }
.overview-heading p:not(.eyebrow), .detail-heading p:not(.eyebrow) { color: #68748a; font-size: 15px; line-height: 1.55; margin-bottom: 0; }
.updated-at { white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; color: #637086; font-size: 13px; background: #fff; border: 1px solid #e5e8ef; padding: 10px 13px; border-radius: 9px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-card { min-height: 150px; border: 1px solid #e4e8f0; border-radius: 15px; background: #fff; padding: 20px 22px; box-shadow: 0 3px 13px #26324a06; display: flex; flex-direction: column; align-items: flex-start; }
.stat-card.featured { background: #171c2e; border-color: #171c2e; color: #fff; }
.stat-label { display: inline-flex; align-items: center; gap: 8px; color: #6b7790; font-size: 13px; font-weight: 700; }
.featured .stat-label { color: #b9c2d4; }
.stat-card strong { font-size: clamp(29px, 3vw, 39px); line-height: 1; letter-spacing: -.045em; margin-top: 18px; margin-bottom: 10px; font-weight: 820; }
.stat-note { color: #8a94a6; font-size: 12px; line-height: 1.4; }
.featured .stat-note { color: #aeb9cc; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 47px 0 17px; }
.section-heading h2 { font-size: 27px; margin: 5px 0 0; letter-spacing: -.04em; }
.section-heading > span { color: #7b8798; font-size: 12px; text-align: right; }
.charts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.chart-card { min-height: 330px; border: 1px solid #e4e8f0; border-radius: 15px; background: #fff; padding: 22px 24px 19px; box-shadow: 0 3px 13px #26324a06; }
.chart-title { display: flex; justify-content: space-between; align-items: start; }
.chart-title h3 { font-size: 20px; letter-spacing: -.035em; margin: 6px 0 0; }
.chart-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 8px; }
.chart-dot.orange, .bar-fill.orange { background: #ff7950; }
.chart-dot.blue, .bar-fill.blue { background: #4e80e9; }
.chart-description { color: #8590a2; font-size: 13px; margin: 7px 0 18px; }
.bar-chart { height: 197px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.bar-column { height: 100%; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.bar-value { color: #66748a; font-size: 11px; height: 19px; }
.bar-track { width: min(100%, 44px); flex: 1; display: flex; align-items: end; border-radius: 5px 5px 0 0; background: #f3f5f9; overflow: hidden; }
.bar-fill { width: 100%; min-height: 0; border-radius: 5px 5px 0 0; transition: height .3s ease; }
.bar-label { color: #788498; font-size: 12px; padding-top: 8px; }
.cities-heading { margin-top: 51px; }
.search-field { min-width: 244px; border: 1px solid #e0e5ed; background: #fff; border-radius: 9px; padding: 10px 12px; color: #8d98a9; display: flex; align-items: center; gap: 8px; }
.search-field:focus-within { border-color: #5d87df; box-shadow: 0 0 0 3px #4e80e922; }
.search-field input { border: 0; outline: 0; background: transparent; color: #1b2537; width: 100%; font-size: 13px; }
.city-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.city-card { border: 1px solid #252b3c; color: #fff; text-align: left; min-height: 174px; background: #242a3b; border-radius: 12px; padding: 17px 17px 14px; display: flex; flex-direction: column; transition: transform .16s, background .16s, box-shadow .16s; }
.city-card:hover { background: #30374c; transform: translateY(-3px); box-shadow: 0 12px 20px #1b26322b; }
.city-card:focus-visible { outline: 3px solid #4e80e9; outline-offset: 3px; }
.city-card-top, .city-card-bottom { display: flex; justify-content: space-between; align-items: center; }
.city-card-top { color: #f0f2f7; }
.city-arrow { color: #8994aa; opacity: .7; }
.city-name { font-size: 17px; font-weight: 750; letter-spacing: -.02em; margin-top: 23px; line-height: 1.22; }
.city-count { color: #f3f4f8; font-size: 18px; font-weight: 730; margin-top: 4px; }
.city-count span { color: #aeb8c9; font-size: 12px; font-weight: 500; }
.city-card-bottom { margin-top: auto; padding-top: 12px; }
.delta { font-size: 12px; font-weight: 800; display: inline-flex; gap: 4px; align-items: center; }
.delta.positive { color: #58d7a3; }
.delta.negative { color: #ffa294; }
.delta.muted { color: #9ba7ba; }
.stat-card .delta.positive { color: #138969; }
.stat-card .delta.negative { color: #d95649; }
.city-status { font-size: 10px; color: #a3adc0; white-space: nowrap; }
.city-status.indexed { color: #81b1ff; }
.no-results, .empty-list { color: #738097; padding: 25px 0; }
.detail-nav { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 32px; }
.back-button { display: inline-flex; gap: 8px; align-items: center; background: #fff; color: #26324b; border: 1px solid #e0e5ed; padding: 9px 12px; border-radius: 9px; font-size: 13px; font-weight: 700; }
.external-link { color: #3568c6; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 750; text-decoration: none; }
.detail-heading { display: flex; gap: 19px; align-items: center; margin-bottom: 27px; }
.detail-icon { width: 70px; height: 70px; flex: none; display: grid; place-items: center; background: #242a3b; color: #fff; border-radius: 15px; }
.detail-heading h1 { margin: 6px 0 4px; }
.info-panel { display: flex; gap: 15px; background: #fff; border: 1px solid #e4e8f0; border-radius: 13px; padding: 22px; margin-top: 26px; color: #4d78d5; }
.info-panel strong { color: #202940; }
.info-panel p { color: #778399; margin: 6px 0 0; line-height: 1.55; font-size: 14px; }
.disclosures { display: grid; gap: 13px; margin-top: 29px; }
.disclosure { background: #fff; border: 1px solid #e4e8f0; border-radius: 13px; overflow: hidden; }
.disclosure summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 19px 21px; font-size: 16px; font-weight: 750; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary > span { display: inline-flex; align-items: center; gap: 9px; }
.disclosure summary svg { color: #ff7950; }
.disclosure summary em { color: #7b889d; background: #f0f2f6; padding: 2px 8px; border-radius: 20px; font-style: normal; font-size: 12px; }
.disclosure summary small { color: #929cac; font-size: 12px; font-weight: 500; }
.event-list { border-top: 1px solid #e8ebf1; }
.event-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 21px; text-decoration: none; color: #1d2638; border-top: 1px solid #f0f1f5; }
.event-row:first-child { border-top: 0; }
.event-row:hover { background: #f8faff; }
.event-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.event-main strong { font-size: 14px; line-height: 1.35; }
.event-main small { font-size: 12px; color: #8994a6; }
.event-right { display: inline-flex; align-items: center; gap: 6px; color: #68788f; font-size: 12px; white-space: nowrap; }
.empty-list { margin: 0; padding: 20px 21px; border-top: 1px solid #e8ebf1; font-size: 13px; }
.loading-wrap { min-height: 650px; position: relative; display: grid; place-items: center; }
.loading-preview { position: absolute; inset: 15px 0; filter: blur(8px); opacity: .6; }
.loading-line { width: 42%; height: 22px; border-radius: 8px; background: #d9dfea; margin: 34px 0; }
.loading-line.wide { width: 55%; height: 36px; }
.loading-stats, .loading-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.loading-stats > div { height: 145px; background: #e0e4eb; border-radius: 15px; }
.loading-grid { grid-template-columns: repeat(5, 1fr); }
.loading-grid > div { height: 170px; background: #e0e4eb; border-radius: 13px; }
.loading-message { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; border: 1px solid #e1e5ed; background: #fff; box-shadow: 0 6px 20px #212b3f20; color: #43526b; padding: 13px 17px; border-radius: 12px; font-size: 14px; }
.loading-message svg { color: #4e80e9; }
.spin { animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-panel { max-width: 650px; margin: 130px auto; text-align: center; background: #fff; border: 1px solid #e4e8f0; border-radius: 16px; padding: 45px 35px; }
.error-panel svg { color: #4e80e9; }
.error-panel h1 { font-size: 24px; margin: 16px 0 10px; }
.error-panel p { color: #738097; line-height: 1.5; }
.error-panel button { border: 0; border-radius: 8px; background: #222a3d; color: #fff; padding: 10px 15px; }
.refresh-error { color: #b94137; background: #fff2f0; border: 1px solid #f5cbc5; border-radius: 9px; padding: 12px 14px; margin: 22px 0 0; }
.footer { border-top: 1px solid #e5e8ef; color: #99a2b1; display: flex; justify-content: space-between; gap: 20px; max-width: 1480px; width: 100%; margin: auto; padding: 22px 32px; font-size: 12px; }
@media (max-width: 1100px) { .city-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .topbar-inner { padding: 0 18px; min-height: 66px; } .live-status { display: none; } .main-content { padding: 29px 18px 55px; } .overview-heading { align-items: start; flex-direction: column; gap: 16px; } .updated-at { white-space: normal; } .charts-grid { grid-template-columns: 1fr; } .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .section-heading { align-items: start; flex-direction: column; } .search-field { width: 100%; } .footer { padding: 20px 18px; flex-direction: column; } .loading-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .brand { font-size: 13px; } .brand-mark { width: 32px; height: 32px; } .refresh-button { padding: 8px; } .refresh-button svg { width: 15px; } .stat-card { padding: 16px; min-height: 135px; } .stat-card strong { font-size: 31px; } .city-card { min-height: 162px; padding: 14px; } .city-name { font-size: 15px; } .city-count { font-size: 16px; } .city-count span { display: block; } .city-status { font-size: 9px; } .detail-heading { align-items: start; } .detail-icon { width: 54px; height: 54px; } .detail-icon svg { width: 25px; } .event-right { font-size: 11px; } .disclosure summary small { display: none; } }

