:root {
  color-scheme: light;
  --ink: #18242d;
  --muted: #6d7a82;
  --line: #dde4e5;
  --paper: #ffffff;
  --canvas: #f1f4f2;
  --navy: #0f2833;
  --navy-2: #173946;
  --teal: #1b806f;
  --teal-soft: #dff0eb;
  --amber: #c97d27;
  --amber-soft: #f7ead8;
  --red: #b6534f;
  --red-soft: #f8e8e6;
  --shadow: 0 14px 38px rgba(23, 44, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(27, 128, 111, 0.07), transparent 28rem),
    var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
}

button,
input,
select {
  font: inherit;
}

button,
select,
input,
a {
  outline-offset: 3px;
}

button:focus-visible,
select:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--teal);
}

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--navy);
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 3vw, 3.25rem);
  color: white;
  background: linear-gradient(115deg, var(--navy), var(--navy-2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--navy);
  background: #d8eee7;
  border-radius: 13px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.eyebrow {
  margin-bottom: 0.28rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.topbar .eyebrow {
  color: #9fc4c5;
}

.data-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  color: #d6e6e5;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #64c4a9;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(100, 196, 169, 0.14);
}

.tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0 1rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  padding: 1rem 0.85rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 650;
}

.tab::after {
  position: absolute;
  right: 0.85rem;
  bottom: -1px;
  left: 0.85rem;
  height: 3px;
  content: "";
  background: transparent;
  border-radius: 3px 3px 0 0;
}

.tab.active {
  color: var(--ink);
}

.tab.active::after {
  background: var(--teal);
}

main {
  width: min(1500px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.35rem 0 2.5rem;
}

.filter-panel,
.panel,
.metric-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.filter-panel {
  margin-bottom: 1.4rem;
  padding: 1.1rem;
  border-radius: 16px;
}

.filter-heading,
.section-heading,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.filter-summary {
  margin-bottom: 0;
  font-size: 0.92rem;
  font-weight: 650;
}

.quick-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.quick-ranges button {
  padding: 0.42rem 0.7rem;
  color: var(--muted);
  background: #f6f8f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.quick-ranges button.selected,
.quick-ranges button:hover {
  color: var(--teal);
  background: var(--teal-soft);
  border-color: #b8dcd2;
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(185px, 1.3fr) repeat(4, minmax(142px, 1fr)) auto;
  gap: 0.85rem;
  margin-top: 1rem;
  align-items: end;
}

label {
  display: grid;
  gap: 0.38rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

input,
select {
  width: 100%;
  min-height: 41px;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  background: white;
  border: 1px solid #cfd8d9;
  border-radius: 9px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 41px;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1rem;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 720;
  text-decoration: none;
}

.primary-button {
  color: white;
  background: var(--teal);
  border: 1px solid var(--teal);
}

.primary-button:hover {
  background: #116c5d;
}

.primary-button:disabled,
.secondary-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
}

.secondary-button {
  color: var(--teal);
  background: white;
  border: 1px solid #b9d4ce;
}

.notice {
  margin-top: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-radius: 9px;
  font-size: 0.85rem;
}

.notice.error {
  color: #793b37;
  background: var(--red-soft);
  border: 1px solid #e9c6c2;
}

.hidden {
  display: none !important;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.subtabs {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 1rem;
  overflow-x: auto;
}

.subtab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0.48rem 0.8rem;
  color: var(--muted);
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  font-weight: 680;
}

.subtab.active {
  color: #155f54;
  background: var(--teal-soft);
  border-color: #b7d9d0;
}

.target-version-tabs .subtab {
  display: grid;
  min-width: 190px;
  gap: 0.16rem;
  text-align: left;
}

.target-version-tabs .subtab span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
}

.section-heading {
  margin: 1.6rem 0 1rem;
}

.subtle {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.compact-hero {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.compact-hero .metric-card {
  min-height: 125px;
}

.metric-card {
  position: relative;
  min-height: 145px;
  padding: 1rem;
  overflow: hidden;
  border-radius: 14px;
}

.metric-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  content: "";
  background: var(--teal);
}

.metric-card.amber::before {
  background: var(--amber);
}

.metric-card.red::before {
  background: var(--red);
}

.metric-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
}

.metric-value {
  display: block;
  margin: 0.65rem 0 0.35rem;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-note {
  display: flex;
  min-height: 1.15rem;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.73rem;
}

.metric-chip {
  padding: 0.16rem 0.4rem;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
  font-weight: 700;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.7fr);
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.panel {
  padding: 1rem;
  border-radius: 14px;
}

.compact-select {
  min-width: 165px;
}

.compact-select select {
  min-height: 36px;
  padding: 0.4rem 0.55rem;
}

.chart-wrap {
  position: relative;
  height: 285px;
  margin-top: 0.9rem;
}

#trendChart {
  width: 100%;
  height: 100%;
}

#promotionChart,
#competitionChart {
  width: 100%;
  height: 100%;
}

.chart-tooltip {
  position: absolute;
  z-index: 4;
  display: grid;
  min-width: 140px;
  gap: 0.18rem;
  padding: 0.55rem 0.65rem;
  color: white;
  background: rgba(15, 40, 51, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 40, 51, 0.22);
  pointer-events: none;
  font-size: 0.72rem;
}

.chart-tooltip span {
  color: #d5e5e3;
}

.launch-rhythm-panel {
  margin-top: 0.9rem;
  overflow: hidden;
}

.launch-rhythm-heading,
.launch-rhythm-controls,
.launch-rhythm-legend,
.source-links {
  display: flex;
  align-items: center;
}

.launch-rhythm-controls {
  gap: 0.65rem;
}

.context-badge {
  padding: 0.28rem 0.52rem;
  color: #355e5a;
  background: #e8f1ef;
  border: 1px solid #cddfdb;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 720;
}

.launch-rhythm-metrics {
  margin-top: 0.85rem;
}

.inner-tabs {
  display: inline-flex;
  gap: 0.25rem;
  margin: 0 0 0.9rem;
  padding: 0.24rem;
  overflow-x: auto;
  background: #e8eeec;
  border: 1px solid #d5dfdc;
  border-radius: 10px;
}

.inner-tab {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0.48rem 0.82rem;
  color: #65747a;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 700;
}

.inner-tab.active {
  color: #163d3a;
  background: #fff;
  box-shadow: 0 2px 8px rgba(22, 61, 58, 0.08);
}

.launch-rhythm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.55fr);
  gap: 0.9rem;
  margin-top: 0.85rem;
}

.launch-rhythm-main {
  min-width: 0;
  padding: 0.8rem;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.launch-rhythm-chart-wrap {
  height: 300px;
  margin-top: 0;
}

#launchRhythmChart,
#ownLaunchChart {
  width: 100%;
  height: 100%;
  display: block;
}

.launch-tooltip {
  min-width: 200px;
}

.launch-rhythm-legend {
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 0.2rem 0 0.65rem;
  color: var(--muted);
  font-size: 0.69rem;
}

.launch-rhythm-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.category-climate-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.7rem;
  padding: 0.55rem 0.65rem;
  color: #53656b;
  background: #f1f5f4;
  border: 1px solid #dde6e4;
  border-radius: 8px;
  font-size: 0.68rem;
}

.category-climate-summary strong {
  color: #284d4a;
}

.category-climate-summary span {
  padding-left: 0.45rem;
  border-left: 1px solid #ccd9d6;
}

.legend-block {
  width: 12px;
  height: 8px;
  background: #82aea6;
  border-radius: 2px;
}

.legend-line {
  width: 15px;
  height: 2px;
  background: #a45b35;
}

.solar-term-band {
  display: grid;
  grid-template-columns: repeat(12, minmax(60px, 1fr));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
  border-top: 1px solid var(--line);
}

.solar-term-cell {
  min-width: 60px;
  padding: 0.55rem 0.38rem;
  border-right: 1px solid #e7eceb;
  text-align: center;
}

.solar-term-cell:last-child {
  border-right: 0;
}

.solar-term-cell strong,
.solar-term-cell span {
  display: block;
}

.solar-term-cell .month-temperature {
  display: block;
  margin-top: 0.25rem;
  color: #8b4e32;
  font-size: 0.7rem;
}

.comparison-strip {
  margin-top: 0.85rem;
  padding: 0.65rem;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.solar-term-cell strong {
  color: #54656a;
  font-size: 0.67rem;
}

.solar-term-cell span {
  margin-top: 0.24rem;
  color: var(--muted);
  font-size: 0.61rem;
  line-height: 1.45;
}

.launch-week-panel {
  min-width: 0;
  padding: 0.8rem;
  background: #fbfcfb;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.launch-week-panel h4 {
  margin: 0.18rem 0 0;
  font-size: 0.9rem;
}

.weekly-launch-value {
  position: relative;
  min-width: 92px;
  overflow: hidden;
}

.weekly-launch-value strong {
  position: relative;
  z-index: 1;
}

.weekly-launch-bar {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  background: #deece8;
}

.launch-context-note {
  margin-top: 0.8rem;
}

.source-links {
  flex-wrap: wrap;
  gap: 0.32rem;
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.source-links a {
  color: var(--teal);
  text-decoration: none;
}

.source-links a:hover {
  text-decoration: underline;
}

.source-links .disabled-link {
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}

.competition-image-cell {
  width: 74px;
  padding-top: 0.38rem;
  padding-bottom: 0.38rem;
}

.competition-image-frame {
  position: relative;
  display: grid;
  width: 58px;
  height: 72px;
  overflow: hidden;
  place-items: center;
  color: #7b898d;
  background: #edf1f0;
  border: 1px solid #dce4e2;
  border-radius: 7px;
  font-size: 0.62rem;
}

.competition-image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 0.16s ease;
}

.competition-image-frame.loaded img {
  opacity: 1;
}

.competition-image-frame.failed {
  color: #8b5652;
  background: #f5ecea;
}

.chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #fafbfa;
  border: 1px dashed var(--line);
  border-radius: 10px;
}

.chart-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.legend-line {
  display: inline-block;
  width: 22px;
  height: 3px;
  margin-right: 0.4rem;
  vertical-align: middle;
  background: var(--teal);
  border-radius: 3px;
}

.version-badge,
.read-only-badge {
  padding: 0.36rem 0.6rem;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 750;
}

.target-ring-wrap {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 1rem;
  margin-top: 1.4rem;
  align-items: center;
}

.target-ring {
  --progress: 0deg;
  position: relative;
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  background: conic-gradient(var(--teal) var(--progress), #e8eeee 0deg);
  border-radius: 50%;
}

.target-ring::before {
  position: absolute;
  width: 104px;
  height: 104px;
  content: "";
  background: white;
  border-radius: 50%;
}

.target-ring > div {
  position: relative;
  z-index: 1;
  display: grid;
  text-align: center;
}

.target-ring strong {
  font-size: 1.45rem;
}

.target-ring span {
  color: var(--muted);
  font-size: 0.68rem;
}

.target-ring-copy p {
  margin: 0.55rem 0 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.target-ring-copy strong {
  font-size: 1rem;
}

.panel-note {
  margin: 0.9rem 0 0;
  padding-top: 0.7rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.55;
}

.table-panel {
  margin-top: 0.9rem;
}

.table-scroll {
  margin-top: 0.8rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

th,
td {
  padding: 0.72rem 0.68rem;
  border-bottom: 1px solid #e8eded;
  text-align: left;
  font-size: 0.78rem;
}

th {
  color: var(--muted);
  background: #f7f9f8;
  font-weight: 720;
}

tbody tr:hover {
  background: #fafcfb;
}

.target-annual-total th,
.target-annual-total td {
  border-top: 2px solid #cad8d1;
  background: #f1f6f3;
  color: #334b40;
  font-weight: 500;
}

.number {
  text-align: right;
}

.status-pill {
  display: inline-flex;
  padding: 0.2rem 0.45rem;
  color: var(--muted);
  background: #eef2f1;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 700;
}

.status-pill.current {
  color: #8a591c;
  background: var(--amber-soft);
}

.status-pill.done {
  color: var(--teal);
  background: var(--teal-soft);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.comparison-card {
  padding: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.comparison-card.active {
  border-color: #8dbfb2;
  box-shadow: 0 0 0 2px rgba(27, 128, 111, 0.11), var(--shadow);
}

.comparison-card button {
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.comparison-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 740;
}

.comparison-value {
  display: block;
  margin: 0.8rem 0 0.25rem;
  font-size: 1.65rem;
}

.comparison-meta {
  color: var(--muted);
  font-size: 0.72rem;
}

.progress-bar {
  height: 5px;
  margin-top: 0.7rem;
  overflow: hidden;
  background: #e9eeee;
  border-radius: 99px;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: var(--teal);
  border-radius: 99px;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: 0.9rem;
}

.method-layout > div {
  display: grid;
  gap: 0.9rem;
}

.definition-item,
.source-item {
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--line);
}

.definition-item:last-child,
.source-item:last-child {
  border-bottom: 0;
}

.definition-item strong,
.source-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.82rem;
}

.definition-item code {
  display: inline-block;
  max-width: 100%;
  padding: 0.2rem 0.4rem;
  overflow-wrap: anywhere;
  color: #244a50;
  background: #eef5f3;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.definition-item p,
.source-item p {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.coverage-card {
  padding: 0.75rem;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.coverage-card span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}

.coverage-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.2rem;
}

.quiet-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  color: #31515b;
  background: #f6f8f8;
  border: 1px solid #cfd9db;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.quiet-button:hover:not(:disabled) {
  color: var(--navy);
  background: #eaf0f0;
  border-color: #aebfc3;
}

.quiet-button:disabled,
.row-query-controls :disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.database-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.database-summary-card {
  padding: 0.95rem 1rem;
  background: #f9fbfb;
  border: 1px solid #d8e0e2;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(20, 41, 49, 0.05);
}

.database-summary-card span,
.database-summary-card small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}

.database-summary-card strong {
  display: block;
  margin: 0.35rem 0 0.22rem;
  color: var(--navy);
  font-size: 1.4rem;
}

.database-layout {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(300px, 0.28fr) minmax(0, 0.72fr);
  gap: 0.9rem;
  align-items: start;
}

.database-catalog-panel,
.database-detail-panel,
.database-rows-panel {
  min-width: 0;
  max-width: 100%;
  padding: 1rem;
  overflow: hidden;
  border-radius: 14px;
}

.database-catalog-panel {
  position: sticky;
  top: 0.8rem;
}

.catalog-controls {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.catalog-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.catalog-count {
  margin: 0.75rem 0 0.45rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.database-object-list {
  display: grid;
  max-height: 65vh;
  gap: 0.35rem;
  padding-right: 0.2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.database-object-button {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  padding: 0.7rem 0.75rem;
  color: var(--ink);
  background: #fbfcfc;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  text-align: left;
}

.database-object-button:hover {
  background: #f0f5f4;
  border-color: #d6e1df;
}

.database-object-button.active {
  background: #e9f2f0;
  border-color: #9dbbb5;
  box-shadow: inset 3px 0 0 var(--teal);
}

.database-object-button strong {
  color: var(--navy);
  font-size: 0.8rem;
  line-height: 1.35;
}

.database-object-button span,
.database-object-button small {
  color: var(--muted);
  font-size: 0.65rem;
}

.database-object-button .database-object-description {
  color: #42565e;
  font-size: 0.69rem;
  line-height: 1.4;
}

.database-object-button .database-object-technical,
.technical-name,
.ledger-batch-id {
  overflow: hidden;
  color: #7a898f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.technical-name {
  max-width: min(100%, 720px);
  margin: 0.3rem 0 0;
}

.database-object-group + .database-object-group {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.database-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.35rem;
  color: #43555d;
  font-size: 0.7rem;
  cursor: pointer;
  list-style: none;
}

.database-group-heading::-webkit-details-marker {
  display: none;
}

.database-group-heading::before {
  width: 0.8rem;
  color: #74868c;
  content: "›";
  font-size: 1rem;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 120ms ease;
}

.database-object-group[open] > .database-group-heading::before {
  transform: rotate(90deg);
}

.database-group-heading strong {
  margin-right: auto;
}

.database-object-group[open] > .database-group-heading {
  color: var(--navy);
}

.database-group-heading span {
  color: var(--muted);
  font-size: 0.64rem;
}

.module-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr)) minmax(220px, 1.6fr) auto;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  align-items: end;
}

.picker-control {
  position: relative;
  display: grid;
  gap: 0.38rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.store-picker {
  position: relative;
}

.store-picker summary {
  min-height: 41px;
  padding: 0.62rem 2rem 0.55rem 0.65rem;
  overflow: hidden;
  color: var(--ink);
  background: white;
  border: 1px solid #cfd8d9;
  border-radius: 9px;
  cursor: pointer;
  list-style: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-picker summary::after {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  content: "⌄";
  color: var(--muted);
}

.store-picker-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 0.3rem);
  left: 0;
  display: grid;
  width: max(240px, 100%);
  max-height: 280px;
  overflow-y: auto;
  padding: 0.45rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.store-option {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.45rem;
  color: var(--ink);
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.75rem;
}

.store-option:hover {
  background: #eef4f2;
}

.store-option input {
  width: 16px;
  min-height: 16px;
  margin: 0;
}

.climate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.65fr);
  gap: 0.9rem;
}

.core-climate-panel {
  margin-bottom: 0.9rem;
}

.core-climate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.climate-location-control {
  min-width: 260px;
}

.climate-location-control .store-picker-menu {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  width: min(520px, 78vw);
}

.core-climate-card {
  padding: 0.8rem;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.core-climate-card span,
.core-climate-card small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
}

.core-climate-card strong {
  display: block;
  margin: 0.35rem 0;
  font-size: 1.45rem;
}

.core-climate-chart-wrap {
  height: 280px;
}

#coreClimateChart {
  width: 100%;
  height: 100%;
}

.chart-series-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem 0.8rem;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.chart-series-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.chart-series-legend i {
  width: 14px;
  height: 3px;
  border-radius: 2px;
}

.climate-map-wrap {
  position: relative;
  min-height: 540px;
  margin-top: 0.7rem;
  overflow: hidden;
  background: #f5f7f6;
  border: 1px solid var(--line);
  border-radius: 12px;
}

#climateMap {
  width: 100%;
  height: 540px;
}

.province-shape {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
  transition: filter 0.12s ease, stroke-width 0.12s ease;
}

.province-shape:hover,
.province-shape:focus {
  filter: brightness(1.1);
  stroke: #203a43;
  stroke-width: 2;
  outline: none;
}

.temperature-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 0.6rem;
  overflow: hidden;
  border-radius: 7px;
}

.temperature-scale span {
  padding: 0.35rem 0.2rem;
  color: white;
  font-size: 0.66rem;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}

.wide-control {
  min-width: 0;
}

.inline-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inline-actions select {
  min-width: 145px;
}

.notice.quality {
  color: #68491f;
  background: #fbf3e5;
  border: 1px solid #ead5ad;
}

.notice.date-window {
  color: #31515b;
  background: #eef4f4;
  border: 1px solid #d4e0e1;
  line-height: 1.55;
}

.new-product-filter {
  grid-template-columns: minmax(140px, .7fr) minmax(120px, .55fr) minmax(150px, .7fr) minmax(120px, .55fr) minmax(120px, .55fr) minmax(280px, 1.5fr) auto auto;
}

.series-picker-menu {
  width: min(720px, 78vw);
  max-height: 360px;
}

.series-picker-menu .store-option {
  align-items: flex-start;
}

.series-option-copy {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.series-option-copy strong {
  overflow: hidden;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series-option-copy small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 500;
  line-height: 1.45;
}

.series-option-blocked {
  opacity: 0.58;
  cursor: not-allowed;
}

.new-product-comparison-panel,
.new-product-detail-panel {
  margin-top: 0.9rem;
}

.new-product-compare-chart-wrap {
  height: 300px;
  margin: 0.8rem 0;
}

#newProductCompareChart,
#newProductProductChart {
  display: block;
  width: 100%;
  height: 100%;
}

.new-product-detail-heading label {
  min-width: min(360px, 100%);
}

.dimension-controls,
.product-table-controls {
  display: grid;
  gap: 0.65rem;
  margin: 0.9rem 0;
  align-items: end;
}

.dimension-controls {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.product-table-controls {
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(120px, 0.8fr)) auto;
}

.dimension-controls label,
.product-table-controls label {
  display: grid;
  min-width: 0;
  gap: 0.38rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.export-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.8rem;
  padding: 0.7rem 0.8rem;
  color: #31515b;
  background: #f4f8f7;
  border: 1px solid #d7e3df;
  border-radius: 9px;
  font-size: 0.75rem;
}

.category-summary-section,
.daily-detail-section {
  min-width: 0;
  margin-top: 0.9rem;
  padding: 0.8rem;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.compact-heading {
  margin: 0 0 0.65rem;
}

.compact-heading h4 {
  margin: 0;
  color: #29434a;
  font-size: 0.82rem;
}

.dimension-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.dimension-summary-grid section {
  min-width: 0;
  padding: 0.8rem;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.dimension-summary-grid h4 {
  margin: 0 0 0.65rem;
  color: #29434a;
  font-size: 0.82rem;
}

.product-detail-dialog {
  width: min(1120px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 1rem;
  overflow: auto;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(15, 40, 51, 0.24);
}

.product-detail-dialog::backdrop {
  background: rgba(15, 40, 51, 0.48);
}

.dialog-heading,
.dialog-product-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-product-summary {
  justify-content: flex-start;
  margin-top: 0.8rem;
  padding: 0.75rem;
  background: #f6f9f8;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.dialog-product-summary .competition-image-frame {
  flex: 0 0 auto;
}

.dialog-product-copy {
  display: grid;
  gap: 0.28rem;
}

.dialog-product-copy span,
.dialog-product-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

.product-detail-chart-wrap {
  height: 250px;
  margin-top: 0.85rem;
}

.table-link {
  max-width: 260px;
  padding: 0;
  overflow: hidden;
  color: var(--teal);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-row td {
  background: #edf6f3;
}

.cell-subline {
  display: block;
  max-width: 360px;
  margin-top: 0.2rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledger-status {
  display: inline-block;
  max-width: 190px;
  padding: 0.22rem 0.45rem;
  overflow: hidden;
  color: #5b6970;
  background: #eef2f3;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledger-status.good {
  color: #1a6559;
  background: #e0f0eb;
}

.ledger-status.bad {
  color: #8b403b;
  background: var(--red-soft);
}

.compact-table {
  max-height: 330px;
  overflow: auto;
}

.report-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.report-family-card {
  min-width: 0;
}

.report-family-card h3 {
  margin-bottom: 0.55rem;
}

.report-family-card > p:not(.eyebrow) {
  min-height: 2.7rem;
  margin: 0.75rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.artifact-list {
  display: grid;
  gap: 0.38rem;
  margin-top: 0.7rem;
}

.artifact-list span {
  padding: 0.42rem 0.5rem;
  overflow: hidden;
  color: #506168;
  background: #f5f8f7;
  border: 1px solid #e3e8e8;
  border-radius: 7px;
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.database-detail-stack {
  display: grid;
  min-width: 0;
  gap: 0.9rem;
}

.object-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.object-badge {
  padding: 0.24rem 0.48rem;
  color: #435a63;
  background: #eef2f3;
  border: 1px solid #d6dfe1;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
}

.object-badge.allowed {
  color: #1c6258;
  background: #e7f2ef;
  border-color: #bfdbd4;
}

.object-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.object-stat-card {
  min-width: 0;
  padding: 0.72rem;
  background: #f7f9f9;
  border: 1px solid #e0e6e7;
  border-radius: 9px;
}

.object-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
}

.object-stat-card strong {
  display: block;
  margin-top: 0.28rem;
  overflow: hidden;
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.object-stat-card.date-range strong {
  overflow: visible;
  font-size: 0.74rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.object-stat-warning {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.65rem;
  color: #755221;
  background: #f8f1e6;
  border: 1px solid #ead5b6;
  border-radius: 8px;
  font-size: 0.72rem;
}

.object-stat-controls {
  display: flex;
  align-items: end;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.object-stat-controls label {
  min-width: 230px;
}

.technical-details {
  margin-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.technical-details summary {
  padding: 0.8rem 0 0.35rem;
  color: #445961;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 750;
}

.technical-details[open] summary {
  color: var(--navy);
}

.schema-scroll {
  width: 100%;
  max-width: 100%;
  max-height: 360px;
  overflow: auto;
}

.schema-scroll table,
.database-data-scroll table {
  width: max-content;
  min-width: 100%;
}

.schema-scroll th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.row-query-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(125px, 1fr));
  gap: 0.65rem;
  margin-top: 0.9rem;
  align-items: end;
}

.row-filter-value {
  grid-column: span 2;
}

.database-data-scroll {
  width: 100%;
  max-width: 100%;
  max-height: 560px;
  border: 1px solid #e0e6e7;
  border-radius: 9px;
}

.database-data-scroll th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.database-data-scroll td {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.database-data-scroll th,
.database-data-scroll td {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.69rem;
}

.database-null {
  color: #99a3a7;
  font-style: italic;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.page-jump {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.page-jump input {
  width: 64px;
  min-height: 34px;
  padding: 0.35rem 0.45rem;
}

.page-jump .quiet-button {
  min-height: 34px;
  padding: 0.38rem 0.58rem;
}

.empty-state {
  margin: 0;
  padding: 1.2rem 0.6rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 3vw, 3.25rem);
  color: #809096;
  background: var(--navy);
  font-size: 0.72rem;
}

.loading-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(238, 242, 240, 0.78);
  backdrop-filter: blur(3px);
}

.loading-card {
  display: grid;
  min-width: 255px;
  place-items: center;
  gap: 0.65rem;
  padding: 1.5rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.loading-card span:last-child {
  color: var(--muted);
  font-size: 0.75rem;
}

.loader {
  width: 28px;
  height: 28px;
  border: 3px solid #d8e4e1;
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.slow-inventory-filter {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.slow-inventory-filter .wide-control {
  grid-column: span 2;
}

.slow-inventory-definition-panel {
  overflow: hidden;
}

.slow-inventory-definition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.slow-inventory-definition-grid > div {
  display: grid;
  gap: 0.28rem;
  min-height: 82px;
  padding: 0.78rem;
  background: #f6f8f7;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.slow-inventory-definition-grid strong {
  color: var(--navy);
  font-size: 0.76rem;
}

.slow-inventory-definition-grid span {
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.55;
}

.inventory-risk-badge {
  display: inline-flex;
  align-items: center;
  min-width: 64px;
  justify-content: center;
  padding: 0.28rem 0.48rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.inventory-risk-badge.severe {
  color: #852d2d;
  background: #f9e7e5;
  border-color: #ecc3bf;
}

.inventory-risk-badge.attention {
  color: #805a10;
  background: #fff3d6;
  border-color: #ecd49f;
}

.inventory-risk-badge.normal {
  color: #236350;
  background: #e6f3ed;
  border-color: #bcdccd;
}

.inventory-risk-badge.unmapped,
.inventory-risk-badge.no_history,
.inventory-risk-badge.short_history {
  color: #5d6570;
  background: #edf0f2;
  border-color: #d0d6da;
}

.compact-action {
  min-height: 30px;
  padding: 0.34rem 0.55rem;
  font-size: 0.68rem;
  white-space: nowrap;
}

.slow-inventory-dialog {
  width: min(1180px, calc(100vw - 2rem));
}

@media (max-width: 1150px) {
  .filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-grid,
  .compact-hero,
  .comparison-grid,
  .database-summary,
  .object-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .database-layout {
    grid-template-columns: 1fr;
  }

  .module-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .new-product-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .slow-inventory-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .slow-inventory-definition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .launch-rhythm-layout {
    grid-template-columns: 1fr;
  }

  .climate-layout {
    grid-template-columns: 1fr;
  }

  .core-climate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .database-catalog-panel {
    position: static;
  }

  .database-object-list {
    max-height: 360px;
  }
}

@media (max-width: 850px) {
  .support-grid,
  .method-layout {
    grid-template-columns: 1fr;
  }

  .module-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .new-product-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dimension-controls,
  .product-table-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .row-query-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .data-status {
    align-self: stretch;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 1rem, 1500px);
  }

  .filter-heading,
  .section-heading,
  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-grid,
  .hero-grid,
  .compact-hero,
  .comparison-grid,
  .database-summary,
  .object-stats,
  .row-query-controls,
  .catalog-filter-row {
    grid-template-columns: 1fr;
  }

  .module-filter,
  .report-family-grid {
    grid-template-columns: 1fr;
  }

  .new-product-filter,
  .dimension-summary-grid,
  .dimension-controls,
  .product-table-controls {
    grid-template-columns: 1fr;
  }

  .inner-tabs {
    display: flex;
    width: 100%;
  }

  .inner-tab {
    flex: 1 0 max-content;
  }

  .slow-inventory-definition-grid {
    grid-template-columns: 1fr;
  }

  .slow-inventory-filter .wide-control {
    grid-column: auto;
  }

  .inline-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .export-status {
    align-items: stretch;
    flex-direction: column;
  }

  .launch-rhythm-heading,
  .launch-rhythm-controls {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .launch-rhythm-chart-wrap {
    height: 260px;
  }

  .new-product-compare-chart-wrap {
    height: 250px;
  }

  .series-picker-menu {
    position: fixed;
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
    width: auto;
    max-height: min(58dvh, 440px);
  }

  .product-detail-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    padding: 0.75rem;
  }

  .dialog-heading,
  .dialog-product-summary {
    flex-direction: column;
  }

  .solar-term-band {
    grid-template-columns: repeat(12, minmax(68px, 1fr));
  }

  .pagination-bar {
    flex-wrap: wrap;
  }

  .climate-map-wrap,
  #climateMap {
    min-height: 420px;
    height: 420px;
  }

  .core-climate-grid {
    grid-template-columns: 1fr;
  }

  .row-filter-value {
    grid-column: auto;
  }

  .object-stat-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .object-stat-controls label {
    min-width: 0;
  }

  .tabs {
    overflow-x: auto;
  }

  .tab {
    flex: 0 0 auto;
  }

  .target-ring-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .target-ring-copy {
    width: 100%;
    text-align: center;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .loader {
    animation: none;
  }
}
