@font-face {
  font-family: Pretendard;
  src: url("assets/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #193454;
  --blue: #3264bd;
  --muted: #60748a;
  --line: #dbe4ef;
  --paper: #fff;
  --ground: #f3f7fc;
  --green: #286953;
  --red: #a73839;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Pretendard, system-ui, sans-serif;
  line-height: 1.6;
  word-break: keep-all;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ce8c12;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(30px, 3.4vw, 49px);
  line-height: 1.22;
  letter-spacing: -0.045em;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 19px;
}
small,
.small {
  font-size: 13px;
}
p {
  max-width: 70ch;
}
.muted {
  color: var(--muted);
}
.skip {
  position: absolute;
  top: -80px;
  background: white;
  z-index: 20;
  padding: 12px;
}
.skip:focus {
  top: 0;
}
.demo-notice {
  background: #183454;
  color: #fff;
  font-size: 12px;
  padding: 8px 5%;
  display: flex;
  gap: 18px;
  justify-content: center;
}
.demo-notice span {
  color: #d0e0f3;
}
header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px max(4%, calc((100vw - 1340px) / 2));
  flex-wrap: wrap;
}
.brand {
  font-size: 28px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -1px;
  text-decoration: none;
  white-space: nowrap;
  color: #1b2455;
}
.brand b {
  background: #1b2455;
  color: white;
  border-radius: 5px;
  padding: 5px 8px;
  margin-left: 4px;
}
.role-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.role-nav button,
.subnav button {
  border: 0;
  background: transparent;
  padding: 10px 14px;
  font-weight: 650;
  border-radius: 8px;
}
.role-nav button[aria-current="page"] {
  background: #e8effb;
  color: #2557a6;
}
.header-end {
  margin-left: auto;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}
.text-btn {
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  padding: 4px;
  color: var(--muted);
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 40px 32px 48px;
  min-height: 70vh;
}
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}
.pill {
  display: inline-flex;
  padding: 5px 11px;
  background: #e6eefb;
  border-radius: 50px;
  font-size: 12px;
  color: #2c5998;
  white-space: nowrap;
}
.pill.green {
  background: #e6f2e9;
  color: #28634f;
}
.pill.red {
  background: #fbe9e8;
  color: #943738;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  min-height: 46px;
  border: 1px solid #c3d2e5;
  background: #fff;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}
.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.btn.danger {
  color: var(--red);
  border-color: #e8baba;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  min-width: 0;
}
.panel > p {
  margin-top: 10px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  gap: 24px;
}
.role-hero {
  padding: 22px 0 35px;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: end;
}
.role-hero h1 {
  max-width: 700px;
  font-size: clamp(37px, 4.8vw, 64px);
}
.role-hero p {
  max-width: 400px;
  color: var(--muted);
}
.role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.role-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.role-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--line);
}
.role-card > div {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.role-card p {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}
.role-card button {
  width: 100%;
}
.flow {
  display: flex;
  gap: 0;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.flow > span {
  flex: 1;
  padding: 15px 18px;
  font-size: 13px;
  border-right: 1px solid var(--line);
}
.flow > span:last-child {
  border: 0;
}
.flow .done {
  background: #e8f3ec;
  color: var(--green);
}
.flow b {
  margin-right: 7px;
}
.subnav {
  display: flex;
  gap: 6px;
  margin-bottom: 26px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.subnav button[aria-current="page"] {
  background: #fff;
  color: var(--blue);
  box-shadow: inset 0 -3px var(--blue);
}
.overview {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 10px;
}
.overview > div + div {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.overview p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 14px;
}
.wallet {
  position: relative;
  width: min(880px, 100%);
  aspect-ratio: 1020/565;
  margin: 30px auto 0;
  isolation: isolate;
}
.wallet > .leather {
  position: absolute;
  top: 23.9%;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 12px 10px #29466825);
}
.wallet > .front {
  z-index: 3;
}
.wallet-cards {
  position: absolute;
  top: 4%;
  left: 7%;
  right: 7%;
  height: 52%;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.42fr 1fr 1fr 1fr;
  gap: 0;
  align-items: start;
}
.wallet-card {
  position: relative;
  height: 100%;
  padding: 22px 10px 65px;
  border: 1px solid #c5d5eb;
  border-radius: 13px;
  background: #f8fbff;
  text-align: center;
  box-shadow:
    inset 0 2px 1px #fffffff0,
    inset -2px 0 1px #cad3df88,
    3px 1px 3px #263b5820,
    8px 6px 17px #1b325d1c;
  transform: translateY(var(--lift, 0px)) rotate(var(--angle, 0deg));
  transform-origin: center bottom;
  transition: transform 0.2s;
  min-width: 0;
}
.wallet-card:first-child {
  --angle: -5deg;
  background: linear-gradient(110deg, #fcf8ef, #fffef9);
  z-index: 4;
}
.wallet-card:nth-child(2) {
  --angle: 2deg;
  --lift: 12px;
  background: linear-gradient(120deg, #e3edfc, #f5f8ff);
  z-index: 3;
}
.wallet-card:nth-child(3) {
  --angle: 3deg;
  --lift: 17px;
  background: linear-gradient(120deg, #e8e7fc, #f5f5ff);
  z-index: 2;
}
.wallet-card:nth-child(4) {
  --angle: 4deg;
  --lift: 22px;
  background: linear-gradient(120deg, #e7f0e8, #f5faf5);
  z-index: 1;
}
.wallet-card + .wallet-card {
  margin-left: -8px;
}
.wallet-card:focus-visible {
  transform: translateY(calc(var(--lift, 0px) - 12px)) rotate(0deg);
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .wallet-card:hover {
    transform: translateY(calc(var(--lift, 0px) - 12px)) rotate(0deg);
  }
}
.wallet-card strong {
  display: block;
  font-size: 17px;
  margin: 9px 0 5px;
}
.wallet-card small {
  font-size: 12px;
  display: block;
  color: var(--muted);
}
.wallet-card .card-icon {
  font-size: 23px;
  color: var(--blue);
}
.wallet-card-cta {
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  padding: 7px 24px;
  border-radius: 30px;
  color: white;
  background: var(--blue);
  font-size: 12px;
}
.wallet-hint {
  text-align: center;
  color: var(--muted);
  margin-top: 10px;
  font-size: 13px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
select,
input[type="search"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #b9c9dc;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  min-height: 46px;
}
.check {
  flex-direction: row;
  align-items: start;
  font-weight: 400;
  margin-top: 22px;
}
.check input {
  margin-top: 7px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.ticket {
  background: #fff;
  border: 1px solid #d8d1eb;
  border-top: 5px solid #7866b2;
  border-radius: 18px;
  overflow: hidden;
}
.ticket-head {
  padding: 28px;
  border-bottom: 2px dashed #ded5ef;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.ticket-body {
  padding: 28px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
}
.qr {
  width: 200px;
  height: 200px;
  background: white;
  border: 10px solid white;
  image-rendering: pixelated;
}
.details {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  font-size: 14px;
  margin: 20px 0;
}
.details dt {
  color: var(--muted);
}
.details dd {
  margin: 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.empty {
  padding: 42px;
  text-align: center;
  border: 1px dashed #b9cadd;
  border-radius: 16px;
  background: #fff;
}
.empty p {
  margin: 12px auto 0;
  color: var(--muted);
}
.scanner {
  position: relative;
  border-radius: 20px;
  background: #193454;
  min-height: 275px;
  color: white;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 36px;
  border: 12px solid #e6edf6;
}
.scan-mark {
  font-size: 70px;
  line-height: 1.3;
  color: #b4d2ff;
}
.scanner p {
  font-size: 14px;
  color: #d0e0f5;
}
.hint {
  border-left: 3px solid #3264bd;
  background: #eaf0fa;
  padding: 16px 20px;
  margin-top: 24px;
  font-size: 14px;
}
.record-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.record-row p {
  font-size: 14px;
  color: var(--muted);
}
.mini-ct {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.record-main {
  flex: 1;
}
.viewer {
  background: #101c29;
  color: #e7f0fb;
  border: 1px solid #30465c;
  border-radius: 16px;
  overflow: hidden;
}
.viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid #354456;
}
.viewer-image {
  height: 420px;
  display: grid;
  place-items: center;
  background: #080e15;
  overflow: hidden;
}
.viewer-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}
.viewer-tools {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.viewer-tools label {
  color: #b6c9df;
  font-size: 13px;
}
.viewer-note {
  padding: 14px 24px;
  background: #203044;
  font-size: 12px;
  color: #bdd0e6;
}
.viewer .btn {
  background: #263c56;
  color: white;
  border-color: #4c617a;
}
.viewer-block {
  text-align: center;
  padding: 42px;
  max-width: 650px;
}
.viewer-block p {
  color: #bbcde2;
  margin-top: 14px;
}
.helper {
  background: #e9f2eb;
}
.question {
  background: white;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #cedfd2;
  margin-top: 14px;
}
.question .actions {
  margin-top: 12px;
}
.question-shelf {
  background: #e5ebf2;
}
.shelf-card {
  padding: 18px;
  border-radius: 8px;
  background: white;
  margin-top: 12px;
  border: 1px solid #cfd9e5;
}
.desk-id {
  background: #193454;
  color: white;
  border-radius: 16px;
  padding: 26px;
}
.desk-id p {
  color: #cedded;
}
.security-shell {
  background: #142b46;
  color: #e8f1ff;
  border-radius: 20px;
  padding: 28px;
}
.security-shell .muted {
  color: #becfe3;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.metric {
  border-top: 2px solid #4b729f;
  padding: 18px 12px;
}
.metric strong {
  display: block;
  font-size: 44px;
  line-height: 1.3;
}
.metric span {
  font-size: 14px;
  color: #c5d7ee;
}
.chart-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  margin-top: 24px;
}
.donut {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 10px auto;
  background: #e2e9f2;
}
.donut-center {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-content: center;
  text-align: center;
}
.donut-center strong {
  font-size: 34px;
}
.legend {
  display: flex;
  gap: 15px;
  justify-content: center;
  font-size: 13px;
  flex-wrap: wrap;
}
.bar-row {
  margin-top: 18px;
  font-size: 14px;
}
.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.bar-track {
  height: 8px;
  background: #edf1f7;
  border-radius: 6px;
  margin-top: 8px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: #ce7569;
}
.experiments {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.event-tools {
  display: flex;
  gap: 15px;
  align-items: end;
  margin: 20px 0;
  flex-wrap: wrap;
}
.event-tools label:first-child {
  flex: 1;
  min-width: 200px;
}
.events {
  display: grid;
  gap: 10px;
}
.event {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.event summary {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px;
  cursor: pointer;
  list-style: revert;
}
.event summary strong {
  flex: 1;
}
.event-detail {
  border-top: 1px solid var(--line);
  padding: 20px;
}
.event code {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.evidence {
  margin-top: 25px;
  padding: 24px;
  border-top: 1px solid var(--line);
}
footer {
  font-size: 12px;
  color: var(--muted);
  padding: 24px 5%;
  text-align: center;
  border-top: 1px solid var(--line);
  background: white;
}
footer a {
  display: inline-block;
  margin-left: 16px;
}
#notice {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  background: #173553;
  color: #fff;
  border-radius: 10px;
  padding: 14px 24px;
  max-width: 90vw;
  box-shadow: 0 10px 30px #14283b30;
}
#notice:empty {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  max-width: 850px;
  width: 92%;
  max-height: 90vh;
  overflow: auto;
  color: var(--ink);
}
dialog::backdrop {
  background: #0a1b31b8;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.report-meta {
  margin-bottom: 20px;
}
.report-bars {
  margin: 20px 0;
}
.report-events {
  font-size: 13px;
}
.report-events li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.chart-grid {
  margin-bottom: 24px;
}
.chart-grid + .panel {
  margin-top: 24px;
}
.viewer-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.viewer-image img {
  min-width: 0;
  min-height: 0;
}
.hint + .small {
  margin-top: 16px;
}
@media (max-width: 850px) {
  header {
    gap: 12px;
    padding: 15px 20px;
  }
  .header-end {
    width: 100%;
    justify-content: space-between;
  }
  .role-hero {
    display: block;
  }
  .role-hero p {
    margin-top: 20px;
  }
  .role-cards {
    grid-template-columns: 1fr;
  }
  .role-card {
    display: grid;
    grid-template-columns: 35% 1fr;
  }
  .role-card img {
    height: 100%;
    object-fit: cover;
  }
  .role-card p {
    margin-bottom: 15px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .overview {
    grid-template-columns: 1fr 1fr;
  }
  .overview > div:first-child {
    grid-column: 1/-1;
  }
  .overview > div:nth-child(2) {
    border: 0;
    padding: 0;
  }
  .chart-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: start;
  }
  .wallet-card {
    padding-top: 15px;
    padding-bottom: 85px;
  }
  .wallet-card strong {
    font-size: 14px;
  }
}
@media (max-width: 800px) {
  .wallet {
    aspect-ratio: auto;
    padding-top: 100px;
    margin-top: 12px;
  }
  .wallet > .leather {
    position: relative;
    display: block;
    top: auto;
  }
  .wallet-cards {
    top: 8px;
    height: 160px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .wallet-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 3px 30px;
    border-radius: 9px;
  }
  .wallet-card + .wallet-card {
    margin-left: -3px;
  }
  .wallet-card small {
    display: none;
  }
  .wallet-card strong {
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0;
    word-break: keep-all;
  }
  .wallet-card .card-icon {
    font-size: 20px;
  }
  .wallet-card:nth-child(2) {
    --lift: 7px;
  }
  .wallet-card:nth-child(3) {
    --lift: 10px;
  }
  .wallet-card:nth-child(4) {
    --lift: 13px;
  }
  .wallet-card-cta {
    padding: 5px 8px;
    font-size: 10px;
    margin-top: 6px;
  }
  .wallet-hint {
    margin-top: 6px;
  }
}
@media (max-width: 520px) {
  main {
    padding: 26px 16px 35px;
  }
  .demo-notice {
    display: block;
    text-align: center;
    font-size: 11px;
  }
  .demo-notice span {
    display: block;
  }
  .brand {
    font-size: 25px;
  }
  .role-nav button {
    padding: 9px;
    font-size: 13px;
  }
  .role-hero {
    padding-top: 5px;
  }
  .role-card {
    display: flex;
  }
  .role-card img {
    height: 130px;
  }
  .role-card > div {
    padding: 22px;
  }
  .page-heading {
    display: block;
  }
  .page-heading .pill {
    margin-top: 15px;
  }
  .panel {
    padding: 21px;
  }
  .flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .flow > span {
    padding: 10px;
    font-size: 12px;
    border-bottom: 1px solid var(--line);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .wallet-card strong {
    font-size: 12px;
  }
  .ticket-body {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .qr {
    margin: auto;
  }
  .ticket-head,
  .ticket-body {
    padding: 22px;
  }
  .record-row {
    gap: 12px;
    flex-wrap: wrap;
  }
  .record-row .btn {
    width: 100%;
  }
  .viewer-head {
    padding: 16px;
    flex-wrap: wrap;
  }
  .viewer-image {
    height: 300px;
  }
  .viewer-tools {
    padding: 16px;
  }
  .viewer-block {
    padding: 25px;
  }
  .metrics {
    gap: 5px;
  }
  .metric {
    padding: 12px 4px;
  }
  .metric strong {
    font-size: 32px;
  }
  .security-shell {
    padding: 20px;
  }
  .event summary {
    gap: 8px;
  }
  .event summary strong {
    flex-basis: 100%;
  }
  .subnav {
    gap: 0;
  }
  .subnav button {
    padding: 10px;
    font-size: 13px;
  }
  .overview {
    gap: 16px;
  }
  .overview > div + div {
    padding-left: 16px;
  }
  .details {
    grid-template-columns: 85px 1fr;
  }
  .role-hero h1 {
    font-size: 39px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  body > * {
    display: none !important;
  }
  body > dialog[open] {
    display: block !important;
    position: static;
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
    border: 0;
    padding: 0;
  }
  dialog::backdrop {
    background: none;
  }
  dialog button {
    display: none !important;
  }
  .report-events li {
    break-inside: avoid;
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  h2 {
    font-size: 24px;
  }
  @page {
    size: A4;
    margin: 16mm;
  }
}
