:root {
  --bg: #f3f1ee;
  --surface: #ffffff;
  --surface-soft: #faf8f6;
  --surface-muted: #f0ece8;
  --ink: #171414;
  --ink-soft: #635d59;
  --brand: #f01c28;
  --brand-dark: #bf111b;
  --brand-soft: #fff1f2;
  --line: #ddd6cf;
  --line-strong: #b8aea6;
  --shadow: 0 14px 34px rgba(23, 20, 20, 0.06);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(240, 28, 40, 0.06), transparent 22%),
    linear-gradient(180deg, #f7f5f2 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92em;
}

.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 20, 20, 0.08);
}

.site-header__inner,
.site-main,
.site-footer__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 0;
}

.site-main {
  display: grid;
  gap: 24px;
  padding: 28px 0 48px;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.flow-step__index {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  font-weight: 700;
}

.flow-step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.flow-step p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.flow-step.is-current {
  border-color: rgba(240, 28, 40, 0.24);
  background: linear-gradient(180deg, #fff6f6 0%, #ffffff 100%);
  box-shadow: var(--shadow);
}

.flow-step.is-current .flow-step__index,
.flow-step.is-complete .flow-step__index {
  background: var(--brand);
  color: #ffffff;
}

.flow-step.is-complete {
  border-color: rgba(15, 107, 68, 0.2);
  background: #f4fbf7;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 320px;
  min-width: 0;
}

.brand img {
  width: 220px;
  height: auto;
  flex: 0 0 auto;
}

.brand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand small,
.footer-meta p,
.detail-header__meta span {
  color: var(--ink-soft);
}

.brand strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand small {
  font-size: 0.83rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1 520px;
  justify-content: flex-end;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--brand);
  border-color: rgba(240, 28, 40, 0.14);
  background: rgba(240, 28, 40, 0.05);
}

.hero,
.section-grid,
.detail-layout,
.poster-layout,
.page-header,
.auth-layout {
  display: grid;
  gap: 20px;
}

.hero {
  grid-template-columns: 1.3fr 0.9fr;
  align-items: stretch;
}

.hero__content,
.hero__panel,
.panel,
.success-panel,
.alert,
.poster-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero__content {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-top: 6px solid var(--brand);
}

.hero__content::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: 200px;
  height: 120px;
  background: url("/brand/daehan-mark.png") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}

.hero__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.eyebrow,
.footer-eyebrow,
.poster-tag {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.14rem;
  line-height: 1.18;
}

.hero__lead,
.panel p,
.poster-copy,
.detail-copy,
.empty-state p,
.success-panel p,
.page-header p,
.callout p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.hero__actions,
.stacked-actions,
.form-grid__actions,
.success-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions {
  margin-top: 24px;
}

.hero__note {
  margin-top: 22px;
  padding: 16px 18px;
  max-width: 720px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border-left: 4px solid var(--brand);
}

.inline-track-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 20, 20, 0.08);
}

.inline-track-form--large {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
}

.inline-track-form__field {
  flex: 1 1 240px;
}

.inline-track-form__field span {
  font-size: 0.85rem;
}

.quick-links,
.preset-grid {
  display: grid;
  gap: 14px;
}

.quick-links {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.quick-link-card,
.preset-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.quick-link-card:hover,
.preset-card:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 28, 40, 0.24);
  background: #ffffff;
}

.quick-link-card strong,
.preset-card strong {
  font-size: 1rem;
}

.quick-link-card p,
.preset-card p {
  color: var(--ink-soft);
  line-height: 1.55;
}

.preset-card {
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(240, 28, 40, 0.18);
}

.button--primary:hover {
  background: var(--brand-dark);
}

.button--secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line-strong);
}

.button--disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.button--ghost {
  color: var(--ink-soft);
  background: var(--surface-soft);
  border-color: var(--line);
}

.metric-card {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
}

.metric-card span {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.metric-card strong {
  font-size: 1.9rem;
  line-height: 1;
}

.metric-card small {
  color: var(--ink-soft);
}

.section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-entry-layout,
.track-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.report-entry-layout {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
}

.panel,
.success-panel,
.alert,
.poster-preview {
  padding: 26px;
}

.panel--highlight {
  position: relative;
  background: #171414;
  color: #ffffff;
  border-color: #171414;
}

.panel--highlight::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--brand);
}

.panel--highlight .eyebrow,
.panel--highlight p,
.panel--highlight h2 {
  color: inherit;
}

.steps,
.check-list,
.poster-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.step strong {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(240, 28, 40, 0.18);
  color: #ffffff;
  font-weight: 800;
}

.check-list li,
.poster-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.check-list li::before,
.poster-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.section-block {
  display: grid;
  gap: 18px;
}

.section-heading,
.page-header {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.report-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.report-card__top,
.detail-header__meta,
.poster-brand,
.summary-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.folio {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-pill--nuevo {
  color: #8c5300;
  background: #fff3d8;
}

.status-pill--en-revision {
  color: #8a1b23;
  background: #ffe6e8;
}

.status-pill--en-proceso {
  color: #171414;
  background: #ece7e3;
}

.status-pill--resuelto {
  color: #0f6b44;
  background: #dff4e9;
}

.status-pill--no-procede {
  color: #6a3232;
  background: #f5e5e5;
}

.priority-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.priority-pill--urgente {
  color: #ffffff;
  background: #9d0d16;
}

.priority-pill--alta {
  color: #8c5300;
  background: #fff0cc;
}

.priority-pill--media {
  color: #1f4d87;
  background: #e5f0ff;
}

.priority-pill--baja {
  color: #0f6b44;
  background: #dff4e9;
}

.visibility-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.visibility-pill--pending {
  color: #8c5300;
  background: #fff3d8;
}

.visibility-pill--public {
  color: #0f6b44;
  background: #dff4e9;
}

.report-card__meta,
.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
}

.report-card__meta dt,
.detail-meta dt {
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.report-card__meta dd,
.detail-meta dd {
  margin: 0;
  font-weight: 700;
}

.report-card__update {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.report-card__update span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.text-link {
  color: var(--brand);
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
}

.page-header {
  align-items: start;
}

.admin-session {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.admin-session-card {
  display: grid;
  gap: 2px;
  min-width: 180px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.admin-session-card span,
.admin-session-card small {
  color: var(--ink-soft);
}

.admin-session-card strong {
  font-size: 1rem;
}

.callout {
  max-width: 360px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border-top: 4px solid var(--brand);
}

.track-panel__card {
  min-height: 100%;
}

.track-panel__card--strong {
  background:
    radial-gradient(circle at top right, rgba(240, 28, 40, 0.08), transparent 34%),
    #ffffff;
  border-top: 6px solid var(--brand);
}

.admin-queue-grid,
.admin-focus-list,
.admin-command-bar {
  display: grid;
  gap: 16px;
}

.admin-queue-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-queue-card,
.admin-focus-card,
.admin-mini-card,
.admin-preview-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #ffffff;
}

.admin-queue-card {
  border-top: 5px solid var(--brand);
}

.admin-queue-card--overdue,
.admin-mini-card--overdue {
  border-color: rgba(157, 13, 22, 0.32);
  background: #fff6f5;
}

.admin-queue-card strong {
  font-size: 2rem;
  line-height: 1;
}

.admin-queue-card p,
.admin-focus-card p,
.admin-mini-card span,
.admin-preview-card p {
  color: var(--ink-soft);
}

.admin-focus-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-focus-card--pending {
  border-top: 5px solid #8c5300;
}

.admin-command-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: stretch;
}

.admin-mini-card span {
  font-size: 0.84rem;
}

.admin-mini-card strong {
  font-size: 1.1rem;
}

.admin-preview-card {
  margin-bottom: 18px;
  background: linear-gradient(180deg, #fffaf7 0%, #ffffff 100%);
}

.admin-preview-card h3 {
  font-size: 1.3rem;
}

.admin-preview-update {
  margin-top: 6px;
}

.admin-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.summary-strip {
  gap: 14px;
}

.summary-strip div {
  display: grid;
  gap: 2px;
  min-width: 102px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-lg);
}

.summary-strip strong {
  font-size: 1.75rem;
}

.summary-strip span {
  color: var(--ink-soft);
}

.filters-panel,
.table-panel,
.form-panel {
  overflow: hidden;
}

.filters,
.form-grid {
  display: grid;
  gap: 18px;
}

.filters {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) auto;
  align-items: end;
}

.filters__search {
  min-width: 220px;
}

.filters__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.toggle--compact {
  align-content: end;
  grid-template-columns: auto 1fr;
  min-height: 48px;
}

.due-date {
  color: var(--ink-soft);
  white-space: nowrap;
}

.due-date--overdue {
  color: #9d0d16;
  font-weight: 800;
}

.confidential-contact {
  display: grid;
  gap: 5px;
  margin: 18px 0;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(140, 83, 0, 0.24);
  background: #fff9ea;
}

.confidential-contact span,
.confidential-contact small {
  color: var(--ink-soft);
}

.confidential-contact span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.confidential-contact a {
  color: var(--brand-dark);
  font-weight: 800;
}

label,
.toggle {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

label span,
.toggle span {
  font-size: 0.92rem;
}

.field-hint,
.char-count,
.copy-feedback {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.field-inline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--ink);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(240, 28, 40, 0.14);
  border-color: rgba(240, 28, 40, 0.65);
}

.form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-summary-card {
  grid-column: 2;
}

.form-grid__wide {
  grid-column: 1 / -1;
}

.toggle {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.alert {
  display: grid;
  gap: 12px;
}

.alert ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.alert--error {
  border-color: #efc0c4;
  background: #fff4f5;
}

.alert--success {
  border-color: #b7dfcb;
  background: #eff9f3;
}

.success-panel {
  text-align: center;
  padding: 52px 28px;
  border-top: 6px solid var(--brand);
}

.success-panel span {
  color: var(--brand);
}

.success-panel__folio {
  margin-top: 18px;
}

.success-panel__folio code {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 700;
}

.success-panel__hint {
  margin-top: 14px;
}

.copy-feedback {
  min-height: 1.45em;
  margin-top: 12px;
}

.detail-layout {
  grid-template-columns: 1.08fr 0.92fr;
}

.detail-layout--admin {
  grid-template-columns: 0.88fr 1.12fr;
}

.detail-copy {
  white-space: pre-line;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.timeline--compact {
  margin-top: 22px;
}

.detail-actions {
  margin-top: 18px;
}

.timeline__item {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border-left: 4px solid var(--brand);
}

.timeline__item span {
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-family: "IBM Plex Mono", monospace;
}

.poster-layout {
  grid-template-columns: 1.04fr 0.96fr;
  align-items: start;
}

.poster-preview {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  min-height: 100%;
  padding: 34px;
  background: #ffffff;
  color: var(--ink);
  border-top: 8px solid var(--brand);
}

.poster-preview h1 {
  max-width: 760px;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
}

.poster-brand {
  gap: 14px;
}

.poster-brand img {
  width: 280px;
}

.poster-brand p {
  margin-bottom: 4px;
  color: var(--ink-soft);
}

.poster-qr {
  width: min(300px, 100%);
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.poster-callout,
.poster-alert {
  width: min(100%, 620px);
}

.poster-callout code,
.poster-alert code {
  word-break: break-word;
}

.poster-list li {
  color: var(--ink-soft);
}

.auth-layout {
  justify-content: center;
}

.auth-panel {
  width: min(560px, 100%);
  margin: 0 auto;
  border-top: 6px solid var(--brand);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.data-table small {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px dashed var(--line-strong);
}

.empty-state--page {
  justify-items: start;
}

.metric-card--accent {
  background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
  border-color: rgba(240, 28, 40, 0.18);
}

.internal-chart {
  width: 100%;
  min-height: 280px;
  height: 280px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
}

.crypto-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  align-items: end;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 6px solid #171414;
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.crypto-app-body {
  background: linear-gradient(180deg, #eef3f1 0%, #f7f7f4 44%, #f0efeb 100%);
}

.crypto-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 249, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 20, 20, 0.08);
}

.crypto-header__inner,
.crypto-footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.crypto-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 14px 0;
}

.crypto-main {
  width: min(1180px, calc(100% - 32px));
}

.crypto-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.crypto-brand__mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #171414;
  color: #ffffff;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}

.crypto-brand span:not(.crypto-brand__mark) {
  display: grid;
  gap: 2px;
}

.crypto-brand strong {
  font-size: 1rem;
  font-weight: 800;
}

.crypto-brand small {
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.crypto-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.crypto-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 800;
  border: 1px solid transparent;
}

.crypto-nav a.is-active,
.crypto-nav a:hover {
  color: #171414;
  border-color: rgba(23, 20, 20, 0.14);
  background: #ffffff;
}

.crypto-hero p {
  max-width: 760px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.crypto-analyze-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.crypto-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.crypto-summary div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #ffffff;
}

.crypto-summary span,
.crypto-token-card p,
.crypto-token-card dt,
.crypto-detail-metrics dt,
.crypto-feedback {
  color: var(--ink-soft);
}

.crypto-summary strong {
  font-size: 1.8rem;
}

.crypto-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.crypto-token-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.crypto-token-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.crypto-token-card strong {
  font-size: 1.35rem;
}

.crypto-token-card dl,
.crypto-detail-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.crypto-token-card dd,
.crypto-detail-metrics dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.crypto-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: #171414;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}

.crypto-score--medium {
  background: #0f6b44;
}

.crypto-score--low {
  background: #0f6b44;
}

.crypto-score--high {
  background: #8c5300;
}

.crypto-score--extreme {
  background: #9d0d16;
}

.crypto-table td:first-child {
  min-width: 180px;
}

.crypto-feedback {
  min-height: 1.45em;
}

.liquidation-console,
.liquidation-map-panel,
.liquidation-side-panel,
.liquidation-table-panel {
  border: 1px solid rgba(23, 20, 20, 0.12);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.liquidation-console {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
  border-top: 6px solid #171414;
}

.liquidation-console__header,
.liquidation-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.liquidation-console__header p {
  max-width: 780px;
  color: var(--ink-soft);
  line-height: 1.62;
}

.liquidation-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: end;
  min-width: min(100%, 360px);
}

.liquidation-refresh-ok {
  grid-column: 1 / -1;
  color: #0f6b44;
  font-weight: 800;
}

.liquidation-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.liquidation-summary div,
.liquidation-metrics div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: #f7f8f4;
  border: 1px solid rgba(23, 20, 20, 0.08);
}

.liquidation-summary span,
.liquidation-metrics dt,
.liquidation-score-card span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.liquidation-summary strong {
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.liquidation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.liquidation-map-panel,
.liquidation-side-panel,
.liquidation-table-panel {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.liquidation-map-panel {
  background: #111514;
  color: #f8faf7;
  border-color: rgba(255, 255, 255, 0.12);
}

.liquidation-map-panel .eyebrow,
.liquidation-map-panel h2 {
  color: #f8faf7;
}

.liquidation-source-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.liquidation-source-badges span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #dce5dd;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  font-weight: 800;
}

.liquidation-canvas {
  display: block;
  width: 100%;
  height: min(58vh, 520px);
  min-height: 360px;
  margin-top: 12px;
  border-radius: var(--radius-md);
  background: #0b0f0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.liquidation-side-panel {
  display: grid;
  gap: 14px;
}

.liquidation-score-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: #171414;
  color: #ffffff;
}

.liquidation-score-card strong {
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

.liquidation-score-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.liquidation-score-card--medium {
  background: #17425f;
}

.liquidation-score-card--high {
  background: #7a4b00;
}

.liquidation-score-card--extreme {
  background: #8a111b;
}

.liquidation-metrics {
  display: grid;
  gap: 10px;
  margin: 0;
}

.liquidation-metrics dd {
  margin: 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.liquidation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.liquidation-table-panel {
  overflow: hidden;
}

.liquidation-side,
.liquidation-tape-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.liquidation-side--long,
.liquidation-tape-row--long span {
  color: #8a111b;
  background: #ffe7e9;
}

.liquidation-side--short,
.liquidation-tape-row--short span {
  color: #0f6b44;
  background: #dff4e9;
}

.liquidation-tape {
  display: grid;
  gap: 8px;
  max-height: 520px;
  overflow: auto;
}

.liquidation-tape-row {
  display: grid;
  grid-template-columns: auto minmax(88px, 1fr) minmax(82px, 0.8fr) minmax(120px, 1.2fr);
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  background: #f7f8f4;
  border: 1px solid rgba(23, 20, 20, 0.08);
}

.liquidation-tape-row strong,
.liquidation-tape-row code,
.liquidation-tape-row small {
  overflow-wrap: anywhere;
}

.liquidation-tape-row small {
  color: var(--ink-soft);
}

.liquidation-backtest-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.liquidation-backtest-strip div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: #f7f8f4;
  border: 1px solid rgba(23, 20, 20, 0.08);
}

.liquidation-backtest-strip span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.liquidation-backtest-strip strong {
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.launch-hero {
  align-items: stretch;
}

.launch-safety-note {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 107, 68, 0.18);
  background: #f3faf6;
}

.launch-safety-note strong {
  font-size: 1.15rem;
}

.launch-create-panel,
.launch-system-panel,
.launch-card,
.launch-two-column .panel {
  box-shadow: var(--shadow);
}

.launch-system-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.launch-system-grid div {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.launch-system-grid span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-system-grid strong {
  font-size: 1rem;
}

.launch-system-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.launch-form-grid {
  align-items: start;
}

.launch-form-actions {
  align-self: end;
}

.launch-summary-secondary strong {
  font-size: 1.35rem;
  overflow-wrap: anywhere;
}

.launch-card-grid {
  align-items: start;
}

.launch-card {
  min-height: 100%;
}

.launch-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.launch-tag-list li {
  padding: 7px 10px;
  border-radius: 999px;
  color: #5f1b12;
  background: #fff0ec;
  border: 1px solid rgba(157, 13, 22, 0.14);
  font-size: 0.84rem;
  font-weight: 800;
}

.launch-link-row,
.launch-inline-form,
.launch-mini-form,
.launch-table-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.launch-mini-form,
.launch-stack-form {
  display: grid;
  gap: 12px;
}

.launch-mini-form {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.launch-inline-form select,
.launch-table-form select {
  max-width: 180px;
}

.launch-mini-form .button,
.launch-stack-form .button,
.launch-table-form .button,
.launch-inline-form .button {
  min-height: 44px;
  padding: 11px 14px;
}

.launch-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
}

.launch-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.launch-list div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.launch-list code {
  overflow-wrap: anywhere;
}

.launch-status-pill,
.launch-risk-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.launch-status-pill {
  color: #17425f;
  background: #e7f4fb;
}

.launch-status-pill--needs_review,
.launch-status-pill--failed,
.launch-risk-pill--warning {
  color: #8c5300;
  background: #fff3d8;
}

.launch-status-pill--archived,
.launch-status-pill--paused,
.launch-risk-pill--info {
  color: var(--ink-soft);
  background: var(--surface-muted);
}

.launch-risk-pill--blocker {
  color: #ffffff;
  background: #9d0d16;
}

.launch-approval-toggle {
  align-self: end;
  padding: 14px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #ffffff;
}

.crypto-detail-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 20px;
}

.crypto-detail-metrics {
  margin-top: 18px;
}

.crypto-plan {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--ink-soft);
  line-height: 1.55;
}

.crypto-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.crypto-footer {
  margin-top: auto;
  padding: 22px 0 32px;
}

.crypto-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 24px 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: #ffffff;
}

.crypto-footer h2 {
  margin-bottom: 8px;
}

.crypto-footer p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.site-footer {
  margin-top: auto;
  padding: 22px 0 32px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 24px 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: #ffffff;
}

.site-footer h2 {
  margin-bottom: 8px;
}

.site-footer p {
  color: var(--ink-soft);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .hero,
  .section-grid,
  .report-entry-layout,
  .track-panel,
  .detail-layout,
  .poster-layout,
  .crypto-hero,
  .liquidation-layout,
  .liquidation-grid,
  .launch-system-grid,
  .launch-two-column,
  .crypto-detail-layout,
  .crypto-footer__inner,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .flow-strip,
  .quick-links,
  .report-grid,
  .crypto-card-grid,
  .crypto-summary,
  .liquidation-summary,
  .liquidation-backtest-strip,
  .crypto-reason-grid,
  .admin-queue-grid,
  .admin-focus-list,
  .admin-stats,
  .form-grid,
  .filters {
    grid-template-columns: 1fr;
  }

  .report-summary-card {
    grid-column: auto;
  }

  .admin-command-bar {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .page-header,
  .liquidation-console__header,
  .liquidation-panel-heading {
    grid-template-columns: 1fr;
  }

  .liquidation-console__header,
  .liquidation-panel-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .liquidation-source-badges {
    justify-content: flex-start;
  }

  .admin-session {
    justify-content: flex-start;
  }

  .hero__content,
  .panel,
  .success-panel,
  .poster-preview {
    padding: 22px;
  }
}

@media (max-width: 1080px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
  }

  .brand,
  .site-nav {
    flex: 0 0 auto;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

}

@media (max-width: 760px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .brand {
    align-items: flex-start;
  }

  .brand img {
    width: 150px;
    margin-top: 4px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    text-align: center;
  }

  .hero__panel {
    grid-template-columns: 1fr;
  }

  .inline-track-form {
    flex-direction: column;
    align-items: stretch;
  }

  h1 {
    font-size: 2.4rem;
  }

  .report-card__meta,
  .detail-meta,
  .liquidation-controls,
  .liquidation-tape-row {
    grid-template-columns: 1fr;
  }

  .liquidation-controls {
    width: 100%;
    min-width: 0;
  }

  .liquidation-canvas {
    min-height: 320px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .panel:not(.poster-preview),
  .button,
  .site-nav {
    display: none !important;
  }

  body,
  .site-shell,
  .site-main {
    background: #ffffff;
  }

  .poster-preview {
    box-shadow: none;
    min-height: auto;
    page-break-inside: avoid;
  }
}

/* --------------------------------------------------------------------------
   Daehan corporate experience
   -------------------------------------------------------------------------- */

:root {
  --bg: #f4f4f2;
  --surface: #ffffff;
  --surface-soft: #f8f8f6;
  --surface-muted: #efefec;
  --ink: #17181c;
  --ink-soft: #62646b;
  --brand: #c8102e;
  --brand-dark: #981026;
  --brand-soft: #fff0f3;
  --line: #e2e1dd;
  --line-strong: #c8c6c0;
  --shadow: 0 18px 48px rgba(26, 24, 24, 0.075);
  --shadow-soft: 0 8px 24px rgba(26, 24, 24, 0.055);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 13px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Noto Sans", sans-serif;
  background:
    radial-gradient(circle at 86% 7%, rgba(200, 16, 46, 0.07), transparent 24rem),
    linear-gradient(180deg, #fafaf8 0, var(--bg) 34rem);
}

.site-header {
  border-top: 4px solid var(--brand);
  border-bottom-color: rgba(23, 24, 28, 0.08);
  background: #ffffff;
  backdrop-filter: none;
  box-shadow: 0 5px 24px rgba(23, 24, 28, 0.04);
}

.site-header__inner,
.site-main,
.site-footer__inner {
  width: min(1180px, calc(100% - 40px));
}

.site-header__inner {
  min-height: 78px;
  padding: 13px 0;
}

.brand {
  flex-basis: 340px;
  gap: 16px;
}

.brand img {
  width: 188px;
}

.brand span {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.brand strong {
  font-size: 0.94rem;
  letter-spacing: -0.015em;
}

.brand small {
  font-size: 0.76rem;
}

.site-nav {
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--brand-dark);
  border-color: transparent;
  background: var(--brand-soft);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 4px;
  left: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.site-main {
  gap: 28px;
  padding: 32px 0 64px;
}

.flow-strip {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.flow-step {
  position: relative;
  min-height: 82px;
  gap: 11px;
  padding: 15px 17px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step__index {
  width: 30px;
  height: 30px;
  font-size: 0.76rem;
}

.flow-step strong {
  font-size: 0.86rem;
}

.flow-step p {
  font-size: 0.78rem;
}

.flow-step.is-current {
  border-color: var(--line);
  background: linear-gradient(135deg, var(--brand-soft), #ffffff 76%);
  box-shadow: inset 0 3px 0 var(--brand);
}

.flow-step.is-complete {
  border-color: var(--line);
  background: #f6faf7;
}

.hero {
  grid-template-columns: minmax(0, 1.42fr) minmax(350px, 0.72fr);
  gap: 18px;
}

.hero__content,
.hero__panel,
.panel,
.success-panel,
.alert,
.poster-preview {
  border-color: rgba(23, 24, 28, 0.09);
  box-shadow: var(--shadow);
}

.hero__content {
  padding: 48px;
  border-top: 0;
  background:
    radial-gradient(circle at 92% 12%, rgba(200, 16, 46, 0.11), transparent 14rem),
    #ffffff;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--brand);
}

.hero__content::after {
  right: 22px;
  bottom: 12px;
  width: 240px;
  height: 150px;
  opacity: 0.035;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 7px 10px;
  border: 1px solid rgba(15, 107, 68, 0.16);
  border-radius: 999px;
  color: #0f6b44;
  background: #f0faf5;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20a66a;
  box-shadow: 0 0 0 4px rgba(32, 166, 106, 0.12);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.3vw, 4.75rem);
  line-height: 0.96;
}

.hero__lead {
  max-width: 700px;
  margin-top: 22px;
  font-size: 1.04rem;
}

.hero__trust-row,
.service-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 24px;
}

.hero__trust-row span,
.service-trust-row span {
  position: relative;
  padding-left: 17px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero__trust-row span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 900;
}

.inline-track-form {
  margin-top: 28px;
  padding: 17px;
  background: #f8f8f6;
}

.hero__panel {
  align-content: start;
  padding: 16px;
  background: #ffffff;
}

.hero__panel-heading {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  padding: 8px 6px 13px;
}

.hero__panel-heading span {
  font-weight: 800;
}

.hero__panel-heading small {
  color: var(--ink-soft);
}

.metric-card {
  min-height: 166px;
  align-content: space-between;
  padding: 20px;
  border-top: 0;
  background: #f8f8f6;
}

.metric-card strong {
  font-size: 2.35rem;
  letter-spacing: -0.05em;
}

.metric-card:nth-of-type(2) {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.metric-card:nth-of-type(2) span,
.metric-card:nth-of-type(2) small {
  color: rgba(255, 255, 255, 0.7);
}

.button {
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.button--primary {
  background: linear-gradient(135deg, #d51335, var(--brand-dark));
  box-shadow: 0 12px 28px rgba(200, 16, 46, 0.23);
}

.button--large {
  min-height: 54px;
  padding-inline: 28px;
}

.panel,
.report-card,
.quick-link-card,
.preset-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.report-card:hover,
.quick-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 16, 46, 0.2);
  box-shadow: 0 20px 44px rgba(26, 24, 24, 0.1);
}

.quick-link-card {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
  min-height: 142px;
  padding: 20px;
  background: #ffffff;
}

.quick-link-card__icon,
.preset-card__icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--brand);
  background: var(--brand-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  font-weight: 800;
}

.quick-link-card strong {
  display: block;
  margin-bottom: 6px;
}

.panel--highlight {
  background: linear-gradient(145deg, #202126, #121317);
  border-color: #202126;
}

.panel--highlight::before {
  height: 5px;
}

.page-header--service {
  position: relative;
  overflow: hidden;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-xl);
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 12%, rgba(222, 35, 68, 0.48), transparent 18rem),
    linear-gradient(135deg, #24252a, #111216 72%);
  box-shadow: 0 22px 54px rgba(18, 19, 23, 0.18);
}

.page-header--service::after {
  content: "";
  position: absolute;
  right: 30%;
  bottom: -80px;
  width: 260px;
  height: 180px;
  background: url("/brand/daehan-mark.png") no-repeat center / contain;
  opacity: 0.045;
}

.page-header--service > * {
  position: relative;
  z-index: 1;
}

.page-header--service h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.page-header--service p {
  max-width: 720px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.74);
}

.page-header--service .eyebrow {
  color: #ff879a;
}

.service-trust-row span {
  padding-left: 0;
  color: rgba(255, 255, 255, 0.8);
}

.service-time-card {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 310px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.service-time-card__icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #ffffff;
  background: var(--brand);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}

.service-time-card p {
  margin-top: 3px;
  font-size: 0.8rem;
}

.report-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.64fr);
  gap: 20px;
  align-items: start;
}

.form-panel--service {
  overflow: visible;
  padding: 0;
}

.form-grid--service {
  display: block;
}

.form-section {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.form-section:last-of-type {
  border-bottom: 0;
}

.form-section legend {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.form-section legend > span:last-child {
  display: grid;
  gap: 3px;
}

.form-section legend strong {
  font-size: 1.04rem;
}

.form-section legend small,
.form-submit-bar small,
.preset-card small,
.support-timeline small {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 500;
}

.form-section__number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #ffffff;
  background: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 800;
}

.preset-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.preset-grid--compact .preset-card {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: #f8f8f6;
}

.preset-grid--compact .preset-card:hover,
.preset-grid--compact .preset-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(200, 16, 46, 0.34);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.preset-grid--compact .preset-card strong,
.preset-grid--compact .preset-card small {
  display: block;
}

.preset-grid--compact .preset-card strong {
  font-size: 0.82rem;
}

.preset-grid--compact .preset-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.privacy-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 107, 68, 0.17);
  border-radius: 13px;
  background: #f1faf6;
}

.privacy-banner__icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background: #16875a;
  font-weight: 900;
}

.privacy-banner p {
  color: #295b46;
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-row--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

label span,
.toggle span {
  font-size: 0.84rem;
}

input,
select,
textarea {
  min-height: 50px;
  padding: 13px 14px;
  border-color: #d7d5d0;
  border-radius: 11px;
  background: #fbfbfa;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

textarea {
  min-height: 150px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #a9a7a1;
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.1);
}

.form-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 30px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: #f4f4f1;
}

.form-submit-bar > div {
  display: grid;
  gap: 3px;
}

.report-support-rail {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
}

.report-summary-card {
  grid-column: auto;
  overflow: hidden;
  border-top: 5px solid var(--brand);
}

.detail-meta--summary {
  grid-template-columns: 1fr;
  margin-top: 20px;
}

.detail-meta--summary div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.summary-preview-copy {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 13px;
  background: #f7f7f5;
}

.summary-preview-copy span {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-preview-copy p {
  font-size: 0.84rem;
}

.support-card {
  background: #202126;
  color: #ffffff;
  border-color: #202126;
}

.support-card .eyebrow {
  color: #ff879a;
}

.support-card .text-link {
  color: #ffffff;
}

.support-timeline {
  display: grid;
  gap: 18px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.support-timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.support-timeline li > span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #ffffff;
  background: var(--brand);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 800;
}

.support-timeline p {
  display: grid;
  gap: 3px;
}

.support-timeline small {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__inner {
  border-color: rgba(23, 24, 28, 0.09);
  background: #202126;
  color: #ffffff;
}

.site-footer p,
.site-footer .footer-meta p {
  color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 1080px) {
  .site-header__inner {
    gap: 10px;
  }

  .brand span {
    border-left: 0;
  }

  .brand,
  .site-nav {
    flex: 0 0 auto;
  }

  .report-workspace {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  }

  .preset-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero,
  .report-workspace {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero__panel-heading {
    grid-column: 1 / -1;
  }

  .metric-card {
    min-height: 140px;
  }

  .report-support-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header__inner,
  .site-main,
  .site-footer__inner {
    width: min(100% - 28px, 1180px);
  }

  .site-header__inner {
    min-height: auto;
    gap: 11px;
    padding: 11px 0 9px;
  }

  .brand {
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
  }

  .brand img {
    width: 144px;
    margin: 0;
  }

  .brand span {
    padding-left: 10px;
    border-left: 1px solid var(--line);
  }

  .brand strong {
    font-size: 0.81rem;
    line-height: 1.15;
  }

  .site-nav {
    margin-inline: -2px;
    padding-bottom: 2px;
  }

  .site-nav a {
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .site-main {
    gap: 18px;
    padding: 18px 0 42px;
  }

  .flow-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-radius: 13px;
  }

  .flow-step {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 76px;
    gap: 7px;
    padding: 10px 5px;
    text-align: center;
  }

  .flow-step__index {
    width: 27px;
    height: 27px;
  }

  .flow-step strong {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .flow-step p {
    display: none;
  }

  .hero__content {
    padding: 28px 22px 24px;
  }

  .hero__status {
    margin-bottom: 19px;
  }

  .hero h1,
  h1 {
    font-size: clamp(2.15rem, 11vw, 2.8rem);
    line-height: 1;
  }

  .hero__lead {
    margin-top: 16px;
    font-size: 0.93rem;
  }

  .hero__actions .button,
  .form-submit-bar .button {
    flex: 1 1 auto;
  }

  .hero__trust-row {
    display: grid;
    gap: 7px;
  }

  .hero__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 12px;
  }

  .metric-card {
    min-height: 120px;
    padding: 15px;
  }

  .metric-card strong {
    font-size: 1.85rem;
  }

  .page-header--service {
    gap: 24px;
    padding: 28px 22px;
  }

  .page-header--service h1 {
    font-size: 2.35rem;
  }

  .page-header--service p {
    font-size: 0.9rem;
  }

  .service-trust-row {
    display: grid;
    gap: 7px;
    margin-top: 20px;
  }

  .service-time-card {
    max-width: none;
  }

  .form-section {
    gap: 18px;
    padding: 23px 18px;
  }

  .form-section legend {
    align-items: flex-start;
  }

  .preset-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preset-grid--compact .preset-card {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 110px;
  }

  .form-row--two,
  .form-row--three {
    grid-template-columns: 1fr;
  }

  .privacy-banner {
    align-items: flex-start;
  }

  .form-submit-bar {
    align-items: stretch;
    flex-direction: column;
    padding: 20px 18px;
  }

  .form-submit-bar .button {
    width: 100%;
  }

  .report-support-rail {
    grid-template-columns: 1fr;
  }

  .report-summary-card {
    display: none;
  }

  .quick-link-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: "Manrope", "Noto Sans KR", sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

.site-header__inner,
.page-header > div,
.hero__content,
.panel,
h1,
h2,
p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  max-width: 100%;
  min-width: 0;
}

.language-switcher a {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.language-switcher a.is-active,
.language-switcher a:hover {
  color: #fff;
  background: var(--brand);
}

@media (max-width: 1080px) {
  .language-switcher {
    order: 3;
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .site-nav {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }

  .site-nav a {
    padding-inline: 8px;
    font-size: 0.72rem;
  }

  .language-switcher {
    width: 100%;
    justify-content: center;
    order: 2;
  }

  .language-switcher a {
    flex: 1;
    text-align: center;
  }
}

.is-hidden {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 11px 15px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.16s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.42);
  outline-offset: 3px;
}

.site-header__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.form-required-note {
  margin: 0;
  padding: 15px 22px 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.form-required-note > span,
.required-mark {
  color: var(--brand-dark);
  font-weight: 900;
}

.optional-label {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 600;
}

.field-control {
  align-content: start;
}

.field-error {
  display: block;
  margin-top: -3px;
  color: #a50f27;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.45;
}

.field-control.has-error input,
.field-control.has-error select,
.field-control.has-error textarea,
[aria-invalid="true"] {
  border-color: #b40f2b;
  background: #fff8f9;
  box-shadow: 0 0 0 3px rgba(180, 15, 43, 0.1);
}

.hero--single {
  grid-template-columns: 1fr;
}

.panel--full {
  grid-column: 1 / -1;
}

.track-panel--single {
  grid-template-columns: minmax(0, 720px);
}

.empty-state .stacked-actions {
  margin-top: 8px;
}

.not-found-recovery {
  width: min(100%, 620px);
}

@media (max-width: 760px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .brand {
    width: 100%;
    min-height: 42px;
  }

  .site-header__controls {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin: 0;
    padding: 8px 0 2px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-header.is-menu-open .site-nav {
    display: grid;
  }

  .site-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 9px;
    font-size: 0.78rem;
    text-align: center;
  }

  .language-switcher {
    width: auto;
    order: initial;
  }

  .language-switcher a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 7px;
  }

  .form-required-note {
    padding: 13px 18px 0;
  }
}

@media print {
  .poster-preview {
    border: 0;
  }
}
