:root,
html[data-theme="light"] {
  --font-family-primary: "Apple SD Gothic Neo", "Malgun Gothic", Inter, system-ui, sans-serif;
  --primary: #254c84;
  --secondary: #18365f;
  --accent: #fff;
  --header-color: #f4f8ff;
  --body-fg: #17233a;
  --body-quiet-color: #53647d;
  --darkened-bg: #f6f8fb;
  --selected-bg: #edf4ff;
  --border-color: #dce5f2;
  --link-fg: #1a5cd7;
  --link-hover-color: #164cb3;
  --button-bg: #1a5cd7;
  --button-hover-bg: #164cb3;
  --default-button-bg: #1a5cd7;
  --default-button-hover-bg: #164cb3;
}

html[data-theme="dark"] {
  --primary: #294872;
  --secondary: #213553;
  --link-fg: #a9c7ff;
  --button-bg: #245fc5;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    --primary: #294872;
    --secondary: #213553;
    --link-fg: #a9c7ff;
    --button-bg: #245fc5;
  }
}

#header { min-height: 58px; }
#site-name a { font-weight: 750; letter-spacing: -.04em; }
#changelist-filter { border-radius: 14px; }
.submit-row { border-radius: 12px; }
.button,
input[type="submit"],
input[type="button"],
.object-tools a {
  border-radius: 10px;
  font-weight: 650;
}
.object-tools .export-button {
  min-height: 36px;
  padding: 7px 12px;
  border: 0;
  border-radius: 9px;
  background: var(--button-bg);
  color: var(--button-fg);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.object-tools .export-button:hover { background: var(--button-hover-bg); }

.google-setup { padding: 12px 16px; }
.google-setup summary { cursor: pointer; }
.google-setup code { overflow-wrap: anywhere; }
