@font-face {
  font-family: "Beeum Soft";
  src: url("./assets/fonts/GowunDodum-Beeum.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f7f4f1;
  --paper-deep: #ede8e4;
  --ink: #334044;
  --muted: #626a6c;
  --line: #e0ddda;
  --white: #fffdfb;
  --teal: #4b726e;
  --teal-deep: #3e6865;
  --teal-soft: #e3efec;
  --coral: #8f5959;
  --coral-soft: #f4e5e5;
  --yellow-soft: #f6efd7;
  --lavender-soft: #eeeaf4;
  --shadow: 0 18px 48px rgba(36, 54, 56, 0.07);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-soft: "Beeum Soft", "Gowun Dodum", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: weight;
}

* { box-sizing: border-box; }

html { min-width: 280px; background: var(--paper); }

body { position: relative; margin: 0; min-width: 280px; overflow-x: hidden; background: var(--paper); }
body::before, body::after { position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; content: ""; filter: blur(2px); }
body::before { width: 230px; height: 230px; top: 14%; left: -145px; background: rgba(227,239,236,.7); animation: ambient-drift 16s ease-in-out infinite alternate; }
body::after { width: 190px; height: 190px; right: -120px; bottom: 8%; background: rgba(238,234,244,.72); animation: ambient-drift 19s 2s ease-in-out infinite alternate-reverse; }

button, textarea, input { font: inherit; }

h1, h2, h3, .brand strong, button, .button, .eyebrow, .activity-link, .daily-shortcut strong, .orb-word { font-family: var(--font-soft); }
textarea, input { font-family: var(--font-body); }

button { cursor: pointer; }

button:focus-visible, textarea:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid rgba(219, 134, 108, 0.8);
  outline-offset: 4px;
}

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 60;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.skip-link:focus { transform: translateY(0); }

.site-shell { position: relative; z-index: 1; width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  background: rgba(247,244,241,.91);
  border-bottom: 1px solid rgba(224,221,218,.55);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
}

.brand strong { display: block; font-size: 1.12rem; letter-spacing: -0.06em; }
.brand small { display: block; margin-top: 1px; color: var(--muted); font-size: 0.67rem; letter-spacing: -0.03em; }
.brand-mark { position: relative; display: block; width: 31px; height: 31px; border-radius: 50% 50% 44% 54%; background: var(--teal); transform: rotate(-30deg); }
.brand-mark::before { content: ""; position: absolute; width: 9px; height: 20px; right: 7px; top: 5px; border-left: 1px solid rgba(255,255,255,.65); border-radius: 50%; }
.brand-mark span { position: absolute; width: 7px; height: 7px; right: 5px; bottom: 5px; border-radius: 50%; background: var(--coral); }
.header-note { color: var(--muted); font-size: 0.75rem; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-tools { min-height: 44px; padding: 8px 13px; color: var(--teal-deep); background: rgba(255,253,251,.72); border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; font-weight: 800; }
.header-tools:hover { background: var(--teal-soft); border-color: var(--teal); }
.header-manual { display: inline-flex; align-items: center; gap: 5px; }
.header-manual svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.manual-label-short { display: none; }
.header-urgent { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 7px 11px; color: #8a514c; background: #fff3ef; border: 1px solid #e5c8c0; border-radius: 999px; font-size: .75rem; font-weight: 900; }
.header-urgent svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.screen { min-height: calc(100vh - 105px); padding: 35px 0 72px; animation: arrive 0.35s ease both; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: clamp(36px, 7vw, 110px); padding: 56px 4% 78px; }
.hero-copy { max-width: 660px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 21px; color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .11em; }
.eyebrow-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(219,134,108,.16); }
h1, h2, p { margin-top: 0; word-break: keep-all; }
h1:focus { outline: none; }
h1 { margin-bottom: 22px; color: var(--ink); font-size: clamp(2.05rem, 4vw, 3.65rem); line-height: 1.2; letter-spacing: -.045em; }
h1 em { color: var(--teal); font-style: normal; }
.hero-lede, .section-lede { max-width: 560px; margin-bottom: 30px; color: var(--muted); font-size: 1.05rem; line-height: 1.85; letter-spacing: -.035em; }
.hero-actions { display: flex; align-items: center; gap: 23px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 50px; padding: 13px 21px; color: var(--white); background: var(--teal); border: 1px solid var(--teal); border-radius: 999px; font-weight: 800; letter-spacing: -.04em; box-shadow: 0 8px 18px rgba(34,91,90,.14); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { background: var(--teal-deep); box-shadow: 0 10px 24px rgba(34,91,90,.2); transform: translateY(-2px); }
.button-large { min-height: 58px; padding: 15px 25px; font-size: .98rem; }
.button-primary span { font-size: 1.18rem; font-weight: 500; }
.button-soft { color: var(--teal-deep); background: rgba(255,253,251,.9); border-color: rgba(75,114,110,.32); box-shadow: none; }
.button-soft:hover { color: var(--teal-deep); background: var(--teal-soft); box-shadow: 0 8px 18px rgba(34,91,90,.1); }
.text-button, .skip-button, .back-link, .exit-button, .back-button { color: var(--teal-deep); background: transparent; border: 0; font-weight: 800; }
.back-link, .back-button, .exit-button { display: inline-flex; align-items: center; min-height: 44px; }
.text-button { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; border-bottom: 1px solid currentColor; border-radius: 0; font-size: .84rem; }
.hero-diary-link { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.hero-diary-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.microcopy { display: flex; align-items: center; gap: 7px; margin: 23px 0 0; color: var(--muted); font-size: .75rem; letter-spacing: -.03em; }
.lock-icon { color: var(--coral); font-size: 1rem; }

.hero-visual { position: relative; min-height: 470px; }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; z-index: 0; border: 1px solid rgba(185,130,130,.25); border-radius: 70% 30% 65% 35%; transform: rotate(26deg); }
.hero-visual::before { width: 72px; height: 112px; left: 1%; top: 58%; }
.hero-visual::after { width: 45px; height: 72px; left: 13%; top: 67%; transform: rotate(55deg); }
.orb { position: absolute; border-radius: 50%; }
.orb-back { width: 315px; height: 315px; top: 0; right: 8%; background: var(--lavender-soft); }
.orb-main { display: grid; place-items: center; width: min(365px, 78%); aspect-ratio: 1; top: 61px; right: 17%; overflow: hidden; background: linear-gradient(145deg, #6b9690, #4f7d79); box-shadow: 14px 20px 0 var(--coral-soft), 0 24px 45px rgba(62, 104, 101, .17); }
.orb-main::after { content: ""; position: absolute; left: 12%; bottom: 14%; width: 75%; height: 43%; border-top: 1px solid rgba(255,255,255,.36); border-radius: 50%; transform: rotate(-5deg); }
.orb-word { position: relative; z-index: 1; color: rgba(255,255,255,.88); font-size: clamp(2.05rem, 3.4vw, 3.35rem); letter-spacing: .1em; }
.water-line { position: absolute; width: 68%; height: 28px; left: 16%; border-top: 1px solid rgba(255,255,255,.45); border-radius: 50%; transform: rotate(-5deg); }
.water-line-one { top: 28%; }
.water-line-two { top: 35%; left: 23%; width: 56%; }
.water-line-three { top: 71%; opacity: .55; }
.visual-caption { position: absolute; right: 0; bottom: 14px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .78rem; line-height: 1.65; letter-spacing: -.03em; }
.caption-line { display: block; width: 46px; height: 1px; background: var(--coral); }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding: 0 4%; }
.trust-card { min-height: 190px; padding: 23px 24px; background: rgba(255,254,250,.68); border: 1px solid var(--line); border-radius: var(--radius-md); }
.trust-number { display: block; margin-bottom: 22px; color: var(--coral); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.trust-card h2 { margin-bottom: 10px; font-size: 1rem; letter-spacing: -.05em; }
.trust-card p { margin-bottom: 0; color: var(--muted); font-size: .82rem; line-height: 1.7; letter-spacing: -.035em; }
.home-footnote { margin: 32px 4% 0; padding-top: 18px; border-top: 1px solid var(--line); }
.home-footnote p { max-width: 780px; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.home-footnote .usage-disclosure { max-width: 920px; margin-top: 11px; padding: 11px 14px; color: var(--teal-deep); background: var(--teal-soft); border-radius: 10px; }

.narrow-layout { width: min(760px, 100%); margin: 0 auto; padding: 55px 20px 0; }
.narrow-layout h1 { font-size: clamp(1.95rem, 4vw, 3.15rem); }
.how-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 34px 0 42px; }
.how-choice-grid article { padding: 21px; background: rgba(255,253,251,.76); border: 1px solid var(--line); border-radius: var(--radius-md); }
.how-choice-grid article:first-child { background: linear-gradient(145deg, var(--teal-soft), rgba(255,253,251,.82)); }
.how-choice-grid span, .how-section-heading > span { color: var(--coral); font-size: .66rem; font-weight: 900; letter-spacing: .08em; }
.how-choice-grid h2 { margin: 7px 0 8px; font-size: 1rem; }
.how-choice-grid p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.7; }
.how-section-heading { margin-top: 37px; }
.how-section-heading h2 { margin: 7px 0 0; font-size: 1.22rem; }
.how-list { margin: 40px 0 30px; border-top: 1px solid var(--line); }
.how-item { display: grid; grid-template-columns: 55px 1fr; gap: 15px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.how-item > span { color: var(--coral); font-size: .77rem; font-weight: 900; letter-spacing: .08em; }
.how-item h2 { margin-bottom: 7px; font-size: 1rem; letter-spacing: -.05em; }
.how-item p { margin-bottom: 0; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.how-activity-groups { display: grid; gap: 9px; margin: 20px 0 30px; }
.how-activity-groups article { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 17px 19px; background: rgba(255,253,251,.7); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.how-activity-groups strong { color: var(--teal-deep); font-size: .8rem; }
.how-activity-groups p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.7; }
.how-activity-groups b { color: var(--ink); }
.back-link { display: block; margin: 20px 0 0; padding: 10px 0; font-size: .84rem; }

/* 학생이 필요한 활동을 직접 이해하고 고를 수 있는 사용설명서 */
.manual-layout { width: min(900px, 100%); margin: 0 auto; padding: 52px 20px 76px; }
.manual-hero { max-width: 760px; }
.manual-hero h1 { margin: 9px 0 15px; font-size: clamp(2rem, 4.4vw, 3.35rem); }
.manual-hero .section-lede { max-width: 680px; margin-bottom: 24px; }
.manual-hero-actions { display: flex; gap: 11px; flex-wrap: wrap; align-items: center; }
.manual-jumps { display: flex; gap: 8px; flex-wrap: wrap; margin: 34px 0 46px; padding: 14px; background: rgba(255,253,251,.67); border: 1px solid var(--line); border-radius: 18px; }
.manual-jumps a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; color: var(--teal-deep); background: rgba(227,239,236,.52); border: 1px solid rgba(75,114,110,.16); border-radius: 999px; font-size: .74rem; font-weight: 900; text-decoration: none; }
.manual-jumps a:hover { background: var(--teal-soft); border-color: var(--teal); }
.manual-section { margin-top: 67px; scroll-margin-top: 100px; }
.manual-section-heading { max-width: 680px; }
.manual-section-heading > span { color: var(--coral); font-size: .69rem; font-weight: 900; letter-spacing: .08em; }
.manual-section-heading h2 { margin: 7px 0 8px; font-size: clamp(1.45rem, 3.1vw, 2rem); letter-spacing: -.055em; }
.manual-section-heading p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.75; }
.manual-route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 25px 0 0; padding: 0; list-style: none; }
.manual-route li { min-height: 238px; padding: 20px; background: rgba(255,253,251,.78); border: 1px solid var(--line); border-radius: 18px; }
.manual-route li:first-child { background: linear-gradient(145deg, var(--teal-soft), rgba(255,253,251,.9)); border-color: rgba(75,114,110,.28); }
.manual-route li > span { display: block; margin-bottom: 30px; color: var(--coral); font-size: .73rem; font-weight: 900; letter-spacing: .08em; }
.manual-route strong { display: block; margin-bottom: 8px; font-size: .94rem; letter-spacing: -.035em; }
.manual-route p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.7; }
.manual-inline-button { min-height: 44px; margin-top: 14px; padding: 0; color: var(--teal-deep); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: .74rem; font-weight: 900; }
.manual-learning-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 24px; }
.manual-learning-grid article { position: relative; min-height: 220px; padding: 19px; background: rgba(255,253,251,.76); border: 1px solid var(--line); border-radius: 17px; }
.manual-learning-grid article:nth-child(2n) { background: rgba(238,234,244,.52); }
.manual-learning-grid article:nth-child(3n) { background: rgba(227,239,236,.56); }
.manual-learning-grid span { color: var(--coral); font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.manual-learning-grid h3 { margin: 16px 0 8px; font-size: .93rem; letter-spacing: -.045em; }
.manual-learning-grid p { margin: 0 0 12px; color: var(--muted); font-size: .72rem; line-height: 1.65; }
.manual-learning-grid button, .manual-menu-grid button, .manual-menu-grid a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--teal-deep); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: .73rem; font-weight: 900; text-decoration: none; }
.manual-tip { margin: 16px 0 0; padding: 16px 18px; color: var(--muted); background: rgba(255,248,232,.72); border: 1px solid #eadfad; border-radius: 15px; font-size: .78rem; line-height: 1.7; }
.manual-tip strong { color: var(--ink); }
.manual-tip p { margin: 3px 0 8px; }
.manual-tip-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.manual-tip-actions button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--teal-deep); background: none; border: 0; border-bottom: 1px solid currentColor; font-weight: 900; }
.manual-menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin-top: 24px; }
.manual-menu-grid article { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 15px; padding: 19px; background: rgba(255,253,251,.78); border: 1px solid var(--line); border-radius: 17px; }
.manual-menu-grid svg { width: 50px; height: 50px; padding: 13px; color: var(--teal-deep); background: var(--teal-soft); border-radius: 16px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.manual-menu-grid article:nth-child(2) svg { color: #6b6388; background: var(--lavender-soft); }
.manual-menu-grid article:nth-child(3) svg { color: #8f5959; background: var(--rose-soft); }
.manual-menu-grid article:nth-child(4) svg { color: #8b6c38; background: var(--yellow-soft); }
.manual-menu-grid h3 { margin: 1px 0 6px; font-size: .96rem; letter-spacing: -.045em; }
.manual-menu-grid p { margin: 0 0 9px; color: var(--muted); font-size: .75rem; line-height: 1.65; }
.manual-activity-list { display: grid; gap: 9px; margin-top: 25px; }
.manual-activity-list details { overflow: hidden; background: rgba(255,253,251,.8); border: 1px solid var(--line); border-radius: 17px; }
.manual-activity-list details[open] { border-color: rgba(75,114,110,.33); box-shadow: 0 11px 26px rgba(42,77,73,.06); }
.manual-activity-list summary { display: grid; grid-template-columns: 48px minmax(0, 1fr) 22px; gap: 13px; align-items: center; min-height: 72px; padding: 12px 17px; cursor: pointer; list-style: none; }
.manual-activity-list summary::-webkit-details-marker { display: none; }
.manual-activity-list summary svg { width: 48px; height: 48px; padding: 12px; color: var(--teal-deep); background: var(--teal-soft); border-radius: 15px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.manual-activity-list details:nth-child(3n) summary svg { color: #6b6388; background: var(--lavender-soft); }
.manual-activity-list details:nth-child(4n) summary svg { color: #8f5959; background: var(--rose-soft); }
.manual-activity-list summary strong { display: block; margin-bottom: 3px; font-size: .91rem; letter-spacing: -.04em; }
.manual-activity-list summary small { display: block; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.manual-activity-list summary i { color: var(--teal-deep); font-size: 1.25rem; font-style: normal; font-weight: 500; text-align: center; }
.manual-activity-list details[open] summary i { transform: rotate(45deg); }
.manual-activity-list details > div { padding: 17px 18px 20px 78px; border-top: 1px solid var(--line); }
.manual-activity-list details > div p { margin: 0 0 9px; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.manual-activity-list details > div p b { color: var(--ink); }
.manual-activity-list details > div .button { min-height: 44px; margin-top: 5px; padding: 10px 16px; font-size: .78rem; }
.manual-safety { padding: 32px; background: linear-gradient(140deg, rgba(255,248,232,.7), rgba(255,253,251,.85) 53%, rgba(227,239,236,.58)); border: 1px solid rgba(220,203,147,.52); border-radius: 23px; }
.manual-safety .manual-section-heading { max-width: 620px; }
.manual-boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.manual-boundary-grid article { padding: 17px; background: rgba(255,253,251,.68); border: 1px solid rgba(160,140,94,.2); border-radius: 14px; }
.manual-boundary-grid strong { display: block; margin-bottom: 7px; color: var(--teal-deep); font-size: .8rem; }
.manual-boundary-grid p { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.65; }
.manual-safety .notice { margin-top: 18px; }
.manual-urgent-launch { min-height: 44px; margin-top: 13px; padding: 10px 17px; font-size: .78rem; }

.flow-screen { width: min(980px, 100%); margin: 0 auto; padding-top: 10px; }
.flow-topbar { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 17px; }
.back-button, .exit-button { padding: 10px 0; font-size: .78rem; }
.back-button { color: var(--muted); }
.step-label { color: var(--teal); font-size: .75rem; font-weight: 900; letter-spacing: .13em; }
.step-label span { color: var(--muted); font-weight: 500; }
.exit-button { color: var(--muted); font-weight: 600; }
.progress-track { height: 4px; overflow: hidden; background: var(--line); border-radius: 999px; }
.progress-fill { display: block; height: 100%; background: var(--coral); border-radius: inherit; transition: width .25s ease; }
.flow-heading { padding: 78px 4% 37px; text-align: center; }
.flow-heading .eyebrow { justify-content: center; margin-bottom: 18px; }
.flow-heading h1 { margin-bottom: 14px; font-size: clamp(1.95rem, 4.2vw, 3.3rem); }
.flow-heading p:last-child { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.compact-heading { padding-top: 58px; padding-bottom: 30px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.choice-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 166px; padding: 22px; color: var(--ink); background: rgba(255,254,250,.82); border: 1px solid var(--line); border-radius: var(--radius-md); text-align: left; transition: border .18s ease, transform .18s ease, background .18s ease, box-shadow .18s ease; }
.choice-card:hover, .choice-card.is-selected { border-color: var(--teal); background: #edf5f2; box-shadow: 0 10px 24px rgba(62,104,101,.09); transform: translateY(-3px); }
.choice-card.is-selected { position: relative; }
.choice-card.is-selected::after { content: "✓"; position: absolute; top: 15px; right: 17px; display: grid; place-items: center; width: 24px; height: 24px; color: var(--white); background: var(--teal); border-radius: 50%; font-size: .75rem; }
.choice-icon { display: block; width: 40px; height: 40px; margin-bottom: 22px; padding: 6px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; border-radius: 14px; }
.choice-calm { color: var(--teal-deep); background: #d9eddf; }
.choice-cloud { color: #756b92; background: var(--lavender-soft); }
.choice-heavy { color: #546977; background: #dfe8ec; }
.choice-tired { color: #a07161; background: #f5ded6; }
.choice-up { color: #9a7a39; background: var(--yellow-soft); }
.choice-unknown { color: var(--teal-deep); background: #dde9e5; }
.choice-card strong { margin-bottom: 8px; font-size: 1rem; letter-spacing: -.05em; }
.choice-card small { color: var(--muted); font-size: .76rem; letter-spacing: -.04em; }
.flow-actions { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 34px; }
.skip-button { min-height: 44px; padding: 9px 0; color: var(--muted); font-size: .78rem; font-weight: 700; }

.prompt-stack { display: grid; gap: 13px; }
.prompt-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; position: relative; padding: 23px; background: rgba(255,254,250,.82); border: 1px solid var(--line); border-radius: var(--radius-md); }
.prompt-number { display: grid; place-items: center; width: 38px; height: 38px; color: var(--teal-deep); background: var(--teal-soft); border-radius: 13px; font-size: .82rem; font-weight: 900; }
.prompt-copy { display: block; }
.prompt-copy strong { display: block; margin-bottom: 5px; font-size: .98rem; letter-spacing: -.05em; }
.prompt-copy small { display: block; margin-bottom: 14px; color: var(--muted); font-size: .76rem; letter-spacing: -.04em; }
textarea { display: block; width: 100%; resize: vertical; min-height: 59px; padding: 13px 14px; color: var(--ink); background: #fbfaf5; border: 1px solid var(--line); border-radius: 11px; outline: 0; font-size: .86rem; line-height: 1.6; letter-spacing: -.035em; }
textarea::placeholder { color: #a1a7a0; }
textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(56,118,116,.12); }
.char-count { display: block; margin-top: 5px; color: #68706c; font-size: .75rem; text-align: right; }
.privacy-inline { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 22px; color: var(--teal-deep); font-size: .75rem; letter-spacing: -.04em; }
.privacy-inline span { color: var(--coral); font-size: 1.1rem; }
.vocab-helper { overflow: hidden; background: rgba(255,253,251,.72); border: 1px dashed #c8d2ce; border-radius: var(--radius-sm); }
.prompt-stack > .vocab-helper { margin: -6px 14px 2px; }
.vocab-helper summary { position: relative; display: flex; align-items: center; min-height: 44px; padding: 12px 39px 12px 15px; color: var(--teal-deep); cursor: pointer; list-style: none; font-size: .75rem; font-weight: 800; }
.vocab-helper summary::-webkit-details-marker { display: none; }
.vocab-helper summary::after { content: "+"; position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: var(--coral); font-size: 1.05rem; font-weight: 500; }
.vocab-helper[open] summary::after { content: "−"; }
.vocab-helper > div { padding: 13px 15px 15px; background: #fbfaf7; border-top: 1px solid var(--line); }
.vocab-helper p { margin-bottom: 11px; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.vocab-helper > div > button { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 0; color: var(--teal-deep); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: .75rem; font-weight: 900; }
.helper-chip-grid { display: flex; gap: 6px; flex-wrap: wrap; }
.helper-chip-grid button { min-height: 44px; padding: 7px 10px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; }
.helper-chip-grid button:hover { color: var(--teal-deep); background: var(--teal-soft); border-color: var(--teal); }
.dual-helper-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 13px; }
.next-choice-section { margin-top: 27px; padding: 25px; background: rgba(255,253,251,.68); border: 1px solid var(--line); border-radius: var(--radius-md); }
.next-choice-heading { max-width: 710px; margin-bottom: 18px; }
.next-choice-heading > span { color: var(--teal-deep); font-size: .65rem; font-weight: 900; letter-spacing: .08em; }
.next-choice-heading h2 { margin: 7px 0 8px; color: var(--ink); font-size: 1.18rem; letter-spacing: -.045em; }
.next-choice-heading p { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.7; word-break: keep-all; }
.next-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.next-choice-grid label { display: flex; min-width: 0; padding: 16px; background: #fffdfa; border: 1px solid var(--line); border-radius: 16px; flex-direction: column; }
.next-choice-grid label > span:first-child { color: var(--coral); font-size: .61rem; font-weight: 900; }
.next-choice-grid strong { margin: 8px 0 4px; color: var(--ink); font-size: .8rem; }
.next-choice-grid small { min-height: 43px; color: var(--muted); font-size: .65rem; line-height: 1.55; }
.next-choice-grid textarea { min-height: 108px; margin-top: 11px; padding: 12px; font-size: .73rem; }
.next-choice-helper { margin-top: 11px; }
.facts-roadmap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 13px; align-items: center; margin: 0 0 17px; padding: 14px 18px; background: linear-gradient(100deg, var(--teal-soft), rgba(238,234,244,.72)); border: 1px solid rgba(95,136,131,.24); border-radius: var(--radius-md); }
.facts-roadmap > span { display: grid; grid-template-columns: 28px 1fr; gap: 2px 9px; align-items: center; min-width: 0; }
.facts-roadmap b { grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; color: var(--teal-deep); background: rgba(255,255,255,.78); border-radius: 10px; font-size: .67rem; }
.facts-roadmap strong { font-size: .74rem; }
.facts-roadmap small { color: var(--muted); font-size: .75rem; overflow-wrap: anywhere; }
.facts-roadmap i { color: var(--coral); font-size: .9rem; font-style: normal; }
.facts-insight { margin-top: 14px; padding: 19px 20px; background: linear-gradient(110deg, var(--teal-soft), rgba(255,253,251,.86)); border: 1px solid rgba(95,136,131,.32); border-radius: var(--radius-md); }
.facts-insight > span { color: var(--teal-deep); font-size: .63rem; font-weight: 900; letter-spacing: .08em; }
.facts-insight strong { display: block; margin: 7px 0 5px; color: var(--ink); font-size: .88rem; }
.facts-insight p { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.65; }

.split-prompts { display: grid; grid-template-columns: 1fr 50px 1fr; align-items: stretch; gap: 14px; }
.split-card { display: flex; flex-direction: column; padding: 23px; background: rgba(255,254,250,.82); border: 1px solid var(--line); border-radius: var(--radius-md); }
.split-card textarea { flex: 1; min-height: 170px; margin-top: 19px; }
.split-kicker { display: inline-block; margin-bottom: 14px; font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.fact-card .split-kicker { color: var(--teal); }
.thought-card .split-kicker { color: var(--coral); }
.split-card strong { margin-bottom: 7px; font-size: .98rem; letter-spacing: -.05em; }
.split-card small { color: var(--muted); font-size: .75rem; line-height: 1.5; }
.split-divider { display: flex; justify-content: center; align-items: center; color: var(--muted); font-size: .66rem; font-weight: 800; line-height: 1.6; text-align: center; }
.split-divider::before, .split-divider::after { content: ""; display: block; width: 1px; height: 44%; background: var(--line); }
.split-divider span { padding: 10px 0; }
.notice { display: flex; gap: 12px; margin-top: 17px; padding: 16px 18px; color: var(--muted); background: rgba(255,254,250,.64); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.notice > span { color: var(--coral); }
.notice p { margin: 0; font-size: .78rem; line-height: 1.7; letter-spacing: -.035em; }
.notice-warm { background: var(--yellow-soft); border-color: #eadfad; }
#how-screen .notice { margin-bottom: 22px; }

.finish-heading { padding-bottom: 30px; }
.reflection-card { overflow: hidden; background: rgba(255,254,250,.82); border: 1px solid var(--line); border-radius: var(--radius-md); }
.reflection-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: var(--teal-soft); }
.reflection-label { color: var(--teal-deep); font-size: .75rem; font-weight: 900; letter-spacing: .06em; }
.reflection-privacy { color: var(--teal); font-size: .69rem; }
.reflection-row { display: grid; grid-template-columns: 150px 1fr; gap: 17px; padding: 17px 22px; border-top: 1px solid var(--line); }
.reflection-row span { color: var(--muted); font-size: .78rem; }
.reflection-row strong { font-size: .85rem; font-weight: 700; word-break: break-word; }
.finish-callout { display: flex; gap: 15px; align-items: flex-start; margin-top: 17px; padding: 20px; background: var(--coral-soft); border: 1px solid #efd0c3; border-radius: var(--radius-md); }
.finish-star { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; color: var(--white); background: var(--coral); border-radius: 50%; }
.finish-callout strong { display: block; margin-bottom: 5px; color: #7f4f42; font-size: .87rem; }
.finish-callout p { margin: 0; color: #8c6259; font-size: .75rem; line-height: 1.7; }

.survey-layout { padding-top: 30px; }
.survey-boundary { display: flex; gap: 13px; align-items: center; margin: 27px 0 29px; padding: 16px 18px; color: var(--teal-deep); background: var(--teal-soft); border-radius: var(--radius-sm); }
.survey-lock { display: grid; place-items: center; width: 30px; height: 30px; color: var(--white); background: var(--teal); border-radius: 50%; }
.survey-boundary strong { display: block; margin-bottom: 3px; font-size: .8rem; }
.survey-boundary p { margin: 0; color: var(--muted); font-size: .78rem; }
.survey-connection-card { display: grid; grid-template-columns: 42px 1fr; gap: 16px; margin: 0 0 26px; padding: 23px; background: linear-gradient(145deg, var(--white), var(--teal-soft)); border: 1px solid rgba(75,114,110,.2); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.survey-connection-card[hidden] { display: none; }
.survey-connection-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--white); background: var(--teal); border-radius: 50%; font-size: 1.05rem; font-weight: 900; }
.survey-connection-kicker { margin: 1px 0 7px; color: var(--teal); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.survey-connection-card h2 { margin: 0 0 10px; font-size: 1.05rem; letter-spacing: -.045em; }
.survey-connection-card p:not(.survey-connection-kicker) { margin: 0 0 17px; color: var(--muted); font-size: .82rem; line-height: 1.75; }
.survey-connection-card .button { display: inline-flex; width: auto; }
.survey-connection-card .survey-actions { margin-top: 16px; }
.survey-connection-muted { background: var(--white); border-style: dashed; box-shadow: none; }
.survey-connection-muted .survey-connection-mark { color: var(--teal); background: var(--teal-soft); }
.survey-fieldset, .survey-comment { margin: 0; padding: 21px 0; border: 0; border-top: 1px solid var(--line); }
.survey-fieldset legend, .survey-comment { width: 100%; margin-bottom: 16px; font-size: .88rem; font-weight: 800; letter-spacing: -.04em; }
.survey-fieldset legend small, .survey-comment small { margin-left: 6px; color: var(--muted); font-size: .75rem; font-weight: 500; }
.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-chip { position: relative; }
.radio-chip input, .scale-row input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip span { display: block; padding: 10px 15px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; transition: .18s ease; }
.radio-chip input:checked + span, .radio-chip span:hover { color: var(--teal-deep); background: var(--teal-soft); border-color: var(--teal); }
.scale-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.scale-row label { position: relative; display: block; }
.scale-row span { display: grid; place-items: center; min-height: 54px; padding: 6px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 11px; font-size: .75rem; line-height: 1.35; text-align: center; transition: .18s ease; }
.scale-row span:hover, .scale-row input:checked + span { color: var(--teal-deep); background: var(--teal-soft); border-color: var(--teal); }
.survey-comment { display: block; position: relative; padding-bottom: 0; }
.survey-comment textarea { margin-top: 16px; }
.consent-row { display: flex; gap: 9px; align-items: flex-start; margin-top: 24px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.consent-row input { width: 17px; height: 17px; margin: 0; accent-color: var(--teal); }
.survey-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 27px; }
.survey-status { min-height: 24px; margin: 15px 0 0; color: var(--teal-deep); font-size: .75rem; }

.done-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 105px); padding-bottom: 100px; text-align: center; }
.done-screen .section-lede { margin-right: auto; margin-left: auto; }
.done-mark { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 25px; color: var(--white); background: var(--teal); border-radius: 50%; font-size: 2rem; box-shadow: 0 0 0 14px var(--teal-soft); }
.done-boundary { display: flex; flex-direction: column; gap: 7px; margin: 5px auto 28px; padding: 17px 23px; color: var(--teal-deep); background: var(--teal-soft); border-radius: var(--radius-sm); font-size: .8rem; }
.done-boundary span { color: var(--muted); font-size: .72rem; }
.done-actions { display: flex; align-items: center; gap: 20px; }
.toast { position: fixed; z-index: 10; left: 50%; bottom: 26px; transform: translateX(-50%); max-width: calc(100% - 40px); padding: 12px 18px; color: var(--white); background: var(--ink); border-radius: 999px; box-shadow: var(--shadow); font-size: .76rem; }
.has-open-dialog { overflow: hidden; }
.urgent-help-overlay { position: fixed; z-index: 200; inset: 0; overflow-y: auto; padding: 24px; background: rgba(35,43,44,.48); backdrop-filter: blur(8px); }
.urgent-help-overlay[hidden] { display: none; }
.urgent-help-dialog { position: relative; width: min(720px, 100%); margin: min(7vh, 58px) auto; padding: clamp(28px, 5vw, 48px); background: #fffdfa; border: 1px solid rgba(177,125,116,.28); border-radius: 28px; box-shadow: 0 28px 80px rgba(35,43,44,.24); outline: 0; }
.urgent-help-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; color: var(--muted); background: #f7f2ef; border: 1px solid var(--line); border-radius: 50%; font-size: 1.35rem; line-height: 1; }
.urgent-help-eyebrow { margin: 0 0 12px; color: #a2635c; font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.urgent-help-dialog h2 { margin: 0; color: var(--ink); font-size: clamp(1.55rem, 4vw, 2.35rem); line-height: 1.28; letter-spacing: -.035em; }
.urgent-help-lede { max-width: 590px; margin: 18px 0 26px; color: var(--muted); font-size: .84rem; line-height: 1.8; word-break: keep-all; }
.urgent-help-steps { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.urgent-help-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 15px; background: #f9f6f3; border: 1px solid var(--line); border-radius: 16px; }
.urgent-help-steps li > span { display: grid; place-items: center; width: 30px; height: 30px; color: #96645e; background: #f3dfda; border-radius: 50%; font-size: .62rem; font-weight: 900; }
.urgent-help-steps strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: .78rem; }
.urgent-help-steps p { margin: 0; color: var(--muted); font-size: .69rem; line-height: 1.65; word-break: keep-all; }
.urgent-help-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.urgent-help-links a { display: flex; min-width: 0; min-height: 126px; padding: 15px 12px; color: var(--ink); background: #fff; border: 1px solid #dccbc5; border-radius: 17px; flex-direction: column; justify-content: center; text-align: center; text-decoration: none; }
.urgent-help-links a:hover { border-color: #a97870; box-shadow: 0 8px 20px rgba(87,55,52,.09); transform: translateY(-2px); }
.urgent-help-links span { color: var(--muted); font-size: .58rem; line-height: 1.45; }
.urgent-help-links strong { margin: 5px 0 2px; color: #8a514c; font-family: Georgia, serif; font-size: 1.55rem; }
.urgent-help-links small { color: var(--muted); font-size: .58rem; }
.urgent-help-note { margin: 18px 0 0; padding: 14px 16px; color: #6f6664; background: #fff7e7; border: 1px solid #eedba9; border-radius: 14px; font-size: .64rem; line-height: 1.7; word-break: keep-all; }
.urgent-help-note strong { color: #725950; }
.urgent-help-return { display: block; margin: 20px auto 0; }

.tools-layout { width: min(1040px, 100%); margin: 0 auto; padding: 42px 0 0; }
.tools-heading { max-width: 690px; margin-bottom: 36px; }
.tools-heading h1, .tool-heading h1 { font-size: clamp(1.95rem, 4vw, 3.1rem); }
.tools-tabs { display: inline-flex; gap: 5px; margin-bottom: 24px; padding: 5px; background: rgba(255,253,251,.78); border: 1px solid var(--line); border-radius: 999px; }
.tools-tabs button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 9px 18px; color: var(--muted); background: transparent; border: 0; border-radius: 999px; font-size: .76rem; font-weight: 900; }
.tools-tabs button.is-selected { color: var(--white); background: var(--teal); box-shadow: 0 7px 16px rgba(62,104,101,.16); }
.tab-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.tools-tab-panel { animation: panel-rise .28s ease both; }
.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.activity-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon time time" "icon title title" "icon copy copy" "icon link link"; column-gap: 19px; min-width: 0; min-height: 230px; padding: 25px; background: rgba(255,253,251,.84); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(62,104,101,.035); }
.activity-card:hover { border-color: rgba(95,136,131,.58); }
.activity-featured { background: linear-gradient(145deg, #f3f8f6, var(--teal-soft)); }
.activity-wide { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon copy time" "icon copy link"; min-height: auto; align-items: center; }
.activity-wide > div:not(.activity-icon) { grid-area: copy; }
.activity-time { grid-area: time; justify-self: end; color: var(--muted); font-size: .75rem; }
.activity-icon { grid-area: icon; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; font-size: 1.15rem; font-weight: 800; animation: icon-float 4.8s ease-in-out infinite alternate; }
svg.activity-icon { padding: 11px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.activity-card:nth-child(3n + 2) .activity-icon { animation-delay: -1.6s; }
.activity-card:nth-child(3n) .activity-icon { animation-delay: -3.1s; }
.activity-icon-teal { color: var(--teal-deep); background: #dcece6; }
.activity-icon-lavender { color: #6b6388; background: var(--lavender-soft); }
.activity-icon-rose { color: #966968; background: var(--coral-soft); }
.activity-icon-yellow { color: #937a38; background: var(--yellow-soft); }
.activity-icon-mint { color: var(--teal-deep); background: var(--teal-soft); }
.activity-card h2 { grid-area: title; align-self: end; margin: 19px 0 7px; font-size: 1.08rem; letter-spacing: -.05em; }
.activity-card p { grid-area: copy; margin-bottom: 20px; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.activity-wide h2 { margin-top: 0; }
.activity-wide p { margin-bottom: 0; }
.activity-link { grid-area: link; display: inline-flex; align-items: center; justify-self: start; min-height: 44px; padding: 6px 0; color: var(--teal-deep); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: .76rem; font-weight: 900; text-decoration: none; }

.saved-diary-menu { overflow: hidden; padding: 38px; background: linear-gradient(145deg, rgba(227,239,236,.88), rgba(255,253,251,.92) 55%, rgba(238,234,244,.72)); border: 1px solid rgba(95,136,131,.28); border-radius: var(--radius-lg); box-shadow: 0 18px 45px rgba(62,104,101,.07); }
.saved-diary-heading { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 22px; align-items: start; max-width: 760px; }
.saved-diary-icon { width: 68px; height: 68px; padding: 16px; color: var(--teal-deep); background: rgba(255,253,251,.8); border: 1px solid rgba(95,136,131,.2); border-radius: 22px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.saved-diary-heading .eyebrow { margin-bottom: 6px; }
.saved-diary-heading h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.05rem); letter-spacing: -.035em; }
.saved-diary-heading p:last-child { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.75; }
.saved-diary-boundaries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px 0 24px; }
.saved-diary-boundaries span { padding: 17px; color: var(--muted); background: rgba(255,253,251,.72); border: 1px solid rgba(95,136,131,.18); border-radius: 15px; font-size: .72rem; line-height: 1.6; }
.saved-diary-boundaries strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: .78rem; }
.saved-diary-actions { display: flex; gap: 19px; align-items: center; flex-wrap: wrap; }
.saved-diary-actions .text-button { text-decoration: none; }
.saved-diary-caution { margin: 20px 0 0; padding-top: 17px; color: var(--muted); border-top: 1px solid rgba(95,136,131,.2); font-size: .7rem; line-height: 1.65; }

.daily-shortcut { display: flex; justify-content: space-between; gap: 24px; align-items: center; width: 100%; margin: -10px 0 14px; padding: 20px 23px; color: var(--ink); background: linear-gradient(100deg, var(--lavender-soft), rgba(255,253,251,.9)); border: 1px solid rgba(142,128,167,.26); border-radius: var(--radius-md); text-align: left; }
.daily-shortcut:hover { border-color: #9e90b5; box-shadow: 0 9px 22px rgba(96,83,120,.07); }
.daily-shortcut > span { display: grid; gap: 3px; }
.daily-shortcut small { color: #6b6388; font-size: .75rem; font-weight: 900; letter-spacing: .07em; }
.daily-shortcut strong { font-size: 1rem; }
.daily-shortcut em { color: var(--muted); font-size: .78rem; font-style: normal; line-height: 1.55; }
.daily-shortcut > b { flex: 0 0 auto; color: #6b6388; font-size: .75rem; }

.situation-guide { margin-bottom: 30px; padding: 27px; background: linear-gradient(145deg, rgba(227,239,236,.82), rgba(238,234,244,.62)); border: 1px solid rgba(95,136,131,.28); border-radius: var(--radius-lg); }
.guide-heading { max-width: 720px; margin-bottom: 20px; }
.guide-heading > span { color: var(--teal-deep); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.guide-heading h2 { margin: 7px 0 8px; font-size: 1.35rem; letter-spacing: -.05em; }
.guide-heading p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.7; }
.situation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.situation-grid button { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; padding: 15px 16px; color: var(--ink); background: rgba(255,253,251,.78); border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: left; }
.situation-grid button:hover, .situation-grid button.is-selected { background: var(--white); border-color: var(--teal); box-shadow: 0 8px 20px rgba(62,104,101,.06); }
.situation-grid strong { display: block; margin-bottom: 5px; font-size: .78rem; line-height: 1.55; overflow-wrap: anywhere; }
.situation-grid small { color: var(--muted); font-size: .75rem; line-height: 1.5; }
.situation-icon { width: 38px; height: 38px; padding: 8px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; border-radius: 13px; }
.situation-icon-mint { color: var(--teal-deep); background: #deece7; }
.situation-icon-lavender { color: #6b6388; background: var(--lavender-soft); }
.situation-icon-rose { color: #966968; background: var(--coral-soft); }
.situation-icon-yellow { color: #937a38; background: var(--yellow-soft); }
.guide-result { display: flex; justify-content: space-between; gap: 22px; align-items: center; margin-top: 14px; padding: 20px; background: var(--white); border: 1px solid rgba(95,136,131,.3); border-radius: var(--radius-md); }
.guide-result-copy { min-width: 0; }
.guide-result-copy > span { color: var(--coral); font-size: .65rem; font-weight: 900; letter-spacing: .08em; }
.guide-result-copy h3 { margin: 5px 0; color: var(--teal-deep); font-size: 1.05rem; }
.guide-result-copy p { max-width: 600px; margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.65; }
.guide-result-actions { display: flex; flex: 0 0 auto; gap: 12px; align-items: center; }
.guide-result-actions .button { white-space: nowrap; }
.activity-list-heading { margin: 34px 0 17px; }
.activity-list-heading > span { color: var(--coral); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.activity-list-heading h2 { margin: 5px 0; font-size: 1.22rem; }
.activity-list-heading p { margin: 0; color: var(--muted); font-size: .78rem; }

.tool-screen { width: min(900px, 100%); margin: 0 auto; padding-top: 10px; }
.tool-topbar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .75rem; font-weight: 800; }
.tool-heading { padding: 55px 3% 30px; text-align: center; }
.tool-heading .eyebrow { justify-content: center; }
.tool-heading h1 { margin-bottom: 14px; }
.tool-heading > p:last-child { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: .86rem; line-height: 1.75; }
.duration-row { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; }
.duration-row button, .emotion-filters button, .emotion-tabs button, .scenario-filters button { min-height: 44px; padding: 9px 15px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; font-weight: 800; }
.duration-row button.is-selected, .emotion-filters button.is-selected, .emotion-tabs button.is-selected, .scenario-filters button.is-selected { color: var(--teal-deep); background: var(--teal-soft); border-color: var(--teal); }
.breath-stage { position: relative; display: grid; place-items: center; min-height: 390px; overflow: hidden; background: linear-gradient(145deg, rgba(238,234,244,.72), rgba(227,239,236,.72)); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.breath-orbit { display: grid; place-items: center; width: 280px; height: 280px; border: 1px solid rgba(95,136,131,.25); border-radius: 50%; }
.breath-circle { width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #8fb0aa, var(--teal)); box-shadow: 0 22px 45px rgba(62,104,101,.16); transform: scale(.72); }
.breath-stage.is-inhale .breath-circle { transform: scale(1); transition: transform 4s ease-in-out; }
.breath-stage.is-exhale .breath-circle { transform: scale(.72); transition: transform 6s ease-in-out; }
.breath-stage.is-complete .breath-circle { transform: scale(.82); background: radial-gradient(circle at 36% 30%, #c4b9d5, #8e80a7); transition: .6s ease; }
.breath-readout { position: absolute; display: flex; flex-direction: column; align-items: center; padding: 12px 17px; color: var(--white); background: rgba(35,56,57,.78); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; box-shadow: 0 8px 20px rgba(35,56,57,.16); text-shadow: 0 1px 4px rgba(20,34,35,.4); }
.breath-readout strong { margin-bottom: 7px; font-size: 1.05rem; }
.breath-readout span { font-size: 2rem; font-weight: 400; letter-spacing: .06em; }
.breath-readout small { margin-top: 9px; font-size: .75rem; opacity: .88; }
.tool-actions { display: flex; justify-content: center; align-items: center; gap: 23px; margin-top: 25px; }

.tool-input-card { position: relative; display: block; margin-bottom: 14px; padding: 23px; background: rgba(255,253,251,.84); border: 1px solid var(--line); border-radius: var(--radius-md); }
.tool-step { display: inline-grid; place-items: center; min-width: 31px; height: 28px; margin-right: 8px; color: var(--teal-deep); background: var(--teal-soft); border-radius: 10px; font-size: .75rem; font-weight: 900; }
.tool-input-card strong { font-size: .94rem; letter-spacing: -.04em; }
.tool-input-card small { display: block; margin: 8px 0 15px 40px; color: var(--muted); font-size: .78rem; }
.tool-fieldset, .builder-fieldset { min-width: 0; min-inline-size: 0; margin: 0 0 14px; padding: 23px; background: rgba(255,253,251,.84); border: 1px solid var(--line); border-radius: var(--radius-md); }
.tool-fieldset::after, .builder-fieldset::after { display: block; clear: both; content: ""; }
.tool-fieldset legend, .builder-fieldset legend { float: left; display: flex; align-items: center; width: 100%; margin: 0 0 18px; padding: 0; font-size: .9rem; font-weight: 800; letter-spacing: -.04em; overflow-wrap: anywhere; }
.tool-fieldset legend small { margin-left: 6px; color: var(--muted); font-size: .75rem; font-weight: 500; }
.sort-grid { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; min-width: 0; }
.sort-grid button { min-height: 112px; padding: 15px; color: var(--ink); background: #fbfaf7; border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: left; }
.sort-grid button:hover, .sort-grid button.is-selected { background: var(--teal-soft); border-color: var(--teal); }
.sort-grid strong { display: block; margin-bottom: 8px; font-size: .8rem; overflow-wrap: anywhere; }
.sort-grid small { color: var(--muted); font-size: .75rem; line-height: 1.55; overflow-wrap: anywhere; }
.micro-done { padding: 70px 20px; text-align: center; background: rgba(255,253,251,.74); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.micro-done > span { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 24px; color: transparent; background: rgba(255,253,251,.62); border: 3px double var(--coral); border-radius: 50%; font-size: 0; transform: rotate(-8deg); animation: stamp-in .55s cubic-bezier(.2,.9,.3,1.25) both; }
.micro-done > span::before { color: var(--coral); content: "마음\A비움"; white-space: pre; font-family: Georgia, serif; font-size: .72rem; font-weight: 900; line-height: 1.15; letter-spacing: .07em; }
.micro-done h2 { margin-bottom: 10px; font-size: 1.4rem; }
.micro-done p { margin-bottom: 25px; color: var(--muted); font-size: .82rem; }

.builder-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.builder-fieldset { margin: 0; }
.builder-fieldset legend span { color: var(--coral); font-size: .75rem; letter-spacing: .08em; }
.builder-fieldset legend small { color: var(--muted); font-weight: 500; }
.builder-chips { clear: both; display: flex; gap: 7px; flex-wrap: wrap; min-width: 0; }
.builder-chips button { min-height: 44px; padding: 9px 12px; color: var(--muted); background: #fbfaf7; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; }
.builder-chips button:hover, .builder-chips button.is-selected { color: var(--teal-deep); background: var(--teal-soft); border-color: var(--teal); }
.relationship-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 15px; padding: 6px; background: rgba(255,253,251,.72); border: 1px solid var(--line); border-radius: 18px; }
.relationship-safety-gate { margin: 0 0 14px; }
.relationship-tabs button { min-height: 45px; padding: 9px 12px; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 13px; font-size: .75rem; font-weight: 800; }
.relationship-tabs button:hover, .relationship-tabs button.is-selected { color: var(--teal-deep); background: #fff; border-color: #cbd8d3; box-shadow: 0 5px 14px rgba(49,75,72,.07); }
.relationship-panel { padding: 22px; background: rgba(255,253,251,.78); border: 1px solid var(--line); border-radius: var(--radius-md); }
.relationship-panel[hidden] { display: none; }
.relationship-intro { margin-bottom: 16px; padding: 14px 16px; color: var(--teal-deep); background: var(--teal-soft); border-radius: 14px; }
.relationship-intro-warm { color: #815d57; background: #fff1ed; }
.relationship-intro strong { display: block; margin-bottom: 4px; font-size: .78rem; }
.relationship-intro p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.65; word-break: keep-all; }
.relationship-field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.relationship-field-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.relationship-field-grid label { min-width: 0; padding: 15px; background: #fffdfa; border: 1px solid var(--line); border-radius: 15px; }
.relationship-field-grid label > span:first-child { color: var(--coral); font-size: .75rem; font-weight: 900; }
.relationship-field-grid strong { display: block; margin: 8px 0 10px; color: var(--ink); font-size: .78rem; }
.relationship-field-grid textarea { min-height: 112px; padding: 12px; font-size: .78rem; }
.relationship-possibilities { margin: 12px 0 0; padding: 15px; border: 1px dashed #c7d3ce; border-radius: 15px; }
.relationship-possibilities legend { padding: 0 7px; color: var(--teal-deep); font-size: .75rem; font-weight: 900; }
.relationship-message-card { margin-top: 14px; }
.message-card { margin-top: 15px; padding: 25px; background: var(--teal-soft); border: 1px solid rgba(95,136,131,.35); border-radius: var(--radius-md); }
.message-card > span { color: var(--teal-deep); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.message-card p { min-height: 52px; margin: 13px 0 17px; color: var(--ink); font-size: .94rem; line-height: 1.75; }
.message-card button { min-height: 44px; padding: 9px 13px; color: var(--white); background: var(--teal); border: 0; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.message-card button:disabled { cursor: not-allowed; opacity: .42; }
.message-card small { display: block; margin-top: 12px; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.help-tip { margin-top: 12px; }
.help-transparency { display: grid; grid-template-columns: 38px 1fr; gap: 13px; margin-top: 12px; padding: 18px; color: var(--teal-deep); background: rgba(226,239,235,.72); border: 1px solid #c9d9d4; border-radius: var(--radius-sm); }
.help-transparency-mark { display: grid; place-items: center; width: 36px; height: 36px; color: var(--white); background: var(--teal); border-radius: 50%; font-size: 1rem; }
.help-transparency h2 { margin: 1px 0 7px; color: var(--ink); font-size: .84rem; letter-spacing: -.035em; }
.help-transparency p { margin: 0 0 7px; color: var(--muted); font-size: .78rem; line-height: 1.7; word-break: keep-all; }
.help-transparency p:last-child { margin-bottom: 0; }
.help-transparency strong { color: var(--teal-deep); }
.static-helper span { padding: 9px 11px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 12px; font-size: .75rem; line-height: 1.55; }

.emotion-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.emotion-panel { animation: arrive .25s ease both; }
.scenario-filters { display: flex; justify-content: center; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.scenario-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.scenario-card { overflow: hidden; background: rgba(255,253,251,.84); border: 1px solid var(--line); border-radius: var(--radius-md); }
.scenario-card[hidden] { display: none; }
.scenario-card[open] { border-color: rgba(95,136,131,.58); box-shadow: 0 10px 25px rgba(62,104,101,.05); }
.scenario-card summary { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; padding: 20px; cursor: pointer; list-style: none; }
.scenario-card summary::-webkit-details-marker { display: none; }
.scenario-number { display: grid; place-items: center; width: 32px; height: 32px; color: var(--coral); background: var(--coral-soft); border-radius: 11px; font-size: .75rem; font-weight: 900; }
.scenario-card summary strong { font-size: .83rem; line-height: 1.65; }
.scenario-card summary small { grid-column: 2; color: var(--teal-deep); font-size: .75rem; font-weight: 800; }
.scenario-card > div { padding: 18px 20px 20px 65px; background: var(--teal-soft); border-top: 1px solid rgba(95,136,131,.2); }
.scenario-card > div strong { display: block; margin-bottom: 7px; font-size: .86rem; }
.scenario-card > div em { color: var(--teal-deep); font-style: normal; }
.scenario-card > div p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.emotion-depth { display: grid; gap: 7px; margin-top: 13px; }
.emotion-depth span { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; padding-top: 9px; color: var(--muted); border-top: 1px solid rgba(95,136,131,.18); font-size: .75rem; line-height: 1.6; }
.emotion-depth b { color: var(--teal-deep); font-size: .75rem; }
.emotion-filters { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.emotion-word-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.emotion-word-grid button { min-height: 58px; padding: 12px; color: var(--ink); background: rgba(255,253,251,.84); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .78rem; font-weight: 800; }
.emotion-word-grid button:hover, .emotion-word-grid button.is-selected { color: var(--teal-deep); background: var(--teal-soft); border-color: var(--teal); }
.emotion-word-grid button[hidden] { display: none; }
.emotion-result { margin-top: 17px; padding: 25px; text-align: center; background: var(--coral-soft); border: 1px solid rgba(185,130,130,.3); border-radius: var(--radius-md); }
.emotion-result > span { display: block; color: var(--muted); font-size: .75rem; }
.emotion-result > strong { display: block; margin: 5px 0 8px; color: #855e5e; font-size: 1.35rem; }
.emotion-result p { margin-bottom: 18px; color: var(--muted); font-size: .78rem; }
.compare-intro { max-width: 710px; margin: 0 auto 20px; color: var(--muted); font-size: .78rem; line-height: 1.75; text-align: center; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.comparison-card { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: stretch; min-width: 0; padding: 20px; background: rgba(255,253,251,.84); border: 1px solid var(--line); border-radius: var(--radius-md); }
.comparison-card > div { min-width: 0; padding: 14px; background: var(--teal-soft); border-radius: var(--radius-sm); }
.comparison-card > div:nth-of-type(2) { background: var(--coral-soft); }
.comparison-card span { display: block; margin-bottom: 7px; color: var(--teal-deep); font-size: .86rem; font-weight: 900; }
.comparison-card p { margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.65; }
.comparison-card > b { align-self: center; color: var(--muted); font-size: .62rem; font-weight: 800; writing-mode: vertical-rl; }
.comparison-card > small { grid-column: 1 / -1; padding-top: 10px; color: var(--muted); border-top: 1px solid var(--line); font-size: .69rem; line-height: 1.65; }

.daily-sentence-card { position: relative; overflow: hidden; margin-bottom: 14px; padding: 30px; background: linear-gradient(145deg, rgba(238,234,244,.8), rgba(227,239,236,.8)); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.daily-sentence-card::before { position: absolute; width: 95px; height: 95px; top: -52px; left: 18%; border: 1px solid rgba(95,136,131,.22); border-radius: 45% 55% 62% 38%; content: ""; animation: leaf-turn 12s linear infinite; }
.daily-sentence-card::after { position: absolute; right: 10px; bottom: -55px; width: 150px; height: 150px; background: rgba(255,255,255,.42); border-radius: 50%; content: ""; }
.daily-sentence-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 15px; color: var(--teal-deep); font-size: .75rem; font-weight: 900; }
.daily-sentence-meta time { color: var(--muted); font-weight: 600; }
.daily-sentence-card blockquote { position: relative; z-index: 1; max-width: 690px; margin: 29px auto 22px; color: var(--ink); font-family: var(--font-soft); font-size: clamp(1.15rem, 2.5vw, 1.65rem); line-height: 1.8; letter-spacing: -.02em; text-align: center; word-break: keep-all; }
.quote-skip { display: block; min-height: 44px; margin: -2px auto 14px; padding: 8px 12px; color: var(--muted); background: transparent; border: 0; border-bottom: 1px solid var(--line); font-size: .75rem; }
.writing-stamp { position: absolute; z-index: 2; right: 24px; bottom: 19px; display: grid; place-items: center; width: 57px; height: 57px; color: var(--coral); background: rgba(255,253,251,.76); border: 3px double var(--coral); border-radius: 50%; font-family: Georgia, serif; font-size: .75rem; font-weight: 900; line-height: 1.15; text-align: center; opacity: 0; transform: scale(1.5) rotate(8deg); }
.writing-stamp.is-visible { animation: stamp-in .55s cubic-bezier(.2,.9,.3,1.25) both; }
.writing-card { position: relative; display: block; padding: 23px; background: rgba(255,253,251,.84); border: 1px solid var(--line); border-radius: var(--radius-md); }
.writing-card strong { font-size: .94rem; letter-spacing: -.04em; }
.writing-card small { display: block; margin: 8px 0 15px 40px; color: var(--muted); font-size: .78rem; }
.writing-card textarea { min-height: 130px; }
.copy-progress { margin-top: 14px; padding: 18px 20px; background: rgba(255,253,251,.72); border: 1px solid var(--line); border-radius: var(--radius-md); }
.copy-progress-head { display: flex; justify-content: space-between; gap: 12px; color: var(--teal-deep); font-size: .75rem; }
.copy-progress-track { height: 7px; margin: 11px 0; overflow: hidden; background: #e5e1dc; border-radius: 999px; }
.copy-progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--teal), #a99bbb); border-radius: inherit; transition: width .2s ease; }
.copy-progress p { margin: 0; color: var(--muted); font-size: .75rem; }

.journal-safety { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 16px; }
.journal-safety p { min-width: 0; margin: 0; padding: 15px 16px; color: var(--muted); background: rgba(255,253,251,.76); border: 1px solid var(--line); border-radius: 15px; font-size: .75rem; line-height: 1.65; word-break: keep-all; }
.journal-safety strong, .journal-safety b { color: var(--teal-deep); }
.journal-workspace { overflow: hidden; background: rgba(255,253,251,.77); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.journal-progress { padding: 19px 23px 16px; background: linear-gradient(105deg, var(--teal-soft), rgba(238,234,244,.7)); border-bottom: 1px solid rgba(95,136,131,.18); }
.journal-progress > div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 15px; color: var(--teal-deep); font-size: .75rem; }
.journal-progress > div:first-child span { font-weight: 900; letter-spacing: .06em; }
.journal-progress > div:first-child strong { font-size: .78rem; }
.journal-progress-track { height: 6px; margin-top: 12px; overflow: hidden; background: rgba(255,255,255,.78); border-radius: 999px; }
.journal-progress-track span { display: block; width: 16.67%; height: 100%; background: linear-gradient(90deg, var(--teal), #9d8fb4); border-radius: inherit; transition: width .24s ease; }
.journal-step { min-height: 455px; padding: 34px 36px 28px; animation: panel-rise .28s ease both; }
.journal-step > h2 { margin: 17px 0 9px; font-size: 1.32rem; letter-spacing: -.05em; }
.journal-step > h2:focus, .journal-review-heading h2:focus { outline: 2px solid rgba(95,136,131,.3); outline-offset: 5px; border-radius: 5px; }
.journal-step > p { max-width: 690px; margin-bottom: 24px; color: var(--muted); font-size: .76rem; line-height: 1.7; }
.journal-step > label { display: block; margin-bottom: 8px; color: var(--teal-deep); font-size: .75rem; font-weight: 900; }
.journal-step textarea { min-height: 138px; background: #fffdfa; font-size: .82rem; }
.journal-step > .vocab-helper { margin-top: 16px; }
.journal-field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.journal-field-pair label { min-width: 0; padding: 15px; background: #fffdfa; border: 1px solid var(--line); border-radius: 15px; }
.journal-field-pair label > span { display: block; margin-bottom: 9px; color: var(--teal-deep); font-size: .75rem; font-weight: 900; }
.journal-field-pair textarea { min-height: 132px; padding: 12px; background: #fbfaf6; }
.journal-field-pair .char-count { margin-bottom: 0; }
.journal-quick-chips { margin-top: 14px; }
.journal-quick-chips button { min-height: 44px; }
.journal-emotion-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 15px; padding: 8px 0; color: var(--teal-deep); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: .75rem; font-weight: 900; }
.journal-caution { margin-top: 15px; padding: 13px 15px; color: #795f5a !important; background: #fff1ed; border-radius: 13px; font-size: .75rem !important; }
.journal-note-choices { display: grid; gap: 7px; margin-top: 14px; }
.journal-note-choices button { padding: 12px 14px; color: var(--muted); background: #fbfaf7; border: 1px solid var(--line); border-radius: 13px; font-size: .75rem; line-height: 1.55; text-align: left; }
.journal-note-choices button:hover { color: var(--teal-deep); background: var(--teal-soft); border-color: var(--teal); }
.journal-controls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; padding: 17px 23px 21px; border-top: 1px solid var(--line); }
.journal-controls .button { justify-self: end; }
.journal-controls .skip-button { justify-self: start; }
.journal-controls .text-button { color: var(--muted); font-size: .75rem; }
.journal-controls button:disabled { cursor: not-allowed; opacity: .4; }
.journal-review { overflow: hidden; background: rgba(255,253,251,.82); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.journal-review-heading { display: grid; grid-template-columns: 56px 1fr; gap: 17px; align-items: center; padding: 26px; background: linear-gradient(110deg, var(--teal-soft), var(--lavender-soft)); }
.journal-review-heading > span { display: grid; place-items: center; width: 52px; height: 52px; color: var(--teal-deep); background: rgba(255,255,255,.76); border: 3px double var(--teal); border-radius: 50%; font-weight: 900; transform: rotate(-6deg); }
.journal-review-heading h2 { margin: 0 0 5px; font-size: 1.08rem; }
.journal-review-heading p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.journal-review-list { display: grid; gap: 8px; padding: 22px 24px; }
.journal-review-list article { padding: 16px 17px; background: #fbfaf7; border: 1px solid var(--line); border-radius: 14px; }
.journal-review-list strong { display: block; margin-bottom: 7px; color: var(--teal-deep); font-size: .75rem; letter-spacing: .04em; }
.journal-review-list p { margin: 0; color: var(--ink); font-size: .76rem; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.journal-review-note { margin: 0 24px; padding: 15px 17px; color: var(--muted); background: #fff7e7; border: 1px solid #eedba9; border-radius: 14px; }
.journal-review-note strong { display: block; margin-bottom: 5px; color: #725950; font-size: .73rem; }
.journal-review-note p { margin: 0; font-size: .66rem; line-height: 1.65; }
.journal-review .tool-actions { padding: 0 24px 26px; }

@keyframes ambient-drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(34px,-25px,0) scale(1.12); } }
@keyframes icon-float { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-4px) rotate(2deg); } }
@keyframes leaf-turn { to { transform: rotate(360deg); } }
@keyframes panel-rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes stamp-in { 0% { opacity: 0; transform: scale(1.55) rotate(7deg); } 68% { opacity: 1; transform: scale(.92) rotate(-10deg); } 100% { opacity: 1; transform: scale(1) rotate(-8deg); } }

.sense-stack { display: grid; gap: 10px; }
.sense-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; min-width: 0; padding: 20px 22px; background: rgba(255,253,251,.84); border: 1px solid var(--line); border-radius: var(--radius-md); transition: .18s ease; }
.sense-card.is-complete { background: var(--teal-soft); border-color: rgba(95,136,131,.38); }
.sense-card > div:first-child > span { color: var(--teal-deep); font-size: .75rem; font-weight: 900; letter-spacing: .06em; }
.sense-card h2 { margin: 5px 0; font-size: .94rem; }
.sense-card p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.sense-card button { min-height: 44px; }
.sense-progress { display: grid; grid-template-columns: auto auto; gap: 7px 12px; align-items: center; min-width: 176px; }
.sense-dots { display: flex; gap: 5px; }
.sense-dots i { width: 9px; height: 9px; background: #ddd9d4; border-radius: 50%; }
.sense-dots i.is-filled { background: var(--teal); }
.sense-progress strong { justify-self: end; color: var(--muted); font-size: .75rem; }
.sense-progress button { grid-column: 1 / -1; padding: 8px 12px; color: var(--teal-deep); background: var(--white); border: 1px solid var(--teal); border-radius: 999px; font-size: .75rem; font-weight: 800; }
.sense-progress button:disabled { color: var(--muted); border-color: var(--line); opacity: .72; }
.sense-total { display: flex; gap: 12px; align-items: center; margin-top: 13px; padding: 17px 20px; background: var(--lavender-soft); border-radius: var(--radius-md); }
.sense-total > span { color: #6b6388; font-size: .75rem; font-weight: 900; }
.sense-total strong { color: #6b6388; font-size: .85rem; }
.sense-total p { margin: 0 0 0 auto; color: var(--muted); font-size: .75rem; }

.recovery-result { margin-top: 15px; padding: 24px; background: var(--teal-soft); border: 1px solid rgba(95,136,131,.35); border-radius: var(--radius-md); }
.recovery-result > span { color: var(--teal-deep); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.recovery-result h2 { margin: 8px 0 13px; font-size: 1.05rem; }
.recovery-result ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.recovery-result li { position: relative; padding: 11px 13px 11px 33px; color: var(--muted); background: rgba(255,255,255,.62); border-radius: var(--radius-sm); font-size: .78rem; line-height: 1.6; }
.recovery-result li::before { position: absolute; left: 13px; color: var(--teal); content: "✓"; font-weight: 900; }

@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 30px; }
  .hero-copy { max-width: none; }
  .hero-visual { min-height: 360px; max-width: 600px; width: 100%; margin: 0 auto; }
  .orb-back { width: 260px; height: 260px; right: 8%; }
  .orb-main { width: 300px; top: 45px; right: 19%; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .builder-stack { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .guide-result { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .site-shell { width: 100%; }
  .site-header { min-height: 71px; padding: 13px 16px; background: rgba(247,244,241,.9); border-bottom-color: rgba(224,221,218,.72); }
  .header-note { display: none; }
  .header-actions { gap: 5px; }
  .brand, .header-tools { min-height: 44px; }
  .header-tools { padding: 7px 8px; font-size: .75rem; }
  .header-emotion { display: none; }
  .header-manual { gap: 3px; padding-inline: 7px; }
  .header-manual svg { width: 14px; height: 14px; }
  .manual-label-full { display: none; }
  .manual-label-short { display: inline; }
  .brand small { display: none; }
  .header-urgent { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 7px 7px; color: #8a514c; background: #fff3ef; border: 1px solid #e5c8c0; border-radius: 999px; font-size: .75rem; font-weight: 900; }
  .header-urgent svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .screen { min-height: calc(100vh - 71px); padding: 20px 16px 44px; }
  .hero-grid { padding: 37px 0 52px; gap: 25px; }
  h1 { font-size: clamp(1.85rem, 9.2vw, 2.55rem); line-height: 1.27; }
  .hero-lede, .section-lede { font-size: .92rem; line-height: 1.75; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
  .hero-actions .button { width: 100%; }
  .microcopy { align-items: flex-start; line-height: 1.55; }
  .hero-visual { min-height: 290px; }
  .orb-back { width: 205px; height: 205px; right: 5%; }
  .orb-main { width: 235px; top: 37px; right: 19%; box-shadow: 10px 13px 0 var(--coral-soft), 0 18px 35px rgba(34,91,90,.17); }
  .visual-caption { right: 0; bottom: -4px; font-size: .66rem; }
  .caption-line { width: 28px; }
  .trust-grid { grid-template-columns: 1fr; padding: 0; }
  .trust-card { min-height: auto; padding: 18px; }
  .trust-number { margin-bottom: 13px; }
  .home-footnote { margin-right: 0; margin-left: 0; }
  .narrow-layout { padding: 30px 0 0; }
  .manual-layout { padding: 30px 0 54px; }
  .manual-hero h1 { font-size: clamp(1.82rem, 8.3vw, 2.35rem); }
  .manual-hero-actions { align-items: stretch; flex-direction: column; }
  .manual-hero-actions .button { width: 100%; }
  .manual-jumps { gap: 6px; margin: 25px 0 35px; padding: 10px; border-radius: 15px; }
  .manual-jumps a { min-height: 44px; padding: 0 11px; font-size: .7rem; }
  .manual-section { margin-top: 50px; scroll-margin-top: 82px; }
  .manual-route { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .manual-route li { display: grid; grid-template-columns: 39px minmax(0, 1fr); gap: 12px; min-height: auto; padding: 17px; }
  .manual-route li > span { margin: 3px 0 0; font-size: .69rem; }
  .manual-route strong { font-size: .9rem; }
  .manual-route p { font-size: .75rem; }
  .manual-learning-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .manual-learning-grid article { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: start; min-height: auto; padding: 16px; }
  .manual-learning-grid span { margin-top: 3px; }
  .manual-learning-grid h3 { margin: 0 0 5px; font-size: .9rem; }
  .manual-learning-grid p { margin: 0; font-size: .73rem; }
  .manual-learning-grid button { align-self: center; min-height: 44px; white-space: nowrap; }
  .manual-menu-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .manual-menu-grid article { grid-template-columns: 45px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .manual-menu-grid svg { width: 45px; height: 45px; padding: 11px; border-radius: 14px; }
  .manual-activity-list { gap: 7px; margin-top: 18px; }
  .manual-activity-list summary { grid-template-columns: 43px minmax(0, 1fr) 18px; gap: 10px; min-height: 66px; padding: 11px 14px; }
  .manual-activity-list summary svg { width: 43px; height: 43px; padding: 10px; border-radius: 14px; }
  .manual-activity-list summary strong { font-size: .86rem; }
  .manual-activity-list summary small { font-size: .66rem; }
  .manual-activity-list details > div { padding: 15px 15px 18px; }
  .manual-activity-list details > div p { font-size: .75rem; }
  .manual-safety { margin-right: -16px; margin-left: -16px; padding: 28px 16px; border-right: 0; border-left: 0; border-radius: 0; }
  .manual-boundary-grid { grid-template-columns: 1fr; gap: 7px; margin-top: 18px; }
  .how-choice-grid { grid-template-columns: 1fr; gap: 9px; margin: 27px 0 34px; }
  .how-choice-grid article { padding: 18px; }
  .how-section-heading { margin-top: 31px; }
  .how-list { margin-top: 22px; }
  .how-activity-groups article { grid-template-columns: 1fr; gap: 7px; padding: 16px; }
  .flow-screen { padding-top: 0; }
  .flow-heading { padding: 54px 0 27px; }
  .compact-heading { padding-top: 42px; }
  .choice-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .choice-card { min-height: 145px; padding: 15px; }
  .choice-icon { width: 34px; height: 34px; margin-bottom: 17px; }
  .choice-card strong { font-size: .88rem; }
  .choice-card small { font-size: .75rem; }
  .flow-actions { flex-direction: column; gap: 9px; margin-top: 25px; }
  .flow-actions .button { width: 100%; }
  .prompt-card { grid-template-columns: 1fr; gap: 12px; padding: 17px; }
  .prompt-number { width: 32px; height: 32px; }
  .split-prompts { grid-template-columns: 1fr; gap: 10px; }
  .facts-roadmap { width: calc(100% + 32px); margin-right: -16px; margin-left: -16px; padding: 14px 16px; border-right: 0; border-left: 0; border-radius: 0; }
  .facts-roadmap small { font-size: .75rem; line-height: 1.45; }
  .split-card textarea { min-height: 140px; }
  .split-divider { display: flex; flex-direction: row; gap: 11px; height: 31px; }
  .split-divider::before, .split-divider::after { width: auto; height: 1px; flex: 1; }
  .split-divider span { padding: 0; }
  .dual-helper-grid { grid-template-columns: 1fr; gap: 8px; }
  .next-choice-section { width: calc(100% + 32px); margin-right: -16px; margin-left: -16px; padding: 22px 16px; border-right: 0; border-left: 0; border-radius: 0; }
  .facts-insight { width: calc(100% + 32px); margin-right: -16px; margin-left: -16px; padding: 18px 16px; border-right: 0; border-left: 0; border-radius: 0; }
  .next-choice-grid { grid-template-columns: 1fr; }
  .next-choice-grid small { min-height: 0; }
  .prompt-stack > .vocab-helper { margin-right: 7px; margin-left: 7px; }
  .reflection-row { grid-template-columns: 94px 1fr; gap: 10px; padding: 15px 16px; }
  .reflection-top { padding: 16px; }
  .finish-callout { padding: 16px; }
  .survey-boundary { align-items: flex-start; }
  .scale-row { gap: 4px; }
  .scale-row span { min-height: 62px; padding: 5px 3px; font-size: .75rem; }
  .survey-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .survey-actions .button { width: 100%; }
  .done-screen { min-height: calc(100vh - 80px); }
  .tools-layout { width: 100%; padding-top: 10px; }
  .tools-heading { margin-bottom: 20px; }
  .tools-heading h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .tools-tabs { position: sticky; z-index: 20; top: 71px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: calc(100% + 32px); margin: 0 -16px 22px; padding: 8px 16px; background: rgba(247,244,241,.94); border-width: 0 0 1px; border-radius: 0; backdrop-filter: blur(14px); }
  .tools-tabs button { justify-content: center; gap: 5px; min-width: 0; padding: 9px 4px; font-size: .69rem; white-space: nowrap; }
  .tools-tabs .tab-icon { width: 15px; height: 15px; }
  .saved-diary-menu { width: calc(100% + 32px); margin: 0 -16px; padding: 27px 16px 31px; border-right: 0; border-left: 0; border-radius: 0; }
  .saved-diary-heading { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .saved-diary-icon { width: 52px; height: 52px; padding: 12px; border-radius: 17px; }
  .saved-diary-heading h2 { font-size: 1.7rem; }
  .saved-diary-heading p:last-child { font-size: .79rem; }
  .saved-diary-boundaries { grid-template-columns: 1fr; gap: 7px; margin: 22px 0; }
  .saved-diary-boundaries span { padding: 14px 16px; }
  .saved-diary-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .saved-diary-actions .button { width: 100%; }
  .saved-diary-actions .text-button { align-self: center; }
  .activity-grid { grid-template-columns: 1fr; }
  .activity-wide, .activity-card { grid-column: auto; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "icon title time" "icon copy copy" "icon link link"; min-height: auto; align-items: start; column-gap: 14px; padding: 17px 16px; }
  .activity-wide > div:not(.activity-icon) { display: contents; }
  .activity-icon { width: 46px; height: 46px; border-radius: 15px; }
  .activity-card h2, .activity-wide h2 { align-self: center; margin: 2px 0 6px; font-size: .98rem; }
  .activity-card p, .activity-wide p { margin: 0 0 10px; font-size: .8rem; line-height: 1.6; }
  .activity-time { align-self: center; font-size: .75rem; white-space: nowrap; }
  .daily-shortcut { align-items: flex-start; flex-direction: column; gap: 12px; width: calc(100% + 32px); margin: 0 -16px 20px; padding: 23px 20px; border-right: 0; border-left: 0; border-radius: 0; }
  .situation-guide { width: calc(100% + 32px); margin: 0 -16px 26px; padding: 25px 16px; border-right: 0; border-left: 0; border-radius: 0; }
  .situation-grid { grid-template-columns: 1fr; }
  .situation-grid button { padding: 16px; }
  .guide-result-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .guide-result-actions .button, .guide-result-actions .skip-button { width: 100%; }
  .tool-screen { width: 100%; padding-top: 0; }
  .tool-topbar { position: sticky; z-index: 20; top: 71px; margin: -20px -16px 0; padding: 11px 16px; background: rgba(247,244,241,.94); backdrop-filter: blur(14px); }
  .tool-heading { padding: 31px 0 23px; text-align: left; }
  .tool-heading .eyebrow { justify-content: flex-start; margin-bottom: 13px; }
  .tool-heading h1 { font-size: clamp(1.72rem, 8.2vw, 2.3rem); }
  .tool-heading > p:last-child { margin-left: 0; font-size: .79rem; }
  .breath-stage { min-height: 345px; }
  .breath-orbit { width: 245px; height: 245px; }
  .breath-circle { width: 185px; height: 185px; }
  .sort-grid { grid-template-columns: 1fr; }
  .sort-grid button { min-height: auto; }
  .tool-input-card, .tool-fieldset, .builder-fieldset { padding: 17px; }
  .relationship-tabs { position: sticky; z-index: 18; top: 138px; width: calc(100% + 32px); margin-right: -16px; margin-left: -16px; padding: 7px 16px; background: rgba(247,244,241,.95); border-width: 0 0 1px; border-radius: 0; backdrop-filter: blur(14px); }
  .relationship-tabs button { padding: 8px 4px; font-size: .75rem; }
  .relationship-panel { width: calc(100% + 32px); margin-right: -16px; margin-left: -16px; padding: 20px 16px; border-right: 0; border-left: 0; border-radius: 0; }
  .relationship-field-grid, .relationship-field-grid-two { grid-template-columns: 1fr; }
  .tool-input-card small { margin-left: 0; }
  .writing-card { padding: 19px 0; background: transparent; border-width: 1px 0; border-radius: 0; }
  .writing-card small { margin-left: 0; }
  .daily-sentence-card { width: calc(100% + 32px); margin: 0 -16px 18px; padding: 27px 20px 28px; border-right: 0; border-left: 0; border-radius: 0; }
  .daily-sentence-card blockquote { margin: 25px auto 20px; font-size: 1.32rem; text-align: left; }
  .writing-stamp { right: 17px; bottom: 18px; width: 52px; height: 52px; }
  .copy-progress { margin-right: -16px; margin-left: -16px; padding: 18px 16px; background: rgba(255,253,251,.52); border-right: 0; border-left: 0; border-radius: 0; }
  .privacy-inline { align-items: flex-start; justify-content: flex-start; line-height: 1.55; }
  .urgent-help-overlay { padding: 0; background: #fffdfa; }
  .urgent-help-dialog { min-height: 100dvh; margin: 0; padding: 66px 18px calc(26px + env(safe-area-inset-bottom)); border: 0; border-radius: 0; box-shadow: none; }
  .urgent-help-close { top: 14px; right: 14px; }
  .urgent-help-links { grid-template-columns: repeat(2, 1fr); }
  .urgent-help-links a { min-height: 105px; }
  .tool-actions { flex-direction: column; gap: 8px; }
  .tool-actions .button { width: 100%; }
  .journal-safety { grid-template-columns: 1fr; width: calc(100% + 32px); margin-right: -16px; margin-left: -16px; gap: 0; }
  .journal-safety p { padding: 13px 16px; border-width: 0 0 1px; border-radius: 0; }
  .journal-workspace, .journal-review { width: calc(100% + 32px); margin-right: -16px; margin-left: -16px; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
  .journal-progress { padding: 16px; }
  .journal-step { min-height: 0; padding: 27px 16px 25px; }
  .journal-step > h2 { font-size: 1.15rem; line-height: 1.5; }
  .journal-step > p { font-size: .78rem; }
  .journal-field-pair { grid-template-columns: 1fr; }
  .journal-controls { grid-template-columns: 1fr 1fr; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); }
  .journal-controls .text-button { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .journal-controls .skip-button { grid-column: 1; grid-row: 2; }
  .journal-controls .button { grid-column: 2; grid-row: 2; width: 100%; padding-right: 13px; padding-left: 13px; }
  .journal-review-heading { grid-template-columns: 44px 1fr; padding: 21px 16px; }
  .journal-review-heading > span { width: 42px; height: 42px; }
  .journal-review-list { padding: 18px 16px; }
  .journal-review-note { margin: 0 16px; }
  .journal-review .tool-actions { padding: 0 16px 24px; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-card > div { padding-left: 20px; }
  .emotion-depth span { grid-template-columns: 1fr; gap: 3px; }
  .emotion-word-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .comparison-card { grid-template-columns: 1fr; padding: 15px; }
  .comparison-card > b { writing-mode: horizontal-tb; text-align: center; }
  .comparison-card > small { grid-column: 1; }
  .sense-card { grid-template-columns: 1fr; gap: 15px; padding: 17px; }
  .sense-progress { min-width: 0; }
  .sense-total { align-items: flex-start; flex-wrap: wrap; }
  .sense-total p { width: 100%; margin-left: 0; }
  .micro-done { width: calc(100% + 32px); margin: 0 -16px; padding: 58px 20px; border-right: 0; border-left: 0; border-radius: 0; }
}

@media (max-width: 340px) {
  .brand { width: 40px; flex: 0 0 40px; }
  .brand strong { display: none; }
  .header-tools, .header-urgent { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
