html[data-theme="light"] {
  --info-bg: #fff;
  --info-ink: #111;
  --info-muted: #616161;
  --info-line: #e2e2e2;
}
html[data-theme="dark"] {
  --info-bg: #0b0b0b;
  --info-ink: #f6f6f6;
  --info-muted: #aaa;
  --info-line: #353535;
}
html[data-theme], html[data-theme] body {
  color: var(--info-ink);
  background: var(--info-bg);
  font-family: Inter, "Noto Sans JP", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
  letter-spacing: .005em;
  line-height: 1.65;
}
.info-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 6px;
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  max-width: none;
  min-height: 76px;
  padding: calc(12px + env(safe-area-inset-top)) max(20px, calc((100vw - 960px) / 2)) 12px;
  border-bottom: 1px solid var(--info-line);
  background: color-mix(in srgb, var(--info-bg) 95%, transparent);
  backdrop-filter: blur(16px);
}
.info-header-center {
  min-width: 0;
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-header-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--info-line);
  border-radius: 9px;
  object-fit: cover;
}
.info-header-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.info-header .info-header-copy > strong {
  display: block;
  margin: 0;
  color: var(--info-ink);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.info-header .ckas-back-button {
  border: 1px solid var(--info-line) !important;
  border-radius: 8px !important;
  color: var(--info-ink) !important;
  background: var(--info-bg) !important;
  box-shadow: none !important;
}
.info-header .ckas-wordmark,
.info-header .ckas-wordmark strong,
.info-header > div > strong { color: var(--info-ink) !important; }
.info-theme-toggle {
  grid-column: 3;
  justify-self: end;
  width: 42px;
  height: 42px;
  margin-left: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--info-line);
  border-radius: 8px;
  color: var(--info-ink);
  background: var(--info-bg);
  cursor: pointer;
}
.info-theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-main { max-width: 1000px; padding-top: 34px; }
.info-card {
  border-color: var(--info-line);
  border-radius: 12px;
  color: var(--info-ink);
  background: var(--info-bg);
  box-shadow: none;
}
.info-card h1, .info-card h2, .info-card h3 { color: var(--info-ink); }
.info-card p, .info-card li, .info-links { color: var(--info-muted); }
.info-card a { color: var(--info-ink); }
.info-links a[aria-current="page"] {
  color: var(--info-muted);
  font-weight: 600;
  text-decoration: none;
}
.contact-box { border: 1px solid var(--info-line); background: var(--info-bg); }
.back-to-top {
  border: 1px solid var(--info-line) !important;
  border-radius: 8px !important;
  color: var(--info-ink) !important;
  background: var(--info-bg) !important;
  box-shadow: none !important;
}
.info-theme-toggle:focus-visible,
.info-header a:focus-visible,
.info-card a:focus-visible { outline: 2px solid var(--info-ink); outline-offset: 3px; }
@media (max-width: 520px) {
  .info-header { padding-inline: 14px; }
  .info-header-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .info-header-center { gap: 6px; }
  .info-header .info-header-copy > strong { font-size: 14px; }
  .info-main { padding: 22px 14px 58px; }
  .info-card { padding: 24px 19px; }
}
