:root {
  --paper: #fecd8c;
  --ink: #001317;
  --muted: #455152;
  --cream: #fff1d7;
  --coral: #ec785d;
  --lilac: #bdb8dd;
  --mint: #b7d0b2;
  --line: rgba(0, 19, 23, .25);
  --max: 1240px;
  font-family: Arial, "Noto Sans CJK KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-synthesis-weight: none
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  min-width: 320px
}

button,
input,
select {
  font: inherit;
  color: inherit
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent
}

button {
  cursor: pointer
}

button {
  border: 0;
  background: none
}

button:disabled {
  cursor: not-allowed;
  opacity: .5
}

a {
  color: inherit
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px
}

button:focus-visible {
  border-radius: 5px
}

svg {
  display: block
}

p,
h1,
h2,
h3,
h4 {
  margin: 0
}

button svg {
  pointer-events: none
}

[hidden] {
  display: none !important
}

.wrap {
  width: min(var(--max), calc(100% - 104px));
  margin-inline: auto
}

.skip-link {
  position: fixed;
  left: 20px;
  top: 16px;
  padding: 15px;
  background: var(--cream);
  transform: translateY(-160%);
  z-index: 30
}

.skip-link:focus {
  transform: translateY(0)
}

.mode-banner {
  min-height: 35px;
  padding: 8px 20px;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: .02em;
  line-height: 1.7
}

.mode-banner b {
  font-size: 11px;
  margin-right: 13px;
  letter-spacing: .12em
}

.mode-banner a {
  margin-left: 18px;
  text-underline-offset: 3px
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 117px;
  border-bottom: 1px solid var(--line);
  gap: 24px
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .07em
}

.wordmark b {
  font-size: 17px;
  letter-spacing: .11em
}

.wordmark svg {
  width: 45px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 33px
}

.desktop-nav button {
  padding: 13px 2px;
  font-size: 14px;
  border-bottom: 2px solid transparent
}

.desktop-nav button[aria-current="page"] {
  border-bottom-color: var(--ink);
  font-weight: 700
}

.desktop-nav span {
  font-size: 10px;
  vertical-align: super;
  margin-left: 4px
}

.account-button {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0
}

.account-button>span:last-child {
  font-size: 18px;
  margin-left: 14px
}

.status-dot {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0
}

.intro {
  padding: 65px 0 55px;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 55px;
  align-items: end
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .13em;
  font-weight: 700;
  line-height: 1.7
}

.intro .eyebrow {
  display: flex;
  gap: 10px;
  align-items: center
}

.eyebrow-separator {
  margin: 0 3px;
  opacity: .5
}

h1 {
  font-size: clamp(42px, 4.9vw, 69px);
  font-weight: 700;
  line-height: 1.23;
  letter-spacing: -.065em;
  margin: 25px 0 23px;
  position: relative;
  display: inline-block
}

h1>span {
  font-weight: 400
}

.heading-star {
  width: 55px;
  position: absolute;
  right: -90px;
  top: 57px;
  stroke: currentColor;
  stroke-width: 2.4;
  transform: rotate(8deg)
}

.intro-description {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: -.025em;
  color: #253739
}

.daily-note {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 15px 0 14px;
  margin-bottom: 5px
}

.daily-note .eyebrow {
  display: flex;
  justify-content: space-between;
  letter-spacing: .13em
}

.daily-note .eyebrow span {
  font-size: 22px;
  line-height: 1
}

.note-date {
  font-size: 13px;
  margin-top: 10px;
  letter-spacing: -.01em
}

.daily-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 24px 0 21px
}

.daily-counts>div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 18px;
  border-left: 1px solid var(--line)
}

.daily-counts>div:first-child {
  padding-left: 0;
  border-left: 0
}

.daily-counts strong {
  font-size: 40px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums
}

.daily-counts span {
  font-size: 11px
}

.note-foot {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted)
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 23px
}

.section-heading h2 {
  font-size: 29px;
  letter-spacing: -.035em;
  line-height: 1.2
}

.section-heading h2 .small-count {
  font-size: 12px;
  vertical-align: top;
  margin-left: 7px;
  position: relative;
  top: 3px;
  letter-spacing: 0
}

.section-heading .eyebrow {
  margin-bottom: 8px
}

.section-heading .heading-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.7
}

.text-link {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 17px;
  text-underline-offset: 4px;
  padding: 10px 0;
  white-space: nowrap
}

.text-link span {
  font-size: 22px
}

.toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 17px;
  border-top: 1px solid var(--line)
}

.filter-group {
  display: flex;
  gap: 5px;
  flex-wrap: wrap
}

.filter {
  font-size: 11px;
  padding: 8px 14px;
  border-radius: 22px;
  border: 1px solid transparent
}

.filter[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper)
}

.search-control {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 230px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px
}

.search-control svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4
}

.search-control input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 11px;
  padding: 8px 1px;
  outline-offset: 2px
}

.search-control input::placeholder {
  color: #52605d
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 33px
}

.research-card {
  min-width: 0;
  position: relative
}

.oval-open {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 50%;
  text-align: center;
  position: relative;
  isolation: isolate;
  transition: transform .25s ease
}

.oval-open:hover {
  transform: translateY(-5px)
}

.oval-open:focus-visible {
  border-radius: 50%
}

.oval {
  border-radius: 50%;
  aspect-ratio: .82;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 19% 12% 16%;
  background: var(--cream);
  color: var(--ink)
}

.coral .oval {
  background: var(--coral)
}

.lilac .oval {
  background: var(--lilac)
}

.mint .oval {
  background: var(--mint)
}

.ink .oval {
  background: var(--ink);
  color: var(--paper)
}

.card-index {
  position: absolute;
  top: 24px;
  left: 12px;
  font-size: 10px;
  letter-spacing: .04em
}

.oval .mini-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.7
}

.oval .mini-label:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor
}

.oval .metric-value {
  font-size: 68px;
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 400;
  margin-top: 13px
}

.metric-unit {
  font-size: 20px;
  letter-spacing: -.05em;
  margin-left: 4px
}

.metric-label {
  font-size: 10px;
  margin-top: 7px
}

.oval-chart {
  width: 110%;
  margin-top: 12px;
  margin-bottom: 2px;
  overflow: visible
}

.chart-grid {
  stroke: currentColor;
  opacity: .16;
  stroke-width: .6;
  fill: none
}

.chart-main {
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none
}

.chart-baseline {
  stroke: currentColor;
  opacity: .43;
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  fill: none
}

.chart-labels {
  font-size: 9px;
  fill: currentColor;
  opacity: .65
}

.chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 8px;
  line-height: 1.4;
  margin-top: 2px
}

.chart-legend>span {
  display: flex;
  align-items: center;
  gap: 5px
}

.legend-line {
  display: inline-block;
  width: 15px;
  border-top: 2px solid currentColor
}

.legend-line.dashed {
  border-top-style: dashed;
  opacity: .5
}

.oval-bottom {
  font-size: 9px;
  line-height: 1.7;
  margin-top: 16px;
  opacity: .8
}

.oval .quote-mark {
  font-family: Georgia, serif;
  font-size: 75px;
  line-height: .65;
  margin: 20px 0 0
}

.oval .hypothesis-quote {
  font-size: 25px;
  line-height: 1.6;
  letter-spacing: -.05em;
  font-weight: 500;
  margin: 4px 0 19px
}

.oval .relationship {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 9px
}

.relationship>span {
  border: 1px solid currentColor;
  border-radius: 25px;
  padding: 7px 10px
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  font-size: 11px
}

.mini-table th {
  font-weight: 400;
  text-align: left
}

.mini-table td {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums
}

.mini-table tr {
  border-bottom: 1px solid var(--line)
}

.mini-table tr:last-child {
  border: 0
}

.mini-table td,
.mini-table th {
  padding: 10px 0
}

.card-caption {
  padding: 20px 4px 0
}

.card-meta {
  font-size: 9px;
  letter-spacing: .12em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #394845
}

.card-meta .status-pill {
  font-size: 8px;
  letter-spacing: .025em
}

.card-title {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.045em;
  margin: 8px 0 9px
}

.card-title button {
  padding: 0;
  text-align: left;
  font-weight: inherit
}

.card-title button:hover {
  text-decoration: underline;
  text-underline-offset: 5px
}

.card-description {
  font-size: 11px;
  line-height: 1.85;
  color: #394845;
  min-height: 42px;
  word-break: keep-all;
  overflow-wrap: anywhere
}

.card-actions {
  border-top: 1px solid var(--line);
  margin-top: 19px;
  padding-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px
}

.select-button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  padding: 7px 0
}

.selection-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: 11px
}

.select-button[aria-pressed="true"] .selection-box {
  background: var(--ink);
  color: var(--paper)
}

.arrow-button {
  font-size: 25px;
  line-height: 1;
  padding: 5px;
  min-width: 35px
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  border: 1px solid currentColor;
  border-radius: 20px;
  padding: 4px 8px;
  white-space: nowrap
}

.status-pill:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor
}

.status-pill.status-held {
  color: #7a321b
}

.gallery-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 29px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 10px;
  color: var(--muted);
  gap: 15px;
  line-height: 1.8
}

.gallery-summary .text-link {
  color: var(--ink);
  font-size: 11px
}

.process-note {
  border-top: 1px solid var(--ink);
  padding: 29px 0 34px;
  margin-top: 71px
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 22px;
  gap: 15px;
  font-size: 15px;
  letter-spacing: -.035em
}

.process-steps b {
  font-size: 9px;
  display: block;
  margin-bottom: 8px;
  letter-spacing: .04em;
  font-weight: 400
}

.process-steps i {
  font-size: 23px;
  font-style: normal;
  opacity: .6
}

.process-note>p:last-child {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 21px 0 27px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: .03em;
  gap: 15px
}

.site-footer button {
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px
}

.mobile-nav {
  display: none
}

.data-notice {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 29px;
  background: #fff1d740;
  overflow-wrap: anywhere
}

.data-notice button {
  font-size: inherit;
  text-decoration: underline;
  margin-left: 10px
}

.empty-state,
.loading-state {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 35px 20px
}

.empty-oval {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 110px;
  height: 140px;
  display: grid;
  place-content: center;
  font-size: 45px;
  margin-bottom: 24px;
  transform: rotate(20deg)
}

.empty-state h3 {
  font-size: 23px;
  letter-spacing: -.04em;
  font-weight: 500
}

.empty-state p {
  font-size: 12px;
  line-height: 1.9;
  max-width: 390px;
  color: var(--muted);
  margin-top: 14px;
  word-break: keep-all
}

.empty-state .button {
  margin-top: 24px
}

.loading-state {
  min-height: 350px;
  gap: 25px;
  font-size: 12px
}

.loading-orbit {
  height: 75px;
  width: 53px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  animation: orbit 2s linear infinite
}

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

.button {
  border: 1px solid var(--ink);
  border-radius: 30px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 500;
  min-height: 46px;
  line-height: 1.4
}

.button.primary {
  background: var(--ink);
  color: var(--paper)
}

.button.light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper)
}

.button .arrow {
  font-size: 18px
}

.button:hover:not(:disabled) {
  filter: brightness(.93)
}

.selection-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 48px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 25px #0013171f;
  padding: 10px 10px 10px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  z-index: 6;
  min-width: 360px;
  font-size: 12px
}

.selection-dock .button {
  padding: 11px 20px;
  min-height: 40px
}

.selection-dock small {
  font-size: 10px;
  opacity: .6;
  display: block;
  margin-top: 4px
}

.approval-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px
}

.approval-list {
  border-top: 1px solid var(--ink)
}

.approval-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line)
}

.tiny-oval {
  width: 45px;
  height: 60px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-content: center;
  font-size: 11px;
  flex-shrink: 0
}

.tiny-oval.coral {
  background: var(--coral)
}

.tiny-oval.lilac {
  background: var(--lilac)
}

.approval-item h3 {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -.03em
}

.approval-item p {
  font-size: 10px;
  margin-top: 5px;
  color: var(--muted)
}

.approval-item .remove {
  font-size: 20px;
  margin-left: auto;
  padding: 10px
}

.policy-panel {
  border-radius: 25px;
  background: var(--cream);
  padding: 30px
}

.policy-panel h3 {
  font-size: 23px;
  letter-spacing: -.04em;
  font-weight: 500;
  margin: 9px 0 24px
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.7
}

.detail-table tr {
  border-bottom: 1px solid var(--line)
}

.detail-table th {
  text-align: left;
  font-weight: 400;
  padding: 12px 10px 12px 0;
  color: var(--muted)
}

.detail-table td {
  text-align: right;
  padding: 12px 0 12px 10px;
  font-variant-numeric: tabular-nums
}

.detail-table thead {
  font-size: 10px;
  letter-spacing: .03em
}

.detail-table thead th {
  text-align: right
}

.detail-table thead th:first-child {
  text-align: left
}

.policy-panel .button {
  width: 100%;
  margin-top: 25px
}

.consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  line-height: 1.9;
  margin-top: 23px;
  cursor: pointer;
  word-break: keep-all
}

.consent-label input {
  accent-color: var(--ink);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 2px 0 0
}

.policy-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 15px
}

.request-select {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  font-size: 12px;
  margin: 15px 0 20px
}

.section-tabs {
  display: flex;
  gap: 17px;
  margin-top: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px
}

.section-tabs button {
  padding: 10px 0;
  font-size: 12px;
  border-bottom: 2px solid transparent
}

.section-tabs button[aria-pressed="true"] {
  border-color: var(--ink);
  font-weight: 700
}

.product-kind {
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase
}

.product-stat {
  font-size: 41px;
  letter-spacing: -.055em;
  margin-top: 23px;
  white-space: nowrap
}

.product-stat small {
  font-size: 13px;
  letter-spacing: 0
}

.allocation-ring {
  width: 170px;
  height: 170px;
  margin: 20px auto 8px
}

.allocation-ring circle {
  fill: none;
  stroke-width: 16;
  transform: rotate(-90deg);
  transform-origin: 50% 50%
}

.allocation-ring text {
  fill: currentColor;
  text-anchor: middle;
  font-size: 28px;
  letter-spacing: -.04em
}

.allocation-ring .ring-label {
  font-size: 9px;
  letter-spacing: 0
}

.activity-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  align-items: center
}

.activity-row p {
  font-size: 13px;
  line-height: 1.8
}

.activity-row small {
  font-size: 10px;
  color: var(--muted)
}

.history-list {
  margin-top: 35px
}

.history-list h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 18px
}

.detail-dialog {
  color: var(--ink);
  background: var(--cream);
  padding: 0;
  border: 0;
  border-radius: 28px;
  width: min(710px, calc(100% - 36px));
  max-height: calc(100dvh - 60px);
  overscroll-behavior: contain
}

.detail-dialog::backdrop {
  background: #00131780;
  backdrop-filter: blur(5px)
}

.dialog-head {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: var(--cream);
  z-index: 2;
  border-bottom: 1px solid var(--line);
  gap: 12px
}

.dialog-head .eyebrow {
  font-size: 9px
}

.dialog-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 23px;
  flex-shrink: 0
}

.dialog-body {
  padding: 29px 34px 34px
}

.dialog-body h2 {
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -.055em;
  font-weight: 500
}

.dialog-body .subtitle {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 11px
}

.hypothesis-box {
  border-left: 2px solid var(--ink);
  padding: 3px 0 3px 16px;
  margin: 28px 0;
  font-size: 14px;
  line-height: 1.9;
  word-break: keep-all
}

.hypothesis-box .eyebrow {
  font-size: 8px;
  display: block;
  margin-bottom: 8px
}

.detail-chart {
  background: var(--paper);
  border-radius: 18px;
  padding: 25px 24px 15px;
  margin: 25px 0
}

.detail-chart .chart-legend {
  font-size: 10px;
  margin: 14px 0 9px
}

.detail-chart svg {
  width: 100%
}

.chart-caption {
  font-size: 9px;
  text-align: center;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 12px
}

.detail-section-title {
  font-size: 15px;
  font-weight: 500;
  margin: 28px 0 12px
}

.verification-track {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px
}

.verification-track span {
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 9px;
  padding: 7px 10px
}

.detail-footnote {
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
  margin: 20px 0;
  word-break: keep-all;
  overflow-wrap: anywhere
}

.dialog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 28px;
  gap: 15px
}

.dialog-actions small {
  font-size: 10px;
  color: var(--muted)
}

.auth-illustration {
  width: 70px;
  height: 90px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  margin: 5px auto 25px;
  display: grid;
  place-content: center;
  font-size: 30px
}

.auth-body {
  text-align: center;
  padding-bottom: 45px
}

.auth-body p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 18px auto 25px;
  max-width: 380px;
  word-break: keep-all
}

.auth-body .button {
  width: 100%;
  margin-bottom: 12px
}

.auth-field {
  text-align: left;
  margin: 20px 0
}

.auth-field label {
  font-size: 11px;
  display: block;
  margin-bottom: 8px
}

.auth-field input {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px
}

.auth-error {
  color: #923318 !important;
  min-height: 22px
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 102px;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  width: max-content;
  z-index: 25;
  background: var(--ink);
  color: var(--cream);
  padding: 15px 25px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  box-shadow: 0 8px 30px #0013171f
}

.approval-receipt {
  padding: 23px;
  border: 1px solid var(--ink);
  border-radius: 15px;
  margin: 23px 0;
  font-size: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere
}

.approval-receipt strong {
  display: block;
  margin-bottom: 9px;
  font-size: 16px
}

.table-scroll {
  overflow: auto
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 0
}

.policy-list li {
  font-size: 12px;
  padding: 9px 0;
  line-height: 1.8;
  border-bottom: 1px solid var(--line)
}

@media(min-width:1450px) {
  h1 {
    font-size: 72px
  }

  .intro {
    padding-top: 77px;
    padding-bottom: 70px
  }

  .oval .metric-value {
    font-size: 76px
  }

  .oval .hypothesis-quote {
    font-size: 28px
  }

  .gallery {
    gap: 45px
  }

  .oval-chart {
    margin-top: 18px
  }
}

@media(max-width:1090px) {
  .wrap {
    width: calc(100% - 64px)
  }

  .intro {
    grid-template-columns: 1fr 290px;
    gap: 35px
  }

  .heading-star {
    right: -65px;
    width: 43px
  }

  .gallery {
    gap: 22px
  }

  .oval .metric-value {
    font-size: 56px
  }

  .oval .hypothesis-quote {
    font-size: 22px
  }

  .mini-table {
    font-size: 10px;
    margin-top: 13px
  }

  .mini-table td,
  .mini-table th {
    padding: 8px 0
  }

  .oval-bottom {
    margin-top: 10px
  }

  .desktop-nav {
    gap: 22px
  }

  .card-title {
    font-size: 19px
  }

  .process-steps {
    font-size: 13px
  }

  .approval-layout {
    gap: 25px
  }

  .policy-panel {
    padding: 24px
  }

  .chart-legend {
    gap: 8px;
    font-size: 7px
  }

  .oval .mini-label {
    font-size: 8px
  }
}

@media(max-width:790px) {
  .wrap {
    width: calc(100% - 40px)
  }

  .site-header {
    height: 88px
  }

  .desktop-nav {
    display: none
  }

  .wordmark {
    font-size: 9px
  }

  .wordmark b {
    font-size: 14px
  }

  .wordmark svg {
    width: 37px
  }

  .account-button {
    font-size: 10px
  }

  .account-button>span:last-child {
    margin-left: 4px
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 33px;
    padding: 39px 0
  }

  .intro h1 {
    font-size: 54px;
    margin: 21px 0 19px;
    line-height: 1.23
  }

  .heading-star {
    width: 42px;
    top: 53px;
    right: -70px
  }

  .intro-description {
    font-size: 12px;
    line-height: 1.9
  }

  .intro .eyebrow {
    font-size: 9px;
    gap: 7px
  }

  .daily-note {
    padding: 12px 0 10px;
    margin: 0
  }

  .daily-note>.eyebrow {
    font-size: 9px
  }

  .note-date {
    font-size: 11px;
    margin-top: 5px
  }

  .daily-counts {
    margin: 18px 0 16px
  }

  .daily-counts strong {
    font-size: 34px
  }

  .daily-counts span {
    font-size: 10px
  }

  .note-foot {
    font-size: 9px;
    padding-top: 8px
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 24px
  }

  .section-heading h2 {
    font-size: 27px
  }

  .section-heading .eyebrow {
    font-size: 9px
  }

  .oval .metric-value {
    font-size: 59px
  }

  .oval .hypothesis-quote {
    font-size: 23px
  }

  .card-title {
    font-size: 19px
  }

  .process-note {
    margin-top: 44px;
    padding-top: 23px
  }

  .process-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    font-size: 12px
  }

  .process-steps i {
    display: none
  }

  .process-steps b {
    margin-bottom: 6px
  }

  .site-footer {
    padding-bottom: 125px;
    align-items: flex-start;
    flex-wrap: wrap;
    row-gap: 15px
  }

  .site-footer>span:nth-child(2) {
    display: none
  }

  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(67px + env(safe-area-inset-bottom));
    padding: 7px 20px calc(7px + env(safe-area-inset-bottom));
    align-items: center;
    justify-content: space-around;
    background: var(--paper);
    border-top: 1px solid var(--ink);
    z-index: 10
  }

  .mobile-nav button {
    width: 30%;
    padding: 3px 0;
    color: #52605d;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    min-height: 48px
  }

  .mobile-nav button[aria-current="page"] {
    color: var(--ink);
    font-weight: 700
  }

  .mobile-nav svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5
  }

  .mobile-nav small {
    font-size: 8px;
    vertical-align: super;
    margin-left: 2px
  }

  .selection-dock {
    bottom: calc(80px + env(safe-area-inset-bottom));
    width: calc(100% - 32px);
    min-width: 0;
    max-width: 470px;
    padding-left: 20px;
    gap: 12px;
    font-size: 11px
  }

  .selection-dock .button {
    font-size: 11px;
    padding: 11px 17px
  }

  .approval-layout {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .policy-panel {
    padding: 25px
  }

  .detail-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 25px);
    border-radius: 22px
  }

  .dialog-head {
    padding: 14px 20px
  }

  .dialog-body {
    padding: 24px
  }

  .dialog-body h2 {
    font-size: 28px
  }

  .dialog-actions {
    flex-wrap: wrap
  }

  .detail-table {
    font-size: 11px
  }

  .toast {
    bottom: 160px
  }

  .activity-row {
    grid-template-columns: 65px 1fr;
    gap: 13px
  }

  .activity-row .status-pill {
    grid-column: 2;
    justify-self: start;
    font-size: 9px
  }

  .process-note>p:last-child {
    font-size: 9px
  }

  .toolbar {
    padding-top: 10px;
    gap: 6px
  }

  .filter {
    padding: 8px 10px;
    font-size: 10px
  }

  .search-control {
    max-width: 185px
  }

  .heading-subtitle {
    font-size: 11px !important
  }
}

@media(max-width:500px) {
  .mode-banner {
    padding: 8px 15px;
    font-size: 9px;
    text-align: left
  }

  .mode-banner b {
    font-size: 9px;
    margin-right: 8px;
    letter-spacing: .04em
  }

  .mode-banner a {
    margin-left: 8px;
    white-space: nowrap
  }

  .wrap {
    width: calc(100% - 36px)
  }

  .intro h1 {
    font-size: 43px
  }

  .heading-star {
    width: 37px;
    right: -63px;
    top: 43px
  }

  .intro {
    padding-top: 31px;
    gap: 28px;
    padding-bottom: 34px
  }

  .intro-copy>.eyebrow {
    font-size: 8px;
    letter-spacing: .065em
  }

  .section-heading {
    margin-bottom: 20px;
    align-items: start
  }

  .section-heading h2 {
    font-size: 25px
  }

  .section-heading .text-link {
    font-size: 10px;
    gap: 6px;
    padding: 20px 0 0
  }

  .section-heading .text-link span {
    font-size: 17px
  }

  .toolbar {
    flex-wrap: wrap;
    margin-bottom: 9px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
    gap: 8px
  }

  .search-control {
    max-width: 145px;
    border-bottom: 0
  }

  .search-control input {
    font-size: 10px
  }

  .filter {
    font-size: 9px;
    padding: 7px 10px
  }

  .gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    gap: 21px;
    margin-inline: -18px;
    padding: 10px 18px 19px;
    scrollbar-width: thin;
    scrollbar-color: var(--ink) transparent;
    align-items: start
  }

  .research-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    max-width: 330px
  }

  .oval {
    aspect-ratio: .82;
    padding: 19% 12% 16%
  }

  .oval .metric-value {
    font-size: 64px
  }

  .oval .hypothesis-quote {
    font-size: 25px
  }

  .oval .mini-label {
    font-size: 9px
  }

  .oval-chart {
    margin-top: 12px
  }

  .oval-bottom {
    font-size: 9px;
    margin-top: 15px
  }

  .chart-legend {
    font-size: 8px;
    gap: 12px
  }

  .mini-table {
    font-size: 11px;
    margin-top: 20px
  }

  .mini-table td,
  .mini-table th {
    padding: 10px 0
  }

  .card-caption {
    padding-top: 18px
  }

  .card-title {
    font-size: 20px
  }

  .card-description {
    font-size: 11px;
    min-height: 42px
  }

  .card-index {
    top: 20px;
    left: 5px
  }

  .card-actions {
    margin-top: 14px
  }

  .gallery-summary {
    margin-top: 14px;
    font-size: 9px;
    align-items: start
  }

  .gallery-summary .text-link {
    font-size: 10px;
    gap: 4px;
    padding-top: 0
  }

  .gallery-summary>span {
    max-width: 220px
  }

  .gallery-summary .text-link span {
    font-size: 16px
  }

  .intro-description {
    font-size: 12px
  }

  .empty-state {
    min-height: 350px
  }

  .empty-state h3 {
    font-size: 20px
  }

  .empty-state p {
    font-size: 11px
  }

  .product-stat {
    font-size: 36px
  }

  .policy-panel {
    padding: 22px
  }

  .dialog-body {
    padding: 22px 20px 27px
  }

  .detail-chart {
    padding: 20px 14px 13px
  }

  .dialog-body h2 {
    font-size: 25px
  }

  .hypothesis-box {
    font-size: 13px
  }

  .dialog-actions .button {
    width: 100%
  }

  .dialog-actions small {
    order: 2
  }

  .detail-dialog {
    max-height: calc(100dvh - 18px)
  }

  .auth-body {
    padding-bottom: 32px
  }

  .section-tabs {
    gap: 20px;
    margin-top: 20px
  }

  .section-tabs button {
    font-size: 11px
  }

  .process-steps {
    font-size: 12px
  }

  .process-note .eyebrow {
    font-size: 8px
  }

  .button {
    font-size: 11px
  }

  .daily-counts>div {
    padding-left: 22px
  }

  .research-card .product-stat {
    font-size: 35px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}

/* Keep primary actions easy to tap and the first discovery close on small phones. */
@media(max-width:790px) {

  .select-button,
  .arrow-button,
  .remove,
  .dialog-close {
    min-height: 44px;
    min-width: 44px
  }

  .account-button {
    min-height: 44px
  }

  .filter {
    min-height: 38px
  }

  .section-heading .text-link {
    min-height: 44px
  }

  .site-footer button {
    min-height: 44px
  }

  .dialog-close {
    width: 44px;
    height: 44px
  }
}

@media(max-width:500px) {
  .daily-note>.eyebrow {
    font-size: 8px
  }

  .note-date {
    font-size: 10px
  }

  .daily-counts {
    margin: 13px 0
  }

  .daily-counts strong {
    font-size: 30px
  }

  .daily-counts span {
    font-size: 9px
  }

  .note-foot {
    display: none
  }

  .intro {
    gap: 23px;
    padding-bottom: 30px
  }

  .daily-note {
    padding-bottom: 0
  }

  .intro h1 {
    margin-top: 18px;
    margin-bottom: 16px
  }

  .intro-description {
    font-size: 11px
  }

  .gallery {
    scrollbar-width: auto
  }

  .approval-item h3 button {
    padding: 8px 0;
    min-height: 44px;
    text-align: left
  }

  .activity-row .text-link {
    font-size: 10px;
    white-space: normal
  }
}

.google-signin {
  display: flex;
  justify-content: center;
  min-height: 46px;
  margin: 24px auto;
  max-width: 360px;
  width: 100%
}

.policy-details {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px
}

.policy-details summary {
  font-size: 11px;
  line-height: 1.9;
  cursor: pointer;
  padding: 6px 0
}

.policy-details td {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 240px;
  white-space: pre-line
}

.policy-details th {
  min-width: 100px
}

.policy-details code {
  overflow-wrap: anywhere;
  font-size: 9px
}

.policy-details .detail-table {
  font-size: 10px
}

.hypothesis-quote {
  overflow-wrap: anywhere
}

.card-title,
.card-description {
  overflow-wrap: anywhere
}
