@font-face {
  font-family: "Material Symbols Rounded";
  src: url("./assets/icons.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

:root {
  color-scheme: light;
  --paper: #f7f4fd;
  --surface: #ffffff;
  --ink: #251c3d;
  --muted: #5b536f;
  --accent: #5738aa;
  --deep: #2a1e52;
  --primary: #7151ca;
  --line: #e6dff0;
  --tint: #eee7fb;
  --gold: #f6c277;
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", SimSun, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font: 100%/1.62 var(--sans);
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.3; }
a { color: inherit; text-decoration: none; }
button { padding: 0; color: inherit; font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #8054b9; outline-offset: 4px; }
h1:focus, h2:focus, main:focus { outline: none; }
::selection { color: var(--deep); background: #e3d4ff; }
img { display: block; max-width: 100%; }
.shell { width: min(100% - 96px, 1192px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 4; top: 12px; left: 12px; transform: translateY(-170%); padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.skip-link:focus { transform: none; }
.noscript { padding: 50px 24px; text-align: center; }
.icon {
  display: inline-block;
  flex: none;
  width: 1em;
  overflow: hidden;
  font: normal 400 1.25rem/1 "Material Symbols Rounded";
  letter-spacing: normal;
  white-space: nowrap;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 72px; align-items: center; gap: 24px; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: var(--deep); white-space: nowrap; }
.brand-mark { position: relative; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--deep); }
.brand-mark::before, .brand-mark::after { position: absolute; inset: 9px; border: 1px solid #eee7ff; border-radius: 50%; content: ""; }
.brand-mark::after { inset: 7px 15px; transform: rotate(45deg); border: 0; border-radius: 0; background: var(--gold); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.brand strong { font-size: 1.125rem; letter-spacing: 0.095em; }
.nav { display: flex; gap: 24px; }
.nav a { padding: 8px 13px; border-radius: 8px; color: var(--muted); white-space: nowrap; font-size: 0.9375rem; }
.nav a:hover, .nav a[aria-current] { background: #eee7fb; color: var(--deep); }
.nav a[aria-current] { font-weight: 700; }
.history-link { display: inline-flex; align-items: center; justify-self: end; gap: 6px; min-height: 42px; padding: 6px 12px; border: 1px solid #d5c9e9; border-radius: 8px; font-size: 0.875rem; font-weight: 700; white-space: nowrap; }
.history-link:hover, .history-link[aria-current] { background: var(--tint); border-color: #ab93d1; }
.history-link .icon { color: var(--accent); font-size: 1.125rem; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 49px; padding: 8px 22px; border: 1px solid transparent; border-radius: 8px; font-size: 0.9375rem; font-weight: 700; line-height: 1.27; text-align: center; transition: background 160ms, border-color 160ms; }
.button-primary { background: var(--accent); color: #ffffff; }
.button-primary:hover { background: #452b89; }
.button-outline { background: transparent; color: var(--deep); border-color: #d4c7e8; }
.button-outline:hover { background: #f1ebfb; border-color: #aa92d2; }
.button-white { background: #f9f4ff; color: var(--deep); }
.button-white:hover { background: white; }
.button-small { min-height: 41px; padding: 7px 13px; font-size: 0.875rem; }
.button:disabled { cursor: default; opacity: 0.42; }
.button-outline:disabled:hover { background: transparent; border-color: #d4c7e8; }
.text-link, .text-button { color: var(--accent); font-size: 0.9375rem; font-weight: 700; text-underline-offset: 4px; }
.text-button { padding: 4px 1px; background: transparent; border: 0; }
.text-link:hover, .text-button:hover { text-decoration: underline; }

.home { padding-block: 39px 65px; }
.hero { display: grid; grid-template-columns: 0.88fr 1.12fr; align-items: center; gap: clamp(24px, 5vw, 78px); padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.hero-copy { padding-block: 10px; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 0.875rem; font-weight: 750; letter-spacing: 0.09em; }
.eyebrow .icon { font-size: 1.25rem; }
.hero h1 { margin: 15px 0 18px; color: #281f3f; font: 800 clamp(3.25rem, 6.1vw, 5.5rem)/1.14 var(--serif); letter-spacing: -0.082em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 385px; color: var(--muted); font-size: 1.0625rem; line-height: 1.79; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.hero-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 25px; color: var(--muted); font-size: 0.875rem; }
.hero-facts span + span { position: relative; padding-left: 12px; }
.hero-facts span + span::before { position: absolute; inset: 4px auto 4px 0; width: 1px; background: #dacdea; content: ""; }
.hero-facts strong { color: var(--deep); font-size: 1.125rem; }
.hero-visual { position: relative; min-width: 0; overflow: hidden; border-radius: 19px 19px 76px 19px; background: #48317c; }
.hero-visual img { width: 100%; height: auto; min-height: 395px; object-fit: cover; object-position: 57% center; }

.home-section { margin-top: 49px; }
.dimension-section { scroll-margin-top: 22px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 17px; }
.section-heading h2, .home-example h2, .report-title h1 { font: 800 clamp(1.7rem, 3.25vw, 2.7rem)/1.28 var(--serif); letter-spacing: -0.042em; }
.section-heading > p { max-width: 365px; color: var(--muted); font-size: 0.9375rem; }
.dimension-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.dimension-card { display: grid; align-content: start; justify-items: start; gap: 7px; min-height: 142px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); text-align: left; transition: background 160ms, border-color 160ms; }
.dimension-card:hover { background: #f5effd; border-color: #bda8df; }
.dimension-card strong { font-size: 1.0625rem; }
.dimension-card > span:last-child { color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.dimension-symbol { display: grid; flex: none; width: 40px; height: 40px; place-items: center; border-radius: 9px; color: #483473; }
.tone-mint { background: #ede3fb; }
.tone-peach { background: #f8e9d4; color: #714720; }
.tone-sky { background: #e2e7fb; color: #3b528b; }
.tone-stone { background: #e1f0eb; color: #365f57; }
.home-example { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 29px 33px; border-radius: 14px; background: var(--deep); color: #fcf9ff; }
.home-example h2 { font-size: clamp(1.6rem, 3.1vw, 2.35rem); }
.home-example p { max-width: 380px; margin-top: 10px; color: #e5daf6; }
.home-example .button { margin-top: 16px; }
.sample-chart { display: grid; gap: 11px; padding: 19px; border: 1px solid #78629f; border-radius: 12px; background: #443270; }
.sample-row { display: grid; grid-template-columns: auto 1fr 30px; align-items: center; gap: 12px; font-size: 0.9375rem; }
.sample-row i { height: 7px; background: #68558d; border-radius: 10px; }
.sample-row i::before { display: block; width: var(--value); height: 100%; border-radius: inherit; background: #d4bdfd; content: ""; }
.sample-row strong { text-align: end; font-variant-numeric: tabular-nums; }

.site-footer { border-top: 1px solid var(--line); background: #efebf7; }
.footer-inner { display: flex; align-items: center; gap: 20px; min-height: 81px; padding-block: 15px; }
.footer-inner .brand-mark { width: 31px; height: 31px; border-radius: 8px; }
.footer-inner .brand-mark::before { inset: 7px; }
.footer-inner .brand-mark::after { inset: 5px 12px; }
.footer-inner .brand strong { font-size: 0.9375rem; }
.footer-inner p { margin-left: auto; color: var(--muted); font-size: 0.875rem; }
.footer-inner .text-button { flex: none; font-size: 0.875rem; }

.quiz-shell { width: min(100% - 42px, 698px); min-height: 76vh; margin-inline: auto; padding-block: 26px 50px; }
.quiz-toolbar, .report-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.quiz-toolbar > span { color: var(--muted); font-size: 0.875rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.quiz-progress { display: block; width: 100%; height: 7px; margin-block: 10px 16px; border: 0; border-radius: 999px; background: #e7ddf6; appearance: none; overflow: hidden; }
.quiz-progress::-webkit-progress-bar { background: #e7ddf6; border-radius: 999px; }
.quiz-progress::-webkit-progress-value { background: var(--primary); border-radius: 999px; }
.quiz-progress::-moz-progress-bar { background: var(--primary); border-radius: 999px; }
.question-card { padding: 25px 30px 24px; border: 1px solid #e4daef; border-top: 3px solid #8b6bd1; border-radius: 14px; background: var(--surface); box-shadow: 0 9px 27px #442a750a; }
.question-counter { display: flex; align-items: baseline; gap: 10px; color: var(--accent); font-size: 0.9375rem; font-weight: 750; }
.question-counter span { color: var(--muted); font-size: 0.875rem; font-weight: 400; }
.question-card h1 { margin-top: 10px; font-size: clamp(1.35rem, 3vw, 1.82rem); font-weight: 750; line-height: 1.45; }
.question-help { margin: 7px 0 16px; color: var(--muted); font-size: 0.9375rem; }
.choice-list { display: grid; gap: 7px; }
.choice { display: flex; align-items: center; gap: 11px; min-height: 51px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbf9ff; text-align: left; }
.choice:hover, .choice[aria-pressed="true"] { border-color: #b39ad7; background: #f0e7fb; }
.choice-number { display: grid; width: 28px; height: 28px; flex: none; place-items: center; border-radius: 6px; background: #eee5fb; color: var(--accent); font-size: 0.875rem; font-weight: 750; }
.choice-mark { display: grid; width: 19px; height: 19px; margin-left: auto; flex: none; place-items: center; border: 1px solid #baaacc; border-radius: 50%; }
.choice[aria-pressed="true"] .choice-mark { border-color: var(--accent); background: var(--accent); color: white; }
.choice-mark .icon { font-size: 0.91rem; }
.quiz-bottom { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-top: 15px; }
.key-help { color: var(--muted); font-size: 0.875rem; }
.quiz-reset { display: block; margin: 10px auto 0; font-size: 0.875rem; }

#main:has(.report) { background: linear-gradient(180deg, #efe9fa, transparent 425px); }
.report, .history { width: min(100% - 96px, 1060px); padding-block: 27px 64px; }
.report-title { margin-block: 21px 23px; }
.report-title h1 { margin-top: 5px; font-size: clamp(2.2rem, 5.1vw, 3.9rem); }
.report-title p { margin-top: 8px; color: var(--muted); }
.report-overview { display: grid; grid-template-columns: 0.93fr 1.07fr; gap: 14px; }
.report-panel { min-width: 0; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.profile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 25px 26px;
  border-radius: 15px;
  background: radial-gradient(ellipse at 105% 0%, #694caa, transparent 67%), linear-gradient(135deg, #2c1e56, #3f2b76);
  color: #fcf8ff;
}
.profile::after { position: absolute; z-index: -1; width: 130%; height: 75%; inset: auto -68% -34% auto; background: repeating-radial-gradient(ellipse at center, transparent 0 12px, #b29bdd 13px 14px); opacity: 0.48; transform: rotate(40deg); content: ""; }
.profile .eyebrow { color: #e8d7fa; }
.profile h2 { margin-block: 8px 12px; color: #ffda9b; font: 800 clamp(1.8rem, 4.5vw, 3.2rem)/1.23 var(--serif); letter-spacing: -0.045em; }
.profile p { color: #ede3fa; font-size: 1rem; }
.top-list { display: grid; gap: 5px; margin: 18px 0 0; padding: 0; list-style: none; }
.top-list li { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid #957ac473; border-radius: 8px; background: #21134352; font-size: 0.9375rem; }
.top-list .icon { color: #dfc7ff; font-size: 1.125rem; }
.top-list strong { margin-left: auto; font-weight: 750; font-variant-numeric: tabular-nums; }
.top-list small { color: #dfd1f2; font-size: 0.8125rem; font-weight: 500; }
.radar-panel { display: flex; flex-direction: column; justify-content: center; padding: 19px 23px 15px; }
.radar-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.radar-heading h2 { font-size: 1.125rem; }
.radar-heading span { color: var(--accent); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.radar-panel canvas { display: block; width: 100%; height: 270px; }
.chart-caption { color: var(--muted); text-align: center; font-size: 0.875rem; }

.report-index {
  position: sticky;
  z-index: 1;
  top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin-top: 18px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fcf9ffee;
  box-shadow: 0 5px 12px #3a245910;
}
.report-jump { min-height: 37px; padding: 5px 9px; border: 0; border-radius: 7px; background: transparent; color: var(--accent); font-size: 0.875rem; font-weight: 700; }
.report-jump:hover { background: var(--tint); }
.report-section { margin-top: 39px; }
.report-section .section-heading h2 { scroll-margin-top: 76px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.scores-panel { padding: 15px; }
.score-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 8px 12px; margin: 0; padding: 0; list-style: none; }
.score-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 9px; align-items: center; padding: 8px 10px; border: 1px solid #ede6f5; border-radius: 8px; background: #fcfaff; }
.score-item.top-score { border-color: #ddccf8; background: #f6f0ff; }
.score-item > div { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 0.9375rem; }
.score-item strong { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.score-item strong small { color: var(--muted); font-size: 0.8125rem; font-weight: 500; }
.score-rank { display: grid; width: 22px; height: 22px; flex: none; place-items: center; border-radius: 5px; background: var(--tint); color: var(--accent); font-size: 0.8125rem; font-weight: 750; }
.score-item .icon { color: var(--accent); font-size: 1.1rem; }
.score-track { height: 7px; border-radius: 14px; background: #ede5f7; }
.score-track i { display: block; width: var(--value); height: 100%; border-radius: 14px; background: #a790d6; }
.top-score .score-track i { background: #7950c6; }
.score-band { width: fit-content; padding: 2px 7px; border-radius: 5px; font-size: 0.8125rem; font-weight: 650; white-space: nowrap; }
.band-high { background: #eae1fa; color: #53349b; }
.band-mid { background: #ebeffb; color: #364c83; }
.band-low { background: #f1edf3; color: #63556d; }
.score-guide { margin-top: 12px; padding: 0 4px; color: var(--muted); }
.score-guide summary { color: var(--accent); font-size: 0.9375rem; font-weight: 700; cursor: pointer; }
.score-guide p { margin-top: 7px; }

.soft-panel { padding: 13px 15px; border: 1px solid #e8dff4; border-radius: 10px; background: #f8f3ff; }
.soft-panel h3 { font-size: 1.0625rem; }
.soft-panel p { margin-top: 4px; }
.soft-panel .check-line { margin-top: 8px; }
.check-line strong { color: var(--ink); font-size: 0.875rem; }
.combination-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; align-items: stretch; padding: 17px; }
.combination-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.combination-list li { display: flex; align-items: center; gap: 9px; }
.combination-list p, .combination-example p { color: var(--muted); }
.combination-list p { font-size: 0.9375rem; }
.combination-example { display: flex; flex-direction: column; justify-content: center; }

.strength-list { display: grid; gap: 13px; }
.strength-card { padding: 19px; }
.strength-header { display: flex; align-items: start; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.strength-header h3 { font-size: 1.22rem; }
.strength-header p { margin-top: 4px; }
.strength-score { display: grid; flex: none; justify-items: end; gap: 2px; margin-left: auto; color: var(--accent); line-height: 1.4; white-space: nowrap; }
.strength-score strong { font-size: 1.42rem; font-variant-numeric: tabular-nums; }
.strength-score small { color: var(--muted); font-size: 0.8125rem; }
.strength-body { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 13px; }
.strength-card h4 { margin-top: 12px; font-size: 0.9375rem; }
.strength-card h4:first-child { margin-top: 0; }
.strength-card p, .strength-card .report-list { color: var(--muted); }
.strength-body > div > p { margin-top: 4px; }
.workplace-section { margin-top: 14px; padding: 12px; border: 1px solid #e5d9f4; border-radius: 11px; background: #f7f1fd; }
.workplace-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.workplace-heading > .icon {
  height: 29px;
  width: 29px;
  padding: 5px;
  border-radius: 7px;
  background: #eadff8;
  color: var(--accent);
  font-size: 1.2rem;
}
.workplace-heading h4 { margin: 0; color: var(--deep); font-size: 1.06rem; scroll-margin-top: 76px; }
.workplace-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.workplace-card { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.workplace-card h5 { margin: 0 0 4px; font-size: 1rem; line-height: 1.42; }
.workplace-card > p { font-size: 0.9375rem; }
.workplace-card dl { display: grid; gap: 5px; margin: 8px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
.workplace-card dl > div { padding: 4px 5px; }
.workplace-card dt { color: var(--accent); font-size: 0.875rem; font-weight: 750; }
.workplace-card dd { margin: 1px 0 0; color: var(--muted); font-size: 0.9375rem; }
.workplace-output { border-radius: 5px; background: #fff6e6; }
.workplace-card .workplace-output dt { color: #79501d; }
.workplace-card .workplace-output dd { color: var(--ink); }
.report-list { display: grid; gap: 4px; margin: 5px 0 0; padding-left: 1.15em; }
.report-list li::marker { color: var(--primary); }
.report-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 9px 0 0; padding: 0; list-style: none; }
.report-tags li { padding: 3px 7px; border-radius: 5px; background: #eee7fa; color: #513887; font-size: 0.8125rem; }
.report-tags strong { font-variant-numeric: tabular-nums; }
.strength-practice { display: grid; align-content: start; gap: 8px; }
.caution-panel { border-color: #f0e4cb; background: #fff8ea; }
.caution-panel h4, .caution-panel .check-line strong { color: #79501d; }
.practice-panel { border-color: #d9ece4; background: #edf7f1; }
.practice-panel h4, .practice-panel .check-line strong { color: #275b50; }

.strength-detail { margin-top: 14px; border: 1px solid #e5d9f4; border-radius: 11px; background: #fbf8ff; }
.strength-detail > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: inherit;
  background: #f1eafa;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
}
.strength-detail > summary::-webkit-details-marker { display: none; }
.strength-detail > summary:hover { background: #ece1f9; }
.strength-detail[open] > summary { border-bottom: 1px solid #e5d9f4; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.detail-toggle { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 12px; font-weight: 750; }
.detail-toggle small { color: var(--muted); font-size: 0.875rem; font-weight: 400; }
.detail-collapse, .detail-print-label, .strength-detail[open] .detail-expand { display: none; }
.strength-detail[open] .detail-collapse { display: inline; }
.detail-mark { position: relative; display: block; width: 27px; height: 27px; flex: none; border-radius: 50%; background: #e7d9f7; }
.detail-mark::before, .detail-mark::after { position: absolute; inset: 50% auto auto 50%; width: 11px; height: 2px; border-radius: 999px; background: currentColor; transform: translate(-50%, -50%); content: ""; }
.detail-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.strength-detail[open] .detail-mark::after { display: none; }
.detail-content { display: grid; gap: 13px; padding: 13px; }
.detail-content h4 { margin: 0 0 6px; font-size: 1rem; }
.detail-intro { padding: 3px 2px 2px; }
.detail-intro-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 6px; }
.detail-intro-heading h4 { margin: 0; }
.detail-intro-heading span { color: var(--accent); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.detail-block, .detail-pair, .detail-work { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.detail-notes, .detail-steps { display: grid; gap: 7px; margin: 0; color: var(--muted); }
.detail-notes dt, .detail-steps strong { color: var(--ink); font-size: 0.875rem; font-weight: 750; }
.detail-notes dd { margin: 1px 0 0; }
.detail-steps { padding-left: 1.3em; }
.detail-steps li::marker { color: var(--accent); font-size: 0.875rem; font-weight: 750; }
.detail-pair { background: #f5eefc; }
.detail-pair h5 { margin: 0 0 2px; color: var(--accent); font-size: 0.875rem; }
.detail-pair > strong { color: var(--ink); }
.detail-pair p { margin-top: 3px; }
.detail-work { background: #fffdf8; }
.detail-reflection { margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--line); }
.detail-reflection strong { color: var(--accent); font-size: 0.875rem; }

.growth-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.growth-card { padding: 13px 14px; }
.growth-card > div { display: flex; align-items: center; gap: 7px; }
.growth-card h3 { font-size: 1rem; }
.growth-card .dimension-symbol { width: 32px; height: 32px; }
.growth-card > div > span:last-child { margin-left: auto; color: var(--muted); font-size: 0.875rem; white-space: nowrap; }
.growth-card p { margin-top: 7px; color: var(--muted); }

.career-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.career-card { padding: 16px; }
.career-card h3 { margin-bottom: 4px; font-size: 1.15rem; }
.career-card p, .career-card dd { color: var(--muted); }
.career-notes { display: grid; gap: 8px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.career-notes > div { display: grid; grid-template-columns: 6.25em minmax(0, 1fr); gap: 7px; }
.career-notes dt { color: var(--ink); font-size: 0.875rem; font-weight: 700; }
.career-notes dd { margin: 0; }
.career-check { margin-top: 10px; }
.career-check .report-list { color: var(--muted); }

.week { padding: 19px 23px; border: 1px solid #e1d3f8; border-radius: 15px; background: #eee6fa; }
.week-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.week-list li { display: grid; grid-template-columns: 66px minmax(0, 1fr); align-items: start; gap: 10px; padding: 9px 12px; border: 1px solid #e7ddf5; border-radius: 8px; background: #fdfaff; }
.week-list span { width: fit-content; padding: 2px 7px; border-radius: 5px; background: #e9ddfa; color: var(--accent); font-size: 0.875rem; font-weight: 750; white-space: nowrap; }
.week-list h3 { margin: 2px 0 3px; font-size: 1rem; }
.week-list p { color: var(--muted); }
.report-end { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.report-end > p { color: var(--muted); font-size: 0.875rem; }
.report-end > div { display: flex; flex-wrap: wrap; gap: 7px; }

.history { min-height: 68vh; }
.history-list { display: grid; gap: 8px; }
.history-item { display: flex; align-items: center; gap: 11px; padding: 11px 13px; }
.history-item h2 { font-size: 1.0625rem; }
.history-item p { margin-top: 2px; color: var(--muted); font-size: 0.875rem; }
.history-item .button { margin-left: auto; flex: none; }
.new-test { margin-top: 13px; }
.empty { display: grid; justify-items: center; gap: 9px; padding: 28px 14px; text-align: center; }
.empty h2 { font-size: 1.25rem; }
.empty p { color: var(--muted); }
.empty .button { margin-top: 6px; }

.dialog { width: min(100% - 34px, 450px); max-height: 85vh; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: 0 13px 55px #2b1c5066; }
.dialog::backdrop { background: #251843ac; }
#dialog-content { position: relative; padding: 24px; }
.dialog h2 { margin-top: 10px; font: 800 1.65rem/1.3 var(--serif); }
.dialog h3 { margin-top: 13px; font-size: 1rem; }
.dialog p { margin-top: 7px; color: var(--muted); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.icon-button { position: absolute; top: 10px; right: 10px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--accent); }
.icon-button:hover { background: var(--tint); border-color: #d4c7e8; }
.site-watermark {
  position: fixed;
  z-index: 2;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(9px, env(safe-area-inset-bottom));
  padding: 2px 7px;
  border-radius: 6px;
  background: #f7f4fde0;
  color: #534566;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  pointer-events: none;
}
.notice { position: fixed; z-index: 3; right: 14px; bottom: calc(42px + env(safe-area-inset-bottom)); max-width: calc(100% - 28px); padding: 8px 12px; border-radius: 7px; background: var(--deep); color: #fffaff; font-size: 0.875rem; opacity: 0; pointer-events: none; transition: opacity 160ms; }
.notice.visible { opacity: 1; }

@media (max-width: 920px) {
  .shell, .report, .history { width: calc(100% - 56px); }
  .nav { gap: 8px; }
  .hero { gap: 25px; }
  .hero h1 { font-size: clamp(3.1rem, 7.1vw, 4.3rem); }
  .hero-visual img { min-height: 350px; }
  .dimension-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .workplace-grid { grid-template-columns: 1fr; }
  .workplace-card dl > div { display: grid; grid-template-columns: 4.25em minmax(0, 1fr); gap: 5px; align-items: baseline; }
}

@media (max-width: 675px) {
  .shell, .report, .history, .quiz-shell { width: calc(100% - 32px); }
  .header-inner { grid-template-columns: 1fr 1fr; gap: 6px; min-height: 0; padding-top: 10px; }
  .nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 3px; padding-bottom: 5px; }
  .nav a { padding: 6px 10px; }
  .history-link { grid-row: 1; grid-column: 2; min-height: 38px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-mark::before { inset: 8px; }
  .brand-mark::after { inset: 6px 14px; }
  .brand strong { font-size: 1.05rem; }
  .quiz-header .nav { display: none; }
  .quiz-header .header-inner { padding-block: 8px; }
  .home { padding-block: 21px 42px; }
  .hero { grid-template-columns: 1fr; gap: 16px; padding-bottom: 20px; }
  .hero-copy { padding-block: 0; }
  .hero h1 { margin-block: 9px 12px; font-size: clamp(2.9rem, 10.5vw, 4rem); letter-spacing: -0.062em; }
  .hero-description { font-size: 1rem; }
  .hero-actions { margin-top: 16px; }
  .hero-actions .button { padding-inline: 16px; }
  .hero-facts { margin-top: 15px; }
  .hero-visual { border-radius: 12px 12px 48px 12px; }
  .hero-visual img { height: clamp(180px, 49vw, 265px); min-height: 0; object-position: 57% 55%; }
  .home-section { margin-top: 30px; }
  .section-heading { flex-direction: column; align-items: start; gap: 6px; margin-bottom: 12px; }
  .dimension-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .dimension-card { min-height: 130px; padding: 10px; }
  .dimension-card strong { font-size: 1rem; }
  .dimension-symbol { width: 34px; height: 34px; }
  .home-example { grid-template-columns: 1fr; gap: 14px; padding: 17px; }
  .sample-chart { padding: 11px; gap: 6px; }
  .footer-inner { flex-wrap: wrap; gap: 9px 12px; }
  .footer-inner p { order: 3; width: 100%; margin-left: 0; }
  .footer-inner .text-button { margin-left: auto; }
  .quiz-shell, .report, .history { padding-block: 16px 37px; }
  .question-card { padding: 17px 13px 14px; }
  .question-card h1 { margin-top: 6px; }
  .question-help { margin-bottom: 10px; }
  .choice { min-height: 46px; }
  .key-help { display: none; }
  .quiz-bottom { margin-top: 11px; }
  .report-overview, .strength-body, .detail-grid, .combination-panel, .growth-grid, .career-grid { grid-template-columns: 1fr; }
  .profile, .radar-panel { padding: 15px; }
  .radar-heading h2 { font-size: 1.0625rem; }
  .report-index { position: static; gap: 3px; margin-top: 12px; padding: 5px; }
  .report-jump { min-height: 40px; padding-inline: 7px; }
  .report-section { margin-top: 27px; }
  .report-section .section-heading h2 { scroll-margin-top: 15px; }
  .scores-panel, .combination-panel { padding: 10px; }
  .score-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 6px; }
  .score-item .icon { font-size: 1rem; }
  .strength-card { padding: 13px; }
  .strength-header { gap: 7px; }
  .strength-header h3 { font-size: 1.14rem; }
  .strength-header p { font-size: 0.9375rem; }
  .strength-score strong { font-size: 1.25rem; }
  .strength-body { gap: 13px; }
  .workplace-section { padding: 8px; }
  .workplace-heading h4 { scroll-margin-top: 15px; }
  .detail-toggle { flex-direction: column; }
  .detail-content { gap: 10px; padding: 9px; }
  .detail-block, .detail-pair, .detail-work { padding: 9px; }
  .week { padding: 13px; }
  .week-list li { grid-template-columns: 59px minmax(0, 1fr); gap: 5px; padding: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media print {
  :root { background: white; }
  #main:has(.report) { background: white; }
  .site-header, .site-footer, .report-toolbar, .report-index, .report-end > div, .site-watermark, .notice { display: none !important; }
  .report { width: 100%; padding: 0; }
  .report-title { margin-top: 0; }
  .profile { background: white; color: var(--ink); border: 1px solid var(--line); }
  .profile::after { display: none; }
  .profile .eyebrow, .profile h2, .profile p, .top-list .icon, .top-list small { color: var(--ink); }
  .top-list li { background: white; border-color: var(--line); }
  .score-track, .score-track i, .score-band, .report-tags li { print-color-adjust: exact; }
  .profile, .radar-panel, .score-item, .strength-card, .growth-card, .career-card, .week-list li { break-inside: avoid; }
  .strength-card:has(.strength-detail[open]) { break-inside: auto; }
  .strength-detail[open] > summary { background: white; }
  .strength-detail .detail-mark, .detail-toggle small, .strength-detail[open] .detail-collapse { display: none; }
  .detail-print-label { display: inline; }
  .detail-content, .detail-grid { display: block; }
  .detail-intro, .detail-block, .detail-pair, .detail-pairs, .detail-work { margin-bottom: 7px; }
  .workplace-section { background: white; }
  .workplace-heading { break-after: avoid; }
  .workplace-grid { display: block; }
  .workplace-card { margin-bottom: 5px; break-inside: avoid; }
  .workplace-output { print-color-adjust: exact; }
  .strength-header, .detail-intro, .detail-block, .detail-pair, .detail-work { break-inside: avoid; }
  .strength-detail > summary, .detail-pairs > h4 { break-after: avoid; }
  .section-heading { break-after: avoid; }
}
