@font-face {
  font-family: 'Gaeup Sans';
  src: url('/fonts/gaeup-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f6f7f9;
  --white: #fff;
  --ink: #172234;
  --secondary: #526278;
  --line: #e1e7ef;
  --blue: #205ad6;
  --blue-dark: #1848b1;
  --navy: #10213f;
  --font: 'Gaeup Sans', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.62 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #447ff2;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
strong {
  font-weight: 750;
}
h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.24;
  word-break: keep-all;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 5;
  top: 8px;
  left: 8px;
  padding: 0.6rem 1rem;
  background: white;
  color: var(--blue-dark);
  border-radius: 8px;
}
[hidden] {
  display: none !important;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 234px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 28px 17px 22px;
  background: var(--white);
  border-right: 1px solid var(--line);
}
.brand {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  color: #14233d;
  font-size: 1.28rem;
  font-weight: 850;
  letter-spacing: -0.085em;
}
.sidebar > .brand {
  margin: 0 0 43px 11px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #235bdd;
  position: relative;
}
.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  content: '';
  width: 21px;
  height: 21px;
  position: absolute;
  border: 1px solid #c5d9ff;
  border-radius: 50%;
}
.brand-mark::after {
  width: 13px;
  height: 13px;
}
.brand-mark i {
  width: 5px;
  height: 5px;
  background: #fff;
  border: 0;
}
.brand-mark i::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 1px;
  background: white;
  left: 2px;
  top: 2px;
  transform: rotate(-44deg);
  transform-origin: left center;
}
.side-nav,
.side-bottom {
  display: grid;
  gap: 6px;
}
.side-bottom {
  margin-top: auto;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #435772;
  font-size: 0.875rem;
  font-weight: 650;
  border-radius: 8px;
}
.nav-item:hover,
.nav-item.active {
  background: #eaf1ff;
  color: #194fbf;
}
.icon {
  width: 16px;
  height: 16px;
  flex: none;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  position: relative;
}
.icon-grid {
  background:
    linear-gradient(currentColor 0 0) left top/6px 6px,
    linear-gradient(currentColor 0 0) right top/6px 6px,
    linear-gradient(currentColor 0 0) left bottom/6px 6px,
    linear-gradient(currentColor 0 0) right bottom/6px 6px;
  background-repeat: no-repeat;
  border-radius: 2px;
}
.icon-chart {
  border-bottom: 1.5px solid;
  border-left: 1.5px solid;
  border-radius: 2px;
  background:
    linear-gradient(currentColor 0 0) 3px 6px/2px 8px,
    linear-gradient(currentColor 0 0) 7px 2px/2px 12px,
    linear-gradient(currentColor 0 0) 11px 4px/2px 10px;
  background-repeat: no-repeat;
}
.icon-info {
  border: 1.5px solid;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.icon-info::before {
  content: 'i';
}
.icon-layers::before,
.icon-layers::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 7px;
  border: 1.5px solid;
  border-radius: 2px;
  transform: rotate(-25deg);
}
.icon-layers::after {
  margin-top: 8px;
  clip-path: inset(53% 0 0 0);
}
.sidebar-callout {
  padding: 16px 12px 13px;
  background: #f2f6ff;
  border-radius: 10px;
  margin: 0 2px 10px;
}
.sidebar-callout strong {
  font-size: 0.88rem;
}
.sidebar-callout p {
  font-size: 0.81rem;
  color: var(--secondary);
  margin: 5px 0 13px;
}
.side-action {
  display: block;
  padding: 6px;
  text-align: center;
  border: 1px solid #d5e2ff;
  border-radius: 6px;
  background: white;
  color: var(--blue-dark);
  font-size: 0.84rem;
  font-weight: 750;
}
.workspace {
  margin-left: 234px;
}
.topbar {
  height: 66px;
  padding: 0 36px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--secondary);
}
.breadcrumb span {
  color: #8190a7;
}
.breadcrumb strong {
  color: var(--ink);
}
.mobile-brand,
.mobile-nav {
  display: none;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 43px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 7px 17px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
  transition:
    background-color 180ms ease,
    transform 160ms ease;
}
.button:active {
  transform: scale(0.98);
}
.button-primary {
  background: var(--blue);
  color: white;
}
.button-primary:hover {
  background: var(--blue-dark);
}
.button-compact {
  min-height: 37px;
  padding-inline: 13px;
}
.button-hero {
  background: white;
  color: #1a3c86;
  min-height: 41px;
}
.button-hero:hover {
  background: #e3edff;
}
.main-content {
  max-width: 1320px;
  margin: auto;
  padding: 32px 36px 12px;
}
.hero {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  min-height: 270px;
  display: flex;
  align-items: center;
  background: linear-gradient(114deg, #142747, var(--navy) 59%);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 28px #14274815;
}
.hero-copy {
  z-index: 1;
  padding: 35px clamp(24px, 4vw, 52px);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: #e0ebff;
  font-size: 0.8rem;
  font-weight: 650;
}
.hero-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #89c6ff;
}
.hero h1 {
  margin-top: 9px;
  font-size: clamp(2rem, 4.05vw, 3.44rem);
  letter-spacing: -0.06em;
  line-height: 1.15;
}
.hero p {
  margin: 13px 0 24px;
  color: #d1ddf3;
  line-height: 1.65;
  max-width: 31rem;
}
.radar {
  position: absolute;
  inset: 0 0 0 auto;
  width: 45%;
  min-width: 315px;
  background:
    linear-gradient(90deg, var(--navy), transparent 27%),
    repeating-linear-gradient(0deg, transparent 0 36px, #9fc7ff21 36px 37px),
    repeating-linear-gradient(90deg, transparent 0 36px, #9fc7ff21 36px 37px),
    radial-gradient(ellipse at 60% 70%, #214d83, #172c52 70%);
  overflow: hidden;
}
.radar-disc {
  position: absolute;
  width: min(83%, 344px);
  aspect-ratio: 1;
  top: 50%;
  left: 57%;
  transform: translate(-50%, -50%);
  border: 1px solid #729ce778;
  border-radius: 50%;
  background:
    linear-gradient(
      transparent calc(50% - 0.5px),
      #80a6e960 50%,
      transparent calc(50% + 0.5px)
    ),
    linear-gradient(
      90deg,
      transparent calc(50% - 0.5px),
      #80a6e960 50%,
      transparent calc(50% + 0.5px)
    );
}
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from 25deg,
    transparent 0 45deg,
    #74acfa25 82deg,
    #89c4ff99 109deg,
    transparent 109.4deg
  );
  animation: sweep-in 1.65s cubic-bezier(0.2, 0.65, 0.28, 1) both;
}
@keyframes sweep-in {
  from {
    transform: rotate(-78deg);
    opacity: 0.3;
  }
  to {
    transform: rotate(0);
    opacity: 1;
  }
}
.ring {
  position: absolute;
  border: 1px solid #719ae77c;
  border-radius: 50%;
  inset: 17%;
}
.ring-inner {
  inset: 34%;
}
.radar-pin {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #a6d7ff;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px #b0d7ff35,
    0 0 17px #82c4ff;
}
.pin-first {
  top: 36%;
  left: 65%;
}
.pin-second {
  top: 63%;
  left: 75%;
}
.pin-third {
  top: 57%;
  left: 30%;
  width: 6px;
  height: 6px;
  background: #d1e9ff;
}
.monitor {
  margin-top: 31px;
  scroll-margin-top: 18px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}
.section-heading h2 {
  font-size: 1.67rem;
}
.section-heading p {
  font-size: 0.87rem;
  color: var(--secondary);
  margin-top: 4px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.filters label {
  display: block;
}
.filters select,
.field select,
.field input {
  min-height: 42px;
  width: 100%;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  background-color: #fff;
  color: var(--ink);
  padding: 6px 12px;
}
.filters select,
.field select {
  appearance: none;
  padding-right: 30px;
  background-image:
    linear-gradient(45deg, transparent 50%, #567099 51%),
    linear-gradient(135deg, #567099 50%, transparent 51%);
  background-position:
    calc(100% - 16px) 50%,
    calc(100% - 12px) 50%;
  background-size: 4px 5px;
  background-repeat: no-repeat;
}
.filters select {
  font-size: 0.87rem;
  min-width: 114px;
  font-weight: 650;
}
.data-status {
  padding: 9px 13px;
  margin-bottom: 13px;
  background: #fff5dd;
  border: 1px solid #f1dca5;
  border-radius: 12px;
  color: #62470b;
  font-size: 0.9rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.stat,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 5px #20344b06;
}
.stat {
  padding: 15px 18px;
}
.stat:first-child {
  background: linear-gradient(145deg, #f5f8ff, #fff 68%);
}
.stat > span {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 700;
}
.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1.12;
  margin: 5px 0 6px;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stat-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--secondary);
}
.key {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 4px;
  flex: none;
}
.key-open {
  background: #3068dd;
}
.key-close {
  background: #b5c6e4;
}
.analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: 13px;
  margin-top: 14px;
}
.panel {
  padding: 19px;
  min-height: 260px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 10px;
}
.panel-head h3 {
  font-size: 1.12rem;
}
.panel-head a {
  color: var(--blue-dark);
  font-size: 0.83rem;
  font-weight: 750;
  white-space: nowrap;
}
.panel-head a:hover,
.footer a:hover,
.prose a:hover {
  text-decoration: underline;
}
.legend {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--secondary);
  font-size: 0.8rem;
  white-space: nowrap;
}
.chart {
  min-height: 180px;
}
.chart-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  position: relative;
  padding: 9px 0 0;
  margin: 0;
  list-style: none;
}
.bar-column {
  text-align: center;
  min-width: 0;
}
.bar-button {
  display: block;
  width: 100%;
  padding: 3px 3px 2px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: inherit;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}
.bar-button:hover,
.bar-button[aria-pressed='true'] {
  background: #edf4ff;
  border-color: #dbe8fd;
}
.bar-button[aria-pressed='true'] .bar-label {
  color: var(--blue-dark);
  font-weight: 750;
}
.bar-pair {
  height: 145px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(
    0deg,
    transparent 0 35px,
    #edf1f8 35px 36px
  );
}
.bar {
  display: block;
  max-width: 14px;
  width: 28%;
  min-width: 4px;
  border-radius: 4px 4px 0 0;
  transform-origin: center bottom;
  animation: rise-in 500ms cubic-bezier(0.22, 0.68, 0.22, 1) both;
}
@keyframes rise-in {
  from {
    transform: scaleY(0.35);
    opacity: 0.62;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}
.bar-open {
  background: #346de2;
}
.bar-close {
  background: #b5c6e4;
}
.bar-label {
  font-size: 0.74rem;
  color: var(--secondary);
  display: block;
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}
.chart-detail {
  margin-top: 8px;
  min-height: 21px;
  color: var(--secondary);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}
.signal-filters {
  display: flex;
  gap: 3px;
  width: fit-content;
  margin-bottom: 6px;
  padding: 3px;
  border-radius: 12px;
  background: #edf1f7;
}
.signal-filters button {
  min-width: 52px;
  min-height: 37px;
  padding: 4px 8px;
  background: transparent;
  color: var(--secondary);
  border: 0;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 690;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}
.signal-filters button[aria-pressed='true'] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px #233d6221;
}
.signal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.signal-row {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  border-bottom: 1px solid #edf1f7;
  padding: 8px 0;
}
.signal-row:last-child {
  border-bottom: 0;
}
.signal-subject {
  min-width: 0;
}
.signal-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.signal-detail,
.signal-row time {
  display: block;
  font-size: 0.8rem;
  color: var(--secondary);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.event-badge {
  min-width: 36px;
  padding: 2px 5px;
  text-align: center;
  border-radius: 4px;
  background: #eaf2ff;
  color: #174cb8;
  font-size: 0.74rem;
  font-weight: 750;
}
.event-badge.close {
  background: #f2f0f9;
  color: #5c466d;
}
.empty {
  padding: 29px 4px;
  color: var(--secondary);
  font-size: 0.9rem;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 0 8px;
  color: var(--secondary);
  font-size: 0.86rem;
}
.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer > span {
  font-weight: 750;
  color: var(--ink);
}
dialog {
  width: min(96vw, 480px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  box-shadow: 0 18px 90px #10274640;
}
dialog::backdrop {
  background: #0c172b75;
  backdrop-filter: blur(3px);
}
body.dialog-open {
  overflow: hidden;
}
dialog[open] {
  animation: sheet-in 240ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.dialog-header h2 {
  font-size: 1.42rem;
}
.dialog-close {
  color: var(--secondary);
  border: 0;
  background: none;
  font-size: 1.75rem;
  line-height: 1;
  padding: 4px 8px;
}
#subscribe-form > p {
  font-size: 0.91rem;
  margin: 9px 0 15px;
  color: var(--secondary);
}
.field {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 700;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 11px 0;
}
.consent {
  display: flex;
  align-items: start;
  gap: 7px;
  font-size: 0.88rem;
  color: var(--secondary);
}
.consent input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--blue);
}
.consent a,
.prose a:not(.button) {
  text-decoration: underline;
  color: var(--blue-dark);
  text-underline-offset: 3px;
}
.form-submit {
  margin-top: 14px;
  width: 100%;
}
.form-status {
  border-left: 3px solid var(--blue);
  padding: 7px 10px;
  background: #eef5ff;
}
.form-status.error {
  color: #8c3020 !important;
  background: #fff2ef;
  border-left-color: #be5534;
}
.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1030px;
  margin: auto;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.content-header nav {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 700;
}
.prose {
  background: #fff;
  margin: 24px auto;
  max-width: 982px;
  padding: clamp(18px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.prose h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 12px;
}
.prose h2 {
  font-size: 1.3rem;
  margin: 24px 0 8px;
}
.prose h3 {
  margin: 12px 0 5px;
}
.prose p {
  max-width: 46em;
  margin: 8px 0 13px;
}
.prose ul {
  padding-left: 21px;
}
.prose li {
  margin-bottom: 4px;
}
.prose .source-list {
  columns: 2;
}
.prose .table-wrap {
  overflow: auto;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.prose th,
.prose td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}
.prose th {
  background: #f0f5ff;
}
.content-footer {
  padding: 2px 24px 24px;
  max-width: 1030px;
  margin: auto;
  color: var(--secondary);
  font-size: 0.88rem;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.plan {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.plan strong {
  font-size: 1.2rem;
}
.prose form .button {
  margin-top: 8px;
}
.prose form {
  max-width: 34rem;
}
@media (max-width: 1110px) {
  .sidebar {
    width: 197px;
  }
  .workspace {
    margin-left: 197px;
  }
  .topbar,
  .main-content {
    padding-inline: 24px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    display: none;
  }
  .workspace {
    margin: 0;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: flex;
  }
  .mobile-nav {
    position: fixed;
    z-index: 2;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fbfcffef;
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 5px 8px max(5px, env(safe-area-inset-bottom));
  }
  .mobile-nav a {
    min-height: 46px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    text-align: center;
    color: var(--secondary);
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 650;
  }
  .mobile-nav a[aria-current='page'] {
    color: var(--blue-dark);
  }
  .workspace,
  .content-page {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
  .content-header nav a:not(:last-child) {
    display: none;
  }
  .hero h1 {
    font-size: clamp(2rem, 6.3vw, 3.1rem);
  }
}
@media (max-width: 590px) {
  .main-content {
    padding: 14px 14px 8px;
  }
  .topbar {
    height: 58px;
    padding-inline: 14px;
  }
  .brand {
    font-size: 1.13rem;
    gap: 7px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .hero {
    min-height: 215px;
    border-radius: 20px;
  }
  .hero-copy {
    padding: 19px 16px;
  }
  .hero p {
    max-width: 19rem;
    font-size: 0.92rem;
    margin: 10px 0 16px;
  }
  .hero h1 {
    font-size: clamp(1.75rem, 7.3vw, 2.35rem);
  }
  .radar {
    width: 54%;
    min-width: 160px;
    opacity: 0.56;
  }
  .radar-disc {
    width: 132%;
    left: 84%;
  }
  .monitor {
    margin-top: 22px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 12px;
    gap: 9px;
  }
  .section-heading h2 {
    font-size: 1.37rem;
  }
  .filters {
    width: 100%;
  }
  .filters label {
    flex: 1;
    min-width: 0;
  }
  .filters select {
    min-width: 0;
    min-height: 44px;
    font-size: 1rem;
  }
  .stats {
    gap: 6px;
  }
  .stat {
    padding: 10px 8px;
  }
  .stat > span,
  .stat-note {
    font-size: 0.73rem;
  }
  .stat strong {
    font-size: 1.66rem;
  }
  .stat-note .key {
    display: none;
  }
  .analysis-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    min-height: 0;
    padding: 13px;
  }
  .chart-bars {
    gap: 2px;
  }
  .bar-button {
    padding-inline: 2px;
  }
  dialog {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 20px 18px max(22px, env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
  }
  .field input,
  .field select {
    font-size: 1rem;
  }
  .footer {
    align-items: start;
    gap: 8px;
  }
  .footer div {
    justify-content: end;
    gap: 7px;
    font-size: 0.78rem;
  }
  .prose {
    margin: 12px;
  }
  .content-header {
    padding: 10px 12px;
  }
  .content-header nav {
    gap: 8px;
    font-size: 0.78rem;
  }
  .prose .source-list {
    columns: 1;
  }
  .plans {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
