.maeum-saju-app {
  --ms-ink: #2d2724;
  --ms-soft: #6f6660;
  --ms-paper: #f8f4ed;
  --ms-plum: #653a4a;
  --ms-deep-plum: #4a2936;
  --ms-gold: #bd9161;
  --ms-line: #ddd3c6;
  --ms-white: #fffdfa;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--ms-paper);
  color: var(--ms-ink);
  font-family: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.maeum-saju-app *,
.maeum-saju-app *::before,
.maeum-saju-app *::after { box-sizing: border-box; }
.maeum-saju-app h2,
.maeum-saju-app h3,
.maeum-saju-app p { margin-top: 0; }
.maeum-saju-app button,
.maeum-saju-app input,
.maeum-saju-app select { font: inherit; }
.maeum-saju-app button { cursor: pointer; }
.maeum-saju-app .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.ms-top-line {
  height: 4px;
  background: linear-gradient(90deg, var(--ms-deep-plum), var(--ms-gold), var(--ms-deep-plum));
}
.ms-header {
  height: 76px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ms-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.ms-brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--ms-plum);
  color: #fff;
  font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.ms-header-note { color: #897d73; font-size: 13px; letter-spacing: .06em; }
.ms-entry {
  margin: 0 30px 76px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 650px;
  background: var(--ms-white);
  border: 1px solid var(--ms-line);
  box-shadow: 0 22px 60px rgba(74,41,54,.08);
}
.ms-intro {
  position: relative;
  overflow: hidden;
  padding: 68px 58px 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 12% 4%, rgba(189,145,97,.17), transparent 28%),
    linear-gradient(145deg, #f3ebdf 0%, #e9ddd0 100%);
}
.ms-intro::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(101,58,74,.12);
  border-radius: 50%;
  top: 108px;
  right: -210px;
}
.ms-eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--ms-plum);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
.ms-intro h2 {
  margin-bottom: 0;
  max-width: 440px;
  color: var(--ms-ink);
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.35;
  letter-spacing: -.06em;
  font-weight: 700;
}
.ms-intro-copy {
  margin: 24px 0 0;
  color: var(--ms-soft);
  font-size: 15px;
  line-height: 1.85;
}
.ms-emblem {
  position: relative;
  z-index: 1;
  width: 190px;
  height: 190px;
  margin: 14px auto 22px;
  display: grid;
  place-items: center;
}
.ms-emblem-center {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--ms-plum);
  color: #f8e9d3;
  font-size: 28px;
  box-shadow: 0 12px 30px rgba(74,41,54,.25), inset 0 0 0 1px rgba(255,255,255,.22);
}
.ms-orbit {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(101,58,74,.38);
  border-radius: 50%;
}
.ms-orbit-two {
  inset: 0 42px;
  transform: rotate(58deg);
  border-color: rgba(189,145,97,.65);
}
.ms-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ms-gold);
  box-shadow: 0 0 0 5px rgba(189,145,97,.15);
}
.ms-dot-one { top: 28px; right: 29px; }
.ms-dot-two { bottom: 33px; left: 25px; background: var(--ms-plum); }
.ms-dot-three { top: 85px; left: 9px; width: 6px; height: 6px; }
.ms-intro-bottom {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  border-top: 1px solid rgba(101,58,74,.16);
}
.ms-intro-bottom strong { font-size: 14px; }
.ms-intro-bottom p { margin: 7px 0 16px; color: var(--ms-soft); font-size: 13px; }
.ms-tags,
.ms-keywords { display: flex; gap: 8px; flex-wrap: wrap; }
.ms-tags span,
.ms-keywords span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,253,250,.75);
  color: var(--ms-plum);
  font-family: Arial, sans-serif;
  font-size: 12px;
}
.ms-form-panel { padding: 55px 62px 46px; background: var(--ms-white); }
.ms-form-heading {
  display: flex;
  align-items: center;
  gap: 17px;
  padding-bottom: 24px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--ms-line);
}
.ms-form-heading > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ms-plum);
  border-radius: 50%;
  color: var(--ms-plum);
  font-size: 12px;
  font-weight: 800;
}
.ms-form-heading p {
  margin: 0 0 4px;
  color: var(--ms-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
}
.ms-form-heading h3 {
  margin: 0;
  color: var(--ms-ink);
  font-size: 21px;
  letter-spacing: -.04em;
}
.ms-label {
  display: block;
  margin: 19px 0 8px;
  color: #4f4742;
  font-size: 13px;
  font-weight: 700;
}
.ms-input,
.ms-select {
  display: block;
  width: 100% !important;
  height: 49px !important;
  min-height: 49px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid var(--ms-line) !important;
  border-radius: 3px !important;
  background-color: #fff !important;
  color: var(--ms-ink) !important;
  font-size: 14px !important;
  line-height: 47px !important;
  box-shadow: none !important;
  outline: none !important;
}
.ms-select { appearance: auto !important; }
.ms-input:focus,
.ms-select:focus {
  border-color: var(--ms-plum) !important;
  box-shadow: 0 0 0 2px rgba(101,58,74,.09) !important;
}
.ms-input::placeholder { color: #aaa097; opacity: 1; }
.ms-date-grid {
  display: grid;
  grid-template-columns: 1.25fr .9fr .9fr;
  gap: 8px;
}
.ms-choice-grid,
.ms-calendar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ms-choice,
.ms-calendar {
  min-height: 48px;
  margin: 0 !important;
  border: 1px solid var(--ms-line) !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: var(--ms-soft) !important;
  text-transform: none !important;
  box-shadow: none !important;
  transition: .18s ease;
}
.ms-choice:hover,
.ms-calendar:hover { border-color: #a9959e !important; }
.ms-choice.is-active,
.ms-calendar.is-active {
  border-color: var(--ms-plum) !important;
  background: #f7f0f2 !important;
  color: var(--ms-plum) !important;
  box-shadow: inset 0 0 0 1px var(--ms-plum) !important;
}
.ms-calendar {
  padding: 9px 14px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.ms-calendar strong { font-size: 14px; }
.ms-calendar small { color: #9a9088; font-size: 10px; }
.ms-submit {
  width: 100%;
  height: 55px;
  margin: 25px 0 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: var(--ms-plum) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: -.02em !important;
  box-shadow: 0 9px 20px rgba(101,58,74,.18) !important;
  transition: transform .2s ease, background .2s ease;
}
.ms-submit:hover { transform: translateY(-1px); background: var(--ms-deep-plum) !important; }
.ms-submit span { margin-left: 8px; font-size: 19px; }
.ms-privacy {
  margin: 12px 0 0;
  color: #9a9088;
  font-family: Arial, sans-serif;
  font-size: 11px;
  text-align: center;
}
.ms-privacy span { color: var(--ms-plum); }
.ms-error {
  margin: 10px 0 -12px;
  color: #a43d3d;
  font-family: Arial, sans-serif;
  font-size: 12px;
}
.ms-result {
  max-width: 1060px;
  margin: 0 auto;
  padding: 30px 24px 85px;
  scroll-margin-top: 18px;
}
.ms-result[hidden] { display: none !important; }
.ms-result-title { margin-bottom: 34px; text-align: center; }
.ms-result-title h2 {
  margin: 0;
  color: var(--ms-ink);
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.35;
  letter-spacing: -.06em;
}
.ms-result-title p { margin: 12px 0 0; color: var(--ms-soft); font-size: 13px; }
.ms-summary {
  position: relative;
  overflow: hidden;
  min-height: 184px;
  margin-bottom: 18px;
  padding: 38px 48px;
  display: flex;
  align-items: center;
  gap: 31px;
  background: var(--ms-deep-plum);
  color: #fff;
  box-shadow: 0 18px 35px rgba(74,41,54,.15);
}
.ms-summary::after {
  content: "";
  position: absolute;
  right: -65px;
  top: -100px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.ms-summary-symbol {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #e5c9a4;
  font-size: 30px;
}
.ms-summary p { margin: 0 0 5px; color: #d7bdc6; font-size: 12px; letter-spacing: .07em; }
.ms-summary h3 { margin: 0 0 18px; color: #fff; font-size: 26px; letter-spacing: -.04em; }
.ms-keywords span { background: rgba(255,255,255,.1); color: #fff; }
.ms-result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ms-reading-card {
  position: relative;
  min-height: 245px;
  padding: 34px 34px 31px;
  background: var(--ms-white);
  border: 1px solid var(--ms-line);
}
.ms-reading-card.ms-large,
.ms-reading-card.ms-elements { min-height: 330px; }
.ms-reading-card.ms-large { background: #eee3d5; }
.ms-card-number {
  position: absolute;
  top: 27px;
  right: 31px;
  color: #cabaaa;
  font-family: Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .1em;
}
.ms-card-kicker { color: var(--ms-plum); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.ms-reading-card h3 { margin: 12px 0 18px; color: var(--ms-ink); font-size: 21px; letter-spacing: -.04em; }
.ms-reading-card p { margin: 0; color: var(--ms-soft); font-size: 14px; line-height: 1.95; word-break: keep-all; }
.ms-card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 23px;
  border: 1px solid #c5aea0;
  border-radius: 50%;
  color: var(--ms-plum);
  font-size: 13px;
}
.ms-element-list { margin-top: 25px; display: grid; gap: 13px; }
.ms-element-row { display: grid; grid-template-columns: 30px 1fr 36px; align-items: center; gap: 11px; }
.ms-element-name {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
}
.ms-element-track { height: 5px; overflow: hidden; border-radius: 9px; background: #eee8e1; }
.ms-element-track span { display: block; height: 100%; border-radius: inherit; transition: width .6s ease; }
.ms-element-row strong { color: var(--ms-soft); font-family: Arial, sans-serif; font-size: 11px; text-align: right; }
.ms-flow { margin-top: 18px; padding: 36px 42px; border-left: 4px solid var(--ms-gold); background: #eadfce; }
.ms-flow span { color: var(--ms-plum); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.ms-flow h3 { margin: 10px 0 0; color: var(--ms-ink); font-size: 18px; line-height: 1.75; font-weight: 500; }
.ms-disclaimer {
  max-width: 870px;
  margin: 24px auto 0;
  color: #938981;
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}
.ms-footer { padding: 48px 24px; border-top: 1px solid var(--ms-line); background: #e9e0d5; text-align: center; }
.ms-footer > span { color: var(--ms-plum); font-size: 16px; font-weight: 800; }
.ms-footer p { margin: 10px 0 20px; color: var(--ms-soft); font-size: 13px; }
.ms-footer small { color: #9a9088; font-family: Arial, sans-serif; font-size: 10px; }

@media (max-width: 860px) {
  .ms-entry { margin: 0 18px 58px; grid-template-columns: 1fr; }
  .ms-intro { min-height: 590px; padding: 48px 36px 36px; }
  .ms-form-panel { padding: 46px 36px 40px; }
  .ms-result { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 560px) {
  .ms-header { height: 66px; padding: 0 18px; }
  .ms-header-note { display: none; }
  .ms-entry { margin: 0 10px 44px; border-left: 0; border-right: 0; box-shadow: 0 13px 35px rgba(74,41,54,.08); }
  .ms-intro { min-height: 570px; padding: 38px 25px 30px; }
  .ms-intro h2 { font-size: 33px; }
  .ms-intro-copy { font-size: 14px; }
  .ms-desktop-break { display: none; }
  .ms-emblem { transform: scale(.88); margin-top: 4px; margin-bottom: 5px; }
  .ms-form-panel { padding: 36px 22px 32px; }
  .ms-form-heading h3 { font-size: 19px; }
  .ms-date-grid { grid-template-columns: 1.15fr .9fr .9fr; gap: 5px; }
  .ms-select { padding: 0 8px !important; font-size: 13px !important; }
  .ms-calendar small { display: none; }
  .ms-result { padding-top: 20px; padding-bottom: 64px; }
  .ms-result-grid { grid-template-columns: 1fr; }
  .ms-summary { padding: 31px 26px; gap: 20px; }
  .ms-summary-symbol { width: 60px; height: 60px; font-size: 22px; }
  .ms-summary h3 { font-size: 21px; }
  .ms-reading-card,
  .ms-reading-card.ms-large,
  .ms-reading-card.ms-elements { min-height: 0; padding: 30px 26px; }
  .ms-flow { padding: 28px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .maeum-saju-app *,
  .maeum-saju-app *::before,
  .maeum-saju-app *::after { scroll-behavior: auto !important; transition: none !important; }
}
