@font-face {
  font-family: 'Pretendard';
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/fonts/Pretendard-SemiBold.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/fonts/Pretendard-Bold.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --page-content-max: 720px;
  --page-content-width: min(calc(100% - 32px), var(--page-content-max));
  --page-navigation-width: min(calc(100% - 16px), var(--page-content-max));
  font-family: 'Pretendard', system-ui, sans-serif;
  color: #191f28;
  background: #f7eefd;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: #f7eefd; }
button, input, select { font: inherit; }
a { color: inherit; }

.viewport-frame { width: min(100%, 100svh); min-height: 100svh; margin-inline: auto; background: #f7eefd; }
.app-shell { min-height: 100svh; background: transparent; }
.member-navigation {
  position: fixed;
  z-index: 20;
  right: auto;
  bottom: 10px;
  left: 50%;
  display: flex;
  width: var(--page-navigation-width);
  height: 74px;
  transform: translateX(-50%);
  flex-direction: row;
  gap: 2px;
  padding: 6px;
  border: 1px solid #cdbbea;
  border-radius: 8px;
  background: #fbf5fe;
  box-shadow: none;
}
.member-navigation a {
  min-width: 0;
  min-height: 56px;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  padding: 4px 2px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #7251bd;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.member-navigation a i { height: 24px; font-size: 21px; font-style: normal; line-height: 24px; }
.member-navigation a > .lucide { width: 22px; height: 22px; flex: 0 0 auto; }
.member-navigation a.active { border-color: #d8c5f4; background: #eee5ff; color: #5c35bb; }
.member-navigation a.nav-centerpiece {
  position: relative;
  z-index: 2;
  min-width: 74px;
  max-width: 74px;
  height: 74px;
  min-height: 74px;
  margin: -18px 4px 0;
  border: 2px solid #cbb2f2;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f3d8ed;
  background-image: url("/images/cat_face_normal.png");
  background-position: center 52%;
  background-repeat: no-repeat;
  background-size: 120% auto;
  box-shadow: inset 0 0 0 3px #f8f2ff;
}
.member-navigation .nav-centerpiece i { display: grid; width: 100%; height: 100%; opacity: 0; place-items: center; }
.member-navigation .nav-centerpiece.active { border-color: #9b73db; background-color: #f3d8ed; }
body:has(.member-navigation) .viewport-frame { padding-bottom: 96px; }
body:has(.app-header) .viewport-frame { padding-top: 82px; }
body:has(.app-header) .app-shell > .top-bar,
body:has(.app-header) .app-shell > .page-header { display: none; }
.app-header {
  position: fixed;
  z-index: 30;
  top: 10px;
  left: 50%;
  display: flex;
  width: var(--page-content-width);
  height: 64px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border: 0;
  background: transparent;
}
.app-header::before { position: absolute; z-index: -1; top: -10px; bottom: -7px; left: -18px; width: calc(100% + 36px); background: #f7eefd; content: ""; }
.app-logo { color: #6540bd; font-size: 24px; font-weight: 700; text-decoration: none; }
.app-logo span { margin-left: 5px; color: #f3b7d5; font-size: 14px; vertical-align: top; }
.app-header-actions { display: flex; gap: 8px; }
.header-icon-button { display: grid; width: 42px; height: 42px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #6944bf; cursor: pointer; place-items: center; }
.header-icon-button:hover, .header-icon-button[aria-expanded="true"] { border-color: #d8c5f4; background: #eee5ff; }
.header-icon-button .lucide { width: 24px; height: 24px; }
.header-popup { position: absolute; z-index: 40; top: -10px; right: auto; left: -18px; width: calc(100% + 36px); max-height: 80svh; overflow: auto; border: 0; border-bottom: 1px solid #cdbbea; border-radius: 0 0 8px 8px; background: #fbf5fe; box-shadow: none; }
.header-popup > header { display: flex; min-height: 54px; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid #e6dbf7; }
.header-popup > header strong { color: #53329d; font-size: 18px; }
.header-popup > header button { display: grid; width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: #8069aa; cursor: pointer; place-items: center; }
.header-popup > header button .lucide { width: 20px; height: 20px; }
.notification-empty { display: grid; min-height: 210px; align-content: center; justify-items: center; padding: 24px; text-align: center; }
.notification-empty-icon { display: grid; width: 54px; height: 54px; margin-bottom: 14px; border: 1px solid #d7c5f2; border-radius: 50%; background: #eee5ff; color: #8a60d4; place-items: center; }
.notification-empty-icon .lucide { width: 24px; height: 24px; }
.notification-empty p { margin: 8px 0 0; color: #806f9f; font-size: 13px; line-height: 1.55; }
.menu-popup nav { display: grid; }
.menu-popup nav a { display: grid; min-height: 68px; grid-template-columns: 34px 1fr 16px; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #eee6fa; text-decoration: none; }
.menu-popup nav a:hover { background: #f5efff; }
.menu-popup nav a > .lucide { width: 21px; height: 21px; color: #7650c8; }
.menu-popup nav a > .lucide:last-child { width: 17px; height: 17px; color: #9a82c1; }
.menu-popup nav span { display: grid; gap: 4px; }
.menu-popup nav small { color: #8b7aa8; font-size: 12px; }
.menu-popup form { margin: 0; padding: 12px 16px; }
.menu-logout { width: 100%; min-height: 42px; border: 1px solid #dccdf2; border-radius: 6px; background: #f4edff; color: #6545a7; cursor: pointer; }
.top-bar, .page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--page-content-width);
  height: 64px;
  margin: 0 auto;
}
.page-header { justify-content: flex-start; gap: 20px; }
.brand { font-size: 20px; font-weight: 700; text-decoration: none; }
.text-button, .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: #4e5968;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.back-link .lucide { display: block; width: 20px; height: 20px; }
.top-bar form { margin: 0; }
.home-actions { display: flex; align-items: center; gap: 14px; }
.guest-login-link .lucide { width: 17px; height: 17px; }

.main-content { width: var(--page-content-width); margin: 0 auto; }
.fortune-entry { max-width: 560px; padding: 112px 0 64px; }
.guest-entry { display: grid; min-height: calc(100svh - 128px); align-items: center; padding: 28px 0 72px; }
.guest-conversation { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(240px, .92fr); align-items: center; gap: 4px; }
.guest-speech-bubble { position: relative; z-index: 2; padding: 34px 36px 32px; border: 2px solid #cbb1ed; border-radius: 28px; background: rgba(255, 250, 255, .94); box-shadow: 0 18px 44px rgba(85, 49, 148, .12); }
.guest-speech-bubble::before, .guest-speech-bubble::after { position: absolute; top: 51%; width: 0; height: 0; border-style: solid; content: ""; }
.guest-speech-bubble::before { right: -25px; border-width: 17px 0 17px 25px; border-color: transparent transparent transparent #cbb1ed; }
.guest-speech-bubble::after { right: -21px; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fffaff; }
.guest-speech-label { display: inline-flex; align-items: center; gap: 6px; color: #865bd2; font-size: 12px; font-weight: 700; }
.guest-speech-label .lucide { width: 15px; height: 15px; }
.guest-speech-bubble h1 { margin: 16px 0 0; color: #3f276f; font-size: clamp(34px, 5.3vw, 46px); line-height: 1.18; letter-spacing: -.035em; word-break: keep-all; }
.guest-speech-bubble > p { margin: 17px 0 25px; color: #77688d; font-size: 15px; font-weight: 600; }
.guest-entry-cta { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid #7550c6; border-radius: 16px; background: #7c55cf; box-shadow: 0 8px 0 #5e39ac; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.guest-entry-cta:hover { transform: translateY(2px); background: #7048c4; box-shadow: 0 6px 0 #5e39ac; }
.guest-entry-cta .lucide { width: 19px; height: 19px; transition: transform .18s ease; }
.guest-entry-cta:hover .lucide { transform: translateX(3px); }
.guest-speech-bubble > small { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 15px; color: #9a8aaa; font-size: 11px; font-weight: 600; }
.guest-speech-bubble > small .lucide { width: 13px; height: 13px; }
.guest-tamami { position: relative; z-index: 1; display: grid; min-height: 390px; align-items: center; justify-items: center; }
.guest-tamami::before { position: absolute; z-index: -1; width: 290px; height: 290px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 247, 177, .62) 0 3%, rgba(222, 201, 255, .76) 42%, rgba(222, 201, 255, 0) 72%); content: ""; }
.guest-tamami img { display: block; width: min(100%, 330px); height: auto; filter: drop-shadow(0 20px 20px rgba(80, 46, 139, .13)); image-rendering: pixelated; animation: tamami-float 4s ease-in-out infinite; }
.guest-sparkle { position: absolute; color: #dfb73f; filter: drop-shadow(0 2px 0 #fff8bf); animation: guest-sparkle 2.8s ease-in-out infinite; }
.guest-sparkle-one { top: 13%; left: 7%; width: 24px; height: 24px; }
.guest-sparkle-two { top: 27%; right: 3%; width: 20px; height: 20px; animation-delay: -.8s; }
.guest-sparkle-three { right: 13%; bottom: 17%; width: 28px; height: 28px; animation-delay: -1.6s; }
.guest-preview-section { padding: 20px 0 104px; }
.guest-preview-heading { max-width: 520px; margin: 0 auto; text-align: center; }
.guest-preview-heading > span { display: inline-flex; align-items: center; gap: 6px; color: #8c64d2; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.guest-preview-heading > span .lucide { width: 15px; height: 15px; }
.guest-preview-heading h2 { margin: 10px 0 0; color: #472b79; font-size: 24px; letter-spacing: -.025em; word-break: keep-all; }
.guest-preview-heading p { margin: 8px 0 0; color: #88769e; font-size: 13px; font-weight: 600; word-break: keep-all; }
.guest-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.guest-preview-card { position: relative; display: flex; min-width: 0; min-height: 350px; flex-direction: column; padding: 18px 16px 17px; overflow: hidden; border: 1px solid #dfd0f1; border-radius: 18px; background: #fffaff; box-shadow: 0 12px 30px rgba(84, 50, 139, .07); }
.guest-preview-card::after { position: absolute; top: -44px; right: -44px; width: 110px; height: 110px; border-radius: 50%; background: rgba(225, 209, 249, .52); content: ""; }
.guest-preview-card > header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.guest-preview-card > header > .lucide { width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: #e9ddfa; color: #7650c6; }
.guest-preview-badge { padding: 5px 7px; border: 1px solid #ddcff2; border-radius: 999px; background: rgba(255, 255, 255, .76); color: #80669c; font-size: 9px; font-weight: 800; white-space: nowrap; }
.guest-preview-kicker { margin: 24px 0 6px; color: #966bd7; font-size: 10px; font-weight: 800; }
.guest-preview-card h3 { margin: 0; color: #493066; font-size: 17px; line-height: 1.42; letter-spacing: -.02em; word-break: keep-all; }
.guest-preview-card h3 > strong { color: #7950ca; font-size: 1.08em; }
.guest-mini-ratings { display: grid; gap: 7px; margin: 19px 0 15px; }
.guest-mini-ratings p { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; color: #79678e; font-size: 10px; font-weight: 700; }
.guest-mini-ratings b { color: #9b70db; font-size: 9px; letter-spacing: -1px; white-space: nowrap; }
.guest-mini-ratings em { color: #ddd1e8; font-style: normal; }
.guest-preview-copy { margin: auto 0 0; padding-top: 18px; color: #6f617d; font-size: 11px; font-weight: 600; line-height: 1.7; word-break: keep-all; }
.guest-preview-topics { display: flex; flex-wrap: wrap; gap: 5px; margin: 15px 0 0; }
.guest-preview-topics span { padding: 5px 7px; border-radius: 999px; background: #f0e8f8; color: #80699a; font-size: 9px; font-weight: 700; }
.guest-preview-pass-note { margin: 10px 0 0; padding-top: 9px; border-top: 1px dashed #e2d7eb; color: #9a8aa7; font-size: 9px; font-weight: 600; line-height: 1.5; word-break: keep-all; }
.guest-preview-self { background: #fcf9ff; }
.guest-preview-self > header > .lucide { background: #fff0c8; color: #c98a2e; }
.guest-preview-self::after { background: rgba(255, 232, 173, .54); }
.guest-preview-relation { background: #fff9fc; }
.guest-preview-relation > header > .lucide { background: #f5dced; color: #cc5d96; }
.guest-preview-relation::after { background: rgba(245, 216, 235, .62); }
.guest-preview-footer { display: grid; justify-items: center; margin-top: 24px; }
.guest-preview-footer > p { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin: 0; color: #9585a5; font-size: 10px; font-weight: 600; line-height: 1.55; text-align: center; word-break: keep-all; }
.guest-preview-footer > p .lucide { width: 13px; min-width: 13px; height: 13px; margin-top: 1px; }
.guest-preview-cta { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; padding: 0 18px; border: 1px solid #d6c2ef; border-radius: 13px; background: #f7effd; color: #7148bd; font-size: 12px; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.guest-preview-cta:hover { transform: translateY(-2px); background: #f0e4fa; }
.guest-preview-cta .lucide { width: 16px; height: 16px; }
.guest-preview-card[data-preview-open] { cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.guest-preview-card[data-preview-open]:hover { transform: translateY(-5px); border-color: #c9afe8; box-shadow: 0 18px 36px rgba(84, 50, 139, .13); }
.guest-preview-card[data-preview-open]:focus-visible { outline: 3px solid #9670dd; outline-offset: 4px; }
.guest-preview-open-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #eadff3; color: #7950c5; font-size: 10px; font-weight: 800; }
.guest-preview-open-label .lucide { width: 14px; height: 14px; transition: transform .18s ease; }
.guest-preview-card[data-preview-open]:hover .guest-preview-open-label .lucide { transform: translateX(3px); }

.guest-result-dialog { --result-accent: #7b55ca; --result-soft: #eee3fb; width: min(680px, calc(100% - 32px)); max-width: 680px; max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: #fffaff; box-shadow: 0 28px 90px rgba(44, 24, 76, .3); color: #4c3760; }
.guest-result-dialog::backdrop { background: rgba(37, 23, 50, .58); backdrop-filter: blur(4px); }
.guest-result-self { --result-accent: #c4862d; --result-soft: #fff0ca; }
.guest-result-relation { --result-accent: #c85d94; --result-soft: #f6ddeb; }
.guest-result-dialog[open] { animation: guest-result-enter .24s ease-out; }
.guest-result-dialog[open]::backdrop { animation: guest-result-backdrop .2s ease-out; }
.guest-result-dialog-shell { display: flex; max-height: calc(100dvh - 32px); flex-direction: column; }
.guest-result-dialog-header { z-index: 3; display: flex; min-height: 58px; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid #eee5f4; background: rgba(255, 250, 255, .96); }
.guest-result-dialog-brand { color: #4f2ca2; font-size: 17px; font-weight: 800; }
.guest-result-dialog-header button { display: grid; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 12px; background: #f2e9f8; color: #735a8d; cursor: pointer; place-items: center; }
.guest-result-dialog-header button:hover { background: #e9ddf2; }
.guest-result-dialog-header button .lucide { width: 18px; height: 18px; }
.guest-result-dialog-scroll { min-height: 0; padding: 24px 24px 30px; overflow-y: auto; overscroll-behavior: contain; }
.guest-result-mock-label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 6px 9px; border-radius: 999px; background: var(--result-soft); color: var(--result-accent); font-size: 10px; font-weight: 800; }
.guest-result-mock-label .lucide { width: 13px; height: 13px; }
.guest-result-product-heading { padding: 4px 2px 0; }
.guest-result-product-heading > p { margin: 0; color: var(--result-accent); font-size: 10px; font-weight: 800; }
.guest-result-product-heading > h2 { margin: 6px 0 0; color: #4f2aa5; font-size: 24px; letter-spacing: -.025em; }
.guest-result-product-heading > span { display: block; margin-top: 7px; color: #806d99; font-size: 11px; font-weight: 600; line-height: 1.6; word-break: keep-all; }
.guest-fortune-preview .fortune-overview { margin-top: 18px; }
.guest-fortune-preview .fortune-reading { margin-top: 14px; }
.guest-fortune-preview .fortune-detail p { color: #6f5b86; font-size: 12px; line-height: 1.75; }
.guest-report-preview .executive-summary { margin-top: 18px; }
.guest-report-preview .snapshot-overview { margin-top: 24px; }
.guest-report-basis { margin-top: 24px; padding: 20px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.guest-report-basis > h2 { margin: 0; color: #5632ad; font-size: 19px; line-height: 1.45; word-break: keep-all; }
.guest-report-basis-intro { margin: 9px 0 0; color: #806d99; font-size: 12px; font-weight: 600; line-height: 1.7; word-break: keep-all; }
.guest-report-subjects { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin-top: 16px; }
.guest-report-subjects article { min-width: 0; padding: 15px; border: 1px solid #e4d8ef; border-radius: 8px; background: #fff; }
.guest-report-subjects header { display: grid; gap: 3px; }
.guest-report-subjects header span { color: #9a70df; font-size: 10px; font-weight: 800; }
.guest-report-subjects header strong { color: #604d76; font-size: 12px; }
.guest-report-subjects dl { display: grid; gap: 9px; margin: 13px 0 0; }
.guest-report-subjects dl div { padding-top: 9px; border-top: 1px solid #eee5f5; }
.guest-report-subjects dt { color: #9a87b1; font-size: 9px; font-weight: 700; }
.guest-report-subjects dd { margin: 4px 0 0; color: #563d69; font-size: 11px; font-weight: 700; line-height: 1.55; word-break: keep-all; }
.guest-report-basis-note { margin: 13px 0 0; color: #9584a4; font-size: 10px; font-weight: 600; line-height: 1.6; word-break: keep-all; }
.guest-result-disclaimer { display: flex; align-items: flex-start; gap: 6px; margin: 24px 0 0; padding: 12px 14px; border-radius: 12px; background: #f5eff7; color: #8b7b96; font-size: 10px; font-weight: 600; line-height: 1.55; word-break: keep-all; }
.guest-result-disclaimer .lucide { width: 14px; min-width: 14px; height: 14px; margin-top: 1px; }
.guest-result-dialog-footer { z-index: 3; display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 22px; border-top: 1px solid #eadff0; background: rgba(255, 250, 255, .98); box-shadow: 0 -8px 24px rgba(74, 45, 99, .06); }
.guest-result-dialog-footer > p { display: grid; gap: 2px; margin: 0; }
.guest-result-dialog-footer > p strong { color: #55386c; font-size: 12px; }
.guest-result-dialog-footer > p span { color: #9988a4; font-size: 10px; font-weight: 600; }
.guest-result-dialog-footer > a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 0 17px; border-radius: 13px; background: #7c55cf; color: #fff; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.guest-result-dialog-footer > a:hover { background: #7048c4; }
.guest-result-dialog-footer > a .lucide { width: 15px; height: 15px; }
@keyframes guest-result-enter { from { transform: translateY(14px) scale(.985); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes guest-result-backdrop { from { opacity: 0; } to { opacity: 1; } }
@keyframes tamami-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes guest-sparkle { 0%, 100% { transform: scale(.82) rotate(-6deg); opacity: .55; } 50% { transform: scale(1.12) rotate(8deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .guest-tamami img, .guest-sparkle { animation: none; }
  .guest-entry-cta, .guest-entry-cta .lucide, .guest-preview-cta, .guest-preview-card[data-preview-open], .guest-preview-open-label .lucide { transition: none; }
  .guest-result-dialog[open], .guest-result-dialog[open]::backdrop { animation: none; }
}
.member-dashboard { padding: 0 0 104px; container-type: inline-size; }
.dashboard-heading { max-width: 680px; }
.dashboard-hero { position: relative; height: 280px; overflow: hidden; border: 1px solid #cdbbea; border-radius: 8px; background-color: #e9dcff; background-image: var(--home-hero-image, none); background-position: center; background-repeat: no-repeat; background-size: auto 100%; box-shadow: none; }
.pixel-sky { position: absolute; inset: 0; overflow: hidden; color: #ffffff; image-rendering: pixelated; }
.pixel-sky::before { position: absolute; right: 10%; bottom: 4px; left: 10%; height: 24px; border-radius: 6px; background: #f7f1ff; box-shadow: -70px 10px 0 #f7f1ff, 78px 8px 0 #f7f1ff; content: ""; }
.pixel-star { position: absolute; color: #fff9bd; font-size: 30px; text-shadow: 3px 3px 0 #b491e8; }
.pixel-star-one { top: 14%; left: 16%; }
.pixel-star-two { top: 24%; right: 18%; }
.pixel-moon { position: absolute; top: 12%; right: 8%; color: #fff0a8; font-size: 46px; text-shadow: 4px 4px 0 #b491e8; }
.dashboard-cat-button { position: absolute; z-index: 1; top: 60%; left: 50%; width: auto; height: 72%; padding: 0; transform: translate(-50%, -50%); border: 0; background: transparent; cursor: pointer; }
.dashboard-hero-image { display: block; width: auto; height: 100%; image-rendering: pixelated; }
.dashboard-cat-speech { position: absolute; z-index: 2; top: 12px; left: 50%; display: grid; width: min(230px, 64%); min-height: 48px; padding: 8px 14px; transform: translateX(-50%); border: 1px solid #cdbbea; border-radius: 8px; background: #fbf5fe; color: #6040a8; font-size: 11px; font-weight: 700; line-height: 1.45; text-align: center; white-space: pre-line; place-items: center; }
.dashboard-cat-speech::after { position: absolute; bottom: -7px; left: 50%; width: 12px; height: 12px; transform: translateX(-50%) rotate(45deg); border-right: 1px solid #cdbbea; border-bottom: 1px solid #cdbbea; background: #fbf5fe; content: ""; }

/* Checkout, legal, and commerce review surfaces */
.checkout-shell, .checkout-result-shell, .legal-shell { padding: 92px 0 120px; }
.checkout-main, .checkout-result, .legal-page { width: var(--page-content-width); margin: 0 auto; }
.checkout-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.checkout-heading h1, .legal-page h1, .checkout-result h1 { margin: 2px 0 0; color: #4f2da8; font-size: 24px; font-weight: 800; }
.checkout-back { color: #7858bf; font-size: 13px; font-weight: 700; text-decoration: none; }
.checkout-product, .checkout-customer, .checkout-payment, .checkout-policy { margin-bottom: 12px; padding: 20px; border: 1px solid #ddcef2; border-radius: 8px; background: #fbf5fe; }
.checkout-product { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 16px; }
.checkout-product h2, .checkout-customer h2, .checkout-payment h2, .checkout-policy h2 { margin: 0 0 10px; color: #5031a4; font-size: 16px; font-weight: 800; }
.checkout-product p, .checkout-customer p, .checkout-policy li { color: #715f8d; font-size: 12px; font-weight: 600; line-height: 1.65; }
.checkout-product > strong { color: #442493; font-size: 22px; font-weight: 800; }
.checkout-product > small { grid-column: 2; color: #907fa8; font-size: 10px; text-align: right; }
.checkout-badge { display: inline-block; margin-bottom: 7px; color: #9b54cc; font-size: 10px; font-weight: 800; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout-fields label { color: #624a88; font-size: 11px; font-weight: 800; }
.checkout-fields input { width: 100%; height: 42px; margin-top: 6px; padding: 0 12px; border: 1px solid #d8c5ee; border-radius: 6px; background: #fff; color: #39285b; font: inherit; box-sizing: border-box; }
.checkout-policy ul { margin: 0; padding-left: 18px; }
.checkout-policy-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.checkout-policy-links a { color: #7858bf; font-size: 11px; font-weight: 700; }
.checkout-submit { display: block; width: 100%; min-height: 50px; margin-top: 14px; border: 0; font-size: 15px; }
.checkout-submit:disabled { opacity: .45; }
.checkout-result { padding: 34px 22px; border: 1px solid #ddcef2; border-radius: 8px; background: #fbf5fe; text-align: center; }
.checkout-result-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: #835adc; color: white; font-size: 28px; font-weight: 800; place-items: center; }
.checkout-result.is-failed .checkout-result-icon { background: #b06d91; }
.checkout-result > p { color: #715f8d; font-size: 13px; line-height: 1.6; }
.checkout-result dl, .business-info-page dl { margin: 22px 0; border-top: 1px solid #e1d5ef; }
.checkout-result dl div, .business-info-page dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid #e1d5ef; text-align: left; }
.checkout-result dt, .business-info-page dt { color: #8a789f; font-size: 11px; font-weight: 700; }
.checkout-result dd, .business-info-page dd { margin: 0; overflow-wrap: anywhere; color: #4c376d; font-size: 12px; font-weight: 700; }
.checkout-result-guide { padding: 12px; border-radius: 6px; background: #f1e7fb; }
.checkout-result-link { display: block; margin-top: 18px; text-decoration: none; }
.legal-page { color: #5c496f; }
.legal-effective { margin-bottom: 24px; color: #8c7b9e; font-size: 12px; }
.legal-page section { padding: 18px 0; border-bottom: 1px solid #ddcef2; }
.legal-page section h2 { margin: 0 0 8px; color: #5031a4; font-size: 15px; }
.legal-page section p { margin: 0; font-size: 12px; line-height: 1.8; }
.commerce-footer { width: var(--page-content-width); margin: 28px auto 96px; padding: 18px 0; border-top: 1px solid #ddcef2; color: #8b7b9c; }
.commerce-footer nav { display: flex; flex-wrap: wrap; gap: 12px; }
.commerce-footer a { color: #6f5995; font-size: 10px; font-weight: 700; }
.commerce-footer nav button { padding: 0; border: 0; background: transparent; color: #6f5995; font: inherit; font-size: 10px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.commerce-footer p { margin: 7px 0 0; font-size: 9px; line-height: 1.5; }
.analytics-consent { position: fixed; z-index: 110; right: 0; bottom: 94px; left: 0; display: flex; width: var(--page-content-width); margin: 0 auto; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid #d8c5f4; border-radius: 8px; background: #fbf5fe; box-shadow: 0 8px 24px rgba(75, 43, 130, 0.14); color: #604d76; }
.analytics-consent[hidden] { display: none; }
.analytics-consent strong { display: block; color: #5632ad; font-size: 13px; font-weight: 800; }
.analytics-consent p { margin: 5px 0 0; font-size: 10px; line-height: 1.55; }
.analytics-consent-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.analytics-consent-actions button { min-width: 54px; min-height: 36px; padding: 0 12px; border: 1px solid #d8c5f4; border-radius: 6px; background: #f7eefd; color: #7650c6; font-size: 11px; font-weight: 800; cursor: pointer; }
.analytics-consent-actions .analytics-consent-accept { border-color: #8d61dc; background: #8d61dc; color: #ffffff; }

@media (max-width: 480px) {
  .analytics-consent { align-items: stretch; flex-direction: column; gap: 12px; }
  .analytics-consent-actions { justify-content: flex-end; }
}
.commerce-config-warning { color: #a24972; font-weight: 700; }
@media (max-width: 520px) {
  .checkout-fields { grid-template-columns: 1fr; }
  .checkout-product { grid-template-columns: 1fr; }
  .checkout-product > small { grid-column: 1; text-align: left; }
}
.pixel-orb { position: absolute; top: 46px; left: 50%; display: grid; width: 176px; height: 176px; transform: translateX(-50%); border: 7px solid #f8f3ff; border-radius: 50%; background: #c7aaf5; box-shadow: 0 0 0 5px #8d68d5, inset 12px 12px 0 #ddcefb; place-items: center; }
.pixel-orb span { color: #fff7a8; font-size: 62px; text-shadow: 5px 5px 0 #8b64d6; }
.pixel-orb-base { position: absolute; top: 170px; left: 50%; width: 220px; height: 66px; transform: translateX(-50%); border: 5px solid #7952c5; border-radius: 8px; background: #9f78df; box-shadow: inset 0 -14px 0 #7e58c5, 0 8px 0 #d4c0f4; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; border: 0; }
.dashboard-item { display: grid; min-width: 0; min-height: 126px; align-content: center; gap: 6px; padding: 16px; border: 2px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; box-shadow: 0 3px 0 #eee6fa; text-decoration: none; }
.dashboard-item i { color: #7a50d0; font-size: 25px; font-style: normal; }
.dashboard-item strong { font-size: 18px; }
.dashboard-item span { color: #806f9f; font-size: 13px; overflow-wrap: anywhere; }
.dashboard-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.dashboard-shortcut { display: grid; min-width: 0; min-height: 102px; align-content: center; justify-items: center; gap: 8px; padding: 8px 4px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; box-shadow: none; color: #5f3caf; text-decoration: none; }
.dashboard-shortcut i { display: grid; width: 58px; height: 58px; background-image: var(--shortcut-icon, none); background-position: center; background-repeat: no-repeat; background-size: 60% auto; color: #7650cb; font-size: 39px; font-style: normal; line-height: 1; text-shadow: 2px 2px 0 #ffffff, 3px 3px 0 #af91e2; image-rendering: pixelated; place-items: center; }
.dashboard-shortcut strong { font-size: 13px; font-weight: 700; }
.dashboard-shortcut:hover { border-color: #b99ae8; background: #f7f0ff; transform: translateY(-1px); }
.shortcut-fortune { --shortcut-icon: var(--shortcut-fortune-image, url("/images/luck.png")); }
.shortcut-report { --shortcut-icon: var(--shortcut-report-image, url("/images/calendar.png")); }
.shortcut-compatibility { --shortcut-icon: var(--shortcut-compatibility-image, url("/images/heart.png")); }
.shortcut-profile { --shortcut-icon: var(--shortcut-profile-image, url("/images/lunar.png")); }
.shortcut-fortune i { color: #7a55d1; }
.shortcut-report i { color: #5f39b1; }
.shortcut-compatibility i { color: #ed65a4; text-shadow: 2px 2px 0 #ffffff, 3px 3px 0 #8c5bc4; }
.shortcut-profile i { color: #ffc95f; text-shadow: 2px 2px 0 #ffffff, 3px 3px 0 #6e61bf; }
.dashboard-shortcut i { color: transparent; text-shadow: none; }
.home-insight-grid { display: grid; min-width: 0; }
.today-flow-card { margin-top: 18px; padding: 20px 24px 22px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.today-flow-header { display: flex; min-height: 28px; margin-bottom: 18px; align-items: center; justify-content: space-between; gap: 12px; }
.today-flow-card h2 { margin: 0; color: #5632ad; font-size: 19px; font-weight: 700; }
.today-flow-detail-link { padding: 6px 0; color: #9a83c5; font-size: 11px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.today-flow-detail-link::after { margin-left: 3px; content: "›"; }
.today-flow-detail-link:hover { color: #6845b5; }
.today-flow-content { display: grid; grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.35fr); align-items: center; gap: 26px; }
.today-score-summary { display: flex; min-width: 0; align-items: center; gap: 18px; padding-right: 24px; border-right: 1px solid #e2d6f4; }
.today-score-summary p { display: flex; align-items: baseline; margin: 0; color: #5733b4; }
.today-score-summary strong { font-size: 44px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.today-score-summary span { margin-left: 4px; color: #7c69a1; font-size: 13px; font-weight: 600; }
.today-flow-donut { width: 96px; height: 96px; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(#ed5b9d 0 var(--relationship-end), #f3a15f var(--relationship-end) var(--work-end), #5689d9 var(--work-end) var(--energy-end), #e8dff5 var(--energy-end) 100%); }
.today-flow-donut::after { display: block; width: 62px; height: 62px; margin: 17px; border-radius: 50%; background: #fbf5fe; content: ""; }
.today-domain-ratings { display: grid; gap: 12px; }
.today-domain-rating { display: grid; grid-template-columns: 30px 92px minmax(0, 1fr); align-items: center; gap: 8px; }
.today-domain-rating > i { color: #7b55ca; font-size: 23px; font-style: normal; text-align: center; }
.today-domain-rating > span { color: #5f478d; font-size: 12px; font-weight: 700; }
.today-domain-rating b { display: flex; gap: 5px; }
.today-domain-rating em { color: #ddd1ee; font-size: 18px; font-style: normal; }
.today-domain-rating em.filled { color: #7953ce; text-shadow: 1px 1px 0 #b99fe6; }
.today-domain-rating.relationship > i { color: #ed5b9d; }
.today-domain-rating.work > i { color: #f3a15f; }
.today-domain-rating.energy > i { color: #5689d9; }
.birth-chart-card { margin-top: 18px; padding: 24px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; box-shadow: none; }
.birth-chart-card > header { display: flex; align-items: center; justify-content: space-between; }
.birth-chart-card h2 { margin: 0; color: #5632ad; font-size: 20px; font-weight: 700; }
.birth-chart-edit { display: grid; width: 38px; height: 38px; border-radius: 6px; color: #6944bf; text-decoration: none; place-items: center; }
.birth-chart-edit .lucide { width: 20px; height: 20px; }
.birth-chart-edit:hover { background: #eee5ff; }
.birth-chart-meta { margin: 14px 0 18px; color: #6547aa; font-size: 13px; font-weight: 700; }
.birth-chart-meta span { margin: 0 7px; color: #c4afe5; }
.pillar-grid.home-pillar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; border: 0; }
.pillar-grid.home-pillar-grid div { display: block; overflow: hidden; padding: 0; border: 1px solid #ddcef3; border-radius: 8px; text-align: center; }
.pillar-grid.home-pillar-grid span { display: block; padding: 7px 3px; border-bottom: 1px solid #dfd1f5; background: #f7f0ff; color: #7658b1; font-size: 11px; font-weight: 700; }
.pillar-grid.home-pillar-grid strong { display: block; padding: 12px 2px; color: #332160; font-family: 'Pretendard', system-ui, sans-serif; font-size: 20px; font-weight: 700; }
.element-summary { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(128px, 0.7fr); align-items: center; gap: 24px; margin-top: 26px; }
.element-bars { display: grid; gap: 9px; }
.element-row { display: grid; grid-template-columns: 72px minmax(60px, 1fr) 26px; align-items: center; gap: 8px; color: #5f478d; font-size: 12px; font-weight: 700; }
.element-row > span { display: flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.element-row i { width: 12px; height: 12px; transform: rotate(45deg); border: 2px solid currentColor; border-radius: 4px; background: currentColor; }
.element-row b { height: 9px; overflow: hidden; border-radius: 5px; background: #eee8f7; }
.element-row em { display: block; height: 100%; min-width: 3px; border-radius: 5px; background: currentColor; }
.element-row > strong { font-variant-numeric: tabular-nums; }
.element-row.wood { color: #55ad67; }
.element-row.fire { color: #ed5b9d; }
.element-row.earth { color: #f3a15f; }
.element-row.metal { color: #8a61d3; }
.element-row.water { color: #5689d9; }
.element-donut { display: grid; width: 142px; height: 142px; justify-self: center; border-radius: 50%; background: conic-gradient(#55ad67 0 var(--wood-end), #ed5b9d var(--wood-end) var(--fire-end), #f3a15f var(--fire-end) var(--earth-end), #8a61d3 var(--earth-end) var(--metal-end), #5689d9 var(--metal-end) 100%); place-items: center; }
.element-donut::before { width: 76px; height: 76px; border-radius: 50%; background: #fbf5fe; content: ""; grid-area: 1 / 1; }
.element-donut span { z-index: 1; color: #6546aa; font-size: 15px; font-weight: 700; line-height: 1.35; text-align: center; grid-area: 1 / 1; }
@container (min-width: 650px) {
  .home-insight-grid { grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.34fr); align-items: stretch; gap: 12px; }
  .home-insight-grid > section { min-width: 0; height: calc(100% - 18px); }
  .home-insight-grid .today-flow-card { padding: 18px; }
  .home-insight-grid .today-flow-content { grid-template-columns: 1fr; align-content: start; gap: 16px; }
  .home-insight-grid .today-score-summary { justify-content: center; padding: 0 0 16px; border-right: 0; border-bottom: 1px solid #e2d6f4; }
  .home-insight-grid .today-domain-rating { grid-template-columns: 25px 75px minmax(0, 1fr); gap: 5px; }
  .home-insight-grid .today-domain-rating > span { font-size: 10px; }
  .home-insight-grid .today-domain-rating b { gap: 2px; }
  .home-insight-grid .today-domain-rating em { font-size: 13px; }
  .home-insight-grid .birth-chart-card { padding: 18px; }
  .home-insight-grid .birth-chart-meta { margin: 10px 0 14px; font-size: 11px; }
  .home-insight-grid .pillar-grid.home-pillar-grid { gap: 4px; }
  .home-insight-grid .pillar-grid.home-pillar-grid span { padding: 5px 1px; font-size: 9px; }
  .home-insight-grid .pillar-grid.home-pillar-grid strong { padding: 9px 1px; font-size: 17px; }
  .home-insight-grid .element-summary { grid-template-columns: minmax(0, 1fr) 102px; gap: 10px; margin-top: 18px; }
  .home-insight-grid .element-bars { gap: 7px; }
  .home-insight-grid .element-row { grid-template-columns: 56px minmax(38px, 1fr) 16px; gap: 4px; font-size: 9px; }
  .home-insight-grid .element-row i { width: 9px; height: 9px; border-width: 1px; }
  .home-insight-grid .element-donut { width: 100px; height: 100px; }
  .home-insight-grid .element-donut::before { width: 56px; height: 56px; }
  .home-insight-grid .element-donut span { font-size: 11px; }
}
.date-label { margin: 0 0 12px; color: #3182f6; font-size: 15px; font-weight: 700; }
h1 { margin: 0; font-size: 40px; line-height: 1.25; }
.supporting-copy { margin: 18px 0 32px; color: #6b7684; font-size: 18px; line-height: 1.6; }

.primary-button, .secondary-button, .social-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.primary-button { background: #3182f6; color: #ffffff; }
.secondary-button { background: #f2f4f6; color: #4e5968; }
.full-button { width: 100%; }

.auth-main { width: var(--page-content-width); margin: 0 auto; }
.auth-panel { width: min(100%, 420px); margin: 0 auto; padding: 56px 0 80px; }
.auth-panel h1, .page-title h1 { font-size: 32px; }
.stack-form, .profile-form { display: grid; gap: 20px; margin-top: 36px; }
.stack-form label, .input-field > span, .field-group legend {
  color: #4e5968;
  font-size: 14px;
  font-weight: 700;
}
.stack-form input:not([type="submit"]), .input-field input, .input-field select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #d1d6db;
  border-radius: 8px;
  background: #ffffff;
  color: #191f28;
  outline: none;
}
.stack-form input:focus, .input-field input:focus, .input-field select:focus {
  border-color: #3182f6;
  box-shadow: 0 0 0 3px #e8f3ff;
}
.mode-link { display: block; margin: 18px auto 0; color: #3182f6; text-align: center; text-decoration: none; font-weight: 600; }
.divider { display: flex; align-items: center; gap: 12px; margin: 32px 0 20px; color: #8b95a1; font-size: 13px; }
.divider::before, .divider::after { height: 1px; background: #e5e8eb; content: ""; flex: 1; }
.social-actions { display: grid; gap: 10px; }
.social-button.kakao { background: #fee500; color: #191919; }
.social-button.google { border: 1px solid #d1d6db; background: #ffffff; }
.auth-header { gap: 11px; }
.auth-home-link { display: grid; width: 34px; height: 34px; border: 1px solid #d8c5f4; border-radius: 7px; background: #f1e6fc; color: #7650c6; font-size: 17px; font-weight: 800; text-decoration: none; place-items: center; }
.auth-home-link .lucide { width: 17px; height: 17px; }
.auth-header .brand { color: inherit; font-size: 20px; }
.auth-page { padding: 18px 0 96px; }
.auth-hero { position: relative; display: grid; min-height: 190px; grid-template-columns: minmax(0, 1fr) 172px; align-items: center; gap: 18px; padding: 27px 28px; overflow: hidden; border: 1px solid #d8c5f4; border-radius: 8px; background: #e8d9fb; }
.auth-hero::before, .auth-hero::after { position: absolute; width: 10px; height: 10px; transform: rotate(45deg); background: #fff18a; content: ""; }
.auth-hero::before { top: 27px; left: 49%; }
.auth-hero::after { right: 24px; bottom: 25px; }
.auth-hero > div { position: relative; z-index: 1; }
.auth-hero p { margin: 0 0 6px; color: #8d61dc; font-size: 10px; font-weight: 800; }
.auth-hero h1 { margin: 0; color: #4f2aa5; font-size: 27px; font-weight: 800; }
.auth-hero span { display: block; max-width: 340px; margin-top: 10px; color: #75608d; font-size: 12px; font-weight: 600; line-height: 1.65; }
.auth-hero img { position: absolute; right: 9px; bottom: -66px; width: 174px; height: auto; image-rendering: pixelated; }
.signup-conversation-hero { position: relative; display: grid; min-height: 206px; grid-template-columns: 184px minmax(0, 1fr); align-items: center; gap: 8px; padding: 18px 26px 18px 8px; overflow: hidden; border: 1px solid #d8c5f4; border-radius: 24px; background: linear-gradient(135deg, #eadcff 0%, #f8eafa 100%); }
.signup-conversation-hero::after { position: absolute; right: 18px; bottom: 15px; width: 9px; height: 9px; transform: rotate(45deg); background: #fff18a; box-shadow: -330px -120px 0 #fff18a; content: ""; }
.signup-conversation-hero img { z-index: 1; display: block; width: 174px; height: auto; align-self: end; filter: drop-shadow(0 12px 14px rgba(82, 47, 144, .12)); image-rendering: pixelated; }
.signup-conversation-hero > div { position: relative; z-index: 2; padding: 20px 22px; border: 1px solid #d1b8ef; border-radius: 20px; background: rgba(255, 250, 255, .9); }
.signup-conversation-hero > div::before { position: absolute; top: 50%; left: -15px; width: 0; height: 0; transform: translateY(-50%); border-width: 11px 15px 11px 0; border-style: solid; border-color: transparent #d1b8ef transparent transparent; content: ""; }
.signup-conversation-hero > div::after { position: absolute; top: 50%; left: -12px; width: 0; height: 0; transform: translateY(-50%); border-width: 9px 13px 9px 0; border-style: solid; border-color: transparent #fffaff transparent transparent; content: ""; }
.signup-conversation-hero p { display: flex; align-items: center; gap: 5px; margin: 0 0 7px; color: #8d61dc; font-size: 11px; font-weight: 800; }
.signup-conversation-hero p .lucide { width: 14px; height: 14px; }
.signup-conversation-hero h1 { margin: 0; color: #4f2aa5; font-size: 25px; line-height: 1.25; }
.signup-conversation-hero span { display: block; margin-top: 9px; color: #75608d; font-size: 12px; font-weight: 600; line-height: 1.6; }
.onboarding-main { width: min(calc(100% - 32px), 680px); margin: 0 auto; padding: 18px 0 42px; }
.conversation-onboarding { padding: 28px; border: 1px solid #d8c6ee; border-radius: 28px; background: rgba(255, 250, 255, .72); box-shadow: 0 24px 70px rgba(78, 43, 137, .08); }
.onboarding-progress { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 28px; padding: 0 6px; }
.onboarding-progress > i { height: 2px; border-radius: 2px; background: #ddceef; }
.onboarding-progress span { display: flex; align-items: center; gap: 6px; color: #a797b7; font-size: 11px; }
.onboarding-progress span .lucide { width: 15px; height: 15px; }
.onboarding-progress span.active { color: #7148c4; }
.onboarding-progress span.complete { color: #5a9c79; }
.tamami-prompt { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: end; gap: 10px; }
.tamami-prompt > img { display: block; width: 70px; height: 70px; border: 1px solid #ceb8ed; border-radius: 22px; background: #eadcff; object-fit: cover; image-rendering: pixelated; }
.tamami-prompt > div { position: relative; padding: 17px 19px; border: 1px solid #d7c5ef; border-radius: 20px 20px 20px 6px; background: #fffaff; }
.tamami-prompt > div::before { position: absolute; bottom: 0; left: -10px; width: 14px; height: 14px; border-bottom: 1px solid #d7c5ef; background: #fffaff; clip-path: polygon(100% 0, 100% 100%, 0 100%); content: ""; }
.tamami-prompt small { color: #8e65d2; font-size: 10px; font-weight: 800; }
.tamami-prompt h1 { margin: 5px 0 0; color: #4a2a8b; font-size: 24px; line-height: 1.25; word-break: keep-all; }
.tamami-prompt p { margin: 7px 0 0; color: #806f94; font-size: 12px; font-weight: 600; line-height: 1.5; }
.onboarding-error { margin: 16px 0 0 !important; }
.clue-conversation-form { display: grid; gap: 14px; margin-top: 24px; }
.clue-exchange { padding: 19px; border: 1px solid #e1d5f1; border-radius: 20px; background: #fbf6ff; }
.clue-question { display: flex; align-items: center; gap: 11px; }
.clue-question > .lucide { width: 22px; height: 22px; color: #7d56cb; }
.clue-question small { color: #a187c6; font-size: 9px; font-weight: 800; }
.clue-question h2 { margin: 2px 0 0; color: #513593; font-size: 16px; }
.clue-answer { display: grid; gap: 10px; width: calc(100% - 18px); margin: 14px 0 0 auto; padding: 14px; border: 1px solid #d5c1ed; border-radius: 18px 18px 6px 18px; background: #eee4fb; }
.clue-chip-group { display: flex; flex-wrap: wrap; gap: 7px; }
.clue-chip-group label { cursor: pointer; }
.clue-chip-group input { position: absolute; opacity: 0; pointer-events: none; }
.clue-chip-group span { display: grid; min-height: 40px; align-items: center; padding: 0 17px; border: 1px solid #d3c0e9; border-radius: 999px; background: #fffaff; color: #725d89; font-size: 12px; font-weight: 700; }
.clue-chip-group input:checked + span { border-color: #7f58ca; background: #7f58ca; box-shadow: 0 4px 0 #603bab; color: #fff; }
.clue-chip-group input:focus-visible + span { outline: 3px solid #90c2ff; outline-offset: 2px; }
.clue-chip-group.wide label { flex: 1; }
.clue-chip-group.wide span { justify-content: center; }
.sentence-input { display: flex; min-height: 52px; align-items: center; gap: 9px; padding: 7px 12px; border-radius: 13px; background: rgba(255, 250, 255, .86); color: #6f5b84; font-size: 12px; font-weight: 700; }
.sentence-input input { min-width: 0; height: 38px; border: 0; border-bottom: 2px solid #bba4db; outline: 0; background: transparent; color: #452a7e; font-size: 15px; font-weight: 700; flex: 1; }
.sentence-input input:focus { border-color: #7046c0; }
.sentence-input.place input { font-size: 13px; }
.clue-unknown { cursor: pointer; }
.clue-unknown input { position: absolute; opacity: 0; pointer-events: none; }
.clue-unknown span { display: flex; min-height: 40px; align-items: center; gap: 7px; padding: 0 12px; border: 1px dashed #bfa9da; border-radius: 12px; background: rgba(255, 250, 255, .55); color: #765e90; font-size: 11px; font-weight: 700; }
.clue-unknown span .lucide { width: 16px; height: 16px; }
.clue-unknown input:checked + span { border-style: solid; border-color: #8060bd; background: #ddd0f2; color: #583699; }
.clue-select { display: flex; align-items: center; gap: 10px; color: #7a6690; font-size: 11px; font-weight: 700; }
.clue-select select { min-width: 0; height: 38px; padding: 0 9px; border: 1px solid #cbb6e5; border-radius: 10px; outline: 0; background: #fffaff; color: #563b86; flex: 1; }
.clue-answer .precision-notice { margin: 0; padding: 9px 11px; border-radius: 10px; font-size: 10px; }
.onboarding-consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 10px; margin-top: 4px; padding: 15px; border: 1px solid #d9c8ee; border-radius: 17px; background: #f3ebfc; cursor: pointer; }
.onboarding-consent > input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #7b52ca; }
.onboarding-consent > span { display: grid; grid-template-columns: 19px minmax(0, 1fr); gap: 3px 7px; color: #61477f; }
.onboarding-consent .lucide { width: 17px; height: 17px; color: #7b52ca; }
.onboarding-consent b { font-size: 12px; }
.onboarding-consent small { grid-column: 2; color: #8c7a9f; font-size: 9px; line-height: 1.55; }
.onboarding-consent a { color: #6845b5; font-weight: 800; }
.onboarding-next-button { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; border: 0; border-radius: 16px; background: #7b52ca; box-shadow: 0 7px 0 #5d38a7; color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
.onboarding-next-button:hover { transform: translateY(2px); box-shadow: 0 5px 0 #5d38a7; }
.onboarding-next-button .lucide { width: 18px; height: 18px; }
.account-onboarding-main { max-width: 600px; }
.account-prompt { margin-bottom: 17px; }
.saved-clue-preview { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px; border: 1px dashed #c6addf; border-radius: 17px; background: #f1e8fb; }
.saved-clue-preview > div { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 7px; min-width: 0; }
.saved-clue-preview > div > .lucide { width: 18px; height: 18px; color: #8059c8; }
.saved-clue-preview span { display: grid; min-width: 0; gap: 2px; }
.saved-clue-preview small { color: #967eae; font-size: 8px; }
.saved-clue-preview strong { overflow: hidden; color: #604181; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.saved-clue-preview > a { position: absolute; right: 10px; bottom: -31px; display: flex; align-items: center; gap: 4px; color: #7650b6; font-size: 9px; font-weight: 700; text-decoration: none; }
.saved-clue-preview > a .lucide { width: 12px; height: 12px; }
.account-conversation-form { display: grid; gap: 9px; margin-top: 44px; }
.account-question { display: flex; align-items: flex-end; gap: 7px; }
.tamami-mini { width: 34px; height: 34px; overflow: hidden; border: 1px solid #d0baea; border-radius: 11px; background: #eadcff; flex: 0 0 auto; }
.tamami-mini img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.account-question p { margin: 0; padding: 11px 13px; border: 1px solid #ddcff0; border-radius: 15px 15px 15px 5px; background: #fffaff; color: #665277; font-size: 11px; font-weight: 700; }
.account-answer { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px; width: calc(100% - 42px); min-height: 56px; margin: 0 0 7px auto; padding: 8px 13px; border: 1px solid #cdb8e7; border-radius: 17px 17px 5px 17px; background: #eee3fa; color: #684f83; font-size: 11px; font-weight: 800; }
.account-answer input { min-width: 0; height: 39px; border: 0; border-bottom: 2px solid #aa8cce; outline: 0; background: transparent; color: #432776; font-size: 13px; font-weight: 700; }
.account-answer input:focus { border-color: #6f45bf; }
.onboarding-next-button.final { margin-top: 14px; }
.clue-wizard-main { max-width: 590px; }
.clue-wizard { min-height: 650px; overflow: hidden; }
.clue-wizard .onboarding-progress > i { position: relative; overflow: hidden; }
.clue-wizard .onboarding-progress > i em { position: absolute; inset: 0 auto 0 0; width: 20%; border-radius: inherit; background: #8056ce; transition: width .35s ease; }
.tamami-guide { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 2px; margin: -10px 0 12px; }
.tamami-guide > img { display: block; width: 122px; height: auto; filter: drop-shadow(0 9px 10px rgba(83, 46, 143, .12)); image-rendering: pixelated; }
.tamami-guide > div { position: relative; padding: 15px 17px; border: 1px solid #d8c5ef; border-radius: 19px 19px 19px 6px; background: #fffaff; }
.tamami-guide > div::before { position: absolute; bottom: 0; left: -10px; width: 14px; height: 14px; border-bottom: 1px solid #d8c5ef; background: #fffaff; clip-path: polygon(100% 0, 100% 100%, 0 100%); content: ""; }
.tamami-guide small { color: #8e65d2; font-size: 9px; font-weight: 800; }
.tamami-guide h1 { margin: 4px 0 0; color: #4a2a8b; font-size: 20px; line-height: 1.25; }
.tamami-guide p { margin: 6px 0 0; color: #837294; font-size: 10px; font-weight: 600; line-height: 1.5; }
.clue-step-form { position: relative; margin-top: 18px; }
.clue-step { position: relative; min-height: 390px; padding: 32px 28px 26px; border: 1px solid #dfd1f0; border-radius: 24px; background: #fbf6ff; text-align: center; }
.clue-step.is-entering-forward { animation: clue-enter-forward .32s cubic-bezier(.22, .8, .32, 1); }
.clue-step.is-entering-back { animation: clue-enter-back .32s cubic-bezier(.22, .8, .32, 1); }
.clue-step.is-leaving-forward { animation: clue-leave-forward .22s ease-in both; }
.clue-step.is-leaving-back { animation: clue-leave-back .22s ease-in both; }
@keyframes clue-enter-forward { from { transform: translateX(45px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes clue-enter-back { from { transform: translateX(-45px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes clue-leave-forward { to { transform: translateX(-38px); opacity: 0; } }
@keyframes clue-leave-back { to { transform: translateX(38px); opacity: 0; } }
.clue-step-icon { display: grid; width: 56px; height: 56px; margin: 0 auto 12px; border: 1px solid #ccb4e8; border-radius: 18px; background: #e9ddf8; color: #754bc4; place-items: center; }
.clue-step-icon .lucide { width: 26px; height: 26px; }
.clue-step-count { margin: 0; color: #9d82bd; font-size: 9px; font-weight: 800; }
.clue-step h2 { margin: 5px auto 0; color: #4c2d8b; font-size: 24px; line-height: 1.3; word-break: keep-all; }
.clue-step-copy { margin: 7px 0 22px; color: #8a789d; font-size: 11px; font-weight: 600; }
.clue-back-button { position: absolute; top: 16px; left: 16px; display: grid; width: 36px; height: 36px; padding: 0; border: 1px solid #ded0ef; border-radius: 12px; background: #fffaff; color: #7655b7; cursor: pointer; place-items: center; }
.clue-back-button .lucide { width: 17px; height: 17px; }
.calendar-kind-switch, .lunar-kind-switch { display: inline-flex; gap: 5px; padding: 4px; border-radius: 999px; background: #e9ddf6; }
.calendar-kind-switch label, .lunar-kind-switch label { cursor: pointer; }
.calendar-kind-switch input, .lunar-kind-switch input { position: absolute; opacity: 0; pointer-events: none; }
.calendar-kind-switch span, .lunar-kind-switch span { display: grid; min-width: 70px; min-height: 34px; align-items: center; border: 1px solid transparent; border-radius: 999px; color: #806b94; font-size: 11px; font-weight: 800; }
.calendar-kind-switch input:checked + span, .lunar-kind-switch input:checked + span { border-color: #c8afe6; background: #fffaff; color: #6641ae; }
.birthday-selects, .birthtime-selects { display: flex; align-items: end; justify-content: center; gap: 8px; margin: 16px 0; }
.birthday-selects label, .birthtime-selects label { position: relative; display: grid; min-width: 0; flex: 1; }
.birthday-selects label:first-child { flex: 1.35; }
.birthday-selects label > span, .birthtime-selects label > span { margin-bottom: 5px; color: #9a84b3; font-size: 8px; font-weight: 800; text-align: left; }
.birthday-selects select, .birthtime-selects select { width: 100%; height: 58px; padding: 0 28px 0 13px; border: 1px solid #cdb8e6; border-radius: 15px; outline: 0; appearance: none; background: #fffaff; color: #4d2e83; font-size: 18px; font-weight: 800; text-align: center; cursor: pointer; }
.birthday-selects label::after, .birthtime-selects label::after { position: absolute; right: 10px; bottom: 22px; width: 6px; height: 6px; transform: rotate(45deg); border-right: 2px solid #9476b7; border-bottom: 2px solid #9476b7; pointer-events: none; content: ""; }
.birthday-selects small, .birthtime-selects small { margin-top: 5px; color: #88739d; font-size: 10px; font-weight: 700; }
.lunar-kind-switch { margin-bottom: 12px; }
.clue-answer-button { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; border: 0; border-radius: 15px; background: #7b52ca; box-shadow: 0 6px 0 #5d38a7; color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }
.clue-answer-button:hover { transform: translateY(2px); box-shadow: 0 4px 0 #5d38a7; }
.clue-answer-button .lucide { width: 17px; height: 17px; }
.birthtime-selects { width: min(100%, 330px); margin: 22px auto 16px; }
.birthtime-selects > b { padding-bottom: 24px; color: #795ba1; font-size: 24px; }
.unknown-time-answer { display: block; width: min(100%, 330px); margin: 0 auto; cursor: pointer; }
.unknown-time-answer input { position: absolute; opacity: 0; pointer-events: none; }
.unknown-time-answer span { display: flex; min-height: 45px; align-items: center; justify-content: center; gap: 7px; border: 1px dashed #bea7d9; border-radius: 13px; background: #fffaff; color: #766288; font-size: 11px; font-weight: 700; }
.unknown-time-answer span .lucide { width: 16px; height: 16px; }
.unknown-time-answer input:checked + span { border-style: solid; border-color: #7750bd; background: #e2d4f3; color: #573594; }
.clue-step .precision-notice { width: min(100%, 330px); margin: 9px auto 0; font-size: 10px; }
.single-choice-answers { display: grid; gap: 10px; width: min(100%, 360px); margin: 30px auto 0; }
.single-choice-answers label { cursor: pointer; }
.single-choice-answers input { position: absolute; opacity: 0; pointer-events: none; }
.single-choice-answers span { display: grid; min-height: 67px; grid-template-columns: 26px 1fr 18px; align-items: center; gap: 10px; padding: 0 18px; border: 1px solid #d2bee9; border-radius: 17px; background: #fffaff; color: #66468f; text-align: left; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.single-choice-answers span .lucide { width: 21px; height: 21px; color: #8865bc; }
.single-choice-answers span .lucide:last-child { width: 17px; height: 17px; justify-self: end; }
.single-choice-answers label:hover span, .single-choice-answers input:checked + span { transform: translateX(4px); border-color: #7d55c5; background: #eee3fb; }
.place-select-answer { position: relative; display: grid; width: min(100%, 400px); min-height: 72px; grid-template-columns: 24px minmax(0, 1fr) 18px; align-items: center; gap: 10px; margin: 36px auto 0; padding: 0 17px; border: 1px solid #cbb4e5; border-radius: 18px; background: #fffaff; color: #7555ab; }
.place-select-answer > .lucide { width: 21px; height: 21px; pointer-events: none; }
.place-select-answer > .lucide:last-child { width: 17px; height: 17px; }
.place-select-answer select { width: 100%; height: 70px; border: 0; outline: 0; appearance: none; background: transparent; color: #4f337d; font-size: 14px; font-weight: 800; cursor: pointer; }
.final-consent-answer { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 11px; width: min(100%, 410px); margin: 28px auto 0; padding: 17px; border: 1px solid #cfbae6; border-radius: 17px; background: #fffaff; cursor: pointer; text-align: left; }
.final-consent-answer > input { position: absolute; opacity: 0; pointer-events: none; }
.final-consent-answer > span { display: grid; width: 24px; height: 24px; border: 2px solid #b49acb; border-radius: 8px; background: #f7effc; color: transparent; place-items: center; }
.final-consent-answer > span .lucide { width: 15px; height: 15px; }
.final-consent-answer > input:checked + span { border-color: #7045bd; background: #7045bd; color: #fff; }
.final-consent-answer > div { display: grid; gap: 5px; }
.final-consent-answer strong { color: #60427f; font-size: 12px; }
.final-consent-answer small { color: #8c7a9e; font-size: 9px; line-height: 1.55; }
.final-consent-answer a { color: #6845b5; font-weight: 800; }
@media (prefers-reduced-motion: reduce) {
  .clue-step, .clue-wizard .onboarding-progress > i em { animation: none !important; transition: none !important; }
}
.auth-card { margin-top: 12px; padding: 24px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.auth-card-header, .auth-card > .auth-form, .auth-card > .auth-mode-prompt, .auth-card > .auth-divider, .auth-card > .auth-social-actions, .auth-card > .auth-error { width: min(100%, 500px); margin-right: auto; margin-left: auto; }
.auth-card-header { display: flex; align-items: center; gap: 11px; }
.auth-card-header > span { display: grid; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid #d8c5f4; border-radius: 7px; background: #f1e6fc; color: #7a55ca; font-size: 16px; font-weight: 800; place-items: center; }
.auth-card-header > span .lucide { width: 17px; height: 17px; }
.auth-card-header p { margin: 0 0 3px; color: #9a70df; font-size: 10px; font-weight: 800; }
.auth-card-header h2 { margin: 0; color: #5031a4; font-size: 17px; font-weight: 800; }
.auth-error { margin-top: 14px !important; margin-bottom: 0 !important; padding: 12px 14px; border: 1px solid #efbfd2; border-radius: 7px; background: #fff3f8; color: #b54e76; font-size: 11px; font-weight: 700; line-height: 1.55; }
.auth-form { display: grid; gap: 13px; margin-top: 20px; }
.auth-input-field { display: grid; gap: 7px; }
.auth-input-field > span { color: #624b83; font-size: 11px; font-weight: 800; }
.auth-input-field input { width: 100%; height: 44px; padding: 0 13px; border: 1px solid #d8c8ed; border-radius: 7px; outline: 0; background: #fffafd; color: #382750; font-size: 12px; }
.auth-input-field input::placeholder { color: #b4a5c5; }
.auth-input-field input:focus { border-color: #936bd3; box-shadow: 0 0 0 2px rgba(141, 97, 220, .12); }
.auth-primary-button { min-height: 45px; margin-top: 3px; border: 0; border-radius: 7px; background: #835adc; color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.auth-primary-button:hover { background: #7048ca; }
.auth-mode-prompt { margin-top: 16px; margin-bottom: 0; color: #8a789f; font-size: 11px; font-weight: 600; text-align: center; }
.auth-mode-prompt a { margin-left: 4px; color: #6845b5; font-weight: 800; text-decoration: none; }
.auth-divider { display: flex; align-items: center; gap: 11px; margin-top: 19px; color: #a291b5; font-size: 10px; }
.auth-divider::before, .auth-divider::after { height: 1px; background: #eadff6; content: ""; flex: 1; }
.auth-social-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.auth-social-button { display: grid; min-height: 44px; grid-template-columns: 25px minmax(0, 1fr); align-items: center; gap: 7px; padding: 0 12px; border-radius: 7px; font-size: 11px; font-weight: 800; text-decoration: none; }
.auth-social-button i { display: grid; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .7); font-size: 10px; font-style: normal; place-items: center; }
.auth-social-button.kakao { border: 1px solid #ead548; background: #fee500; color: #3b3200; }
.auth-social-button.google { border: 1px solid #d8c8ed; background: #fffafd; color: #584071; }
.auth-consent-row { display: flex; align-items: flex-start; gap: 9px; padding: 12px; border: 1px solid #dfd1f5; border-radius: 7px; background: #f5edfc; color: #755f8e; font-size: 10px; font-weight: 600; line-height: 1.6; cursor: pointer; }
.auth-consent-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #8d61dc; flex: 0 0 auto; }
.auth-consent-row a { color: #6845b5; font-weight: 800; }
@media (max-width: 639px) {
  .auth-page { padding-top: 8px; }
  .auth-hero { min-height: 172px; grid-template-columns: minmax(0, 1fr) 108px; padding: 22px 18px; }
  .auth-hero h1 { max-width: 205px; font-size: 23px; }
  .auth-hero span { max-width: 195px; font-size: 11px; }
  .auth-hero img { right: -5px; bottom: -45px; width: 136px; }
  .auth-card { padding: 18px 16px; }
  .auth-social-actions { grid-template-columns: 1fr; }
}

.profile-main { width: var(--page-content-width); margin: 0 auto; padding: 48px 0 96px; }
.page-title { margin-bottom: 40px; }
.page-title > p:not(.complete-label) { margin: 12px 0 0; color: #6b7684; line-height: 1.6; }
.profile-form { gap: 28px; margin-top: 0; }
.field-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.field-group legend, .input-field > span { display: block; margin-bottom: 10px; }
.input-field { display: grid; }
.input-field small { margin-top: 8px; color: #8b95a1; font-size: 13px; line-height: 1.5; }
.segmented-control { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 8px; background: #f2f4f6; }
.segmented-control label { min-width: 0; cursor: pointer; }
.segmented-control input { position: absolute; opacity: 0; }
.segmented-control span { display: grid; min-height: 44px; border-radius: 6px; color: #6b7684; font-weight: 700; place-items: center; }
.segmented-control input:checked + span { background: #ffffff; color: #191f28; box-shadow: 0 1px 4px rgb(0 0 0 / 8%); }
.check-row, .consent-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check-row input, .consent-row input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #3182f6; flex: 0 0 auto; }
.consent-row { padding: 18px; border: 1px solid #e5e8eb; border-radius: 8px; color: #4e5968; font-size: 14px; line-height: 1.55; }
.precision-notice { margin: 24px 0 0; padding: 16px; border-left: 3px solid #3182f6; background: #f7f9fb; color: #4e5968; font-size: 14px; line-height: 1.55; }
.notice.error { color: #e42939; font-size: 14px; line-height: 1.5; }
.summary-list { margin: 0; border-top: 1px solid #e5e8eb; }
.summary-list > div { display: grid; grid-template-columns: minmax(120px, 0.6fr) minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid #e5e8eb; }
.summary-list dt { color: #8b95a1; }
.summary-list dd { min-width: 0; margin: 0; color: #333d4b; font-weight: 600; overflow-wrap: anywhere; text-align: right; }
.confirmed-consent, .complete-label { color: #00a86b; font-size: 14px; font-weight: 700; }
.confirmed-consent { margin: 24px 0 0; }
.complete-label { margin: 0 0 12px; }
.confirmation-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 36px; }
.confirmation-actions form { margin: 0; }
.edit-link { margin-top: 36px; }
.profile-main.birth-profile-main { padding-top: 0; }
.birth-profile-hero { position: relative; display: grid; min-height: 178px; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 18px; padding: 25px 28px; overflow: hidden; border: 1px solid #d8c5f4; border-radius: 8px; background: #e8d9fb; }
.birth-profile-hero::before, .birth-profile-hero::after { position: absolute; width: 10px; height: 10px; transform: rotate(45deg); background: #fff18a; content: ""; }
.birth-profile-hero::before { top: 26px; left: 51%; }
.birth-profile-hero::after { right: 26px; bottom: 24px; }
.birth-profile-hero > div { position: relative; z-index: 1; }
.birth-profile-hero p { margin: 0 0 6px; color: #8d61dc; font-size: 11px; font-weight: 800; }
.birth-profile-hero h1 { margin: 0; color: #4f2aa5; font-size: 27px; font-weight: 800; }
.birth-profile-hero span { display: block; max-width: 360px; margin-top: 10px; color: #75608d; font-size: 12px; font-weight: 600; line-height: 1.65; }
.birth-profile-hero img { position: absolute; right: 27px; bottom: 17px; width: 118px; height: 118px; object-fit: contain; image-rendering: pixelated; }
.birth-profile-card, .birth-profile-form-card { margin-top: 12px; padding: 20px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.birth-profile-card-header { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.birth-profile-avatar { display: grid; width: 50px; height: 50px; overflow: hidden; border: 1px solid #d7c1f3; border-radius: 50%; background: #f3d8ed; place-items: center; }
.birth-profile-avatar img { width: 126%; height: auto; margin-top: 8px; image-rendering: pixelated; }
.birth-profile-card-header p, .birth-profile-form-card > header p { margin: 0 0 3px; color: #9a70df; font-size: 10px; font-weight: 800; }
.birth-profile-card-header h2, .birth-profile-form-card > header h2 { margin: 0; color: #5031a4; font-size: 16px; font-weight: 800; }
.birth-profile-status { display: flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid #d9c9ef; border-radius: 999px; background: #f2e9fd; color: #7650c6; font-size: 9px; font-weight: 800; white-space: nowrap; }
.birth-profile-status i { width: 6px; height: 6px; border-radius: 50%; background: #65bd83; }
.birth-profile-summary { display: grid; margin: 18px 0 0; border-top: 1px solid #eadff6; }
.birth-profile-summary > div { display: grid; min-height: 47px; grid-template-columns: minmax(112px, .7fr) minmax(0, 1.3fr); align-items: center; gap: 14px; border-bottom: 1px solid #eadff6; }
.birth-profile-summary dt { color: #8b7aa3; font-size: 11px; font-weight: 700; }
.birth-profile-summary dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #584071; font-size: 11px; font-weight: 800; text-align: right; }
.birth-profile-precision { margin: 14px 0 0; padding: 12px 13px; border-left: 3px solid #9a70df; border-radius: 0 7px 7px 0; background: #f2e8fa; color: #755f8e; font-size: 10px; font-weight: 600; line-height: 1.65; }
.birth-profile-edit-link, .birth-profile-primary-button, .birth-profile-secondary-button { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; border-radius: 7px; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; }
.birth-profile-edit-link { margin-top: 14px; border: 1px solid #d8c5f4; background: #f3eaff; color: #6845b5; }
.birth-profile-edit-link::after { margin-left: 5px; content: "›"; }
.birth-profile-edit-link:hover, .birth-profile-secondary-button:hover { border-color: #b99ae8; background: #eee3fc; }
.birth-profile-primary-button { border: 0; background: #835adc; color: #fff; }
.birth-profile-primary-button:hover { background: #7048ca; }
.birth-profile-secondary-button { border: 1px solid #d8c5f4; background: #f3eaff; color: #6845b5; }
.birth-profile-form-card > header { display: flex; align-items: center; gap: 11px; }
.birth-profile-form-card > header > span { display: grid; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid #d8c5f4; border-radius: 7px; background: #f1e6fc; color: #7a55ca; font-size: 16px; font-weight: 800; place-items: center; }
.birth-profile-form { gap: 20px; margin-top: 22px; }
.birth-profile-form .field-group legend, .birth-profile-form .input-field > span { margin-bottom: 8px; color: #624b83; font-size: 11px; font-weight: 800; }
.birth-profile-form .input-field input, .birth-profile-form .input-field select { height: 44px; padding: 0 13px; border-color: #d8c8ed; border-radius: 7px; background: #fffafd; color: #382750; font-size: 12px; }
.birth-profile-form .input-field input:focus, .birth-profile-form .input-field select:focus { border-color: #936bd3; box-shadow: 0 0 0 2px rgba(141, 97, 220, .12); }
.birth-profile-form .input-field small { margin-top: 7px; color: #9a8aaa; font-size: 10px; }
.birth-profile-form .segmented-control { gap: 3px; padding: 3px; border: 1px solid #e2d5f2; border-radius: 7px; background: #f2e8fa; }
.birth-profile-form .segmented-control span { min-height: 38px; border-radius: 5px; color: #806d99; font-size: 11px; }
.birth-profile-form .segmented-control input:checked + span { background: #8d61dc; box-shadow: none; color: #fff; }
.birth-profile-form .check-row { align-items: center; color: #6f588b; font-size: 11px; font-weight: 700; }
.birth-profile-form .check-row input { width: 18px; height: 18px; accent-color: #8d61dc; }
.birth-profile-form .precision-notice { margin: 0; border-left-color: #9a70df; border-radius: 0 7px 7px 0; background: #f2e8fa; color: #755f8e; font-size: 10px; }
.birth-profile-error { margin: 12px 0 0; padding: 13px 15px; border: 1px solid #efbfd2; border-radius: 8px; background: #fff3f8; font-size: 12px !important; font-weight: 700; }
.birth-profile-confirmation-actions { margin-top: 16px; }
.birth-profile-confirmation-actions .birth-profile-primary-button { height: 44px; }
@media (min-width: 640px) {
  .birth-profile-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .birth-profile-form > .field-group:first-child,
  .birth-profile-form > .birth-profile-primary-button { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .birth-profile-hero { min-height: 168px; grid-template-columns: minmax(0, 1fr) 100px; padding: 22px 18px; }
  .birth-profile-hero h1 { font-size: 23px; }
  .birth-profile-hero span { max-width: 205px; font-size: 11px; }
  .birth-profile-hero img { right: 13px; bottom: 25px; width: 90px; height: 90px; }
  .birth-profile-card, .birth-profile-form-card { padding: 17px 16px; }
  .birth-profile-card-header { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
  .birth-profile-avatar { width: 44px; height: 44px; }
  .birth-profile-card-header h2 { font-size: 13px; }
  .birth-profile-summary > div { grid-template-columns: minmax(95px, .75fr) minmax(0, 1.25fr); gap: 10px; }
}
.report-main { width: var(--page-content-width); margin: 0 auto; padding: 48px 0 96px; }
.report-catalog { border-top: 1px solid #e5e8eb; }
.access-notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 28px; padding: 16px; border-left: 3px solid #3182f6; background: #f7f9fb; color: #4e5968; font-size: 14px; }
.access-notice a { color: #1b64da; font-weight: 700; text-decoration: none; white-space: nowrap; }
.report-item { display: flex; min-height: 116px; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid #e5e8eb; }
.report-item h2, .saved-reports h2 { margin: 0; font-size: 20px; }
.report-item p { margin: 8px 0 0; color: #6b7684; line-height: 1.5; }
.report-item form { margin: 0; }
.relation-report-form { display: flex; align-items: center; gap: 8px; }
.relation-report-form select { max-width: 132px; height: 44px; padding: 0 10px; border: 1px solid #d1d6db; border-radius: 8px; background: #ffffff; }
.compact-button { min-height: 44px; padding: 0 18px; }
.pending-label { color: #8b95a1; font-size: 14px; font-weight: 700; white-space: nowrap; }
.saved-reports { margin-top: 64px; }
.saved-report-list { margin-top: 18px; border-top: 1px solid #e5e8eb; }
.saved-report-link { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e5e8eb; text-decoration: none; }
.saved-report-link div { display: flex; flex-direction: column; gap: 4px; }
.saved-report-link .report-badge { font-size: 12px; color: #8b95a1; font-weight: 500; }
.saved-report-link span { font-weight: 700; color: #191f28; }
.saved-report-link time { color: #8b95a1; font-size: 14px; }
.report-reading { max-width: 720px; }
.report-title { padding-bottom: 32px; border-bottom: 1px solid #e5e8eb; }
.report-view-switcher { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 24px 0 12px; padding: 5px; border-radius: 8px; background: #f2f4f6; }
.report-view-switcher a { display: grid; min-width: 0; min-height: 58px; align-content: center; gap: 3px; padding: 7px 10px; border-radius: 6px; color: #6b7684; text-align: center; text-decoration: none; }
.report-view-switcher strong { font-size: 14px; }
.report-view-switcher small { color: #8b95a1; font-size: 11px; }
.report-view-switcher a.active { background: #ffffff; color: #191f28; box-shadow: 0 1px 5px rgb(0 0 0 / 9%); }
.report-view-switcher a:nth-child(1).active { box-shadow: inset 0 2px #3182f6, 0 1px 5px rgb(0 0 0 / 9%); }
.report-view-switcher a:nth-child(2).active { box-shadow: inset 0 2px #00a86b, 0 1px 5px rgb(0 0 0 / 9%); }
.report-view-switcher a:nth-child(3).active { box-shadow: inset 0 2px #c47a00, 0 1px 5px rgb(0 0 0 / 9%); }
.analysis-tabs { position: sticky; z-index: 5; top: 0; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 48px; border-bottom: 1px solid #d1d6db; background: rgb(255 255 255 / 96%); }
.analysis-tabs a { display: grid; min-height: 52px; color: #8b95a1; font-weight: 700; text-decoration: none; place-items: center; }
.analysis-tabs a.active { border-bottom: 2px solid #191f28; color: #191f28; }
.reading-navigator { position: sticky; z-index: 4; top: 52px; margin: -48px 0 40px; background: rgb(255 255 255 / 97%); border-bottom: 1px solid #e5e8eb; }
.reading-progress { height: 2px; background: #e5e8eb; }.reading-progress i { display: block; width: 0; height: 100%; background: #3182f6; }
.reading-controls { display: flex; align-items: center; min-height: 48px; }
.reading-controls select, .reading-controls button { height: 34px; border: 1px solid #d1d6db; border-radius: 6px; background: #fff; color: #333d4b; font: inherit; font-size: 12px; }
.reading-controls select { min-width: 0; padding: 0 8px; }.reading-controls button { padding: 0 10px; cursor: pointer; }
.reading-controls span { font-size: 14px; font-weight: 700; word-break: keep-all; }
.summary-reading-mode .interpretation-basis, .summary-reading-mode .long-form-content, .summary-reading-mode .professional-metric, .summary-reading-mode .story-evidence { display: none; }
.story-chapter-heading { scroll-margin-top: 118px; }
@media (max-width: 720px) { .reading-controls { display: flex; } .reading-controls [data-current-chapter] { display: none; } .reading-controls button { padding: 0 7px; } }
.analysis-introduction { margin-bottom: 32px; }
.analysis-introduction h2 { margin: 0; font-size: 28px; }
.analysis-introduction > p:last-child { margin: 14px 0 0; color: #4e5968; font-size: 17px; line-height: 1.7; }
.editorial-overview { margin: 36px 0 56px; padding-block: 30px; border-block: 1px solid #d1d6db; }
.calculation-subject { margin: 38px 0 0; padding: 26px; border: 1px solid #d1d6db; border-radius: 8px; }
.calculation-subject h2 { margin: 0; font-size: 24px; }
.executive-summary { margin-top: 56px; padding: 36px 0; border-block: 2px solid #191f28; }
.executive-summary h2 { max-width: 620px; margin: 0; font-size: 30px; line-height: 1.4; }
.executive-summary-prose { margin-top: 24px; }
.executive-summary-prose p { margin: 0 0 18px; color: #333d4b; font-size: 17px; line-height: 1.85; }
.executive-summary-prose p:first-child::first-letter { float: left; margin: 7px 7px 0 0; color: #3182f6; font-family: serif; font-size: 46px; font-weight: 700; line-height: 0.8; }
.core-structure { margin-top: 64px; }
.core-structure h2 { margin: 0; font-size: 28px; line-height: 1.4; }
.core-structure-prose { margin-top: 26px; border-top: 1px solid #d1d6db; }
.core-structure-prose section { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 24px 0; border-bottom: 1px solid #e5e8eb; }
.core-structure-prose span { color: #3182f6; font-size: 12px; font-weight: 800; }
.core-structure-prose p { margin: 0; color: #333d4b; font-size: 16px; line-height: 1.85; }
.subject-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px 0 0; border-top: 1px solid #e5e8eb; }
.subject-facts div { min-width: 0; padding: 13px 0; border-bottom: 1px solid #e5e8eb; }
.subject-facts div:nth-child(odd) { padding-right: 18px; }
.subject-facts dt { color: #8b95a1; font-size: 11px; }
.subject-facts dd { margin: 6px 0 0; color: #333d4b; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.subject-chart-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.subject-chart-summary div { min-width: 0; }
.subject-chart-summary span { color: #8b95a1; font-size: 11px; font-weight: 700; }
.subject-chart-summary p { margin: 7px 0 0; color: #333d4b; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.subject-unavailable { margin: 18px 0 0; color: #6b7684; font-size: 13px; line-height: 1.6; }
.editorial-overview h2 { margin: 0; font-size: 26px; line-height: 1.4; }
.editorial-overview > p:last-of-type { margin: 12px 0 0; color: #4e5968; line-height: 1.7; }
.editorial-overview ol { margin: 26px 0 0; padding: 0; list-style: none; }
.editorial-overview li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid #e5e8eb; }
.editorial-overview li > span { color: #3182f6; font-size: 12px; font-weight: 800; }
.editorial-overview li div { display: grid; gap: 5px; }
.editorial-overview li strong { font-size: 15px; }
.editorial-overview li small { color: #8b95a1; line-height: 1.5; }
.analysis-unavailable { margin: 32px 0 56px; padding: 24px; border: 1px solid #d1d6db; border-radius: 8px; }
.analysis-unavailable > strong { font-size: 20px; }
.analysis-unavailable p { margin: 10px 0 0; color: #6b7684; line-height: 1.65; }
.professional-story { border-top: 1px solid #d1d6db; }
.story-chapter-heading { padding: 34px 0 8px; border-bottom: 2px solid #191f28; }
.story-chapter-heading span { font-size: 20px; font-weight: 800; }
.story-chapter-heading p { margin: 8px 0 0; color: #6b7684; font-size: 14px; line-height: 1.55; }
.story-chapter { padding: 48px 0; border-bottom: 1px solid #d1d6db; }
.story-chapter > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.story-chapter > header > div { display: flex; align-items: center; gap: 10px; }
.story-chapter > header p { margin: 0; color: #6b7684; font-size: 14px; font-weight: 700; }
.chapter-number { color: #3182f6; font-size: 13px; font-weight: 800; }
.signal-score { min-width: 52px; font-size: 32px; text-align: right; }
.story-chapter h3 { margin: 18px 0 0; font-size: 24px; line-height: 1.45; }
.signal-scale-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 5px 12px; margin-top: 14px; padding: 12px 0; border-block: 1px solid #e5e8eb; }
.signal-scale-summary strong { color: #1b64da; font-size: 13px; }
.signal-scale-summary span { color: #4e5968; font-size: 13px; line-height: 1.5; }
.signal-scale-summary small { grid-column: 1 / -1; color: #8b95a1; font-size: 11px; }
.signal-scale-chart { grid-column: 1 / -1; min-width: 0; margin: 18px 0 0; }
.scale-direction-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 9px; }
.scale-direction-labels span { color: #6b7684; font-size: 10px; font-weight: 700; line-height: 1.35; }
.scale-direction-labels span:last-child { text-align: right; }
.scale-axis { position: relative; display: grid; grid-template-columns: 20fr 15fr 10fr 10fr 10fr 15fr 20fr; height: 12px; overflow: visible; border-radius: 6px; }
.scale-zone:first-child { border-radius: 6px 0 0 6px; }
.scale-zone:last-of-type { border-radius: 0 6px 6px 0; }
.zone-very-low { background: #f8c9c5; }
.zone-low { background: #fbdedb; }
.zone-moderate-low { background: #fcebea; }
.zone-center { background: #e5e8eb; }
.zone-moderate-high { background: #dff5eb; }
.zone-high { background: #c4ecd9; }
.zone-very-high { background: #9eddbf; }
.scale-midline { position: absolute; top: -4px; bottom: -4px; left: 50%; width: 1px; background: #6b7684; }
.scale-marker { position: absolute; top: 50%; left: var(--marker-position); width: 18px; height: 18px; border: 3px solid #ffffff; border-radius: 50%; background: #191f28; box-shadow: 0 1px 5px rgb(0 0 0 / 28%); transform: translate(-50%, -50%); }
.scale-marker em { position: absolute; bottom: calc(100% + 5px); left: 50%; padding: 2px 5px; border-radius: 4px; background: #191f28; color: #ffffff; font-size: 10px; font-style: normal; line-height: 1.3; transform: translateX(-50%); }
.scale-ticks { display: flex; justify-content: space-between; margin-top: 7px; color: #8b95a1; font-size: 10px; }
.signal-scale-chart figcaption { margin-top: 10px; color: #8b95a1; font-size: 10px; line-height: 1.45; }
.signal-not-calculated { display: grid; gap: 7px; margin-top: 14px; padding: 16px; border-left: 3px solid #8b95a1; background: #f7f9fb; }
.signal-not-calculated strong { color: #4e5968; font-size: 13px; }
.signal-not-calculated span { color: #6b7684; font-size: 13px; line-height: 1.6; }
.story-explanation { margin: 14px 0 0; color: #333d4b; font-size: 17px; line-height: 1.8; }
.interpretation-basis { margin-top: 24px; padding: 20px; border-left: 3px solid #c47a00; background: #fffaf0; }
.interpretation-basis > span { color: #9a6700; font-size: 12px; font-weight: 800; }
.interpretation-basis > p { margin: 10px 0 0; color: #4e5968; font-size: 14px; line-height: 1.7; }
.interpretation-basis dl { margin: 16px 0 0; border-top: 1px solid #eadfca; }
.interpretation-basis dl div { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid #eadfca; }
.interpretation-basis dt { color: #9a6700; font-size: 11px; font-weight: 700; }
.interpretation-basis dd { margin: 0; color: #4e5968; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.long-form-content { margin-top: 28px; }
.strength-shadow-pair, .practice-question { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.strength-shadow-pair section, .practice-question section { min-width: 0; padding: 18px; border-radius: 8px; background: #f7f9fb; }
.strength-shadow-pair section:first-child { border-top: 2px solid #00a86b; }
.strength-shadow-pair section:last-child { border-top: 2px solid #f04452; }
.long-form-content span { color: #6b7684; font-size: 12px; font-weight: 800; }
.long-form-content p { margin: 9px 0 0; color: #333d4b; font-size: 14px; line-height: 1.7; }
.scene-list { margin-top: 20px; padding: 18px 0; border-block: 1px solid #e5e8eb; }
.scene-list ul { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.scene-list li { position: relative; padding-left: 16px; color: #4e5968; font-size: 14px; line-height: 1.65; }
.scene-list li::before { position: absolute; top: 0.65em; left: 2px; width: 4px; height: 4px; border-radius: 50%; background: #3182f6; content: ""; }
.practice-question { margin-top: 20px; }
.practice-question section:first-child { background: #f2fbf7; }
.practice-question section:last-child { background: #fff8e8; }
.professional-metric { margin-top: 24px; padding: 18px; border-left: 3px solid #3182f6; background: #f7f9fb; }
.professional-metric > span { display: block; margin-bottom: 8px; color: #6b7684; font-size: 12px; font-weight: 700; }
.professional-metric code, .formula-line code { color: #191f28; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; overflow-wrap: anywhere; }
.professional-metric dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0 0; border-top: 1px solid #d1d6db; }
.professional-metric dl div { display: grid; gap: 5px; padding-top: 13px; }
.professional-metric dt { color: #8b95a1; font-size: 12px; }
.professional-metric dd { margin: 0; font-weight: 800; }
.story-contexts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.story-contexts div { min-width: 0; }
.story-contexts span { color: #8b95a1; font-size: 13px; font-weight: 700; }
.story-contexts p { margin: 8px 0 0; color: #4e5968; line-height: 1.65; }
.story-evidence { margin-top: 28px; border-top: 1px solid #e5e8eb; }
.story-evidence summary { padding: 18px 0; color: #4e5968; cursor: pointer; font-size: 14px; font-weight: 700; }
.story-evidence summary strong { color: #3182f6; }
.story-evidence ul { margin: 0; padding: 0 0 8px; list-style: none; }
.story-evidence li { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid #e5e8eb; }
.story-evidence li > div { min-width: 0; }
.story-evidence li p { margin: 5px 0; color: #333d4b; font-weight: 700; overflow-wrap: anywhere; }
.story-evidence li small { color: #8b95a1; line-height: 1.5; }
.evidence-balance { display: grid; gap: 18px; padding-bottom: 10px; }
.evidence-group { border-top: 2px solid #d1d6db; }
.evidence-group-reinforcing { border-top-color: #00a86b; }
.evidence-group-moderating { border-top-color: #f04452; }
.evidence-group-contextual { border-top-color: #3182f6; }
.evidence-group > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; }
.evidence-group > header strong { color: #333d4b; font-size: 13px; }
.evidence-group > header span { color: #8b95a1; font-size: 11px; }
.evidence-group ul { margin: 0; padding: 0; list-style: none; }
.evidence-group li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid #e5e8eb; }
.evidence-group li > div { min-width: 0; }
.evidence-group li p { margin: 5px 0; color: #333d4b; font-weight: 700; overflow-wrap: anywhere; }
.evidence-group li small { color: #8b95a1; line-height: 1.5; }
.evidence-group .empty-evidence { margin: 0; padding: 12px 0; color: #8b95a1; font-size: 12px; }
.snapshot-overview, .snapshot-signals, .snapshot-details, .dossier-index, .dossier-entries { margin-top: 56px; }
.snapshot-overview h2, .snapshot-signals h2, .snapshot-details h2, .dossier-summary h2, .dossier-index h2, .dossier-entries h2 { margin: 0; font-size: 26px; line-height: 1.4; }
.snapshot-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.snapshot-highlight { min-width: 0; padding: 20px; border: 1px solid #d1d6db; border-radius: 8px; }
.snapshot-highlight > span { color: #00a86b; font-size: 12px; font-weight: 800; }
.snapshot-highlight > p:first-of-type { margin: 8px 0 0; color: #6b7684; font-size: 13px; font-weight: 700; }
.snapshot-highlight > strong { display: block; margin-top: 8px; font-size: 34px; }
.snapshot-highlight h3 { margin: 12px 0 0; font-size: 17px; line-height: 1.45; }
.snapshot-highlight .signal-scale-summary + p { margin: 10px 0 0; color: #4e5968; font-size: 14px; line-height: 1.65; }
.snapshot-highlight .signal-scale-summary { grid-template-columns: 1fr; }
.snapshot-highlight .signal-scale-summary small { grid-column: auto; }
.snapshot-highlight .signal-scale-chart { grid-column: auto; }
.snapshot-highlight small { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e5e8eb; color: #00875a; line-height: 1.55; }
.signal-bars { display: grid; gap: 16px; margin-top: 28px; }
.signal-bar-row { display: grid; grid-template-columns: minmax(130px, 0.8fr) minmax(180px, 1.4fr) 42px; align-items: center; gap: 18px; }
.signal-bar-row > div:first-child { display: grid; gap: 3px; }
.signal-bar-row strong { font-size: 14px; }
.signal-bar-row span { color: #8b95a1; font-size: 10px; }
.signal-bar-row > b { text-align: right; }
.signal-track { position: relative; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #ffebe9 0 49.5%, #d1d6db 49.5% 50.5%, #e5f8f0 50.5% 100%); }
.signal-track i { position: absolute; top: 50%; left: var(--signal-position); width: 12px; height: 12px; border: 2px solid #ffffff; border-radius: 50%; background: #191f28; box-shadow: 0 1px 4px rgb(0 0 0 / 25%); transform: translate(-50%, -50%); }
.signal-track-unavailable { color: #8b95a1; font-size: 11px; text-align: center; }
.snapshot-details { border-top: 1px solid #d1d6db; padding-top: 40px; }
.snapshot-details details { border-bottom: 1px solid #e5e8eb; }
.snapshot-details summary { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; }
.snapshot-details summary::-webkit-details-marker { display: none; }
.snapshot-details summary span { display: grid; gap: 5px; }
.snapshot-details summary small { color: #8b95a1; font-size: 12px; }
.snapshot-details summary b { font-size: 22px; }
.snapshot-details details > p { margin: 0 0 20px; color: #333d4b; line-height: 1.75; }
.snapshot-details dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0 0 18px; }
.snapshot-details dl div { min-width: 0; }
.snapshot-details dt { color: #8b95a1; font-size: 12px; font-weight: 700; }
.snapshot-details dd { margin: 7px 0 0; color: #4e5968; line-height: 1.6; }
.snapshot-details code { display: block; margin-bottom: 22px; padding: 13px; background: #f7f9fb; color: #333d4b; font-size: 12px; overflow-wrap: anywhere; }
.dossier-summary { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr); gap: 40px; padding: 30px 0; border-block: 2px solid #333d4b; }
.dossier-summary > div > p:last-child { color: #4e5968; line-height: 1.75; }
.dossier-summary dl { margin: 0; }
.dossier-summary dl div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #e5e8eb; }
.dossier-summary dt { color: #8b95a1; font-size: 12px; }
.dossier-summary dd { margin: 0; font-size: 12px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.dossier-entry { padding: 38px 0; border-bottom: 1px solid #d1d6db; }
.dossier-entry > header { display: grid; grid-template-columns: 32px minmax(0, 1fr) 60px; align-items: start; gap: 14px; }
.dossier-entry > header > span { color: #c47a00; font-size: 12px; font-weight: 800; }
.dossier-entry header p { margin: 0; color: #6b7684; font-size: 12px; font-weight: 700; }
.dossier-entry h3 { margin: 7px 0 0; font-size: 21px; line-height: 1.45; }
.dossier-entry > header > strong { font-size: 28px; text-align: right; }
.dossier-reading { margin: 20px 0 0 46px; color: #333d4b; font-size: 16px; line-height: 1.8; }
.dossier-entry > .signal-scale-summary { margin-left: 46px; }
.dossier-entry > dl { margin: 24px 0 0 46px; border-top: 1px solid #e5e8eb; }
.dossier-entry > dl > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 18px; padding: 13px 0; border-bottom: 1px solid #e5e8eb; }
.dossier-entry dt { color: #8b95a1; font-size: 12px; font-weight: 700; }
.dossier-entry dd { margin: 0; color: #4e5968; line-height: 1.6; }
.dossier-entry code { font-size: 12px; overflow-wrap: anywhere; }
.dossier-evidence { margin: 24px 0 0 46px; }
.dossier-evidence > strong { color: #c47a00; font-size: 13px; }
.dossier-evidence ul { margin: 12px 0 0; padding: 0; list-style: none; }
.dossier-evidence li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid #e5e8eb; }
.dossier-evidence li > span { color: #c47a00; font-size: 11px; font-weight: 800; }
.dossier-evidence li p { margin: 5px 0; color: #333d4b; font-weight: 700; }
.dossier-evidence li small { color: #8b95a1; line-height: 1.5; }
.full-calculations { margin-top: 64px; padding-top: 48px; border-top: 1px solid #d1d6db; }
.solar-time-proof { margin-top: 28px; padding: 20px; border-left: 3px solid #3182f6; background: #f7f9fb; }
.solar-time-proof h3 { margin: 0 0 14px; font-size: 17px; }
.formula-line { margin: 0; padding: 18px; background: #f7f9fb; line-height: 1.8; }
.report-section { margin-top: 64px; }
.report-section h2 { margin: 0; font-size: 26px; line-height: 1.4; }
.section-kicker { margin: 0 0 10px; color: #3182f6; font-size: 14px; font-weight: 700; }
.section-description { margin: 12px 0 28px; color: #6b7684; line-height: 1.65; }
.report-conclusion { margin-top: 48px; }
.report-prose { color: #333d4b; font-size: 17px; line-height: 1.85; }
.report-prose p { margin: 0 0 24px; }
.evidence-limitation, .fixture-warning { display: flex; gap: 12px; margin: 28px 0 0; padding: 16px; border-left: 3px solid #f04452; background: #fff6f6; color: #4e5968; font-size: 14px; line-height: 1.55; }
.evidence-limitation strong, .fixture-warning strong { color: #e42939; white-space: nowrap; }
.evidence-list { margin: 28px 0 0; padding: 0; border-top: 1px solid #d1d6db; list-style: none; }
.evidence-item { padding: 24px 0; border-bottom: 1px solid #e5e8eb; }
.evidence-heading { display: flex; align-items: center; gap: 8px; }
.evidence-heading strong { margin-left: 4px; font-size: 18px; }
.evidence-id, .evidence-source { display: inline-flex; min-height: 24px; align-items: center; padding: 0 7px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.evidence-id { background: #e8f3ff; color: #1b64da; }
.evidence-source { background: #f2f4f6; color: #6b7684; }
.evidence-fact { display: flex; gap: 12px; margin: 14px 0 8px; color: #191f28; font-weight: 700; }
.evidence-fact span { color: #8b95a1; font-size: 13px; font-weight: 600; }
.evidence-explanation { margin: 0; color: #6b7684; line-height: 1.65; }
.signal-table-wrap { max-width: 100%; margin-top: 24px; overflow-x: auto; border-block: 1px solid #e5e8eb; }
.evidence-table { width: 100%; border-collapse: collapse; color: #4e5968; font-size: 14px; }
.evidence-table th, .evidence-table td { padding: 13px 12px; border-bottom: 1px solid #e5e8eb; text-align: left; white-space: nowrap; }
.evidence-table th { color: #6b7684; font-weight: 700; }
.signal-table td:not(:first-child), .signal-table th:not(:first-child) { text-align: right; }
.weight-note { margin: 14px 0 0; color: #8b95a1; font-size: 13px; }
.calculation-details { margin-top: 18px; border-block: 1px solid #d1d6db; }
.calculation-details + .calculation-details { margin-top: -1px; }
.calculation-details summary { min-height: 76px; display: flex; align-items: center; cursor: pointer; list-style: none; }
.calculation-details summary::-webkit-details-marker { display: none; }
.calculation-details summary::after { margin-left: auto; color: #8b95a1; font-size: 22px; content: "+"; }
.calculation-details[open] summary::after { content: "−"; }
.calculation-details summary span { display: grid; gap: 5px; }
.calculation-details summary strong { font-size: 18px; }
.calculation-details summary small { color: #8b95a1; font-size: 13px; }
.calculation-details > :last-child { margin-bottom: 28px; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px 0 32px; border-block: 1px solid #e5e8eb; }
.pillar-grid div { display: grid; gap: 8px; padding: 20px 8px; text-align: center; }
.pillar-grid span { color: #8b95a1; font-size: 13px; }
.pillar-grid strong { font-family: serif; font-size: 25px; }
.calculation-subsection { margin-top: 36px; }
.calculation-subsection h3 { margin: 0 0 16px; font-size: 17px; }
.compact-facts { margin: 0; border-top: 1px solid #e5e8eb; }
.compact-facts div { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #e5e8eb; }
.compact-facts dt { color: #8b95a1; font-size: 14px; }
.compact-facts dd { min-width: 0; margin: 0; color: #333d4b; font-weight: 600; overflow-wrap: anywhere; text-align: right; }
.element-bars { display: grid; gap: 12px; margin-top: 20px; }
.element-bars div { display: grid; grid-template-columns: 48px minmax(0, 1fr) 40px; align-items: center; gap: 12px; color: #6b7684; font-size: 13px; }
.element-bars meter { width: 100%; height: 10px; }
.element-bars strong { color: #333d4b; text-align: right; }
.evidence-tags { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.evidence-tags li { display: flex; min-width: 0; gap: 10px; padding: 12px 14px; background: #f7f9fb; color: #6b7684; font-size: 13px; overflow-wrap: anywhere; }
.evidence-tags span { color: #1b64da; font-weight: 700; }
.evidence-tags strong { color: #333d4b; }
.empty-evidence { color: #8b95a1; font-size: 14px; }
.metadata-details { margin-bottom: 64px; }
.report-actions { display: flex; margin-top: 48px; padding-top: 24px; border-top: 1px solid #e5e8eb; }
.report-actions form { margin: 0; }
.share-card-section { margin-top: 48px; padding-top: 28px; border-top: 1px solid #e5e8eb; }
.share-card-section h2 { margin: 0 0 18px; font-size: 22px; }
.share-card-image { display: block; width: min(100%, 480px); height: auto; border: 1px solid #e5e8eb; border-radius: 8px; }
.fortune-main { width: var(--page-content-width); margin: 0 auto; padding: 24px 0 112px; }
.fortune-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 32px; padding: 4px; border: 1px solid #ddcef3; border-radius: 8px; background: #eee3fa; }
.fortune-tabs a { display: grid; min-height: 42px; padding: 8px 12px; border-radius: 6px; color: #8a72b4; font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; white-space: nowrap; place-items: center; }
.fortune-tabs a.active { background: #8f67d6; color: #ffffff; }
.fortune-score-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 32px 0; border-block: 1px solid #e5e8eb; }
.fortune-score-band div { display: grid; gap: 6px; padding: 20px 8px; text-align: center; }
.fortune-score-band strong { font-size: 24px; }
.fortune-score-band span { color: #8b95a1; font-size: 13px; }
.fortune-summary { color: #5632ad; font-size: 18px; font-weight: 700; line-height: 1.65; }
.fortune-detail { margin-top: 24px; color: #645477; font-size: 14px; line-height: 1.8; }
.caution-tags { display: flex; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.caution-tags li { padding: 8px 10px; border-radius: 6px; background: #f2f4f6; color: #4e5968; font-size: 13px; font-weight: 700; }
.locked-state { position: relative; display: grid; min-height: 250px; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 20px; padding: 32px 34px; overflow: hidden; border: 1px solid #d8c5f4; border-radius: 8px; background: #fbf5fe; }
.locked-state::before, .locked-state::after { position: absolute; width: 9px; height: 9px; transform: rotate(45deg); background: #fff18a; content: ""; }
.locked-state::before { top: 26px; right: 34%; }
.locked-state::after { right: 24px; bottom: 22px; }
.locked-state-copy { position: relative; z-index: 1; min-width: 0; }
.locked-state-kicker { display: inline-flex; align-items: center; gap: 6px; color: #8d61dc; font-size: 11px; font-weight: 800; }
.locked-state-kicker .lucide { width: 15px; height: 15px; }
.locked-state h1 { margin: 9px 0 0; color: #4f2aa5; font-size: 25px; font-weight: 800; line-height: 1.35; }
.locked-state-copy > p { max-width: 390px; margin: 11px 0 0; color: #806d99; font-size: 12px; font-weight: 600; line-height: 1.7; word-break: keep-all; }
.locked-state-action { display: inline-grid; min-width: 174px; min-height: 44px; grid-template-columns: 18px 1fr 16px; align-items: center; gap: 8px; margin-top: 21px; padding: 0 14px; border-radius: 7px; background: #835adc; color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.locked-state-action:hover { background: #7048ca; }
.locked-state-action .lucide { width: 17px; height: 17px; }
.locked-state-action .lucide:last-child { width: 15px; height: 15px; }
.locked-state-art { position: relative; align-self: stretch; min-height: 186px; }
.locked-state-art span { position: absolute; z-index: 2; top: 4px; left: 50%; width: max-content; transform: translateX(-50%); padding: 8px 11px; border: 1px solid #d4c0ed; border-radius: 7px; background: #fffafd; color: #7251aa; font-size: 10px; font-weight: 800; }
.locked-state-art span::after { position: absolute; bottom: -6px; left: 50%; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg); border-right: 1px solid #d4c0ed; border-bottom: 1px solid #d4c0ed; background: #fffafd; content: ""; }
.locked-state-art img { position: absolute; right: -12px; bottom: -80px; width: 190px; height: auto; filter: drop-shadow(0 10px 10px rgba(82, 47, 144, .1)); image-rendering: pixelated; }
.fortune-heading { padding: 2px 4px 0; }
.fortune-heading .date-label { color: #8f67d6; font-size: 12px; font-weight: 700; }
.fortune-heading h1 { max-width: 620px; margin: 6px 0 8px; color: #4f2aa5; font-size: 23px; font-weight: 800; line-height: 1.45; }
.fortune-range { margin: 0; color: #a18ebf; font-size: 12px; font-weight: 600; }
.fortune-overview { display: grid; grid-template-columns: 126px minmax(0, 1fr); align-items: center; gap: 18px 24px; margin: 24px 0 16px; padding: 22px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.fortune-score { position: relative; display: flex; width: 126px; height: 126px; align-items: center; justify-content: center; gap: 3px; border-radius: 50%; background: conic-gradient(#8d61dc 0 var(--fortune-score), #eadff6 var(--fortune-score) 100%); color: #5632ad; isolation: isolate; }
.fortune-score::before { position: absolute; z-index: -1; inset: 10px; border-radius: 50%; background: #fbf5fe; content: ""; }
.fortune-score strong { font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.fortune-score span { color: #9a83c5; font-size: 11px; font-weight: 700; }
.fortune-score-copy strong { color: #5632ad; font-size: 16px; }
.fortune-score-copy p { margin: 8px 0 0; color: #806d99; font-size: 12px; line-height: 1.6; }
.score-track { grid-column: 2; height: 7px; overflow: hidden; border-radius: 5px; background: #e8def3; }
.score-track i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #6898e5, #8d61dc, #ed6aa6); }
.score-scale { display: flex; grid-column: 2; justify-content: space-between; color: #a18ebf; font-size: 10px; }
.fortune-domains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fortune-domain { position: relative; min-height: 158px; padding: 18px; overflow: hidden; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.fortune-domain::after { position: absolute; top: 12px; right: 14px; color: #d4c2ef; font-size: 22px; line-height: 1; content: "✦"; }
.fortune-domain.domain-relationship::after { color: #ed6aa6; content: "♥"; }
.fortune-domain.domain-work-study::after { color: #f2a15d; content: "▣"; }
.fortune-domain.domain-energy::after { color: #6591dc; content: "✚"; }
.fortune-domain header { display: flex; padding-right: 28px; align-items: baseline; justify-content: space-between; gap: 8px; color: #806d99; font-size: 12px; font-weight: 700; }
.fortune-domain header strong { color: #6040b2; font-size: 22px; }
.fortune-domain h2 { margin: 16px 0 8px; color: #5632ad; font-size: 15px; line-height: 1.5; }
.fortune-domain p { margin: 0; color: #806d99; font-size: 12px; line-height: 1.65; }
.fortune-domain.compact-domain { min-height: 0; padding-bottom: 24px; }
.domain-reading { margin-top: 26px; padding-top: 22px; border-top: 1px dashed #ddcef3; }
.domain-reading h3 { margin: 0 0 14px; color: #5632ad; font-size: 16px; }
.fortune-reading, .fortune-trend { margin-top: 18px; padding: 22px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.fortune-reading > h2, .fortune-trend h2 { margin: 0 0 18px; color: #5632ad; font-size: 18px; }
.fortune-action { display: grid; gap: 7px; margin-top: 24px; padding: 16px; border: 1px solid #eadcf6; border-radius: 6px; background: #f3e9fb; }
.fortune-action span { color: #8d61dc; font-size: 11px; font-weight: 700; }
.fortune-action strong { color: #563f70; font-size: 14px; line-height: 1.65; }
.trend-bars { display: flex; height: 150px; align-items: end; gap: 8px; padding-top: 12px; border-bottom: 1px solid #d9c9ed; }
.trend-bars div { display: flex; height: 100%; min-width: 8px; flex: 1; align-items: center; flex-direction: column; justify-content: end; gap: 7px; }
.trend-bars i { display: block; width: min(20px, 70%); min-height: 3px; border-radius: 4px 4px 0 0; background: linear-gradient(#ed77ac, #8d61dc); }
.trend-bars span { color: #9a83c5; font-size: 10px; font-weight: 600; white-space: nowrap; }
.fortune-evidence { margin-top: 18px; padding: 18px 20px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.fortune-evidence summary { display: flex; color: #6040b2; font-size: 13px; font-weight: 700; cursor: pointer; justify-content: space-between; }
.fortune-evidence summary span { color: #9a70df; }
.evidence-intro { color: #806d99; font-size: 12px; line-height: 1.65; }
.evidence-row { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid #eadff6; }
.evidence-row > span { color: #8d61dc; font-size: 11px; font-weight: 700; }
.evidence-row strong { font-size: 15px; }
.evidence-row p { margin: 5px 0 0; color: #806d99; font-size: 12px; line-height: 1.6; }
.counterpart-list { margin-top: 32px; border-top: 1px solid #e5e8eb; }
.counterpart-item { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid #e5e8eb; }
.counterpart-item h2 { margin: 0; font-size: 19px; }
.counterpart-item p { margin: 7px 0 0; color: #8b95a1; font-size: 14px; }
.counterpart-actions { display: flex; align-items: center; gap: 10px; }
.counterpart-actions form { margin: 0; }
.counterpart-empty { padding: 28px 0; border-bottom: 1px solid #e5e8eb; }
.compatibility-main { padding-top: 30px; }
.compatibility-title { margin-bottom: 24px; }
.compatibility-title .date-label { color: #a06bd9; font-size: 12px; }
.compatibility-title h1 { color: #4f2aa5; font-size: 25px; font-weight: 800; }
.compatibility-title > p:last-child { color: #806d99; font-size: 13px; }
.compatibility-main .access-notice { border: 1px solid #ddcef3; border-left: 3px solid #9a70df; border-radius: 8px; background: #fbf5fe; color: #705d89; }
.compatibility-main .access-notice a { color: #7650c6; }
.compatibility-person-card { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(148px, 0.65fr); align-items: center; gap: 16px; padding: 18px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.compatibility-avatar, .counterpart-mini-avatar { display: grid; border: 1px solid #d8c5f4; border-radius: 50%; background: #f3d8ed; color: #e95f9f; place-items: center; }
.compatibility-avatar { width: 66px; height: 66px; font-size: 29px; box-shadow: inset 0 -6px #e6c3e0; }
.compatibility-person-copy { display: grid; min-width: 0; gap: 3px; }
.compatibility-person-copy > span, .compatibility-section-header > div > span, .compatibility-empty > div > span { color: #9a70df; font-size: 11px; font-weight: 800; }
.compatibility-person-copy strong { color: #5632ad; font-size: 19px; overflow-wrap: anywhere; }
.compatibility-person-copy p { margin: 0; color: #907ba9; font-size: 11px; }
.compatibility-person-control { display: grid; gap: 6px; }
.compatibility-person-control label { color: #806d99; font-size: 10px; font-weight: 700; }
.compatibility-person-control select { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #d8c5f4; border-radius: 6px; background: #f7effd; color: #5632ad; font-weight: 700; outline: none; }
.compatibility-person-control select:focus { border-color: #9a70df; box-shadow: 0 0 0 3px #eadcf8; }
.compatibility-reports, .saved-counterparts { margin-top: 28px; }
.compatibility-section-header { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; padding: 0 3px; }
.compatibility-section-header h2 { margin: 3px 0 0; color: #5632ad; font-size: 19px; }
.compatibility-section-header p { margin: 5px 0 0; color: #907ba9; font-size: 11px; }
.compatibility-report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.compatibility-report-card { position: relative; display: grid; min-width: 0; min-height: 188px; align-content: space-between; gap: 16px; padding: 18px; overflow: hidden; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.compatibility-report-card::before { position: absolute; top: -22px; right: -20px; width: 72px; height: 72px; border-radius: 50%; background: #f0e5fb; content: ""; }
.compatibility-report-card > i { position: relative; display: grid; width: 38px; height: 38px; border-radius: 7px; background: #f3d8ed; color: #e95f9f; font-size: 20px; font-style: normal; place-items: center; }
.compatibility-report-card.report-tone-2 > i { background: #e6ddfa; color: #8060ce; }
.compatibility-report-card.report-tone-3 > i { background: #fff0cc; color: #e8a43e; }
.compatibility-report-card h3 { margin: 0; color: #5632ad; font-size: 16px; }
.compatibility-report-card p { margin: 7px 0 0; color: #806d99; font-size: 11px; line-height: 1.55; }
.compatibility-report-card form { margin: 0; }
.compatibility-generate-button, .compatibility-primary-link { display: grid; width: 100%; min-height: 40px; border: 0; border-radius: 6px; background: #8d61dc; color: #ffffff; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; place-items: center; }
.compatibility-generate-button:hover, .compatibility-primary-link:hover { background: #744ac2; }
.compatibility-report-card.report-tone-1 .compatibility-generate-button { background: #d95897; }
.compatibility-report-card.report-tone-3 .compatibility-generate-button { background: #d38b32; }
.compatibility-reports.is-preview .compatibility-report-card { min-height: 142px; opacity: 0.7; }
.compatibility-empty { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 24px; padding: 26px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.compatibility-empty-art { position: relative; display: grid; width: 132px; height: 112px; border: 1px solid #cfb8ef; border-radius: 8px; background: #e8d9fb; color: #ed6aa6; font-size: 42px; box-shadow: inset 0 -10px #deccf5; place-items: center; }
.compatibility-empty-art::before, .compatibility-empty-art::after { position: absolute; width: 8px; height: 8px; transform: rotate(45deg); background: #fff18a; content: ""; }
.compatibility-empty-art::before { top: 18px; left: 20px; }
.compatibility-empty-art::after { right: 22px; bottom: 20px; }
.compatibility-empty-art i { position: absolute; top: 12px; right: 18px; color: #7955cc; font-size: 16px; font-style: normal; }
.compatibility-empty h2 { margin: 5px 0 8px; color: #5632ad; font-size: 20px; }
.compatibility-empty p { margin: 0 0 16px; color: #806d99; font-size: 12px; line-height: 1.65; }
.compatibility-empty .compatibility-primary-link { width: fit-content; min-width: 132px; padding: 0 18px; }
.compatibility-add-link { padding: 7px 0; color: #8d61dc; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.counterpart-card-list { display: grid; gap: 8px; }
.counterpart-card { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.counterpart-mini-avatar { width: 42px; height: 42px; font-size: 17px; }
.counterpart-card h3 { margin: 0; color: #5632ad; font-size: 14px; }
.counterpart-card p { margin: 4px 0 0; color: #907ba9; font-size: 10px; }
.counterpart-card .counterpart-actions { gap: 5px; }
.counterpart-edit-link, .counterpart-delete-button { padding: 7px 8px; border: 0; background: transparent; font-size: 10px; font-weight: 700; text-decoration: none; cursor: pointer; }
.counterpart-edit-link { color: #7650c6; }
.counterpart-delete-button { color: #b49fc4; }
.counterpart-empty-small { margin: 0; padding: 24px; border: 1px dashed #d8c5f4; border-radius: 8px; color: #907ba9; font-size: 12px; text-align: center; }
.faq-main { width: var(--page-content-width); margin: 0 auto; padding: 0 0 112px; }
.faq-hero { position: relative; display: grid; min-height: 190px; grid-template-columns: minmax(0, 1fr) 180px; align-items: center; gap: 20px; padding: 26px 28px; overflow: hidden; border: 1px solid #d8c5f4; border-radius: 8px; background: #e8d9fb; }
.faq-hero::before, .faq-hero::after { position: absolute; width: 10px; height: 10px; transform: rotate(45deg); background: #fff18a; content: ""; }
.faq-hero::before { top: 30px; left: 48%; }
.faq-hero::after { right: 24px; bottom: 24px; }
.faq-hero > div { position: relative; z-index: 1; }
.faq-hero p { margin: 0 0 6px; color: #8d61dc; font-size: 11px; font-weight: 800; }
.faq-hero h1 { color: #4f2aa5; font-size: 27px; font-weight: 800; }
.faq-hero span { display: block; max-width: 330px; margin-top: 10px; color: #75608d; font-size: 12px; line-height: 1.65; }
.faq-hero img { position: absolute; right: 16px; bottom: -18px; width: 170px; height: auto; image-rendering: pixelated; }
.faq-section { margin-top: 30px; }
.faq-section > header { margin-bottom: 12px; padding: 0 3px; }
.faq-section > header span { color: #9a70df; font-size: 10px; font-weight: 800; }
.faq-section > header h2 { margin: 3px 0 0; color: #5632ad; font-size: 18px; }
.faq-list { display: grid; gap: 8px; }
.faq-list details { border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.faq-list summary { position: relative; display: flex; min-height: 58px; align-items: center; padding: 13px 46px 13px 16px; color: #604d76; font-size: 13px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 16px; color: #9a70df; font-size: 20px; font-weight: 400; content: "+"; }
.faq-list details[open] summary { color: #5632ad; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 16px 16px; padding-top: 14px; border-top: 1px solid #eadff6; color: #756487; font-size: 12px; line-height: 1.75; }
.faq-help { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 30px; padding: 18px 22px; border: 1px solid #dfd1f5; border-radius: 8px; background: #f2e8fa; }
.faq-help img { width: 78px; height: auto; image-rendering: pixelated; }
.faq-help strong { color: #5632ad; font-size: 14px; }
.faq-help p { margin: 5px 0 0; color: #806d99; font-size: 11px; line-height: 1.6; }
.wallet-main { width: var(--page-content-width); margin: 0 auto; padding: 38px 0 112px; }
.wallet-title { margin-bottom: 24px; }
.wallet-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid #e1cef3; border-radius: 8px; background: #fbf5fe; }
.wallet-summary div { display: grid; gap: 6px; padding: 18px; }
.wallet-summary div + div { border-left: 1px solid #e1cef3; }
.wallet-summary span { color: #7f6f99; font-size: 12px; font-weight: 700; }
.wallet-summary strong { color: #5734b5; font-size: 19px; }
.wallet-section, .wallet-checkout-customer { margin-top: 28px; padding: 22px; border: 1px solid #e1cef3; border-radius: 8px; background: #fbf5fe; }
.wallet-checkout-customer h2 { margin: 0 0 14px; color: #5734b5; font-size: 17px; }
.wallet-checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wallet-checkout-fields label { display: grid; gap: 7px; color: #5f4e78; font-size: 13px; font-weight: 700; }
.wallet-checkout-fields input { width: 100%; min-height: 44px; border: 1px solid #dcc8f1; border-radius: 6px; background: #fffaff; color: #312343; padding: 0 12px; font: inherit; }
.wallet-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.wallet-section-heading div { display: grid; gap: 2px; }
.wallet-section-heading span { color: #9a7bd4; font-size: 10px; font-weight: 800; }
.wallet-section-heading h2 { margin: 0; color: #5734b5; font-size: 18px; }
.wallet-section-heading p { max-width: 55%; margin: 0; color: #8a799f; font-size: 12px; line-height: 1.45; text-align: right; }
.wallet-product-list { display: grid; }
.wallet-product, .wallet-row { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #eadcf6; }
.wallet-product div, .wallet-row div { display: grid; min-width: 0; gap: 4px; }
.wallet-product strong, .wallet-row strong { color: #43315f; font-size: 14px; }
.wallet-product b { margin-top: 2px; color: #6b43c2; font-size: 16px; }
.wallet-product b small { color: #9b8baa; font-size: 10px; font-weight: 600; }
.wallet-product span, .wallet-row span, .wallet-policy, .empty-state { color: #8a799f; font-size: 12px; line-height: 1.5; }
.wallet-product form, .wallet-row form { flex: none; margin: 0; }
.wallet-policy { margin: 12px 0 0; }
.wallet-access-note { margin: 0 0 8px; padding: 10px 12px; border-radius: 6px; background: #f1e5fb; color: #7457ad; font-size: 12px; font-weight: 700; }
.wallet-main button:disabled, .wallet-main input[type="submit"]:disabled { cursor: not-allowed; opacity: .45; }

@media (max-width: 520px) {
  .wallet-checkout-fields { grid-template-columns: 1fr; }
  .wallet-section, .wallet-checkout-customer { padding: 18px 16px; }
  .wallet-section-heading { display: grid; }
  .wallet-section-heading p { max-width: none; text-align: left; }
  .wallet-product, .wallet-row { gap: 10px; }
  .wallet-product .compact-button, .wallet-row .compact-button { padding-right: 12px; padding-left: 12px; }
}
.settings-main { width: var(--page-content-width); margin: 0 auto; padding: 0 0 112px; }
.settings-hero { position: relative; display: grid; min-height: 190px; grid-template-columns: minmax(0, 1fr) 178px; align-items: center; gap: 18px; padding: 27px 28px; overflow: hidden; border: 1px solid #d8c5f4; border-radius: 8px; background: #e8d9fb; }
.settings-hero::before, .settings-hero::after { position: absolute; width: 10px; height: 10px; transform: rotate(45deg); background: #fff18a; content: ""; }
.settings-hero::before { top: 28px; left: 48%; }
.settings-hero::after { right: 25px; bottom: 28px; }
.settings-hero-copy { position: relative; z-index: 1; }
.settings-hero-copy p { margin: 0 0 6px; color: #8d61dc; font-size: 11px; font-weight: 800; }
.settings-hero-copy h1 { color: #4f2aa5; font-size: 27px; font-weight: 800; }
.settings-hero-copy span { display: block; max-width: 340px; margin-top: 10px; color: #75608d; font-size: 12px; font-weight: 600; line-height: 1.65; }
.settings-hero img { position: absolute; right: 7px; bottom: -66px; width: 178px; height: auto; image-rendering: pixelated; }
.settings-notice, .settings-success { margin: 12px 0 0; padding: 13px 15px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.settings-notice { border: 1px solid #efbfd2; background: #fff3f8; }
.settings-success { border: 1px solid #b8dfcf; background: #f2fbf7; color: #368668; }
.settings-account-card, .settings-section, .danger-zone { margin-top: 12px; padding: 20px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.settings-card-header { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.settings-avatar { display: grid; width: 50px; height: 50px; overflow: hidden; border: 1px solid #d7c1f3; border-radius: 50%; background: #f3d8ed; place-items: center; }
.settings-avatar img { width: 126%; height: auto; margin-top: 8px; image-rendering: pixelated; }
.settings-card-header p, .settings-section-header p { margin: 0 0 3px; color: #9a70df; font-size: 10px; font-weight: 800; }
.settings-card-header h2 { min-width: 0; margin: 0; overflow: hidden; color: #5031a4; font-size: 15px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.settings-status { padding: 5px 8px; border: 1px solid #d9c9ef; border-radius: 999px; background: #f2e9fd; color: #7650c6; font-size: 9px; font-weight: 800; white-space: nowrap; }
.settings-summary-list { display: grid; margin: 18px 0 0; border-top: 1px solid #eadff6; }
.settings-summary-list > div { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #eadff6; }
.settings-summary-list dt { color: #8b7aa3; font-size: 11px; font-weight: 700; }
.settings-summary-list dd { display: flex; align-items: center; gap: 6px; margin: 0; color: #584071; font-size: 11px; font-weight: 800; text-align: right; }
.settings-dot { width: 7px; height: 7px; border-radius: 50%; background: #d5c8e7; }
.settings-dot.is-ready { background: #65bd83; }
.settings-profile-link { display: flex; min-height: 43px; align-items: center; justify-content: center; margin-top: 14px; border: 1px solid #d8c5f4; border-radius: 7px; background: #f3eaff; color: #6845b5; font-size: 12px; font-weight: 800; text-decoration: none; }
.settings-profile-link::after { margin-left: 5px; content: "›"; }
.settings-profile-link:hover { border-color: #b99ae8; background: #eee3fc; }
.settings-section-header { display: flex; align-items: center; gap: 11px; }
.settings-section-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid #d8c5f4; border-radius: 7px; background: #f1e6fc; color: #7a55ca; font-size: 16px; font-weight: 800; place-items: center; }
.settings-section-icon .lucide { width: 18px; height: 18px; }
.settings-section-icon.danger { border-color: #efc9d8; background: #fff0f6; color: #c45d87; }
.settings-section-header h2 { margin: 0; color: #5031a4; font-size: 17px; font-weight: 800; }
.settings-description { margin: 14px 0 0; color: #806d99; font-size: 11px; font-weight: 600; line-height: 1.65; }
.settings-password-form, .settings-deletion-form { display: grid; max-width: none; gap: 12px; margin-top: 18px; }
.settings-input-field { display: grid; gap: 7px; }
.settings-input-field > span { color: #624b83; font-size: 11px; font-weight: 800; }
.settings-input-field input { width: 100%; height: 44px; padding: 0 13px; border: 1px solid #d8c8ed; border-radius: 7px; outline: 0; background: #fffafd; color: #382750; font-size: 12px; }
.settings-input-field input::placeholder { color: #b4a5c5; }
.settings-input-field input:focus { border-color: #936bd3; box-shadow: 0 0 0 2px rgba(141, 97, 220, .12); }
.settings-field-help { margin: -2px 0 0; color: #9a8aaa; font-size: 10px; line-height: 1.5; }
.settings-submit-button { min-height: 45px; margin-top: 2px; border: 0; border-radius: 7px; background: #835adc; color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.settings-submit-button:hover { background: #7048ca; }
.settings-provider-notice { display: grid; min-height: 88px; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 14px; margin-top: 16px; padding: 12px 16px; border-radius: 7px; background: #f2e8fa; }
.settings-provider-notice img { width: 68px; height: 54px; object-fit: contain; image-rendering: pixelated; }
.settings-provider-notice p { margin: 0; color: #755f8e; font-size: 11px; font-weight: 600; line-height: 1.65; }
.danger-zone > p { margin: 14px 0 0; color: #806d99; font-size: 11px; font-weight: 600; line-height: 1.7; }
.settings-deletion-status { padding: 11px 12px; border-radius: 7px; background: #f4ebfb; color: #70588a !important; font-size: 10px !important; }
.danger-zone .danger-button { min-height: 43px; border: 1px solid #e8b8cb; background: #fff3f8; color: #b84f79; font-size: 11px; }
.danger-zone .danger-button:hover { background: #fce6ef; }
@media (min-width: 640px) {
  .settings-password-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settings-password-form .settings-input-field:first-child,
  .settings-password-form .settings-field-help,
  .settings-password-form .settings-submit-button { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .settings-main { padding-top: 16px; }
  .settings-hero { min-height: 172px; grid-template-columns: minmax(0, 1fr) 108px; padding: 22px 18px; }
  .settings-hero-copy h1 { font-size: 23px; }
  .settings-hero-copy span { max-width: 190px; font-size: 11px; }
  .settings-hero img { right: -5px; bottom: -45px; width: 136px; }
  .settings-account-card, .settings-section, .danger-zone { padding: 17px 16px; }
  .settings-card-header { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
  .settings-avatar { width: 44px; height: 44px; }
  .settings-card-header h2 { font-size: 13px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.danger-button { min-height: 52px; padding: 0 22px; border: 0; border-radius: 8px; background: #e42939; color: #ffffff; font-weight: 700; cursor: pointer; }
.operations-main { width: var(--page-content-width); margin: 0 auto; padding: 48px 0 96px; }
.operations-section { margin-top: 48px; padding-top: 28px; border-top: 1px solid #e5e8eb; }
.operations-section h3 { margin: 24px 0 8px; font-size: 16px; }
.operations-table-wrap { max-width: 100%; overflow-x: auto; border-block: 1px solid #e5e8eb; }
.operations-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.operations-table th, .operations-table td { padding: 13px 12px; border-bottom: 1px solid #e5e8eb; text-align: left; white-space: nowrap; }
.operations-table th { color: #8b95a1; font-weight: 700; }
.operations-table td { color: #4e5968; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid #90c2ff; outline-offset: 3px; }

@media (max-width: 639px) {
  html { scroll-padding-bottom: 96px; }
  body:has(.member-navigation) .viewport-frame { padding-bottom: 96px; }
  body:has(.app-header) .viewport-frame { padding-top: 74px; }
  .app-header { top: 7px; height: 58px; padding: 0; }
  .app-header::before { top: -7px; bottom: -7px; left: -16px; width: calc(100% + 32px); }
  .app-logo { font-size: 21px; }
  .header-icon-button { width: 38px; height: 38px; }
  .header-popup { top: -7px; right: auto; left: -16px; width: calc(100% + 32px); border-width: 0 0 1px; }
  .member-navigation { bottom: 8px; height: 70px; padding: 5px; }
  .member-navigation a { min-height: 56px; padding: 3px 1px; border-radius: 5px; font-size: 10px; }
  .member-navigation a i { font-size: 19px; }
  .member-navigation .nav-centerpiece { min-width: 64px; max-width: 64px; height: 64px; min-height: 64px; margin: -14px 1px 0; border-width: 2px; }
  .member-navigation .nav-centerpiece i { font-size: 27px; }
  .check-row, .consent-row, .input-field, button { scroll-margin-bottom: 96px; }
  .top-bar, .page-header { height: 56px; }
  .fortune-entry { padding-top: 64px; }
  .guest-entry { min-height: calc(100svh - 112px); padding: 12px 0 36px; }
  .guest-conversation { grid-template-columns: 1fr; gap: 0; }
  .guest-speech-bubble { order: 1; padding: 27px 22px 24px; border-radius: 23px; text-align: center; }
  .guest-speech-bubble::before, .guest-speech-bubble::after { top: auto; right: auto; left: 50%; transform: translateX(-50%); }
  .guest-speech-bubble::before { bottom: -24px; border-width: 24px 18px 0; border-color: #cbb1ed transparent transparent; }
  .guest-speech-bubble::after { bottom: -20px; border-width: 21px 15px 0; border-color: #fffaff transparent transparent; }
  .guest-speech-bubble h1 { margin-top: 13px; font-size: clamp(31px, 9.6vw, 39px); }
  .guest-speech-bubble > p { margin: 14px 0 21px; font-size: 14px; }
  .guest-speech-bubble > small { margin-top: 13px; }
  .guest-tamami { order: 2; min-height: 284px; margin-top: 4px; }
  .guest-tamami::before { width: 250px; height: 250px; }
  .guest-tamami img { width: min(86%, 280px); }
  .guest-sparkle-one { top: 19%; left: 8%; }
  .guest-sparkle-two { top: 32%; right: 8%; }
  .guest-sparkle-three { right: 15%; bottom: 13%; }
  .guest-preview-section { padding: 24px 0 76px; }
  .guest-preview-heading h2 { font-size: 21px; }
  .guest-preview-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .guest-preview-card { min-height: 0; padding: 20px; }
  .guest-preview-card h3 br { display: none; }
  .guest-preview-kicker { margin-top: 21px; }
  .guest-preview-copy { margin-top: 18px; padding-top: 0; font-size: 12px; }
  .guest-preview-pass-note { font-size: 10px; }
  .guest-preview-footer { margin-top: 21px; }
  .guest-preview-footer > p { max-width: 310px; }
  .guest-preview-cta { width: 100%; min-height: 50px; }
  .guest-preview-open-label { font-size: 11px; }
  .guest-result-dialog { inset: auto 0 0; width: 100%; max-width: none; max-height: calc(100dvh - 10px); margin: 0; border-radius: 24px 24px 0 0; }
  .guest-result-dialog-shell { max-height: calc(100dvh - 10px); }
  .guest-result-dialog-header { position: relative; min-height: 62px; padding: 7px 16px 0; }
  .guest-result-dialog-header::before { position: absolute; top: 7px; left: 50%; width: 38px; height: 4px; transform: translateX(-50%); border-radius: 99px; background: #ddd0e6; content: ""; }
  .guest-result-dialog-scroll { padding: 20px 16px 26px; }
  .guest-result-product-heading > h2 { font-size: 22px; }
  .guest-result-product-heading > span { font-size: 12px; }
  .guest-result-dialog-footer { min-height: 72px; padding: 10px 16px; }
  .guest-result-dialog-footer > p { display: none; }
  .guest-result-dialog-footer > a { width: 100%; min-height: 50px; font-size: 12px; }
  .member-dashboard { padding: 18px 0 56px; }
  .dashboard-hero { height: 280px; }
  .pixel-orb { top: 38px; width: 156px; height: 156px; }
  .pixel-orb-base { top: 166px; width: 198px; }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
  .dashboard-item { min-height: 116px; padding: 14px; }
  .dashboard-shortcuts { gap: 6px; margin-top: 14px; }
  .dashboard-shortcut { min-height: 100px; gap: 7px; padding-inline: 2px; }
  .dashboard-shortcut i { width: 50px; height: 50px; font-size: 34px; }
  .dashboard-shortcut strong { font-size: 12px; }
  .today-flow-card { padding: 16px 14px 18px; }
  .today-flow-card h2 { margin-bottom: 14px; font-size: 18px; }
  .today-flow-content { grid-template-columns: 126px minmax(0, 1fr); gap: 12px; }
  .today-score-summary { display: grid; justify-items: center; gap: 8px; padding-right: 12px; }
  .today-flow-donut { width: 76px; height: 76px; }
  .today-flow-donut::after { width: 48px; height: 48px; margin: 14px; }
  .today-score-summary strong { font-size: 36px; }
  .today-score-summary span { font-size: 11px; }
  .today-domain-ratings { gap: 10px; }
  .today-domain-rating { grid-template-columns: 22px minmax(64px, 1fr); gap: 5px; }
  .today-domain-rating > i { font-size: 18px; }
  .today-domain-rating > span { font-size: 10px; }
  .today-domain-rating b { grid-column: 2; gap: 3px; }
  .today-domain-rating em { font-size: 14px; }
  .birth-chart-card { padding: 16px 14px 18px; }
  .birth-chart-card h2 { font-size: 18px; }
  .birth-chart-edit { width: 32px; height: 32px; }
  .birth-chart-meta { margin: 8px 0 13px; font-size: 11px; }
  .pillar-grid.home-pillar-grid { gap: 5px; }
  .pillar-grid.home-pillar-grid span { padding: 6px 2px; font-size: 10px; }
  .pillar-grid.home-pillar-grid strong { padding: 10px 1px; font-size: 17px; }
  .element-summary { grid-template-columns: minmax(0, 1fr) 112px; gap: 12px; margin-top: 18px; }
  .element-bars { gap: 7px; }
  .element-row { grid-template-columns: 72px minmax(44px, 1fr) 18px; gap: 5px; font-size: 10px; }
  .element-row i { width: 10px; height: 10px; border-width: 1px; }
  .element-row b { height: 7px; }
  .element-donut { width: 108px; height: 108px; }
  .element-donut::before { width: 60px; height: 60px; }
  .element-donut span { font-size: 12px; }
  h1 { font-size: 34px; }
  .supporting-copy { font-size: 16px; }
  .auth-panel { padding-top: 36px; }
  .signup-conversation-hero { min-height: 184px; grid-template-columns: 112px minmax(0, 1fr); padding: 14px 14px 14px 3px; border-radius: 20px; }
  .signup-conversation-hero img { width: 116px; }
  .signup-conversation-hero > div { padding: 16px 14px; border-radius: 17px; }
  .signup-conversation-hero h1 { font-size: 19px; }
  .signup-conversation-hero span { font-size: 10px; }
  .onboarding-main { width: min(calc(100% - 24px), 680px); padding: 8px 0 42px; }
  .conversation-onboarding { padding: 18px 14px 22px; border-radius: 23px; }
  .onboarding-progress { margin-bottom: 22px; }
  .tamami-prompt { grid-template-columns: 56px minmax(0, 1fr); gap: 8px; }
  .tamami-prompt > img { width: 56px; height: 56px; border-radius: 18px; }
  .tamami-prompt > div { padding: 14px 15px; border-radius: 17px 17px 17px 5px; }
  .tamami-prompt h1 { font-size: 18px; }
  .tamami-prompt p { font-size: 10px; }
  .clue-conversation-form { margin-top: 18px; }
  .clue-exchange { padding: 15px 12px; border-radius: 17px; }
  .clue-answer { width: calc(100% - 10px); padding: 11px; border-radius: 16px 16px 5px 16px; }
  .sentence-input { align-items: flex-start; flex-direction: column; gap: 2px; }
  .sentence-input input { width: 100%; }
  .clue-select { align-items: flex-start; flex-direction: column; }
  .clue-select select { width: 100%; }
  .saved-clue-preview { grid-template-columns: 1fr; }
  .account-answer { grid-template-columns: 1fr; gap: 2px; }
  .clue-wizard { min-height: 620px; padding-inline: 12px; }
  .tamami-guide { grid-template-columns: 94px minmax(0, 1fr); margin-top: -5px; }
  .tamami-guide > img { width: 100px; }
  .tamami-guide > div { padding: 12px 13px; }
  .tamami-guide h1 { font-size: 17px; }
  .tamami-guide p { font-size: 9px; }
  .clue-step-form { margin-top: 12px; }
  .clue-step { min-height: 400px; padding: 27px 15px 22px; border-radius: 20px; }
  .clue-step h2 { font-size: 21px; }
  .birthday-selects { gap: 5px; }
  .birthday-selects select { height: 54px; padding-inline: 8px 20px; font-size: 15px; }
  .birthday-selects label::after { right: 7px; }
  .calendar-kind-switch span, .lunar-kind-switch span { min-width: 62px; }
  .profile-main { padding-top: 32px; }
  .page-title h1 { font-size: 28px; }
  .summary-list > div { grid-template-columns: minmax(100px, 0.65fr) minmax(0, 1fr); gap: 12px; }
  .confirmation-actions { grid-template-columns: 1fr; }
  .confirmation-actions form { grid-row: 1; }
  .report-main { padding-top: 32px; }
  .report-section { margin-top: 48px; }
  .report-view-switcher a { min-height: 54px; padding-inline: 4px; }
  .analysis-tabs { margin-bottom: 36px; }
  .analysis-introduction h2 { font-size: 24px; }
  .story-chapter { padding: 38px 0; }
  .story-chapter h3 { font-size: 21px; }
  .signal-score { font-size: 28px; }
  .professional-metric dl { grid-template-columns: 1fr; gap: 10px; }
  .story-contexts { grid-template-columns: 1fr; gap: 18px; }
  .strength-shadow-pair, .practice-question { grid-template-columns: 1fr; }
  .interpretation-basis dl div { grid-template-columns: 1fr; gap: 5px; }
  .snapshot-overview, .snapshot-signals, .snapshot-details, .dossier-index, .dossier-entries { margin-top: 44px; }
  .calculation-subject { padding: 20px; }
  .executive-summary { margin-top: 44px; padding: 30px 0; }
  .executive-summary h2 { font-size: 25px; }
  .executive-summary-prose p { font-size: 16px; }
  .core-structure { margin-top: 48px; }
  .core-structure h2 { font-size: 24px; }
  .core-structure-prose section { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 20px 0; }
  .core-structure-prose p { font-size: 15px; }
  .subject-facts, .subject-chart-summary { grid-template-columns: 1fr; }
  .subject-facts div:nth-child(odd) { padding-right: 0; }
  .snapshot-highlights { grid-template-columns: 1fr; }
  .snapshot-highlight { padding: 18px; }
  .signal-bar-row { grid-template-columns: 112px minmax(90px, 1fr) 34px; gap: 10px; }
  .snapshot-details dl { grid-template-columns: 1fr; gap: 14px; }
  .dossier-summary { grid-template-columns: 1fr; gap: 22px; padding: 24px 0; }
  .dossier-entry > header { grid-template-columns: 28px minmax(0, 1fr) 44px; gap: 10px; }
  .dossier-entry h3 { font-size: 18px; }
  .dossier-reading, .dossier-entry > dl, .dossier-evidence { margin-left: 0; }
  .dossier-entry > .signal-scale-summary { margin-left: 0; }
  .dossier-entry > dl > div { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .report-section h2 { font-size: 23px; }
  .evidence-limitation, .fixture-warning { flex-direction: column; gap: 4px; }
  .evidence-heading { flex-wrap: wrap; }
  .evidence-heading strong { width: 100%; margin: 4px 0 0; }
  .evidence-fact { flex-direction: column; gap: 5px; }
  .pillar-grid strong { font-size: 21px; }
  .report-item { align-items: flex-end; }
  .access-notice { align-items: flex-start; flex-direction: column; gap: 8px; }
  .relation-report-form { width: 100%; align-items: stretch; flex-direction: column; }
  .relation-report-form select { width: 100%; max-width: none; }
  .fortune-tabs { margin-bottom: 36px; }
  .locked-state { min-height: 360px; grid-template-columns: 1fr; align-content: start; gap: 0; padding: 24px 20px 0; }
  .locked-state::before { top: 22px; right: 22px; }
  .locked-state h1 { font-size: 22px; }
  .locked-state-copy > p { font-size: 11px; }
  .locked-state-action { width: 100%; margin-top: 18px; }
  .locked-state-art { min-height: 150px; }
  .locked-state-art span { top: 19px; }
  .locked-state-art img { right: 50%; bottom: -78px; width: 165px; transform: translateX(50%); }
  .fortune-score-band strong { font-size: 21px; }
  .fortune-heading h1 { font-size: 28px; }
  .fortune-overview { grid-template-columns: 1fr; gap: 16px; }
  .fortune-score { min-width: 0; }
  .fortune-score-copy { grid-row: 2; }
  .score-track, .score-scale { grid-column: 1; }
  .fortune-domains { grid-template-columns: 1fr; }
  .fortune-domain { min-height: 0; }
  .trend-bars { gap: 4px; overflow-x: auto; }
  .trend-bars div { min-width: 16px; }
  .trend-bars span { font-size: 10px; writing-mode: vertical-rl; }
  .compatibility-main { padding-top: 26px; }
  .compatibility-title h1 { font-size: 23px; }
  .compatibility-person-card { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 15px; }
  .compatibility-avatar { width: 54px; height: 54px; font-size: 24px; }
  .compatibility-person-control { grid-column: 1 / -1; }
  .compatibility-report-grid { grid-template-columns: 1fr; }
  .compatibility-report-card { grid-template-columns: 44px minmax(0, 1fr) 78px; min-height: 94px; align-items: center; gap: 10px; padding: 14px; }
  .compatibility-report-card::before { display: none; }
  .compatibility-report-card > i { width: 38px; height: 38px; }
  .compatibility-report-card .relation-report-form { width: auto; }
  .compatibility-generate-button { min-height: 38px; }
  .compatibility-reports.is-preview .compatibility-report-card { grid-template-columns: 44px minmax(0, 1fr); min-height: 88px; }
  .compatibility-empty { grid-template-columns: 1fr; justify-items: center; gap: 18px; padding: 22px 18px; text-align: center; }
  .compatibility-empty-art { width: 116px; height: 94px; }
  .compatibility-empty .compatibility-primary-link { width: 100%; }
  .compatibility-section-header { align-items: start; }
  .counterpart-card { grid-template-columns: 42px minmax(0, 1fr); }
  .counterpart-card .counterpart-actions { grid-column: 2; width: auto; justify-content: flex-end; }
  .faq-main { padding-top: 24px; }
  .faq-hero { min-height: 180px; grid-template-columns: minmax(0, 1fr) 110px; padding: 22px 18px; }
  .faq-hero h1 { font-size: 23px; }
  .faq-hero span { max-width: 190px; font-size: 11px; }
  .faq-hero img { right: 4px; bottom: -10px; width: 130px; }
  .faq-list summary { min-height: 56px; font-size: 12px; }
  .faq-help { grid-template-columns: 66px minmax(0, 1fr); padding: 15px; }
  .faq-help img { width: 64px; }
  .counterpart-item { align-items: flex-start; flex-direction: column; }
  .counterpart-actions { width: 100%; flex-wrap: wrap; }
}

/* Customer support */
.support-main { width: var(--page-content-width); margin: 0 auto; padding: 34px 0 110px; }
.support-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 20px 0 28px; }
.support-heading h1, .support-detail-heading h1 { color: #5632ad; font-size: 26px; }
.support-heading p:not(.date-label), .support-detail-heading p { margin: 8px 0 0; color: #806d99; font-size: 13px; line-height: 1.6; }
.support-new-button, .support-submit { display: inline-grid; min-height: 42px; padding: 0 18px; border: 0; border-radius: 7px; background: #8d61dc; color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; place-items: center; }
.support-ticket-list { display: grid; gap: 9px; }
.support-ticket-card { position: relative; display: grid; min-height: 92px; grid-template-columns: 88px minmax(0, 1fr) 22px; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; text-decoration: none; }
.support-ticket-card strong { color: #5632ad; font-size: 14px; }
.support-ticket-card small { grid-column: 2; color: #917dae; font-size: 10px; }
.support-ticket-card b { grid-row: 1 / 3; grid-column: 3; color: #9a83c5; font-size: 24px; font-weight: 400; }
.support-ticket-status { grid-row: 1 / 3; display: grid; min-height: 30px; border-radius: 6px; background: #eee4fa; color: #7650c6; font-size: 11px; font-weight: 800; place-items: center; }
.support-empty { display: grid; min-height: 380px; justify-items: center; align-content: center; padding: 32px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; text-align: center; }
.support-empty img { width: 118px; height: 118px; object-fit: contain; image-rendering: pixelated; }
.support-empty h2 { margin: 16px 0 6px; color: #5632ad; font-size: 18px; }
.support-empty p { margin: 0 0 18px; color: #806d99; font-size: 12px; }
.support-empty a { color: #7650c6; font-size: 12px; font-weight: 800; }
.support-form, .support-reply-form { display: grid; gap: 20px; padding: 24px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.support-form label, .support-reply-form label { display: grid; gap: 9px; color: #604d76; font-size: 12px; font-weight: 800; }
.support-form input, .support-form select, .support-form textarea, .support-reply-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #d8c5f4; border-radius: 7px; background: #fff; color: #49365f; outline: 0; resize: vertical; }
.support-form input, .support-form select { height: 46px; }
.support-form input:focus, .support-form select:focus, .support-form textarea:focus, .support-reply-form textarea:focus { border-color: #8d61dc; box-shadow: 0 0 0 3px #eee5ff; }
.support-form .support-submit, .support-reply-form .support-submit { justify-self: end; }
.support-detail-heading { margin: 22px 0 24px; padding-bottom: 20px; border-bottom: 1px solid #dfd1f5; }
.support-detail-heading > span { display: inline-block; padding: 6px 9px; border-radius: 5px; background: #eee4fa; color: #7650c6; font-size: 10px; font-weight: 800; }
.support-conversation, .admin-conversation { display: grid; gap: 12px; }
.support-message { max-width: 86%; padding: 15px 17px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.support-message.customer { justify-self: end; background: #eee5ff; }
.support-message.staff { justify-self: start; }
.support-message header { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.support-message header strong { color: #5632ad; font-size: 11px; }
.support-message time { color: #a18ebf; font-size: 9px; }
.support-message > p { margin: 0; color: #604d76; font-size: 12px; line-height: 1.7; white-space: pre-wrap; }
.support-message > p p { margin: 0; }
.support-reply-form { margin-top: 20px; }
.support-closed { padding: 18px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; color: #806d99; font-size: 12px; text-align: center; }

/* Operations console */
.admin-body { min-width: 360px; background: #f4f6f8; color: #202632; }
.admin-frame { display: grid; min-height: 100svh; grid-template-columns: 224px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; display: flex; height: 100svh; flex-direction: column; padding: 24px 14px 18px; border-right: 1px solid #dde2e7; background: #202632; color: #fff; }
.admin-brand { display: grid; gap: 2px; padding: 0 10px 22px; color: #fff; text-decoration: none; }
.admin-brand strong { font-size: 19px; }.admin-brand span { color: #9aa4b2; font-size: 10px; font-weight: 700; }
.admin-sidebar nav { display: grid; gap: 3px; }
.admin-sidebar nav a { min-height: 42px; padding: 0 12px; border-radius: 6px; color: #bcc5d0; font-size: 12px; font-weight: 700; line-height: 42px; text-decoration: none; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: #343c49; color: #fff; }
.admin-sidebar-footer { display: grid; gap: 4px; margin-top: auto; padding: 14px 10px 0; border-top: 1px solid #3a424f; }
.admin-sidebar-footer span { font-size: 11px; font-weight: 800; }.admin-sidebar-footer small { color: #9aa4b2; font-size: 9px; }
.admin-sidebar-footer form { margin-top: 9px; }.admin-sidebar-footer button { padding: 0; border: 0; background: transparent; color: #bcc5d0; font-size: 10px; cursor: pointer; }
.admin-workspace { min-width: 0; }
.admin-topbar { display: flex; height: 56px; align-items: center; justify-content: space-between; padding: 0 28px; border-bottom: 1px solid #dde2e7; background: #fff; }
.admin-topbar strong { font-size: 13px; }.admin-topbar a { color: #687383; font-size: 10px; text-decoration: none; }
.admin-menu-toggle { display: none; border: 0; background: transparent; font-size: 20px; }
.admin-main { width: min(calc(100% - 48px), 1360px); margin: 0 auto; padding: 34px 0 70px; }.admin-main.narrow { max-width: 640px; }
.admin-page-heading { display: flex; min-height: 72px; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.admin-eyebrow { margin: 0 0 6px; color: #798595; font-size: 9px; font-weight: 800; letter-spacing: 0; }
.admin-page-heading h1, .admin-login h1 { margin: 0; color: #202632; font-size: 25px; }
.admin-page-heading p:not(.admin-eyebrow), .admin-login p { margin: 7px 0 0; color: #687383; font-size: 11px; line-height: 1.55; }
.admin-page-heading time { color: #8b95a1; font-size: 10px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.admin-stat-grid article { display: grid; min-height: 106px; align-content: center; gap: 7px; padding: 17px; border: 1px solid #dde2e7; border-radius: 7px; background: #fff; }
.admin-stat-grid span { color: #687383; font-size: 10px; font-weight: 700; }.admin-stat-grid strong { font-size: 22px; }.admin-stat-grid small { color: #8b95a1; font-size: 9px; }
.admin-dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.admin-panel, .admin-table-panel, .admin-key-values, .admin-action-panel { border: 1px solid #dde2e7; border-radius: 7px; background: #fff; }
.admin-panel { padding: 19px; }.admin-panel > header { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.admin-panel h2, .admin-action-panel h2, .admin-record-section h2, .admin-ticket-sidebar h2 { margin: 0; font-size: 14px; }
.admin-panel header p { margin: 4px 0 0; color: #798595; font-size: 9px; }.admin-panel header a { color: #4a6fa5; font-size: 9px; text-decoration: none; }
.admin-list { display: grid; }.admin-list > a { display: grid; min-height: 61px; grid-template-columns: 92px minmax(0, 1fr); align-items: center; column-gap: 10px; padding: 8px 0; border-top: 1px solid #edf0f2; text-decoration: none; }
.admin-list > a strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.admin-list > a small { grid-column: 2; color: #8b95a1; font-size: 8px; }
.admin-badge { display: inline-flex; width: fit-content; min-height: 23px; align-items: center; padding: 0 7px; border-radius: 5px; background: #eef1f4; color: #526071; font-size: 8px; font-weight: 800; white-space: nowrap; }
.status-waiting_on_staff { background: #fff0d6; color: #8e5c12; }.status-waiting_on_user { background: #e6f1ff; color: #285f9f; }.status-resolved, .status-closed { background: #e7f5ed; color: #247049; }
.admin-empty { padding: 32px 16px; color: #8b95a1; font-size: 10px; text-align: center; }
.admin-incidents { margin-top: 12px; }.admin-incidents > p { display: flex; gap: 10px; margin: 0; padding: 10px 0; border-top: 1px solid #edf0f2; font-size: 10px; }
.admin-filter-tabs { display: flex; gap: 4px; margin-bottom: 12px; overflow-x: auto; }
.admin-filter-tabs a { min-height: 34px; padding: 0 12px; border: 1px solid #dde2e7; border-radius: 5px; background: #fff; color: #687383; font-size: 9px; font-weight: 700; line-height: 32px; text-decoration: none; white-space: nowrap; }
.admin-filter-tabs a.active { border-color: #344863; background: #344863; color: #fff; }
.admin-table-panel { overflow-x: auto; }.admin-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.admin-table th { height: 42px; padding: 0 13px; border-bottom: 1px solid #dde2e7; background: #f8f9fa; color: #687383; font-size: 8px; text-align: left; white-space: nowrap; }
.admin-table td { min-height: 48px; padding: 12px 13px; border-bottom: 1px solid #edf0f2; color: #384251; vertical-align: middle; }
.admin-table td a { color: #315f95; font-weight: 700; text-decoration: none; }.admin-table td small { display: block; margin-top: 3px; color: #8b95a1; font-size: 8px; }
.admin-back { display: inline-block; margin-bottom: 18px; color: #687383; font-size: 10px; text-decoration: none; }
.admin-ticket-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 14px; }
.admin-conversation { padding: 18px; border: 1px solid #dde2e7; border-radius: 7px; background: #fff; }
.admin-conversation .support-message { border-color: #dde2e7; background: #f7f8fa; }.admin-conversation .support-message.customer { background: #eef3f8; }
.admin-reply-form { display: grid; gap: 9px; margin-top: 14px; padding-top: 16px; border-top: 1px solid #dde2e7; }.admin-reply-form label { font-size: 10px; font-weight: 800; }
.admin-reply-form textarea { width: 100%; padding: 12px; border: 1px solid #cfd5dc; border-radius: 6px; resize: vertical; }.admin-reply-form input { justify-self: end; }
.admin-ticket-sidebar { padding: 18px; border: 1px solid #dde2e7; border-radius: 7px; background: #fff; }
.admin-form { display: grid; gap: 16px; }.admin-form.compact { gap: 12px; margin-top: 16px; }
.admin-form label { display: grid; gap: 7px; color: #526071; font-size: 9px; font-weight: 800; }
.admin-form input, .admin-form select, .admin-search input { width: 100%; height: 43px; padding: 0 11px; border: 1px solid #cfd5dc; border-radius: 6px; background: #fff; }
.admin-primary-button, .admin-secondary-button, .admin-danger-button, .admin-primary-link { display: inline-grid; min-height: 38px; padding: 0 14px; border: 0; border-radius: 5px; font-size: 9px; font-weight: 800; cursor: pointer; place-items: center; text-decoration: none; }
.admin-primary-button, .admin-primary-link { background: #344863; color: #fff; }.admin-secondary-button { border: 1px solid #cfd5dc; background: #fff; color: #384251; }.admin-danger-button { background: #b23b46; color: #fff; }
.admin-box-link { display: block; margin-top: 12px; padding: 12px; border: 1px solid #dde2e7; border-radius: 5px; color: #315f95; font-size: 9px; font-weight: 700; text-align: center; text-decoration: none; }
.admin-search { display: flex; max-width: 480px; gap: 7px; margin-bottom: 12px; }.admin-search input { flex: 1; }.admin-search input[type="submit"] { width: auto; border-color: #344863; background: #344863; color: #fff; cursor: pointer; }
.admin-detail-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; margin-bottom: 14px; }.admin-detail-grid article { display: grid; min-height: 90px; align-content: center; gap: 5px; padding: 14px; border: 1px solid #dde2e7; border-radius: 7px; background: #fff; }.admin-detail-grid span, .admin-detail-grid small { color: #798595; font-size: 8px; }.admin-detail-grid strong { font-size: 15px; }
.admin-action-panel { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: 15px; }.admin-action-panel form { display: flex; gap: 6px; }.admin-action-panel select, .admin-action-panel input[type="number"] { width: 105px; height: 38px; border: 1px solid #cfd5dc; border-radius: 5px; }
.admin-record-section { margin-top: 20px; }.admin-record-section > h2 { margin-bottom: 9px; }
.admin-product-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }.admin-product-strip article { display: grid; gap: 5px; padding: 14px; border: 1px solid #dde2e7; border-radius: 6px; background: #fff; }.admin-product-strip span, .admin-product-strip small { color: #798595; font-size: 8px; }.admin-product-strip strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.admin-table-button { min-height: 28px; padding: 0 8px; border: 1px solid #cfd5dc; border-radius: 4px; background: #fff; color: #384251; font-size: 8px; cursor: pointer; }
.admin-key-values { padding: 18px; }.admin-key-values dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }.admin-key-values dl div { padding: 14px; border-bottom: 1px solid #edf0f2; }.admin-key-values dt { color: #798595; font-size: 8px; }.admin-key-values dd { margin: 6px 0 0; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.admin-privacy-note { padding: 12px; border-left: 3px solid #9aa4b2; background: #f3f5f7; color: #687383; font-size: 9px; line-height: 1.6; }
.admin-flash { width: min(calc(100% - 48px), 1360px); margin: 12px auto 0; padding: 11px 14px; border-radius: 5px; font-size: 10px; }.admin-flash.success { background: #e7f5ed; color: #247049; }.admin-flash.error { background: #fbeaec; color: #9a303b; }
.admin-login { display: grid; min-height: 100svh; padding: 24px; background: #f4f6f8; place-items: center; }.admin-login > section { width: min(100%, 390px); padding: 30px; border: 1px solid #dde2e7; border-radius: 8px; background: #fff; }.admin-login .admin-form { margin-top: 24px; }.admin-text-link { display: block; margin-top: 18px; color: #687383; font-size: 9px; text-align: center; }

@media (max-width: 980px) {
  .admin-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-ticket-layout { grid-template-columns: 1fr; }.admin-ticket-sidebar { order: -1; }
}
@media (max-width: 720px) {
  .support-heading { align-items: flex-start; flex-direction: column; }
  .support-ticket-card { grid-template-columns: 76px minmax(0, 1fr) 16px; padding: 14px; }
  .admin-frame { display: block; }.admin-sidebar { position: fixed; z-index: 80; width: 224px; transform: translateX(-100%); transition: transform .2s ease; }.admin-sidebar.open { transform: translateX(0); }
  .admin-menu-toggle { display: block; }.admin-topbar { padding: 0 16px; }.admin-main { width: min(calc(100% - 28px), 1360px); padding-top: 24px; }
  .admin-stat-grid, .admin-dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.admin-stat-grid article:last-child { grid-column: span 2; }
  .admin-page-heading { flex-direction: column; }.admin-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-action-panel { align-items: stretch; flex-direction: column; }.admin-action-panel form { flex-wrap: wrap; }
  .admin-key-values dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-product-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.distribution-charts { margin: 36px 0; }
.distribution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.distribution-panel h3 { margin: 0 0 18px; font-size: 18px; }
.distribution-bars { display: grid; gap: 12px; }
.distribution-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 38px; gap: 10px; align-items: center; font-size: 14px; }
.distribution-row strong { text-align: right; font-variant-numeric: tabular-nums; }
.distribution-track { height: 12px; overflow: hidden; background: #e5e8eb; border-radius: 3px; }
.distribution-track i { display: block; height: 100%; background: #3182f6; border-radius: 3px; }
.distribution-panel:nth-child(2) .distribution-track i { background: #00a980; }
.chart-note { margin: 18px 0 0; color: #6b7684; font-size: 14px; line-height: 1.65; }
@media (max-width: 720px) { .distribution-grid { grid-template-columns: 1fr; } }
.astrology-chart-section { margin: 36px 0; }
.astrology-chart-layout { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 32px; align-items: center; }
.astrology-wheel { display: block; width: 100%; aspect-ratio: 1; color: #191f28; }
.wheel-ring, .wheel-inner { fill: #fff; stroke: #b0b8c1; stroke-width: 1.5; }
.zodiac-tick { stroke: #d1d6db; stroke-width: 1; }
.aspect-line { stroke: #8b95a1; stroke-width: 1; opacity: .48; }
.aspect-line.square, .aspect-line.opposition { stroke: #f04452; }
.aspect-line.trine, .aspect-line.sextile { stroke: #00a980; }
.angle-axis { stroke: #191f28; stroke-width: 1.5; stroke-dasharray: 4 3; }
.astrology-wheel .angle-label { fill: #191f28; font-size: 9px; }
.planet-point { fill: #3182f6; stroke: #fff; stroke-width: 2; }
.astrology-wheel text { fill: #191f28; font-size: 8px; font-weight: 700; }
.chart-legend > p { color: #6b7684; line-height: 1.7; }
.chart-legend ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.chart-legend li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #e5e8eb; padding: 9px 0; font-size: 14px; }
.chart-legend span { color: #6b7684; text-align: right; }
@media (max-width: 720px) { .astrology-chart-layout { grid-template-columns: 1fr; } .chart-legend ul { grid-template-columns: 1fr; } }
.report-focus-chart { margin: 36px 0; }
.focus-chart-legend { display: flex; gap: 18px; margin: 12px 0 22px; color: #6b7684; font-size: 14px; }
.focus-chart-legend span { display: flex; align-items: center; gap: 6px; }
.focus-chart-legend i { width: 12px; height: 12px; border-radius: 2px; background: #3182f6; }
.focus-chart-legend .astrology-key { background: #00a980; }
.focus-chart-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.focus-chart-rows h3 { font-size: 16px; margin: 0 0 12px; }
.divergent-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px; align-items: center; gap: 8px; margin: 8px 0; font-size: 13px; }
.divergent-track { position: relative; height: 10px; background: linear-gradient(to right, #e5e8eb 49.5%, #b0b8c1 49.5%, #b0b8c1 50.5%, #e5e8eb 50.5%); }
.divergent-track i { position: absolute; top: 0; height: 100%; max-width: 50%; background: #3182f6; }
.divergent-track i.astrology { background: #00a980; }
.divergent-track i.positive { left: 50%; }.divergent-track i.negative { right: 50%; }
@media (max-width: 720px) { .focus-chart-rows { grid-template-columns: 1fr; } }
.term-glossary { margin: 24px 0; border-top: 1px solid #e5e8eb; border-bottom: 1px solid #e5e8eb; }
.term-glossary summary { cursor: pointer; padding: 18px 0; }
.term-glossary summary span { display: flex; justify-content: space-between; gap: 16px; }
.term-glossary summary small { color: #8b95a1; }
.term-glossary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0 0 22px; }
.term-glossary dl div { padding: 14px 0; border-top: 1px solid #f2f4f6; }
.term-glossary dt { font-weight: 700; margin-bottom: 5px; }.term-glossary dd { margin: 0; color: #4e5968; line-height: 1.65; }
@media (max-width: 720px) { .term-glossary dl { grid-template-columns: 1fr; } .term-glossary summary span { display: block; } .term-glossary summary small { display: block; margin-top: 4px; } }
.story-toc {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 8px;
}
.story-toc h2 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #333d4b;
}
.story-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.story-toc li {
  margin-bottom: 0.5rem;
}
.story-toc a {
  text-decoration: none;
  color: #3182f6;
  font-weight: 500;
}
.story-toc a:hover {
  text-decoration: underline;
}

/* Report visual system */
.report-reading { color: #58466d; font-family: 'Pretendard', system-ui, sans-serif; }
.report-reading .report-title { margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid #dfd1f5; }
.report-reading .report-title .complete-label { margin-bottom: 7px; color: #9a70df; font-size: 11px; }
.report-reading .report-title h1 { color: #4f2aa5; font-size: 25px; font-weight: 800; letter-spacing: 0; }
.report-reading .report-title > p:last-child { margin-top: 9px; color: #806d99; font-size: 12px; }
.report-view-switcher { gap: 4px; margin: 0 0 10px; padding: 4px; border: 1px solid #ddcef3; background: #eee3fa; }
.report-view-switcher a { min-height: 52px; gap: 2px; color: #8a72b4; }
.report-view-switcher strong { font-size: 13px; }
.report-view-switcher small { color: #a18ebf; font-size: 10px; }
.report-view-switcher a.active { background: #fbf5fe; color: #5632ad; box-shadow: none; }
.report-view-switcher a:nth-child(1).active, .report-view-switcher a:nth-child(2).active, .report-view-switcher a:nth-child(3).active { box-shadow: inset 0 -2px #9a70df; }
.analysis-tabs { top: 90px; gap: 4px; margin: 0 0 26px; padding: 4px; border: 1px solid #dfd1f5; border-radius: 8px; background: rgb(247 238 253 / 96%); backdrop-filter: blur(8px); }
.analysis-tabs a { min-height: 40px; border-radius: 6px; color: #917dae; font-size: 12px; }
.analysis-tabs a.active { border: 0; background: #8d61dc; color: #ffffff; }
.reading-navigator { top: 140px; margin: -18px 0 18px; border: 1px solid #dfd1f5; border-radius: 0 0 8px 8px; background: rgb(251 245 254 / 97%); }
.reading-progress { height: 3px; background: #e9dff5; }
.reading-progress i { background: linear-gradient(90deg, #8d61dc, #ed6aa6); }
.reading-controls { min-height: 38px; padding: 0 12px; }
.reading-controls span { color: #7650c6; font-size: 11px; }
.story-toc { margin: 18px 0 26px; padding: 18px; border: 1px solid #dfd1f5; background: #fbf5fe; }
.story-toc h2 { margin: 0 0 12px; color: #5632ad; font-size: 16px; }
.story-toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px; }
.story-toc li { min-width: 0; margin: 0; }
.story-toc a { display: block; color: #8060ce; font-size: 11px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.analysis-introduction { margin: 0 0 18px; padding: 4px 3px 0; }
.analysis-introduction .section-kicker, .report-reading .section-kicker { margin-bottom: 6px; color: #9a70df; font-size: 11px; font-weight: 800; }
.analysis-introduction h2 { color: #5632ad; font-size: 20px; font-weight: 800; }
.analysis-introduction > p:last-child { margin-top: 9px; color: #806d99; font-size: 13px; line-height: 1.7; }
.calculation-subject { margin: 18px 0 0; padding: 20px; border-color: #dfd1f5; background: #fbf5fe; }
.calculation-subject h2 { color: #5632ad; font-size: 18px; }
.subject-facts { margin-top: 16px; border-color: #eadff6; }
.subject-facts div { border-color: #eadff6; }
.subject-facts dt, .subject-chart-summary span { color: #9a83b4; font-size: 10px; }
.subject-facts dd, .subject-chart-summary p { color: #604d76; font-family: 'Pretendard', system-ui, sans-serif; font-size: 12px; }
.subject-chart-summary { gap: 12px; margin-top: 16px; }
.subject-chart-summary div { padding: 13px; border-radius: 6px; background: #f2e8fa; }
.executive-summary { margin-top: 22px; padding: 24px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.executive-summary h2 { color: #4f2aa5; font-size: 20px; }
.executive-summary-prose { margin-top: 18px; }
.executive-summary-prose p { margin-bottom: 13px; color: #604d76; font-size: 14px; line-height: 1.8; }
.executive-summary-prose p:first-child::first-letter { float: none; margin: 0; color: inherit; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
.core-structure, .integrated-synthesis, .editorial-overview { margin-top: 26px; }
.core-structure h2, .editorial-overview h2 { color: #5632ad; font-size: 19px; }
.core-structure-prose { margin-top: 16px; border-color: #dfd1f5; }
.core-structure-prose section, .editorial-overview li { border-color: #e7dcf4; }
.core-structure-prose span, .editorial-overview li > span { color: #9a70df; }
.core-structure-prose p, .editorial-overview > p:last-of-type { color: #604d76; font-size: 13px; line-height: 1.75; }
.integrated-synthesis > p:not(.section-kicker) { margin: 9px 0 0; color: #806d99; font-size: 12px; line-height: 1.7; }
.synthesis-group { margin-top: 12px; padding: 16px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.synthesis-group > h3 { margin: 0; color: #5632ad; font-size: 14px; }
.synthesis-group > h3 + p { margin: 5px 0 0; color: #9a87b1; font-size: 10px; }
.synthesis-group ul { display: grid; gap: 8px; margin: 13px 0 0; padding: 0; list-style: none; }
.synthesis-group li { display: grid; grid-template-columns: minmax(92px, .4fr) minmax(0, 1fr); gap: 5px 12px; padding: 12px; border-radius: 7px; background: #f3eafa; }
.synthesis-group li > strong { color: #6040b2; font-size: 12px; }
.synthesis-group li > span { color: #917dae; font-size: 10px; font-weight: 700; text-align: right; }
.synthesis-group li > p { grid-column: 1 / -1; margin: 2px 0 0; color: #685678; font-size: 11px; line-height: 1.65; word-break: keep-all; }
.editorial-overview { margin-bottom: 28px; padding: 22px 20px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.professional-story { border: 0; }
.story-chapter-heading { margin-top: 28px; padding: 0 3px 10px; border-color: #9a70df; }
.story-chapter-heading span { color: #5632ad; font-size: 17px; }
.story-chapter-heading p { margin-top: 5px; color: #917dae; font-size: 11px; }
.story-chapter { margin-top: 10px; padding: 20px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.story-chapter > header p { color: #806d99; font-size: 11px; }
.chapter-number { color: #9a70df; font-size: 11px; }
.signal-score { color: #6040b2; font-size: 25px; }
.story-chapter h3 { margin-top: 13px; color: #5632ad; font-size: 18px; }
.story-explanation { color: #604d76; font-size: 14px; line-height: 1.8; }
.signal-scale-summary { border-color: #eadff6; }
.signal-scale-summary strong { color: #8060ce; font-size: 11px; }
.signal-scale-summary span { color: #6f5b86; font-size: 11px; }
.signal-scale-summary small, .scale-direction-labels span, .scale-ticks, .signal-scale-chart figcaption { color: #9a87b1; }
.scale-marker { border-color: #fbf5fe; background: #6d46bd; }
.scale-marker em { background: #6d46bd; }
.interpretation-basis, .professional-metric { border-left-color: #9a70df; background: #f2e8fa; }
.interpretation-basis > span, .interpretation-basis dt { color: #7650c6; }
.interpretation-basis > p, .interpretation-basis dd, .long-form-content p, .scene-list li, .story-contexts p { color: #685678; font-size: 12px; }
.interpretation-basis dl, .interpretation-basis dl div { border-color: #dfd1f5; }
.strength-shadow-pair section, .practice-question section { border: 1px solid #eadff6; background: #f7effd; }
.strength-shadow-pair section:first-child { border-top-color: #76b994; }
.strength-shadow-pair section:last-child { border-top-color: #e584a7; }
.professional-metric code, .formula-line code { color: #49365f; font-size: 12px; }
.professional-metric dl { border-color: #dfd1f5; }
.story-evidence { border-color: #dfd1f5; }
.story-evidence summary { color: #6f5b86; font-size: 12px; }
.story-evidence summary strong { color: #8d61dc; }
.story-evidence li, .evidence-group li { border-color: #eadff6; }
.evidence-group { border-top-color: #c8b2e8; }
.evidence-group-reinforcing { border-top-color: #76b994; }
.evidence-group-moderating { border-top-color: #e584a7; }
.evidence-group-contextual { border-top-color: #7398d6; }
.snapshot-overview, .snapshot-signals, .snapshot-details, .dossier-index, .dossier-entries { margin-top: 28px; }
.snapshot-overview h2, .snapshot-signals h2, .snapshot-details h2, .dossier-summary h2, .dossier-index h2, .dossier-entries h2 { color: #5632ad; font-size: 19px; }
.snapshot-highlights { gap: 10px; margin-top: 16px; }
.snapshot-highlight { padding: 16px; border-color: #dfd1f5; background: #fbf5fe; }
.snapshot-highlight > span { color: #9a70df; font-size: 10px; }
.snapshot-highlight > p:first-of-type { color: #806d99; font-size: 11px; }
.snapshot-highlight > strong { color: #6040b2; font-size: 27px; }
.snapshot-highlight h3 { color: #5632ad; font-size: 14px; }
.snapshot-highlight .signal-scale-summary + p { color: #685678; font-size: 12px; }
.snapshot-highlight small { border-color: #eadff6; color: #6f9f83; font-size: 10px; }
.signal-bars { gap: 10px; margin-top: 18px; padding: 18px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.signal-bar-row { grid-template-columns: minmax(112px, 0.8fr) minmax(150px, 1.4fr) 36px; gap: 12px; }
.signal-bar-row strong { color: #604d76; font-size: 12px; }
.signal-track { background: linear-gradient(90deg, #f8dfe8 0 49.5%, #c9b7df 49.5% 50.5%, #e5ddf6 50.5% 100%); }
.signal-track i { border-color: #fbf5fe; background: #7650c6; }
.snapshot-details { padding: 20px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.snapshot-details details, .snapshot-details summary { border-color: #eadff6; }
.snapshot-details summary { min-height: 66px; }
.snapshot-details summary strong { color: #604d76; font-size: 13px; }
.snapshot-details summary b { color: #6040b2; font-size: 18px; }
.snapshot-details details > p, .snapshot-details dd { color: #685678; font-size: 12px; }
.snapshot-details code { background: #f2e8fa; color: #49365f; font-size: 11px; }
.dossier-summary { gap: 24px; padding: 22px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.dossier-summary > div > p:last-child { color: #685678; font-size: 12px; }
.dossier-summary dl div { border-color: #eadff6; }
.dossier-summary dt { color: #917dae; }
.dossier-summary dd { color: #604d76; }
.signal-table-wrap { border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.evidence-table { color: #685678; font-size: 11px; }
.evidence-table th, .evidence-table td { padding: 11px 10px; border-color: #eadff6; }
.evidence-table th { color: #765f8d; }
.dossier-entry { margin-top: 10px; padding: 20px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.dossier-entry > header > span, .dossier-evidence > strong, .dossier-evidence li > span { color: #9a70df; }
.dossier-entry header p { color: #806d99; }
.dossier-entry h3 { color: #5632ad; font-size: 17px; }
.dossier-entry > header > strong { color: #6040b2; font-size: 23px; }
.dossier-reading { color: #604d76; font-size: 13px; }
.dossier-entry > dl, .dossier-entry > dl > div, .dossier-evidence li { border-color: #eadff6; }
.dossier-entry dt { color: #917dae; }
.dossier-entry dd { color: #685678; font-size: 12px; }
.report-section { margin-top: 32px; }
.report-section h2 { color: #5632ad; font-size: 19px; }
.section-description, .report-prose, .evidence-explanation { color: #685678; font-size: 12px; }
.evidence-limitation, .fixture-warning { border: 1px solid #eccbd8; border-left: 3px solid #d96d94; border-radius: 8px; background: #fbedf3; color: #79586a; font-size: 12px; }
.evidence-list, .evidence-item, .evidence-fact { border-color: #eadff6; }
.evidence-id { background: #e9ddf9; color: #7650c6; }
.evidence-source { background: #f3eaf9; color: #806d99; }
.calculation-details, .term-glossary { border-color: #dfd1f5; }
.calculation-details summary, .term-glossary summary { color: #604d76; }
.calculation-details summary strong { font-size: 14px; }
.calculation-details summary small, .term-glossary summary small { color: #917dae; font-size: 11px; }
.compact-facts div, .term-glossary dl div { border-color: #eadff6; }
.compact-facts dt { color: #917dae; font-size: 11px; }
.compact-facts dd, .term-glossary dd { color: #685678; font-size: 11px; }
.pillar-grid { border-color: #eadff6; }
.pillar-grid span { color: #917dae; font-size: 11px; }
.pillar-grid strong { color: #49365f; font-family: 'Pretendard', system-ui, sans-serif; font-size: 20px; }
.distribution-track, .divergent-track { background-color: #e9dff5; }
.distribution-track i, .focus-chart-legend i, .divergent-track i { background: #8d61dc; }
.distribution-panel:nth-child(2) .distribution-track i, .focus-chart-legend .astrology-key, .divergent-track i.astrology { background: #e06b9f; }
.wheel-ring, .wheel-inner { fill: #fbf5fe; stroke: #bda7dc; }
.zodiac-tick { stroke: #dfd1f5; }
.planet-point { fill: #8d61dc; stroke: #fbf5fe; }
.report-actions { border-color: #dfd1f5; }
.report-main:not(.report-reading) .page-title { margin-bottom: 26px; }
.report-main:not(.report-reading) .page-title .date-label { color: #9a70df; font-size: 11px; }
.report-main:not(.report-reading) .page-title h1 { color: #4f2aa5; font-size: 25px; font-weight: 800; }
.report-main:not(.report-reading) .page-title > p:last-child { color: #806d99; font-size: 12px; }
.report-main:not(.report-reading) .access-notice { border: 1px solid #ddcef3; border-left: 3px solid #9a70df; border-radius: 8px; background: #fbf5fe; color: #705d89; }
.report-main:not(.report-reading) .access-notice a { color: #7650c6; }
.report-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border: 0; }
.report-product-card { position: relative; display: grid; min-width: 0; min-height: 190px; align-content: space-between; align-items: start; gap: 14px; padding: 18px; overflow: hidden; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.report-product-card::after { position: absolute; top: -24px; right: -20px; width: 76px; height: 76px; border-radius: 50%; background: #f0e5fb; content: ""; }
.report-product-card > i { position: relative; z-index: 1; display: grid; width: 40px; height: 40px; border-radius: 7px; background: #e7ddfa; color: #8060ce; font-size: 20px; font-style: normal; place-items: center; }
.report-product-card.report-product-tone-2 > i { background: #fff0cc; color: #d38b32; }
.report-product-card.report-product-tone-3 > i { background: #f3d8ed; color: #d95897; }
.report-product-card h2 { color: #5632ad; font-size: 16px; }
.report-product-card p { color: #806d99; font-size: 11px; line-height: 1.6; }
.report-product-card form { width: 100%; }
.report-generate-button { width: 100%; min-height: 40px; border: 0; border-radius: 6px; background: #8d61dc; color: #ffffff; font-size: 12px; font-weight: 800; cursor: pointer; }
.report-product-tone-2 .report-generate-button { background: #d38b32; }
.report-product-tone-3 .report-generate-button { background: #d95897; }
.report-saved-section { margin-top: 30px; }
.report-saved-section > header { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; padding: 0 3px; }
.report-saved-section > header .date-label { margin-bottom: 4px; color: #9a70df; font-size: 10px; }
.report-saved-section > header h2 { margin: 0; color: #5632ad; font-size: 18px; }
.report-saved-section > header > a { padding: 7px 0; color: #8d61dc; font-size: 11px; font-weight: 800; text-decoration: none; }
.report-saved-section .saved-report-list { display: grid; gap: 8px; margin: 0; border: 0; }
.report-saved-section .saved-report-link { min-height: 64px; padding: 11px 14px; border: 1px solid #dfd1f5; border-radius: 8px; background: #fbf5fe; }
.report-saved-section .saved-report-link span { color: #5632ad; font-size: 13px; }
.report-saved-section .saved-report-link time, .report-saved-section .report-badge { color: #917dae; font-size: 10px; }
.story-chapter-heading { scroll-margin-top: 198px; }
.report-reading .report-actions .secondary-button { border: 1px solid #d8c5f4; background: #f2e8fa; color: #7650c6; font-size: 12px; }

@media (max-width: 639px) {
  .report-reading .report-title h1 { font-size: 22px; }
  .report-view-switcher a { min-height: 48px; padding-inline: 3px; }
  .analysis-tabs { top: 82px; margin-bottom: 22px; }
  .reading-navigator { top: 130px; }
  .story-toc ul { grid-template-columns: 1fr; }
  .analysis-introduction h2 { font-size: 18px; }
  .calculation-subject, .executive-summary, .editorial-overview, .story-chapter, .snapshot-details, .dossier-summary, .dossier-entry { padding: 16px; }
  .subject-facts, .subject-chart-summary { grid-template-columns: 1fr; }
  .subject-facts div:nth-child(odd) { padding-right: 0; }
  .executive-summary h2 { font-size: 18px; }
  .executive-summary-prose p, .story-explanation { font-size: 13px; }
  .story-chapter > header { align-items: flex-start; }
  .story-chapter h3 { font-size: 16px; }
  .strength-shadow-pair, .practice-question, .professional-metric dl { grid-template-columns: 1fr; }
  .snapshot-highlights { grid-template-columns: 1fr; }
  .signal-bar-row { grid-template-columns: minmax(92px, 0.9fr) minmax(100px, 1.3fr) 32px; gap: 8px; }
  .dossier-summary { grid-template-columns: 1fr; }
  .dossier-entry > header { grid-template-columns: 24px minmax(0, 1fr) 40px; }
  .dossier-reading, .dossier-entry > .signal-scale-summary, .dossier-entry > dl, .dossier-evidence { margin-left: 0; }
  .evidence-table { min-width: 560px; }
  .report-main:not(.report-reading) .page-title h1 { font-size: 22px; }
  .report-catalog-grid { grid-template-columns: 1fr; }
  .report-product-card { grid-template-columns: 44px minmax(0, 1fr) 76px; min-height: 92px; align-items: center; padding: 14px; }
  .report-product-card::after { display: none; }
  .report-product-card form { width: auto; }
  .report-generate-button { min-height: 38px; }
}
