:root {
  color-scheme: dark;
  --ink: #101820;
  --navy: #182632;
  --paper: #f0e7d5;
  --paper-deep: #e4d7bf;
  --brass: #b18b53;
  --brass-light: #d5b77f;
  --red: #9f3937;
  --muted: #a9adb0;
  --dark-muted: #65717a;
  --line: rgba(240, 231, 213, .16);
  --light-line: rgba(24, 38, 50, .16);
  --serif: "Noto Serif KR", "Nanum Myeongjo", "Batang", Georgia, serif;
  --sans: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --content: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}
a { color: inherit; text-underline-offset: .22em; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--brass-light);
  outline-offset: 3px;
}
main.page-enter { animation: page-arrival .48s cubic-bezier(.2,.72,.25,1) both; }
body.is-leaving main { animation: page-departure .2s ease-in both; }
@keyframes page-arrival { from { opacity: 0; transform: translate3d(0,12px,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes page-departure { to { opacity: 0; transform: translate3d(0,-7px,0); } }
.reveal-target { opacity: 0; transform: translate3d(0,18px,0); transition: opacity .52s ease, transform .62s cubic-bezier(.2,.72,.25,1); transition-delay: var(--reveal-delay,0ms); }
.reveal-target.is-visible { opacity: 1; transform: translate3d(0,0,0); }
.wrap { width: min(calc(100% - 64px), var(--content)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 20;
  padding: 12px 18px; background: var(--paper); color: var(--ink);
}
.skip-link:focus { left: 12px; top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(16, 24, 32, .96); }
.header-row { min-height: 82px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 240px; text-decoration: none; }
.brand img { display: block; width: 250px; height: auto; }
.brand strong { display: block; font-family: var(--serif); font-size: 18px; letter-spacing: .08em; font-weight: 600; }
.brand small { display: block; color: #aab1b4; font-size: 11px; letter-spacing: .1em; margin-top: 1px; }
.seal {
  width: 40px; height: 40px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--brass); color: var(--brass-light); position: relative;
}
.seal::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(213,183,127,.48); }
.seal span { font-family: var(--serif); font-size: 20px; line-height: 1; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a { text-decoration: none; color: #bac0c1; font-size: 14px; transition: color .18s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--brass-light); }
.header-cta { border: 1px solid rgba(213,183,127,.55); padding: 9px 16px; text-decoration: none; color: var(--brass-light); font-size: 13px; letter-spacing: .04em; }
.header-cta:hover { color: var(--ink); background: var(--brass-light); }
.hero-section { min-height: 650px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; }
.hero-copy { padding: 72px 0; position: relative; z-index: 1; }
.hero-kicker, .eyebrow, .seal-line, .chapter { text-transform: uppercase; letter-spacing: .13em; font-size: 11px; }
.hero-kicker { color: #c4c6c2; display: flex; align-items: center; gap: 9px; margin: 0 0 27px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #9db69a; box-shadow: 0 0 0 4px rgba(157,182,154,.12); }
.seal-line { color: var(--brass-light); margin: 0 0 18px; }
.hero-copy h1, .page-hero h1, .error-page h1, .share-open-page h1 {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.055em; line-height: 1.3;
}
.hero-copy h1 { font-size: clamp(44px, 5.2vw, 70px); margin: 0; }
.hero-copy h1 em { color: var(--brass-light); font-style: normal; }
.hero-lede { color: #c1c5c4; max-width: 520px; margin: 25px 0 31px; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 23px; flex-wrap: wrap; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 48px;
  padding: 11px 20px; border: 1px solid transparent; border-radius: 2px; text-decoration: none;
  font-weight: 600; font-size: 14px; letter-spacing: .01em; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .16s ease, box-shadow .16s ease;
}
.button:active { transform: translateY(1px) scale(.985); }
.button:disabled { cursor: wait; opacity: .72; box-shadow: inset 0 0 0 1px rgba(24,38,50,.12); }
.button[aria-busy="true"]::after { content: ""; width: 13px; height: 13px; margin-left: 9px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .72s linear infinite; }
.button-primary { background: var(--brass-light); color: var(--ink); }
.button-primary:hover { background: #e0c995; }
.button-secondary { background: transparent; border-color: rgba(24,38,50,.35); color: var(--navy); }
.button-secondary:hover { border-color: var(--brass); background: rgba(177,139,83,.1); }
.hero-section .button-secondary, .header-cta { color: var(--brass-light); border-color: rgba(213,183,127,.48); }
.hero-section .button-secondary:hover { color: var(--ink); background: var(--brass-light); }
.button-danger { color: #fff; background: var(--red); }
.button-danger:hover { background: #812e2d; }
.button-small { min-height: 38px; padding: 8px 13px; font-size: 13px; }
.button-wide { width: 100%; min-height: 54px; margin-top: 12px; }
.text-link { color: var(--brass); font-size: 14px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.light-link { color: var(--brass-light); }
.hero-caveat { color: #8f999c; max-width: 520px; margin: 27px 0 0; font-size: 12px; }
.sky-visual { width: min(100%, 540px); aspect-ratio: 1 / 1; margin-inline: auto; position: relative; display: grid; place-items: center; isolation: isolate; }
.sky-visual::before {
  content: ""; position: absolute; inset: 8%; z-index: -2; border-radius: 50%;
  background: radial-gradient(circle, rgba(177,139,83,.12), rgba(24,38,50,.1) 44%, transparent 70%);
}
.sky-visual::after {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background-image: radial-gradient(circle at 18% 28%, rgba(213,183,127,.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 67% 17%, rgba(213,183,127,.65) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 68%, rgba(213,183,127,.6) 0 1px, transparent 1.6px),
    radial-gradient(circle at 30% 79%, rgba(213,183,127,.45) 0 1px, transparent 1.6px),
    radial-gradient(circle at 52% 38%, rgba(213,183,127,.5) 0 1px, transparent 1.4px);
  opacity: .7;
}
.sky-orbit { position: absolute; border: 1px solid rgba(177,139,83,.38); border-radius: 50%; }
.orbit-one { inset: 11%; }
.orbit-two { inset: 20%; transform: rotate(28deg) scaleX(.76); border-color: rgba(177,139,83,.28); }
.orbit-three { inset: 20%; transform: rotate(-28deg) scaleX(.76); border-color: rgba(177,139,83,.28); }
.sky-orbit::before, .sky-orbit::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--brass-light); box-shadow: 0 0 12px rgba(213,183,127,.8); }
.orbit-one::before { top: 15%; left: 20%; }
.orbit-one::after { right: 13%; bottom: 28%; }
.orbit-two::before { top: 12%; right: 21%; }
.orbit-two::after { left: 12%; bottom: 35%; }
.sky-seal {
  width: 168px; height: 194px; display: flex; flex-direction: column; justify-content: center; align-items: center;
  border: 1px solid rgba(213,183,127,.67); background: linear-gradient(145deg, #1d2b33, #121c22 70%);
  box-shadow: 0 18px 70px rgba(0,0,0,.45), inset 0 0 0 8px rgba(177,139,83,.055);
  transform: rotate(-5deg); color: var(--brass-light);
}
.sky-seal::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(213,183,127,.28); }
.sky-seal span { font-family: var(--serif); font-size: 65px; line-height: 1; }
.sky-seal small { margin-top: 15px; letter-spacing: .24em; font-size: 10px; color: #c6b28f; }
.sky-label { position: absolute; color: #aab0ae; letter-spacing: .18em; font-size: 10px; }
.label-left { top: 23%; left: 1%; }
.label-right { bottom: 25%; right: 0; }
.sky-coordinates { position: absolute; bottom: 8%; color: #79858a; letter-spacing: .18em; font-size: 9px; }
.sky-mascot { position: absolute; z-index: 2; right: 1%; bottom: -3%; width: min(41%, 226px); margin: 0; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(0,0,0,.34)); }
.sky-mascot img { display: block; width: 100%; height: auto; }
.sky-mascot figcaption { position: absolute; right: 4%; bottom: 8%; padding: 4px 8px; border: 1px solid rgba(213,183,127,.45); background: rgba(16,24,32,.82); color: var(--brass-light); font-size: 10px; letter-spacing: .08em; }
.cast-section { padding-bottom: 88px; }
.cast-heading { max-width: 760px; margin: 0 0 30px; }
.cast-heading h2 { margin: 0; color: var(--paper); font-family: var(--serif); font-weight: 500; font-size: clamp(27px,3.1vw,38px); letter-spacing: -.035em; line-height: 1.4; }
.cast-heading > p:last-child { max-width: 690px; color: #aeb7b7; margin: 12px 0 0; }
.character-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.character-card { --character-accent: #bd8f56; min-width: 0; overflow: hidden; border: 1px solid rgba(240,231,213,.12); border-top: 2px solid var(--character-accent); background: linear-gradient(180deg, rgba(24,38,50,.88), rgba(19,29,36,.72)); box-shadow: 0 16px 34px rgba(0,0,0,.13); }
.character-yoonseul { --character-accent: #75a198; }
.character-damho { --character-accent: #bd7163; }
.character-onrok { --character-accent: #88a88f; }
.character-portrait { height: 275px; display: grid; place-items: end center; overflow: hidden; background: radial-gradient(ellipse at 50% 48%, color-mix(in srgb, var(--character-accent) 15%, transparent), transparent 70%); border-bottom: 1px solid rgba(240,231,213,.1); }
.character-portrait img { display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 10px 16px rgba(0,0,0,.18)); }
.character-copy { padding: 17px 18px 20px; }
.character-department { color: var(--character-accent); margin: 0 0 5px; font-size: 10px; letter-spacing: .08em; }
.character-copy h2 { margin: 0 0 7px; color: var(--paper); font-family: var(--serif); font-size: 26px; font-weight: 500; }
.character-copy > p:not(.character-department) { min-height: 82px; color: #b8c0c0; margin: 0; font-size: 12px; line-height: 1.75; }
.character-trait { display: inline-block; margin-top: 12px; padding-top: 9px; border-top: 1px solid rgba(240,231,213,.13); color: #d2c8b4; font-size: 10px; letter-spacing: .04em; }
.character-note { display: block; margin: 17px 0 0; color: #8f999c; font-size: 11px; text-align: center; }
.case-flow { width: min(calc(100% - 64px), var(--content)); margin: 0 auto 32px; }
.case-flow ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.case-flow-step { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 13px 18px 13px 0; border-top: 1px solid rgba(240,231,213,.17); position: relative; }
.case-flow-step + .case-flow-step { padding-left: 18px; border-left: 1px solid rgba(240,231,213,.11); }
.case-flow-step::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--brass-light); transition: width .36s ease; }
.case-flow-step.is-complete::before { width: 100%; }
.case-flow-step.is-current::before { width: 55%; }
.case-flow-number { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 1px solid rgba(213,183,127,.38); color: #9ea8a9; font-size: 10px; letter-spacing: .06em; }
.case-flow-step.is-current .case-flow-number { border-color: var(--brass-light); background: rgba(213,183,127,.12); color: var(--brass-light); }
.case-flow-step.is-complete .case-flow-number { border-color: rgba(157,182,154,.55); color: #c0d6bc; }
.case-flow-copy { display: flex; flex-direction: column; line-height: 1.4; }
.case-flow-copy strong { color: #d8d7cf; font-size: 12px; font-weight: 600; }
.case-flow-step.is-current .case-flow-copy strong { color: var(--paper); }
.case-flow-copy small { margin-top: 3px; color: #879294; font-size: 10px; }
.sky-star { position: absolute; width: 2px; height: 2px; background: #f2deaf; box-shadow: 0 0 8px 2px rgba(213,183,127,.38); }
.star-a { top: 20%; left: 44%; }
.star-b { right: 18%; top: 47%; }
.star-c { left: 28%; bottom: 17%; }
.process-section { padding-top: 92px; padding-bottom: 100px; }
.section-heading { margin-bottom: 45px; max-width: 650px; }
.eyebrow { color: var(--brass); margin: 0 0 12px; }
.section-heading h2, .preview-grid h2, .notice-section h2, .final-cta h2 {
  font-family: var(--serif); letter-spacing: -.035em; line-height: 1.38; font-weight: 500;
}
.section-heading h2 { font-size: clamp(28px, 3.2vw, 42px); margin: 0 0 13px; }
.section-heading > p:last-child { color: #aeb5b5; margin: 0; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; }
.process-list li { min-height: 170px; border-top: 1px solid rgba(177,139,83,.6); padding: 20px 22px 0 0; }
.process-list li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.process-list li > span { color: var(--brass-light); font-size: 12px; letter-spacing: .12em; }
.process-list strong { display: block; margin-top: 17px; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.process-list p { color: #aeb5b5; font-size: 14px; margin: 8px 0 0; }
.preview-band { background: #17242c; border-block: 1px solid var(--line); padding: 85px 0; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.preview-grid h2 { font-size: 38px; margin: 0 0 19px; }
.preview-grid > div:first-child > p:not(.eyebrow) { color: #b7bdbe; max-width: 430px; line-height: 1.8; }
.sample-sheet { background: var(--paper); color: var(--navy); padding: 32px; max-width: 470px; width: 100%; min-height: 270px; margin-left: auto; position: relative; box-shadow: 0 15px 45px rgba(0,0,0,.2); }
.sample-top { display: flex; justify-content: space-between; border-bottom: 1px solid var(--light-line); padding-bottom: 13px; color: #6a6d69; font-family: var(--serif); font-size: 12px; }
.sample-sheet .eyebrow { margin-top: 23px; font-size: 9px; }
.sample-sheet h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; margin: 0 0 22px; }
.sample-pillars { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--light-line); }
.sample-pillars div { padding: 11px 7px; text-align: center; }
.sample-pillars div + div { border-left: 1px solid var(--light-line); }
.sample-pillars small { display: block; color: #71716d; font-size: 10px; }
.sample-pillars strong { display: block; margin-top: 6px; font-family: var(--serif); font-size: 20px; }
.sample-note { color: #6f7779; font-size: 11px; margin-bottom: 0; }
.notice-section { padding-block: 92px; }
.notice-section h2 { font-size: 31px; margin: 0 0 13px; }
.notice-section > p:not(.eyebrow) { max-width: 700px; color: #abb3b5; margin: 0 0 24px; }
.final-cta { background: #1b2b34; border-block: 1px solid var(--line); text-align: center; padding: 77px 0 86px; }
.final-cta h2 { margin: 0 0 22px; font-size: clamp(28px,3.4vw,40px); }
.site-footer { padding: 42px 0 50px; color: #9ca5a8; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 50px; align-items: start; }
.footer-brand { color: var(--paper); font-family: var(--serif); font-size: 17px; }
.footer-brand span { color: var(--brass); font-size: 12px; margin-left: 8px; }
.site-footer p { font-size: 12px; margin: 6px 0 0; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #bdc1be; font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--brass-light); }
.footer-notice { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 17px; }
.page-hero { padding-top: 74px; padding-bottom: 44px; }
.page-hero h1 { margin: 0; max-width: 850px; font-size: clamp(37px,5vw,58px); }
.page-hero > p:last-child { max-width: 700px; color: #b8c0c0; margin: 16px 0 0; font-size: 17px; }
.content-section { padding-bottom: 100px; }
.procedure-list { border-top: 1px solid var(--line); }
.procedure-list article { display: grid; grid-template-columns: 90px 1fr; gap: 20px; border-bottom: 1px solid var(--line); padding: 27px 0 30px; }
.procedure-list article > span { color: var(--brass-light); font-size: 13px; letter-spacing: .14em; padding-top: 6px; }
.procedure-list h2, .prose h2 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0 0 8px; }
.procedure-list p, .prose p { color: #b5bdbe; max-width: 850px; margin: 0; }
.procedure-list code, .admin-section code { color: var(--brass-light); }
.policy-box { margin-top: 38px; padding: 25px 28px; border: 1px solid rgba(177,139,83,.36); background: rgba(24,38,50,.62); }
.policy-box h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: 20px; }
.policy-box p, .policy-box li { color: #b9c0c0; font-size: 14px; }
.policy-box p:last-child { margin-bottom: 0; }
.policy-box ul { padding-left: 21px; margin: 12px 0 18px; }
.prose h2 { margin-top: 35px; }
.prose h2:first-child { margin-top: 0; }
.prose p + h2 { margin-top: 34px; }
.form-wrap { max-width: 760px; padding-bottom: 100px; }
.flash { border: 1px solid rgba(159,57,55,.7); color: #f1c7c1; background: rgba(159,57,55,.12); padding: 13px 16px; margin: 0 0 22px; }
.intake-form { padding: 33px; background: var(--paper); color: var(--navy); }
.form-section { border: 0; margin: 0; padding: 0 0 30px; }
.form-section + .form-section { border-top: 1px solid var(--light-line); padding-top: 28px; }
.form-section > legend { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 17px; padding: 0; }
.intake-form label:not(.choice) { display: block; font-size: 13px; font-weight: 700; margin: 13px 0 7px; }
.optional { margin-left: 6px; color: #777d7a; font-size: 11px; font-weight: 400; }
.intake-form input[type="text"], .intake-form input[type="number"], .intake-form input[type="password"], .intake-form select, .share-form select {
  width: 100%; min-height: 46px; border: 1px solid rgba(24,38,50,.28); background: #fbf7ef; color: var(--navy); border-radius: 2px; padding: 9px 12px;
}
.intake-form input::placeholder { color: #828581; }
.field-help { font-size: 12px; line-height: 1.6; color: #697176; margin: 7px 0 12px; }
.choice-set { display: flex; align-items: center; gap: 22px; border: 0; padding: 0; margin: 18px 0 8px; }
.choice-set legend { width: 100%; font-size: 13px; font-weight: 700; padding: 0; margin-bottom: 5px; }
.choice { display: inline-flex; align-items: flex-start; gap: 9px; cursor: pointer; font-size: 14px; line-height: 1.55; }
.choice input { width: 17px; height: 17px; flex: none; accent-color: var(--brass); margin: 2px 0 0; }
.date-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 13px; }
.date-grid label { margin: 0 !important; }
.leap-choice { margin-top: 13px; }
.time-known { margin-bottom: 7px; font-weight: 600; }
.time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.time-grid { transition: opacity .24s ease, filter .24s ease; }
.time-grid[aria-disabled="true"] { opacity: .58; filter: saturate(.6); }
.consent-box { border: 1px solid rgba(177,139,83,.7); padding: 20px 20px 17px; margin: 0 0 15px; background: #e8dcc7; }
.consent-box legend { font-family: var(--serif); font-weight: 600; font-size: 16px; padding: 0 8px; }
.consent-box p { margin: 12px 0 0 26px; color: #626a6c; font-size: 12px; }
.consent-box a { color: #6e4d20; }
.review-sheet { padding: 34px; background: var(--paper); color: var(--navy); }
.review-details { margin: 0; }
.review-details > div { display: grid; grid-template-columns: 140px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--light-line); }
.review-details dt { color: #686f70; font-size: 13px; }
.review-details dd { margin: 0; font-weight: 600; }
.review-sheet .policy-box { color: var(--paper); margin-top: 25px; }
.review-sheet .policy-box p { margin: 6px 0; }
.review-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 25px; }
.review-actions form { margin: 0; }
.issue-progress { position: relative; display: grid; grid-template-columns: 26px minmax(0,1fr); align-items: start; gap: 11px; width: min(100%,590px); overflow: hidden; margin-top: 16px; padding: 15px 17px 17px; border: 1px solid rgba(177,139,83,.5); background: #f8f1e5; color: var(--navy); }
.issue-progress::after { content: ""; position: absolute; bottom: 0; left: 0; width: 34%; height: 2px; background: var(--brass); transform: translateX(-100%); animation: issue-sweep 1.35s ease-in-out infinite; }
.issue-progress.is-error { border-color: rgba(159,57,55,.5); }
.issue-progress.is-error::after { animation: none; transform: none; width: 100%; background: var(--red); }
.issue-progress p { margin: 0; font-size: 12px; line-height: 1.65; }
.issue-spinner { display: block; width: 23px; height: 23px; border: 2px solid rgba(177,139,83,.28); border-top-color: #806438; border-radius: 50%; animation: spin .82s linear infinite; }
.issue-progress.is-error .issue-spinner { display: none; }
.issue-steps { display: flex; flex-wrap: wrap; gap: 7px 15px; margin: 11px 0 0; padding: 0; list-style: none; }
.issue-steps li { display: flex; align-items: center; gap: 6px; color: #687174; font-size: 10px; }
.issue-steps li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 3px rgba(177,139,83,.13); }
@keyframes issue-sweep { 0% { transform: translateX(-100%); } 65%,100% { transform: translateX(300%); } }
.error-page { padding-top: 110px; padding-bottom: 130px; max-width: 820px; }
.error-page h1, .share-open-page h1 { margin: 0 0 14px; font-size: clamp(35px,5vw,52px); }
.error-page p:not(.eyebrow) { color: #b8c0c0; margin-bottom: 25px; }
.report-wrap { max-width: 1040px; padding-top: 30px; padding-bottom: 80px; }
.report-topline { display: flex; justify-content: space-between; align-items: center; color: #9ca7a8; font-size: 12px; margin-bottom: 20px; }
.back-link { text-decoration: none; color: var(--brass-light); }
.report-sheet { color: var(--navy); background: var(--paper); box-shadow: 0 24px 80px rgba(0,0,0,.32); transform-origin: top center; animation: document-arrival .78s cubic-bezier(.18,.72,.24,1) both; }
@keyframes document-arrival { from { opacity: 0; transform: translate3d(0,24px,0) scale(.985); filter: blur(2px); } to { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); } }
.report-cover { min-height: 365px; padding: 32px 44px 38px; position: relative; background: linear-gradient(145deg, #f4eddf, #eee2cd); border-bottom: 1px solid var(--light-line); overflow: hidden; }
.report-cover::after { content: "天"; position: absolute; right: 5%; bottom: -50px; font-family: var(--serif); color: rgba(177,139,83,.1); font-size: 300px; line-height: 1; pointer-events: none; }
.cover-topline { display: flex; justify-content: space-between; position: relative; z-index: 1; border-bottom: 1px solid var(--light-line); padding-bottom: 13px; color: #71736e; font-family: var(--serif); font-size: 12px; letter-spacing: .08em; }
.cover-title { position: relative; z-index: 1; margin-top: 50px; }
.cover-title .eyebrow { margin-bottom: 7px; }
.cover-title h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px,5vw,52px); letter-spacing: -.045em; margin: 0; }
.report-subtitle { color: #6c7373; margin: 9px 0 0; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 26px; position: relative; z-index: 1; margin-top: 39px; }
.doc-meta div { display: flex; flex-direction: column; gap: 4px; }
.doc-meta span { font-size: 10px; color: #777c79; letter-spacing: .06em; }
.doc-meta strong { font-size: 13px; font-weight: 600; }
.approval-stamp { position: absolute; z-index: 1; right: 50px; bottom: 43px; width: 73px; height: 73px; display: grid; place-content: center; border: 2px solid rgba(159,57,55,.68); color: var(--red); text-align: center; font-family: var(--serif); font-size: 15px; line-height: 1.15; transform: rotate(-9deg); animation: stamp-arrival .46s cubic-bezier(.2,.82,.35,1.1) .48s both; }
@keyframes stamp-arrival { from { opacity: 0; transform: rotate(-2deg) scale(1.42); } 70% { opacity: 1; transform: rotate(-11deg) scale(.96); } to { opacity: 1; transform: rotate(-9deg) scale(1); } }
.report-content { padding: 0 44px 34px; }
.report-section { padding: 36px 0 39px; border-bottom: 1px solid rgba(24,38,50,.17); }
.report-section:last-of-type { border-bottom: 0; }
.report-section .chapter { color: #8b6c3e; margin: 0 0 8px; font-size: 10px; }
.report-section h2 { font-family: var(--serif); font-size: 25px; font-weight: 600; margin: 0 0 21px; letter-spacing: -.02em; }
.report-section h3 { font-family: var(--serif); font-weight: 600; }
.birth-summary { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 27px; border-top: 1px solid var(--light-line); }
.birth-summary > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--light-line); padding: 13px 0; }
.birth-summary span { color: #6a7475; font-size: 13px; }
.birth-summary strong { text-align: right; font-size: 13px; font-weight: 600; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.pillar-table, .simple-table { width: 100%; border-collapse: collapse; }
.pillar-table { min-width: 650px; }
.pillar-table th, .pillar-table td, .simple-table th, .simple-table td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--light-line); padding: 13px 11px; }
.pillar-table thead th, .simple-table thead th { color: #6c7473; font-size: 11px; font-weight: 600; background: rgba(24,38,50,.035); }
.pillar-table tbody th, .simple-table tbody th { width: 80px; font-size: 13px; font-weight: 600; }
.pillar-table td { width: 28%; }
.chart-char { display: block; font-family: var(--serif); font-size: 28px; line-height: 1.2; color: #182632; }
.chart-meta { display: block; font-size: 11px; color: #666e70; margin-top: 3px; }
.god { display: inline-block; color: #785c35; font-size: 10px; margin-top: 7px; padding: 2px 6px; border: 1px solid rgba(177,139,83,.4); }
.hidden-list { display: flex; flex-direction: column; gap: 5px; }
.hidden-item { font-family: var(--serif); font-size: 15px; color: #25363c; }
.hidden-item small { font-family: var(--sans); color: #707777; font-size: 10px; }
.method-note, .balance-note { color: #687174; font-size: 12px; line-height: 1.7; margin: 15px 0 0; }
.balance-note { color: #5b625f; padding-left: 12px; border-left: 2px solid var(--brass); }
.element-chart { max-width: 540px; }
.element-row { display: grid; grid-template-columns: 125px 1fr; align-items: center; gap: 16px; padding: 8px 0; }
.element-name { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.element-name strong { min-width: 20px; }
.element-name span:last-child { color: #737a78; font-size: 11px; }
.element-mark { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.element-목 { background: #537c57; } .element-화 { background: #aa4a42; } .element-토 { background: #a1834f; } .element-금 { background: #7b858a; } .element-수 { background: #456f89; }
.element-row progress { width: 100%; height: 8px; border: 0; border-radius: 5px; accent-color: var(--brass); background: rgba(24,38,50,.12); }
.element-row progress::-webkit-progress-bar { background: rgba(24,38,50,.12); border-radius: 5px; }
.element-row progress::-webkit-progress-value { background: var(--brass); border-radius: 5px; }
.element-row progress::-moz-progress-bar { background: var(--brass); border-radius: 5px; }
.day-master { display: flex; align-items: center; gap: 23px; background: rgba(177,139,83,.09); padding: 22px; border-left: 3px solid var(--brass); }
.day-master-char { font-family: var(--serif); font-size: 52px; line-height: 1; }
.day-master .eyebrow { font-size: 10px; margin: 0; }
.day-master h3 { font-size: 19px; margin: 3px 0 4px; }
.day-master p { margin: 0; color: #5e6869; font-size: 13px; }
.summary-list { margin: 23px 0; padding-left: 22px; }
.summary-list li { padding: 4px 0; }
.reflection-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 19px; margin-top: 23px; }
.reflection-grid > div { border-top: 1px solid rgba(177,139,83,.6); padding-top: 12px; }
.reflection-grid span { color: #866a40; font-size: 11px; font-weight: 700; }
.reflection-grid p { color: #485358; margin: 5px 0 0; font-size: 13px; }
.subheading { margin: 25px 0 10px; font-size: 17px; }
.simple-table tbody td, .simple-table tbody th { font-size: 13px; }
.final-opinion { border-left: 2px solid var(--brass); padding: 2px 0 2px 20px; margin: 0 0 24px; }
.final-opinion p { margin: 7px 0; }
.warning-box { background: rgba(159,57,55,.055); border: 1px solid rgba(159,57,55,.22); padding: 18px 20px; }
.warning-box > strong { font-family: var(--serif); font-size: 15px; }
.warning-box ul { padding-left: 19px; margin: 11px 0; }
.warning-box li, .warning-box p { color: #616967; font-size: 11px; }
.warning-box p:last-child { margin-bottom: 0; }
.report-footer { border-top: 1px solid var(--light-line); padding-top: 20px; color: #737a77; font-size: 10px; }
.report-footer p { margin: 4px 0; }
.shared-view-note { color: #aab3b4; font-size: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); margin: 0 18px 18px; }
.report-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 17px; }
.share-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; align-items: center; padding: 20px; border: 1px solid var(--line); margin-bottom: 18px; }
.share-panel h2 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.share-panel p:not(.eyebrow) { color: #aab2b3; font-size: 12px; margin: 5px 0 0; }
.share-form { display: flex; align-items: end; gap: 8px; flex-wrap: wrap; }
.share-form label { width: 100%; color: #b8c0c0; font-size: 11px; }
.share-form select { flex: 1; min-width: 110px; background: var(--navy); color: var(--paper); border-color: var(--line); }
.share-form .button-secondary { color: var(--brass-light); border-color: rgba(213,183,127,.5); }
.text-button { background: none; border: 0; color: var(--brass-light); cursor: pointer; padding: 8px; font-size: 12px; text-decoration: underline; }
.share-result { grid-column: 1 / -1; padding: 15px; background: rgba(177,139,83,.1); border-left: 2px solid var(--brass); }
.share-result strong { font-size: 13px; }
.share-result p { max-width: 760px; }
.share-result code { display: block; color: var(--brass-light); font-size: 12px; overflow-wrap: anywhere; margin: 8px 0; }
.delete-form { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 30px; }
.delete-form strong { font-size: 13px; }
.delete-form p { color: #9fa9aa; font-size: 11px; margin: 3px 0 0; }
.delete-form .button { min-height: 40px; }
.share-open-page { text-align: center; padding-top: 130px; padding-bottom: 150px; }
.share-open-page > p:not(.eyebrow) { color: #b8c0c0; }
.share-spinner { width: 34px; height: 34px; margin: 0 auto 24px; border: 2px solid rgba(213,183,127,.25); border-top-color: var(--brass-light); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.admin-wrap { padding-bottom: 100px; }
.admin-toolbar { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.admin-toolbar form:last-child { margin-left: auto; }
.status-pill { border: 1px solid; border-radius: 999px; padding: 5px 12px; font-size: 12px; }
.status-open { color: #c0d6bc; border-color: rgba(157,182,154,.5); }
.status-closed { color: #e7b6b1; border-color: rgba(159,57,55,.7); }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; padding: 24px 0; }
.metric-grid > div { border: 1px solid var(--line); padding: 16px; }
.metric-grid span { display: block; color: #a8b0b2; font-size: 12px; }
.metric-grid strong { display: block; margin-top: 8px; font-size: 25px; font-weight: 500; color: var(--brass-light); }
.admin-section { padding: 25px 0; }
.admin-section h2 { font-family: var(--serif); font-weight: 500; }
.admin-login { max-width: 500px; }
.admin-login button { margin-top: 20px; }
.print-toolbar { display: flex; gap: 17px; align-items: center; padding: 0 0 17px; }
.print-toolbar .text-link { color: var(--brass-light); }
.print-page { background: #f2eee6; color: var(--navy); }
.report-print { padding-top: 0; }
.report-print .report-sheet { box-shadow: none; }
.copy-fallback { position: fixed; left: -9999px; top: -9999px; }
[hidden] { display: none !important; }

@media (max-width: 1000px) {
  .character-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .header-row { gap: 20px; }
  .brand { min-width: auto; }
  .main-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 14px; }
  .sky-label { font-size: 9px; }
  .preview-grid { gap: 42px; }
  .report-content { padding-inline: 32px; }
}
@media (max-width: 700px) {
  .wrap { width: min(calc(100% - 36px), var(--content)); }
  .case-flow { width: min(calc(100% - 36px), var(--content)); margin-bottom: 24px; }
  .case-flow-step { gap: 7px; padding-right: 8px; }
  .case-flow-step + .case-flow-step { padding-left: 8px; }
  .case-flow-number { width: 28px; height: 28px; font-size: 9px; }
  .case-flow-copy strong { font-size: 10px; }
  .case-flow-copy small { font-size: 9px; }
  .header-row { min-height: 70px; flex-wrap: wrap; gap: 0; padding-block: 12px; }
  .brand { flex: 1; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 9px; }
  .seal { width: 36px; height: 36px; }
  .header-cta { font-size: 12px; padding: 7px 10px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; margin-top: 13px; gap: 10px; }
  .main-nav a { font-size: 12px; }
  .hero-section, .hero-grid { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 60px 0 0; }
  .hero-copy h1 { font-size: clamp(42px, 11vw, 59px); }
  .hero-lede { font-size: 15px; margin-block: 18px 23px; }
  .hero-actions { align-items: flex-start; gap: 17px; }
  .hero-actions .button { min-height: 48px; }
  .sky-visual { width: min(92%, 410px); margin: 7px auto 15px; }
  .sky-seal { width: 132px; height: 156px; }
  .sky-seal span { font-size: 52px; }
  .process-section { padding-top: 63px; padding-bottom: 69px; }
  .process-list { grid-template-columns: repeat(2,1fr); }
  .process-list li { min-height: 155px; }
  .process-list li + li { padding-left: 16px; }
  .process-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process-list li:nth-child(n+3) { border-top: 1px solid rgba(177,139,83,.6); margin-top: 15px; }
  .process-list strong { font-size: 17px; }
  .process-list p { font-size: 12px; }
  .preview-band { padding: 60px 0; }
  .preview-grid { grid-template-columns: 1fr; gap: 29px; }
  .preview-grid h2 { font-size: 32px; }
  .sample-sheet { padding: 23px; margin: 0; }
  .notice-section { padding-block: 66px; }
  .notice-section h2 { font-size: 26px; }
  .final-cta { padding: 59px 0 65px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-links { justify-content: flex-start; }
  .footer-notice { grid-column: auto; }
  .page-hero { padding-top: 54px; padding-bottom: 32px; }
  .page-hero h1 { font-size: clamp(36px,9vw,48px); }
  .page-hero > p:last-child { font-size: 15px; }
  .content-section { padding-bottom: 72px; }
  .cast-section { padding-bottom: 68px; }
  .cast-heading { margin-bottom: 22px; }
  .character-portrait { height: 235px; }
  .character-copy { padding: 15px 15px 17px; }
  .character-copy > p:not(.character-department) { min-height: 0; }
  .procedure-list article { grid-template-columns: 48px 1fr; gap: 9px; padding-block: 23px; }
  .procedure-list h2 { font-size: 19px; }
  .procedure-list p, .prose p { font-size: 14px; }
  .policy-box { padding: 20px; }
  .intake-form, .review-sheet { padding: 23px 18px; }
  .date-grid { gap: 8px; grid-template-columns: 1.25fr 1fr 1fr; }
  .form-section > legend { font-size: 20px; }
  .review-details > div { grid-template-columns: 105px 1fr; gap: 8px; }
  .review-actions { align-items: stretch; flex-direction: column-reverse; }
  .review-actions .button, .review-actions form, .review-actions form .button { width: 100%; }
  .report-wrap { width: 100%; padding: 16px 0 50px; }
  .report-topline { padding-inline: 18px; margin-bottom: 13px; }
  .report-actions, .share-panel, .delete-form { margin-inline: 18px; }
  .report-actions .button { flex: 1 1 145px; }
  .share-panel { grid-template-columns: 1fr; padding: 17px; }
  .share-result { grid-column: auto; }
  .delete-form { align-items: flex-start; }
  .report-cover { min-height: 340px; padding: 24px 22px 29px; }
  .cover-title { margin-top: 43px; }
  .cover-title h1 { font-size: 36px; }
  .doc-meta { max-width: 80%; gap: 14px 20px; margin-top: 33px; }
  .doc-meta strong { font-size: 11px; }
  .approval-stamp { width: 60px; height: 60px; right: 18px; bottom: 29px; font-size: 12px; }
  .report-content { padding: 0 22px 26px; }
  .report-section { padding: 29px 0 31px; }
  .report-section h2 { font-size: 22px; }
  .birth-summary { grid-template-columns: 1fr; }
  .birth-summary > div { padding-block: 11px; }
  .reflection-grid { grid-template-columns: 1fr; gap: 13px; }
  .day-master { gap: 16px; padding: 17px; }
  .day-master-char { font-size: 44px; }
  .element-row { grid-template-columns: 98px 1fr; gap: 8px; }
  .warning-box { padding: 16px; }
  .admin-toolbar { flex-wrap: wrap; }
  .admin-toolbar form:last-child { margin-left: 0; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .metric-grid > div { padding: 13px; }
  .metric-grid strong { font-size: 21px; }
  .share-open-page { padding-top: 100px; padding-bottom: 120px; }
}
@media (max-width: 390px) {
  .case-flow-step { flex-direction: column; align-items: flex-start; gap: 6px; }
  .case-flow-step + .case-flow-step { padding-left: 7px; }
  .case-flow-copy small { display: none; }
  .character-grid { grid-template-columns: 1fr; }
  .character-card { display: grid; grid-template-columns: minmax(112px,.72fr) minmax(0,1.28fr); align-items: stretch; }
  .character-portrait { height: auto; min-height: 220px; border-bottom: 0; border-right: 1px solid rgba(240,231,213,.1); }
  .character-portrait img { width: 100%; height: auto; max-height: 270px; align-self: end; }
  .character-copy { align-self: center; padding: 16px 14px; }
  .character-copy > p:not(.character-department) { font-size: 12px; }
  .character-trait { line-height: 1.55; }
}
@media print {
  :root { color-scheme: light; }
  body, .print-page { background: white !important; color: #182632 !important; font-size: 10pt; }
  .no-print, .site-header, .site-footer { display: none !important; }
  .wrap, .report-wrap { width: 100%; max-width: none; margin: 0; padding: 0; }
  .report-sheet { box-shadow: none; background: #fff; animation: none !important; }
  .reveal-target { opacity: 1 !important; transform: none !important; }
  .report-cover { min-height: 0; padding: 22mm 16mm 16mm; break-after: avoid; }
  .report-content { padding: 0 16mm 12mm; }
  .report-section { break-inside: avoid; padding-block: 9mm; }
  .table-scroll { overflow: visible; }
  .pillar-table { min-width: 0; }
  .pillar-table th, .pillar-table td, .simple-table th, .simple-table td { padding: 7px 5px; }
  .chart-char { font-size: 20pt; }
  .report-footer { break-inside: avoid; }
  .warning-box, .day-master, .sample-sheet { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { color: inherit; text-decoration: none; }
  @page { size: A4; margin: 13mm; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
}
